|
From: Madhu M. K. <mm...@ya...> - 2005-05-24 09:50:10
|
Fairly elaborate code path that allows this to happen. Probably unlikely or
not possible at all.
--- valgrind.orig/coregrind/vg_dwarf.c 2005-05-21 00:31:58.000000000 -0700
+++ valgrind/coregrind/vg_dwarf.c 2005-05-21 00:57:28.000000000 -0700
@@ -418,7 +418,7 @@
if (state_machine_regs.is_stmt) {
/* only add a statement if there was a previous boundary */
- if (state_machine_regs.last_address)
+ if (state_machine_regs.last_address && fnames )
VG_(addLineInfo) (si,
fnames[state_machine_regs.last_file],
si->offset +
state_machine_regs.last_address,
si->offset +
state_machine_regs.address,
Cheerio,
M
Madhu M Kurup /* Nemo Me Impune Lacessit */ mmk at yahoo-inc dt com
|