(using a fake 'one address' stack trace).
This a.o. can be used with the gdbsrv 'monitor v.info location 0x.....'
to compare gdb and valgrind address to source mapping.
Any tool that use pub_tool_addrinfo.h will also better descrive
text addresses.
No impact on tests, as there is no test testing 'segment' address
description :(
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14192
VG_(pp_SectKind)(ai->Addr.SectKind.kind),
ai->Addr.SectKind.objname,
xpost );
+ if (ai->Addr.SectKind.kind == Vg_SectText) {
+ /* To better describe the address in a text segment,
+ pp a dummy stacktrace made of this single address. */
+ VG_(pp_StackTrace)( &a, 1 );
+ }
break;
default: