public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug server/17296] New: gdb can't print neon register correctly on aarch64
@ 2014-08-21  5:58 ashi08104 at gmail dot com
  2014-08-21  7:00 ` [Bug server/17296] " ashi08104 at gmail dot com
  2015-10-13 20:51 ` jmgao at google dot com
  0 siblings, 2 replies; 3+ messages in thread
From: ashi08104 at gmail dot com @ 2014-08-21  5:58 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-13 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21  5:58 [Bug server/17296] New: gdb can't print neon register correctly on aarch64 ashi08104 at gmail dot com
2014-08-21  7:00 ` [Bug server/17296] " ashi08104 at gmail dot com
2015-10-13 20:51 ` jmgao at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).