Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Markus Teich <markus.teich@stusta.mhn.de>
Cc: gdb@sourceware.org
Subject: Re: unexpected output from print
Date: Wed, 27 Mar 2013 13:31:00 -0000	[thread overview]
Message-ID: <87y5d9hsvp.fsf@fleche.redhat.com> (raw)
In-Reply-To: <5152215D.4060605@stusta.mhn.de> (Markus Teich's message of "Tue,	26 Mar 2013 23:29:49 +0100")

>>>>> "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


      reply	other threads:[~2013-03-27 13:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-23 10:01 Markus Teich
2013-03-26 18:12 ` Tom Tromey
     [not found] ` <m3sj3jvufa.fsf@redhat.com>
2013-03-26 22:30   ` Markus Teich
2013-03-27 13:31     ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5d9hsvp.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=markus.teich@stusta.mhn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox