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. 84754697d2ac74094af81cd484d4471c2e58117b


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  84754697d2ac74094af81cd484d4471c2e58117b (commit)
       via  da5c522f5be478d020c14038ace2ba2ee2b9e032 (commit)
       via  0d72a7c318b83384973583323f8c7d54bf1bbffa (commit)
      from  cb8e01c6bbe1da1c6e6553e2bf20f0d6e48e1d42 (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=84754697d2ac74094af81cd484d4471c2e58117b

commit 84754697d2ac74094af81cd484d4471c2e58117b
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Aug 14 14:00:02 2014 -0700

    ada_evaluate_subexp<OP_VAR_VALUE>: Avoid static fixing when possible.
    
    Now that the OP_VAR_VALUE section of this function has been reorganized
    a bit, we can fall-back on standard evaluation when static fixing is
    not required. This patch does that, but being exclusive about when
    static fixing has to be used, rather than doing it all the time when
    noside is EVAL_AVOID_SIDE_EFFECTS.
    
    This will pave the way for later when we want to evaluate entities
    that have no GNAT encodings related to them but dynamic properties
    instead. In that case, we expect the standard evaluation to resolve
    those dynamic properties for us, even in no-side-effect mode.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
            When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
            fixed value for records and unions for which some GNAT encodings
            are present.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=da5c522f5be478d020c14038ace2ba2ee2b9e032

commit da5c522f5be478d020c14038ace2ba2ee2b9e032
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Aug 14 13:36:24 2014 -0700

    avoid "if ... else if ... else" logic in ada-lang.c::ada_evaluate_subexp
    
    The OP_VAR_VALUE branch in ada_evaluate_subexp is written with
    multiple "if ... else if ... else if ... else ..." block. But
    in practice, these blocks  all either goto out of that block of
    code, or return.
    
    This patch rewrites this code slightly by replacing the "else if"-s
    by simple "if"s. This should better reflect the ideal processing
    where we try to do a standard eval whenever possible, and only
    do something else when the standard eval does not work. On a pratical
    level, this patch makes it easier to fall through to the default
    processing when none of the special situations are detected, thus
    making it easier to add more handlers of those special situations;
    or to remove them as they no longer become necessary!
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
            rewrite to avoid "else if" and "else" constructs.  Should be
            a no-op in practice.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0d72a7c318b83384973583323f8c7d54bf1bbffa

commit 0d72a7c318b83384973583323f8c7d54bf1bbffa
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Aug 14 13:26:34 2014 -0700

    Fix indentation level in ada-lang.c::ada_evaluate_subexp.
    
    I just happen to notice that a lexical block was missing one
    indentation level.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
            of lexical block.

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

Summary of changes:
 gdb/ChangeLog  |   18 ++++++++
 gdb/ada-lang.c |  120 +++++++++++++++++++++++++++++++-------------------------
 2 files changed, 85 insertions(+), 53 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]