diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 00:18:47 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-02 00:18:47 +0000 |
commit | 720b3aed42496ecd97289ec5c9929336fb39a928 (patch) | |
tree | d9c390411bd49fd01367c72475b8028a7a75c0de /gdb/core.c | |
parent | 3245e377e4982fb9a24168773ba44316cfbf57cf (diff) | |
download | gdb-720b3aed42496ecd97289ec5c9929336fb39a928.zip gdb-720b3aed42496ecd97289ec5c9929336fb39a928.tar.gz gdb-720b3aed42496ecd97289ec5c9929336fb39a928.tar.bz2 |
New print_address for disassemblers, merge a29k and i960 disassemblers
Diffstat (limited to 'gdb/core.c')
-rw-r--r-- | gdb/core.c | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -161,9 +161,7 @@ read_memory (memaddr, myaddr, len) memory_error (status, memaddr); } -/* Like target_read_memory, but slightly different parameters. - - FIXME: not according to it's prototype. 930331 krp. */ +/* Like target_read_memory, but slightly different parameters. */ int dis_asm_read_memory (memaddr, myaddr, len, info) @@ -185,6 +183,15 @@ dis_asm_memory_error (status, memaddr, info) memory_error (status, memaddr); } +/* Like print_address with slightly different parameters. */ +void +dis_asm_print_address (addr, info) + bfd_vma addr; + struct disassemble_info *info; +{ + print_address (addr, info->stream); +} + /* Same as target_write_memory, but report an error if can't write. */ void write_memory (memaddr, myaddr, len) |