This is the mail archive of the
mailing list for the GDB project.
Re: using perl in gdbinit
Keith Seitz <email@example.com> writes:
> I would guess that you should be able to add a perl interpreter to
> gdb. I don't know a whole lot about how perl was written, but if there
> is a way to create your own perl interpreter like this:
> init_perl ()
> g_interp = Perl_New_Interpreter ();
> You should be able to do what you want (albeit in a hacky kind of way).
There is. See man perlembed.
Russ Allbery (firstname.lastname@example.org) <http://www.eyrie.org/~eagle/>