X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=ceb1db6a3ff5c2e89c71fcfc3bcdb456bc649081;hb=a72293e2a7d173542d2abc1e1309842501036b56;hp=c3649b9b048d9a7f175bc0e32d0b175d95364afe;hpb=c6ba6f0d512c788d74dea36b1c64988c09e56b98;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3649b9b04..ceb1db6a3f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,391 @@ +2001-11-07 Andrew Cagney + + * gdbarch.sh: For multi-arch functions, check there is a + predefault and use it as the static default. + * gdbarch.c: Re-generate. + +2001-11-08 Mark Kettenis + + * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define in + terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of + hardcoding the register number. + +2001-11-07 Andrew Cagney + + * gdbarch.sh (USE_STRUCT_CONVENTION): Default to + generic_use_struct_convention. + * gdbarch.h, gdbarch.c: Regenerate. + * values.c (USE_STRUCT_CONVENTION): Delete definition, moved to + gdbarch.h. + +2001-11-06 Andrew Cagney + + * gdbarch.sh (PC_IN_CALL_DUMMY): Require a value. + * gdbarch.c: Regenerate. + +2001-11-06 Fred Fish + + * complaints.c (info_verbose): Remove unneeded decl, is in defs.h. + * dbxread.c: Ditto + * dwarf2read.c: Ditto. + * dwarfread.c: Ditto. + * exec.c: Ditto. + * hpread.c: Ditto. + * hpread.h: Ditto. + * mdebugread.c: Ditto. + * os9kread.c: Ditto. + * stack.c: Ditto. + * symfile.c: Ditto. + * tracepoint.c: Ditto. + +2001-11-06 Andrew Cagney + + * MAINTAINERS: Update Andrew Cagney's responsibilities. Mention + David Taylor and Nick Duffek in past maintainers. + +2001-11-06 Elena Zannoni + + * mdebugread.c (CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, + END_PSYMTAB, SET_NAMESTRING, HANDLE_RBRAC): Delete definitions. + (parse_partial_symbols): Don't include partial-stab.h any + more. Don't reuse code in partial-stab.h, include the code + directly, instead. Simplify code from partial-stab.h eliminating + ifdef DBXREAD_ONLY code. + + * Makefile.in (mdebugread.o): Remove dependency on partial-stab.h. + +2001-11-06 Jim Blandy + + * s390-nat.c: #include "regcache.h", to get declaration for + `supply_register'. (The last change already added the dependency + of s390-nat.o on regcache.h. Oops.) + + * Makefile.in (ALLDEPFILES): Add s390-tdep.c and s390-nat.c. + (s390-tdep.o, s390-nat.o): New rules. + + * s390-nat.c (s390_register_u_addr): Pass proper arguments to + internal_error. + +2001-11-06 Andrew Cagney + + * gdbarch.sh (CALL_DUMMY_LOCATION): Require a value. + * gdbarch.c: Regenerate. + +2001-11-06 Andrew Cagney + + * blockframe.c (get_prev_frame): Replace #ifdef + INIT_EXTRA_FRAME_INFO with run-time test. + +2001-11-05 Andrew Cagney + + * gdbarch.sh (push_return_address): Change to a function with + predicate. + * gdbarch.h, gdbarch.c: Re-generate. + * valops.c (hand_function_call): Replace #ifdef + PUSH_RETURN_ADDRESS with run-time test of PUSH_RETURN_ADDRESS_P. + +2001-11-06 Corinna Vinschen + + * arch-utils.c (generic_in_function_epilogue_p): New function. + * arch-utils.h (generic_in_function_epilogue_p): Declare extern. + * breakpoint.c (watchpoint_check): Add test whether the pc is + currently in the epilogue of a function. + * gdbarch.c: Autogenerated from gdbarch.sh. + * gdbarch.h: Ditto. + * gdbarch.sh (function_list): Add `in_function_epilogue_p' definition. + +2001-11-05 Jim Blandy + + * config/s390/s390.mh (NATDEPFILES): Don't split this across + several lines with backslashes; the `sed' command in + configure.in's AC_OUTPUT clause that comments out the NATDEPFILES + assignment doesn't handle lines extended with backslashes. + + * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES + using `+=' as well as `='. + * configure: Regenerated. + +2001-11-05 Andrew Cagney + + * gdbarch.sh (init_extra_frame_info): Change to a function with + predicate. + * gdbarch.h, gdbarch.c: Re-generate. + * blockframe.c (create_new_frame): Replace #ifdef + INIT_EXTRA_FRAME_INFO with run-time test of + INIT_EXTRA_FRAME_INFO_P. + +2001-11-05 Andrew Cagney + + * gdbarch.sh (verify_gdbarch): Use a mem_file to accumulate all + error messages. Print in a single batch. + * gdbarch.c: Re-generate. + +2001-11-04 Mark Kettenis + + * i386-linux-nat.c (GETREGS_SUPPLIES, supply_gregset, + fill_gregset): Add support for "orig_eax" register. + + Add support for "orig_eax" pseudo register on Linux/x86. + * i386-linux-tdep.c: Include "inferior.h". + (i386_linux_register_name, i386_linux_register_byte, + i386_linux_register_raw_size): New functions. + (i386_linux_write_pc): New function. + * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define. + (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, + REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional + register. + (i386_linux_register_name, i386_linux_register_byte, + i386_linux_register_raw_size): New prototypes. + (TARGET_WRITE_PC): New define. + (i386_linux_write_pc): New prototype. + + * i386-tdep.c (i386_register_offset): Renamed from + i386_register_byte. Made static. + (i386_register_size): Renamed from i386_register_raw_size. Made + static. + (i386_register_virtual_size): Removed. + (i386_register_byte, i386_register_raw_size, + i386_register_virtual_size): New functions. + (_initialize_i386_tdep): Initialize i386_register_offset instead + of i386_register_byte. Remove code to initialize + i386_register_virtual_size. + * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use + i386_register_byte function. + (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size + function. + (REGISTER_VIRTUAL_SIZE): Redefine to use + i386_register_virtual_size function. + (i386_register_byte, i386_register_raw_size, + i386_register_virtual_size): New functions. + + * Makefile.in (ALLDEPFILES): Add i387-nat.c. + (i387-nat.o): Add dependencies. + +2001-11-02 Andrew Cagney + + * README: Mention problem with alpha-dec-osf5.1. + +2001-11-02 Andrew Cagney + + * utils.c (internal_verror): Restore calls to abort(). + Fix PR gdb/219. + +2001-11-02 Michael Chastain + + * MAINTAINERS: Update my entry. + +2001-11-01 Michael Snyder + + * symtab.c (operator_chars): Allow '*' and '[' to be quoted in + operator names, to avoid regexp expansion. + (search_symbols): Alloca buffer is too small, may get clobbered. + +2001-11-01 Fred Fish + + * coff-solib.c (coff_solib_add): Add new readsyms arg. + * irix5-nat.c (solib_add): Ditto. + * osfsolib.c (solib_add): Ditto. + * pa64solib.c (pa64_solib_add): Ditto. + * pa64solib.c (add_to_solist): Ditto. + * pa64solib.c (read_dld_descriptor): Ditto. + * solib.c (solib_add): Ditto. + * somsolib.c (som_solib_add): Ditto. + * win32-nat.c (child_solib_add): Ditto. + * xcoffsolib.c (solib_add): Ditto. + + * coff-solib.h (coff_solib_add): Add new readsyms arg to prototype. + * pa64solib.c (add_to_solist): Ditto. + * pa64solib.c (read_dld_descriptor): Ditto. + * pa64solib.h (pa64_solib_add): Ditto. + * solib.h (solib_add): Ditto. + * somsolib.h (som_solib_add): Ditto. + * config/i386/tm-cygwin.h (child_solib_add): Ditto. + + * coff-solib.c (coff_solib_add): If readsyms is zero don't read + symbols but do any other needed work for shared libs. + * irix5-nat.c: Ditto. + * osfsolib.c (solib_add): Ditto. + * solib.c (solib_add): Ditto. + * win32-nat.c (child_solib_add): Ditto. + * xcoffsolib.c (solib_add): Ditto. + + * irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to + solib_add to force reading of shared library symbols. + * osfsolib.c (sharedlibrary_command;): Ditto. + * pa64solib.c (pa64_solib_sharedlibrary_command): Ditto. + * solib.c (sharedlibrary_command): Ditto. + * somsolib.c (som_solib_sharedlibrary_command): Ditto. + * xcoffsolib.c (sharedlibrary_command): Ditto. + + * coff-solib.c (coff_solib_create_inferior_hook): Call solib_add + unconditionally with auto_solib_add. + * irix5-nat.c (solib_create_inferior_hook): Ditto. + * osfsolib.c (solib_create_inferior_hook): Ditto. + * solib.c (solib_create_inferior_hook): Ditto. + * solib-osf.c (osf_solib_create_inferior_hook): Ditto. + * solib-svr4.c (enable_break): Ditto. + * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. + + * corelow.c (solib_add_stub): Add auto_solib_add to args passed + via SOLIB_ADD. + * sol-thread.c (sol_thread_attach): Ditto. + * config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto. + + * infcmd.c (attach_command): Remove auto_solib_add decl. + Call SOLIB_ADD directly with auto_solib_add. + * infrun.c (handle_inferior_event): Ditto. + + * coff-solib.h (SOLIB_ADD): Add readsyms arg. + * pa64solib.h (SOLIB_ADD): Ditto. + * solib.h (SOLIB_ADD): Ditto. + * somsolib.h (SOLIB_ADD): Ditto. + * config/i386/tm-cygwin.h (SOLIB_ADD): Ditto. + + * fork-child.c (clone_and_follow_inferior): Remove unused + auto_solib_add decl. + + * pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms. + (read_dld_descriptor): Ditto. + (pa64_solib_add): Call read_dld_descriptor with readsyms. + (pa64_solib_in_dynamic_linker): Ditto. + + * corelow.c (symfile.h): Need this for auto_solib_add declaration. + * sol-thread.c (symfile.h): Ditto. + +2001-10-31 Andrew Cagney + + * s390-nat.c (s390_remove_watchpoint): Use xfree. + (s390_insert_watchpoint): Use xmalloc. + +2001-10-31 Andrew Cagney + + * varobj.c: Replace value_ptr with ``struct value *''. + +2001-10-31 Andrew Cagney + + * varobj.c: Re-indent. + +2001-10-31 Andrew Cagney + + * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace + ``value_ptr'' with ``struct value *''. + * s390-tdep.c (s390_push_arguments): Ditto. + +2001-10-30 Andrew Cagney + + * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with + ``struct value *''. + (struct frame_info, struct value): Add opaque declarations. + +2001-10-31 Corinna Vinschen + + * arch-utils.c (generic_in_solib_call_trampoline): New function. + * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration. + * gdbarch.c: Regenerated from gdbarch.sh. + * gdbarch.h: Ditto. + * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition. + * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro. + +2001-10-31 Andrew Cagney + + From DJ Barrow. + * s390-tdep.c: (s390_gdbarch_init): Don't initialize + find_solib_trampoline_target. + +2001-10-31 Andrew Cagney + + * remote-vx.c (net_wait): Fix typo from PIDGET change. + +2001-10-31 Mark Kettenis + + * config/i386/tm-i386.h (REGISTER_NAMES): Remove. + (REGISTER_NAME): New define. + (i386_register_name): New prototype. + * i386-tdep.c (i386_register_names): New variable. + (i386_register_name): New function. + * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h, + config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of + REGISTER_NAMES. + +2001-10-31 Christopher Faylor + + * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of + the loaded DLL matches the on-disk case since the debugging API does + not seem to ensure this. Calculate max name length here. + (handle_load_dll): Move max name length calculation to + register_loaded_dll. + +2001-10-31 Daniel Jacobowitz + + * arm-linux-nat.c: Include explicitly. + +2001-10-30 Keith Seitz + + * wrapper.h (gdb_value_struct_elt): New function. + * wrapper.c (gdb_value_struct_elt): Ditto. + (do_captured_value_struct_elt): Ditto. + +2001-10-30 Andrew Cagney + + * README, NEWS: Update for 5.1. + +2001-10-30 Andrew Cagney + + * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the + -W... flags. + * configure: Re-generate. + +2001-10-30 Fred Fish + + * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes. + * pa64solib.c (add_to_solist): Ditto. + * win32-nat.c (_initialize_inftarg): Remove unnecessary + initialization of auto_solib_add, it defaults to 1. + +2001-10-27 Fred Fish + + * symfile.c (auto_solib_add): Update comment to note that + this variable is now just used as a boolean to control shlib + autoloading, and clarify when it is used. + * symfile.h (auto_solib_add): Ditto. + + * symfile.c (auto_solib_limit): New variable that holds the + autoloading threshold instead of overloading auto_solib_add. + * symfile.h (auto_solib_limit): Ditto. + + * irix5-nat.c (_initialize_solib): Change auto-solib-add + variable from var_zinteger to var_boolean and update help. + * osfsolib.c (_initialize_solib): Ditto. + * pa64solib.c (_initialize_pa64_solib): Ditto. + * solib.c (_initialize_solib): Ditto. + * somsolib.c (_initialize_som_solib): Ditto. + * xcoffsolib.c (_initialize_solib): Ditto. + + * pa64solib.c (pa64_solib_total_st_size): Update comment to + note that the new auto_solib_limit variable is used instead + of overloading auto_solib_add variable. + (_initialize_pa64_solib): Ditto. + * somsolib.c (som_solib_total_st_size): Ditto. + (_initialize_som_solib): Ditto. + + * pa64solib.c (_initialize_pa64_solib): Add new set/show + commands for auto-solib-limit variable. + * somsolib.c (_initialize_som_solib): Ditto + + * pa64solib.c (add_to_solist): Check that auto_solib_add is + set and use auto_solib_limit as the threshold size instead + of auto_solib_add. + * somsolib.c (som_solib_add): Ditto, and also change warning + text about size threshold exceeded. + +2001-10-21 Mark Kettenis + + * config/i386/tm-i386v.h: Don't include "regcache.h". + (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN, + FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS): + Remove macros. The versions from "tm-i386.h" should work fine + (and in most cases even better). + 2001-10-30 Mark Kettenis * i386-tdep.c (i386_extract_return_value): Use