public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* "Info reg doesn't work"
@ 2004-06-14 23:49 Xinan Tang
  2004-06-15 22:42 ` Jim Blandy
  0 siblings, 1 reply; 7+ messages in thread
From: Xinan Tang @ 2004-06-14 23:49 UTC (permalink / raw)
  To: gdb

Hi

  I am porting gdb (6.1) to a new target. After adding a new target that is
similar to an existing RISC 32bit architecture, I found out two problems:

  1. `info register' does not work. For example, if I type in `info reg',
the content of all registers are showing ZERO except PC no matter how many
instructions are executed.

  2. Gdb can start execution from _start but can not enter main.

  Could someone please point to me which files I should take a look to fix
this problem? Or is there any FAQ to explain how to add a new target based
on an existing architecture.

Thanks

--Xinan



^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <KAEHILJLFHMPJPLKAFBHAEDFCBAA.xinan@tidalnetworks.net>]

end of thread, other threads:[~2004-06-23  5:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14 23:49 "Info reg doesn't work" Xinan Tang
2004-06-15 22:42 ` Jim Blandy
2004-06-16  0:04   ` Xinan Tang
2004-06-18  4:07     ` Jim Blandy
2004-06-23  2:38       ` Xinan Tang
2004-06-23  5:05         ` Jim Blandy
     [not found] <KAEHILJLFHMPJPLKAFBHAEDFCBAA.xinan@tidalnetworks.net>
2004-06-16  1:53 ` Jim Blandy

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).