Cleanup bfd_close() cleanups.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f58765992219be84ab9cc08882bbdf096e9a76a8..085add8863888b76dbd30a7fdab9d42bd4207b9f 100644 (file)
@@ -1,3 +1,288 @@
+Tue May 16 10:54:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (make_cleanup_bfd_close): Add declaration.
+       * utils.c (do_bfd_close_cleanup, make_cleanup_bfd_close): New
+       functions.
+
+       * symfile.c (generic_load), sparcl-tdep.c (download), remote-udi.c
+       (download), remote-e7000.c (e7000_load), corelow.c (core_open,
+       core_file_to_sym_file): Replace calls to make_cleanup.
+
+Mon May 15 16:50:45 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Add notes on register cache.
+
+Mon May 15 21:27:27 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh-tdep.c (sh_dsp_reg_names, sh3_dsp_reg_names): New arrays.
+       (sh_processor_type_table): Add entries for bfd_mach_sh_dsp and
+        bfd_mach_sh3_dsp.
+       (sh_show_regs): Floating point registers are called fr0-fr15.
+       For sh4, display fpul, fpscr and fr0-fr15 / dr0-dr14 as appropriate.
+       Handle sh-dsp and sh3-dsp.
+       config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): sh-dsp / sh3-dsp
+       don't have floating point registers.
+       (DSR_REGNUM, A0G_REGNUM, A0_REGNUM, A1G_REGNUM, A1_REGNUM): Define.
+       (M0_REGNUM, M1_REGNUM, X0_REGNUM, X1_REGNUM, Y0_REGNUM): Likewise.
+       (Y1_REGNUM, MOD_REGNUM, RS_REGNUM, RE_REGNUM, R0B_REGNUM): Likewise.
+
+2000-05-15  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (gdbtypes.o, varobj.o): Depend on wrapper.h.
+
+       * wrapper.h (gdb_value_subscript, wrap_value_subscript): Add
+       prototypes.
+
+Mon May 15 15:31:30 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * valops.c (hand_function_call): Replace #ifdef
+       SAVE_DUMMY_FRAME_TOS with if SAVE_DUMMY_FRAME_TOS_P.
+
+       * gdbarch.sh (SAVE_DUMMY_FRAME_TOS): Add.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+Mon May 15 16:05:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ax.h (make_cleanup_free_agent_expr): Add declaration.
+       * ax-general.c (do_free_agent_expr_cleanup): 
+       (make_cleanup_free_agent_expr): New functions.
+
+       * tracepoint.c (validate_actionline, encode_actions), ax-gdb.c
+       (expr_to_agent, gen_trace_for_expr, agent_command): Replace calls
+       to make_cleanup.
+
+Mon May 15 14:06:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * breakpoint.h (make_cleanup_delete_breakpoint,
+       make_exec_cleanup_delete_breakpoint): Declare.
+       * breakpoint.c (make_cleanup_delete_breakpoint,
+       make_exec_cleanup_delete_breakpoint,
+       do_delete_breakpoint_cleanup): New fuctions.
+       
+       * infcmd.c (finish_command), hppa-tdep.c (hppa_pop_frame),
+       breakpoint.c (until_break_command, until_break_command): Replace
+       call to make_cleanup / make_exec_cleanup.
+
+Mon May 15 13:25:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * defs.h (core_addr_greaterthan, core_addr_lessthan), utils.c
+       (core_addr_greaterthan, core_addr_lessthan): Move from here.
+       * arch-utils.h (core_addr_greaterthan, core_addr_lessthan),
+       arch-utils.c (core_addr_greaterthan, core_addr_lessthan): To here.
+
+Mon May 15 12:07:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * printcmd.c (print_frame_args), stack.c (print_frame), command.c
+       (do_setshow_command), breakpoint.c (print_it_typical, mention):
+       Use make_cleanup_ui_out_stream_delete.
+
+Mon May 15 11:23:23 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * proc-events.c (init_syscall_table): Delete stray ``;''.
+       * ui-out.c (ui_out_set_flags, ui_out_clear_flags): Return old
+       value.
+       * mdebugread.c (START_PSYMTAB): Add paren to avoid x=x=x.
+
+2000-05-12  Kevin Buettner  <kevinb@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value_data): Fix typo in sign
+       extension code.
+
+Fri May 12 20:38:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * TODO: Mention weak symbol problem.  Mention UnixWare thread
+       problem.
+
+Fri May 12 14:12:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * README: Update section on kernel debugging.
+
+Fri May 12 19:13:15 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (mips_get_saved_register): New function.  Handle
+       case of 32 ABI saving 32 bit registers on stack when target has 64
+       bit ISA.
+       (mips_gdbarch_init): Update.
+
+Fri May 12 14:46:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (MIPS_EABI): Fix typo.  Test for MIPS_ABI_EABI64.
+
+Thu May 11 21:52:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.in (WERROR_CFLAGS): Check that GCC accepts a -W
+       options before using them. Report result.
+       * configure: Regenerate.
+       
+2000-05-11  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * coffread.c (coff_symtab_read): In the case of C_THUMBEXT |
+       C_THUMBEXTFUNC | C_EXT, sec will never ever be the index for
+       .rodata, because cs_to_section doesn't deal with .rodata. Fix test
+       accordingly.
+
+Thu May 11 21:33:59 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * gdbarch.sh (gdbarch_dump): Print the value of GDB_MULTI_ARCH.
+       Always check that a macro is defined before printing it.
+       * gdbarch.c: Re-generate.
+
+Thu May 11 17:22:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * README: Update for GDB 5.0.
+
+Thu May 11 13:24:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (MIPS_DEFAULT_STACK_ARGSIZE): Fix typo.
+
+       * config/mips/tm-irix5.h (GDB_MULTI_ARCH): Add
+       definition. Disable.  Document known problems.
+       (MIPS_DEFAULT_ABI): Define.
+
+       * mips-tdep.c (enum mips_abi): Define.
+       (struct gdbarch_tdep): Replace mips_eabi with mips_abi.
+       (MIPS_EABI): Update.
+       (mips_gdbarch_init): Add preliminary support for IRIX N32 ABI.
+       Determine ABI from either ELF_FLAGS or MIPS_DEFAULT_ABI. When
+       looking for a matching architecture require a matching MIPS_ABI.
+       (mips_gdbarch_init): Cleanup arch_debug information.
+
+2000-05-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+        * solib.c (symbol_add_stub): Remember the index and the name of
+        the section with the lowest address. Use this data (instead of
+        data from .text) to pass info into symbol_file_add.
+
+        * elfread.c (record_minimal_symbol_and_info): Use the section 
+       where the symbol lives to get the index, instead of guessing.
+
+2000-05-10  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       Make Sparc a Multi-Arch target.  Discard PARAMS macro (require ANSI).
+       * sparc-tdep.c: include arch-utils.h.
+       (SPARC_HAS_FPU, FP_REGISTER_BYTES, FP_MAX_REG NUM, SPARC_INTREG_SIZE,
+       DUMMY_REG_SAVE_OFFSET): provide multi-arch-compatible definitions.
+       (GDB_TARGET_IS_SPARC64): make into a runtime test.
+       (struct frame_extra_info): Define, use instead of the macro.
+       (Many places): Use alloca instead of statically allocated buffers
+       that depend on a multi-arch variable such as MAX_REGISTER_RAW_SIZE.
+       (sparc_extract_struct_value_address): Accept a pointer arg instead
+       of an array sized by REGISTER_BYTES.
+       (examine_prologue): Accept a pointer to an array of CORE_ADDR, 
+       instead of the defunct struct frame_saved_regs.  Recognize new
+       Sparc64 store instructions as part of the prologue.  Ignore the
+       destination of a frame store when parsing the prologue (so long
+       as it's on the stack).
+       (sparc_push_dummy_frame): Fix incorrect buffer offset for PSTATE.
+       (sparc_frame_find_saved_regs): Accept a ptr to an array of CORE_ADDR
+       instead of the defunct struct frame_saved_regs.
+       (supply_gregset): Discard unnecessary 'zerobuf': just send NULL to
+       supply_register.  Provide 4-byte offset to compensate for diff
+       between size of the prgreg_t elements on a 64-bit host and size
+       of the registers for a 32-bit target.  Fill all inaccessible regs
+       with zero so they won't keep being requested again and again.
+       (fill_gregset): Handle 32/64 size difference between registers
+       and prgreg_t.  Handle as many new 64-bit regs as possible.
+       (supply_fpregset, fill_fpregset): Attempt to handle 64-bit world.
+       (sparc_push_arguments): Rename to sparc32_push_arguments.
+       Copy arguments into registers as well as onto stack, so that the
+       CALL_DUMMY (code pushed onto the target stack) is not required.
+       (sparc_extract_return_value): Rename to sparc32_extract_return_value.
+       (sparc_store_return_value): Use memset instead of bzero.
+       Use write_register_gen instead of write_register_bytes.
+       (sparclet_store_return_value): New function.
+       (_initialize_sparc_tdep): Call register_gdbarch_init to activate
+       the gdbarch multi-architecture system.
+       (sp64_push_arguments): Rename to sparc64_push_arguments.
+       Extend to store arguments in general registers as well as on stack.
+       (sparc64_extract_return_value): Rename to sp64_extract_return_value.
+       Use as a private function, to be called by the new external function
+       sparc64_extract_return_value.
+       (sparclet_extract_return_value): New function.
+       (sparc32_stack_align, sparc64_stack_align, sparc32_register_name,
+       sparc64_register_name, sparc_print_extra_frame_info,
+       sparclite_register_name, sparclet_register_name, 
+       sparc_push_return_address, sparc64_use_struct_convention, 
+       sparc32_store_struct_return, sparc64_store_struct_return, 
+       sparc32_register_virtual_type, sparc64_register_virtual_type, 
+       sparc32_register_size, sparc64_register_size, 
+       sparc32_register_byte, sparc64_register_byte, 
+       sparc_gdbarch_skip_prologue, sparc_convert_to_virtual, 
+       sparc_convert_to_raw, sparc_frame_init_saved_regs, 
+       sparc_frame_address, sparc_gdbarch_fix_call_dummy, 
+       sparc_coerce_float_to_double, sparc_call_dummy_address, 
+       sparc_y_regnum, sparc_reg_struct_has_addr, sparc_intreg_size,
+       sparc_return_value_on_stack): New functions supporting multi-arch.
+       (sparc_gdbarch_init): New function; initialize multi-arch.
+       (struct gdbarch_tdep): Define, use for private multi-arch data.
+       * config/sparc/tm-sparc.h: Move definitions around, enclose with
+       #ifdef GDB_MULTI_ARCH tests, provide some multi-arch alternate
+       definitions.  Add enums for register names, to help debugging gdb.
+       This header file must work for non-multi-arch and for multi-arch.
+       * config/sparc/tm-sp64.h: Add GDB_MULTI_ARCH configuration.  Also add
+       AT_ENTRY_POINT definitions for CALL_DUMMY, for non-multi-arch case.
+       Define GDB_MULTI_ARCH.
+       * config/sparc/tm-sparclet.h: Add GDB_MULTI_ARCH configuration.
+       Do not define GDB_MULTI_ARCH (bfd does not correctly identify target).
+       * config/sparc/tm-sparclite.h: Ditto.
+       * config/sparc/tm-sun4sol2.h: Define GDB_MULTI_ARCH.
+       * sparclet-rom.c (sparclet_regnames): Initialize explicitly, to
+       avoid using deprecated REGISTER_NAMES macro.
+       * Makefile.in: Let sparc-tdep.c depend on arch-utils.h.
+
+2000-05-08  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers.
+       * gdbarch.c, gdbarch.h: Regenerate.
+       * core-regset.c: Change FP0_REGNUM to a runtime test.
+       * procfs.c: Ditto.
+       * sun3-nat.c: Ditto.
+       * sparc-tdep.c: Ditto.
+       
+       * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM.
+       * ptx4-nat.c: Ditto.
+
+       * sol-thread.c (sol_thread_create_inferior): only add the thread
+       to the thread list if it is not already in there.
+       (prototypes for thread_db func ptrs): pretty up formatting.
+
+2000-05-08  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * config/djgpp/djconfig.sh: Use more warning switches.
+
+       * config/djgpp/fnchange.lst: Replace the leading gdb-0222 with the
+        @V@ placebo.  djunpack.bat changed accordingly.
+
+Mon May  8 11:19:47 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips-tdep.c (size_auto, size_32, size_64, size_enums): Rename
+       saved_gpreg_size_auto, saved_gpreg_size_32, saved_gpreg_size_64
+       and saved_gpreg_size_enums.
+       (mips_stack_argsize): Update. Cleanup.
+
+       * mips-tdep.c (STACK_ARGSIZE): Delete macro.  Replaced by
+       MIPS_STACK_ARGSIZE.
+       (MIPS_NABI32): Delete macro. Replaced by
+       MIPS_REGS_HAVE_STACK_HOME_P.
+       (mips_push_arguments): Update.
+       (mips_push_arguments): Replace check for MIPS_EABI or MIPS_NABI32
+       with test for MIPS_REGS_HAVE_STACK_HOME_P.
+       (MIPS_REGS_HAVE_STACK_HOME_P): Define.  Provide non- multi-arch
+       default.
+       (struct gdbarch_tdep): Add mips_regs_have_stack_home_p and
+       mips_default_stack_argsize.
+       (MIPS_STACK_ARGSIZE): Define as mips_stack_argsize.
+       (mips_stack_argsize_string): New static variable.
+       (mips_stack_argsize): New function, handle default case.
+       (__initialize_mips_tdep): Add command ``set mips stack-arg-size''
+       implemented as an enum using size_auto et.al.
+       (mips_gdbarch_init): Initialize mips_default_stack_argsize and
+       mips_regs_have_stack_home_p.
+
+       * config/mips/tm-irix5.h (MIPS_DEFAULT_SAVED_REGSIZE): Define as 8
+       for n32.
+       (MIPS_REGS_HAVE_STACK_HOME_P): Define as 0 for n32.
+
 Mon May  8 00:49:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * procfs.c (PROCFS_TRACE): Delete definition.
This page took 0.038857 seconds and 4 git commands to generate.