[PATCH 1/3] Avoid find_thread_ptid with null_ptid

Tom Tromey tom@tromey.com
Tue Oct 2 21:14:00 GMT 2018


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

[...]
Pedro> But I can add it if you prefer.

No, that's fine.

>> I wonder if it is possible for an RSP implementation to say that the
>> inferior has PID 0.

Pedro> GDB would break down badly.  Throughout we assume pid == 0 means the
Pedro> inferior/process is not started.

Thanks.

Tom



More information about the Gdb-patches mailing list