2002-11-18 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 29eb8e576bd37d391cc7b2c89d5b3173f0abfaee..f9231cf61f408a2f08af009850f6fa6130a5f566 100644 (file)
@@ -1,3 +1,167 @@
+2002-11-18  Andrew Cagney  <ac131313@redhat.com>
+
+       * frame.h (enum frame_type): Define.
+       (get_frame_type): Declare.
+       (struct frame_info): Add field `type'.  Delete field
+       signal_handler_caller.
+       (deprecated_set_frame_signal_handler_caller): Declare.
+       * frame.c (get_frame_type): New function.
+       (deprecated_set_frame_type): New function.
+       (create_new_frame): Set the frame's type.
+       (get_prev_frame): Similar.
+       * sparc-tdep.c: Use get_frame_type instead of signal_handler_caller.
+       * s390-tdep.c: Ditto.
+       * m68klinux-nat.c: Ditto.
+       * ns32k-tdep.c: Ditto.
+       * x86-64-linux-tdep.c: Ditto.
+       * vax-tdep.c: Ditto.
+       * rs6000-tdep.c: Ditto.
+       * ppc-linux-tdep.c: Ditto.
+       * i386-interix-tdep.c: Ditto.
+       * mips-tdep.c: Ditto.
+       * m68k-tdep.c: Ditto.
+       * hppa-tdep.c: Ditto.
+       * ia64-tdep.c: Ditto.
+       * cris-tdep.c: Ditto.
+       * arm-tdep.c: Ditto.
+       * alpha-tdep.c: Ditto.
+       * i386-tdep.c: Ditto.
+       * stack.c: Ditto.
+       * ada-lang.c: Ditto.
+       * blockframe.c: Update.
+       * i386-interix-tdep.c (i386_interix_back_one_frame): Use
+       deprecated_set_frame_type instead of signal_handler_caller.
+       * ppc-linux-tdep.c (ppc_linux_init_extra_frame_info): Ditto.
+       * rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
+       * breakpoint.h: Delete FIXME suggesting get_frame_type.
+
+2002-11-18   Klee Dienes  <kdienes@apple.com>
+
+       * Makefile.in (buildsym.o): Add dependency for gdb_assert.h.
+
+2002-11-18  Klee Dienes  <kdienes@apple.com>
+
+       * buildsym.c (pop_context): Add comment.
+       
+2002-11-18  Klee Dienes  <kdienes@apple.com>
+
+        * buildsym.h (pop_context): Convert to function, defined in
+       buildsym.c.
+       * buildsym.c: Include gdb_assert.h.
+       (pop_context): Implement as C function.  Add check for stack
+       underflow.
+        * dbxread.c (process_one_symbol): Complain and stop processing
+       that symbol if we are already at the top of the context stack for
+       a function-end N_FUN (this would imply an umatched RBRAC).  Ditto
+       when processing N_RBRAC.
+
+2002-11-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_INFERIOR_BY_CLONE): Don't
+       define.
+       (struct target_waitstatus): Add opaque definition.
+       * corelow.c (init_core_ops): Don't set to_clone_and_follow_inferior.
+       * exec.c (init_exec_ops): Likewise.
+       * fork-child.c (clone_and_follow_inferior): Remove.
+       * hppah-nat.c (child_post_follow_inferior_by_clone): Remove.
+       * inferior.h (clone_and_follow_inferior): Remove prototype.
+       * infrun.c (follow_fork_mode_both): Remove.
+       (follow_fork_mode_kind_names): Remove commented out "both".
+       (follow_inferior_fork): Remove follow_fork_mode_both support.
+       * inftarg.c (child_clone_and_follow_inferior): Remove.
+       (child_post_follow_inferior_by_clone): Remove.
+       (init_child_ops): Don't set to_clone_and_follow_inferior
+       or to_post_follow_inferior_by_clone.
+       * target.c (default_clone_and_follow_inferior): Remove.
+       (cleanup_target): Don't set to_clone_and_follow_inferior
+       or to_post_follow_inferior_by_clone.
+       (find_default_clone_and_follow_inferior): Remove.
+       (init_dummy_target): Don't set to_clone_and_follow_inferior.
+       (debug_to_clone_and_follow_inferior): Remove.
+       (debug_to_post_follow_inferior_by_clone): Remove.
+       (setup_target_debug): Don't set to_clone_and_follow_inferior
+       or to_post_follow_inferior_by_clone.
+       * target.h (struct target_ops): Remove to_clone_and_follow_inferior
+       and to_post_follow_inferior_by_clone.
+       (child_clone_and_follow_inferior): Remove prototype.
+       (child_post_follow_inferior_by_clone): Remove prototype.
+       (target_clone_and_follow_inferior): Remove macro.
+       (target_post_follow_inferior_by_clone): Remove macro.
+       (find_default_clone_and_follow_inferior): Remove prototype.
+
+2002-11-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * breakpoint.c (bpstat_stop_status): Call inferior_has_forked,
+       inferior_has_vforked, and inferior_has_execd instead of
+       target_has_forked, target_has_vforked, and target_has_execd.
+       * config/pa/nm-hppah.h (CHILD_HAS_FORKED, CHILD_HAS_VFORKED)
+       (CHILD_HAS_EXECD, CHILD_HAS_SYSCALL_EVENT): Don't define.
+       (CHILD_WAIT): Define.
+       (child_wait): Add prototype.
+       * hppah-nat.c (hpux_has_forked): Rename from child_has_forked.
+       Add prototype.
+       (hpux_has_vforked): Likewise, from child_has_vforked.
+       (hpux_has_execd): Likewise, from child_has_execd.
+       (hpux_has_syscall_event): Likewise, from child_has_syscall_event.
+       (not_same_real_pid, child_wait): New, copied from inftarg.c.
+       Call hpux_has_forked, hpux_has_vforked, hpux_has_execd,
+       and hpux_has_syscall_event instead of the target hooks.
+       * infrun.c (inferior_has_forked, inferior_has_vforked)
+       (inferior_has_execd): New functions.
+       * inftarg.c (not_same_real_pid): Remove.
+       (child_wait): Remove references to not_same_real_pid,
+       target_has_forked, target_has_vforked, target_has_execd,
+       and target_has_syscall_event.
+       (child_has_forked, child_has_vforked, child_has_execd)
+       (child_has_syscall_event): Remove.
+       (init_child_ops): Remove references to child_has_forked,
+       child_has_vforked, child_has_execd, and child_has_syscall_event.
+       * infttrace.c (hpux_has_forked): Rename from child_has_forked.
+       (hpux_has_vforked): Likewise, from child_has_vforked.
+       (hpux_has_execd): Likewise, from child_has_execd.
+       (hpux_has_syscall_event): Likewise, from child_has_syscall_event.
+       * target.c (cleanup_target): Remove references to
+       to_has_forked, to_has_vforked, to_has_execd, and
+       to_has_syscall_event.
+       (update_current_target): Likewise.
+       (setup_target_debug): Likewise.
+       (debug_to_has_forked): Remove.
+       (debug_to_has_vforked): Remove.
+       (debug_to_has_execd): Remove.
+       (debug_to_has_syscall_event): Remove.
+       * target.h (struct target_ops): Remove to_has_forked.
+       to_has_vforked, to_has_execd, and to_has_syscall_event.
+       (child_has_forked, child_has_vforked, child_has_execd)
+       (child_has_syscall_event): Remove prototypes.
+       (inferior_has_forked, inferior_has_vforked, inferior_has_execd): Add
+       prototypes.
+       (target_has_forked, target_has_vforked, target_has_execd)
+       (target_has_syscall_event): Remove macros.
+
+2002-11-16  Daniel Jacobowitz  <drow@mvista.com>
+
+       * hppah-nat.c (child_can_follow_vfork_prior_to_exec): Remove.
+       * inftarg.c (child_can_follow_vfork_prior_to_exec): Remove.
+       (init_child_ops): Don't initialize to_can_follow_vfork_prior_to_exec.
+       * infttrace.c (child_can_follow_vfork_prior_to_exec): Remove.
+       * target.c (cleanup_target): Remove reference to
+       to_can_follow_vfork_prior_to_exec.
+       (update_current_target): Likewise.
+       (debug_to_can_follow_vfork_prior_to_exec): Remove.
+       (setup_target_debug): Remove reference to
+       to_can_follow_vfork_prior_to_exec.
+       * target.h (struct target_ops): Remove
+       to_can_follow_vfork_prior_to_exec.
+       (child_can_follow_vfork_prior_to_exec): Remove prototype.
+       (target_can_follow_vfork_prior_to_exec): Remove definition.
+       * config/pa/nm-hppah.h (CHILD_CAN_FOLLOW_VFORK_PRIOR_TO_EXEC): Don't
+       define.
+       * infrun.c (follow_vfork_when_exec): Remove.
+       (follow_inferior_fork): Remove references to follow_vfork_when_exec.
+       (follow_exec): Likewise.
+       (handle_inferior_event): Likewise.
+       (keep_going): Likewise.
+
 2002-11-15  Andrew Cagney  <cagney@redhat.com>
 
        * frame.c (generic_unwind_get_saved_register): Make static.
This page took 0.03823 seconds and 4 git commands to generate.