aboutsummaryrefslogtreecommitdiff
path: root/gdb/core.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-04-02 00:18:47 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-04-02 00:18:47 +0000
commit720b3aed42496ecd97289ec5c9929336fb39a928 (patch)
treed9c390411bd49fd01367c72475b8028a7a75c0de /gdb/core.c
parent3245e377e4982fb9a24168773ba44316cfbf57cf (diff)
downloadgdb-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.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/gdb/core.c b/gdb/core.c
index a513dbc..f80f66c 100644
--- a/gdb/core.c
+++ b/gdb/core.c
@@ -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)