This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Which is the function in gdb source which accepts gdb commandfrom the user


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





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]