Re: Interfacing gdb

Charles Manning <[email protected]> Mon, 16 Feb 2009 07:38:33 +1300
Newsgroups gmane.comp.gdb.general
Message-ID <[email protected]>
On Saturday 14 February 2009 06:04:21 Maciej Piechotka wrote:
> Is it possible to write a plugin to gdb (i.e. program which may examin
> data provided by gdb - possibly from gdb)? Preferably in some sort of
> scripting language.

You don't really need a plug in.

gdb has a a very flexible built-in  macro language that allows you to write a 
lot of very useful scripts that can do all sorts of things.

Google for gdb macro and you will find such interesting things as:
http://www.ibm.com/developerworks/aix/library/au-gdb.html