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:
Augustin Cavalier
2024-07-23 16:21:56 -04:00
parent 372509626a
commit e33e65b36e
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -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
-2
View File
@@ -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);
}