From: Tom Tromey <tromey@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb@sourceware.org
Subject: Re: "set foo"
Date: Mon, 26 Apr 2010 16:24:00 -0000 [thread overview]
Message-ID: <m339yip4hu.fsf@fleche.redhat.com> (raw)
In-Reply-To: <83sk6jzhzv.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 25 Apr 2010 18:09:24 +0300")
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> The specific use-case is that GDB does not recognize a certain struct;
Eli> for example, "ptype struct foo_t" says "No struct type named foo_t".
Eli> But if I type "set foo", where `foo' is a function whose code uses
Eli> that struct, GDB magically recognizes the struct afterwards.
FWIW, this sounds like a gdb bug to me.
I looked at emacs/src/.gdbinit and it seems to me that the types and
variables in question are global (in the sense of, not local to a
function). So, they should be found without this trick.
Tom
next prev parent reply other threads:[~2010-04-26 16:24 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 20:52 Eli Zaretskii
2010-04-24 21:21 ` Joel Brobecker
2010-04-25 13:40 ` Eli Zaretskii
2010-04-25 14:43 ` Joel Brobecker
2010-04-25 15:10 ` Eli Zaretskii
2010-04-26 16:24 ` Tom Tromey [this message]
2010-04-26 17:45 ` Eli Zaretskii
2010-04-26 17:51 ` Paul Koning
2010-04-26 19:46 ` Tom Tromey
2010-04-26 20:17 ` Eli Zaretskii
2010-04-27 3:11 ` Tom Tromey
2010-04-27 17:04 ` Eli Zaretskii
2010-04-27 17:25 ` Tom Tromey
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=m339yip4hu.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.org \
/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