This is the mail archive of the gdb-patches@sources.redhat.com 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: [ob] user-regs.c build fix for arm-linux


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.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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