This is the mail archive of the gdb@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: init_registers


On Wed, Jun 18, 2003 at 01:25:29PM +0900, saleru.raja@iap-online.com wrote:
> 
> Hello, 
> Please look at the following function, which is in file "regdat.sh" in
> GDB
> 
> void
> init_registers ()
> {
>     set_register_cache (regs_${name},
> 			sizeof (regs_${name}) / sizeof (regs_${name}[0]));
>     gdbserver_expedite_regs = expedite_regs_${name};
> }
> 
> If the target is "sh-elf", then what will be the modified function after
> compiling ?

It won't be used, because this function is used for gdbserver, not
currently for gdb.  Build for sh-linux and take a look yourself.

-- 
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]