diff options
author | Stan Shebs <shebs@codesourcery.com> | 2010-01-16 23:15:11 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2010-01-16 23:15:11 +0000 |
commit | 98e03262218b5b1d3c954c30fd54bddd56bb4029 (patch) | |
tree | 5f32d0dc48659de27db40b7871f1623ba29e3314 /gdb/tracepoint.h | |
parent | aecf9ed10d9670ba6832cdc1f0669665f2f8673d (diff) | |
download | gdb-98e03262218b5b1d3c954c30fd54bddd56bb4029.zip gdb-98e03262218b5b1d3c954c30fd54bddd56bb4029.tar.gz gdb-98e03262218b5b1d3c954c30fd54bddd56bb4029.tar.bz2 |
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.
Diffstat (limited to 'gdb/tracepoint.h')
-rw-r--r-- | gdb/tracepoint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tracepoint.h b/gdb/tracepoint.h index b50266a..d26c950 100644 --- a/gdb/tracepoint.h +++ b/gdb/tracepoint.h @@ -97,9 +97,9 @@ struct trace_status int traceframe_count; - size_t buffer_size; + unsigned long long buffer_size; - size_t buffer_free; + unsigned long long buffer_free; }; struct trace_status *current_trace_status (void); |