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.
This commit is contained in:
parent
ca1ca08b08
commit
fde1b17d37
2 changed files with 6 additions and 3 deletions
|
@ -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>
|
2017-01-12 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* serial.c (serial_open): Forget about "pc" and "lpt" serial interface.
|
* serial.c (serial_open): Forget about "pc" and "lpt" serial interface.
|
||||||
|
|
|
@ -4417,9 +4417,8 @@ linux_nat_is_async_p (struct target_ops *ops)
|
||||||
static int
|
static int
|
||||||
linux_nat_can_async_p (struct target_ops *ops)
|
linux_nat_can_async_p (struct target_ops *ops)
|
||||||
{
|
{
|
||||||
/* NOTE: palves 2008-03-21: We're only async when the user requests
|
/* We're always async, unless the user explicitly prevented it with the
|
||||||
it explicitly with the "set target-async" command.
|
"maint set target-async" command. */
|
||||||
Someday, linux will always be async. */
|
|
||||||
return target_async_permitted;
|
return target_async_permitted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue