Commit Graph

10207 Commits

Author SHA1 Message Date
Joel Brobecker d68f31a9f3 Document changes in infttrace.c (for HPUX 11.00). 2001-09-27 13:32:17 +00:00
Joel Brobecker d3340a536f kill_inferior: Issue a TT_PROC_EXIT request rather than a TT_PROC_STOP
request to kill the inferior and its child processes. Otherwise, the
inferior is not killed on HPUX 11.0.  Removed the code that detaches the
child processes since we just killed them.
2001-09-27 13:31:45 +00:00
gdbadmin 53a55750dd *** empty log message *** 2001-09-27 00:00:01 +00:00
Andrew Cagney e3abfe1d65 Add framework for ``set/show serial ...''. 2001-09-26 23:27:39 +00:00
Andrew Cagney ff1da24e18 * CONTRIBUTE: Update. 2001-09-26 20:52:56 +00:00
Corinna Vinschen 4e6667ac4f * gdb.base/constvars.exp: Check for different orders of keywords
and additional "int" strings in output.
2001-09-26 16:06:28 +00:00
Kevin Buettner e5e2b9ff10 Use gdbarch data mechanism instead of gdbarch swap mechanism to manage
the fetching of architecture specific link map offsets.
2001-09-26 07:03:13 +00:00
gdbadmin ca990479da *** empty log message *** 2001-09-26 00:00:02 +00:00
Jiri Smid 86ed34a902 fix of my email address 2001-09-25 11:52:54 +00:00
Jiri Smid c74ae012f5 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
(x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
by LINUX_SIGINFO_SIZE.
2001-09-25 10:37:17 +00:00
Andrew Cagney 4f3379724d * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.
2001-09-25 02:31:51 +00:00
gdbadmin 0163999c22 *** empty log message *** 2001-09-25 00:00:06 +00:00
Andrew Cagney f76febae84 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
convert the pointer into a CORE_ADDRs.
2001-09-24 19:46:15 +00:00
Andrew Cagney 96d2f608dc * doublest.h (store_floating, extract_floating): Add comment
indicating these functions are deprecated.
(extract_typed_floating, store_typed_floating): Declare.
* doublest.c: Include "gdbtypes.h".
(extract_typed_floating, store_typed_floating): Define.

* stabsread.c (define_symbol): Use store_typed_floating.
* valarith.c (value_binop): Ditto.
* values.c (unpack_long): Use extract_typed_floating.
(unpack_double): Ditto.
2001-09-24 17:16:53 +00:00
Orjan Friberg 7ab98e9e4f 2001-09-24 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
	from correct register.
2001-09-24 08:04:10 +00:00
gdbadmin 02ca6eb41d *** empty log message *** 2001-09-24 00:00:33 +00:00
gdbadmin 5175008b28 *** empty log message *** 2001-09-23 00:00:03 +00:00
gdbadmin 7e6922fd50 *** empty log message *** 2001-09-22 00:00:02 +00:00
Mark Kettenis 1dbeeb7b3b * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed. 2001-09-21 22:57:29 +00:00
Jiri Smid c4d82c9662 * config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:24:55 +00:00
Jiri Smid 53e95fcfec * config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-21 12:19:15 +00:00
Jiri Smid 9a82579f3d * i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
2001-09-21 12:15:15 +00:00
Jiri Smid cab16195fe * MAINTAINERS: Add myself to the write-after-approval list.
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:17:52 +00:00
Jiri Smid e906b9a3a9 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
2001-09-21 07:16:03 +00:00
Jiri Smid 5f3b524877 * MAINTAINERS: Add myself to the write-after-approval list. 2001-09-21 07:14:31 +00:00
gdbadmin a10bc936b8 *** empty log message *** 2001-09-21 00:00:35 +00:00
Kevin Buettner 1c4dcb5771 Make set_solib_svr4_fetch_link_map_offsets() work as intended. 2001-09-20 20:07:55 +00:00
Alan Modra 3a42e9d062 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
	* dwarf2read.c: Likewise.
	* dwarfread.c: Likewise.
	* somread.c: Likewise.
	* ultra3-nat.c: Likewise.
	* xcoffread.c: Likewise.
2001-09-20 03:03:40 +00:00
gdbadmin 6bac1f1132 *** empty log message *** 2001-09-20 00:00:02 +00:00
Andrew Cagney 8535cb3839 * cris-tdep.c (cris_get_signed_offset): Change return type to an
explicitly signed char.
2001-09-19 21:59:41 +00:00
Andrew Cagney e0441cf0e1 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
2001-09-19 20:43:54 +00:00
Frank Ch. Eigler 2015650dea * approved by kseitz
2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

	* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
	to localhost:NNN instead of :NNN, in case Xvfb is listening
	only on TCP.
2001-09-19 15:39:54 +00:00
Corinna Vinschen f3bcedc1a9 * gdb.base/recurse.exp: When checking leaving the watchpoint
scope, recognize when gdb is in function's epilogue and pass.
2001-09-19 08:21:17 +00:00
Keith Seitz 6b819c92c4 * lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
	(gdbtk_done): Ditto.
2001-09-19 00:08:43 +00:00
gdbadmin 3b3e3cc446 *** empty log message *** 2001-09-19 00:00:02 +00:00
Corinna Vinschen a10c9419a4 * gdb.base/ending-run.c (main): Set stdout buffersize
to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.
2001-09-18 17:49:06 +00:00
Andrew Cagney 2b65245ef4 Add ui_out parameter to libgdb functions. 2001-09-18 05:00:51 +00:00
gdbadmin fed9891d87 *** empty log message *** 2001-09-18 00:00:07 +00:00
Corinna Vinschen 739d0d99b3 * gdb.base/display.c (do_loops): Add float variable `f'.
Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.
2001-09-17 20:41:22 +00:00
Jim Blandy 1b8947f0b5 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).
2001-09-17 19:42:28 +00:00
gdbadmin 089e0fcb62 *** empty log message *** 2001-09-17 00:00:01 +00:00
gdbadmin ca58b74bc5 *** empty log message *** 2001-09-16 00:00:01 +00:00
Frank Ch. Eigler 9890ac81bc 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
	the "-ac" (disable access control) flag.
2001-09-15 17:11:24 +00:00
gdbadmin 7a0c04c188 *** empty log message *** 2001-09-15 00:00:03 +00:00
Kevin Buettner 2069d78d3c Commit Ilya Golubev's clear_solib() fixes. 2001-09-14 00:40:29 +00:00
gdbadmin 93de26c188 *** empty log message *** 2001-09-14 00:00:03 +00:00
Jim Blandy e8816aacae * monitor.c (monitor_load): Don't delete symtab users, or reset
inferior_ptid.
2001-09-13 22:48:19 +00:00
Jim Blandy fe4900853a (monitor_load): Fix indentation. 2001-09-13 18:53:42 +00:00
Jim Blandy 348d75a52f (monitor_load): Fix indentation. 2001-09-13 18:43:03 +00:00
gdbadmin 8dd5f7a869 *** empty log message *** 2001-09-13 00:00:06 +00:00
Jim Blandy e94a679a11 Remove incomplete section on overlays, committed by accident. 2001-09-12 19:49:52 +00:00
Jim Blandy 664cccaec5 * printcmd.c (print_scalar_formatted): Fix indentation. 2001-09-12 04:18:08 +00:00
gdbadmin 58712d0505 *** empty log message *** 2001-09-12 00:00:03 +00:00
gdbadmin 63da102c1d *** empty log message *** 2001-09-11 00:00:04 +00:00
Jim Blandy a5666cc9b8 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.
2001-09-10 23:54:16 +00:00
Jason Molenda 6d6b80e5eb 2001-09-10 Jason Molenda (jmolenda@apple.com)
* NEWS: "ANS/ISO C" -> "ISO C".
        * MAINTAINERS (write-after-approval):  Update my entry.
2001-09-10 18:13:17 +00:00
gdbadmin f541826b7f *** empty log message *** 2001-09-10 00:00:02 +00:00
gdbadmin 5ac3ea5891 *** empty log message *** 2001-09-09 00:00:03 +00:00
Mark Kettenis 964840f795 Fix truncated 2001-08-23 entry. 2001-09-08 23:34:53 +00:00
Mark Kettenis a9dc4918b3 * gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.
2001-09-08 10:53:45 +00:00
Mark Kettenis df5fdb3df4 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed. 2001-09-08 10:50:07 +00:00
Mark Kettenis d28379df76 * gdbint.texinfo (Host Definition): Remove description of R_OK. 2001-09-08 10:43:27 +00:00
Mark Kettenis 4ad318e604 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.
2001-09-08 10:39:54 +00:00
Mark Kettenis f277788bc6 * gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.
2001-09-08 10:28:20 +00:00
Mark Kettenis 7fc73f389d * gdbtypes.h (struct block): Add forward declaration. 2001-09-08 10:16:57 +00:00
gdbadmin 6f270dab3e *** empty log message *** 2001-09-08 00:00:02 +00:00
Andrew Cagney f9c696d277 * defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors.  Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup.  Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.
2001-09-07 21:33:08 +00:00
Jim Blandy a2e2dd8055 Correctly parse register values provided by the monitor.
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-07 21:27:36 +00:00
Mark Kettenis 93befcf3d7 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
to using setpgid if available now.
2001-09-07 15:22:11 +00:00
gdbadmin c0a1a2e89b *** empty log message *** 2001-09-07 00:00:02 +00:00
Keith Seitz b381d62d0a From Ian Roxborough <irox@redhat.com>
* configure.in: Use ITCL_LIB_FULL_PATH and
	ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
	for gdb.
	* configure: Regenerated.
2001-09-06 20:59:18 +00:00
Kevin Buettner 9a058a09a9 Don't use error result from find_stab_function_addr(). 2001-09-06 20:50:48 +00:00
Elena Zannoni 7ccaa899b1 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Add
        explanation of TARGET_PRINT_INSN macro.
2001-09-06 12:01:36 +00:00
gdbadmin a209ae8abb *** empty log message *** 2001-09-06 00:00:03 +00:00
Elena Zannoni 2bf0cb6592 2001-09-05 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier
        in gdbarch.h.
        (TARGET_PRINT_INSN): Multiarch.
        * gdbarch.h: Regenerate.
        * gdbarch.c: Regenerate.

        * arch-utils.c (legacy_print_insn): New function.
        * arch-utils.h (legacy_print_insn): Export.

        * cris-tdep.c (cris_delayed_get_disassembler): Use
        TARGET_PRINT_INSN, instead of tm_print_insn.
        * d10v-tdep.c (print_insn): Ditto.
        * d30v-tdep.c (print_insn): Ditto.
        * m32r-tdep.c (dump_insn): Ditto.
        * v850-tdep.c (v850_scan_prologue): Ditto.
        * mcore-tdep.c (mcore_dump_insn): Ditto.
        * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05 23:44:44 +00:00
Michael Snyder a4f30b31c8 Fix typo. 2001-09-05 23:26:21 +00:00
Jim Blandy 6369010f56 * gdbtypes.h (struct type): Doc fix. 2001-09-05 23:07:32 +00:00
Michael Snyder 0093d52fed 2001-08-31 Jason Molenda (jmolenda@apple.com)
* c-valprint.c (c_val_print):  Second call to check_typedef ()
	is no longer necessary.
2001-09-05 23:07:08 +00:00
Elena Zannoni d3d55eeb77 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* dbxread.c (free_header_files): Make global.
	(init_header_files): Likewise.
	* stabsread.h (free_header_files): Add prototype.
	(init_header_files): Likewise.
	* mdebugread.c (mdebug_build_psymtabs): Initialize
	properly before using the stabs debug reader.
2001-09-05 02:54:15 +00:00
Elena Zannoni ef96bde82e 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* dbxread.c (dbx_symfile_read): Only reinitialize
	the psymbol list if mainline or if both static
	and global lists are empty.
	* dwarf2read.c (dwarf2_build_psymtabs): Likewise.
	* dwarfread.c (dwarf_build_psymtabs): Likewise.
	* xcoffread.c (xcoff_initial_scan): Likewise.
	* os9kread.c (os9k_symfile_read): Likewise.
2001-09-05 02:13:11 +00:00
Elena Zannoni 16db60558d 2001-09-04 Elena Zannoni <ezannoni@redhat.com>
From Daniel Jacobowitz  <drow@mvista.com>
	* mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
	a name specially.
2001-09-05 02:02:44 +00:00
gdbadmin 9ea0568f79 *** empty log message *** 2001-09-05 00:00:04 +00:00
gdbadmin fe6f19de68 *** empty log message *** 2001-09-04 00:00:03 +00:00
Jeff Holcomb 6db765ea4b 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
* gdb.base/remote.c: Use a small buffer for targets with 16-bit
        ints.
2001-09-03 19:54:33 +00:00
gdbadmin b21baa6f95 *** empty log message *** 2001-09-03 00:00:02 +00:00
gdbadmin 7ee2df7da6 *** empty log message *** 2001-09-02 00:00:05 +00:00
Mark Kettenis f77b92bf11 Make GDB use libiberty regex implementation.
* gdb_regex.h: Normalize protection against multiple inclusion.
Include "xregex.h" instead of "gnu-regex.h".
* cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* cli/cli-decode.c: Likewise.
* Makefile.in (REGEX): Remove.
(GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
(ADD_FILES, ADD_DEPS): Remove $(REGEX).
(POSSLIBS): Remove.
(TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
(irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
gdb_regex.h in list of dependencies.
(gnu-regex.o): Remove rule.
* gnu-regex.c, gnu-regex.h: Remove files.
2001-09-01 21:38:05 +00:00
gdbadmin 3ca047d39a *** empty log message *** 2001-09-01 00:00:02 +00:00
Kevin Buettner 902d7086d7 Don't let a branch unit nop terminate the prologue scan. 2001-08-31 19:58:41 +00:00
Jim Blandy 17d9d55883 * gdb.texinfo (`add-symbol-file'): Correct synopsis.
Explain what it means to load relocatable files.
2001-08-31 01:24:24 +00:00
Jim Blandy 9ec8e6a002 * symfile.c (sections_overlap): New function.
(map_overlay_command): Call sections_overlap, instead of using
incorrect logic to recognize overlapping sections.
2001-08-31 00:40:45 +00:00
Jim Blandy 2889e66104 * symfile.c (load_command): Invalidate the overlay cache. 2001-08-31 00:36:23 +00:00
gdbadmin 56f3b7d623 *** empty log message *** 2001-08-31 00:00:03 +00:00
Jim Blandy 72cde065d6 *** empty log message *** 2001-08-30 23:57:06 +00:00
Mark Kettenis cd903d5356 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed. 2001-08-30 21:53:47 +00:00
Keith Seitz 4c32cc04d2 * lib/gdb.exp: Move all insight-related functionality into
separate file.
	* lib/insight-support.exp: New file.
2001-08-30 16:34:04 +00:00
Andrew Cagney a116b84cf9 Cleanups. Now passes! 2001-08-30 01:45:30 +00:00
gdbadmin 3738f56667 *** empty log message *** 2001-08-30 00:00:03 +00:00
Frank Ch. Eigler 8d6e6f816b * gdb/sid connect fix, etc.
2001-08-29  Frank Ch. Eigler  <fche@redhat.com>

        * config/sid.exp (sid_start): Never set sid verbosity; disable
        expect_background {} that consumed its stdout; tolerate </dev/null.
        Attempt to set endianness override in "sid" protocol mode.  Cleanup.
2001-08-29 20:36:06 +00:00
Kevin Buettner 8ad2fcde8d Applied Daniel Jacobowitz's patch for reattaching in the presence of
remote SVR4 shared libraries.
2001-08-29 19:34:08 +00:00