gdb/s390: Correct recording of "store on condition" insns
authorAndreas Arnez <arnez@linux.ibm.com>
Thu, 19 Nov 2020 18:10:58 +0000 (19:10 +0100)
committerAndreas Arnez <arnez@linux.ibm.com>
Thu, 19 Nov 2020 18:10:58 +0000 (19:10 +0100)
commitd5ef21c3ecf2d7a97272bf5a5881f4e71289a1af
tree2c15844b5883b0c893bc232375a51268781958ed
parenta4eba6087d4cec81f8b41477b4da56ff87b88e91
gdb/s390: Correct recording of "store on condition" insns

The "store on condition" instructions STOC, STOCG, and STOCFH are recorded
as if their instruction formats resembled that of STG.  This is wrong,
usually resulting in "failed to record execution log" errors when trying
to record code with any of these instructions.

This patch fixes the recording of these instructions.

gdb/ChangeLog:

PR tdep/26916
* s390-tdep.c (s390_process_record): Fix recording of STOC, STOCG,
and STOCFH.
gdb/ChangeLog
gdb/s390-tdep.c