On Thu, 15 Jan 2015 20:29:07 +0100, Doug Evans wrote: > On Thu, Jan 15, 2015 at 10:33 AM, Jan Kratochvil wrote: > > Should GDB always print after loading a core file what "thread" command would > > print? > > [Current thread is 1 (Thread 0x7fcbe28fe700 (LWP 15453))] > > Sounds reasonable to me. > Though there is the concern to not even talk about threads if there are "none". > So maybe only print that if there is more than one thread? Attached. BTW I think it will print the thread even when loading single/non-threaded core file when other inferior(s) exist. But that currently crashes [Bug threads/12074] multi-inferior internal error https://sourceware.org/bugzilla/show_bug.cgi?id=12074 plus I think that would be a correct behavior anyway. No regressions on {x86_64,x86_64-m32}-fedora22pre-linux-gnu. Jan