diff options
author | Tom Tromey <tromey@redhat.com> | 2010-05-21 21:01:46 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-05-21 21:01:46 +0000 |
commit | cb82636715e384dc5e75f3c1a4fd436626ba8dcd (patch) | |
tree | e75f984689d6689f268f025f198b5cc1817780ff /gdb/ChangeLog | |
parent | 74de6778b16fe5429d512d7250747f4d9e1ed374 (diff) | |
download | gdb-cb82636715e384dc5e75f3c1a4fd436626ba8dcd.zip gdb-cb82636715e384dc5e75f3c1a4fd436626ba8dcd.tar.gz gdb-cb82636715e384dc5e75f3c1a4fd436626ba8dcd.tar.bz2 |
gdb
* dwarf2loc.c (read_pieced_value): Exit loop when result is full.
<DWARF_VALUE_OPTIMIZED_OUT>: New case.
* dwarf2expr.h (enum dwarf_value_location)
<DWARF_VALUE_OPTIMIZED_OUT>: New constant.
* dwarf2expr.c (dwarf_expr_stack_empty_p): New function.
(add_piece): Handle empty piece.
(execute_stack_op) <DW_OP_piece>: Handle
DWARF_VALUE_OPTIMIZED_OUT.
gdb/testsuite
* gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
Call it.
* gdb.dwarf2/pieces.c (struct C): New.
(f6): New function.
* gdb.dwarf2/pieces.S: Replace.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4db2977..8b3b900 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2010-05-21 Tom Tromey <tromey@redhat.com> + * dwarf2loc.c (read_pieced_value): Exit loop when result is full. + <DWARF_VALUE_OPTIMIZED_OUT>: New case. + * dwarf2expr.h (enum dwarf_value_location) + <DWARF_VALUE_OPTIMIZED_OUT>: New constant. + * dwarf2expr.c (dwarf_expr_stack_empty_p): New function. + (add_piece): Handle empty piece. + (execute_stack_op) <DW_OP_piece>: Handle + DWARF_VALUE_OPTIMIZED_OUT. + +2010-05-21 Tom Tromey <tromey@redhat.com> + * eval.c (evaluate_subexp_standard) <BINOP_SUBSCRIPT>: Call evaluate_subexp, not evaluate_subexp_with_coercion. |