Commit Graph

8882 Commits

Author SHA1 Message Date
J.T. Conklin ec3d358c9f * arch-utils.c (set_architecture, set_architecture_from_arch_mach,
set_gdbarch_from_file): Fix spelling error.
* v850-tdep.c (v850_target_architecture_hook): Likewise.
* gdbarch.sh: Fix spelling errors in comment.
* gdbarch.c, gdbarch.h: Regenerate.

* ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers,
store_inferior_registers): Support older NetBSD/powerpc systems
from before fp reg support was added.  Adapt to register number
changes caused when powerpc target was multi-arched.
2000-10-27 19:17:57 +00:00
David Anderson 7e73cedf75 Corrected spelling errors in comments.
gdbarch.{c,sh} removed a word from a comment.
2000-10-27 15:02:42 +00:00
Kevin Buettner 38ef650ed6 Protoization. 2000-10-27 01:25:10 +00:00
Elena Zannoni 49d97c6077 2000-10-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* stabsread.c (define_symbol): Update comment.

2000-10-26 Pierre Muller <muller@ics.u-strasbg.fr>

     	* stabsread.c (define_symbol): Set the type_name of the type
	of the new symbol to the symbol name for type symbol, if the
	language is Pascal.
2000-10-26 16:08:20 +00:00
Peter Schauer f517ea4ebb * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):
New function.
	* gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR):  Add.
	* gdbarch.c, gdbarch.h:  Regenerate.
	* valops.c (find_function_addr):  Use CONVERT_FROM_FUNC_PTR_ADDR
	unconditionally.

	* config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR):  Delete
	definition.
	* config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR):  Remove
	undef.
	* rs6000-tdep.c (rs6000_convert_from_func_ptr_addr):  Fix comment.
	(rs6000_gdbarch_init):  Register rs6000_convert_from_func_ptr_addr
	if not ELFOSABI_LINUX.
2000-10-26 07:41:25 +00:00
Kevin Buettner 53d2c54b5b Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES. 2000-10-25 20:48:59 +00:00
Fred Fish 92e1c15ca0 Approved by Andrew Cagney <ac131313@cygnus.com>
* mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Define using either
	the current arch or use zero.
2000-10-25 20:06:30 +00:00
Fernando Nasser faa5effd27 2000-10-25 Fernando Nasser <fnasser@cygnus.com>
* ser-unix.c (do_unix_readchar): Coding style improvement only.
2000-10-25 14:19:38 +00:00
Fernando Nasser c5b739b50d 2000-10-25 Fernando Nasser <fnasser@cygnus.com>
* target.c (generic_mourn_inferior): Notify GUI that inferior is gone
        by calling detach_hook, if defined.
2000-10-25 14:16:25 +00:00
Kevin Buettner 44c75fb368 Call end_symtab() with SECT_OFF_TEXT (objfile). 2000-10-24 21:13:08 +00:00
Kevin Buettner afebd68999 Removed extraneous blank line from one of my entries. 2000-10-24 20:35:04 +00:00
Kevin Buettner 367829d861 Restructure my 2000-10-24 solib reorg entry. 2000-10-24 20:32:38 +00:00
Kevin Buettner 13437d4b4b Reorganize solib.c. 2000-10-24 20:05:36 +00:00
Michael Snyder 42f5c13f56 2000-10-24 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/commands.exp: Break up long lines, and re-indent.
2000-10-24 18:36:32 +00:00
Kevin Buettner 35a2f53885 Protoization. 2000-10-24 17:45:35 +00:00
Andrew Cagney 55e0deaaae * solib.c (open_symbol_file_object): Update function signature to
match catch_errors function argument.
2000-10-24 14:42:21 +00:00
Andrew Cagney 3731b38ac3 From 2000-09-06 Angela Marie Thomas <angela@cygnus.com>:
* infttrace.c (get_dictionary_entry_of_page): Function
require_memory_page_dictionary takes no args.
2000-10-24 13:10:18 +00:00
Andrew Cagney 1a1d84463e Delete gdba.el. More recent gud.el part of standard EMACS distro. 2000-10-24 05:22:11 +00:00
Andrew Cagney 7f1ef1da4a Cleanup merge botch. 2000-10-24 04:11:02 +00:00
David Anderson e26cc3490a Corrected spelling errors in comments 2000-10-23 22:49:29 +00:00
Kevin Buettner c67b4c45e2 Protoization. 2000-10-23 03:21:06 +00:00
Christopher Faylor b70c120927 Remove erroneously committed entry. 2000-10-22 23:56:05 +00:00
Andrew Cagney bb160f3e2d Add Fred Fish to the Blanket Write Privs list. 2000-10-20 08:21:45 +00:00
Kevin Buettner 7ff096288f Protoization. 2000-10-20 00:44:49 +00:00
Christopher Faylor a0dbbe470a From Daniel Berlin <dberlin@redhat.com> :
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol language to auto
instead of unknown, so it will try to demangle the symbol.
* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
* symtab.c (gdb_mangle_name): Properly handle C++ operators.
2000-10-20 00:15:30 +00:00
Michael Snyder ae0323a862 2000-10-19 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/gdbserver.exp:  Rewritten from the ground up, to make it
        compatible with the current dejagnu tree, and to make it work with
        the new "gdbserver" in libremote.
2000-10-19 21:46:42 +00:00
Kevin Buettner c338868aa6 Protoization. 2000-10-18 03:29:25 +00:00
Michael Snyder 13a5e3b841 2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
        no floating point support.
        (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
        * gdb.base/call-ar-st.exp: Use above procs to skip tests.
        * gdb.base/call-rt-st.exp: Ditto.
        * gdb.base/call-strs.exp: Ditto.
        * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
        * gdb.base/varargs.exp: Skip entire test if no printf support.
        * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
        * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2000-10-17 20:00:21 +00:00
Peter Schauer 9e36d949c4 * sparc-tdep.c (sparc_fix_call_dummy): Improve comments.
Adjust call_dummy_breakpoint_offset, so that `finish' after a stop
	in a call dummy works.
	(sparc_gdbarch_init):  Fix setting of pc_in_call_dummy, it depends
	on SPARC32/64_CALL_DUMMY_ON_STACK, not DO_CALL_DUMMY_ON_STACK.
2000-10-16 17:19:47 +00:00
Eli Zaretskii 96c405b3f0 Spelling changes from Dmitry Sivachenko <dima@Chg.RU>. 2000-10-16 07:34:02 +00:00
Kevin Buettner 832c69cf02 Protoization. 2000-10-16 06:42:28 +00:00
Fernando Nasser 40e3f985d2 2000-10-13 Fernando Nasser <fnasser@cygnus.com>
* remote.c (putpkt_binary): Call read_frame, not getpkt. Log message.
	(read_frame): Do not call error() on communication error when
	reading checksum, but return failure instead and log message.
2000-10-13 21:41:21 +00:00
Fernando Nasser a80aa921bf 2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (type_changeable): Arrays are not changeable.
	Trying to check for updates was causing an error if the array lived
	in a register as gdb value_equal() cannot handle that case yet.
2000-10-13 20:42:55 +00:00
Fernando Nasser ae093f962b 2000-10-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (varobj_update): Prevent uninitialized error code to be
	returned on type_changed.  Also, prevent value_equal() to be called
	for the types we do not want to test for updates.
2000-10-13 20:31:38 +00:00
Fernando Nasser e9110f4f31 2000-10-11 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Grant Edwards <grante@visi.com>
        This keeps the GUI alive while running an RDI target and lets the
        STOP button be used to stop the target.
        * remote-rdi.c (arm_rdi_stop): New function.  Implements target_stop.
        (init_rdi_ops): Set to_stop target vector entry to the above.
        * rdi-share/ardi.c (stop_request): New variable.  Tells when a stop
        has been requested.
        (angel_RDI_stop_request): New function. Registers that a stop has
        been requested.
        (angel_RDI_ExecuteOrStep): Add call to ui_loop_hook() in loop that
        waits while target is executing.  Initialize and reset stop_request.
        * rdi-share/ardi.h: Add declaration of angel_RDI_stop_request().
2000-10-12 22:56:31 +00:00
Kevin Buettner d93bce0603 Protoization. 2000-10-12 21:39:21 +00:00
Elena Zannoni 235d1e0322 2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Daniel Berlin <dberlin@redhat.com> :

	* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Initialize the symbol
 	language to auto instead of unknown, so it will try to demangle
 	the symbol.
	* symtab.h (OPNAME_PREFIX_P): Change operator prefix to correct value.
	* symtab.c (gdb_mangle_name): Properly handle C++ operators.
2000-10-12 19:34:27 +00:00
Elena Zannoni fba7f19cf6 2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Daniel Berlin <dberlin@redhat.com> :

	* symtab.c (lookup_symbol_aux): New function. Renamed from
 	lookup_symbol. Move code to do demangling/case sensitivity to
 	lookup_symbol().
  	(lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
 	perform case sensitivity/demangling without leaking memory.  Move
 	code to do demangling/case sensitivity from old_lookup_symbol to
 	here.
	(lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
 	SYMBOL_NAME.
	(lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
 	SYMBOL_NAME. Don't do linear search in case of C++.

  	* symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
 	SYMBOL_NAME.
  	(compare_psymbols): Same here.
2000-10-12 16:53:06 +00:00
Kevin Buettner 120abad8b7 Protoization. 2000-10-10 05:17:25 +00:00
Peter Schauer 16d6ab6428 * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
reference to gethostbyname.
2000-10-09 19:40:37 +00:00
Ben Elliston 454313e5ed Whitespace tweak: replace leading spaces with a hard tab. 2000-10-08 22:31:22 +00:00
Kevin Buettner d742f2c220 Protoization. 2000-10-06 21:50:56 +00:00
Kevin Buettner 077276e87b Add a limit parameter for scanning the prologue. 2000-10-05 01:13:53 +00:00
Kevin Buettner 69dc947abb Protoization. 2000-10-03 22:42:32 +00:00
Kevin Buettner e082ddcac6 Protoization. 2000-10-02 00:49:55 +00:00
Kevin Buettner 8ae45c112d Make definitions of supply_gregset, fill_gregset, supply_fpregset,
and fill_fpregset match declarations in gregset.h.
2000-09-30 05:41:39 +00:00
Kevin Buettner d0849a9a5a Protoization. 2000-09-30 02:39:10 +00:00
Peter Schauer a95ac8b608 * sol-thread.c (ps_pdmodel): Return PR_MODEL_UNKNOWN instead of
PS_ERR if exec_bfd is not yet open.
2000-09-28 07:53:41 +00:00
Peter Schauer 5ef227419a * target.c (target_signal_from_host, do_target_signal_to_host):
Add support for Solaris realtime signals.
2000-09-28 07:48:14 +00:00
Kevin Buettner fa6b9313b5 Protoization. 2000-09-27 17:43:07 +00:00