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 1/2 v3] Introduce a new lval_type lval_mirrored_on_inferior_stack


Introduce a new lval_type lval_mirrored_on_inferior_stack.

Add support for values with the new lval_type.

Link to description: https://sourceware.org/ml/gdb-patches/2014-09/msg00788.html

gdb/ChangeLog:

2014-10-20  Siva Chandra Reddy  <sivachandra@google.com>

        * defs.h (enum lval_type): Add new lval_type
        lval_mirrored_on_inferior_stack.
        * valops.c (value_coerce_array, value_from_pointer)
        (value_addr): Do not error on values with lval_type
        lval_mirrored_on_inferior_stack.
        * value.c (struct value): Add field stack_mirror to the location
        field.
        (allocate_value_mirrored_on_stack, setup_stack_mirror)
        (delink_stack_mirror): New functions.
        (value_address): Handle values with lval_type
        lval_mirrored_on_inferior_stack.
        * value.h (allocate_value_mirrored_on_stack)
        (setup_stack_mirror, delink_stack_mirror): Declare.

Attachment: chained-calls-1of2-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]