From 1e275f793e425abf454a7b8d98b411760115f52e Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 26 Jan 2009 19:09:58 +0000 Subject: * 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. --- gdb/stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/stack.c') diff --git a/gdb/stack.c b/gdb/stack.c index c2b94f3..a1a7696 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -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 -- cgit v1.1