- Backport + testcase for PPC Power6/DFP instructions disassembly (BZ

230000).
- Resolves: rhbz#230000
This commit is contained in:
Jan Kratochvil 2007-02-25 21:43:15 +00:00
commit 9548cfeea8
3 changed files with 94 additions and 1 deletions

View file

@ -498,3 +498,26 @@ https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209445
/* Enable thread event reporting for this thread. */
err = td_thr_event_enable_p (th_p, 1);
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=230000
2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
* rs6000-tdep.c (gdb_print_insn_powerpc): Set
info->disassembler_options to "any".
--- ./gdb/rs6000-tdep.c 8 Feb 2007 14:22:53 -0000 1.261
+++ ./gdb/rs6000-tdep.c 8 Feb 2007 18:05:23 -0000 1.262
@@ -2924,6 +2924,9 @@ find_variant_by_arch (enum bfd_architect
static int
gdb_print_insn_powerpc (bfd_vma memaddr, disassemble_info *info)
{
+ if (!info->disassembler_options)
+ info->disassembler_options = "any";
+
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
return print_insn_big_powerpc (memaddr, info);
else