From 86e7693df08201e82d06e8f23a77cc5982e3dcd3 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 13 Apr 2020 19:57:13 -0400 Subject: 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 --- src/emu/debug/debugcon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/emu/debug/debugcon.cpp') 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) { -- cgit v1.2.3