aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-03-05 18:00:02 +0000
committerDaniel Jacobowitz <drow@false.org>2003-03-05 18:00:02 +0000
commite4adbba915b3e74f7c60b33febde7994dbb83e17 (patch)
tree1433f7365708e4d3d5d991eb1af8910dc4731a64 /gdb/dwarf2expr.c
parentbba45b8bf7e27dae79bcbb58541ab62743ff7ac0 (diff)
downloadgdb-e4adbba915b3e74f7c60b33febde7994dbb83e17.zip
gdb-e4adbba915b3e74f7c60b33febde7994dbb83e17.tar.gz
gdb-e4adbba915b3e74f7c60b33febde7994dbb83e17.tar.bz2
* dwarf2expr.c (new_dwarf_expr_context): Add (void) to definition.
* dwarf2loc.c: Include "regcache.h". (dwarf_expr_read_reg): Rename regnum argument to dwarf_regnum. Use register_size. * Makefile.in (dwarf2loc.o): Update dependencies.
Diffstat (limited to 'gdb/dwarf2expr.c')
-rw-r--r--gdb/dwarf2expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index df6fc73..7456979 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -35,7 +35,7 @@ static void execute_stack_op (struct dwarf_expr_context *,
/* Create a new context for the expression evaluator. */
struct dwarf_expr_context *
-new_dwarf_expr_context ()
+new_dwarf_expr_context (void)
{
struct dwarf_expr_context *retval;
retval = xcalloc (1, sizeof (struct dwarf_expr_context));