Few days ago Oliver Buchtala posted a Python script for GDB, which nicely prints some of SWIG data structures. The script description can be found on the original page, while here you can find a configuration tip for Eclipse (4.2, Juno). There is actually just one dirty detail - in the Eclipse Debug Configurations dialog the .gdbinit file without path is not the one in your home directory, which is taken by default by GDB started from console. You have to set absolute path to it, as it can be seen in the image below:
The other option is of course placing .gdbinit file to folder, where Eclipse expects it (probably the project folder, I didn't check it).
To be sure that the script was loaded by GDB you can view the gdb traces console in Eclipse. First you have to start a debugging session, then you can switch console with toolbar button in Console view as shown in the image below: