mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
import gdb-19990504 snapshot
This commit is contained in:
@@ -356,6 +356,7 @@ struct target_ops
|
||||
int (*to_can_run) PARAMS ((void));
|
||||
void (*to_notice_signals) PARAMS ((int pid));
|
||||
int (*to_thread_alive) PARAMS ((int pid));
|
||||
void (*to_find_new_threads) PARAMS ((void));
|
||||
void (*to_stop) PARAMS ((void));
|
||||
int (*to_query) PARAMS ((int/*char*/, char *, char *, int *));
|
||||
struct symtab_and_line * (*to_enable_exception_callback) PARAMS ((enum exception_event_kind, int));
|
||||
@@ -887,6 +888,14 @@ print_section_info PARAMS ((struct target_ops *, bfd *));
|
||||
#define target_thread_alive(pid) \
|
||||
(*current_target.to_thread_alive) (pid)
|
||||
|
||||
/* Query for new threads and add them to the thread list. */
|
||||
|
||||
#define target_find_new_threads() \
|
||||
do { \
|
||||
if (current_target.to_find_new_threads) \
|
||||
(*current_target.to_find_new_threads) (); \
|
||||
} while (0);
|
||||
|
||||
/* Make target stop in a continuable fashion. (For instance, under Unix, this
|
||||
should act like SIGSTOP). This function is normally used by GUIs to
|
||||
implement a stop button. */
|
||||
|
||||
Reference in New Issue
Block a user