From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10247 invoked by alias); 21 Aug 2014 05:58:05 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 10205 invoked by uid 48); 21 Aug 2014 05:58:03 -0000 From: "ashi08104 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug server/17296] New: gdb can't print neon register correctly on aarch64 Date: Thu, 21 Aug 2014 05:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: ashi08104 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00303.txt.bz2 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 } 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.