diff options
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/src/vterminate.cc | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7b9d4da..b74d3f3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-12-18 Jason Merrill <jason@redhat.com> + + * src/vterminate.cc (__verbose_terminate_handler): Send + diagnostics to stderr. + 2002-12-18 Ulrich Weigand <uweigand@de.ibm.com> * configure.in: Define with_target_subdir and with_build_subdir diff --git a/libstdc++-v3/src/vterminate.cc b/libstdc++-v3/src/vterminate.cc index 26e09d1..6e28575 100644 --- a/libstdc++-v3/src/vterminate.cc +++ b/libstdc++-v3/src/vterminate.cc @@ -55,11 +55,10 @@ namespace __gnu_cxx int status = -1; char *dem = 0; - // Disabled until __cxa_demangle gets the runtime GPL exception. dem = __cxa_demangle(name, 0, 0, &status); - printf("terminate called after throwing a `%s'\n", - status == 0 ? dem : name); + fprintf(stderr, "terminate called after throwing a `%s'\n", + status == 0 ? dem : name); if (status == 0) free(dem); |
