mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
* infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
errors when reading the `stop_pc'. * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of get_frame_pc.
This commit is contained in:
@@ -759,9 +759,7 @@ pc_prefix (CORE_ADDR addr)
|
||||
CORE_ADDR pc;
|
||||
|
||||
frame = get_selected_frame (NULL);
|
||||
pc = get_frame_pc (frame);
|
||||
|
||||
if (pc == addr)
|
||||
if (get_frame_pc_if_available (frame, &pc) && pc == addr)
|
||||
return "=> ";
|
||||
}
|
||||
return " ";
|
||||
|
||||
Reference in New Issue
Block a user