Re: [PATCH 2/3] Eliminate the 'the_core_target' global

Tom Tromey
2018-05-04T15:59:33Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> Currently, core_file_command calls 'the_core_target->detach()' even if
Pedro> the core target is not open and pushed on the target stack. If it is
Pedro> indeed not open, then the practical effect is that
Pedro> core_target::detach() prints "No core file now.". That is preserved
Pedro> by printing that directly from within core_file_command if not
Pedro> debugging a core.

I read this patch & it seemed fine to me.

Tom