diff options
author | Stan Shebs <shebs@apple.com> | 2010-01-16 23:15:10 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 2010-01-16 23:15:10 +0000 |
commit | 7f4935be9eb2bb911fbed41d3c6b3ae2a9599701 (patch) | |
tree | e248c4f4a5291002a5767291c7f390753a8e0287 /gdb/tracepoint.h | |
parent | 1ef223661c2997015dadb5e3f2fd2357a4584a48 (diff) | |
download | gdb-7f4935be9eb2bb911fbed41d3c6b3ae2a9599701.tar.gz |
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 b50266a7912..d26c9505089 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); |