public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18118] New: bfd/elf32-nds32.c:11972: bad if expression ?
@ 2015-03-12 11:11 dcb314 at hotmail dot com
  2023-04-05 14:44 ` [Bug gdb/18118] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2015-03-12 11:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18118

            Bug ID: 18118
           Summary: bfd/elf32-nds32.c:11972: bad if expression ?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com

[binutils-gdb/bfd/elf32-nds32.c:11972]: (style) Expression '(X & 0x8000) ==
0x1' is always false.

     || (sec->flags & SEC_EXCLUDE) == 1


$ fgrep SEC_EXCLUDE `find binutils-gdb/bfd -name \*.h -print` | fgrep define
binutils-gdb/bfd/bfd-in2.h:#define SEC_EXCLUDE 0x8000
binutils-gdb/bfd/bfd.h:#define SEC_EXCLUDE 0x8000
binutils-gdb/bfd/bfd-in3.h:#define SEC_EXCLUDE 0x8000
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug gdb/18118] bfd/elf32-nds32.c:11972: bad if expression ?
  2015-03-12 11:11 [Bug gdb/18118] New: bfd/elf32-nds32.c:11972: bad if expression ? dcb314 at hotmail dot com
@ 2023-04-05 14:44 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2023-04-05 14:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=18118

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This code no longer appears, I think it was changed to "!= 0" at some point.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-05 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 11:11 [Bug gdb/18118] New: bfd/elf32-nds32.c:11972: bad if expression ? dcb314 at hotmail dot com
2023-04-05 14:44 ` [Bug gdb/18118] " tromey at sourceware dot org

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).