This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR corefile/8210: Linux core files should use linux-thread-db.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]