thermosphere: gdb: add missing command list entries, fix warnings again

This commit is contained in:
TuxSH
2020-01-31 02:28:51 +00:00
parent 0509fa57ca
commit cf0b052590
11 changed files with 31 additions and 23 deletions

View File

@@ -6,6 +6,7 @@
*/
#include <stdio.h>
#include <string.h>
#include "thread.h"
#include "net.h"
@@ -75,7 +76,7 @@ GDB_DECLARE_QUERY_HANDLER(fThreadInfo)
u32 coreMask = ctx->attachedCoreList;
FOREACH_BIT (tmp, coreId, coreMask) {
n += sprintf(buf + n, "%x,", 1 + coreId);
n += sprintf(buf + n, "%lx,", 1 + coreId);
}
// Remove trailing comma