* frame.c (create_new_frame): Update the frame's cached PC before

finding its unwinder.  Use frame_id_build to build the new frame's
	id.
	* stack.c (parse_frame_specification_1): Correct setting ``addrs''
	array values from the ``args'' array values.
This commit is contained in:
Pedro Alves 2009-01-26 19:09:58 +00:00
parent 1deafd4ea5
commit 1e275f793e
3 changed files with 17 additions and 7 deletions

View file

@ -832,7 +832,7 @@ parse_frame_specification_1 (const char *frame_exp, const char *message,
{
int i;
for (i = 0; i < numargs; i++)
addrs[i] = value_as_address (args[0]);
addrs[i] = value_as_address (args[i]);
}
/* Assume that the single arg[0] is an address, use that to identify