From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19533 invoked by alias); 18 Aug 2014 12:14:37 -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 19503 invoked by uid 48); 18 Aug 2014 12:14:37 -0000 From: "akiss at inf dot u-szeged.hu" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/17280] breakpoint problem on aarch64 (in qemu full-system emulation): SIGTRAP/SIGSEGV in debugged program Date: Mon, 18 Aug 2014 12:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akiss at inf dot u-szeged.hu X-Bugzilla-Status: RESOLVED 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_status resolution Message-ID: In-Reply-To: References: 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/msg00283.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17280 Akos Kiss changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Akos Kiss --- All problems turned out to be caused by qemu limitations: - The pc being off by 4 was an incorrect implementation of the BRK instruction. - All the remaining issues were caused by qemu not implementing support for single-stepping. http://lists.nongnu.org/archive/html/qemu-devel/2014-08/msg02909.html With the patches from the qemu-devel mailing list applied, even the ubuntu-packaged gdb works correctly. -- You are receiving this mail because: You are on the CC list for the bug.