|
|
dc7ef9 |
commit 8aabe2e254e6a0419db9c6397c4068c69bfd95b0
|
|
|
dc7ef9 |
Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
|
|
dc7ef9 |
Date: Wed Sep 21 14:47:43 2016 -0300
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
ppc: Fix return of instruction handlers in ppc_process_record_op63
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
some instruction handlers in ppc_process_record_op63() seem to be missing
|
|
|
dc7ef9 |
return or incorrectly using break. This patch aims to fix that.
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
gdb/ChangeLog:
|
|
|
dc7ef9 |
2016-09-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
* rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction
|
|
|
dc7ef9 |
handlers.
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
### a/gdb/ChangeLog
|
|
|
dc7ef9 |
### b/gdb/ChangeLog
|
|
|
dc7ef9 |
## -1,3 +1,8 @@
|
|
|
dc7ef9 |
+2016-09-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
|
|
|
dc7ef9 |
+
|
|
|
dc7ef9 |
+ * rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction
|
|
|
dc7ef9 |
+ handlers.
|
|
|
dc7ef9 |
+
|
|
|
dc7ef9 |
2016-09-21 Tom Tromey <tom@tromey.com>
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
PR gdb/20604:
|
|
|
dc7ef9 |
--- a/gdb/rs6000-tdep.c
|
|
|
dc7ef9 |
+++ b/gdb/rs6000-tdep.c
|
|
|
dc7ef9 |
@@ -5399,6 +5399,7 @@ ppc_process_record_op63 (struct gdbarch *gdbarch, struct regcache *regcache,
|
|
|
dc7ef9 |
tdep->ppc_fp0_regnum + PPC_FRT (insn));
|
|
|
dc7ef9 |
if (PPC_RC (insn))
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache, tdep->ppc_cr_regnum);
|
|
|
dc7ef9 |
+ return 0;
|
|
|
dc7ef9 |
}
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
switch (ext & 0xff)
|
|
|
dc7ef9 |
@@ -5462,7 +5463,7 @@ ppc_process_record_op63 (struct gdbarch *gdbarch, struct regcache *regcache,
|
|
|
dc7ef9 |
if (PPC_RC (insn))
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache, tdep->ppc_cr_regnum);
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache, tdep->ppc_fpscr_regnum);
|
|
|
dc7ef9 |
- break;
|
|
|
dc7ef9 |
+ return 0;
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
case 354: /* DFP Extract Biased Exponent Quad */
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache,
|
|
|
dc7ef9 |
@@ -5541,7 +5542,7 @@ ppc_process_record_op63 (struct gdbarch *gdbarch, struct regcache *regcache,
|
|
|
dc7ef9 |
if (PPC_RC (insn))
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache, tdep->ppc_cr_regnum);
|
|
|
dc7ef9 |
record_full_arch_list_add_reg (regcache, tdep->ppc_fpscr_regnum);
|
|
|
dc7ef9 |
- break;
|
|
|
dc7ef9 |
+ return 0;
|
|
|
dc7ef9 |
|
|
|
dc7ef9 |
case 0: /* Floating Compare Unordered */
|
|
|
dc7ef9 |
case 32: /* Floating Compare Ordered */
|