aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorNicholas Duffek <nsd@redhat.com>2000-02-12 06:08:10 +0000
committerNicholas Duffek <nsd@redhat.com>2000-02-12 06:08:10 +0000
commitf086451a322e1d30422c31ccce766260a9f35c12 (patch)
tree44ee94908e88b5c23d03af92f76d02fd479bcc25 /gdb
parent6d05b4a653e1eaaa44626f023ff8702fa73d5c2e (diff)
downloadgdb-f086451a322e1d30422c31ccce766260a9f35c12.zip
gdb-f086451a322e1d30422c31ccce766260a9f35c12.tar.gz
gdb-f086451a322e1d30422c31ccce766260a9f35c12.tar.bz2
* uw-thread.c: Remove __FUNCTION__ GNUism.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/uw-thread.c11
2 files changed, 10 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dcf212f..69893c2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
+
+ * uw-thread.c: Remove __FUNCTION__ GNUism.
+
2000-01-17 Amit S. Kale <akale@veritas.com>
* elfread.c (elf_symtab_read): Use offset for the section in which a
diff --git a/gdb/uw-thread.c b/gdb/uw-thread.c
index 91d6638..07f4ac6 100644
--- a/gdb/uw-thread.c
+++ b/gdb/uw-thread.c
@@ -2,6 +2,7 @@
GDB, the GNU debugger.
Copyright 1999, 2000 Free Software Foundation, Inc.
+ Written by Nick Duffek <nsd@cygnus.com>.
This file is part of GDB.
@@ -152,11 +153,11 @@ do { \
*
* Otherwise, issue an error message and return nonlocally.
*/
-#define CALL_BASE(call) \
-do { \
- if (!lwp_infpid ()) \
- error ("uw-thread: "__FUNCTION__": no lwp"); \
- CALL_BASE_1 (call); \
+#define CALL_BASE(call) \
+do { \
+ if (!lwp_infpid ()) \
+ error ("uw-thread: no lwp"); \
+ CALL_BASE_1 (call); \
} while (0)
/*