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: [RFC] disassemble-next-line


I think pc address doesn't have line info have 2 reasons:

1.  Compile without -g
2.  Some code doesn't have line info.  for example: plt code, lib code.

On Tue, Mar 17, 2009 at 03:51, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Mon, 16 Mar 2009 12:31:44 -0700
>> From: Doug Evans <dje@google.com>
>> Cc: teawater <teawater@gmail.com>, tromey@redhat.com, pedro@codesourcery.com,
>> ? ? ? ? drow@false.org, gdb-patches@sourceware.org
>>
>> The issue here is that not all pc values have an associated source
>> line, and therefore what does one print in this situation?
>
> Thanks. ?But how can this be? ?Are we talking about code compiled
> without source line info, or about something else?
>


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