aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-09-15 17:40:54 +0800
committerYao Qi <yao@codesourcery.com>2014-10-15 15:33:24 +0800
commit65d7b369af5b9557cde8fbe6f63cefa215c0af60 (patch)
tree246905272790ebb0a004cdfdf32b2f6569315306 /gdb/python
parent46dc13946233b4b5ac2b34fb78e19fe60cd0606a (diff)
downloadbinutils-65d7b369af5b9557cde8fbe6f63cefa215c0af60.zip
binutils-65d7b369af5b9557cde8fbe6f63cefa215c0af60.tar.gz
binutils-65d7b369af5b9557cde8fbe6f63cefa215c0af60.tar.bz2
Fix file name matching on remote host.
I see the following fails in the remote host testing we do for mingw32 hosted GDB, python print (symtab[1][0].symtab)^M python.c^M (gdb) FAIL: gdb.python/python.exp: Test decode_line current locationn filename python print (symtab[1][0].symtab)^M python.c^M (gdb) FAIL: gdb.python/python.exp: Test decode_line python.c:26 filename The test cases doesn't consider remote host and assumes that directory on build also exists on host. In this patch, we only match file base name if host is remote, otherwise, match file with dir name. gdb/testsuite: 2014-10-15 Yao Qi <yao@codesourcery.com> * gdb.python/py-symbol.exp: Match file base name if host is remote, otherwise match file name with dir name. * gdb.python/py-symtab.exp: Likewise. * gdb.python/python.exp: Likewise.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions