diff options
author | Nicholas Duffek <nsd@redhat.com> | 2000-02-12 06:08:10 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2000-02-12 06:08:10 +0000 |
commit | f086451a322e1d30422c31ccce766260a9f35c12 (patch) | |
tree | 44ee94908e88b5c23d03af92f76d02fd479bcc25 | |
parent | 6d05b4a653e1eaaa44626f023ff8702fa73d5c2e (diff) | |
download | gdb-f086451a322e1d30422c31ccce766260a9f35c12.zip gdb-f086451a322e1d30422c31ccce766260a9f35c12.tar.gz gdb-f086451a322e1d30422c31ccce766260a9f35c12.tar.bz2 |
* uw-thread.c: Remove __FUNCTION__ GNUism.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/uw-thread.c | 11 |
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) /* |