* [committed] Don't clear active win32 threads
@ 2005-03-21 19:55 Christopher Faylor
2005-03-21 19:58 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2005-03-21 19:55 UTC (permalink / raw)
To: gdb-patches
I just committed this. Hopefully, it will fix a long-standing stupid thinko.
cgf
2005-03-21 Christopher Faylor <cgf@timesys.com>
* win32-nat.c (do_initial_child_stuff): Don't clear the thread list
here.
(do_initial_child_stuff): Move clearing of thread list to a place
before a thread ould be created.
(child_attach): Ditto.
Index: win32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/win32-nat.c,v
retrieving revision 1.101
diff -u -p -r1.101 win32-nat.c
--- win32-nat.c 8 Oct 2004 20:29:56 -0000 1.101
+++ win32-nat.c 21 Mar 2005 19:51:01 -0000
@@ -1440,7 +1441,6 @@ do_initial_child_stuff (DWORD pid)
current_event.dwProcessId = pid;
memset (¤t_event, 0, sizeof (current_event));
push_target (&deprecated_child_ops);
- child_init_thread_list ();
disable_breakpoints_in_shlibs (1);
child_clear_solibs ();
clear_proceed_status ();
@@ -1586,6 +1586,7 @@ child_attach (char *args, int from_tty)
pid = strtoul (args, 0, 0); /* Windows pid */
+ child_init_thread_list ();
ok = DebugActiveProcess (pid);
saw_create = 0;
@@ -1858,6 +1859,7 @@ child_create_inferior (char *exec_file,
}
}
+ child_init_thread_list ();
ret = CreateProcess (0,
args, /* command line */
NULL, /* Security */
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [committed] Don't clear active win32 threads
2005-03-21 19:55 [committed] Don't clear active win32 threads Christopher Faylor
@ 2005-03-21 19:58 ` Daniel Jacobowitz
2005-03-21 21:38 ` Christopher Faylor
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2005-03-21 19:58 UTC (permalink / raw)
To: gdb-patches; +Cc: Jerome Guitton
On Mon, Mar 21, 2005 at 02:55:14PM -0500, Christopher Faylor wrote:
> I just committed this. Hopefully, it will fix a long-standing stupid thinko.
>
> cgf
>
> 2005-03-21 Christopher Faylor <cgf@timesys.com>
>
> * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
> here.
> (do_initial_child_stuff): Move clearing of thread list to a place
> before a thread ould be created.
> (child_attach): Ditto.
Great. Does this obsolete Jerome's patch from last week?
2005-03-18 Jerome Guitton <guitton@gnat.com>
* win32-nat.c (child_kill_inferior): Clear the thread list.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [committed] Don't clear active win32 threads
2005-03-21 19:58 ` Daniel Jacobowitz
@ 2005-03-21 21:38 ` Christopher Faylor
2005-03-22 10:14 ` Jerome Guitton
0 siblings, 1 reply; 4+ messages in thread
From: Christopher Faylor @ 2005-03-21 21:38 UTC (permalink / raw)
To: Jerome Guitton, gdb-patches
On Mon, Mar 21, 2005 at 02:58:08PM -0500, Daniel Jacobowitz wrote:
>On Mon, Mar 21, 2005 at 02:55:14PM -0500, Christopher Faylor wrote:
>> I just committed this. Hopefully, it will fix a long-standing stupid thinko.
>>
>> cgf
>>
>> 2005-03-21 Christopher Faylor <cgf@timesys.com>
>>
>> * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
>> here.
>> (do_initial_child_stuff): Move clearing of thread list to a place
>> before a thread ould be created.
>> (child_attach): Ditto.
>
>Great. Does this obsolete Jerome's patch from last week?
>
>2005-03-18 Jerome Guitton <guitton@gnat.com>
>
> * win32-nat.c (child_kill_inferior): Clear the thread list.
Yes.
cgf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-03-22 10:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-21 19:55 [committed] Don't clear active win32 threads Christopher Faylor
2005-03-21 19:58 ` Daniel Jacobowitz
2005-03-21 21:38 ` Christopher Faylor
2005-03-22 10:14 ` Jerome Guitton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox