bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/17037] New: gdb doesn't recognize s390 instruction CIT


From: code.kchoi at gmail dot com
Subject: [Bug gas/17037] New: gdb doesn't recognize s390 instruction CIT
Date: Sat, 07 Jun 2014 02:47:24 +0000

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

            Bug ID: 17037
           Summary: gdb doesn't recognize s390 instruction CIT
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: code.kchoi at gmail dot com

on zLinux, s390 instruction CIT is assembled into [.long 0xEC'R'0 'IIII'
'M'027] where R is target reg [0-F], I is immediate [0-2^4), and M is mask.
However, layout asm mode parses this instruction as 4 byte long when it is 6
byte. All subsequent instructions are therefore parsed incorrectly.

example

0x400656 .long 0xEC100000
0x40065a sth %r7,2418(%r2,%r11)  //bogus, should parse from 0x40065c

(gdb) p/x *0x40065a
$1 = 0x4072b972   //0x4072 is from .long

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]