Bug 14976 - ax.c uses CC_HAS_LONG_LONG but nothing defines this
Summary: ax.c uses CC_HAS_LONG_LONG but nothing defines this
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: remote (show other bugs)
Version: unknown
: P2 normal
Target Milestone: 12.1
Assignee: Tom Tromey
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-19 14:39 UTC by Tom Tromey
Modified: 2022-01-07 21:06 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2012-12-19 14:39:27 UTC
ax.c checks:


#if defined (CC_HAS_LONG_LONG) && defined (PRINTF_HAS_LONG_LONG)

As far as I can tell, nothing ever defines CC_HAS_LONG_LONG
or PRINTF_HAS_LONG_LONG in gdbserver.

PRINTF_HAS_LONG_LONG is also used in common/

See also PR 8442.
Comment 1 Sourceware Commits 2022-01-07 21:06:26 UTC
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d5e08e10e9e5e9a8998057544c8c153779aa3f5

commit 8d5e08e10e9e5e9a8998057544c8c153779aa3f5
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri Jan 7 14:00:33 2022 -0700

    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
Comment 2 Tom Tromey 2022-01-07 21:06:51 UTC
Fixed.