summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--loc2c.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3164cd36..c5543e03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-27 Frank Ch. Eigler <fche@elastic.org>
+
+ * loc2c.c (location_from_address): Tolerate errors with NULL *input.
+
2005-11-26 Roland McGrath <roland@redhat.com>
PR 1868.
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;
}