From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russ Allbery To: gdb@sourceware.cygnus.com Subject: Re: using perl in gdbinit Date: Wed, 28 Feb 2001 15:08:00 -0000 Message-id: References: X-SW-Source: 2001-02/msg00438.html Keith Seitz 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 (rra@stanford.edu) < http://www.eyrie.org/~eagle/ >