diff options
Diffstat (limited to 'gdbsupport/common-inferior.cc')
-rw-r--r-- | gdbsupport/common-inferior.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/common-inferior.cc b/gdbsupport/common-inferior.cc index 4b86829..a07b556 100644 --- a/gdbsupport/common-inferior.cc +++ b/gdbsupport/common-inferior.cc @@ -1,7 +1,7 @@ /* Functions to deal with the inferior being executed on GDB or GDBserver. - Copyright (C) 2019-2024 Free Software Foundation, Inc. + Copyright (C) 2019-2025 Free Software Foundation, Inc. This file is part of GDB. @@ -59,7 +59,7 @@ escape_characters (const char *arg, const char *special) #ifdef __MINGW32__ bool quoted = false; - if (strpbrk (argv[i], special)) + if (strpbrk (arg, special) != nullptr) { quoted = true; result += quote; |