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: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> I am against just omitting compilation directory, if something should be
Jan> omitted I am more for really printing just the basename.

Ok.

Jan> I have some idea in display with debug info to use:
Jan> #3  0x00000034c72428ad in libglib-2.0.so.0:g_main_context_iteration (context=0x1149980, may_block=1) at gmain.c:2843

There is already a PR open with this as a feature request.
I think it would be a good addition.

Jan> So that one can copy-paste it for less-ambiguous (currently not yet implemented):
Jan> (gdb) break libglib-2.0.so.0:g_main_context_iteration
Jan> (gdb) list libglib-2.0.so.0:g_main_context_iteration

Yeah, nice.

Tom


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