This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Set the default of disassemble-next-line to off
> Date: Wed, 22 Apr 2009 14:42:36 +0800
> From: Hui Zhu <teawater@gmail.com>
> Cc: Joel Brobecker <brobecker@adacore.com>, Eli Zaretskii <eliz@gnu.org>,
> "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
>
> On Tue, Apr 21, 2009 at 02:16, Tom Tromey <tromey@redhat.com> wrote:
> >>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:
> >
> > Hui> -If AUTO (which is the default), or there's no line info to determine\n\
> > Hui> +If AUTO, or there's no line info to determine\n\
> > Hui> ?the source line of the next instruction, display disassembly of next\n\
> > Hui> ?instruction instead."),
> >
> > It seems to me that this should read:
> >
> > ? ?If AUTO, and there's no line info to determine [...]
>
> If auto:
> if this is no line info, it will output the next instruction.
> if this is line inof, it will output nothing.
>
> If on:
> if this is no line info, it will output the next instruction.
> if this is line inof, it will display disassembly of the next source
> line whenexecution of the program being debugged stops.
>
> If off,
> it will output nothing.
>
>
> I have no idea to write it clear.
> Could you please help me with it?
I already suggested a change in the doc string, see
http://sourceware.org/ml/gdb-patches/2009-04/msg00416.html
I didn't see any responses. If the text I suggest there is clear, I
will fix the manual as well.