From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15711 invoked by alias); 22 Nov 2012 18:50:22 -0000 Received: (qmail 15683 invoked by uid 48); 22 Nov 2012 18:50:21 -0000 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/9310] nexti command does not work when debugging ARM assembly language Date: Thu, 22 Nov 2012 18:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: palves at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.5 X-Bugzilla-Changed-Fields: Status Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2012-q4/txt/msg00304.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9310 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |WAITING --- Comment #4 from Pedro Alves 2012-11-22 18:50:20 UTC --- > "some android app without symbol" I see. "nexti" works by internally: #1 - single-stepping. #2 - gdb's frame unwinder notices a new frame has been entered. #3 - gdb figures out where the function will return to (unwinds the PC), and sets a breakpoint at the return location. #4 - let's the program run until that breakpoint is hit. I'd guess that #3 is failing for you, due to missing unwind/debug info. Try "stepi", and then "up" once. Does the PC point at where you'd expect the bl/blx would return to? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.