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. b4429ea262cfbeb9a6ebd9308654b0883b19d1a5


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  b4429ea262cfbeb9a6ebd9308654b0883b19d1a5 (commit)
      from  48b6e87ef297136a6409c2c993c4626f28bbb4d1 (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=b4429ea262cfbeb9a6ebd9308654b0883b19d1a5

commit b4429ea262cfbeb9a6ebd9308654b0883b19d1a5
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Mar 21 12:52:24 2014 +0800

    Check tracefile is generated by binary execution
    
    In gdb.trace/tfile.exp, we execute binary to generate tracefile,
    
      remote_exec target "$binfile"
    
    however, this fails on bare metal target.  This patch is to
    handle binary execution failure by running binary in GDB.
    The binary will do some io operation to generate tracefile, so
    we need a check 'target_info exists gdb,nofileio'.
    
    This patch is to check whether tracefile is generated.  tfile.exp can
    be skipped if generation is failed, while test_tfind_tfile in
    mi-traceframe-changed.exp is skipped if generated failed.  The rest of
    the mi-traceframe-changed.exp can still be executed, because on some
    bare metal targets, the remote stub supports tracepoint but doesn't
    support fileio.
    
    gdb/testsuite:
    
    2014-04-22  Yao Qi  <yao@codesourcery.com>
    
    	* lib/trace-support.exp (generate_tracefile): New procedure.
    	* gdb.trace/tfile.exp: Skip the test if generate_tracefile
    	return 0.
    	* gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
    	if generate_tracefile returns 1.

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

Summary of changes:
 gdb/testsuite/ChangeLog                           |    8 ++++++
 gdb/testsuite/gdb.trace/mi-traceframe-changed.exp |   20 ++++++++-------
 gdb/testsuite/gdb.trace/tfile.exp                 |   10 ++++----
 gdb/testsuite/lib/trace-support.exp               |   27 +++++++++++++++++++++
 4 files changed, 51 insertions(+), 14 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]