This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.6] Fix 7.5 regression crashing GDB if gdbserver dies
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Hui Zhu <hui_zhu at mentor dot com>
- Date: Fri, 22 Mar 2013 20:13:16 +0000
- Subject: Re: [patch+7.6] Fix 7.5 regression crashing GDB if gdbserver dies
- References: <20130315195359 dot GA19841 at host2 dot jankratochvil dot net> <514C50EF dot 6030202 at redhat dot com> <20130322191841 dot GA29259 at host2 dot jankratochvil dot net> <514CB6D4 dot 9070909 at redhat dot com> <87620jw6ga dot fsf at fleche dot redhat dot com>
On 03/22/2013 08:00 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> Debugging a live production system with kgdb? I don't buy
> Pedro> that, really.
>
> IIRC, this is the use case that tracepoints were designed for.
> So presumably it does happen.
Hui's KGTP tracepoints stuff is not in mainline, and at least
at the vintage of the broken kgdb, was not part of kgdb at all:
http://www.sourceware.org/ml/gdb/2010-09/msg00134.html .
It implements its own RSP handling.
(I've never heard of Jim Blandy's previous effort for tracepoints
in the kernel ending up used, or in production.)
--
Pedro Alves