diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-10 09:32:05 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-06-10 09:32:05 +0000 |
commit | f5871ec07bfb6388317ec60513286c51ecd06733 (patch) | |
tree | fb1f870d48ce3d69743941437b5b563d65b1b653 /gdb/inferior.h | |
parent | 3d3191a6ad8488986858373778fb8edf7e02715d (diff) | |
download | gdb-f5871ec07bfb6388317ec60513286c51ecd06733.zip gdb-f5871ec07bfb6388317ec60513286c51ecd06733.tar.gz gdb-f5871ec07bfb6388317ec60513286c51ecd06733.tar.bz2 |
Suppress normal stop observer when it's problematic.
* inferior.h (suppress_normal_stop_observer): New.
* infcall.c (call_function_by_hand): Disable stop events when
doing function calls.
* infmcd.c (suppress_normal_stop_observer): New.
(finish_command_continuation): Call normal_stop observer
explicitly.
(finish_command): Disable stop events inside proceed.
* infrun.c (normal_stop): Don't call normal stop observer if
suppressed of if multi-step is in progress.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 1dd152a..7f85507 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -391,6 +391,9 @@ extern int debug_displaced; void displaced_step_dump_bytes (struct ui_file *file, const gdb_byte *buf, size_t len); + +/* When set, normal_stop will not call the normal_stop observer. */ +extern int suppress_normal_stop_observer; /* Possible values for gdbarch_call_dummy_location. */ #define ON_STACK 1 |