d6db1fabcc
* s390-nat.c (SUBOFF): Remove. (s390_native_supply, s390_native_collect): New functions. (supply_gregset, supply_fpregset): Use s390_native_supply. (fill_gregset, fill_fpregset): Use s390_native_collect. * s390-tdep.c (s390_pseudo_register_reggroup_p): Update comment. (s390_unwind_pseudo_register): New function. (s390_prologue_frame_unwind_cache): Unwind PSW address and mask registers instead of PC and CC. (s390_backchain_frame_unwind_cache): Likewise. (s390_sigtramp_frame_unwind_cache): Do not unwind PC, CC, or full GPR pseudos. (s390_trad_frame_prev_register): New function. (s390_frame_prev_register): Use it. (s390_sigtramp_frame_prev_register): Likewise. (s390_dwarf2_prev_register): Use s390_unwind_pseudo_register. (s390_dwarf2_frame_init_reg): Unwind PSW address and mask. Use special callback to unwind any pseudo. * features/s390-core32.xml: Add pswm/pswa to save/restore group. * features/s390-core64.xml: Likewise. * features/s390x-core64.xml: Likewise. * features/s390-linux32.c: Regenerate. * features/s390-linux64.c: Likewise. * features/s390x-linux64.c: Likewise. gdbserver/ChangeLog: * linux-s390-low.c (s390_collect_ptrace_register): Fully convert PSW address/mask between 8-byte and 16-byte formats. (s390_supply_ptrace_register): Likewise. (s390_get_pc, s390_set_pc): 4-byte PSW address always includes basic addressing mode bit.
28 lines
1.5 KiB
XML
28 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
<!-- Copyright (C) 2010, 2011 Free Software Foundation, Inc.
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
are permitted in any medium without royalty provided the copyright
|
|
notice and this notice are preserved. -->
|
|
|
|
<!DOCTYPE feature SYSTEM "gdb-target.dtd">
|
|
<feature name="org.gnu.gdb.s390.core">
|
|
<reg name="pswm" bitsize="32" type="uint32" group="psw"/>
|
|
<reg name="pswa" bitsize="32" type="uint32" group="psw"/>
|
|
<reg name="r0" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r1" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r2" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r3" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r4" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r5" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r6" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r7" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r8" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r9" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r10" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r11" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r12" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r13" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r14" bitsize="32" type="uint32" group="general"/>
|
|
<reg name="r15" bitsize="32" type="uint32" group="general"/>
|
|
</feature>
|