debuggdbstub: uncomment parameters (nw)

These unused parameters don't cause any warnings, so I suggest they shouldn't be commented; make the implementations match their declarations.
This commit is contained in:
Patrick Mackinlay 2019-08-15 19:01:22 +07:00
parent 7be9bb7dee
commit 99648b1223
2 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@
#define LOG_SYSCALL (1U << 4) #define LOG_SYSCALL (1U << 4)
#define LOG_STATS (1U << 5) #define LOG_STATS (1U << 5)
#define VERBOSE (LOG_GENERAL) #define VERBOSE (LOG_GENERAL|LOG_TLB|LOG_EXCEPTION)
// operating system specific system call logging // operating system specific system call logging
#define SYSCALL_IRIX53 (1U << 0) #define SYSCALL_IRIX53 (1U << 0)
@ -304,6 +304,7 @@ void r4000_base_device::execute_run()
void r4000_base_device::execute_set_input(int inputnum, int state) void r4000_base_device::execute_set_input(int inputnum, int state)
{ {
logerror("interrupt %d state %d\n", inputnum, state);
if (state) if (state)
m_cp0[CP0_Cause] |= (CAUSE_IPEX0 << inputnum); m_cp0[CP0_Cause] |= (CAUSE_IPEX0 << inputnum);
else else

View File

@ -571,7 +571,7 @@ void debug_gdbstub::send_reply(const char *str)
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// Enable extended mode. // Enable extended mode.
debug_gdbstub::cmd_reply debug_gdbstub::handle_exclamation(const char */*buf*/) debug_gdbstub::cmd_reply debug_gdbstub::handle_exclamation(const char *buf)
{ {
m_extended_mode = true; m_extended_mode = true;
return REPLY_OK; return REPLY_OK;
@ -579,7 +579,7 @@ debug_gdbstub::cmd_reply debug_gdbstub::handle_exclamation(const char */*buf*/)
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// Indicate the reason the target halted. // Indicate the reason the target halted.
debug_gdbstub::cmd_reply debug_gdbstub::handle_question(const char */*buf*/) debug_gdbstub::cmd_reply debug_gdbstub::handle_question(const char *buf)
{ {
send_stop_packet(); send_stop_packet();
return REPLY_NONE; return REPLY_NONE;
@ -660,7 +660,7 @@ debug_gdbstub::cmd_reply debug_gdbstub::handle_H(const char *buf)
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// Kill request. // Kill request.
debug_gdbstub::cmd_reply debug_gdbstub::handle_k(const char */*buf*/) debug_gdbstub::cmd_reply debug_gdbstub::handle_k(const char *buf)
{ {
m_machine->schedule_exit(); m_machine->schedule_exit();
m_debugger_cpu->get_visible_cpu()->debug()->go(); m_debugger_cpu->get_visible_cpu()->debug()->go();