public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] Do not use CC_HAS_LONG_LONG
@ 2022-01-07 21:06 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2022-01-07 21:06 UTC (permalink / raw)
  To: gdb-patches; +Cc: Tom Tromey

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,
 	    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];
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-07 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 21:06 [pushed] Do not use CC_HAS_LONG_LONG Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).