mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-26 07:19:16 +08:00
Use gdb::checked_static_cast for tracepoints
This replaces some casts to 'tracepoint *' with checked_static_cast. Some functions are changed to accept a 'tracepoint *' now, for better type safety. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -667,7 +667,7 @@ target_get_trace_status (trace_status *ts)
|
||||
}
|
||||
|
||||
void
|
||||
target_get_tracepoint_status (breakpoint *tp, uploaded_tp *utp)
|
||||
target_get_tracepoint_status (tracepoint *tp, uploaded_tp *utp)
|
||||
{
|
||||
return current_inferior ()->top_target ()->get_tracepoint_status (tp, utp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user