Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Porting GDB to a new target processor architecture -- what's involved?
@ 2002-02-27  2:18 Stefan Heinzmann
  2002-02-28 14:38 ` Michael Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Heinzmann @ 2002-02-27  2:18 UTC (permalink / raw)
  To: gdb

Hello,

a potential customer wants me to port GDB to a new processor architecture (a
32-bit RISC processor) used in embedded systems. As I'm unfamiliar with the
GDB internals, I have difficulties estimating the time needed to do this.
What do I need to know? Has anyone got a reading list?

The GCC (2.95.3) and binutils apparently have been ported already. To which
extent can I reuse code from those? I remember having read somewhere that
gas and gdb use common target definition files, is that true?

The GDB internals document is quite helpful, but it appears to be incomplete
(stack frame interpretation, compiler characteristics). Is there additional
information available (other than the source code itself)?

How does the development process work assuming that the new target is
contributed back to the community? Do I have to follow the most up-to-date
CVS tree closely or is it more useful to work "off-line"?

Is it reasonable to assume that the general gdb code can be used unchanged
and only a few target-specific files need to be provided, or is it common
that such a porting effort brings up issues with gdb in general (or even
with a graphical frontend) that will have to be addressed, too?

Thanks for your help

Cheers
Stefan


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: Porting GDB to a new target processor architecture -- what's involved?
@ 2002-02-27 13:29 Salman Khilji
  0 siblings, 0 replies; 3+ messages in thread
From: Salman Khilji @ 2002-02-27 13:29 UTC (permalink / raw)
  To: gdb

I have recently worked on understanding the gdb code by stepping through 
modules.  I am not aware of any document other than GDB internals that 
explains the details, but if you start off by taking a paticular task and 
step thru the code, you should be able to understand it with relative ease.

I found the programming style and the # of comments to be simply wonderful 
and easy to understand!

Salman

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-28 22:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27  2:18 Porting GDB to a new target processor architecture -- what's involved? Stefan Heinzmann
2002-02-28 14:38 ` Michael Snyder
2002-02-27 13:29 Salman Khilji

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox