unexpected output from print

Tom Tromey tromey@redhat.com
Wed Mar 27 13:31:00 GMT 2013


>>>>> "Markus" == Markus Teich <markus.teich@stusta.mhn.de> writes:

Markus> @Tom: I am already using the machine interface, but unfortunately the
Markus> functions for symbol querying are not implemented in gdbmi (the C
Markus> library), therefore i parse the output of -data-evaluate-expression
Markus> manually.

You can create a temporary varobj for this.
Or maybe I am misunderstanding.

Markus> Since gdbmi is not developed actively anymore: Is there a better way to
Markus> use the gdb machine interface from a C program?

Enhancements are made from time to time.  You can speed this along by
writing them yourself... :-)
There's also Python, for some things.

Tom



More information about the Gdb mailing list