hi Manas,
On Wed, 2005-03-02 at 23:12 +0530, Manas Alekar wrote:
> Hi!
> 
> We have been making a lot of noise about a list for advanced audience.
> So, rather than trouble the list admin, this is the way out.
> 
> Prog tagged mails are supposed to be for programmers.
> 
> So, here is the first question I need to ask.
> 
> When we fire gdb from command line, all does not meet the eye. It
> starts gdb server, makes a connection to it
this is right. 
>  and then gives you a
> serial interface session. Or that is what I have been told.
> 
> If I want to develop a new frontend to gdb (say, like ddd), I need to
> know how this interface works.
> 
> The problem is that I cannot seem to find documentation for this
> interface. Even knowing what gdb does when invoked from command prompt
> might be a good start.
there are 2 good but somewhat tedious ways to learn how GDB works:
1. when GDB starts you can 'set debug remote 1' which will show you
messages are exchanged between GDB and GDB server.
2. you can compile a GDB for you with debugging information. and you can
use the a GDB to debug your compiled GDB. 
Eg: suppose you have compiled your GDB as : home/xyz/gdb-6.3/gdb/gdb
then on from command prompt you can run 
$ gdb home/xyz/gdb-6.3/gdb/gdb 
this will help you to study in detail how GDB works. but this will be
too much of information. 
under any case you need to see the GDB code for guiding you.

Mithlesh
> 
> HELP!
> 
> Regards,
> Manas
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      ([email protected])
> List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
> Send 'help' to [EMAIL PROTECTED] for mailing instructions.
> 

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to