Pretty much what the question says.
Context: in cuda-gdb, if you have a templated struct and want to know what type it is, you will get something like this: @something mangled_name. I want to write a pretty-printer and I need to match the name of the type in demangled form. The issue is I don't know how to do this using the gdb module. I know how to extract the mangled name.
Details: I also tried using other libraries but when I source the pretty-printer, it says Module not found. I can only install the third party modules in a virtual environment.