This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]