GDB interface with simulator

Rama Singh
2003-11-14T07:15:19Z

Hi,
I am working on a cycle accurate simulator and for the
purpose of debugging application, I wish to use gdb.
Now gdb has in build support for about a dozen most
popular simulators. It interacts with the simulator as
a library. I wish to use my simulator as an
independent process running on the same machine or on
other machine.
Is it posible to have gdb interact with a simulator
over a socket? Also where can I find more information
on this? I believe that implementing this will involve
writing a gdb stub that will compile with the
application and thus interact with the host gdb. Am I
getting things correctly or is there some other
possible way too?

Thanks in advance for any help

Regards
Rama Singh
Department of Electrical Engg.
MMM Engg College (MMMEC)
Gorakhpur

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones.
Go to http://in.mobile.yahoo.com