set print null-stop

Joel Brobecker
Sun Jan 23 18:32:00 GMT 2011

> By the way, after executing "set print null-stop" in MI mode
> -data-evaluate-expression also start to work well, though I understand
> it's not a good idea to mix MI and not-MI commands 

I think that the recommended way of doing this would be to use
the -interpreter-exec command.  For instance, the following should
work (I'm not a GDB/MI expert):

        -interpreter-exec console "set print null-stop"


More information about the Gdb mailing list