This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, arm] Consistent display of registers in corefile


Yao Qi wrote:

> FPS belongs to float_reggroup, save_reggroup, and restore_reggroup, 
> instead of float_reggroup only.

> +  /* FPS register's type is INT, but belongs to float_reggroup,
> +     save_regroup, and restore_reggroup.  */
>    if (regnum == ARM_FPS_REGNUM)
> -    return (group == float_reggroup);
> +    return (group == float_reggroup
> +	    || group == save_reggroup
> +	    || group == restore_reggroup);
>    else
>      return default_register_reggroup_p (gdbarch, regnum, group);

Well, FPS should also belong to all_reggroup, otherwise it wil not
show up in "info all-registers" ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]