This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug server/17296] New: gdb can't print neon register correctly on aarch64
- From: "ashi08104 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 21 Aug 2014 05:58:00 +0000
- Subject: [Bug server/17296] New: gdb can't print neon register correctly on aarch64
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17296
Bug ID: 17296
Summary: gdb can't print neon register correctly on aarch64
Product: gdb
Version: 7.8
Status: NEW
Severity: critical
Priority: P2
Component: server
Assignee: unassigned at sourceware dot org
Reporter: ashi08104 at gmail dot com
Created attachment 7753
--> https://sourceware.org/bugzilla/attachment.cgi?id=7753&action=edit
neon example
Hi, there:
When debugging code on aarch64, I find gdb can't print neon register correctly.
I've a simple example attached:
#define SIZE 8
int main(void)
{
char arr[SIZE] = {0, 1, 2, 3, 4, 5, 6, 7};
asm volatile("ld1 {v0.8b}, [%0], 8"::"r"(arr):"v0", "memory");
}
after running the 'ld1' instruction, the v0.8b value in gdb is:
s = {4, 5, 6, 7, 0 <repeats 12 times>}
While the true value should be:
s = {0, 1, 2, 3, 4, 5, 6, 7}
--
You are receiving this mail because:
You are on the CC list for the bug.