[patch] remove GCC-ism from uw-thread.c
Robert Lipe
robertl@sco.com
Sat Apr 1 00:00:00 GMT 2000
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)
More information about the Gdb-patches
mailing list