always save errdisp to file; hio changes
This commit is contained in:
parent
4c9fe186d7
commit
06bcb39721
@ -67,8 +67,8 @@ typedef struct PackedGdbHioRequest
|
|||||||
char functionName[16+1];
|
char functionName[16+1];
|
||||||
char paramFormat[8+1];
|
char paramFormat[8+1];
|
||||||
|
|
||||||
u32 parameters[8];
|
u64 parameters[8];
|
||||||
u32 stringLengths[8];
|
size_t stringLengths[8];
|
||||||
|
|
||||||
// Return
|
// Return
|
||||||
int retval;
|
int retval;
|
||||||
|
@ -235,7 +235,8 @@ void ERRF_HandleCommands(void *ctx)
|
|||||||
case 1: // Throw
|
case 1: // Throw
|
||||||
{
|
{
|
||||||
ERRF_FatalErrInfo *info = (ERRF_FatalErrInfo *)(cmdbuf + 1);
|
ERRF_FatalErrInfo *info = (ERRF_FatalErrInfo *)(cmdbuf + 1);
|
||||||
if(info->type != ERRF_ERRTYPE_LOGGED || info->procId == 0 || R_FAILED(ERRF_SaveErrorToFile(info)))
|
ERRF_SaveErrorToFile(info);
|
||||||
|
if(info->type != ERRF_ERRTYPE_LOGGED || info->procId == 0)
|
||||||
{
|
{
|
||||||
menuEnter();
|
menuEnter();
|
||||||
|
|
||||||
|
@ -69,10 +69,13 @@ int GDB_SendCurrentHioRequest(GDBContext *ctx)
|
|||||||
case 'i':
|
case 'i':
|
||||||
case 'I':
|
case 'I':
|
||||||
case 'p':
|
case 'p':
|
||||||
sprintf(tmp, ",%lx", ctx->currentHioRequest.parameters[i]);
|
sprintf(tmp, ",%lx", (u32)ctx->currentHioRequest.parameters[i]);
|
||||||
|
break;
|
||||||
|
case 'L':
|
||||||
|
sprintf(tmp, ",%llx", ctx->currentHioRequest.parameters[i]);
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
sprintf(tmp, ",%lx/%lx", ctx->currentHioRequest.parameters[i], ctx->currentHioRequest.stringLengths[nStr++]);
|
sprintf(tmp, ",%lx/%x", (u32)ctx->currentHioRequest.parameters[i], ctx->currentHioRequest.stringLengths[nStr++]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
tmp[0] = 0;
|
tmp[0] = 0;
|
||||||
|
Reference in New Issue
Block a user