summaryrefslogtreecommitdiffstats
path: root/src/emu/debug/debugcon.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-04-13 19:57:13 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-04-13 20:04:25 -0400
commit86e7693df08201e82d06e8f23a77cc5982e3dcd3 (patch)
treeedee95c1e7f8d65e3201b73338e136ceb2abb352 /src/emu/debug/debugcon.cpp
parentdcf2109120ef5ec5c65ee6e15de46bea1d8f2822 (diff)
Make expressions octal for applicable address spaces in disassembly view
debug/express.cpp, debugcpu.cpp: General cleanup (nw) - Change default base from hardcoded macro to dynamic parameter for parsed_expression - Change symbol table parameters and variables to references or std::reference_wrapper - Remove the (unused) ability to construct a parsed_expression without a symbol table - Eliminate symbol_table &table and void *memory_param arguments from callbacks (superfluous now that std::function can bind everything necessary) - Eliminate globalref pointer from symbol_table - Add explicitly defaulted move constructor and move assignment operator
Diffstat (limited to 'src/emu/debug/debugcon.cpp')
-rw-r--r--src/emu/debug/debugcon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/debug/debugcon.cpp b/src/emu/debug/debugcon.cpp
index 9219df2f0ca..2c5989a8faa 100644
--- a/src/emu/debug/debugcon.cpp
+++ b/src/emu/debug/debugcon.cpp
@@ -334,8 +334,7 @@ CMDERR debugger_console::internal_parse_command(const std::string &original_comm
{
try
{
- u64 expresult;
- parsed_expression expression(m_machine.debugger().cpu().get_visible_symtable(), command_start, &expresult);
+ parsed_expression(m_machine.debugger().cpu().visible_symtable(), command_start).execute();
}
catch (expression_error &err)
{