This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. 20c6f1e176f4139ed1e76d4256e70149e38c0820


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  20c6f1e176f4139ed1e76d4256e70149e38c0820 (commit)
      from  5792e8e37be2f848152115fd4783b0e28b5253ad (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=20c6f1e176f4139ed1e76d4256e70149e38c0820

commit 20c6f1e176f4139ed1e76d4256e70149e38c0820
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Aug 7 16:09:38 2014 +0800

    Remove duplicated code on checking address 0x0 is accessiable
    
    I find some gdb.python tests fail on arm-none-eabi target, because the
    tests assume that memory on address 0x is inaccessible.  Some tests
    (in gdb.base) are aware of this, so do a "x 0" check first.  However,
    the code is copy-n-paste.
    
    This patch is to move the "x 0" check to a procedure in lib/gdb.exp,
    and get needed tests call it.  The original code matches pattern
    "0x0:\[ \t\]*Error accessing memory address 0x0\r\n$gdb_prompt $", but
    I remove it from the new proc is_address_zero_readable, because GDB
    doesn't emit such message any more.
    
    gdb/testsuite:
    
    2014-08-09  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.base/display.exp: Invoke is_address_zero_readable.
    	* gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
    	* gdb.python/py-value.exp (test_value_in_inferior): Likewise.
    	* gdb.base/hbreak-unmapped.exp: Return if
    	is_address_zero_readable returns true.
    	* gdb.base/signest.exp: Likewise.
    	* gdb.base/signull.exp: Likewise.
    	* gdb.base/sigbpt.exp: Likewise.
    	* gdb.guile/scm-disasm.exp: Do the test if
    	is_address_zero_readable returns false.
    	* gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
    	* gdb.python/py-arch.exp: Likewise.
    	* gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
    	* lib/gdb.exp (is_address_zero_readable): New proc.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog                      |   17 +++++++++++++++++
 gdb/testsuite/gdb.base/display.exp           |    9 +--------
 gdb/testsuite/gdb.base/hbreak-unmapped.exp   |   10 +++-------
 gdb/testsuite/gdb.base/sigbpt.exp            |   10 +++-------
 gdb/testsuite/gdb.base/signest.exp           |   10 +++-------
 gdb/testsuite/gdb.base/signull.exp           |   10 +++-------
 gdb/testsuite/gdb.guile/scm-disasm.exp       |    8 +++++---
 gdb/testsuite/gdb.guile/scm-pretty-print.exp |    4 +++-
 gdb/testsuite/gdb.guile/scm-value.exp        |    9 +--------
 gdb/testsuite/gdb.python/py-arch.exp         |    8 +++++---
 gdb/testsuite/gdb.python/py-prettyprint.exp  |    5 ++++-
 gdb/testsuite/gdb.python/py-value.exp        |    9 +--------
 gdb/testsuite/lib/gdb.exp                    |   18 ++++++++++++++++++
 13 files changed, 67 insertions(+), 60 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]