[RFA] Remove unnecessary call to save_current_inferior

Doug Evans dje@google.com
Tue Sep 3 20:17:00 GMT 2013


On Mon, Sep 2, 2013 at 12:05 PM, Pedro Alves <palves@redhat.com> wrote:
> On 08/29/2013 07:11 PM, Doug Evans wrote:
>> Hi.
>> AFAICT the call to save_current_inferior here is unnecessary.
>
> What if there are no threads in the current inferior?

I considered that, at least I tried to ...
Does make_cleanup_restore_current_thread/do_restore_current_thread_cleanup
not handle it?



More information about the Gdb-patches mailing list