This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: stabs.texinfo update for macro define/undefine
- From: Jim Blandy <jimb at codesourcery dot com>
- To: David Taylor <dtaylor at emc dot com>
- Cc: gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>
- Date: Tue, 31 Oct 2006 15:23:29 -0800
- Subject: Re: stabs.texinfo update for macro define/undefine
- References: <200610251931.k9PJVRDO011265@mailhub.lss.emc.com> <ud58guoa6.fsf@gnu.org> <200610302225.k9UMPLZ9001050@mailhub.lss.emc.com>
It's clear from the example, but it would be nice if the text
explicitly explained how function-like macro arguments appear in the
N_MAC_DEFINE stabs. It also should explain how the following are
distinguished:
#define foo x
#define foo() x
With the latter #definition, 'foo' followed by something other than an
opening parenthesis isn't replaced.