public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* V3 PATCH to __verbose_terminate_handler
@ 2002-12-18  8:31 Jason Merrill
  2002-12-18  8:43 ` Gabriel Dos Reis
  0 siblings, 1 reply; 15+ messages in thread
From: Jason Merrill @ 2002-12-18  8:31 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

The other printfs in this function were changed earlier.

2002-12-18  Jason Merrill  <jason@redhat.com>

	* src/vterminate.cc (__verbose_terminate_handler): Send
	diagnostics to stderr.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 754 bytes --]

*** libstdc++-v3/src/vterminate.cc.~1~	2002-12-18 11:23:35.000000000 -0500
--- libstdc++-v3/src/vterminate.cc	2002-09-13 10:23:31.000000000 -0400
*************** namespace __gnu_cxx
*** 55,65 ****
  	  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);
  
  	  if (status == 0)
  	    free(dem);
--- 55,64 ----
  	  int status = -1;
  	  char *dem = 0;
  	  
  	  dem = __cxa_demangle(name, 0, 0, &status);
  
! 	  fprintf(stderr, "terminate called after throwing a `%s'\n", 
! 		  status == 0 ? dem : name);
  
  	  if (status == 0)
  	    free(dem);

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-12-20  8:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-18  8:31 V3 PATCH to __verbose_terminate_handler Jason Merrill
2002-12-18  8:43 ` Gabriel Dos Reis
2002-12-18 11:24   ` Jason Merrill
2002-12-19  2:20     ` Gabriel Dos Reis
2002-12-19  7:52       ` Phil Edwards
2002-12-19  8:29         ` Gabriel Dos Reis
2002-12-19  8:48           ` Theodore Papadopoulo
2002-12-19  9:06             ` Gabriel Dos Reis
2002-12-19  9:15               ` Theodore Papadopoulo
2002-12-19  9:44                 ` Jason Merrill
2002-12-20  0:46                 ` Gabriel Dos Reis
2002-12-19 11:38             ` Phil Edwards
2002-12-19 11:44               ` Jason Merrill
2002-12-19 11:53               ` Phil Edwards
2002-12-20  0:45                 ` Gabriel Dos Reis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).