From 632ea0ccc5c4c3f9fc06881bfedfc4b075873941 Mon Sep 17 00:00:00 2001 From: "gdb-2.5.1" Date: Mon, 2 May 1988 01:00:00 +0100 Subject: gdb-2.5.1 --- gdb/findvar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/findvar.c') diff --git a/gdb/findvar.c b/gdb/findvar.c index 1f92b16..465e00a 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -213,7 +213,7 @@ read_var_value (var, frame) register int len; if (SYMBOL_CLASS (var) == LOC_BLOCK) - type = lookup_function_type (type); + type = lookup_function_type (type, 0); v = allocate_value (type); VALUE_LVAL (v) = lval_memory; /* The most likely possibility. */ @@ -368,7 +368,7 @@ locate_var_value (var, frame) test.i = 1; if (test.c != 1 && len < REGISTER_RAW_SIZE (val)) /* Big-endian, and we want less than full size. */ - addr+ = REGISTER_RAW_SIZE (val) - len; + addr += REGISTER_RAW_SIZE (val) - len; break; } error ("Address requested for identifier \"%s\" which is in a register.", -- cgit v1.1