summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
authorfche <fche>2005-11-28 01:16:03 +0000
committerfche <fche>2005-11-28 01:16:03 +0000
commit2b3d9bba3d969ceed60ecf61a999ce856c8a6e49 (patch)
treeaf3411cd5dee77164aea7ad89aa4ce138b1e99d2 /loc2c.c
parent018d224dd75bbf0c5c487463565c434e3bb64dff (diff)
downloadsystemtap-steved-2b3d9bba3d969ceed60ecf61a999ce856c8a6e49.tar.gz
systemtap-steved-2b3d9bba3d969ceed60ecf61a999ce856c8a6e49.tar.xz
systemtap-steved-2b3d9bba3d969ceed60ecf61a999ce856c8a6e49.zip
2005-11-27 Frank Ch. Eigler <fche@elastic.org>
* loc2c.c (location_from_address): Tolerate errors with NULL *input.
Diffstat (limited to 'loc2c.c')
-rw-r--r--loc2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loc2c.c b/loc2c.c
index ec97f36e..3b6b28a2 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -579,13 +579,13 @@ location_from_address (struct obstack *pool,
default: /* Shouldn't happen. */
case -1:
- FAIL (*input, N_("dwarf_addrloclists (form %#x): %s"),
- dwarf_whatform (fb_attr), dwarf_errmsg (-1));
+ FAIL (loc, N_("dwarf_addrloclists (form %#x): %s"),
+ dwarf_whatform(fb_attr), dwarf_errmsg (-1));
return NULL;
case 0: /* Shouldn't happen. */
fb_inaccessible:
- FAIL (*input, N_("DW_AT_frame_base not accessible at this address"));
+ FAIL (loc, N_("DW_AT_frame_base not accessible at this address"));
return NULL;
}