From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15695 invoked by alias); 16 Sep 2014 13:41:43 -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 15666 invoked by uid 48); 16 Sep 2014 13:41:41 -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: Tue, 16 Sep 2014 13:41: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/msg00609.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17384 --- Comment #4 from molsson --- You're right, there was infact 5 calls to memory_error() during the relevant "stepi" and it was only after I "continue" past the 5th one that the error is printed. The bt to that last memory_error() call is: #0 read_memory (memaddr=1, myaddr=0x7ffff71ed760 , len=4) at corefile.c:247 #1 0x000000000060a81e in read_memory_integer (memaddr=1, len=4, byte_order=BFD_ENDIAN_LITTLE) at corefile.c:357 #2 0x000000000060a774 in do_captured_read_memory_integer (data=0x7ffff71ed850) at corefile.c:322 #3 0x0000000000564fae in catch_errors (func=0x60a72d , func_args=0x7ffff71ed850, errstring=0x848451 "", mask=RETURN_MASK_ALL) at exceptions.c:237 #4 0x000000000060a7cb in safe_read_memory_integer (memaddr=1, len=4, byte_order=BFD_ENDIAN_LITTLE, return_value=0x7ffff71ed8d0) at corefile.c:343 #5 0x000000000040e07c in arm_scan_prologue (this_frame=0x301f6c90, cache=0x301f6d50) at arm-tdep.c:1996 #6 0x000000000040e141 in arm_make_prologue_cache (this_frame=0x301f6c90) at arm-tdep.c:2022 #7 0x000000000040e230 in arm_prologue_this_id (this_frame=0x301f6c90, this_cache=0x301f6ca8, this_id=0x301f6cf0) at arm-tdep.c:2052 #8 0x00000000006870ce in compute_frame_id (fi=0x301f6c90) at frame.c:459 #9 0x0000000000689b2e in get_prev_frame_if_no_cycle (this_frame=0x301f6300) at frame.c:1781 #10 0x000000000068a1c5 in get_prev_frame_always_1 (this_frame=0x301f6300) at frame.c:1955 #11 0x000000000068a215 in get_prev_frame_always (this_frame=0x301f6300) at frame.c:1972 #12 0x000000000068728f in frame_unwind_caller_id (next_frame=0x301f6300) at frame.c:500 #13 0x0000000000553be1 in process_event_stop_test (ecs=0x7ffff71ee0e0) at infrun.c:4738 #14 0x0000000000553016 in handle_signal_stop (ecs=0x7ffff71ee0e0) at infrun.c:4304 #15 0x0000000000552041 in handle_inferior_event (ecs=0x7ffff71ee0e0) at infrun.c:3797 #16 0x000000000055051d in fetch_inferior_event (client_data=0x0) at infrun.c:2899 #17 0x0000000000572a6e in inferior_event_handler (event_type=INF_REG_EVENT, client_data=0x0) at inf-loop.c:58 #18 0x000000000044e435 in remote_async_serial_handler (scb=0x1d2c610, context=0x1c46b90) at remote.c:11586 #19 0x0000000000436aba in run_async_handler_and_reschedule (scb=0x1d2c610) at ser-base.c:137 #20 0x0000000000436b8a in fd_event (error=0, context=0x1d2c610) at ser-base.c:182 #21 0x000000000057086f in handle_file_event (data=...) at event-loop.c:763 #22 0x000000000056fd44 in process_event () at event-loop.c:340 #23 0x000000000056fe0b in gdb_do_one_event () at event-loop.c:404 #24 0x000000000056fe5b in start_event_loop () at event-loop.c:429 #25 0x00000000005718d6 in cli_command_loop (data=0x0) at event-top.c:182 #26 0x00000000005681cd in current_interp_command_loop () at interps.c:318 #27 0x0000000000568d79 in captured_command_loop (data=0x0) at main.c:322 #28 0x0000000000564fae in catch_errors (func=0x568d5e , func_args=0x0, errstring=0x81a8f5 "", mask=RETURN_MASK_ALL) at exceptions.c:237 #29 0x000000000056a21e in captured_main (data=0x7ffff71ee560) at main.c:1142 #30 0x0000000000564fae in catch_errors (func=0x569153 , func_args=0x7ffff71ee560, errstring=0x81a8f5 "", mask=RETURN_MASK_ALL) at exceptions.c:237 #31 0x000000000056a247 in gdb_main (args=0x7ffff71ee560) at main.c:1150 #32 0x00000000004062cd in main (argc=3, argv=0x7ffff71ee668) at gdb.c:32 -- You are receiving this mail because: You are on the CC list for the bug.