Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 12:11:01 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 60194 for review
Message-ID:  <200408211211.i7LCB1Ks073168@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=60194

Change 60194 by davidxu@davidxu_alona on 2004/08/21 12:11:01

	report error to gdb_stderr device.

Affected files ...

.. //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#25 edit

Differences ...

==== //depot/projects/davidxu_ksedbg/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c#25 (text+ko) ====

@@ -436,7 +436,7 @@
 {
   int err = td_thr_dbsuspend_p (th_p);
   if (err != 0)
-	printf_filtered("%s %s\n", __func__, thread_db_err_str (err));
+	fprintf_filtered(gdb_stderr, "%s %s\n", __func__, thread_db_err_str (err));
   return (err);
 }
 
@@ -445,7 +445,7 @@
 {
   int err = td_thr_dbresume_p (th_p);
   if (err != 0)
-	printf_filtered("%s %s\n", __func__, thread_db_err_str (err));
+	fprintf_filtered(gdb_stderr, "%s %s\n", __func__, thread_db_err_str (err));
   return (err);
 }
 


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408211211.i7LCB1Ks073168>