From: Christopher Faylor <me@cgf.cx>
To: gdb-patches@sourceware.org
Subject: [committed] Don't clear active win32 threads
Date: Mon, 21 Mar 2005 19:55:00 -0000 [thread overview]
Message-ID: <20050321195514.GA30319@coe.casa.cgf.cx> (raw)
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 */
next reply other threads:[~2005-03-21 19:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 19:55 Christopher Faylor [this message]
2005-03-21 19:58 ` Daniel Jacobowitz
2005-03-21 21:38 ` Christopher Faylor
2005-03-22 10:14 ` Jerome Guitton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050321195514.GA30319@coe.casa.cgf.cx \
--to=me@cgf.cx \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox