2010-01-16 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Sat, 16 Jan 2010 23:15:11 +0000 (23:15 +0000)
committerStan Shebs <shebs@codesourcery.com>
Sat, 16 Jan 2010 23:15:11 +0000 (23:15 +0000)
commit98e03262218b5b1d3c954c30fd54bddd56bb4029
tree5f32d0dc48659de27db40b7871f1623ba29e3314
parentaecf9ed10d9670ba6832cdc1f0669665f2f8673d
2010-01-16  Stan Shebs  <stan@codesourcery.com>

* tracepoint.h (struct trace_status): Use unsigned long long
instead of size_t.
* tracepoint.c (trace_status_command): Fix printf directive.
(trace_save_command): Check fwrite returns, fix printf directive.
(trace_filename): New global.
(tfile_open): Set it, check read returns.
(tfile_close): Free trace_filename.
(tfile_get_traceframe_address): Check read returns.
(tfile_trace_find): Ditto.
(tfile_fetch_registers): Ditto.
(tfile_xfer_partial): Ditto.
(tfile_get_trace_state_variable_value): Ditto.
gdb/ChangeLog
gdb/tracepoint.c
gdb/tracepoint.h