Software Archive
Read-only legacy content
17061 Discussions

How can I use numpy and matplotlib inside gdb-ia?

T__Varun
Beginner
596 Views

In gdb, we can launch into a python subshell by the command pi.  However vanilla gdb lacks complete support for fortran so I compiled the Archer branch of gdb. Inside that installation, I was able to use numpy and matplotlib for data analysis and plotting of variables inside gdb.

However in gdb-ia I am seeing only a minimal set of modules like sys, os etc.. would be great to be able to use numpy and matplotlib for data analysis inside there. Is there a way I can access numpy and matplotlib that might be compiled in a different folder?

 

0 Kudos
0 Replies
Reply