diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-22 09:02:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-22 09:02:23 +0000 |
commit | 74b7792f0fcae41f7c7da524527b7261a3fd68c4 (patch) | |
tree | b88a9a20c59780f3b51c4819b6dea5acce3ec446 /gdb/valops.c | |
parent | 32c092c3fab0ca778242005a793cc4641c3e1b4b (diff) | |
download | gdb-74b7792f0fcae41f7c7da524527b7261a3fd68c4.zip gdb-74b7792f0fcae41f7c7da524527b7261a3fd68c4.tar.gz gdb-74b7792f0fcae41f7c7da524527b7261a3fd68c4.tar.bz2 |
Purge (almost) make_cleanup_func.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 14e9294..8034fc5 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1364,8 +1364,7 @@ hand_function_call (function, nargs, args) noprocess (); inf_status = save_inferior_status (1); - old_chain = make_cleanup ((make_cleanup_func) restore_inferior_status, - inf_status); + old_chain = make_cleanup_restore_inferior_status (inf_status); /* PUSH_DUMMY_FRAME is responsible for saving the inferior registers (and POP_FRAME for restoring them). (At least on most machines) |