aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-09-03 12:54:21 +0000
committerTristan Gingold <gingold@adacore.com>2009-09-03 12:54:21 +0000
commit5bc2ed935e6774432692a34f0e2325bbdf57be01 (patch)
tree2173a7d69b1ae281e47affd0033c258df97cc8a6 /gas/as.h
parent3df5879c313530d0d2b97349c676b69f2f216b95 (diff)
downloadgdb-5bc2ed935e6774432692a34f0e2325bbdf57be01.zip
gdb-5bc2ed935e6774432692a34f0e2325bbdf57be01.tar.gz
gdb-5bc2ed935e6774432692a34f0e2325bbdf57be01.tar.bz2
2009-09-03 Tristan Gingold <gingold@adacore.com>
* as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index 9494cd4..7366121 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -106,7 +106,7 @@ typedef int * va_list;
#undef NDEBUG
#endif
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
-#define __PRETTY_FUNCTION__ ((char*)0)
+#define __PRETTY_FUNCTION__ ((char *) NULL)
#endif
#define gas_assert(P) \
((void) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))