kernel: Adjust documentation and revert reporting of all image deletions.
This only happens on team exit and exec. In the exec case, we can just document that this implies all images are removed from the team. It appears all consumers of the debugger API handle this correctly as-is.
This commit is contained in:
@@ -193,6 +193,7 @@ typedef enum {
|
||||
// one
|
||||
B_DEBUGGER_MESSAGE_TEAM_DELETED, // the debugged team is gone
|
||||
B_DEBUGGER_MESSAGE_TEAM_EXEC, // the debugged team executes exec()
|
||||
// (implies all images have been deleted)
|
||||
B_DEBUGGER_MESSAGE_THREAD_CREATED, // a thread has been created
|
||||
B_DEBUGGER_MESSAGE_THREAD_DELETED, // a thread has been deleted
|
||||
B_DEBUGGER_MESSAGE_IMAGE_CREATED, // an image has been created
|
||||
|
||||
@@ -227,8 +227,6 @@ remove_images(Team *team)
|
||||
|
||||
while ((image = (struct image*)list_remove_head_item(&images))
|
||||
!= NULL) {
|
||||
user_debug_image_deleted(&image->info.basic_info);
|
||||
sNotificationService.Notify(IMAGE_REMOVED, image);
|
||||
free(image);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user