Commit Graph

11511 Commits

Author SHA1 Message Date
Elena Zannoni 7aa83cacfa 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
* remote-e7000.c (write_small, e7000_read_inferior_memory,
	e7000_read_inferior_memory_large, e7000_insert_breakpoint,
	e7000_remove_breakpoint): Use paddr_nz() to print addresses.
2002-04-07 23:32:40 +00:00
Andrew Cagney 006defbaa8 I believe Jeff Law denies responsability for this one:
* config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
Work-around for PR gdb/366.
2002-04-07 22:34:31 +00:00
Elena Zannoni cf1fcca124 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_fp_frame_init_saved_regs,
	sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
	information.
2002-04-07 22:13:20 +00:00
Andrew Cagney 3f289e6fd4 * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
maintainer.
2002-04-07 21:22:19 +00:00
Andrew Cagney 129188f6b2 * README (Reporting Bugs in GDB): Document the bug web page as the
prefered way of submitting bugs.
Fix PR gdb/402.

* gdb.texinfo (Bug Reporting): Document that the web is the
prefered way of submitting bug reports.
(Bug Reporting): Delete the s-mail address as the last resort.
2002-04-07 19:09:58 +00:00
Andrew Cagney 1200cd6e7e * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
-1.  Update comment.
* gdbarch.h, gdbarch.c: Re-generate.
2002-04-07 02:16:46 +00:00
gdbadmin 2bb5238aee *** empty log message *** 2002-04-07 00:00:33 +00:00
Andreas Schwab 2853c33c33 * m68klinux-nat.c (fill_fpregset): Properly pass address of
buffer to regcache_collect.
2002-04-06 23:42:15 +00:00
Andrew Cagney c2169756a8 * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
* gdbarch.c, gdbarch.h: Re-generate.
2002-04-06 20:50:10 +00:00
Andrew Cagney 25f1b00810 * symtab.c (lookup_symtab): Remove ``const'' from ``rp''
declaration.  Fix -Werror.
2002-04-06 18:28:20 +00:00
Daniel Jacobowitz 6c1e5d11fe Correct bad checkin (missing semicolon somehow) 2002-04-06 03:07:59 +00:00
Daniel Jacobowitz 5926342628 2002-04-05 Daniel Jacobowitz <drow@mvista.com>
* gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
        * gdbarch.c: Regenerate.
2002-04-06 02:39:10 +00:00
Michael Snyder f5db4da3d7 2002-04-05 Michael Snyder <msnyder@redhat.com>
* cli/cli-dump.c (restore_section_callback): Use paddr_nz.
2002-04-06 01:52:34 +00:00
H.J. Lu ad3dcc5cf2 2002-04-05 H.J. Lu (hjl@gnu.org)
* solib-svr4.c (bkpt_names): Add "__start".
2002-04-06 01:51:35 +00:00
Andrew Cagney f32e7a74f7 * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
as test for 64 bit target.
2002-04-06 00:19:44 +00:00
Andrew Cagney 8227c0ffb1 * h8500-tdep.c (h8500_write_fp): Delete function.
* dwarf2cfi.c (cfi_write_fp): Document as not used.
* mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
* ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
* s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
(s390_write_fp):
* sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
* x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
* d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
(d10v_write_fp): Delete function.
* inferior.h (write_fp, generic_target_write_fp): Delete
declarations.
* regcache.c (generic_target_write_fp): Delete function.
(write_fp): Delete function.
* gdbarch.sh (TARGET_WRITE_FP): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
* config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
(sparc64_write_fp): Delete declaration.
* config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
(h8500_write_fp): Delete declaration.
2002-04-06 00:02:52 +00:00
gdbadmin 6553d8d2ab *** empty log message *** 2002-04-06 00:00:03 +00:00
Andrew Cagney 2757dd8645 * sparc-tdep.c (sparc64_write_fp): Delete.
(sparc_push_dummy_frame): Replace write_fp call with code to store
the FP directly.
(sparc_gdbarch_init): Do not initialize write_fp.
2002-04-05 23:38:07 +00:00
Kevin Buettner c69255e19c * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
clause.
2002-04-05 22:36:32 +00:00
Jim Blandy ae767bfb78 gdb/ChangeLog:
* stack.c (get_selected_block): Add new argument `addr_in_block',
used to return the exact code address we used to select the block,
not just the block.
* blockframe.c (get_frame_block, get_current_block): Same.
* frame.h (get_frame_block, get_current_block,
get_selected_block): Update declarations.
* linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.

gdb/mi/ChangeLog:
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
get_frame_block.  (See entry in gdb/ChangeLog.)
2002-04-05 22:04:43 +00:00
Michael Snyder 84d2ac95e4 2002-04-05 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
	warning message.
2002-04-05 19:16:15 +00:00
Joel Brobecker 24181d81cc Document the addition of the new xfullpath.exp testcase. 2002-04-05 16:45:04 +00:00
Joel Brobecker 989d314b85 New testcase. 2002-04-05 16:43:57 +00:00
Joel Brobecker 596aa3bf50 Document changes relative to the new xfullpath function. 2002-04-05 16:43:14 +00:00
Joel Brobecker f079a2e599 (lookup_symtab): Use the new xfullpath function, in order to be able to
match a filename with either the real filename, or the name of any
symbolic link to this file.
(lookup_partial_symtab): Ditto.
2002-04-05 16:42:04 +00:00
Joel Brobecker a89f66e45b (openp): Use xfullpath in place of gdb_realpath to avoid resolving the
basename part of filenames when the associated file is a symbolic link.
This fixes a potential inconsistency between the filenames known to GDB
and the filenames it prints in the annotations.
2002-04-05 16:40:45 +00:00
Joel Brobecker 08b204d1d1 (xfullpath): Add declaration. 2002-04-05 16:39:36 +00:00
Joel Brobecker 303c8ebdfe (xfullpath): New function. 2002-04-05 16:39:11 +00:00
Elena Zannoni 46fe161328 2002-04-05 Elena Zannoni <ezannoni@redhat.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
	instead of tm_print_insn.
	Update copyright year.
2002-04-05 15:59:23 +00:00
Daniel Jacobowitz 7cdb710751 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/Makefile.in: Correct dependencies.

        * gdb.asm/powerpc.inc: New file.
        * gdb.asm/asm-source.exp: Add PowerPC.
        * gdb.asm/configure.in: Likewise.
        * gdb.asm/configure: Regenerated.
2002-04-05 02:48:33 +00:00
Daniel Jacobowitz a7d17088c5 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.exp: New file.
        * gdb.base/relocate.c: New file.
2002-04-05 02:45:48 +00:00
Michael Snyder c02f570307 2002-04-04 Michael Snyder <msnyder@redhat.com>
* breakpoint.c: Add support for hardware breakpoints in overlays.
	(overlay_events_enabled): New state variable.
	(insert_breakpoints): Use overlay_events_enabled to decide
	whether to attempt to set a breakpoint at the overlay load addr.
	Handle bp_hardware_breakpoint as well as bp_breakpoint.
	(remove_breakpoint): Use overlay_events_enabled to decide
	whether breakpoints need to be removed from overlay load addr.
	Handle bp_hardware_breakpoint as well as bp_breakpoint.
	(bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
	(create_overlay_event_breakpoint, enable_overlay_breakpoints,
	disable_overlay_breakpoints): Update overlay_events_enabled.
2002-04-05 02:35:26 +00:00
Fred Fish cd72150368 2002-04-04 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Update comment regarding stopping in
	memcpy/bcopy calls inserted as part of the compiler runtime.
2002-04-05 00:30:09 +00:00
gdbadmin c82891d613 *** empty log message *** 2002-04-05 00:00:03 +00:00
Daniel Jacobowitz 5fb290d7a3 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (struct function_range): New.
        (cu_first_fn, cu_last_fn, cu_cached_fn): New.
        (check_cu_functions): New.
        (read_file_scope): Initialize global function lists.
        Call dwarf_decode_line after processing children.
        (read_func_scope): Add to global function list.
        (dwarf_decode_lines): Call check_cu_functions everywhere
        record_line is called.  Call record_line with a linenumber
        of 0 to mark sequence ends.
2002-04-04 22:26:43 +00:00
Daniel Jacobowitz b0c0ea31a1 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
        markers in the line table.
2002-04-04 20:23:36 +00:00
Michael Snyder b22ad7a776 2002-04-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2002-04-04 19:48:09 +00:00
Michal Ludvig 7b3fabf05e * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync 2002-04-04 13:18:59 +00:00
Jim Blandy bce58c0993 * configure.in: Call AC_C_INLINE.
* configure: Regenerated.
2002-04-04 00:12:41 +00:00
gdbadmin ab66ab6bce *** empty log message *** 2002-04-04 00:00:02 +00:00
Daniel Jacobowitz 5f279fa6a9 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
        (gdb_expect): Remove $notransfer hack.
2002-04-03 16:17:11 +00:00
Daniel Jacobowitz dd0fd3cee7 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp ("calling method for small class"): Match
        updated register output.
2002-04-03 01:35:23 +00:00
gdbadmin 40954583a1 *** empty log message *** 2002-04-03 00:00:33 +00:00
gdbadmin 7d798d03fe *** empty log message *** 2002-04-02 00:00:03 +00:00
Daniel Jacobowitz 2fccf04a44 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
* rs6000-tdep.c: Change #include of "bfd/libcoff.h"
        and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".
2002-04-01 05:58:45 +00:00
gdbadmin 4a36419c3c *** empty log message *** 2002-04-01 00:00:32 +00:00
Mark Kettenis a5941fbf4a * NEWS: Mention gcore support on FreeBSD/i386. 2002-03-31 17:53:00 +00:00
Mark Kettenis a90cd31de1 * fbsd-proc.c: New file.
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
* config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.
2002-03-31 17:47:17 +00:00
Mark Kettenis 2d1bfe2ed3 * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
while statement.
2002-03-31 15:10:38 +00:00
gdbadmin 651307b367 *** empty log message *** 2002-03-31 00:00:03 +00:00
Daniel Jacobowitz 1e50cda1d1 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/452
        * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
        when finished.  Make gdb_file_cmd send "exec-file" when
        appropriate.
2002-03-30 23:47:18 +00:00
Daniel Jacobowitz 24015922ff 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30 18:54:38 +00:00
gdbadmin 03c7bc89c0 *** empty log message *** 2002-03-30 00:00:03 +00:00
Jim Blandy 9eb6e5a1a5 * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't.  So
escape them.
2002-03-29 23:34:43 +00:00
Michael Snyder 89743e04ff 2002-03-26 Michael Snyder <msnyder@redhat.com>
Andrew Cagney <cagney@redhat.com>

	* cli/cli-dump.c: New file.  Dump memory to file,
	restore file to memory.
	* cli/cli-dump.h: New file.
	* Makefile.in: Add rules, dependencies for cli-dump.o.
        * NEWS: Mention new commands.
2002-03-29 01:32:20 +00:00
Michael Snyder f02df580ce 2002-03-26 Michael Snyder <msnyder@redhat.com>
Andrew Cagney <cagney@redhat.com>

	* cli/cli-dump.c: New file.  Dump memory to file,
	restore file to memory.
	* cli/cli-dump.h: New file.
	* Makefile.in: Add rules, dependencies for cli-dump.o.
2002-03-29 01:22:41 +00:00
Michael Snyder 16d9dec687 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Document new commands dump, append, and restore.
2002-03-29 01:19:37 +00:00
Michael Snyder dd7dfd64a3 2002-03-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add tests for dump, append, and restore.
	* gdb.base/help.exp: Add tests for dump, append, and restore.
	* gdb.base/dump.exp: New file, test dump, append and restore.
	* gdb.base/dump.c: New file.
2002-03-29 01:19:11 +00:00
Michael Snyder 109f874e46 2002-03-28 Michael Snyder <msnyder@redhat.com>
* symfile.c (symbol_file_add): Move test for null symbols to later.
2002-03-29 01:09:27 +00:00
gdbadmin 35ad82f95b *** empty log message *** 2002-03-29 00:00:04 +00:00
Andrew Cagney 520f6ade4a From veksler at il.ibm.com:
* utils.c (gdb_realpath): If canonicalize_file_name fails, return
the xstrduped original path.
Fix PR gdb/417.
2002-03-28 03:43:37 +00:00
Michael Snyder 48b2f8d70e 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Modify expect strings to reflect
	clean-ups in help messages.
2002-03-28 01:36:23 +00:00
Michael Snyder d4654627e1 2002-03-27 Michael Snyder <msnyder@redhat.com>
* breakpoint.c (_initialize_breakpoint): Clean up help string.
	* infcmd.c (_initialize_infcmd): Ditto.
	* language.c (_initialize_language): Ditto.
	* symfile.c (_initialize_symfile): Ditto.
	* top.c (_init_main): Ditto.
	* cli/cli-cmds.c (init_cli_cmds): Ditto.
2002-03-28 01:35:56 +00:00
Elena Zannoni 6be8bc0c92 2002-03-27 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec
	vector registers handling.
	(skip_prologue): Handle new AltiVec instructions.  Fill in new
	fields of frame data.
	(frame_get_saved_regs): Fill in information for AltiVec registers.
2002-03-28 00:48:41 +00:00
gdbadmin 96b0714f37 *** empty log message *** 2002-03-28 00:00:32 +00:00
Jim Blandy 12af6855fb * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into
a function; leave this macro here to invoke that function.
(symbol_init_mangled_name): Declaration for that function.
* symtab.c (symbol_init_mangled_name): New function.
2002-03-27 23:10:24 +00:00
Andrew Cagney dc6728652c s/strerror/safe_strerror/ 2002-03-27 21:35:35 +00:00
Andreas Schwab d96429cda9 * event-top.c (command_line_handler): Remove useless if. 2002-03-27 21:20:15 +00:00
Andrew Cagney 9ae8b82c04 * gdbint.texinfo (Releasing GDB): Revise the section `Before the
Branch'.
2002-03-27 21:16:33 +00:00
Andreas Jaeger 7e336ba170 * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
comment.
2002-03-27 14:32:08 +00:00
Michal Ludvig de220d0ff6 * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
(x86_64_num_regs, x86_64_num_gregs): Added extern variables.
	* x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
	(x86_64_linux_dr_get_status, supply_gregset),
	(fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
	* x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
	(x86_64_register_info_table): Add.
	(X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
	(x86_64_register_raw_size, x86_64_register_virtual_type),
	(x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
	general x86_64_register_info_table.
	(i386_gdbarch_init): gdbarch_register_bytes is now set
	dynamicaly during initialization.
	* regformats/reg-x86-64.dat: Synced with changes to registers above.
	* gdbserver/linux-x86-64-low.c: Ditto.
2002-03-27 10:21:29 +00:00
Daniel Jacobowitz 0e98d0a751 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/server.c (main): Call target_signal_to_host_p
        and target_signal_to_host on signals received from the remote.
        * gdbserver/remote-utils.c (prepare_resume_reply): Call
        target_signal_from_host on signals sent to the remote.
        * gdbserver/server.h: Add prototypes.  Include "gdb/signals.h".
        * gdbserver/Makefile.in: Add signals.o.  Add -I${INCLUDE_DIR}.
2002-03-27 05:15:49 +00:00
Daniel Jacobowitz 3130066b6c 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
* signals/signals.c: Include "server.h" in gdbserver build.
        (target_signal_from_name): Don't use STREQ.
        (_initialize_signals): Likewise.  Don't include function in
        gdbserver build.
2002-03-27 05:12:35 +00:00
Daniel Jacobowitz 9aedf4f42a 2002-03-27 Daniel Jacobowitz <drow@mvista.com>
* signals.c: Moved to...
        * signals/signals.c: Here.
        * Makefile (signals.o): Update.
2002-03-27 05:10:40 +00:00
gdbadmin 66671b450f *** empty log message *** 2002-03-27 00:22:35 +00:00
Jeff Law 3fa41cdbae * somread.c (som_symtab_read): Remove some commented out code and
updated related comments.  Do not set the minimal symbol table to
        mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
        in a dynamic executable.
        * hppa-tdep.c (find_proc_framesize): Sanely handle the case
        where we are unable to find the minimal symbol for the given
        PC value.
2002-03-27 00:21:51 +00:00
Fred Fish 05b4d525a6 2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
	have debugging info for those functions and the compiler uses them
	internally to copy structs around.
2002-03-26 23:02:30 +00:00
Fred Fish d7679631e8 2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: Revert the change made yesterday and add note
	about why we don't list the default lines for remote targets.
2002-03-26 14:54:27 +00:00
Michael Snyder 523ac3f9a3 2002-03-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-26 05:10:26 +00:00
Fred Fish 754b2b8dc7 2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: This test works on remote targets so remove
	the short circuit for remote targets.  Update copyright.
2002-03-26 00:36:07 +00:00
Fred Fish 629b007a94 Sigh, should have updated the copyright date in the
change I just checked in.  Fix it here.
2002-03-26 00:17:38 +00:00
Fred Fish 33c3e192bd 2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/attach.exp: Fix logic error that was suppressing this
	test for all non hppa*-*-hpux* targets, instead of the hp target.
	Move comments closer to the suppression point.  Also now need to
	check that we are running natively.
2002-03-26 00:13:22 +00:00
gdbadmin 2f766f6c06 *** empty log message *** 2002-03-26 00:00:03 +00:00
Michael Snyder ee677e8d79 2002-03-25 Jeff Law (law@redhat.com)
* linux-proc.c (read_mapping): Scan up to end of line for filename.
2002-03-25 19:47:41 +00:00
Michal Ludvig e76e1718eb * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. 2002-03-25 07:59:16 +00:00
gdbadmin 35d250b3e2 *** empty log message *** 2002-03-25 00:00:33 +00:00
Andrew Cagney 18a642a148 * command.h: Update copyright.
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.
2002-03-24 00:40:35 +00:00
Andrew Cagney b2875cc0a2 * cli/cli-decode.c: Include "gdb_assert.h".
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite.  Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd.  Don't copy
all fields, such as func, from the set command.
2002-03-24 00:24:35 +00:00
gdbadmin c78a341714 *** empty log message *** 2002-03-24 00:00:03 +00:00
Andrew Cagney 3b45974e92 * MAINTAINERS (sh-elf): Change warning flag to -w. 2002-03-23 18:52:46 +00:00
Andrew Cagney 823ca731ed * defs.h (error): Add printf format attribute.
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.
2002-03-23 17:38:13 +00:00
Andrew Cagney 0e10145828 * gdbtypes.c (append_composite_type_field): New function.
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.
2002-03-23 01:24:54 +00:00
Michael Snyder 882c8f02fb 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.  Update copyright.
	* gdb.base/help.exp: Add test for gcore.  Update copyright.
2002-03-23 00:05:29 +00:00
Michael Snyder d43e73eedd 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.
	* gdb.base/help.exp: Add test for gcore.
2002-03-23 00:03:01 +00:00
gdbadmin d8a9ce69b0 *** empty log message *** 2002-03-23 00:00:04 +00:00
Elena Zannoni 8e0662df17 2002-03-22 Elena Zannoni <ezannoni@redhat.com>
* ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New
        function.
	* ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export.
        * rs6000-tdep.c (rs6000_gdbarch_init): Use different
        structure returning convention for SYSV ABI case, but not
        for GNU/Linux, FreeBSD, or NetBSD.
2002-03-22 21:58:16 +00:00
Daniel Jacobowitz 3121eff097 2002-03-22 Daniel Jacobowitz <drow@mvista.com>
* symtab.h (lookup_block_symbol): Add mangled_name argument
        to prototype.

        * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol
        with new mangled_name argument.
        * linespec.c (decode_line_1): Likewise.
        * valops (value_of_this): Likewise.
        * symtab.c (lookup_transparent_type): Likewise.
        (lookup_symbol_aux): Likewise.  Accept new mangled_name argument.
        (lookup_symbol): If we are given a mangled name, pass it down
        to lookup_symbol_aux.
        (lookup_block_symbol): If we are given a mangled name to check
        against, only return symbols which match it.
2002-03-22 18:57:08 +00:00
Christopher Faylor 349b409f68 * win32-nat.c (child_create_inferior): Check for proper shell to use here, in
case the user changes it on the fly.
(_initialize_inftarg): Remove shell path considerations.
2002-03-22 05:03:22 +00:00
Elena Zannoni 2a873819ae 2002-03-21 Elena Zannoni <ezannoni@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value
	for gdbarch_max_register_raw_size and max_register_virtual_size.
	Adjust copyright year.
2002-03-22 00:19:02 +00:00
gdbadmin b792a6ddeb *** empty log message *** 2002-03-22 00:00:34 +00:00
Daniel Jacobowitz a1b9830cba 2002-03-21 Daniel Jacobowitz <drow@mvista.com>
* dbxread.c (process_one_symbol): Extend the first N_SLINE
         in a function to cover the entire beginning of the function
         as well if it does not already.
2002-03-21 19:48:54 +00:00
Tom Rix 8b5790f2ba Rename ptrace32 and ptrace64 to fix build problem with Aix 5.1 2002-03-21 13:52:57 +00:00
Martin Hunt bdbe574731 2002-03-20 Martin M. Hunt <hunt@redhat.com>
* regcache.c (_initialize_regcache): No need to call
	build_regcache() at this time; it gets called whenever
	the gdbarch changes.
2002-03-21 02:13:05 +00:00
Martin Hunt 373fe97f7f 2002-03-20 Martin M. Hunt <hunt@redhat.com>
* gdbserver/remote-utils.c (remote_open): Don't call
	getprotobyname, we're all using TCP here so just use
	IPPROTO_TCP.
	* gdbserver/gdbreplay.c (remote_open): Ditto.
2002-03-21 02:11:03 +00:00
David O'Brien 7781cd62b4 2002-03-20 David O'Brien <obrien@FreeBSD.org>
* sparc-nat.c:  Include sys/param.h where possible.

Approved by:  Michael Snyder <msnyder@redhat.com>
              Message-ID: <3C98FF43.46ABDC1C@redhat.com>
2002-03-21 02:03:13 +00:00
Daniel Jacobowitz f65ca430eb 2002-03-20 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/422.
        * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX,
        FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX.
        * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for
        complex types.
        * stabsread.c (rs6000_builtin_type): Likewise.
        (read_sun_floating_type): Likewise.
2002-03-21 00:53:44 +00:00
gdbadmin ae5742ba51 *** empty log message *** 2002-03-21 00:00:04 +00:00
gdbadmin 502d32d00f *** empty log message *** 2002-03-20 00:00:08 +00:00
Peter Schauer 0c86755622 * stabsread.c (read_member_functions): Remove skip code for duplicate
constructor/destructor methods.  Use standard parsing for these
	methods and just do not chain them to the list of methods after
	parsing.
2002-03-19 20:27:04 +00:00
Alexandre Oliva 12b9c64f8d * coffread.c: Remove redundant static declarations. Replace
occurrences of `PTR' with `void *'.
* elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise.
* top.h (quit_cover): Likewise.
* defs.h (catch_errors): Likewise.
2002-03-19 19:00:04 +00:00
Michael Snyder 75245b2419 2002-03-14 Michael Snyder <msnyder@redhat.com>
* symfile.c (syms_from_objfile): Return immediately if no syms.
	(symbol_file_add): Return immediately if no syms.
	(find_sym_fns): Return immediately if no syms.
2002-03-19 03:51:06 +00:00
Andrew Cagney 349c5d5f6c * defs.h (XMALLOC): Define.
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.

* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Andrew Cagney 474c824023 s/@example/@smallexample/ 2002-03-19 02:49:53 +00:00
Andrew Cagney 7d0766f3c3 * command.h (struct cmd_list_element): Add field context.
(set_cmd_context, get_cmd_context): Declare.
* cli/cli-decode.h: Ditto.
* cli/cli-decode.c (get_cmd_context): New function.
(set_cmd_context): New function.
(add_cmd): Initialize context.
Part of fixing PR gdb/145 and PR gdb/146.
2002-03-19 02:19:17 +00:00
gdbadmin 42aacdb61c *** empty log message *** 2002-03-19 00:00:05 +00:00
Andrew Cagney fb0ff88f8f * gdbint.texinfo (Releasing GDB): Add section ``Versions and
Branches''.
2002-03-18 16:14:04 +00:00
Andrew Cagney 9bb0a4d8df * gdbint.texinfo (Releasing GDB): Add the section``Branch Commit
Policy''.
2002-03-18 16:09:32 +00:00
Andrew Cagney 1868c04eba * cli/cli-decode.c (cmd_type): New function.
* command.h (cmd_type): Declare.
* infrun.c (set_schedlock_func): Call function cmd_type.
* kod.c (kod_set_os): Call cmd_type.
* cris-tdep.c (cris_version_update): Use function cmd_type.
(cris_mode_update, cris_abi_update): Ditto.
2002-03-18 02:26:32 +00:00
gdbadmin 2ef7d709f8 *** empty log message *** 2002-03-18 00:00:03 +00:00
Andrew Cagney 5913bcb0f6 * command.h: (execute_cmd_post_hook): Declare.
(execute_cmd_pre_hook): Declare.
* cli/cli-script.c (clear_hook_in_cleanup): New function.
(execute_cmd_post_hook, execute_cmd_pre_hook): New
functions. Execute pre/post hook while ensuring that afterwords
hook_in is cleared.
* top.c (execute_command): Use execute_cmd_post_hook, and
execute_cmd_pre_hook to execute pre/post commands.
* infrun.c (normal_stop): Pass stop_command and not pre_hook to
hook_stop_stub.
(hook_stop_stub): Call execute_cmd_pre_hook.
2002-03-17 19:53:39 +00:00
Andrew Cagney b51450c9ff * kod.c (kod_set_os): Revert previous change. Is called by ``info
set'' and this leads to a core dump.  Move xstrdup of
operating_system to after check that it is not NULL.
2002-03-17 19:29:37 +00:00
Andrew Cagney 8e694ecf16 * kod.c (kod_set_os): Remove unnecessary check that
``command->type'' is set_cmd.
2002-03-17 16:25:09 +00:00
Andrew Cagney f66c9f11b6 * valprint.c (set_input_radix): Use input_radix.
(set_output_radix): Use output_radix.
(set_input_radix_1, set_output_radix_1): Add FIXME - bad radix
isn't reverted.
2002-03-17 16:10:25 +00:00
Andrew Cagney ee2d3b3a59 fix tipo 2002-03-17 01:32:54 +00:00
Andrew Cagney 9d01611c4c * value.h (struct value): Delete field ``substring_addr''. Change
aligner fields to force_doublest_align, force_longest_align,
force_core_addr_align and force_pointer_align.
2002-03-17 01:10:15 +00:00
gdbadmin 11956ca255 *** empty log message *** 2002-03-17 00:00:04 +00:00
Peter Schauer 4156bb5348 * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip,
to fix internal_error from ``maintenance print architecture''.
2002-03-16 21:09:33 +00:00
Peter Schauer 0e5e3ea669 * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type
for gcc versions after gcc-2.8.1.
2002-03-16 20:53:14 +00:00
Peter Schauer 9b013045b0 * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer
for method resolution.  Restore adjustment of ``this'' pointer after
	calling value_struct_elt, which was accidentally removed during the
	HP merge.
2002-03-16 20:51:44 +00:00
Andrew Cagney 376c960019 * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to
value_of_register.
* findvar.c (value_of_register): Add ``frame'' parameter.  Pass to
get_saved_register.
* value.h (value_of_register): Update.
2002-03-16 02:57:42 +00:00
gdbadmin a1d4a62a41 *** empty log message *** 2002-03-16 00:00:36 +00:00
Richard Henderson a4db0f0748 * configure.in: Detect declaration for canonicalize_file_name.
* utils.c (canonicalize_file_name): Declare, if needed.
        (gdb_realpath): Prefer realpath if available and usable.
        * config.in, configure: Rebuild.
2002-03-15 00:44:49 +00:00
gdbadmin bd2b03193d *** empty log message *** 2002-03-15 00:00:36 +00:00
Richard Henderson 963838355f * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as
a constant array bound.
2002-03-14 22:53:35 +00:00
Richard Henderson 23b95bcbaa Add myself to write-after-approval. 2002-03-14 22:49:17 +00:00
gdbadmin 287ac7896d *** empty log message *** 2002-03-14 00:00:38 +00:00
Michal Ludvig e641a1ca3d * gdbserver/remote-util.c (remote_open): Print remote-side's
IP address when remote debugging over the network.
2002-03-13 20:42:16 +00:00
David O'Brien df08bfec58 What was I thinking....
2002-03-12  David O'Brien  <obrien@FreeBSD.org>
	* config/sparc/fbsd.mh: Fix copyright.
	* config/sparc/fbsd.mt: Likewise.
2002-03-13 03:20:24 +00:00
gdbadmin 703172a458 *** empty log message *** 2002-03-13 00:00:09 +00:00
gdbadmin 0fe8123114 *** empty log message *** 2002-03-12 00:00:05 +00:00
Richard Earnshaw 9a57864f61 * MAINTAINERS: Fix typo in name of gdb warnings option.
(x86-64): Fix formating so that this can be parsed by awk.
2002-03-11 10:37:52 +00:00
Daniel Jacobowitz dd7bf85ea9 gdb/:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h.
        * defs.h: Include "gdb/signals.h".
        (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h.

include/gdb:
2002-03-10  Daniel Jacobowitz  <drow@mvista.com>

        * signals.h: New file, split from gdb/defs.h.
2002-03-11 00:01:11 +00:00
gdbadmin eda2776159 *** empty log message *** 2002-03-11 00:00:04 +00:00
Michal Ludvig 33a0a2ac44 * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c
* x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here
        from x86-64-tdep.h
2002-03-10 18:16:26 +00:00
Daniel Jacobowitz dd824b049b 2002-03-10 Daniel Jacobowitz <drow@mvista.com>
Don Howard <dhoward@redhat.com>

        * mips-tdep.c (ST0_FR): Define.
        (mips2_fp_compat): New function, temporarily disabled.
        (mips_read_fp_register_single): New function.
        (mips_read_fp_register_double): New function.
        (mips_print_register): Use them.
        (do_fp_register_row): Likewise.
2002-03-10 17:00:27 +00:00
Michael Chastain 3029f9b89c This is a duplicate of an entry I made in testsuite/ChangeLog.
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
  and adding this one where it belongs.

2002-03-04  Michael Chastain  <mec@shout.net>

	* mi-var-cmd.exp: In test "create local variable func",
	accommodate gcc v3 function signature.
	* mi0-var-cmd-exp: Ditto.
2002-03-10 06:06:16 +00:00
Andrew Cagney 6a41ff5934 * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after
approval''.
2002-03-10 03:09:52 +00:00
gdbadmin cbdf1c5a90 *** empty log message *** 2002-03-10 00:00:06 +00:00
gdbadmin d39196b888 *** empty log message *** 2002-03-09 00:00:04 +00:00
Peter Schauer 4ea09c106d * stabsread.c (read_member_functions): Fix is_stub test for
static member functions, improve comment.
2002-03-08 17:19:39 +00:00
gdbadmin 8d0a607a97 *** empty log message *** 2002-03-08 00:03:34 +00:00
Richard Earnshaw 6ccc741d0b * remote-rdi.c (myprint): Replace 'PTR' with 'void *'.
(mywrite, mywritec, mypause, myreadc, mygets): Likewise.
(_initialize_remote_rdi): Use add_set_boolean_cmd to register
commands that set boolean values.
(arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning.
(arm_rdi_resume): Always initialize PC.
(arm_rdi_open): Don't use rslt as a boolean.
(arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume)
(arm_rdi_fetch_registers, arm_rdi_store_registers)
(arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill)
(arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise.
2002-03-07 15:29:53 +00:00
Fred Fish 04c12f60f9 Checked in under the "obvious fix/typo rule".
2002-03-06  Fred Fish  <fnf@redhat.com>
	* gdb.base/funcargs.c:  Remove extraneous ';' character.
	* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2002-03-07 04:18:55 +00:00
gdbadmin 6ef66e32b1 *** empty log message *** 2002-03-07 00:00:37 +00:00
Alexandre Oliva 438013dfea * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX.
* configure: Rebuilt.
2002-03-06 21:16:00 +00:00
Stephane Carrez 70ed877417 * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn.
(m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead.
2002-03-06 20:07:47 +00:00
Michal Ludvig 022cafefa1 * MAINTAINERS: Reverted misunderstood change of x86-64 maintainer. 2002-03-06 09:12:51 +00:00
Andrew Cagney 5ba2abebe7 * cli/cli-decode.c (set_cmd_completer): New function.
* command.h (set_cmd_completer): Declare.
* cli/cli-decode.h (set_cmd_completer): Ditto.

* breakpoint.c (_initialize_breakpoint): Use set_cmd_completer.
* cli/cli-cmds.c (init_cli_cmds): Ditto.
* win32-nat.c (_initialize_inftarg): Ditto.
* remote-rdi.c (_initialize_remote_rdi): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* hppa-tdep.c (_initialize_hppa_tdep): Ditto.
* source.c (_initialize_source): Ditto.
* exec.c (_initialize_exec): Ditto.
* solib.c (_initialize_solib): Ditto.
* top.c (init_main): Ditto.
* tracepoint.c (_initialize_tracepoint): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* printcmd.c (_initialize_printcmd): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
2002-03-06 06:28:35 +00:00
Andrew Cagney f779ca9906 * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. 2002-03-06 04:46:44 +00:00
Andrew Cagney 01a3934be5 * MAINTAINERS: Fix Mac OS X and Objective-C/C++. 2002-03-06 03:50:12 +00:00
gdbadmin 75d5db06a2 *** empty log message *** 2002-03-06 00:00:04 +00:00
Andrew Cagney 37057839e2 * NEWS: Update headings, 5.2 has branched. 2002-03-05 22:57:57 +00:00
Michael Chastain b43df9952b 2002-03-04 Michael Chastain <mec@shout.net>
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
	accommodate gcc v3 function signature.
	* gdb.mi/mi0-var-cmd-exp: Ditto.
2002-03-05 19:48:18 +00:00
gdbadmin b755794eb6 *** empty log message *** 2002-03-05 00:00:07 +00:00
Fred Fish 937f164bda 2002-03-04 Fred Fish <fnf@redhat.com>
* gdbint.texinfo: Fix a bunch of typos (alsways, mirrorred,
	expresson, suports, dependant, trhe, perhaphs, situtations,
	explictily, taged, oportunity, unfortunatly).
2002-03-04 20:38:10 +00:00
Daniel Jacobowitz c6ecbae5ad 2002-03-04 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long.
        (num_regs, regmap): Move inside HAVE_LINUX_USRREGS.
        (register_addr, REGISTER_RAW_SIZE): Likewise.
        (usr_store_inferior_registers): Use PTRACE_XFER_TYPE.
        * gdbserver/linux-x86-64-low.c: Remove extra #endif.
2002-03-04 16:28:35 +00:00
Michal Ludvig c200633117 * MAINTAINERS (x86-64): tagret is not broken anymore. 2002-03-04 12:25:39 +00:00
Michal Ludvig e9f30c21b8 * MAINTAINERS (x86-64): Add myself
* x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs,
changed value_ptr -> struct value *
2002-03-04 11:08:28 +00:00
gdbadmin 12eed87b7c *** empty log message *** 2002-03-04 00:00:03 +00:00
gdbadmin 4b401d9725 *** empty log message *** 2002-03-03 00:01:03 +00:00
gdbadmin 841ac7901d *** empty log message *** 2002-03-02 00:00:06 +00:00
David O'Brien 768f08429b Add FreeBSD/sparc64 to the list of "New native configurations" 2002-03-01 23:27:42 +00:00
David O'Brien 54394ac39e 2002-03-01 David O'Brien <obrien@FreeBSD.org>
* configure.host (sparc64-*-freebsd): Add.
	* configure.tgt: Likewise.
	* config/sparc/fbsd.mh: New file.
	* config/sparc/fbsd.mt: Likewise.
	* config/sparc/nm-fbsd.h: Likewise.
	* config/sparc/tm-fbsd.h: Likewise.
2002-03-01 18:35:24 +00:00
Daniel Jacobowitz bfe9595524 2002-03-01 Daniel Jacobowitz <drow@mvista.com>
* config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and
        regformats/reg-s390x.dat.
2002-03-01 16:11:23 +00:00
Andrew Cagney f33c6cbfe5 Add FIXME explaining include problem. 2002-03-01 06:19:28 +00:00
Andrew Cagney 5ecaa7ddac Move JTC to to past maintainers. 2002-03-01 03:30:59 +00:00
Michael Chastain 2a251cc220 2002-02-28 Michael Chastain <mec@shout.net>
* MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs .
2002-03-01 01:55:35 +00:00
gdbadmin 7bb06ff250 *** empty log message *** 2002-03-01 00:00:06 +00:00
Daniel Jacobowitz 6a8031a32d Oops, fix date in changelog 2002-02-28 16:58:58 +00:00
Daniel Jacobowitz 265f716b73 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-s390-low.c: New file.
        * regformats/reg-s390.dat: New file.
        * regformats/reg-s390x.dat: New file.
        * gdbserver/configure.srv: Add S/390.
        * gdbserver/Makefile.in: Add S/390.
        * configure.tgt: Enable gdbserver for S/390.
2002-02-28 16:58:15 +00:00
Eli Zaretskii ac469903dd * go32-nat.c (_initialize_go32_nat): Don't use periods in the
first line of the doc string for "info dos", except at the end of
	the sentence, since the short help stops at the first period.
2002-02-28 16:49:10 +00:00
Jason Merrill 985cb1a306 * dwarf2read.c (dwarf_cfi_name): Add new codes. 2002-02-28 11:21:16 +00:00
gdbadmin 1b09b73624 *** empty log message *** 2002-02-28 00:00:09 +00:00
Fred Fish c570663eff 2002-02-27 Fred Fish <fnf@redhat.com>
* blockframe.c (generic_fix_call_dummy): Fix obvious typo in
	comment (dumy -> dummy).
2002-02-27 20:04:29 +00:00
Peter Schauer 4363022793 * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. 2002-02-27 18:22:24 +00:00
Rodney Brown b84911e820 2002-02-27 Rodney Brown <rbrown64@csc.com.au>
* utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5.
2002-02-27 12:29:43 +00:00
Daniel Jacobowitz 58caa3dcdb 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/acconfig.h: New file.
        * gdbserver/i387-fp.c: New file.
        * gdbserver/i387-fp.h: New file.
        * gdbserver/linux-x86-64.c: New file.
        * regformats/reg-x86-64.dat: New file.
        * configure.tgt: Add x86_64-*-linux* gdbserver support.
        & gdbserver/configure.srv: Add x86_64-*-linux* and regset support.
        * gdbserver/configure.in: Add support for regsets.
        * gdbserver/config.in: Regenerate.
        * gdbserver/configure: Regenerate.
        * gdbserver/Makefile.in: Likewise.  Add $(linux_low_h).
        * gdbserver/linux-low.h: New file.
        * gdbserver/linux-low.c: Include "linux-low.h".  Add support
        for regsets.
        * gdbserver/linux-arm-low.c: Include "linux-low.h".
        * gdbserver/linux-ia64-low.c: Include "linux-low.h".
        * gdbserver/linux-m68k-low.c: Include "linux-low.h".
        * gdbserver/linux-mips-low.c: Include "linux-low.h".
        * gdbserver/linux-ppc-low.c: Include "linux-low.h".
        * gdbserver/linux-sh-low.c: Include "linux-low.h".
        * gdbserver/linux-i386-low.c: Include "linux-low.h".  Include
        "i387-fp.h".  Add PTRACE_GETREGS and friends.
        * gdbserver/regcache.c (supply_register): New function.
        (supply_register_by_name): New function.
        (collect_register): New function.
        (collect_register_by_name): New function.
2002-02-27 07:07:49 +00:00
Daniel Jacobowitz 936521746c 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
        (config.status): Add configure.srv dependency.
        (server_h): Add config.h dependency.
2002-02-27 06:22:10 +00:00
Daniel Jacobowitz a02e4a61b2 2002-02-27 Daniel Jacobowitz <drow@mvista.com>
* regformats/reg-i386-linux.dat: New file, with $orig_eax.
        * gdbserver/Makefile.in: Add rules for reg-i386-linux.o.
        * gdbserver/configure.srv: Change i386-*-linux* to use
        reg-i386-linux.o.
2002-02-27 06:18:09 +00:00
Andrew Cagney ce0eebec89 Update copyright. re-indent. 2002-02-27 02:55:13 +00:00
Andrew Cagney 82dbc5f7cd * x86-64-tdep.c (value.h): Delete.
(gdb_assert.h): Include.
(x86_64_register_convert_to_virtual,
x86_64_register_convert_to_raw ): Add check which lets only
floating-point values to be converted.
(value_push): Delete.
(x86_64_push_arguments): Order of arguments pushed on stack fixed.
(i386_gdbarch_init): Number of register_bytes fixed.
2002-02-27 02:47:21 +00:00
Andrew Cagney e4621584ca * MAINTAINERS: Add x86-64 target. 2002-02-27 02:45:12 +00:00
Andrew Cagney 81a9a963a1 * memattr.c (mem_command): Eliminate ``true'' and ``false''.
* osfsolib.c (solib_map_sections): Ditto.
* irix5-nat.c (solib_map_sections): Ditto.
* corelow.c (gdb_check_format): Ditto.
* symfile.c (symfile_bfd_open): Ditto.
* solib.c (solib_map_sections): Ditto.
Partially fix PR gdb/354.
2002-02-27 01:40:36 +00:00
Andrew Cagney 0f017ab98f * remote.c (_initialize_remote): By default, disable ``e'' and
``E'' step out-of-range packets.
2002-02-27 01:18:39 +00:00
gdbadmin 5f9870dff6 *** empty log message *** 2002-02-27 00:00:02 +00:00
Andreas Schwab 75738c297b * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as
m68k_linux_frame_saved_pc.
	(IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of
	in_sigtramp.
	(SIGCONTEXT_PC_OFFSET): Remove.
	* m68klinux-nat.c (m68k_linux_frame_saved_pc,
	m68k_linux_sigtramp_saved_pc): New functions.
	(IS_SIGTRAMP, IS_RT_SIGTRAMP): Define.
	(SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h.
	(UCONTEXT_PC_OFFSET): Define.
	(m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both
	non-RT and RT signal trampolines.
2002-02-26 22:12:49 +00:00
Richard Earnshaw 7e8ed687ca * config/arm/tm-embed.h (TARGET_UPAGES): Delete.
(TARGET_NBPG, STACK_END_ADDR): Delete
(VARIABLES_INSIDE_BLOCK): Delete.
2002-02-26 14:23:12 +00:00
Andrew Cagney 6972bc8bef * utils.c (perror_with_name): Make string parameter constant.
(print_sys_errmsg): Ditto.
(query): Ditto.
* defs.h (perror_with_name): Update.
(print_sys_errmsg): Update.
(query): Update.
2002-02-26 03:29:55 +00:00
Daniel Jacobowitz aa32f823fc 2002-02-25 Daniel Jacobowitz <drow@mvista.com>
From Eliot Dresselhaus <eliot@ayrnetworks.com>:
        * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo.
2002-02-26 01:40:06 +00:00
gdbadmin 0e46f218e9 *** empty log message *** 2002-02-26 00:00:04 +00:00