From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9187 invoked by alias); 10 Dec 2008 19:28:02 -0000 Received: (qmail 9169 invoked by uid 71); 10 Dec 2008 19:28:01 -0000 Date: Wed, 10 Dec 2008 19:28:00 -0000 Message-ID: <20081210192801.9168.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Tom Tromey Subject: Re: macros/2564: 'p siginfo->si_addr' doesn't work anymore Reply-To: Tom Tromey Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2008-q4/txt/msg00074.txt.bz2 The following reply was made to PR macros/2564; it has been noted by GNATS. From: Tom Tromey 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