[rfc 6/8] record disas: omit function names by default

Eli Zaretskii eliz@gnu.org
Fri Feb 15 19:05:00 GMT 2013


> Date: Fri, 15 Feb 2013 19:32:56 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: markus.t.metzger@intel.com, gdb-patches@sourceware.org,
>         markus.t.metzger@gmail.com
> 
> It is a "backtrace" into history, not into upper frames.
> 	(gdb) record backtrace 
> 	_IO_vsnprintf
> 	_IO_vfprintf_internal
> 	strchrnul
> 	_IO_vfprintf_internal
> 	__GI__IO_default_xsputn
> You can see _IO_vfprintf_internal called strchrnul which then returned back to
> _IO_vfprintf_internal.  This is not a real "backtrace".
> 
> I was already considering renaming the command as the term is a bit overloaded
> in the debugger context.
> 
> Maybe "record list-functions"?

How about "record trace-functions"?



More information about the Gdb-patches mailing list