Re: [ob] user-regs.c build fix for arm-linux

Daniel Jacobowitz
2004-03-09T20:05:03Z

On Sun, Feb 29, 2004 at 11:59:29AM -0500, Daniel Jacobowitz wrote:
> On Sat, Feb 28, 2004 at 01:49:48PM -0500, Andrew Cagney wrote:
> > >On Sat, Feb 28, 2004 at 12:35:52PM -0500, Andrew Cagney wrote:
> > >
> > >>>>>+/* We call this gdb_user_regs instead of user_regs to avoid conflicts
> > >>>>with
> > >>>>>+ any struct user_regs in system headers (for instance, ARM
> > >>>>GNU/Linux). >*/
> > >>
> > >>>
> > >>>Please be more explicit.
> > >
> > >
> > >What else would you like to know? What header it comes from?
> >
> > Er, yes? The comment should describe the exact cause of the problem.
> > Otherwize there is no way to audit this stuff later.
>
> Is this better?

> 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
>
> * user-regs.c: Update copyright years.
> (struct user_regs): Rename to gdb_user_regs.
> (append_user_reg, builtin_user_regs, user_regs_init)
> (user_reg_add, user_reg_map_name_to_regnum)
> (usernum_to_user_reg): Update.

I've checked this in...

> + declares "struc user_regs". */

And fixed the typo in it.