This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: Remove "xbreak" and "txbreak" to hppa target code.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Michael Snyder <msnyder at cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 31 Jan 2002 21:40:45 -0500
- Subject: Re: [PATCH]: Remove "xbreak" and "txbreak" to hppa target code.
- References: <200202010202.g11223D00634@reddwarf.cygnus.com>
> 2002-01-31 Michael Snyder <msnyder@redhat.com>
>
> * breakpoint.c (break_at_finish_command): Export.
> (break_at_finish_at_depth_command): Export.
> (tbreak_at_finish_command): Export.
> (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands.
> * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and
> "tbreak" commands, which are HPPA specific.
>
Michael, can I suggest also deprecating it vis:
deprecate_cmd (c, NULL);
where C is the xbreak command handle returned by add_cmd(). I think
we're going to need to completely delete it so we should flag this now.
Consider a GDB with support for both PA an m68k - it would end up with
the xbreak command :-(
Andrew