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: [RFA] Set the default of disassemble-next-line to off


On Thu, Apr 23, 2009 at 01:11, Eli Zaretskii <eliz@gnu.org> wrote:
>> 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.
>


Everything of this patch is very clear.

+If AUTO (which is the default), display disassembly of next\n\
(which is the default) need move to
++If OFF (which is the default) ,

After updated it, it's OK for me.

btw, I think gdb.texinfo need this patch too.

Thanks,
Hui


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