diff options
author | fche <fche> | 2005-09-14 18:14:07 +0000 |
---|---|---|
committer | fche <fche> | 2005-09-14 18:14:07 +0000 |
commit | 6d7ba95b9675f0df6c3bf43ccb316ecab5e94980 (patch) | |
tree | 36d1d2f9e998ae1eab3d467bfccbc39693761f53 | |
parent | b65817177f8210e33d82777d0e12d97b863d286d (diff) | |
download | systemtap-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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | loc2c.c | 6 |
4 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,10 @@ +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. + 2005-09-13 Graydon Hoare <graydon@redhat.com> PR 1260 diff --git a/Makefile.am b/Makefile.am index 7d38c1eb..e793a6b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,7 +4,7 @@ AM_CPPFLAGS = -DPKGLIBDIR='"${libexecdir}/${PACKAGE}"' \ -DPKGDATADIR='"${pkgdatadir}"' -AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE \ +AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -fexceptions \ -Wall -Werror -Wshadow -Wunused -Wformat=2 -W AM_CXXFLAGS = -Wall diff --git a/Makefile.in b/Makefile.in index 01aad421..fa5aa0e2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -194,7 +194,7 @@ target_alias = @target_alias@ AM_CPPFLAGS = -DPKGLIBDIR='"${libexecdir}/${PACKAGE}"' \ -DPKGDATADIR='"${pkgdatadir}"' -AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE \ +AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE -fexceptions \ -Wall -Werror -Wshadow -Wunused -Wformat=2 -W AM_CXXFLAGS = -Wall @@ -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; } |