This is the mail archive of the gdb-patches@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]

[PATCH 2/2] Enable having chained function calls in expressions


Enable having chained function calls in expressions.

gdb/ChangeLog:

2014-09-26  Siva Chandra Reddy  <sivachandra@google.com>

        * eval.c (evaluate_expression): Cleanup stack mirrors that might
        have been created.
        (add_value_to_expression_stack, skip_current_expression_stack): New
        functions.
        * infcall.c (call_function_by_hand): Setup stack mirrors for return
        values.
        * value.h (add_value_to_expression_stack)
        (skip_current_expression_stack): Declare.

gdb/testsuite/ChangeLog:

2014-09-26  Siva Chandra Reddy  <sivachandra@google.com>

        * gdb.cp/chained-calls.cc: New file.
        * gdb.cp/chained-calls.exp: New file.

Attachment: chained-calls-2of2-v1.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]