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

Yao Qi yao@codesourcery.com
Fri Apr 13 02:04:00 GMT 2012


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



More information about the Gdb-patches mailing list