From c0f61f9c377a278ce83259cbf2251e178bbc0e85 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 14 Feb 2011 19:19:18 +0000 Subject: gdb/ * memrange.c (compare_mem_ranges): Mention sort order in describing comment. (normalize_mem_ranges): Add comment. Fix ra->length calculation. * tracepoint.c (traceframe_available_memory): Extend comment to mention what happens to RESULT when the target does not support the query. --- gdb/tracepoint.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gdb/tracepoint.c') diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 3eae937..4389f12 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -4635,10 +4635,11 @@ get_traceframe_info (void) return traceframe_info; } -/* Return in RESULT, the set of collected memory in the current - traceframe, found within the LEN bytes range starting at MEMADDR. - Returns true if the target supports the query, otherwise returns - false. */ +/* If the target supports the query, return in RESULT the set of + collected memory in the current traceframe, found within the LEN + bytes range starting at MEMADDR. Returns true if the target + supports the query, otherwise returns false, and RESULT is left + undefined. */ int traceframe_available_memory (VEC(mem_range_s) **result, -- cgit v1.1