Re: [RFC] disassemble-next-line

Doug Evans
2009-03-16T19:32:05Z

On Mon, Mar 16, 2009 at 12:20 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Mon, 16 Mar 2009 14:51:51 +0800
>> From: teawater <teawater@gmail.com>
>> Cc: tromey@redhat.com, dje@google.com, pedro@codesourcery.com, drow@false.org,
>> gdb-patches@sourceware.org
>>
>> I had make the patches for code and doc.
>> Please help me review it.
>
> Thanks. Everything is OK, except that you didn't answer my question:
>
>> >> +If AUTO (which is the default) or the next source line cannot be\n\
>> >> +ascertained, the next instruction will be disassembled instead."),
>> >
>> > What does it mean ``the next source line cannot be ascertained''?
>
> I asked that question because I cannot understand the last sentence,
> which uses this phrase. Please help me understand what you mean.
>

The issue here is that not all pc values have an associated source
line, and therefore what does one print in this situation?

Whatever you suggest for how to communicate this to the user is fine
with me (fwiw of course).