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: [PATCH] monitor_ops regnames array


On Tue, Jun 25, 2002 at 11:10:42PM -0400, Andrew Cagney wrote:
> > With multi-arch NUM_REGS is not a constant, but monitor.c was treating
> > as a constant in determining the size of the numregs array. So I added
> > a function to monitor_ops that returns the register names, and doesn't
> > need NUM_REGS to be constant.
> 
> Outch.
> 
> > I only changed the rom files that are compiled for the m68k, but the
> > array is still there.
> 
> Ok, I think having a functional interface will be better any way.
> 
> > ok to commit?
> 
> Yes, after the below tweaks:
> 

I made the changes and committed.

grace


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