2010-03-29 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Mon, 29 Mar 2010 23:45:06 +0000 (23:45 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 29 Mar 2010 23:45:06 +0000 (23:45 +0000)
commit409873ef5c8a7aefdf9fe2fbb83e87ade071be27
treee888cd070ef3be76fddeeba7fa0cdf3dba847d0a
parent2aab228b95db7a8ae3864297c9596a359893f1ec
2010-03-29  Stan Shebs  <stan@codesourcery.com>

* tracepoint.h (struct uploaded_string): New struct.
(struct uploaded_tp): New fields for source strings.
* breakpoint.c (this_utp, next_cmd): New globals.
(read_uploaded_action): New function.
(create_tracepoint_from_upload): Fill in more parts
of a tracepoint.
* tracepoint.c (encode_source_string): New function.
(trace_save): Write out source strings, fix error checks.
(parse_tracepoint_definition): Add source string parsing.
* remote.c (PACKET_TracepointSource): New packet type.
(remote_download_command_source): New function.
(remote_download_tracepoint): Download source pieces also.
(_initialize_remote): Add packet config command.

* gdb.texinfo (Tracepoint Packets): Describe QTDPsrc.
(General Query Packets): Describe TracepointSource.
gdb/ChangeLog
gdb/breakpoint.c
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/remote.c
gdb/tracepoint.c
gdb/tracepoint.h