Files
binutils-gdb/gdbsupport
Lancelot SIX 7b34a95034 gdbsupport/common-inferior.c: Fix mingw build
A recent change (512ca2fca4 "gdb: split up
construct_inferior_arguments") introduced a build failure for mingw:

      CXX      common-inferior.o
    .../gdb/gdbsupport/common-inferior.cc: In function ‘std::string escape_characters(const char*, const char*)’:
    .../gdb/gdbsupport/common-inferior.cc:62:20: error: ‘argv’ was not declared in this scope; did you mean ‘arg’?
       62 |       if (strpbrk (argv[i], special))
          |                    ^~~~
          |                    arg
    .../gdb/gdbsupport/common-inferior.cc:62:25: error: ‘i’ was not declared in this scope
       62 |       if (strpbrk (argv[i], special))
          |                         ^

This patch fixes that.

Change-Id: I07ade607bc4516627b433085b07d9d198d8e4b4a
Approved-By: Tom de Vries <tdevries@suse.de>
2025-03-31 14:03:33 +01:00
..
2024-11-23 12:40:36 +01:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-11-18 09:46:31 +01:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2025-03-06 12:58:25 +01:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2025-03-06 12:58:25 +01:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-06-24 09:11:30 -06:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2025-03-06 12:58:25 +01:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2025-03-12 14:23:50 -06:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2025-01-06 06:46:35 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00
2024-12-18 10:00:44 -07:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.