summaryrefslogtreecommitdiffstats
path: root/tools/valgrind/xml-loadadr.patch
blob: a398543ba429235033d13e75d1165588eebb652f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: coregrind/m_debuginfo/readmacho.c
===================================================================
--- coregrind/m_debuginfo/readmacho.c	(revision 10771)
+++ coregrind/m_debuginfo/readmacho.c	(working copy)
@@ -680,6 +682,8 @@
    if (VG_(clo_verbosity) > 1)
       VG_(message)(Vg_DebugMsg,
                    "%s (%#lx)\n", di->filename, di->rx_map_avma );
+   if (VG_(clo_xml))
+      VG_(printf_xml)("<load_obj><obj>%s</obj><ip>%#lx</ip></load_obj>\n",  di->filename, di->rx_map_avma);
 
    /* This should be ensured by our caller. */
    vg_assert(di->have_rx_map);