aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2000-11-20 * c-valprint.c (print_function_pointer_address): New functionPeter Schauer1-0/+8
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. Conklin1-0/+4
2000-11-20 * pa64solib.c (add_to_solib): Pass TARGET to pa64_solib_load_symbols.Jeff Law1-0/+4
2000-11-20Add linespec maintainers.Andrew Cagney1-0/+2
2000-11-20Devolve Solaris/x86Andrew Cagney1-0/+4
2000-11-20 * MAINTAINERS: Peter Schauer and Kevin Buettner maintain AIX. JimAndrew Cagney1-0/+5
Blandy, KEvin Buettner and Peter Schauer share shared libs.
2000-11-20Mark error_no_arg() as no-return.Andrew Cagney1-0/+4
2000-11-20Replace asprintf() / vasprintf() with xasprintf() xvasprintf().Andrew Cagney1-0/+12
2000-11-20Add ``extern'' and STREQ to cleanups.Andrew Cagney1-0/+4
2000-11-19* symtab.c (no_symtab_msg): Remove definition.Jim Blandy1-0/+9
(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-18Handle optimizer code motions into the prologue.Kevin Buettner1-0/+12
2000-11-18Protoization.Kevin Buettner1-0/+4
2000-11-17* thread.c (thread_apply_all_command): Save the command before executing itChristopher Faylor1-0/+7
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 Snyder1-0/+9
* 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 Taylor1-0/+7
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 Buettner1-1/+4
2000-11-15 * utils.c (strlen_paddr, paddr, paddr_nz): Use TARGET_ADDR_BIT,David Taylor1-0/+6
not TARGET_PTR_BIT, since we are dealing with addresses, not pointers.
2000-11-14From Kenneth Block <kenneth.block@compaq.com>Daniel Berlin1-0/+8
* demangle.c: Use libibery list of demanglers instead of out of date local copy.
2000-11-14Fix ``show remotewritesize'' was doing a set.Andrew Cagney1-0/+7
2000-11-13 * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handleEli Zaretskii1-0/+5
the gettext's posrcprefix correctly with drive letters.
2000-11-10* stabsread.c (read_range_type): Properly construct complexJim Blandy1-0/+5
type nodes.
2000-11-102000-11-10 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser1-0/+10
* 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 Faylor1-0/+22
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. Conklin1-0/+13
* 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 Buettner1-0/+5
2000-11-10Add code for relocating dynamic executables.Kevin Buettner1-0/+7
2000-11-09* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin1-0/+16
* 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 Schauer1-0/+42
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 Cagney1-0/+6
* 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 Snyder1-0/+5
* 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 Cagney1-0/+5
2000-11-08Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68kAndrew Cagney1-0/+13
targets.
2000-11-08* gdbserver/configure.in (files): Don't link nm-empty.h when aAndrew Cagney1-0/+6
non-native target. * configure: Regenerate.
2000-11-08Protoization.Kevin Buettner1-0/+5
2000-11-08AIX5 changes.Kevin Buettner1-0/+13
2000-11-082000-11-07 Daniel Berlin <dberlin@redhat.com>Daniel Berlin1-0/+5
* dwarf2read.c: Revert June 5th change for caching of types, as per Jim Blandy's request.
2000-11-062000-11-06 Fernando Nasser <fnasser@totem.toronto.redhat.com>Fernando Nasser1-0/+10
* wrapper.c (gdb_value_assign): New function. Longjump-free version of value_assign. (wrap_value_assign): New function. Wrapper for value_assign. * wrapper.h: Add declaration for the above. * varobj.c (varobj_set_value): Use gdb_value_assign, not value_assign which can longjump. Do not change varobj value if assign fails.
2000-11-062000-11-06 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser1-0/+22
From Steven Johnson <sbjohnson@ozemail.com.au>: This set of changes add "hookpost-" as an expansion on the original hooking of commands to GDB. A Hook may now be run "AFTER" execution of a command as well as before. * command.h (struct cmd_list_element): Changed elements hook and hookee to hook_pre and hookee_pre respectively. Added hook_post and hookee_post for the post hook command operation. Added hook_in so that an executing hook can be flagged to prevent recursion. * command.c (add_cmd): Changed initilization of cmd_list_element to reflect above changes. (delete_cmd): Remove both pre and post hooks. (help_cmd): Notify that the command has pre and/or post hooks. * infrun.c (normal_stop): Change references to hook_pre from hook. * top.c (execute_command): Run both pre and post hooks. (define_command): Allow definition of both pre and post hooks. The definition of pre-hooks is done as before, with the "hook-" prefix for backward compatibility.
2000-11-06 * stack.c (return_command): Pop dummy frame if we just returned fromPeter Schauer1-0/+5
a stop in a call dummy.
2000-11-06Protoization.Kevin Buettner1-0/+6
2000-11-04Protoization.Kevin Buettner1-0/+5
2000-11-03In new_symbol(), relocate symbol address by base address of the sectionKevin Buettner1-0/+6
it is in instead of using the base address of the .text section.
2000-11-03* TODO: Note abstraction layer violation where "ocd reset" commandJ.T. Conklin1-0/+82
must invalidate the dcache, and how this might be fixed. * monitor.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (monitor_open): Removed code that created local dcache. (flush_monitor_dcache): Removed (unused function). (monitor_resume): Removed call to dcache_invd(). (monitor_load): Likewise. (monitor_xfer_memory): Changed to call monitor_write_memory(), monitor_write_memory_block(), and monitor_read_memory() instead of dcache_xfer_memory(). * monitor.h (flush_monitor_dcache): Removed (unused function). * ocd.c (#include "dcache.h"): Removed. (ocd_dcache): Removed. (ocd_open): Removed code that created local dcache. (ocd_resume): Removed call to dcache_invd(). (ocd_xfer_memory): Changed to call ocd_write_bytes() and ocd_read_bytes() instead of dcache_xfer_memory(). (bdm_reset_command): Invalidate target dcache. * remote-bug.c (bug_load): Remove call to dcache_invd(). (bug_resume): Likewise. (bug_settings): Remove dcache, readfunc, and writefunc fields from initializer. (bug_xfer_memory): Changed to call bug_read_memory() and bug_write_memory() instead of dcache_xfer_memory(). * remote-nindy.c (#include "dcache.h"): Removed. (nindy_dcache): Removed. (nindy_open): Removed code that created local dcache. (nindy_resume): Removed call to dcache_invd(). (nindy_load): Likewise. (nindy_xfer_inferior_memory): Changed to call ninMemPut() and ninMemGet() instead of dcache_xfer_memory(). * remote-sds.c (#include "dcache.h"): Removed. (sds_dcache): Removed. (sds_open): Removed code that created local dcache. (sds_resume): Removed call to dcache_invd(). (sds_xfer_memory): Changed to call sds_write_bytes() and sds_read_bytes() instead of dcache_xfer_memory(). * remote-utils.c (gr_open): Removed code that created local dcache. * remote-utils.h (#include "dcache.h"): Removed. (struct gr_settings): Removed dcache, readfunc, and writefunc fields. (gr_get_dcache, gr_set_dcache): Removed macro definitions. * remote.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (remote_open_1): Removed code that created local dcache. (remote_async_open_1): Likewise. (remote_resume): Removed call to dcache_invd(). (remote_async_resume): Likewise. (remote_xfer_memory): Changed to call remote_write_bytes() and remote_read_bytes() instead of dcache_xfer_memory(). * wince.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (child_create_inferior): Removed code that created local dcache. (child_xfer_memory): Changed to call remote_write_bytes() and remote_read_bytes() instead of dcache_xfer_memory(). (child_resume): Removed call to dcache_invd(). * target.c (target_dcache): Added. (target_load): Invalidate target_dcache. (do_xfer_memory): New function. (target_xfer_memory): Reimplement in terms of dcache_xfer_memory(). (target_xfer_memory_partial): Likewise. (initialize_targets): Create target_dcache. * target.h (#include "dcache.h"): Added. (target_open): Invalidate target_dcache. (target_resume): Likewise. (do_xfer_memory): New declaration. * dcache.c (dcache_init): Removed reading and writing arguments. (dcache_struct): Removed read_memory and write_memory fields. (dcache_write_line): Call do_xfer_memory. (dcache_read_line): Likewise. (dcache_xfer_memory): Likewise. (dcache_invalidate): Renamed from dcache_invd. (dcache_init): Updated. (dcache_xfer_memory): Updated. * dcache.h (memxferfunc): Removed definition.
2000-11-03 * objfiles.c (objfile_relocate): Relocate ei.entry_point withPeter Schauer1-0/+5
its section offset, use SECT_OFF_TEXT only as a fallback.
2000-11-02Protoization.Kevin Buettner1-0/+7
2000-10-312000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+19
* config/sh/tm-linux.h: New file. Include generic tm-linux.h, plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use the sh target function instead of the default link map offsets. * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES. Use sh/tm-linux.h instead of sh/tm-sh.h. * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): New function. Construct target-specific link map offsets. * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets: New function. Construct target-specific link map offsets. * config/i386/tm-linux.h: Use above function instead of default. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS, and inclusion of solib.h. Move up into ../tm-linux.h. config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
2000-10-31Protoization.Kevin Buettner1-0/+6
2000-10-30solib.c relocation improvementsKevin Buettner1-0/+26
2000-10-302000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+15
* config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. * config/powerpc/linux.mh: ditto. * config/ia64/linux.mh: ditto. * config/i386/linux.mh: ditto. * config/alpha/alpha-linux.mh: ditto. * config/arm/linux.mh: ditto. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES. * config/powerpc/linux.mt: ditto. * config/ia64/linux.mt: ditto. * config/i386/linux.mt: ditto. * config/alpha/alpha-linux.mt: ditto. * config/arm/linux.mt: ditto.
2000-10-30* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,J.T. Conklin1-2/+21
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, somread.c, tracepoint.c: Fix spelling errors in comments. * gdbarch.c: Regenerate. * gnu-nat.c (S_exception_raise_request): Fix typos and spelling errors in strings. * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise. * mcore-tdep.c (mcore_analyze_prologue): Likewise. * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-rdp.c (handle_swi): Likewise. * remote-vx.c (vx_load_command): Likewise. * sh-tdep.c (sh_do_pseudo_register): Likewise. * sol-thread.c (td_err_string): Likewise. * symtab.c (decode_line_2): Likewise. -------------------------------------------------------------------