gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging embedded system with GDB


From: TriKri
Subject: Re: Debugging embedded system with GDB
Date: Wed, 6 Aug 2008 02:38:33 -0700 (PDT)


Charles Manning-2 wrote:
> 
> The easiest way is to make a server that conforms to the gdb remote
> protocol.
> 
> From the gdb side you connect via:
> 
> (gdb) target remote host:1234
> 
> where host and 1234 specify where the server is. It is common to run the 
> server on the same host as gdb, making the host localhost.
> 
> The server converts the gdb remote protocol into calls to your probe
> library.
> 

Hello CHarles!

What kind of server you mean, what purpose will it serve? Do you have any
particular server application in mind? Please explain, cause I don't really
understand how you mean I should set up a server.


Charles Manning-2 wrote:
> 
> There are numerous examples, particularly for ARM. Check out openocd at 
> http://openocd.berlios.de/web/ this will show you the structure and
> protocol 
> handling for a server.
> 
> -- CHarles
> 

I checked out OpenOCD, but I didn't find anything about how it worked. Do
you mean I should download and take a look at the source code?

Thanks
/Kristofer

-- 
View this message in context: 
http://www.nabble.com/Debugging-embedded-system-with-GDB-tp18833301p18847560.html
Sent from the Gnu - gdb - General mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]