cleanup fixes for remote-mips.c
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:03:00 +0000 (17:03 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:03:00 +0000 (17:03 +0000)
commitd6a2e54a5d26fe98bd8a44b03cbec133188435ed
tree79e3493d64cc558823357b9cd945fde9b48b5fee
parent48be7c1b927d5f7a8a73aef6cf840284b272dde4
cleanup fixes for remote-mips.c

remote-mips.c has a few 'return's where cleanups are not run.

* remote-mips.c (mips_exit_debug): Call do_cleanups on all
return paths.
(mips_initialize): Likewise.
(common_open): Call do_cleanups.
gdb/ChangeLog
gdb/remote-mips.c