Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@redhat.com>
Subject: [RFC v5 8/8] enable target-async by default
Date: Tue, 04 Mar 2014 18:33:00 -0000	[thread overview]
Message-ID: <1393957974-4521-9-git-send-email-tromey@redhat.com> (raw)
In-Reply-To: <1393957974-4521-1-git-send-email-tromey@redhat.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


  parent reply	other threads:[~2014-03-04 18:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04 18:33 [RFC v5 0/8] " Tom Tromey
2014-03-04 18:33 ` [RFC v5 4/8] PR gdb/13860: don't lose '-interpreter-exec console EXECUTION_COMMAND''s output in async mode Tom Tromey
2014-03-18 19:01   ` [RFC v6 " Pedro Alves
2014-05-21 22:37     ` Pedro Alves
2014-03-04 18:33 ` Tom Tromey [this message]
2014-03-04 18:33 ` [RFC v5 3/8] PR gdb/13860: make "-exec-foo"'s MI output equal to "foo"'s MI output Tom Tromey
2014-03-04 18:33 ` [RFC v5 7/8] separate MI and target notions of async Tom Tromey
2014-03-04 18:40   ` Eli Zaretskii
2014-03-04 19:11     ` Tom Tromey
2014-05-23 20:45   ` Pedro Alves
2014-03-04 18:33 ` [RFC v5 2/8] PR gdb/13860: make -interpreter-exec console "list" behave more like "list" Tom Tromey
2014-03-18 16:04   ` [RFC v6] " Pedro Alves
2014-05-21 22:16     ` Pedro Alves
2014-03-04 18:33 ` [RFC v5 5/8] make dprintf.exp pass in always-async mode Tom Tromey
2014-03-20 18:04   ` Pedro Alves
2014-03-04 18:33 ` [RFC v5 1/8] fix latent bugs in ui-out.c Tom Tromey
2014-03-17 19:16   ` Pedro Alves
2014-03-04 18:40 ` [RFC v5 6/8] fix py-finish-breakpoint.exp with always-async Tom Tromey
2014-03-20 18:28   ` Pedro Alves

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393957974-4521-9-git-send-email-tromey@redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox