2002-07-17 Michal Ludvig <michal@suse.cz>

* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
	(update_context): Initialise cfa variable.
This commit is contained in:
Michal Ludvig 2002-07-19 09:40:51 +00:00
parent a40cbfa3c9
commit fb16b90083
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-17 Michal Ludvig <michal@suse.cz>
* dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value.
(update_context): Initialise cfa variable.
2002-07-17 Michael Snyder <msnyder@redhat.com>
* aix-thread.c: Shorten some long lines.

View File

@ -1227,7 +1227,8 @@ execute_stack_op (struct objfile *objfile,
case DW_OP_ne:
result = (LONGEST) first != (LONGEST) second;
break;
default: /* This label is here just to avoid warning. */
default:
error ("execute_stack_op: Unknown DW_OP_ value");
break;
}
}
@ -1271,7 +1272,7 @@ static void
update_context (struct context *context, struct frame_state *fs, int chain)
{
struct context *orig_context;
CORE_ADDR cfa;
CORE_ADDR cfa = 0;
long i;
unwind_tmp_obstack_init ();