summaryrefslogtreecommitdiffstats
path: root/src/osd/modules/debugger/debuggdbstub.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-10-12 19:06:54 +1100
committer Vas Crabb <vas@vastheman.com>2020-10-12 19:06:54 +1100
commitd6f7c7febffd2b5014d2d65ab607262be773c0e6 (patch)
treee4153c36940e9bd9251c1025c0e12dfd802e4ad1 /src/osd/modules/debugger/debuggdbstub.cpp
parent0b32e41c01620ecb69d2e1e647592fbb475f3457 (diff)
emu/debug: Removed more macros, added more const, make a couple more things use smart pointers.
Diffstat (limited to 'src/osd/modules/debugger/debuggdbstub.cpp')
-rw-r--r--src/osd/modules/debugger/debuggdbstub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debuggdbstub.cpp b/src/osd/modules/debugger/debuggdbstub.cpp
index b8c0bbe7b80..80e808ed38f 100644
--- a/src/osd/modules/debugger/debuggdbstub.cpp
+++ b/src/osd/modules/debugger/debuggdbstub.cpp
@@ -889,7 +889,7 @@ debug_gdbstub::cmd_reply debug_gdbstub::handle_q(const char *buf)
if ( !hex_decode(&data, buf, strlen(buf) / 2) )
return REPLY_ENN;
std::string command(data.begin(), data.end());
- text_buffer *textbuf = m_debugger_console->get_console_textbuf();
+ text_buffer &textbuf = m_debugger_console->get_console_textbuf();
text_buffer_clear(textbuf);
m_debugger_console->execute_command(command, false);
uint32_t nlines = text_buffer_num_lines(textbuf);