bug in tracepoint protocol implementation

Josef Ezra jezra@emc.com
Mon Oct 2 11:04:00 GMT 2000


hi

file: tracepoint.c
function: stringify_collection_list

old:
   count += strlen (end);
   end += count ;

new:
    count += strlen (end);
    end = temp_buf + count ;

reasoning:
When saving more then one memrange parameter, the old code leaves 'gaps' in
the temp_buf string.

Looks like few are using gdb's tracepoints (otherwise this bug wouldn't
survive that long).

Josef Ezra
EMC2
jezra@emc.com




More information about the Gdb-patches mailing list