From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8918 invoked by alias); 22 Sep 2014 09:12:47 -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 8890 invoked by uid 48); 22 Sep 2014 09:12:44 -0000 From: "martin at minimum dot se" To: gdb-prs@sourceware.org Subject: [Bug gdb/17384] android arm gdb "Cannot access memory at address" when I "stepi" over "blx" Date: Mon, 22 Sep 2014 09:12: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-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: martin at minimum dot se 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: 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/msg00720.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17384 --- Comment #21 from molsson --- If I run with a breakpoint on frame_unwind_find_by_frame() as I step of the "blx" instruction, I see this happening: It doesn't exit early when checking "target_get_unwinder" and "target_get_tailcall_unwinder", instead it goes into the "unwinders loop"; these unwinders seem to be: $1 = { type = DUMMY_FRAME, stop_reason = 0x68dfa1 , this_id = 0x4f6e66 , prev_register = 0x4f6db9 , unwind_data = 0x0, sniffer = 0x4f6c83 , dealloc_cache = 0x0, prev_arch = 0x0 } $2 = { type = INLINE_FRAME, stop_reason = 0x68dfa1 , this_id = 0x6905f2 , prev_register = 0x69075d , unwind_data = 0x0, sniffer = 0x690783 , dealloc_cache = 0x0, prev_arch = 0x0 } $3 = { type = NORMAL_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802db0, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $4 = { type = NORMAL_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802d50, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $5 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802cf0, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $6 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802c90, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $7 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802c30, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $8 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802bd0, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $9 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802b70, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $10 = { type = SIGTRAMP_FRAME, stop_reason = 0x68dfa1 , this_id = 0x69ea4e , prev_register = 0x69ea8e , unwind_data = 0x1802ae0, sniffer = 0x69ec2f , dealloc_cache = 0x0, prev_arch = 0x0 } $11 = { type = NORMAL_FRAME, stop_reason = 0x68dfa1 , this_id = 0x410457 , prev_register = 0x40e2e1 , unwind_data = 0x0, sniffer = 0x4104e8 , dealloc_cache = 0x0, prev_arch = 0x0 } $12 = { type = TAILCALL_FRAME, stop_reason = 0x68dfa1 , this_id = 0x61f731 , prev_register = 0x61fa95 , unwind_data = 0x0, sniffer = 0x61fb29 , dealloc_cache = 0x61fe9c , prev_arch = 0x61fec2 } $13 = { type = NORMAL_FRAME, stop_reason = 0x61c7fd , this_id = 0x61c84f , prev_register = 0x61c925 , unwind_data = 0x0, sniffer = 0x61cde1 , dealloc_cache = 0x61cd90 , prev_arch = 0x0 } $14 = { type = SIGTRAMP_FRAME, stop_reason = 0x61c7fd , this_id = 0x61c84f , prev_register = 0x61c925 , unwind_data = 0x0, sniffer = 0x61cde1 , dealloc_cache = 0x0, prev_arch = 0x0 } $15 = { type = NORMAL_FRAME, stop_reason = 0x68dfa1 , this_id = 0x40e204 , prev_register = 0x40e2e1 , unwind_data = 0x0, sniffer = 0x410197 , dealloc_cache = 0x0, prev_arch = 0x0 } This last unwinder (labelled $15 above) is the first one where I hit the "return;" part of the loop and thereby exit frame_unwind_find_by_frame(). -- You are receiving this mail because: You are on the CC list for the bug.