This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. c72b2e7b2fbadd94f67a922e1a7f9d834dd45d38
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 1 Jun 2014 03:51:36 -0000
- Subject: gdb and binutils branch master updated. c72b2e7b2fbadd94f67a922e1a7f9d834dd45d38
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 c72b2e7b2fbadd94f67a922e1a7f9d834dd45d38 (commit)
from 11b28b91b2c51898e1347e62909811cc7dd720ea (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=c72b2e7b2fbadd94f67a922e1a7f9d834dd45d38
commit c72b2e7b2fbadd94f67a922e1a7f9d834dd45d38
Author: Yao Qi <yao@codesourcery.com>
Date: Wed May 28 12:38:52 2014 +0800
Skip test 'watch -location nullptr->p->x' if null pointer can be dereferenced
gdb.base/watchpoint.exp has a test below which expects to see "Cannot
access memory at address 0x0" when a null pointer is dereferenced.
gdb_test "watch -location nullptr->p->x" \
"Cannot access memory at address 0x0"
This assumption is not true when the target is no-mmu, so we get
watch -location nullptr->p->x
Hardware watchpoint 28: -location nullptr->p->x
(gdb) FAIL: gdb.base/watchpoint.exp: watch -location nullptr->p->x
This patch is to check whether null pointer can be dereferenced first
and then do the test.
gdb/testsuite:
2014-06-01 Yao Qi <yao@codesourcery.com>
* gdb.base/watchpoint.exp (test_watch_location): Check null
pointer can be dereferenced. If not, do the test, otherwise
skip it.
-----------------------------------------------------------------------
Summary of changes:
gdb/testsuite/ChangeLog | 6 ++++++
gdb/testsuite/gdb.base/watchpoint.exp | 14 ++++++++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
hooks/post-receive
--
gdb and binutils