Re: GDB plugin

Tom Tromey
2012-05-08T14:20:51Z

>>>>> "Abhijit" == Abhijit Halder <abhijit.k.halder@gmail.com> writes:

Abhijit> I am planning to introduce a pluggin command in GDB which will give a
Abhijit> flexibility to a GDB user to develop his/her own GDB extension (e.g.
Abhijit> GDB-ext.so). The extension may have new and/or extended functionality
Abhijit> like support for new languages and platforms and custom GDB-command.
Abhijit> The extension can be loaded by this newly proposed plugin command.

Abhijit> I am not completely aware of the limitation of this approach, but it
Abhijit> makes me happy thinking that the GDB users who want to extend GDB
Abhijit> functionality but are not well accustomed with GDB source code, can
Abhijit> still write their own pluggins and use an enhanced GDB without the
Abhijit> pain of recompilation of entire GDB source code.

I think most users are better off writing extensions in Python.
We can expose more internals to Python as needed for this.

Tom