Mercurial > repos > blastem
diff debug.h @ 2371:1fe5afe263f3
Initial stab at user-defined functions in debugger language
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 09 Nov 2023 23:30:20 -0800 |
parents | 8c060849a503 |
children | 5f4917b9ecfa |
line wrap: on
line diff
--- a/debug.h Thu Nov 09 19:22:07 2023 -0800 +++ b/debug.h Thu Nov 09 23:30:20 2023 -0800 @@ -155,9 +155,9 @@ typedef struct { union { debug_native_func native; - parsed_command *commands; + command_block block; } impl; - uint32_t num_commands; + char **arg_names; int max_args; int min_args; uint8_t is_native; @@ -190,6 +190,7 @@ reader read_mem; writer write_mem; parsed_command last_cmd; + debug_val retval; uint32_t bp_index; uint32_t disp_index; uint32_t branch_t;