diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-09-12 11:28:23 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-10-13 10:05:51 -0700 |
commit | ac2fb86a0ed40095ddd1044e638fc36ee5295256 (patch) | |
tree | 1991fc3c06c2936891e779a3a6b7d03834bf84ec /gdb-xml | |
parent | e7a4427aecfda9a73936966f356c59b988e68427 (diff) | |
download | qemu-ac2fb86a0ed40095ddd1044e638fc36ee5295256.zip qemu-ac2fb86a0ed40095ddd1044e638fc36ee5295256.tar.gz qemu-ac2fb86a0ed40095ddd1044e638fc36ee5295256.tar.bz2 |
target/i386/gdbstub: Expose orig_ax
Copy XML files describing orig_ax from GDB and glue them with
CPUX86State.orig_ax.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240912093012.402366-5-iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'gdb-xml')
-rw-r--r-- | gdb-xml/i386-32bit-linux.xml | 11 | ||||
-rw-r--r-- | gdb-xml/i386-64bit-linux.xml | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/gdb-xml/i386-32bit-linux.xml b/gdb-xml/i386-32bit-linux.xml new file mode 100644 index 0000000..5ffe561 --- /dev/null +++ b/gdb-xml/i386-32bit-linux.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2010-2024 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.i386.linux"> + <reg name="orig_eax" bitsize="32" type="int"/> +</feature> diff --git a/gdb-xml/i386-64bit-linux.xml b/gdb-xml/i386-64bit-linux.xml new file mode 100644 index 0000000..0f26990 --- /dev/null +++ b/gdb-xml/i386-64bit-linux.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<!-- Copyright (C) 2010-2024 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.i386.linux"> + <reg name="orig_rax" bitsize="64" type="int"/> +</feature> |