mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user