modify category from C++ to GDB