diff options
author | Tom Tromey <tromey@adacore.com> | 2022-01-07 14:00:33 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-01-07 14:00:33 -0700 |
commit | 8d5e08e10e9e5e9a8998057544c8c153779aa3f5 (patch) | |
tree | 350905c20f1d1d8a2eebe58627c3009edc29a628 /gdbserver | |
parent | d50964864b7caf0dbde0915c0c8ada3aea48ef7a (diff) | |
download | gdb-8d5e08e10e9e5e9a8998057544c8c153779aa3f5.zip gdb-8d5e08e10e9e5e9a8998057544c8c153779aa3f5.tar.gz gdb-8d5e08e10e9e5e9a8998057544c8c153779aa3f5.tar.bz2 |
Do not use CC_HAS_LONG_LONG
ax.cc checks CC_HAS_LONG_LONG, but nothing defines this. However,
PRINTF_HAS_LONG_LONG is checked in configure. This patch removes the
former and keeps the latter. This is PR remote/14976 (filed by me in
2012, lol).
I'm checking this in.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=14976
Diffstat (limited to 'gdbserver')
-rw-r--r-- | gdbserver/ax.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbserver/ax.cc b/gdbserver/ax.cc index f0c624c..d2d0033 100644 --- a/gdbserver/ax.cc +++ b/gdbserver/ax.cc @@ -878,7 +878,7 @@ ax_printf (CORE_ADDR fn, CORE_ADDR chan, const char *format, break; case long_long_arg: -#if defined (CC_HAS_LONG_LONG) && defined (PRINTF_HAS_LONG_LONG) +#if defined (PRINTF_HAS_LONG_LONG) { long long val = args[i]; |