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


> Date: Tue, 17 Mar 2009 10:17:16 +0800
> From: teawater <teawater@gmail.com>
> Cc: Doug Evans <dje@google.com>, tromey@redhat.com, pedro@codesourcery.com, 
> 	drow@false.org, gdb-patches@sourceware.org
> 
> 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.

OK.  In that case, I suggest the following rewording:

 If AUTO (which is the default), or there's no line info to determine
 the source line of the next instruction, display disassembly of next
 instruction instead.


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