// by Jean-Paul Mari\r
//\r
// JPM = Jean-Paul Mari <djipi.mari@gmail.com>\r
+// RG = Richard Goedeken\r
//\r
// Who When What\r
// --- ---------- -----------------------------------------------------------\r
// JPM 11/03/2017 Created this file\r
// JPM Sept./2018 Added a status bar and better status report, and set information values in a tab\r
+// RG Jan./2021 Linux build fixes\r
//\r
\r
// STILL TO DO:\r
// To add a filter\r
//\r
\r
+#include <stdlib.h>\r
\r
#include "debugger/localbrowser.h"\r
#include "memory.h"\r
if ((LocalInfo[i].Op >= DBG_OP_reg0) && (LocalInfo[i].Op <= DBG_OP_reg31))\r
{\r
LocalInfo[i].PtrCPURegisterName = (char *)CPURegName[(LocalInfo[i].Op - DBG_OP_reg0)];\r
- PtrValue = itoa(m68k_get_reg(NULL, (m68k_register_t)((size_t)M68K_REG_D0 + (LocalInfo[i].Op - DBG_OP_reg0))), Value1, 10);\r
+ sprintf(Value1, "%d", m68k_get_reg(NULL, (m68k_register_t)((size_t)M68K_REG_D0 + (LocalInfo[i].Op - DBG_OP_reg0))));\r
+ PtrValue = Value1;\r
}\r
else\r
{\r