[PUSHED/OBVIOUS] Remove gdb-gdb.gdb breakpoint on disappeared function info_command.

Philippe Waroquiers philippe.waroquiers@skynet.be
Sun May 3 18:33:52 GMT 2020


On Sun, 2020-05-03 at 11:17 -0600, Tom Tromey wrote:
> > > > > > "Maciej" == Maciej W Rozycki <macro@linux-mips.org> writes:
> 
> Maciej>  Its use was quite obvious to anyone who actually debugged GDB from time 
> Maciej> to time:
> 
> What was the point of the "return"?
As I understand, the idea of "info"/"i" was just to have the top-gdb
regaining control.  The return avoids the (long) output of "info"

> 
> Maciej>  So what's the current mechanism to do that?  I do hope to have it the 
> Maciej> next time I poke at GDB.
> 
> You can break in "do_prefix_cmd".
But that will break on all commands showing a list, not only on "info".

Philippe




More information about the Gdb-patches mailing list