* progspace.c (save_current_space_and_thread): Remove unnecessary
call to save_current_inferior.
This commit is contained in:
parent
47061676f3
commit
23a44de810
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-09-04 Doug Evans <dje@google.com>
|
||||
|
||||
* progspace.c (save_current_space_and_thread): Remove unnecessary
|
||||
call to save_current_inferior.
|
||||
|
||||
2013-09-04 Andrew Burgess <aburgess@broadcom.com>
|
||||
|
||||
* sh64-tdep.c (sh64_do_register): Return after printing message
|
||||
|
|
|
@ -471,7 +471,8 @@ save_current_space_and_thread (void)
|
|||
/* If restoring to null thread, we need to restore the pspace as
|
||||
well, hence, we need to save the current program space first. */
|
||||
old_chain = save_current_program_space ();
|
||||
save_current_inferior ();
|
||||
/* There's no need to save the current inferior here.
|
||||
That is handled by make_cleanup_restore_current_thread. */
|
||||
make_cleanup_restore_current_thread ();
|
||||
|
||||
return old_chain;
|
||||
|
|
Loading…
Add table
Reference in a new issue