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] |
The patch was missing. Attached now. On Mon, Oct 20, 2014 at 1:03 PM, Siva Chandra <sivachandra@google.com> wrote: > Enable having chained function calls in expressions. > > Link to description: https://sourceware.org/ml/gdb-patches/2014-09/msg00788.html > > gdb/ChangeLog: > > 2014-10-20 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): New argument EXP of type > struct expression *. Setup stack mirrors for return values. > (get_return_value_from_memory): New function. > * infcall.h (call_function_by_hand): Update signature and all callers. > * valarith.c (value_x_binop): New argument EXP of type > struct expression *. > (value_x_unop): Likewise. > * value.c (add_value_to_expression_stack) > (skip_current_expression_stack): New functions. > * value.h (add_value_to_expression_stack) > (skip_current_expression_stack): Declare. > (value_x_binop, value_x_unop): Update signature and all callers. > > gdb/testsuite/ChangeLog: > > 2014-10-20 Siva Chandra Reddy <sivachandra@google.com> > > * gdb.cp/chained-calls.cc: New file. > * gdb.cp/chained-calls.exp: New file. > * gdb.cp/smartp.exp: Remove KFAIL from c2->inta.
Attachment:
chained-calls-2of2-v3.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |