diff options
author | Doug Evans <dje@google.com> | 2014-04-16 10:40:41 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-04-16 10:40:41 -0700 |
commit | ab19de874b887743e0862e6680e561f6fc4f02fa (patch) | |
tree | 629efc40748622bda35f488819520d0e57a34688 /ld | |
parent | fc98a809db2b6792a47919d30c9bd3446f5a83ca (diff) | |
download | gdb-ab19de874b887743e0862e6680e561f6fc4f02fa.zip gdb-ab19de874b887743e0862e6680e561f6fc4f02fa.tar.gz gdb-ab19de874b887743e0862e6680e561f6fc4f02fa.tar.bz2 |
Fix wrapper.exp testcase with stdio gdbserver.
* lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
Add comment.
(gdbserver_default_get_comm_port): New function.
(gdbserver_start): Check if board file provided
"gdbserver,get_comm_port" and use it if so.
* boards/native-stdio-gdbserver.exp (sockethost): Set to "".
(gdb,socketport): Set to "stdio".
(gdbserver,get_comm_port): Set to ${board}_get_comm_port.
(stdio_gdbserver_template): Delete.
(${board}_get_remote_address): Update.
(${board}_build_remote_cmd): Delete.
(${board}_get_comm_port): New function.
(${board}_spawn): Update.
* boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
Delete.
(${board}_get_remote_address): Update.
(${board}_get_comm_port): New function.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions