This is the mail archive of the gdb-patches@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: [patch] Better display command-line macros + doc addon [Re: [patch] doc: Document macros defined from command-line]


> Date: Mon, 9 Mar 2009 01:14:22 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org, Joel Brobecker <brobecker@adacore.com>
> 
> On Sat, 07 Mar 2009 10:16:10 +0100, Eli Zaretskii wrote:
> >   . Tell about the way of defining macros before describing what GDB
> >     does in that case.
> >   . Don't qualify the -Dfoo=bar feature by "Unix", since on non-Unix
> >     platforms GDB supports only GCC-produced debug info.
> >   . Use @var for meta-syntactic variables that stand for something
> >     else.
> 
> Understood, used your text.
> 
> 
> > > +Defined at /home/jimb/gdb/macros/play/sample.c:0
> > > +#define __STDC__ 1
> > 
> > Should we perhaps show "-D__STDC__=1" here?
> 
> Good idea, a code patch attached.
> 
> 
> > Also, perhaps add a short notice of this feature at the beginning of
> > the section, where "info macro" is described.
> 
> Made there the change.

Thank you.


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