This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
probelms with registers
- To: gdb at sourceware dot cygnus dot com
- Subject: probelms with registers
- From: Johan Rydberg <johan dot rydberg at netinsight dot se>
- Date: Sun, 05 Mar 2000 18:01:35 +0100
- Organization: Net Insight AB
Hi!
I'm developing a "gdb-simulator" for a CPU, and it seems to
work pretty good. But I have some questions. When I try to
display the registers it says everyone except the link register
is unavailable. Why this? It also fetches the PC register, but
it also says it's unavailable.
And, how do I from gdb call the `sim_infoŽ function? Right
now I have implemented a "sim info" command, but since it's
defined in the simulator interface I guess that there's a
better way to do this.
regards,
Johan.
--
Johan Rydberg johan.rydberg@netinsight.net
Net Insight AB, Sweden direct: +46-8-685 04 17
http://www.netinsight.net phone: +46-8-685 04 00
fax: +46-8-685 04 20