aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-netbsd-tdep.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-03-27 11:35:26 +0200
committerTom de Vries <tdevries@suse.de>2023-03-27 11:35:26 +0200
commit16fbc917fa85a89c733ffa896b6612333bd3b50f (patch)
tree4230def2f57160565711272623345edc3d657c80 /gdb/i386-netbsd-tdep.c
parent324998b47364528f407666512015370c12ab83a1 (diff)
downloadgdb-16fbc917fa85a89c733ffa896b6612333bd3b50f.zip
gdb-16fbc917fa85a89c733ffa896b6612333bd3b50f.tar.gz
gdb-16fbc917fa85a89c733ffa896b6612333bd3b50f.tar.bz2
[gdb/testsuite] Remove superfluous pid in temp files
While trying to use gdb_can_simple_compile with a d program, I ran into: ... /data/vries/gdb/f37/build/gdb/testsuite/temp/105856/can_compile_d-105856.d: \ error: module 'can_compile_d-105856' has non-identifier characters in \ filename, use module declaration instead ... The d compiler has a problem with the filename can_compile_d-105856.d, which contains the pid. The pid is added by gdb_simple_compile: ... set obj [standard_temp_file $name-[pid].$postfix] ... but it's unnecessary because standard_temp_file already uses the pid. Fix this by removing "[pid]" in all calls to standard_temp_file. Tested on x86_64-linux.
Diffstat (limited to 'gdb/i386-netbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions