public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, Subject: Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore Date: Wed, 10 Dec 2008 19:28:00 -0000 [thread overview] Message-ID: <20081210192801.9168.qmail@sourceware.org> (raw) The following reply was made to PR macros/2564; it has been noted by GNATS. From: Tom Tromey <tromey@redhat.com> To: gdb-gnats@sources.redhat.com, nobody@sources.redhat.com, pedro@codesourcery.com, gdb-prs@sources.redhat.com Cc: Subject: Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore Date: Wed, 10 Dec 2008 12:22:34 -0700 I tried with a recent gdb (updated just now) and I couldn't reproduce: (gdb) p siginfo.si_addr $1 = (void *) 0x0 (gdb) p siginfo_p.si_addr $2 = (void *) 0x0 (gdb) p siginfo->si_addr $3 = (void *) 0x0 (gdb) p siginfo_p->si_addr $4 = (void *) 0x0 I used gcc 4.4 for this. gdb did not seem to understand the macro info emitted by the Fedora 9 system gcc :( Right now I don't have a theory to explain why it works me but not for you. It doesn't seem like it could be a compiler difference, since "info macro" works for you. Tom
next reply other threads:[~2008-12-10 19:28 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-12-10 19:28 Tom Tromey [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-12-11 18:31 tromey 2008-12-11 1:14 tromey 2008-12-10 21:18 Pedro Alves 2008-12-10 16:58 Pedro Alves 2008-12-10 15:48 pedro
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=20081210192801.9168.qmail@sourceware.org \ --to=tromey@redhat.com \ --cc=gdb-prs@sources.redhat.com \ --cc=nobody@sources.redhat.com \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).