diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7b9d4da9ef8..b74d3f32579 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2002-12-18 Jason Merrill + + * src/vterminate.cc (__verbose_terminate_handler): Send + diagnostics to stderr. + 2002-12-18 Ulrich Weigand * 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 26e09d17b57..6e285751702 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);