This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [Fwd: Yet another patch to gdb.texinfo]
- To: dima at Chg dot RU
- Subject: Re: [Fwd: Yet another patch to gdb.texinfo]
- From: Stan Shebs <shebs at shebs dot cnchost dot com>
- Date: Fri, 17 Mar 2000 16:52:52 -0800
- CC: gdb-patches at sourceware dot cygnus dot com
- References: <38CEFA08.FC2D40B@apple.com>
- Reply-To: shebs at shebs dot cnchost dot com
> Subject: Yet another patch to gdb.texinfo
> Date: Tue, 14 Mar 2000 22:30:19 +0300 (MSK)
> From: Dmitry Sivachenko <dima@Chg.RU>
> To: gdb-patches@sourceware.cygnus.com
>
> I think this is better way to add new entry into dir-file:
>
> Please apply this patch.
OK, I just committed the last four manual patches en masse, though
with some additional tweaks. In particular, I clarified the bit
about string constants, since they *can* have single quotes; don't
even need an escape char, and double quotes just need a backslash.
In short, GDB follows the usual rules of C.
Also, in reference to a previous discussion, I reviewed the texinfo
manual and indeed @samp{} is recommended when displaying command
arguments, options, etc. Sometimes it does look a little weird,
such as for an example GDB string - it comes out as `"abc"'. But
that's the price of consistency.
Stan