* Added architecture specific structure to thread_debug_info.

* Added event callbacks for break- and watchpoints and single stepping.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11520 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-03-01 23:47:59 +00:00
parent 0d3bc46a84
commit ae7c619aae
2 changed files with 21 additions and 0 deletions
+4
View File
@@ -51,6 +51,8 @@ struct thread_debug_info {
// won't go).
port_id debug_port;
// the port the thread is waiting on for commands from the nub thread
struct arch_thread_debug_info arch_info;
};
#define GRAB_TEAM_DEBUG_INFO_LOCK(info) acquire_spinlock(&(info).lock)
@@ -131,6 +133,8 @@ void user_debug_thread_created(thread_id threadID);
void user_debug_thread_deleted(team_id teamID, thread_id threadID);
void user_debug_image_created(const image_info *imageInfo);
void user_debug_image_deleted(const image_info *imageInfo);
void user_debug_break_or_watchpoint_hit(bool watchpoint);
void user_debug_single_stepped();
// syscalls