mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* gdbthread.h: Add comments.
* stack.c (get_selected_block): Return 0 on an exited thread. * top.c (execute_command): Check for is_stopped, not !is_running. * event-top.c (command_handler): Likewise.
This commit is contained in:
@ -477,7 +477,7 @@ Cannot execute this command without a live selected thread. See `help thread'."
|
||||
/* FIXME: This should be cacheing the frame and only running when
|
||||
the frame changes. */
|
||||
|
||||
if (target_has_stack && !is_running (inferior_ptid))
|
||||
if (target_has_stack && is_stopped (inferior_ptid))
|
||||
{
|
||||
flang = get_frame_language ();
|
||||
if (!warned
|
||||
|
Reference in New Issue
Block a user