diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-09-03 12:54:21 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-09-03 12:54:21 +0000 |
commit | 5bc2ed935e6774432692a34f0e2325bbdf57be01 (patch) | |
tree | 2173a7d69b1ae281e47affd0033c258df97cc8a6 /gas | |
parent | 3df5879c313530d0d2b97349c676b69f2f216b95 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/as.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 51384a9..b0763de 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2009-09-03 Tristan Gingold <gingold@adacore.com> + + * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h. + 2009-09-02 Jie Zhang <jie.zhang@analog.com> * config/bfin-parse.y (value_match): Use int instead of long. @@ -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))) |