aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2002-02-05 19:40:45 +0000
committerFrank Ch. Eigler <fche@redhat.com>2002-02-05 19:40:45 +0000
commitcadaa5224a27a03e954df59576f41d0f6b75a443 (patch)
treeacb3fc69ac0757184210cb1256bf7446253fb02c /opcodes
parent39bf46527b510510051c37d12638e5b3af6ac739 (diff)
downloadgdb-cadaa5224a27a03e954df59576f41d0f6b75a443.zip
gdb-cadaa5224a27a03e954df59576f41d0f6b75a443.tar.gz
gdb-cadaa5224a27a03e954df59576f41d0f6b75a443.tar.bz2
* opcodes disassembler extension
[includes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * dis-asm.h (disassemble_info): New field `insn_sets'. (INIT_DISASSEMBLE_INFO): Clear it. [opcodes] 2002-02-04 Frank Ch. Eigler <fche@redhat.com> * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/cgen-dis.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3230a49..7454484 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-04 Frank Ch. Eigler <fche@redhat.com>
+
+ * cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
+
2002-02-04 Alexandre Oliva <aoliva@redhat.com>
* sh-opc.h (sh_arg_type): Added A_DISP_PC_ABS.
diff --git a/opcodes/cgen-dis.in b/opcodes/cgen-dis.in
index f2c9dd5..c78723e 100644
--- a/opcodes/cgen-dis.in
+++ b/opcodes/cgen-dis.in
@@ -386,7 +386,7 @@ print_insn_@arch@ (pc, info)
#ifdef CGEN_COMPUTE_ISA
isa = CGEN_COMPUTE_ISA (info);
#else
- isa = 0;
+ isa = info->insn_sets;
#endif
/* If we've switched cpu's, close the current table and open a new one. */