* When a team debugger is installed automatically, the thread causing that is

stored now.
* Extended the debugger message for B_DEBUGGER_MESSAGE_HANDED_OVER by the
  causing thread.
* Also send B_DEBUGGER_MESSAGE_HANDED_OVER to the debugger to which the team
  was handed over. The message will be the very first one the debugger gets
  from the team in question.
* Some harmless refactoring (added thread_hit_serious_debug_event()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29302 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-02-23 22:59:45 +00:00
parent 180e55a48b
commit e1975d3353
3 changed files with 141 additions and 112 deletions
+5 -1
View File
@@ -176,7 +176,8 @@ typedef enum {
// thread
B_DEBUGGER_MESSAGE_HANDED_OVER, // the debugged team has been
// handed over to another debugger
// handed over to another debugger,
// sent to both debuggers
} debug_debugger_message;
@@ -589,6 +590,9 @@ typedef struct {
// (asynchronous message)
team_id debugger; // the new debugger
port_id debugger_port; // the port the new debugger uses
thread_id causing_thread; // the thread that caused entering the
// debugger in the first place, -1 if the
// debugger wasn't attached automatically
} debug_handed_over;
// union of all messages structures sent to the debugger