public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ?
@ 2015-03-02 15:30 dcb314 at hotmail dot com
  2015-03-04 16:16 ` [Bug gdb/18069] " qiyao at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2015-03-02 15:30 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18069
           Summary: arm-tdep.c:7457: bad if test ?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com

gdb/arm-tdep.c:7457]: (style) Expression '(X & 0xe) == 0x1' is always false.

  else if (op1 == 0x10 && op2 == 0x0 && (rn & 0xe) == 0x1)

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


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

* [Bug gdb/18069] arm-tdep.c:7457: bad if test ?
  2015-03-02 15:30 [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ? dcb314 at hotmail dot com
@ 2015-03-04 16:16 ` qiyao at gcc dot gnu.org
  2015-03-12 11:11 ` dcb314 at hotmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: qiyao at gcc dot gnu.org @ 2015-03-04 16:16 UTC (permalink / raw)
  To: gdb-prs

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

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org

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


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

* [Bug gdb/18069] arm-tdep.c:7457: bad if test ?
  2015-03-02 15:30 [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ? dcb314 at hotmail dot com
  2015-03-04 16:16 ` [Bug gdb/18069] " qiyao at gcc dot gnu.org
@ 2015-03-12 11:11 ` dcb314 at hotmail dot com
  2015-07-15 12:36 ` dcb314 at hotmail dot com
  2022-04-08  2:06 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ 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=18069

--- Comment #1 from dcb <dcb314 at hotmail dot com> ---
More of the same, further down in the same file:

[binutils-gdb/gdb/arm-tdep.c:12308]: (style) Expression is always false because
'else if' condition matches previous condition at line 12300.

 else if (opc1 == 0x0b)

 else if (opc1 == 0x0b)

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


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

* [Bug gdb/18069] arm-tdep.c:7457: bad if test ?
  2015-03-02 15:30 [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ? dcb314 at hotmail dot com
  2015-03-04 16:16 ` [Bug gdb/18069] " qiyao at gcc dot gnu.org
  2015-03-12 11:11 ` dcb314 at hotmail dot com
@ 2015-07-15 12:36 ` dcb314 at hotmail dot com
  2022-04-08  2:06 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2015-07-15 12:36 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from dcb <dcb314 at hotmail dot com> ---

Some more in the same file:

[src/gdb/arm-tdep.c:989]: (style) Expression '(X & 0xffb0) == 0xe950' is always
false.

   else if ((insn & 0xffb0) == 0xe950    /* ldrd Rt, Rt2,
                           [Rn, #+/-imm] */

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


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

* [Bug gdb/18069] arm-tdep.c:7457: bad if test ?
  2015-03-02 15:30 [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ? dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2015-07-15 12:36 ` dcb314 at hotmail dot com
@ 2022-04-08  2:06 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2022-04-08  2:06 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

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

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I think we fixed all of these, and the relevant warning is
enabled in development builds.

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

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

end of thread, other threads:[~2022-04-08  2:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 15:30 [Bug gdb/18069] New: arm-tdep.c:7457: bad if test ? dcb314 at hotmail dot com
2015-03-04 16:16 ` [Bug gdb/18069] " qiyao at gcc dot gnu.org
2015-03-12 11:11 ` dcb314 at hotmail dot com
2015-07-15 12:36 ` dcb314 at hotmail dot com
2022-04-08  2:06 ` 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).