[RFC v5 8/8] enable target-async by default
Tom Tromey
tromey@redhat.com
Tue Mar 4 18:33:00 GMT 2014
This flips the default of maint_async_permitted, causing target async
to be enabled by default.
2014-02-26 Tom Tromey <tromey@redhat.com>
* target.c (maint_async_permitted, maint_async_permitted_1):
Default to 1.
---
gdb/ChangeLog | 5 +++++
gdb/target.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/target.c b/gdb/target.c
index 6711bd7..369cbb7 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -4201,11 +4201,11 @@ maintenance_print_target_stack (char *cmd, int from_tty)
/* Controls if targets can report that they are async. This is just
for maintainers to use when debugging gdb. */
-int maint_async_permitted = 0;
+int maint_async_permitted = 1;
/* The set command writes to this variable. If the inferior is
executing, maint_async_permitted is *not* updated. */
-static int maint_async_permitted_1 = 0;
+static int maint_async_permitted_1 = 1;
static void
set_maint_async_command (char *args, int from_tty,
--
1.8.1.4
More information about the Gdb-patches
mailing list