Message ID | 20181022223242.7858-4-pedromfc@linux.ibm.com |
---|---|
State | New |
Headers | show |
diff --git a/gdb/reggroups.c b/gdb/reggroups.c index f0fd3d7cf2..f7a7cb1108 100644 --- a/gdb/reggroups.c +++ b/gdb/reggroups.c @@ -202,7 +202,9 @@ default_register_reggroup_p (struct gdbarch *gdbarch, int regnum, if (group == all_reggroup) return 1; vector_p = TYPE_VECTOR (register_type (gdbarch, regnum)); - float_p = TYPE_CODE (register_type (gdbarch, regnum)) == TYPE_CODE_FLT; + float_p = (TYPE_CODE (register_type (gdbarch, regnum)) == TYPE_CODE_FLT + || (TYPE_CODE (register_type (gdbarch, regnum)) + == TYPE_CODE_DECFLOAT)); raw_p = regnum < gdbarch_num_regs (gdbarch); if (group == float_reggroup) return float_p;