]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Update comment in linux_nat_can_async_p
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 12 Jan 2017 16:04:53 +0000 (11:04 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 12 Jan 2017 16:04:53 +0000 (11:04 -0500)
I think this comment is outdated.  Nowadays, linux-nat is always async,
unless the user has explictly turned it off with
"maint set target-async off".

gdb/ChangeLog:

* linux-nat.c (linux_nat_can_async_p): Update comment.

gdb/ChangeLog
gdb/linux-nat.c

index 153f6cd7df6fb422a2210c1a989c8754b1e8d68e..27aa3941a694d6b79f678694a1cce3143ba3bc6c 100644 (file)
@@ -1,3 +1,7 @@
+2017-01-12  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-nat.c (linux_nat_can_async_p): Update comment.
+
 2017-01-12  Simon Marchi  <simon.marchi@ericsson.com>
 
        * serial.c (serial_open): Forget about "pc" and "lpt" serial interface.
index dd5c6d2c4dae80f4f520be944fb446f465cb1c2b..c58ed83efd0f90135568154a5ef61adfce80c393 100644 (file)
@@ -4417,9 +4417,8 @@ linux_nat_is_async_p (struct target_ops *ops)
 static int
 linux_nat_can_async_p (struct target_ops *ops)
 {
-  /* NOTE: palves 2008-03-21: We're only async when the user requests
-     it explicitly with the "set target-async" command.
-     Someday, linux will always be async.  */
+  /* We're always async, unless the user explicitly prevented it with the
+     "maint set target-async" command.  */
   return target_async_permitted;
 }