Revision 5b50e790 target-s390x/gdbstub.c
b/target-s390x/gdbstub.c | ||
---|---|---|
17 | 17 |
* You should have received a copy of the GNU Lesser General Public |
18 | 18 |
* License along with this library; if not, see <http://www.gnu.org/licenses/>. |
19 | 19 |
*/ |
20 |
#include "config.h" |
|
21 |
#include "qemu-common.h" |
|
22 |
#include "exec/gdbstub.h" |
|
23 |
#include "qemu/bitops.h" |
|
20 | 24 |
|
21 |
static int cpu_gdb_read_register(CPUS390XState *env, uint8_t *mem_buf, int n)
|
|
25 |
int s390_cpu_gdb_read_register(CPUState *cs, uint8_t *mem_buf, int n)
|
|
22 | 26 |
{ |
27 |
S390CPU *cpu = S390_CPU(cs); |
|
28 |
CPUS390XState *env = &cpu->env; |
|
23 | 29 |
uint64_t val; |
24 | 30 |
int cc_op; |
25 | 31 |
|
... | ... | |
43 | 49 |
return 0; |
44 | 50 |
} |
45 | 51 |
|
46 |
static int cpu_gdb_write_register(CPUS390XState *env, uint8_t *mem_buf, int n)
|
|
52 |
int s390_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n)
|
|
47 | 53 |
{ |
54 |
S390CPU *cpu = S390_CPU(cs); |
|
55 |
CPUS390XState *env = &cpu->env; |
|
48 | 56 |
target_ulong tmpl; |
49 | 57 |
uint32_t tmp32; |
50 | 58 |
int r = 8; |
Also available in: Unified diff