This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Really remove PREPARE_TO_PROCEED this time
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 19 Jun 2003 11:05:05 -0400
- Subject: Re: RFC: Really remove PREPARE_TO_PROCEED this time
- References: <20030615200855.GA17194@nevyn.them.org>
On Sun, Jun 15, 2003 at 04:08:55PM -0400, Daniel Jacobowitz wrote:
> This patch removes all occurances of PREPARE_TO_PROCEED except for
> generic_prepare_to_proceed, which moves to a static function named
> prepare_to_proceed in infrun.c. We've been over this before; the difference
> is that now the only remaining implementations were default, generic, and
> lin_lwp. I've verified that generic is a superset of lin_lwp, and a safe
> replacement for default, so I think we're ready to remove the gdbarch hook.
>
> Comments, anyone? If not, I plan to check this in later this week based on
> the previous discussions.
Committed.
> 2003-06-15 Daniel Jacobowitz <drow@mvista.com>
>
> * arch-utils.c (default_prepare_to_proceed): Remove.
> (generic_prepare_to_proceed): Remove.
> * arch-utils.h (default_prepare_to_proceed): Remove prototype.
> (generic_prepare_to_proceed): Remove prototype.
> * gdbarch.sh (PREPARE_TO_PROCEED): Remove.
> * gdbarch.c: Regenerate.
> * gdbarch.h: Regenerate.
> * hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype.
> * hppah-nat.c (hppa_switched_threads): Remove.
> * infrun.c (prepare_to_proceed): New static function, copied from
> generic_prepare_to_proceed. Remove select_it argument.
> (proceed): Call prepare_to_proceed.
> * infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove
> variables.
> (ptrace_wait): Don't set the removed variables.
> (hppa_switched_threads): Remove.
> * lin-lwp.c (lin_lwp_prepare_to_proceed): Remove.
> * config/nm-linux.h (PREPARE_TO_PROCEED): Don't define.
> (lin_lwp_prepare_to_proceed): Remove prototype.
> * config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine.
> * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
>
> 2003-06-15 Daniel Jacobowitz <drow@mvista.com>
>
> * gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer