This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, arm] Consistent display of registers in corefile
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: yao at codesourcery dot com (Yao Qi)
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 13 Jan 2011 16:55:39 +0100 (CET)
- Subject: 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