aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-11-21 * target.h (TARGET_SIGNAL_REALTIME_64): Added for IRIX 6.Peter Schauer3-0/+13
* target.c (target_signal_from_host, do_target_signal_to_host): Handle TARGET_SIGNAL_REALTIME_64.
2000-11-21 * solib.c (solib_open): Handle the case whereKevin Buettner2-12/+21
solib_absolute_prefix is NULL.
2000-11-212000-11-20 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-51/+103
* solist.h: Declare new function solib_open. * solib.c (solib_open): New function. Abstracts some of the code from solib_map_sections, for finding the binary solib file. (solib_map_sections): Call solib_open. * solib-svr4.c (enable_break): Call solib_open.
2000-11-21* gdbserver/low-nbsd.c (fetch_inferior_registers,J.T. Conklin2-14/+29
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-11-202000-11-20 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* ia64-tdep.c (gdbarch_tdep): Change reference from ELFOSABI_MONTEREY to ELFOSABI_AIX.
2000-11-20 * c-valprint.c (print_function_pointer_address): New functionPeter Schauer2-3/+31
to automatically dereference a function pointer for printing if necessary. (c_val_print): Use print_function_pointer_address when printing function pointer addresses.
2000-11-20* gdbserver/low-nbsd.c: Fix typos.J.T. Conklin2-32/+36
2000-11-20 * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.Jeff Law2-1/+6
2000-11-20Add linespec maintainers.Andrew Cagney2-0/+7
2000-11-20Devolve Solaris/x86Andrew Cagney2-1/+5
2000-11-20 * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. JimAndrew Cagney2-1/+13
Blandy, KEvin Buettner and Peter Schauer share shared libs.
2000-11-20Mark error_no_arg() as no-return.Andrew Cagney2-1/+5
2000-11-20Replace asprintf() / vasprintf() with xasprintf() xvasprintf().Andrew Cagney8-77/+106
2000-11-20Add ``extern'' and STREQ to cleanups.Andrew Cagney2-0/+16
2000-11-19* symtab.c (no_symtab_msg): Remove definition.Jim Blandy3-7/+12
(sources_info): Replace use of no_symtab_msg with the string itself. * linespec.c (no_symtab_msg): Remove declaration. (decode_line_1): Replace uses of no_symtab_msg with the string itself.
2000-11-19 * gdb.texinfo (Continuing and Stepping): Fixed markup and typos,Eli Zaretskii2-12/+17
as suggested by Dmitry Sivachenko <dima@Chg.RU>.
2000-11-18Handle optimizer code motions into the prologue.Kevin Buettner2-6/+113
2000-11-18Protoization.Kevin Buettner2-6/+6
2000-11-17 * lib/gdb.exp (gdb_test): Override timeout with board info.Nicholas Duffek2-4/+12
2000-11-17 * gdb.base/display.exp: Don't kill running stub. Add "again" toNicholas Duffek2-13/+19
the second kill and detach messages.
2000-11-17 * configure.in: Add AC_EXEEXT.Nicholas Duffek7-6/+137
* configure: Regenerate. * Makefile.in (just-check): Export EXEEXT. * lib/gdb.exp ($EXEEXT): Import from environment. * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't expect "maint dump-me" on Cygwin. * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append $EXEEXT.
2000-11-17 * gdb.base/break.exp: Test backtrace and finish from calledNicholas Duffek2-15/+24
function on all platforms, not just HP-UX.
2000-11-17* gdb.texinfo: Document new 'set step-mode' command.Christopher Faylor2-0/+21
2000-11-17* thread.c (thread_apply_all_command): Save the command before executing itChristopher Faylor2-0/+23
because it may be modified. Restore the saved command so that the same command is executed on next thread. (thread_apply_command): Same correction.
2000-11-172000-11-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-1/+17
* regcache.c (read_register_bytes): Failing to set register_valid is not necessarily an error, if the register is a pseudo-register. Some pseudo-registers are never marked as valid, so that they will be read anew every time. Determining if a pseudo-register is valid (or should be marked invalid) may be difficult, whereas just recomputing it may be cheap.
2000-11-16 * tracepoint.c (trace_find_tracepoint_command): Replace call toDavid Taylor3-2/+9
parse_and_eval_address with a call to parse_and_eval_long as we are evaluating an integer, not an address. * top.c (show_commands): Ditto.
2000-11-15Protoization.Kevin Buettner4-8/+6
2000-11-15 * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,David Taylor2-3/+9
not TARGET_PTR_BIT, since we are dealing with addresses, not pointers.
2000-11-142000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-42/+61
* config/monitor.exp (gdb_target_cmd): Abstracts some of the code from gdb_target_monitor, so it can be used independantly for gdbserver. Also comment out an unnecessary PUTS.
2000-11-142000-11-03 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder7-36/+78
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test. * gdb.base/corefile.exp: Expect the message "Program is being debugged already" when we send the "corefile" command, since the preceeding gdb_load may have connected gdb to a remote target. * gdb.base/display.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Replace single-letter commands with more readable ones. * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests to see if stdio (printf) testing is possible. * gdb.base/watchpoint.exp: Disable hardware watchpoints if new board info variable "no_hardware_watchpoints" is true. Use new proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2000-11-14From Kenneth Block <kenneth.block@compaq.com>Daniel Berlin2-59/+20
* demangle.c: Use libibery list of demanglers instead of out of date local copy.
2000-11-14Fix ``show remotewritesize'' was doing a set.Andrew Cagney2-1/+8
2000-11-142000-11-13 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-11/+26
From Orjan Friberg <orjanf@axis.com>: * gdb.base/printcmds.exp: Escape curly braces followed by a number in array print pattern match.
2000-11-13 * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handleEli Zaretskii2-1/+7
the gettext's posrcprefix correctly with drive letters.
2000-11-10* stabsread.c (read_range_type): Properly construct complexJim Blandy2-4/+13
type nodes.
2000-11-102000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser5-1235/+1309
* symtab.c (decode_line_1, total_number_of_methods, find_methods, build_command_line_spec, find_toplevel_char, decode_line_2): Move to linespec.c. * linespec.c: New file. Routines that handle linespecs, formerly in symtab.c. * symtab.h: Export find_line_symtab and find_function_start_sal, * Makefile.in: Add linespec.c.
2000-11-10* inferior.h (step_over_calls_kind): New enum to clarify values inChristopher Faylor4-17/+77
step_over_calls. * infcmd.c (step_over_calls): Change definition. (step_1): Use new enum values in relation to step_over_calls. (step_once): Ditto. (until_next_command): Ditto. * infrun.c (clear_proceed_status): Ditto. (handle_inferior_event): Ditto. * inferior.h (step_stop_if_no_debug): New variable. * infrun.c (step_stop_if_no_debug): Declare. (handle_inferior_event): Stop the step command if we entered a function without line info. (_initialize_infrun): New command 'set step-mode' to control the step command. * infcmd.c (step_once): Switch to stepi mode if there is no line info (and switching is enabled).
2000-11-102000-11-10 J.T. Conklin <jtc@redback.com>J.T. Conklin2-32/+32
* target.c (do_xfer_memory): Only perform a single memory transfer instead of iterating to tranfer the entire region. Higher layers are expected to call this function multiple times for partial transfers. (target_xfer_memory_partial): Remove unused local variables. 2000-11-10 Nick Duffek <nsd@redhat.com> * target.c (target_xfer_memory_partial): Return bytes transferred instead of 0.
2000-11-10Protoization.Kevin Buettner3-17/+12
2000-11-10Add code for relocating dynamic executables.Kevin Buettner2-1/+117
2000-11-092000-11-09 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-8/+15
* gdb.c++/templates.exp (test_template_breakpoints): Change Britsh spelling "cancelled" to U.S. spelling "canceled" to match changes made to gdb. * gdb.c++/ovldbreak.exp: Ditto.
2000-11-09* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin14-17/+29
* config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise. * config/sparc/nbsdelf.mh: Likewise. * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise.
2000-11-09 Add auto-solib-add support for AIX, remove obsolete and unusedPeter Schauer18-177/+178
SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code. * rs6000-nat.c (vmap_symtab): Do not try to modify offsets if symbols are not yet loaded. (vmap_add_symbols): New function to add symbols for a vmap entry. (add_vmap): Turn errors into warnings, return NULL vmap upon failure. Add symbols via vmap_add_symbols only if requested. (xcoff_relocate_core): Allow debugging of core files without an executable file. Handle NULL returns from add_vmap gracefully. * xcoffsolib.c (solib_add): Remove, no longer needed. (solib_info): Do not check for new shared libraries if there is no inferior process. (sharedlibrary_command): Made static. Do not check for new shared libraries if there is no inferior process. Add symbols for requested shared libraries via vmap_add_symbols. (_initialize_solib): Add `set auto-solib-add' command. * xcoffsolib.h (vmap_add_symbols): Add prototype declaration. * config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT): Move from here ... * config/rs6000/nm-rs6000.h: ... to here, this is an AIX native feature. * config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h: Remove #undef PC_LOAD_SEGMENT. * config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt (TDEPFILES): Move xcoffsolib.o from here ... * config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh (NATDEPFILES): ... to here, xcoffsolib.o contains AIX native code only. * rs6000-tdep.c: Remove #include xcoffsolib.h, no longer needed. * xcoffsolib.h (xcoff_relocate_symtab_hook): Remove declaration. * rs6000-nat.c (_initialize_core_rs6000): Remove setting of xcoff_relocate_symtab_hook, no longer needed. * xcoffsolib.c (solib_info, sharedlibrary_command): Remove xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab directly, as xcoffsolib.c is now compiled in native AIX configurations only. * Makefile.in: Update dependencies for rs6000-tdep.o, rs6000-nat.o and xcoffsolib.o.
2000-11-09 * MAINTAINERS: Specify the vax-dec-vms5.5 target tupple.Andrew Cagney3-2/+11
* vax-tdep.c: Include "gdbcore.h", "frame.h" and "value.h". (vax_print_insn): Change ``d'' to a const char pointer.
2000-11-082000-11-08 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2-17/+22
* gdbarch.sh: Spelling correction: registrary -> registry. * gdbarch.c: Ditto.
2000-11-08Work around targets that don't yet define JB_PC or JB_ELEMENT_SIZE.Andrew Cagney2-0/+15
2000-11-08Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68kAndrew Cagney9-14/+27
targets.
2000-11-08* gdbserver/configure.in (files): Don't link nm-empty.h when aAndrew Cagney3-32/+49
non-native target. * configure: Regenerate.
2000-11-08Protoization.Kevin Buettner3-10/+9
2000-11-08AIX5 changes.Kevin Buettner2-6/+48