This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: init_registers
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: saleru dot raja at iap-online dot com
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 18 Jun 2003 09:26:14 -0400
- Subject: Re: init_registers
- References: <200306180425.h5I4PTIq019042@www.iap-online.com>
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