Is there an option to "silent-step"/ "silent-next" (possibly in python and/or mi)?

Tom Tromey tom@tromey.com
Sun Feb 12 14:46:52 GMT 2023


Philippe> As a (not very clean) bypass, you might do something like:
Philippe>  alias silent-next = | next | grep -e some_regexp_to_see what_you_are_interested_in
Philippe> and if you want to see nothing:
Philippe>  alias silent-next = | next | cat > /dev/null

I'm not completely sure but I think some of the inferior-control
commands work in a way that circumvents this.  At least, IIRC, there's a
bug open about not being able to capture this output using
gdb.execute(to_string=True).

Tom


More information about the Gdb mailing list