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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils