This almost trivial patch prevents GDB from sending a few tracepoint packets when no inferior is selected. This robustifies things a bit and complements the fix Antoine submitted for gdbserver. I'm not quite sure how a testcase for this would look like given it needs extended-remote mode and also needs to connect to the target without a running inferior. Luis