This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog dwarf2expr.c
- From: kevinb at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 14 May 2003 22:45:42 -0000
- Subject: src/gdb ChangeLog dwarf2expr.c
CVSROOT: /cvs/src
Module name: src
Changes by: kevinb@sourceware.org 2003-05-14 22:45:42
Modified files:
gdb : ChangeLog dwarf2expr.c
Log message:
* dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' to
correctly indicate an empty stack and ``stack_allocated'' to the
indicate the number of elements initially allocated.
(dwarf_expr_grow_stack): Simplify method for computing new
stack size. Don't loop infinitely if ``stack_len'' is zero.
(execute_stack_op): Move ``ctx->in_reg'' initialization
out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to
be used in conjuction with DW_OP_piece. Revise error message
accordingly.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.4186&r2=1.4187
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2expr.c.diff?cvsroot=src&r1=1.6&r2=1.7