This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC v5 8/8] enable target-async by default
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>
- Date: Tue, 4 Mar 2014 11:32:54 -0700
- Subject: [RFC v5 8/8] enable target-async by default
- Authentication-results: sourceware.org; auth=none
- References: <1393957974-4521-1-git-send-email-tromey at redhat dot com>
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