summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-09-07 16:00:21 +0000
committerJim Blandy <jimb@codesourcery.com>2004-09-07 16:00:21 +0000
commitcb00e3184d675cfb741e2e739cfc6e2f40a52feb (patch)
treea88c70fe9022bb6ae21f9f6230261457b9588112
parent5538cd290fabcef85482b1b7b9f2c33fecb0e2a8 (diff)
downloadgdb-cb00e3184d675cfb741e2e739cfc6e2f40a52feb.tar.gz
Merge changes from trunk:
2004-08-24 Jim Blandy <jimb@redhat.com> * dwarf2expr.h (struct dwarf_expr_context): New members 'num_pieces' and 'pieces', for returning the result of an expression that uses DW_OP_piece. (struct dwarf_expr_piece): New struct type. * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and pieces. (free_dwarf_expr_context): Free pieces, if any. (add_piece): New function. (execute_stack_op): Implement DW_OP_piece. * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the expression is a list of pieces, print an error message. (dwarf2_loc_desc_needs_frame): If the expression yields pieces, and any piece is in a register, then we need a frame. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of the stack until we've decided what sort of result the evaluation has produced. Use separate variables, with more specific names.
-rw-r--r--gdb/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 373b415f970..5cffd3143bb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -5,6 +5,28 @@
(rs6000_gdbarch_init): Hook in dwarf2_frame_sniffer.
* Makefile.in (rs6000-tdep.o): Update dependencies.
+ Merge changes from trunk:
+
+ 2004-08-24 Jim Blandy <jimb@redhat.com>
+
+ * dwarf2expr.h (struct dwarf_expr_context): New members
+ 'num_pieces' and 'pieces', for returning the result of an
+ expression that uses DW_OP_piece.
+ (struct dwarf_expr_piece): New struct type.
+ * dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
+ pieces.
+ (free_dwarf_expr_context): Free pieces, if any.
+ (add_piece): New function.
+ (execute_stack_op): Implement DW_OP_piece.
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
+ expression is a list of pieces, print an error message.
+ (dwarf2_loc_desc_needs_frame): If the expression yields
+ pieces, and any piece is in a register, then we need a frame.
+
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
+ the stack until we've decided what sort of result the evaluation
+ has produced. Use separate variables, with more specific names.
+
2004-09-01 Jim Blandy <jimb@redhat.com>
Allow access to all 64 bits of the SPE GPR's in multi-threaded