diff options
Diffstat (limited to 'gdbserver/tracepoint.cc')
-rw-r--r-- | gdbserver/tracepoint.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdbserver/tracepoint.cc b/gdbserver/tracepoint.cc index 715cc63..e1044dc 100644 --- a/gdbserver/tracepoint.cc +++ b/gdbserver/tracepoint.cc @@ -20,7 +20,6 @@ #include "gdbthread.h" #include "gdbsupport/rsp-low.h" -#include <ctype.h> #include <fcntl.h> #include <unistd.h> #include <chrono> @@ -1867,7 +1866,7 @@ add_tracepoint_action (struct tracepoint *tpoint, const char *packet) trace_debug ("Want to collect registers"); ++act; /* skip past hex digits of mask for now */ - while (isxdigit(*act)) + while (c_isxdigit(*act)) ++act; break; } @@ -3461,8 +3460,8 @@ cmd_qtstatus (char *packet) free_space (), phex_nz (trace_buffer_hi - trace_buffer_lo, 0), circular_trace_buffer, disconnected_tracing, - phex_nz (tracing_start_time, sizeof (tracing_start_time)), - phex_nz (tracing_stop_time, sizeof (tracing_stop_time)), + phex_nz (tracing_start_time), + phex_nz (tracing_stop_time), buf1, buf2); } @@ -4990,7 +4989,7 @@ build_traceframe_info_xml (char blocktype, unsigned char *dataptr, void *data) dataptr += sizeof (mlen); string_xml_appendf (*buffer, "<memory start=\"0x%s\" length=\"0x%s\"/>\n", - paddress (maddr), phex_nz (mlen, sizeof (mlen))); + paddress (maddr), phex_nz (mlen)); break; } case 'V': |