diff options
| author | Tom de Vries <tdevries@suse.de> | 2025-06-04 09:58:07 +0200 |
|---|---|---|
| committer | Tom de Vries <tdevries@suse.de> | 2025-06-04 09:58:07 +0200 |
| commit | 4c1459870634074ea2266ec5755371eec3948963 (patch) | |
| tree | 9044fc2fdb507be9814ce863d04f04987f5cd6cc /gdb/python/python-internal.h | |
| parent | 9037efb5472bc139d3be675ea4274105faeae5b3 (diff) | |
| download | binutils-4c1459870634074ea2266ec5755371eec3948963.zip binutils-4c1459870634074ea2266ec5755371eec3948963.tar.gz binutils-4c1459870634074ea2266ec5755371eec3948963.tar.bz2 | |
[gdb/testsuite] Fix gdb.base/exec-invalid-sysroot.exp
Since commit d462550c91c ("gdb/testsuite: also compile foll-exec.exp as C++"),
we run into:
...
Running gdb.base/exec-invalid-sysroot.exp ...
gdb compile failed, foll-exec.c: In function 'main':
foll-exec.c:35:52: error: 'EXECD_PROG' undeclared (first use in this function)
printf ("foll-exec is about to execlp(%s)...\n", EXECD_PROG);
^~~~~~~~~~
foll-exec.c:35:52: note: each undeclared identifier is reported only once \
for each function it appears in
...
Fix this by default-defining EXECD_PROG to "execd-prog".
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions
