diff options
author | Pedro Alves <palves@redhat.com> | 2009-01-26 19:09:58 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-01-26 19:09:58 +0000 |
commit | 1e275f793e425abf454a7b8d98b411760115f52e (patch) | |
tree | 8a42d7ad211f3bd66c8aab825a6639e067b6c88c /gdb/stack.c | |
parent | 1deafd4ea5ec0948407fe58c3ea5d1737e000133 (diff) | |
download | gdb-1e275f793e425abf454a7b8d98b411760115f52e.zip gdb-1e275f793e425abf454a7b8d98b411760115f52e.tar.gz gdb-1e275f793e425abf454a7b8d98b411760115f52e.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |