This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug macros/9748] macros containing __extension__ won't run
- From: "drow at false dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 15 Jan 2009 21:40:25 -0000
- Subject: [Bug macros/9748] macros containing __extension__ won't run
- References: <20090115210626.9748.rearnsha@gcc.gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drow at false dot org 2009-01-15 21:40 -------
Subject: Re: macros containing __extension__ won't run
On Thu, Jan 15, 2009 at 09:30:06PM -0000, pedro at codesourcery dot com wrote:
> I current gdb mainline, you could try defining __extension__ to empty:
>
> (gdb) macro define __extension__
>
> ("macro define" was stubbed in yearlier versions of gdb, it
> has only recently been implemented)
>
> I guess you'd need to do the same for __FILE__, __LINE__, etc, but I
> think you'll trip on __typeof.
Also on statement expressions, which is what the __extension__ marker
is for in the first place :-)
I don't think statement expressions are likely to be implemented in
GDB. It currently has only a C expression parser, with no support for
statements etc.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9748
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.