Here you have a sample gdb.ini file listing, which gives better results when using gdb. Under linux you should put this in a .gdbinit file in your home directory or the current directory.
The current versions of GDB understand sets and strings, in older versions it was not possible to print them.