* init_registers
@ 2003-06-18 4:27 saleru.raja
2003-06-18 13:26 ` init_registers Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: saleru.raja @ 2003-06-18 4:27 UTC (permalink / raw)
To: gdb
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 ?
Thanks in advance
Regards
Raja Saleru
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: init_registers
2003-06-18 4:27 init_registers saleru.raja
@ 2003-06-18 13:26 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-06-18 13:26 UTC (permalink / raw)
To: saleru.raja; +Cc: gdb
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-18 13:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-18 4:27 init_registers saleru.raja
2003-06-18 13:26 ` init_registers Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).