This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bug in tracepoint protocol implementation


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]