Macro code crasher on re-run

Andrew Cagney cagney@gnu.org
Mon Nov 3 22:01:00 GMT 2003


> 
> I haven't debugged it (only Daniel J. has seen the problem, as far as
> I know), but I kind of suspect this change:
> 
> 2003-10-22  Andrew Cagney  <cagney@redhat.com>
> 
> 	* target.c (target_close): New function.
> 	(debug_to_close): Use "target_close".
> 	(push_target): Use "target_close".
> 	(unpush_target): Use "target_close".
> 	(pop_target): Use "target_close".
> 	* target.h (struct target_ops): Add "to_xclose".
> 	(target_open): Delete macro.  Move comment to "to_open".
> 	(target_close): Replace macro with function that takes a target.
> 	* top.c (quit_target): Pass "current_target" to "target_close".

That's unlikely.  The change re-aranged deck chairs.

Andrew




More information about the Gdb mailing list