diff options
author | Tim Newsome <tim@sifive.com> | 2019-01-25 15:31:42 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-01-25 15:31:42 -0800 |
commit | e186f62962673a3bfdee151693521d46f2adcefb (patch) | |
tree | 3019ca0f1cbe2fa157bd88442cf0021b48a3ca6c /src/server | |
parent | 96df1db7b17b5a2298150f21c1c1bee00ffbe0f9 (diff) | |
download | riscv-openocd-e186f62962673a3bfdee151693521d46f2adcefb.zip riscv-openocd-e186f62962673a3bfdee151693521d46f2adcefb.tar.gz riscv-openocd-e186f62962673a3bfdee151693521d46f2adcefb.tar.bz2 |
More cleanup.
Change-Id: I804bdcec23b69d77dfc376e23c6d1f29f99e7335
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/gdb_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 503a435..0cfe0ec 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -96,7 +96,7 @@ struct gdb_connection { char *thread_list; }; -#if 1 +#if 0 #define _DEBUG_GDB_IO_ #endif @@ -736,7 +736,7 @@ static void gdb_signal_reply(struct target *target, struct connection *connectio struct target *ct; if (target->rtos != NULL) { target->rtos->current_threadid = target->rtos->current_thread; - LOG_DEBUG("current_threadid=%ld", target->rtos->current_threadid); + LOG_DEBUG("current_threadid=%" PRId64, target->rtos->current_threadid); target->rtos->gdb_target_for_threadid(connection, target->rtos->current_threadid, &ct); } else { ct = target; |