This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore
- From: Tom Tromey <tromey at redhat dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 10 Dec 2008 19:28:01 -0000
- Subject: Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore
- Reply-to: Tom Tromey <tromey at redhat dot com>
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