summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatarGravatar Patrick Mackinlay <pmackinlay@hotmail.com>2019-08-15 19:01:22 +0700
committerGravatarGravatar Patrick Mackinlay <pmackinlay@hotmail.com>2019-08-15 19:01:22 +0700
commit99648b1223cc86e8baf6f9193f9dd065e9671698 (patch) (github)
tree62c7e5c861048192f29cbd25f2fdc9950dc7d465 /src
parent7be9bb7deef87e64703125d3dc7bf5a1ee0e3d7c (diff)
downloadmame-99648b1223cc86e8baf6f9193f9dd065e9671698.tar.bz2
mame-99648b1223cc86e8baf6f9193f9dd065e9671698.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/mips/r4000.cpp3
-rw-r--r--src/osd/modules/debugger/debuggdbstub.cpp6
2 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/cpu/mips/r4000.cpp b/src/devices/cpu/mips/r4000.cpp
index 7e6ad52f5a0..15f05740430 100644
--- a/src/devices/cpu/mips/r4000.cpp
+++ b/src/devices/cpu/mips/r4000.cpp
@@ -40,7 +40,7 @@
#define LOG_SYSCALL (1U << 4)
#define LOG_STATS (1U << 5)
-#define VERBOSE (LOG_GENERAL)
+#define VERBOSE (LOG_GENERAL|LOG_TLB|LOG_EXCEPTION)
// operating system specific system call logging
#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)
{
+ logerror("interrupt %d state %d\n", inputnum, state);
if (state)
m_cp0[CP0_Cause] |= (CAUSE_IPEX0 << inputnum);
else
diff --git a/src/osd/modules/debugger/debuggdbstub.cpp b/src/osd/modules/debugger/debuggdbstub.cpp
index a800479edef..c521bd0d463 100644
--- a/src/osd/modules/debugger/debuggdbstub.cpp
+++ b/src/osd/modules/debugger/debuggdbstub.cpp
@@ -571,7 +571,7 @@ void debug_gdbstub::send_reply(const char *str)
//-------------------------------------------------------------------------
// 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;
return REPLY_OK;
@@ -579,7 +579,7 @@ debug_gdbstub::cmd_reply debug_gdbstub::handle_exclamation(const char */*buf*/)
//-------------------------------------------------------------------------
// 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();
return REPLY_NONE;
@@ -660,7 +660,7 @@ debug_gdbstub::cmd_reply debug_gdbstub::handle_H(const char *buf)
//-------------------------------------------------------------------------
// 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_debugger_cpu->get_visible_cpu()->debug()->go();