public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* port gdb to embedded processor:about RSP
@ 2003-10-04  5:52 gnufans
  2003-10-05 21:59 ` Miki Tebeka
  0 siblings, 1 reply; 2+ messages in thread
From: gnufans @ 2003-10-04  5:52 UTC (permalink / raw)
  To: gdb

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

Hello£¡
	My current plan is to port gdb to a 8-bit embedded processor with a new,instead of directly communicating with the processor,our gdb will communicate with an emulator.Now suppose the BFD has been successfully ported,I am still wondering about what in detail I need to do with the remote debugging part.In some documents,I have seen some ones 
say it is a must to implement the GDB RSP(remote serial protocol),so how in detail I can do to implement it,which files of what functionality I must create or modify?  Waiting for help! Thanks!	

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
 				

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ssboy
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡gnufans@sina.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-10-04

===================================================================

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

* RE: port gdb to embedded processor:about RSP
  2003-10-04  5:52 port gdb to embedded processor:about RSP gnufans
@ 2003-10-05 21:59 ` Miki Tebeka
  0 siblings, 0 replies; 2+ messages in thread
From: Miki Tebeka @ 2003-10-05 21:59 UTC (permalink / raw)
  To: gnufans, gdb

Hello,

>	My current plan is to port gdb to a 8-bit embedded
>processor with a new,instead of directly communicating with the
>processor,our gdb will communicate with an emulator.Now suppose
>the BFD has been successfully ported,I am still wondering about
>what in detail I need to do with the remote debugging part.In some
>documents,I have seen some ones
>say it is a must to implement the GDB RSP(remote serial
>protocol),so how in detail I can do to implement it,which files of
>what functionality I must create or modify?  Waiting for help! Thanks!
We do the same here and use a "proxy" GDBInterface which can communicate
with the
simulator (via pipes) or with the hardware (via COM port).

It's just like porting to a new arch, only the "child_create_inferior"
function either
launches the simulator or opens a connection to the hardware.
(Note that we're using a old gdb, things might be different in newer
versions)

HTH.

Bye.
----------------------------------------------------------------------------
-
Smile, damn it, smile.

lambda msg: {
        'name' : 'Miki Tebeka',
        'email' : 'mikit@zoran.co.il',
        'url' : ' http://www.cs.bgu.ac.il/~tebeka',
        'quote' : 'The only difference between children and adults is the
price of the toys'
}[msg]

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

end of thread, other threads:[~2003-10-05 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04  5:52 port gdb to embedded processor:about RSP gnufans
2003-10-05 21:59 ` Miki Tebeka

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