This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PR corefile/8210: Linux core files should use linux-thread-db.c
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 18 Aug 2010 13:28:38 +0100
- Subject: Re: PR corefile/8210: Linux core files should use linux-thread-db.c
- References: <201008142005.49256.pedro@codesourcery.com>
On Saturday 14 August 2010 20:05:49, Pedro Alves wrote:
> PR corefile/8210
>
> gdb/
> * linux-thread-db.c (add_thread_db_info): Skip glibc/BZ5983
> workaround on core files.
> (try_thread_db_load_1): Don't try enabling thread event reporting
> on core files.
> (thread_db_load): Allow thread_db on core files.
> (attach_thread): Don't check thread signals on core files, nor try
> really attaching to the thread, nor enabling thread event event
> reporting.
> (thread_db_detach): Don't try disabing thread event reporting or
> removing thread event breakpoints when debugging a core file.
> (find_new_threads_callback): Don't try enabling thread event
> reporting on core files.
> (thread_db_find_new_threads_2): Don't look for a stopped lwp when
> debugging a core file.
> (thread_db_find_new_threads): Don't update thread
> cores (processors) when debugging a core (dump).
I've applied this as well.
--
Pedro Alves