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

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Simon" == Simon Sobisch via Gdb <[email protected]> writes:

Simon> For "stepping in the current source" (given a mixed-source) I look for
Simon> a way to "silent step" / "silent next".
Simon> This will be useful for example if you debug within Bison and/or Flex
Simon> generated sources and don't want to step through the state / token
Simon> machine, having only the Bison / Flex _source_ be visible.

Simon> Getting the source name from the frame and comparing this after a
Simon> step/next is no big problem in GDB using python
Simon>    gdb.selected_frame().find_sal().symtab.fullname()

Simon> Using GDB in TUI mode I commonly "stay" in the source I'm interested
Simon> in this way, but the GDB command line gets "flooded" with all the
Simon> intermediate frame positions I'm not interested in.

Simon> So: is there a way to do a "step"/"next" with suppressing the normal
Simon> output and mi stop events normally send?

I don't think there is right now.  I think suppressing output during
these kinds of commands is a known issue, but nobody has looked into
what would be needed to fix it.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.