summaryrefslogtreecommitdiffstats
path: root/loc2c.c
diff options
context:
space:
mode:
authorfche <fche>2005-09-14 18:14:07 +0000
committerfche <fche>2005-09-14 18:14:07 +0000
commit6d7ba95b9675f0df6c3bf43ccb316ecab5e94980 (patch)
tree36d1d2f9e998ae1eab3d467bfccbc39693761f53 /loc2c.c
parentb65817177f8210e33d82777d0e12d97b863d286d (diff)
downloadsystemtap-steved-6d7ba95b9675f0df6c3bf43ccb316ecab5e94980.tar.gz
systemtap-steved-6d7ba95b9675f0df6c3bf43ccb316ecab5e94980.tar.xz
systemtap-steved-6d7ba95b9675f0df6c3bf43ccb316ecab5e94980.zip
2005-09-14 Frank Ch. Eigler <fche@elastic.org>
PR 1257 * Makefile.am (AM_CFLAGS): Add -fexceptions. * loc2c.c (c_translate_location): Invoke *fail properly. * Makefile.in: Regenerated.
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 a6b4d8da..70d3cca8 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -978,13 +978,13 @@ c_translate_location (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) (fail_arg, N_("dwarf_addrloclists (form %#x): %s"),
+ dwarf_whatform (fb_attr), dwarf_errmsg (-1));
return NULL;
case 0: /* Shouldn't happen. */
inaccessible:
- FAIL (*input, N_("not accessible at this address"));
+ (*fail) (fail_arg, N_("not accessible at this address"));
return NULL;
}