mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-15 22:04:48 +08:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user