This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 10c5f0a8a83c4fcec433a2498c4d205921413e6a
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 15 Oct 2014 07:39:22 -0000
- Subject: gdb and binutils branch master updated. 10c5f0a8a83c4fcec433a2498c4d205921413e6a
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 10c5f0a8a83c4fcec433a2498c4d205921413e6a (commit)
via 65d7b369af5b9557cde8fbe6f63cefa215c0af60 (commit)
via 46dc13946233b4b5ac2b34fb78e19fe60cd0606a (commit)
from eeed9cc785ca447868967e5c84dae63e9ca8e6c2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=10c5f0a8a83c4fcec433a2498c4d205921413e6a
commit 10c5f0a8a83c4fcec433a2498c4d205921413e6a
Author: Yao Qi <yao@codesourcery.com>
Date: Mon Sep 15 19:06:22 2014 +0800
Fix py-parameter.exp for remote host
Test gdb.python/py-parameter.exp expects output "$srcdir/$subdir:\$cdir:\$cwd",
but proc gdb_reinitialize_dir doesn't set $srcdir/$subdir in search
directories on remote host because it doesn't exist on remote host.
proc gdb_reinitialize_dir { subdir } {
global gdb_prompt
if [is_remote host] {
return ""
}
It causes the fail below:
(gdb) python print (gdb.parameter ('directories'))^M
/tmp/gdb:$cdir:$cwd^M
(gdb) FAIL: gdb.python/py-parameter.exp: python print (gdb.parameter ('directories'))
This patch is to fix this fail by not matching $srcdir/$subdir on remote host.
gdb/testsuite:
2014-10-15 Yao Qi <yao@codesourcery.com>
* gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
remote host.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65d7b369af5b9557cde8fbe6f63cefa215c0af60
commit 65d7b369af5b9557cde8fbe6f63cefa215c0af60
Author: Yao Qi <yao@codesourcery.com>
Date: Mon Sep 15 17:40:54 2014 +0800
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.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=46dc13946233b4b5ac2b34fb78e19fe60cd0606a
commit 46dc13946233b4b5ac2b34fb78e19fe60cd0606a
Author: Yao Qi <yao@codesourcery.com>
Date: Mon Sep 15 16:41:39 2014 +0800
Clean up gdb.python/ tests
This patch is to clean up various gdb.python/*.exp tests, such as
removing trailing ".*" from the pattern and fix one typo I find during
reading the code.
gdb/testsuite:
2014-10-15 Yao Qi <yao@codesourcery.com>
* gdb.python/python.exp: Remove trailing ".*". Fix typo
locationn.
* gdb.python/py-symbol.exp: Remove trailing ".*" in the
pattern.
* gdb.python/py-symtab.exp: Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/ChangeLog | 20 ++++++++++++++++++++
gdb/testsuite/gdb.python/py-parameter.exp | 9 ++++++++-
gdb/testsuite/gdb.python/py-symbol.exp | 7 ++++++-
gdb/testsuite/gdb.python/py-symtab.exp | 14 +++++++++++---
gdb/testsuite/gdb.python/python.exp | 18 +++++++++++++++---
5 files changed, 60 insertions(+), 8 deletions(-)
hooks/post-receive
--
gdb and binutils