On 05/01/2013 03:35 AM, anevilyak@xxxxxxxxx wrote:
diff --git a/headers/private/debug/debug_support.h b/headers/private/debug/debug_support.h index aa81652..5567c75 100644 --- a/headers/private/debug/debug_support.h +++ b/headers/private/debug/debug_support.h @@ -61,7 +62,7 @@ status_t debug_get_stack_frame(debug_context *context, typedef struct debug_symbol_lookup_context debug_symbol_lookup_context; typedef struct debug_symbol_iterator debug_symbol_iterator; -status_t debug_create_symbol_lookup_context(team_id team, +status_t debug_create_symbol_lookup_context(team_id team, image_id image, debug_symbol_lookup_context **lookupContext); void debug_delete_symbol_lookup_context( debug_symbol_lookup_context *lookupContext); @@ -77,6 +78,9 @@ status_t debug_lookup_symbol_address(debug_symbol_lookup_context *lookupContext, status_t debug_create_image_symbol_iterator( debug_symbol_lookup_context* lookupContext, image_id imageID, debug_symbol_iterator** _iterator); + // imageID can be -1 if all images in the target team are + // desired, otherwise a valid image id is expected. +
That comment seems to have been added to the wrong function. CU, Ingo