aboutsummaryrefslogtreecommitdiff
path: root/gdb/go-lang.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-10-04 09:14:26 -0600
committerTom Tromey <tromey@adacore.com>2021-10-04 09:14:26 -0600
commitabe19f1119ef3d33acd9c8699ebeb110feed55d8 (patch)
treec431c46944ded2f3e469c5340e2a3e42e35b6faa /gdb/go-lang.c
parent6619a08b25ed618205bb20f9dd069511d60b8df8 (diff)
downloadbinutils-abe19f1119ef3d33acd9c8699ebeb110feed55d8.zip
binutils-abe19f1119ef3d33acd9c8699ebeb110feed55d8.tar.gz
binutils-abe19f1119ef3d33acd9c8699ebeb110feed55d8.tar.bz2
Fix remote-sim.c compilation
The change "make string-like set show commands use std::string variable" caused remote-sim.c to fail to build. The issue is that the code does: const std::string &sysroot = gdb_sysroot; if (is_target_filename (sysroot)) sysroot += strlen (TARGET_SYSROOT_PREFIX); ... which isn't valid. This patch changes this code to use a 'const char *' again, fixing the build.
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions