aboutsummaryrefslogtreecommitdiff
path: root/gdb/disasm.c
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-01-26 14:29:19 +0000
committerYao Qi <yao.qi@linaro.org>2017-01-26 14:29:19 +0000
commit8cafda321ca8588a9e42d78d8713b031696405bc (patch)
tree36a1238fcd78e6d8a899a46d7f892fb1ce7ccaf0 /gdb/disasm.c
parente47ad6c0bd7aa388b1bd488f6ef522c20c0b94ed (diff)
downloadgdb-8cafda321ca8588a9e42d78d8713b031696405bc.zip
gdb-8cafda321ca8588a9e42d78d8713b031696405bc.tar.gz
gdb-8cafda321ca8588a9e42d78d8713b031696405bc.tar.bz2
Call print_insn_mep in mep_gdb_print_insn
opcodes/mep-dis.c:mep_print_insn has already had the code to handle the case when info->section is NULL, /* Picking the right ISA bitmask for the current context is tricky. */ if (info->section) { } else /* sid or gdb */ { } so that we can still cal print_insn_mep even section can't be found. On the other hand, user can disassemble an arbitrary address which doesn't map to any section at all. gdb: 2017-01-26 Yao Qi <yao.qi@linaro.org> * mep-tdep.c (mep_gdb_print_insn): Set info->arch to bfd_arch_mep. Don't return 0 if section is not found. Call print_insn_mep.
Diffstat (limited to 'gdb/disasm.c')
0 files changed, 0 insertions, 0 deletions