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: [PATCH]: Remove "xbreak" and "txbreak" to hppa target code.


> 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


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