diff options
Diffstat (limited to 'mixlib/mix_vm.h')
-rw-r--r-- | mixlib/mix_vm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mixlib/mix_vm.h b/mixlib/mix_vm.h index 91d1d28..ac734d7 100644 --- a/mixlib/mix_vm.h +++ b/mixlib/mix_vm.h @@ -1,7 +1,7 @@ /* ---------------------- mix_vm.h : * Types and functions implementing the MIX virtual machine * ------------------------------------------------------------------ - * Copyright (C) 2000 jose antonio ortega ruiz <jaortega@acm.org> + * Copyright (C) 2000, 2001 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -128,6 +128,10 @@ mix_vm_get_symbol_table (const mix_vm_t *vm); extern mix_address_t mix_vm_get_prog_count (const mix_vm_t *vm); +/* Get the source line number for a given address */ +extern guint +mix_vm_get_address_lineno (const mix_vm_t *vm, mix_address_t addr); + /* Reposition program counter and reset state so that a loaded program can be restarted. */ |