MI usage inside a user-defined commands

Daniel Jacobowitz drow@false.org
Wed Jul 6 21:28:00 GMT 2005


On Thu, Jul 07, 2005 at 09:26:42AM +1200, Nick Roberts wrote:
> What does seem wrong is that MI no longer works properly with queries:
> 
> (gdb) 
> -interpreter-exec console "b asdf"
> &"Function \"asdf\" not defined.\n"
> ~"Breakpoint 2 (asdf) pending.\n"
> ^done
> (gdb) 
> 
> The user should be asked:
> 
> Make breakpoint pending on future shared library load? (y or [n])

Yes, that does seem like a bug - but how would you perform the query?

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb mailing list