This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[patch] remove GCC-ism from uw-thread.c
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [patch] remove GCC-ism from uw-thread.c
- From: Robert Lipe <robertl at sco dot com>
- Date: Thu, 3 Feb 2000 14:31:48 -0600
- References: <200002032029.OAA11853@rjlhome.sco.com>
It was pointed out that my earlier patch at
http://sourceware.cygnus.com/ml/gdb-patches/2000-q1/msg00027.html
could result in unsightly errors.
Plase consider this instead.
2000-02-03 Robert Lipe <robertl@sco.com>
* uw-thread.c (CALL_BASE); Remove use of GCC-specific __FUNCTION__.
Index: uw-thread.c
===================================================================
RCS file: /cvs/gdb/gdb/gdb/uw-thread.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 uw-thread.c
--- uw-thread.c 2000/01/18 00:54:24 1.1.1.1
+++ uw-thread.c 2000/02/03 20:26:00
@@ -155,7 +155,7 @@ do { \
#define CALL_BASE(call) \
do { \
if (!lwp_infpid ()) \
- error ("uw-thread: "__FUNCTION__": no lwp"); \
+ error ("uw-thread: no lwp"); \
CALL_BASE_1 (call); \
} while (0)