diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-01-12 11:04:53 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-01-12 11:04:53 -0500 |
commit | fde1b17d37fd5557a22948d500bb5f4b6ef5d089 (patch) | |
tree | a61c99036782ccae4246efa98a2cb0c1fa9df906 | |
parent | ca1ca08b0893eb6ec530db0cc7e12537417244fa (diff) | |
download | gdb-fde1b17d37fd5557a22948d500bb5f4b6ef5d089.zip gdb-fde1b17d37fd5557a22948d500bb5f4b6ef5d089.tar.gz gdb-fde1b17d37fd5557a22948d500bb5f4b6ef5d089.tar.bz2 |
Update comment in linux_nat_can_async_p
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/linux-nat.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 153f6cd..27aa394 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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. 2017-01-11 Simon Marchi <simon.marchi@ericsson.com> diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index dd5c6d2..c58ed83 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -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; } |