[Bug gdb/18069] New: arm-tdep.c:7457: bad if test ?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18069] New: arm-tdep.c:7457: bad if test ?

maiku.fabian at gmail dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18069] arm-tdep.c:7457: bad if test ?

maiku.fabian at gmail dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18069] arm-tdep.c:7457: bad if test ?

maiku.fabian at gmail dot com
In reply to this post by maiku.fabian at gmail dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18069] arm-tdep.c:7457: bad if test ?

maiku.fabian at gmail dot com
In reply to this post by maiku.fabian at gmail dot com
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.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18069] arm-tdep.c:7457: bad if test ?

maiku.fabian at gmail dot com
In reply to this post by maiku.fabian at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18069

dcb <dcb314 at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msnyder at redhat dot com

--- Comment #3 from dcb <dcb314 at hotmail dot com> ---
Last one still looks broken, a few years later.

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