Update exec_file_attach to cope with "target:" filenames
authorGary Benson <gbenson@redhat.com>
Thu, 2 Apr 2015 12:38:29 +0000 (13:38 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 2 Apr 2015 12:38:29 +0000 (13:38 +0100)
commit64c0b5de8dfd68c54060b07d54b1edf8d22fc52b
tree2dc74d7f6a99dd6391a0666cddc8b35cef32cae1
parentb57fbfba4b53434252fce55e323f08aeab556409
Update exec_file_attach to cope with "target:" filenames

This commit adds support for filenames prefixed with "target:" to
exec_file_attach.  This is required to correctly follow inferior
exec* calls when a gdb_sysroot prefixed with "target:" is set.

gdb/ChangeLog:

* exec.c (exec_file_attach): Support "target:" filenames.
gdb/ChangeLog
gdb/exec.c