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


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  eebc056c8e1ae9bc015645acf861bde0eff8335a (commit)
      from  a7300869806e7586189dc0f46c41c5773fe3ae16 (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=eebc056c8e1ae9bc015645acf861bde0eff8335a

commit eebc056c8e1ae9bc015645acf861bde0eff8335a
Author: Andrew Burgess <aburgess@broadcom.com>
Date:   Thu Nov 28 18:54:20 2013 +0000

    Print entirely unavailable struct/union values as a single <unavailable>.
    
    When printing an entirely optimized out structure/class/union, we
    print a single <optimized out> instead of printing <optimized out> for
    each field.
    
    This patch makes an entirely unavailable structure/class/union be
    likewise displayed with a single "<unavailable>" rather than the whole
    object with all fields <unavailable>.
    
    This seems good because this way the user can quickly tell whether the
    whole value is unavailable, rather than having to skim all fields.
    Consistency with optimized out values also seems to be a good thing to
    have.
    
    A few updates to gdb.trace/unavailable.exp where required.
    
    Tested on x86_64 Fedora 17, native gdbserver.
    
    gdb/
    2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* valprint.c (value_check_printable): If the value is entirely
    	unavailable, print a single "<unavailable>" instead of printing
    	all subfields.
    
    gdb/testsuite/
    2013-11-28  Andrew Burgess  <aburgess@broadcom.com>
    
    	* gdb.trace/unavailable.exp (gdb_collect_args_test): Update
    	expected results.
    	(gdb_collect_locals_test): Likewise.
    	(gdb_collect_globals_test): Likewise.

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

Summary of changes:
 gdb/ChangeLog                           |    7 +++++
 gdb/testsuite/ChangeLog                 |    7 +++++
 gdb/testsuite/gdb.trace/unavailable.exp |   41 +++++++++++++-----------------
 gdb/valprint.c                          |    9 +++++++
 4 files changed, 41 insertions(+), 23 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]