This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Really remove PREPARE_TO_PROCEED this time


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]