Which is the function in gdb source which accepts gdb command from the user

Kris Warkentin kewarken@qnx.com
Thu Feb 19 19:05:00 GMT 2004


In general, you will find them to be named after the command.  ie. 
backtrace_command, info_thread_command.

These will generally be set up in one of the _initialize_<file> 
functions in a given <file>.c.  Look for the add_* family of functions 
such as add_com, add_alias, add_info, etc.

cheers,

Kris

Kotian, Deepak wrote:

>Hi,
> 
>Which is the function in gdb source which accepts gdb command from the user.
>The gdb commands like "where",etc. Please let me know
> 
>Thanks and Regards
>Deepak
> 
>  
>



More information about the Gdb mailing list