This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 06/15] Flip to set target-async on by default and NEWS.


On 04/12/2012 04:11 PM, Eli Zaretskii wrote:
> The NEWS entry should be qualified by "(for targets that support it)".
> 

Agreed.  Below is an updated NEWS entry.

> And btw, what will this do to targets that don't?

GDB is still using hook target_can_async_p to determine use async or
not.  For targets don't support async, nothing is changed.

This patch only changes the default behavior of GDB that "doesn't use
async even target supports" to "use async if target supports".

-- 
Yao (éå)

2012-04-12  Yao Qi  <yao@codesourcery.com>

        * NEWS: Use async mode in default.
---
 gdb/NEWS     |    2 ++
 gdb/target.c |    4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gdb/NEWS b/gdb/NEWS
index c287ffa..63bcebd 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -82,6 +82,8 @@

 * Ada support for GDB/MI Variable Objects has been added.

+* GDB now uses async mode for targets that support it in default.
+
 * New commands

   ** "catch load" and "catch unload" can be used to stop when a shared


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]