2003-09-08 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e4a36eafa78ee28ae8cac76c9ade060de996afb8..adddd3c66ef3e5496bf749029cce674e9c78df19 100644 (file)
@@ -1,3 +1,283 @@
+2003-09-08  Andrew Cagney  <cagney@redhat.com>
+
+       * gnu-nat.c: Remove "inline" function attribute.
+       * alpha-tdep.c, ppc-linux-tdep.c, macroexp.c: Ditto.
+
+2003-09-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * config/frv/frv.mt (SIM_OBS, SIM): Enable simulator for FR-V
+       target.
+
+2003-09-08  Kevin Buettner  <kevinb@redhat.com>
+
+       * frv-tdep.c (frame-unwind.h, frame-base.h): Include.
+       (frame_extra_info): Rename this struct to frv_unwind_cache.
+       Delete fields ``fp_to_callers_sp_offset'' and ``lr_saved_on_stack''.
+       Add fields ``prev_sp'' and ``base''.
+       (frv_frame_chain, frv_frame_saved_pc, frv_frame_init_saved_regs)
+       (frv_saved_pc_after_call, frv_init_extra_frame_info)
+       (frv_push_return_address, frv_pop_frame, frv_pop_frame_regular):
+       Delete.
+       (frv_analyze_prologue): Add ``struct frv_unwind_cache *'' argument.
+       Revise all callers.  Fill in the unwind cache argument and make
+       other adjustments to account for new frame mechanisms.
+       (frv_frame_unwind_cache, frv_frame_align, frv_unwind_pc)
+       (frv_frame_this_id, frv_frame_prev_register, frv_frame_sniffer)
+       (frv_frame_base_address, frv_unwind_dummy_id): New functions.
+       (frv_frame_unwind, frv_frame_base): New structs.
+       (frv_push_arguments): Change name to frv_push_dummy_call().  Add
+       additional arguments expected by this method and adjust function
+       body accordingly.
+       (frv_gdbarch_init): Remove calls to the following functions:
+       set_gdbarch_deprecated_init_frame_pc(),
+       set_gdbarch_deprecated_saved_pc_after_call(),
+       set_gdbarch_deprecated_frame_chain(),
+       set_gdbarch_deprecated_frame_saved_pc(),
+       set_gdbarch_deprecated_frame_init_saved_regs(),
+       set_gdbarch_deprecated_push_arguments(),
+       set_gdbarch_deprecated_push_return_address(),
+       set_gdbarch_deprecated_pop_frame(),
+       set_gdbarch_deprecated_call_dummy_words(),
+       set_gdbarch_deprecated_sizeof_call_dummy_words(),
+       set_gdbarch_deprecated_init_extra_frame_info(),
+       set_gdbarch_deprecated_dummy_write_sp(), and
+       set_gdbarch_deprecated_pc_in_call_dummy().
+       Add calls to the following functions:
+       set_gdbarch_unwind_pc(), set_gdbarch_unwind_sp(),
+       set_gdbarch_frame_align(), frame_unwind_append_sniffer(), and
+       frame_base_set_default().
+       * Makefile.in (frv-tdep.o): Update dependencies.
+       
+2003-09-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * dwarf2-frame.c (read_encoded_value): Add support for
+       DW_EH_PE_aligned encoding.
+
+2003-09-08  Daniel Jacobowitz  <drow@mvista.com>
+
+       * infrun.c (normal_stop): Don't print a message if the inferior
+       has exited.
+
+2003-09-08  Jim Blandy  <jimb@redhat.com>
+
+       * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h).
+       * dbxread.c: #include "gdb_assert.h".
+       (read_dbx_symtab): If the objfile has no .data section, use the
+       section index for the .bss section instead.
+
+2003-09-08  Daniel Jacobowitz  <drow@mvista.com>
+
+       * frame.c (deprecated_safe_get_selected_frame): New function.
+       * frame.h (deprecated_safe_get_selected_frame): Add prototype.
+       * findvar.c (read_var_value): Call it.
+
+2003-09-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * Makefile.in (ALLDEPFILES): Add sh64-tdep.c.
+       (sh64-tdep.o): Add dependencies.
+       * configure.tgt: Add FIXME to sh-*-linux*.
+       * sh-tdep.c: Move sh64 support to sh64-tdep.c.
+       (sh_gdbarch_init): Always set correct sh_show_regs function
+       pointer.  Call sh64_gdbarch_init() if machine type is sh5. 
+       * sh-tdep.h: Move sh64 support to sh64-tdep.c.
+       * sh64-tdep.c: New file, containing all sh64 related code from
+       sh-tdep.c.
+       * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
+       * config/sh/linux.mt (TDEPFILES): Ditto.
+       * config/sh/nbsd.mt (TDEPFILES): Ditto. 
+       * config/sh/tm-sh.h: Drop REGISTER_TYPE definition.
+       * config/sh/wince.mt (TDEPFILES): Ditto.
+
+2003-09-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lin-lwp.c (detach_callback): Don't call stop_wait_callback.
+       (stop_wait_callback): Handle !lp->signalled also.
+       (lin_lwp_has_pending, flush_callback): New functions.
+       (lin_lwp_wait): Call flush_callback.
+       * linux-proc.c (linux_proc_add_line_to_sigset): New function.
+       (linux_proc_pending_signals): New function.
+       * linux-nat.h (linux_proc_pending_signals): Add prototype.
+
+2003-09-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       From Nick Kelsey <nickk@ubicom.com>:
+       * infrun.c (handle_inferior_event): Check IN_SOLIB_RETURN_TRAMPOLINE
+       when the stop PC is at the beginning of a function also.
+
+2003-09-06  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-linux-tdep.c (arm_linux_arm_be_breakpoint): New.
+       (arm_linux_init_abi): Use arm_linux_arm_be_breakpoint.
+
+2003-09-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * sol-thread.c: Include "gdb_string.h".
+
+2003-09-03  Mark Kettenis  <m.kettenis@osp.nl>
+
+       * gcore.c: Reorder include files in alphabetical order.  Include
+       "gdb_assert.h".  Various coding style fixes.
+       (derive_stack_segment, derive_heap_segment): Replace check for
+       non-null BOTTOM and TOP with gdb_assert.
+       (derive_heap_segment): Replace check for successful creation of
+       ZERO with gdb_assert.
+       (make_mem_sec): Use bfd_section_lma to set OSEC->lma.
+
+2003-09-04  Andrew Cagney  <cagney@redhat.com>
+
+       * thread-db.c (verbose_dlsym): New function.
+       (thread_db_load): Use verbose_dlsym
+       (thread_db_new_objfile): Print that libthread_db was loaded, and
+       that thread debugging was enabled.
+
+2003-09-04  Andrew Cagney  <cagney@redhat.com>
+
+       * configure.tgt: Add "mips64*-*-*" target.  Delete
+       mips64*el-*-ecoff*, mips64*el-*-elf*, mips*el-*-ecoff*,
+       mips*el-*-elf*, mips*-*-lnews*, mips*-*-sysv*, mips*-*-riscos*,
+       mips*-*-ecoff*, mips*-*-elf*, mips*-little-*, mips*-big-*,
+       mips*-dec-*, mips64*-big-*, mips64*vr*-*-elf*, mips64*-*-ecoff*,
+       mips*-sony-*, and mips64*-*-elf* targets.
+       * config/mips/embedl.mt: Delete file.
+       * config/mips/embedl64.mt: Delete file.
+       * config/mips/mips.mt: Delete file.
+       * config/mips/mips64.mt: Delete file.
+       * config/mips/tm-embed.h: Delete file.
+       * config/mips/embed.mt (TM_FILE): Set to "tm-mips.h".
+       * config/mips/embed64.mt: Delete out-of-date comment.
+
+2003-09-04  Andrew Cagney  <cagney@redhat.com>
+
+       * hppa-tdep.c (hppa_gdbarch_init): Set
+       "have_nonsteppable_watchpoint".
+       * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+       * mips-tdep.c (mips_dump_tdep): Do not print
+       HAVE_NONSTEPPABLE_WATCHPOINT.
+       (mips_gdbarch_init): Set "have_nonsteppable_watchpoint".
+       * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+       * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+       * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Delete.
+
+2003-09-04  Corinna Vinschen  <vinschen@redhat.com>
+
+       * breakpoint.c (watchpoint_check): Remove accidentally checked in
+       unused code.  Add comment.
+
+2003-09-04  Corinna Vinschen  <vinschen@redhat.com>
+
+       * breakpoint.c (watchpoint_check): Check for pc being in an
+       epilogue if watchpoint frame couldn't be found.
+
+2003-09-04  Andrew Cagney  <cagney@redhat.com>
+
+       * Makefile.in: Re-generate all dependencies.
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * arch-utils.h (legacy_print_insn): Delete declaration.
+       * arch-utils.c (legacy_print_insn): Delete function.
+       * disasm.c (deprecated_tm_print_insn_info): Delete.
+       (_initialize_disasm): Delete function, contained code initializing
+       deprecated_tm_print_insn_info.
+       * gdbarch.sh (deprecated_tm_print_insn): Delete.
+       (deprecated_tm_print_insn_info): Delete.
+       (TARGET_PRINT_INSN): Do not provide a default.
+       * gdbarch.h, gdbarch.c: Re-generate.
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * disasm.c (fprintf_disasm): New function.
+       (gdb_disassemble_info): Call "init_disassemble_info", instead of
+       INIT_DISASSEMBLE_INFO_NO_ARCH.  Do not initialize "insn_sets",
+       reverts 2003-08-14 change.
+       (_initialize_disasm): Call "init_disassemble_info", instead of
+       INIT_DISASSEMBLE_INFO_NO_ARCH.
+
+2003-09-03  Michael Snyder  <msnyder@redhat.com>
+
+       * config/djgpp/fnchange.lst: Fix up sim/frv/profile-fr*.[ch].
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * config/rs6000/tm-rs6000.h (IBM6000_TARGET): Delete definition.
+       * config/rs6000/nm-rs6000.h (DEPRECATED_IBM6000_TARGET): Define.
+       * symfile.c (syms_from_objfile): Update.
+       (reread_symbols): `Update
+       * exec.c (exec_file_attach): Update.
+       (exec_file_attach): Update.
+       * config/powerpc/tm-nbsd.h: Delete #undef IBM6000_TARGET, revert
+       2003-08-29 change.
+       * config/powerpc/tm-linux.h: Delete #undef IBM6000_TARGET.
+
+2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c: Include frame-unwind.h, frame-base.h, and
+       trad-frame.h.
+       (arm_get_cache): Delete macro.
+       (struct arm_prologue_cache): Update comments.  Make saved_regs into
+       a trad_frame_saved_reg pointer.  Remove unwound_pc; rename unwound_sp
+       to prev_sp.
+       (thumb_scan_prologue): Update for cache changes.  Don't call
+       DEPRECATED_PC_IN_CALL_DUMMY.
+       (arm_scan_prologue): Update for cache changes.  Take NEXT_FRAME
+       argument and use it in desperation search for our prologue.  Do not
+       search past the specified PC.
+       (arm_make_prologue_cache): Simplify.
+
+       (arm_prologue_this_id, arm_prologue_prev_register)
+       (arm_prologue_unwind, arm_prologue_unwind_sniffer)
+       (arm_normal_frame_base, arm_normal_base, arm_make_sigtramp_cache)
+       (arm_sigtramp_this_id, arm_sigtramp_prev_register)
+       (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer)
+       (arm_unwind_dummy_id, arm_unwind_pc, arm_unwind_sp): New.
+
+       (arm_frame_chain_valid, arm_find_callers_reg)
+       (arm_frame_saved_pc, arm_read_fp, arm_frame_init_saved_regs)
+       (arm_pop_frame): Delete obsolete methods.
+       (arm_minimal_frame_chain, arm_minimal_frame_info): Delete.
+
+       (arm_gdbarch_init): Update for new frame methods.  Register prologue
+       and sigtramp unwinders.  Set the default frame base method.
+
+       * Makefile.in (arm-tdep.o): Update dependencies.
+       * varobj.c (find_frame_addr_in_frame_chain): Call
+       get_frame_base_address.
+       * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
+
+2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (arm_minimal_frame_chain): Renamed from
+       arm_frame_chain.  Take NEXT_FRAME and CACHE arguments.
+       Use the cache instead of DEPRECATED_FRAME_SAVED_PC.
+       (arm_minimal_frame_info): Renamed from arm_init_extra_frame_info.
+       Take NEXT_FRAME and CACHE arguments.  Call
+       FRAMELESS_FUNCTION_INVOCATION instead of checking FROMLEAF argument.
+       Set unwound_pc in CACHE instead of modifying the frame argument.
+       Don't bother checking the frame type when looking for sigtramp
+       frames.
+       (arm_make_prologue_cache, arm_frame_chain)
+       (arm_init_extra_frame_info): New functions.
+
+2003-09-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (arm_get_cache): Define.
+       (struct arm_prologue_cache): Renamed from frame_extra_info.  Add
+       unwound_sp, unwound_pc, and saved_regs.
+       (thumb_scan_prologue): Take a cache instead of the frame.
+       (arm_scan_prologue): Likewise.
+       (arm_frame_chain): Create a temporary cache for arm_scan_prologue
+       instead of a temporary frame.
+       (arm_init_extra_frame_info): Allocate and use a cache.
+       (arm_frame_saved_pc, arm_pop_frame): Use the cache.
+
+2003-09-03  Andrew Cagney  <cagney@redhat.com>
+
+       * config/arm/wince.mt (TM_CLIBS): Replace WIN32LIBS.
+       * config/mips/wince.mt (TM_CLIBS): Ditto.
+       * config/sh/wince.mt (TM_CLIBS): Ditto.
+       * config/pa/hppa64.mt (TM_CLIBS): Delete.
+       * config/sparc/sp64.mt (CC): Delete.
+
 2003-09-03  Andrew Cagney  <cagney@redhat.com>
 
        * defs.h: Do not include "arch-utils.h".
This page took 0.047768 seconds and 4 git commands to generate.