gdb: sim: handle target sysroot prefix
authorMike Frysinger <vapier@gentoo.org>
Tue, 23 Jun 2015 15:29:39 +0000 (11:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 24 Jun 2015 13:59:17 +0000 (09:59 -0400)
commit23bf70af12aa0c14e79c02b6098117bdba8c8a3a
tree18da725c4e6dbb9c20bd1b8867c34638368f8653
parent5cd867b414fe3609dbf596c373343474132775a8
gdb: sim: handle target sysroot prefix

The default gdb sysroot now sets itself to "target:".  This works for
most remote targets, but when using the simulator, this causes problems
as the sim will attempt to search for that path.

Update the remote-sim logic to skip this leading prefix when it is found
so that the sysroot isn't passed in as an invalid value.
gdb/ChangeLog
gdb/remote-sim.c
This page took 0.025793 seconds and 4 git commands to generate.