Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
2005-04-22 Chris Toshok <toshok@ximian.com>
Browse files Browse the repository at this point in the history
	* backends/MonoThreadManager.cs (MonoThreadManager.ThreadCreated):
	fix for use with the new io-layer, which appears to create an
	additional thread at runtime startup.  This change is evil, and
	this code is also evil.  There has to be a better way for the
	debugger to figure out which is the main managed thread.


svn path=/trunk/debugger/; revision=43463
  • Loading branch information
Chris Toshok committed Apr 22, 2005
1 parent 016a448 commit 9daf87b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
2005-04-22 Chris Toshok <toshok@ximian.com>

* backends/MonoThreadManager.cs (MonoThreadManager.ThreadCreated):
fix for use with the new io-layer, which appears to create an
additional thread at runtime startup. This change is evil, and
this code is also evil. There has to be a better way for the
debugger to figure out which is the main managed thread.

2005-04-19 Chris Toshok <toshok@ximian.com>

* frontend/Command.cs (CdCommand.DoExecute): special handling for
Expand Down
2 changes: 1 addition & 1 deletion backends/MonoThreadManager.cs
Expand Up @@ -103,7 +103,7 @@ void do_initialize (Inferior inferior)

if (first_index == 0) {
is_nptl = caller_inferior == this.inferior;
first_index = is_nptl ? 2 : 3;
first_index = is_nptl ? 3 : 4;
}

if (thread_hash.Count == first_index) {
Expand Down

0 comments on commit 9daf87b

Please sign in to comment.