[pushed] Do not use CC_HAS_LONG_LONG

Message ID 20220107210616.182335-1-tromey@adacore.com
State New
Headers show
  • [pushed] Do not use CC_HAS_LONG_LONG
Related show

Commit Message

Simon Marchi via Gdb-patches Jan. 7, 2022, 9:06 p.m.
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
 gdbserver/ax.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/gdbserver/ax.cc b/gdbserver/ax.cc
index f0c624c97df..d2d003377e0 100644
--- a/gdbserver/ax.cc
+++ b/gdbserver/ax.cc
@@ -878,7 +878,7 @@  ax_printf (CORE_ADDR fn, CORE_ADDR chan, const char *format,
 	  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];