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 gdb-7.8-branch updated. gdb-7.8-release-37-gd3262ec


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, gdb-7.8-branch has been updated
       via  d3262ec3b89590f0b21684aa80f5e51e2b884ca6 (commit)
      from  bbecf3700f4c0064dffbfb05768ecc90f12dc8b7 (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=d3262ec3b89590f0b21684aa80f5e51e2b884ca6

commit d3262ec3b89590f0b21684aa80f5e51e2b884ca6
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Aug 21 10:48:33 2014 +0800

    Remove workaround to libbabeltrace 1.1.0 issue
    
    When GDB uses recent version of babeltrace, such as 1.2.x, we'll see
    such error emitted from babeltrace library,
    
     (gdb) target ctf .../gdb/testsuite/gdb.trace/actions.ctf
     [error] Invalid CTF stream: content size is smaller than packet headers.
     [error] Stream index creation error.
     [error] Open file stream error.
    
    The problem can be reproduce out of GDB too, using babeltrace,
    
     $ babeltrace ./fake-packet.ctf/
     [error] Invalid CTF stream: content size is smaller than packet headers.
     [error] Stream index creation error.
     [error] Open file stream error.
    
    Recent babeltrace library becomes more strict on CTF, and complains
    about one "faked packet" GDB adds, when saving trace data in ctf
    format from GDB.  babeltrace 1.1.0 has a bug that it can't read trace
    data smaller than a certain size (see https://bugs.lttng.org/issues/450).
    We workaround it in GDB to append some meaningless data in a faked
    packet to make sure trace file is large enough (see ctf.c:ctf_end).
    The babeltrace issue was fixed in 1.1.1 release.  However, babeltrace
    recent release (since 1.1.2) starts to complain about such faked
    packet.  Here is a table shows that whether faked packet or no faked
    packet is "supported" by various babeltrace releases,
    
            faked packet      no faked packet
    1.1.0      Yes                 No
    1.1.1      Yes                 Yes
    1.1.2      No                  Yes
    1.2.0      No                  Yes
    
    We decide to get rid of this workaround in GDB, and people can build GDB
    with libbabeltrace >= 1.1.1.  In this way, both configure and ctf.c is
    simpler.
    
    Run gdb.trace/* tests in the following combinations:
    
     wo/ this pattch  1.1.0
     w/  this patch   1.1.1
     w/  this patch   1.1.2
     w/  this patch   1.2.0
    
    No test results change.
    
    gdb:
    
    2014-08-27  Yao Qi  <yao@codesourcery.com>
    
    	* ctf.c (CTF_FILE_MIN_SIZE): Remove.
    	(ctf_end): Remove code.

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

Summary of changes:
 gdb/ChangeLog |    5 +++++
 gdb/ctf.c     |   49 -------------------------------------------------
 2 files changed, 5 insertions(+), 49 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]