summaryrefslogtreecommitdiff
path: root/gdb/tracepoint.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2010-01-16 23:15:10 +0000
committerStan Shebs <shebs@apple.com>2010-01-16 23:15:10 +0000
commit7f4935be9eb2bb911fbed41d3c6b3ae2a9599701 (patch)
treee248c4f4a5291002a5767291c7f390753a8e0287 /gdb/tracepoint.h
parent1ef223661c2997015dadb5e3f2fd2357a4584a48 (diff)
downloadgdb-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.h4
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);