<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/gdb-xml, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/gdb-xml?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/gdb-xml?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-08-08T03:34:41Z</updated>
<entry>
<title>Hexagon: lldb read/write predicate registers p0/p1/p2/p3</title>
<updated>2024-08-08T03:34:41Z</updated>
<author>
<name>Taylor Simpson</name>
<email>ltaylorsimpson@gmail.com</email>
</author>
<published>2024-06-13T18:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=523e45ac5b881237bd03934751d44767e5716620'/>
<id>urn:sha1:523e45ac5b881237bd03934751d44767e5716620</id>
<content type='text'>
hexagon-core.xml only exposes register p3_0 which is an alias that
aggregates the predicate registers.  It is more convenient for users
to interact directly with the predicate registers.

Tested with lldb downloaded from this location
https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.4/clang+llvm-18.1.4-x86_64-linux-gnu-ubuntu-18.04.tar.xz

BEFORE:
(lldb) reg read p3_0
    p3_0 = 0x00000000
(lldb) reg read p0
error: Invalid register name 'p0'.
(lldb) reg write p1 0xf
error: Register not found for 'p1'.

AFTER:
(lldb) reg read p3_0
    p3_0 = 0x00000000
(lldb) reg read p0
      p0 = 0x00
(lldb) reg read -s 1
Predicate Registers:
        p0 = 0x00
        p1 = 0x00
        p2 = 0x00
        p3 = 0x00

(lldb) reg write p1 0xf
(lldb) reg read p3_0
    p3_0 = 0x00000f00
(lldb) reg write p3_0 0xff00ff00
(lldb) reg read -s 1
Predicate Registers:
        p0 = 0x00
        p1 = 0xff
        p2 = 0x00
        p3 = 0xff

Signed-off-by: Taylor Simpson &lt;ltaylorsimpson@gmail.com&gt;
Reviewed-by: Brian Cain &lt;bcain@quicinc.com&gt;
Reviewed-by: Matheus Tavares Bernardino &lt;quic_mathbern@quicinc.com&gt;
Message-Id: &lt;20240613182209.140082-1-ltaylorsimpson@gmail.com&gt;
Signed-off-by: Brian Cain &lt;bcain@quicinc.com&gt;
</content>
</entry>
<entry>
<title>target/loongarch/gdbstub: Add vector registers support</title>
<updated>2024-07-19T02:40:04Z</updated>
<author>
<name>Song Gao</name>
<email>gaosong@loongson.cn</email>
</author>
<published>2024-07-11T02:44:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=1c15dd632bf05a1649f8314d103efe47cde32e84'/>
<id>urn:sha1:1c15dd632bf05a1649f8314d103efe47cde32e84</id>
<content type='text'>
GDB already support LoongArch vector extension[1], QEMU gdb adds
LoongArch vector registers support, so that users can use 'info all-registers'
to get all vector registers values.

[1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=1e9569f383a3d5a88ee07d0c2401bd95613c222e

Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewd-by: Bibo Mao &lt;maobibo@loongson.cn&gt;
Message-Id: &lt;20240711024454.3075183-1-gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>gdbstub: Add support for MTE in user mode</title>
<updated>2024-07-05T11:35:33Z</updated>
<author>
<name>Gustavo Romero</name>
<email>gustavo.romero@linaro.org</email>
</author>
<published>2024-07-05T08:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=f81198cefad223afc8e1ae60e9830b60e5f2d6ff'/>
<id>urn:sha1:f81198cefad223afc8e1ae60e9830b60e5f2d6ff</id>
<content type='text'>
This commit implements the stubs to handle the qIsAddressTagged,
qMemTag, and QMemTag GDB packets, allowing all GDB 'memory-tag'
subcommands to work with QEMU gdbstub on aarch64 user mode. It also
implements the get/set functions for the special GDB MTE register
'tag_ctl', used to control the MTE fault type at runtime.

Signed-off-by: Gustavo Romero &lt;gustavo.romero@linaro.org&gt;
Message-Id: &lt;20240628050850.536447-11-gustavo.romero@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20240705084047.857176-40-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>gdb-xml: fix duplicate register in arm-neon.xml</title>
<updated>2023-11-08T15:15:23Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-11-06T18:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=940bb5fa9ca9f71fcc0d06e9de9ac3ab7415d0f2'/>
<id>urn:sha1:940bb5fa9ca9f71fcc0d06e9de9ac3ab7415d0f2</id>
<content type='text'>
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Fixes: 56aebc8916 ("Add GDB XML register description support")
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20231106185112.2755262-3-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Split fcc register to fcc0-7 in gdbstub</title>
<updated>2023-08-24T03:17:59Z</updated>
<author>
<name>Jiajie Chen</name>
<email>c@jia.je</email>
</author>
<published>2023-08-08T05:42:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=17ffe331a923c9015887917b27212ab39ff1d8ea'/>
<id>urn:sha1:17ffe331a923c9015887917b27212ab39ff1d8ea</id>
<content type='text'>
Since GDB 13.1(GDB commit ea3352172), GDB LoongArch changed to use
fcc0-7 instead of fcc register. This commit partially reverts commit
2f149c759 (`target/loongarch: Update gdb_set_fpu() and gdb_get_fpu()`)
to match the behavior of GDB.

Note that it is a breaking change for GDB 13.0 or earlier, but it is
also required for GDB 13.1 or later to work.

Signed-off-by: Jiajie Chen &lt;c@jia.je&gt;
Acked-by: Song Gao &lt;gaosong@loongson.cn&gt;
Message-Id: &lt;20230808054315.3391465-1-c@jia.je&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
</content>
</entry>
<entry>
<title>target/loongarch: Add GDB support for loongarch32 mode</title>
<updated>2023-08-24T03:17:56Z</updated>
<author>
<name>Jiajie Chen</name>
<email>c@jia.je</email>
</author>
<published>2023-08-21T12:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ebda3036e18b84d3e4280f05ac71ad462593e8ac'/>
<id>urn:sha1:ebda3036e18b84d3e4280f05ac71ad462593e8ac</id>
<content type='text'>
GPRs and PC are 32-bit wide in loongarch32 mode.

Signed-off-by: Jiajie Chen &lt;c@jia.je&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Signed-off-by: Song Gao &lt;gaosong@loongson.cn&gt;
Message-ID: &lt;20230817093121.1053890-4-gaosong@loongson.cn&gt;
[PMD: Rebased, set gdb_num_core_regs]
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Message-Id: &lt;20230821125959.28666-9-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>Hexagon (gdbstub): add HVX support</title>
<updated>2023-05-18T19:40:52Z</updated>
<author>
<name>Taylor Simpson</name>
<email>tsimpson@quicinc.com</email>
</author>
<published>2023-05-04T15:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b647652ee5f9bc16a431cc2dbd8525b371b3cb1b'/>
<id>urn:sha1:b647652ee5f9bc16a431cc2dbd8525b371b3cb1b</id>
<content type='text'>
Signed-off-by: Taylor Simpson &lt;tsimpson@quicinc.com&gt;
Co-authored-by: Brian Cain &lt;bcain@quicinc.com&gt;
Signed-off-by: Brian Cain &lt;bcain@quicinc.com&gt;
Co-authored-by: Matheus Tavares Bernardino &lt;quic_mathbern@quicinc.com&gt;
Signed-off-by: Matheus Tavares Bernardino &lt;quic_mathbern@quicinc.com&gt;
Reviewed-by: Brian Cain &lt;bcain@quicinc.com&gt;
Message-Id: &lt;17cb32f34d469f705c3cc066a3583935352ee048.1683214375.git.quic_mathbern@quicinc.com&gt;
</content>
</entry>
<entry>
<title>Hexagon: add core gdbstub xml data for LLDB</title>
<updated>2023-05-18T19:40:52Z</updated>
<author>
<name>Matheus Tavares Bernardino</name>
<email>quic_mathbern@quicinc.com</email>
</author>
<published>2023-05-04T15:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=ab930e80097c8b3472717363435cee8363e55152'/>
<id>urn:sha1:ab930e80097c8b3472717363435cee8363e55152</id>
<content type='text'>
Signed-off-by: Matheus Tavares Bernardino &lt;quic_mathbern@quicinc.com&gt;
Reviewed-by: Taylor Simpson &lt;tsimpson@quicinc.com&gt;
Signed-off-by: Taylor Simpson &lt;tsimpson@quicinc.com&gt;
Message-Id: &lt;d25a3a79334d81f0e1ecfb438b6ee82585d02dc4.1683214375.git.quic_mathbern@quicinc.com&gt;
</content>
</entry>
<entry>
<title>s390x/gdb: Split s390-virt.xml</title>
<updated>2023-04-28T06:05:37Z</updated>
<author>
<name>Ilya Leoshkevich</name>
<email>iii@linux.ibm.com</email>
</author>
<published>2023-03-14T10:18:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8afc43ea631ffe3de889b84028c3ce430047301d'/>
<id>urn:sha1:8afc43ea631ffe3de889b84028c3ce430047301d</id>
<content type='text'>
Both TCG and KVM emulate ckc, cputm, last_break and prefix, and it's
quite useful to have them during debugging. Right now they are grouped
together with KVM-only pp, pfault_token, pfault_select and
pfault_compare in s390-virt.xml, and are not available when debugging
TCG-emulated code.

Move KVM-only registers into the new s390-virt-kvm.xml file. Advertise
s390-virt.xml always, and the new s390-virt-kvm.xml only for KVM.

Signed-off-by: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;
Message-Id: &lt;20230314101813.174874-1-iii@linux.ibm.com&gt;
Acked-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/arm: Report pauth information to gdb as 'pauth_v2'</title>
<updated>2023-04-20T09:21:16Z</updated>
<author>
<name>Peter Maydell</name>
<email>peter.maydell@linaro.org</email>
</author>
<published>2023-04-20T09:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=7bdd67a56036123b52048af45d304a2c926daa8a'/>
<id>urn:sha1:7bdd67a56036123b52048af45d304a2c926daa8a</id>
<content type='text'>
So that we can avoid the "older gdb crashes" problem described in
commit 5787d17a42f7af4 and which caused us to disable reporting pauth
information via the gdbstub, newer gdb is going to implement support
for recognizing the pauth information via a new feature name:
 org.gnu.gdb.aarch64.pauth_v2

Older gdb won't recognize this feature name, so we can re-enable the
pauth support under the new name without risking them crashing.

Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-id: 20230406150827.3322670-1-peter.maydell@linaro.org
</content>
</entry>
</feed>
