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. 831517df13fe99c89f073632b70431510bee65ba


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  831517df13fe99c89f073632b70431510bee65ba (commit)
      from  c33b2f12584e8ae5be0e7a54927194d6b5851623 (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=831517df13fe99c89f073632b70431510bee65ba

commit 831517df13fe99c89f073632b70431510bee65ba
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jun 6 11:05:05 2014 +0800

    Skip hbreak-unmapped.exp if memory at address 0 is readable
    
    hbreak-unmapped.exp assumes that memory at address 0 is unmapped or
    unreadable, but on bare metal or uclinux targets, memory at address
    0 is readable.  For example, on arm-none-eabi, the vector table base
    address is 0x0.
    
    hbreak *0^M
    Hardware assisted breakpoint 3 at 0x0: file
    /scratch/yqi/arm-none-eabi-lite/obj/cs3-2014.11-999999-arm-none-eabi-i686-pc-linux-gnu/generated/arm-vector.S,
    line 25.^M
    (gdb) FAIL: gdb.base/hbreak-unmapped.exp: hbreak *0
    info break^M
    Num     Type           Disp Enb Address    What^M
    3       hw breakpoint  keep y   0x00000000
    /scratch/yqi/arm-none-eabi-lite/obj/cs3-2014.11-999999-arm-none-eabi-i686-pc-linux-gnu/generated/arm-vector.S:25^M
    (gdb) FAIL: gdb.base/hbreak-unmapped.exp: info break shows hw breakpoint
    delete $bpnum
    
    This patch is to check whether address 0 is readable via command 'x 0'.
    If it is, skip the test.
    
    gdb/testsuite:
    
    2014-06-06  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
    	readable, skip the test.

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

Summary of changes:
 gdb/testsuite/ChangeLog                    |    5 +++++
 gdb/testsuite/gdb.base/hbreak-unmapped.exp |   10 ++++++++++
 2 files changed, 15 insertions(+), 0 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]