This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/17384] android arm gdb "Cannot access memory at address" when I "stepi" over "blx"


https://sourceware.org/bugzilla/show_bug.cgi?id=17384

--- Comment #7 from molsson <martin at minimum dot se> ---
Created attachment 7791
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7791&action=edit
use catch_exceptions() instead of catch_errors()

FWIW, if I switch catch_errors() to catch_exceptions() using the attached
patch, then I still get the error printed, this time via:

#0  fputs_maybe_filtered (linebuffer=0x146d710 "\n", stream=0x111d1e0,
filter=1) at utils.c:2149
#1  0x0000000000682a44 in vfprintf_maybe_filtered (stream=0x111d1e0,
format=0x819661 "\n", args=0x7fff5473a6c8, filter=1) at utils.c:2303
#2  0x0000000000682a7f in vfprintf_filtered (stream=0x111d1e0, format=0x819661
"\n", args=0x7fff5473a6c8) at utils.c:2311
#3  0x0000000000682caa in fprintf_filtered (stream=0x111d1e0, format=0x819661
"\n") at utils.c:2363
#4  0x0000000000564be6 in print_exception (file=0x111d1e0, e=...) at
exceptions.c:93
#5  0x0000000000564c6f in exception_print (file=0x111d1e0, e=...) at
exceptions.c:116
#6  0x0000000000564e74 in catch_exceptions_with_msg (func_uiout=0x1119830,
func=0x60a6fd <do_captured_read_memory_integer>, func_args=0x7fff5473a8e0,
gdberrmsg=0x0, mask=RETURN_MASK_ALL) at exceptions.c:202
#7  0x0000000000564d8d in catch_exceptions (uiout=0x1119830, func=0x60a6fd
<do_captured_read_memory_integer>, func_args=0x7fff5473a8e0,
mask=RETURN_MASK_ALL) at exceptions.c:169
#8  0x000000000060a7a1 in safe_read_memory_integer (memaddr=1, len=4,
byte_order=BFD_ENDIAN_LITTLE, return_value=0x7fff5473a960) at corefile.c:343
#9  0x000000000040e07c in arm_scan_prologue (this_frame=0x10f6d90,
cache=0x10f6e50) at arm-tdep.c:1996

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]