diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-04 00:05:54 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-04 00:05:54 +0000 |
commit | 7a424e996978f50490eb0f8ed7142766bfca021e (patch) | |
tree | 8e3924868778ff871f4aa0af4deca08665e16c2f /gdb/valops.c | |
parent | 179f9f7a5ae3af7c20fb6cdab4cc98b420f1fb81 (diff) | |
download | gdb-7a424e996978f50490eb0f8ed7142766bfca021e.zip gdb-7a424e996978f50490eb0f8ed7142766bfca021e.tar.gz gdb-7a424e996978f50490eb0f8ed7142766bfca021e.tar.bz2 |
2002-12-03 Andrew Cagney <ac131313@redhat.com>
* frame.h (get_frame_id): Convert to a function.
(null_frame_id, frame_id_p): Declare.
(frame_id_eq, frame_id_inner): Declare.
(frame_id_build): New function.
* frame.c (get_frame_id): Update. Use null_frame_id.
(frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and
frame_id_inner.
(null_frame_id, frame_id_p): Define.
(frame_id_eq, frame_id_inner): Define.
(frame_id_build): New function.
* varobj.c (varobj_create): Update.
(varobj_update): Update.
* valops.c (value_assign): Update.
(new_root_variable): Update.
* infrun.c (save_inferior_status): Update.
* breakpoint.c (watch_command_1): Update.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index c0b534f..b7d50e5 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -649,7 +649,7 @@ value_assign (struct value *toval, struct value *fromval) /* Since modifying a register can trash the frame chain, we save the old frame and then restore the new frame afterwards. */ - get_frame_id (deprecated_selected_frame, &old_frame); + old_frame = get_frame_id (deprecated_selected_frame); /* Figure out which frame this is in currently. */ if (VALUE_LVAL (toval) == lval_register) |