This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patchv2 1/2] 7.3 regression for corrupted core files threads
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 2 Jul 2012 22:28:55 +0200
- Subject: [commit] [patchv2 1/2] 7.3 regression for corrupted core files threads
- References: <20120417185432.GA7008@host2.jankratochvil.net> <4F917EF9.7080001@redhat.com> <20120522221853.GA11038@host2.jankratochvil.net>
On Wed, 23 May 2012 00:19:01 +0200, Jan Kratochvil wrote:
> gdb/
> 2012-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * linux-thread-db.c (inferior_has_bug): New function.
> (thread_db_find_new_threads_silently): Return boolean as checked by
> inferior_has_bug, describe it in the comments.
> (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently
> earlier. Abort the initialization if it returned non-zero.
> (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also
> if UNTIL_NO_NEW,
>
> gdb/testsuite/
> 2012-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
> Wrap the test into loop for corefile and core0file.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-07/msg00019.html
Thanks,
Jan