2004-04-29 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 8fdba0fc4acf318a9c970f93ba9074bf36b71c88..5b9da00ba494f541c870316af22a58d81bdd0f23 100644 (file)
@@ -1,3 +1,253 @@
+2004-04-29  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (struct gdbarch_tdep): Delete
+       mips_fp_register_double.
+       (FP_REGISTER_DOUBLE): Delete macro, replace with test for
+       mips_abi_regsize.
+       (mips_gdbarch_init): Do not set mips_fp_register_double.
+       (mips_dump_tdep): Do not print FP_REGISTER_DOUBLE.
+
+2004-04-29  Joel Brobecker  <brobecker@gnat.com>
+
+       Committed by Andrew Cagney.
+        * infrun.c (handle_inferior_event): Rely on frame IDs to detect
+        function calls.
+
+2004-04-29  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (mips_abi_regsize): Replace tdep parameter with
+       gdbarch, use mips_abi, update callers.
+       (mips_stack_argsize): Replace tdep parameter with gdbarch, use
+       mips_abi_regsize, update callers.
+       (struct gdbarch_tdep): Delete mips_default_stack_argsize and
+       mips_default_abi_regsize.
+       (mips_gdbarch_init): Do not set mips_default_stack_argsize and
+       mips_default_abi_regsize.
+
+2004-04-29  Andrew Cagney  <cagney@redhat.com>
+
+       * mips-tdep.c (mips_abi_regsize): Rename mips_saved_regsize.
+       (mips_abi_regsize_string): Rename mips_saved_regsize_string.
+       (struct gdbarch_tdep): Rename mips_default_saved_regsize to
+       mips_default_abi_regsize.
+       (mips_isa_regsize): Rename mips_regisze.
+       * mipsnbsd-tdep.c: Update.
+       * mips-linux-tdep.c: Update.
+       * irix5-nat.c: Update.
+       * mips-tdep.h (mips_isa_regsize): Update.
+
+       * gdb-events.sh (WITH_GDB_EVENTS): Delete macro and references.
+       Delete all disabled code.
+       * gdb-events.h, gdb-events.c: Re-generate.
+       
+2004-04-19  Jerome Guitton  <guitton@gnat.com>
+           Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_skip_prologue): follow the last jump only if
+       the function begins with a branch instruction.
+
+2004-04-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c: Fix spelling mistakes.
+
+2004-04-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+           Andrew Cagney  <cagney@redhat.com>
+
+       * configure.in (mips-sgi-irix5*): Define _KMEMUSER for
+       <sys/proc.h>.
+       * acconfig.h: Provide default _KMEMUSER value.
+       * config.in, configure: Re-generate.
+       * NEWS: Mention fix.
+
+2004-04-24  Randolph Chung  <tausq@debian.org>
+
+       * configure.host (hppa*-*-linux*): New target.
+       * configure.tgt (hppa*-*-linux*): Likewise.
+       * hppa-tdep.c (hppa_gdbarch_init): Set cannot_fetch_register, move
+       gdbarch_init_osabi() call earlier so that osabi-specific frame
+       unwinders can be registered first.
+       * config/djgpp/fnchange.lst: Add entries for hppa-linux-tdep.c and
+       hppa-linux-nat.c.
+       * config/pa/tm-hppa.h (ISR_REGNUM, PID0_REGNUM, PID1_REGNUM)
+       (PID2_REGNUM, PID3_REGNUM): Add definitions of some register numbers.
+       * config/pa/linux.mh: New file.
+       * config/pa/linux.mt: New file.
+       * config/pa/nm-linux.h: New file.
+       * config/pa/xm-linux.h: New file.
+       * hppa-linux-nat.c: New file.
+       * hppa-linux-tdep.c: New file.
+
+2004-04-28  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa32_return_value): Handle both 4- and 8-byte fp
+       return values.
+       (hppa32_push_dummy_call): Fix small struct and floating point argument 
+       passing, and make sure the stack frame is properly aligned.
+
+2004-04-28  Andrew Cagney  <cagney@redhat.com>
+
+       * stack.c (print_stack_frame): Fix description.
+
+       * NEWS: Mention gdb/gdbserver/configure execute permission
+       changed.  PR server/519.
+
+2004-04-28  Andrew Cagney  <cagney@redhat.com>
+
+       * stack.c (print_stack_frame_stub): Delete declaration.
+       (struct print_stack_frame_args, print_stack_frame)
+       (print_frame_info, print_frame): Replace "source" with print what.
+       Replace "print" with "print_level".  Replace "args" with
+       "print_args".
+       * frame.h (show_and_print_stack_frame, print_stack_frame)
+       (print_frame_info): Update declarations.
+       * stack.c (select_and_print_frame, frame_command)
+       (current_frame_command, up_command, down_command): Update calls -
+       use get_selected_frame, pass "enum print_what" for source, do not
+       call frame_relative_level.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto.
+       * remote-rdp.c (remote_rdp_open): Ditto.
+       * remote-mips.c (common_open): Ditto.
+       * remote-e7000.c (e7000_start_remote): Ditto.
+       * ocd.c (ocd_start_remote): Ditto.
+       * mi/mi-main.c (mi_cmd_exec_return): Ditto.
+       * infrun.c (normal_stop): Ditto.
+       * inflow.c (kill_command): Ditto.
+       * infcmd.c (finish_command): Ditto.
+       * corelow.c (core_open): Ditto.
+       * tracepoint.c (finish_tfind_command): Ditto.
+       * thread.c (info_threads_command, info_threads_command) 
+       (restore_current_thread, do_captured_thread_select): Ditto.
+       * ada-tasks.c (task_command): Ditto.
+
+2004-04-26  Orjan Friberg <orjanf@axis.com>
+
+       * frame.c: Include "observer.h".
+       (frame_observer_target_changed): New function.
+       (_initialize_frame): Attach target_changed observer.
+       * regcache.c: Include "observer.h".
+       (regcache_observer_target_changed): New function.
+       (_initialize_regcache): Attach target_changed observer.
+       * valops.c: Include "observer.h".
+       (value_assign): Notify target_changed event when modifying register.
+       * Makefile.in (frame.o, regcache.o, valops.o): Add $(observer_h).
+
+2004-04-26  Orjan Friberg <orjanf@axis.com>
+
+       From Paul Koning <pkoning@equallogic.com>:
+       * breakpoint.c (free_valchain): New function.
+       (insert_bp_location, delete_breakpoint): Use free_valchain.
+       (remove_breakpoint): Do not remove the valchain.
+       (bpstat_stop_status): If not stopped by watchpoint, skip
+       watchpoints when generating stop status list.
+       * infrun.c (handle_inferior_event): Make
+       stepped_after_stopped_by_watchpoint a global variable.
+       * remote.c (remote_stopped_data_address): Return watch data
+       address rather than zero if stepped_after_stopped_by_watchpoint is
+       set.
+
+2004-04-25  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Fix PR gdb/1626.
+       * configure.in: Check for curses after termcap.
+       On osf5.*, do not check for ncurses.
+       * configure: Regenerate.
+
+2004-04-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppcobsd-nat.c: Include "ppc-tdep.h".
+       * Makefile.in (ppcobsd-nat.o): Update dependencies.
+
+       * stack.c (return_command): Use CHECK_TYPEDEF on the return type.
+       Fixes PR tdep/1623 and PR tdep/1624.
+
+2004-04-24  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * xmodem.h, xmodem.c: Remove files.
+       * Makefile.in: Remove references to xmodem.h, xmodem.c.
+
+2004-04-23  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_stub_unwind_cache, hppa_stub_frame_unwind_cache)
+       (hppa_stub_frame_this_id, hppa_stub_frame_prev_register)
+       (hppa_stub_frame_unwind, hppa_stub_unwind_sniffer): New stub unwinder
+       for handling stackless frames.
+       (hppa_gdbarch_init): Link in hppa_stub_unwind_sniffer. 
+
+2004-04-23  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_frame_cache): Handle the case when frame unwind
+       starts at a pc before the frame is created.
+
+2004-04-23  Joel Brobecker  <brobecker@gnat.com>
+
+       * ChangeLog-2002: Fix year in one of the ChangeLog entries.
+
+2004-04-23  Jerome Guitton  <guitton@gnat.fr>
+
+       * rs6000-tdep.c (rs6000_extract_return_value): When extracting a float,
+       use convert_typed_floating to get the appropriate format.
+
+2004-04-22  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.h (find_unwind_entry, hppa_get_field, hppa_extract_5_load)
+       (hppa_extract_5R_store, hppa_extract_5r_store, hppa_extract_17)
+       (hppa_extract_21, hppa_extract_14, hppa_low_sign_extend)
+       (hppa_sign_extend): Add prototype.
+       * hppa-tdep.c (get_field, extract_5_load, extract_5R_store)
+       (extract_5r_store, extract_17, extract_21, extract_14, low_sign_extend)
+       (sign_extend): Rename with hppa_ prefix and make non-static.  Other
+       hppa targets will also use these functions.
+       (find_unwind_entry): Remove prototype (moved to hppa-tdep.h).
+       (hppa_in_solib_call_trampoline, hppa_in_solib_return_trampoline)
+       (hppa_skip_trampoline_code): Move to hppa-hpux-tdep.c
+       (hppa_gdbarch_init): Remove gdbarch setting of 
+       skip_trampoline_code, in_solib_call_trampoline and
+       in_solib_return_trampoline.
+       * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
+       (hppa64_hpux_in_solib_call_trampoline): New functions, split from
+       hppa_in_solib_call_trampoline.
+       (hppa_hpux_in_solib_return_trampoline, hppa_hpux_skip_trampoline_code):
+       Moved from hppa-tdep.c.
+       (hppa_hpux_init_abi): Set gdbarch for skip_trampoline_code, 
+       in_solib_call_trampoline and in_solib_return_trampoline.
+
+2004-04-22  Randolph Chung  <tausq@debian.org>
+
+       * hppa-tdep.c (hppa_debug): New variable.
+       (find_unwind_entry, hppa_frame_cache): Add debug output.
+       (_initialize_hppa_tdep): Add command to set debug flag.
+
+2004-04-22  Andrew Cagney  <cagney@redhat.com>
+
+       * ppcnbsd-tdep.c: Update copyright.  Include "tramp-frame.h" and
+       "trad-frame.h".
+       (ppcnbsd_sigtramp_cache_init, ppcnbsd_sigtramp): Implement a NetBSD
+       signal trampoline unwinder.
+       (ppcnbsd_init_abi): Register ppcnbsd_sigtramp.
+
+2004-04-22  Mark Kettenis  <kettenis@gnu.org>
+
+       Add OpenBSD/powerpc support.
+       * NEWS (New native configurations): Mention OpenBSD/powerpc.
+       * ppc-tdep.h (struct ppc_reg_offsets): New structure.
+       (ppc_supply_gregset, ppc_supply_fpregset, ppc_collect_gregset)
+       (ppc_collect_fpregset): New prototypes.
+       * ppcobsd-nat.c: New file.
+       * ppcobsd-tdep.c: New file.
+       * ppcobsd-tdep.h: New file.
+       * rs6000-tdep.c: Include "regset.h".
+       (ppc_supply_reg, ppc_collect_reg, ppc_supply_gregset)
+       (ppc_supply_fpregset, ppc_collect_gregset, ppc_collect_fpregset):
+       New functions.
+       * Makefile.in (ALLDEPFILES): Add pccobsd-nat.c and ppcobsd-tdep.c.
+       (ppcobsd-nat.o, ppcobsd-tdep.o): New dependencies.
+       (rs6000-tdep.o): Update dependencies.
+       * configure.host: Add powerpc-*-openbsd.
+       * configure.tgt: Add powerpc-*-openbsd.
+       * config/powerpc/obsd.mh: New file.
+       * config/powerpc/nm-obsd.h: New file.
+       * config/powerpc/obsd.mt: New file.
+
 2004-04-22  Andrew Cagney  <cagney@redhat.com>
 
        * frame.h (show_frame_info): Delete declaration.
        * ppc-linux-nat.c (ppc_register_u_addr): Don't assume that r0 is
        register number zero.
 
+2004-04-21  Michael Snyder  <msnyder@redhat.com>
+
+       * mips-tdep.c (heuristic_proc_start): 
+       Warning() already prefixes "Warning: ".
+
 2004-04-21  Andrew Cagney  <cagney@redhat.com>
 
        * annotate.h (deprecated_annotate_starting_hook)
        variable `funcaddr'.  Fix some coding-standards problems.
 
        * sparc-tdep.c (sparc_regset_from_core_section): Check whether
-       SECT_SIZE is large enough, not wheter it's exactly the right size.
+       SECT_SIZE is large enough, not whether it's exactly the right size.
        (sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
        TDEP->fpregset to zero.
 
This page took 0.027636 seconds and 4 git commands to generate.