This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix gdb/669 (fwd)
- From: Mark Kettenis <kettenis at chello dot nl>
- To: ezannoni at redhat dot com
- Cc: msnyder at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Fri, 8 Nov 2002 21:07:17 +0100 (CET)
- Subject: Re: [RFA] Fix gdb/669 (fwd)
- References: <Pine.LNX.4.44.0210071103060.3979-100000@valrhona.uglyboxes.com> <15818.32656.175772.61561@localhost.redhat.com>
From: Elena Zannoni <ezannoni@redhat.com>
Date: Thu, 7 Nov 2002 09:58:24 -0500
re-ping.....
> 2002-09-05 Keith Seitz <keiths@redhat.com>
>
> * thread.c (do_captured_list_thread_ids): Call prune_threads and
> target_find_new_threads.
This patch is OK although...
> Patch
> Index: thread.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/thread.c,v
> retrieving revision 1.23
> diff -p -r1.23 thread.c
> *** thread.c 2 Aug 2002 20:51:21 -0000 1.23
> --- thread.c 24 Sep 2002 19:32:40 -0000
> *************** do_captured_list_thread_ids (struct ui_o
> *** 262,267 ****
> --- 262,269 ----
> struct thread_info *tp;
> int num = 0;
>
> + prune_threads ();
> + target_find_new_threads ();
... I'd prefer a blank line here.
> ui_out_tuple_begin (uiout, "thread-ids");
>
> for (tp = thread_list; tp; tp = tp->next)
>