From: Pedro Alves <pedro@codesourcery.com>
To: Matt Rice <ratmice@gmail.com>
Cc: gdb-patches@sourceware.org, Doug Evans <dje@google.com>
Subject: Re: Rename "info definitions"?
Date: Thu, 29 Sep 2011 13:28:00 -0000 [thread overview]
Message-ID: <201109291426.19579.pedro@codesourcery.com> (raw)
In-Reply-To: <CACTLOFpx_Lv=2gQgGjLm+QpZ+4B6=cHr=5VGj61ZnMjMKZEWrg@mail.gmail.com>
On Thursday 29 September 2011 13:33:37, Matt Rice wrote:
> On Thu, Sep 29, 2011 at 3:54 AM, Pedro Alves <pedro@codesourcery.com> wrote:
> > On Thursday 29 September 2011 03:13:58, Matt Rice wrote:
> >> +info macro [-all] [--] MACRO
> >> + The info macro command has new options -all and --. The first or printing
> >> + all definitions of a macro. The second for explicitly specifying the end
> >> + of arguments and the beginning of the macro name.
> >
> > Why do we need [--]? MACROS can't start with `-', can they?
>
> not in cpp macros or m4 at least,
> lisp/scheme macros allow them i'm not sure what else may,
Ah, I now see you've put comments in that direction in the code.
Sorry I missed them before.
> I don't think any of the languages gdb currently supports allow it,
> but not positive
I'm not sure scheme macros would be a good fit for gdb's
(C/preprocessor) macros infrastructure.
> I figured someone would complain but at least there'd be a patch in
> the archives...
:-) Given that it's optional, I don't care that much. Fine with
me to put it in.
We could just add it back if we ever find a need though.
If a language needing it for macros would require adding more
such switches to other commands.
--
Pedro Alves
next prev parent reply other threads:[~2011-09-29 13:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-21 19:34 Doug Evans
2011-09-21 20:28 ` Matt Rice
2011-09-23 17:38 ` Doug Evans
2011-09-29 2:16 ` Matt Rice
2011-09-29 7:20 ` Eli Zaretskii
2011-09-29 10:55 ` Pedro Alves
2011-09-29 12:41 ` Matt Rice
2011-09-29 13:28 ` Pedro Alves [this message]
2011-09-29 13:37 ` Pedro Alves
2011-09-29 13:56 ` Matt Rice
2011-09-29 14:01 ` Pedro Alves
2011-10-03 21:18 ` Matt Rice
2011-10-04 16:51 ` Tom Tromey
2011-10-05 0:31 ` Matt Rice
2011-10-14 20:23 ` Tom Tromey
2011-11-12 17:03 ` Matt Rice
2011-11-12 17:09 ` Matt Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201109291426.19579.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=ratmice@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox