[debug]> output &baudRate
[debug](int *) 0x31f67c>>>>>>cb_gdb:
[debug]> output baudRate
[debug]9600>>>>>>cb_gdb:
look at https://forums.codeblocks.org/index.php/topic,23806.msg167120.html#msg167120
if you are on Windows 64 / MinGW 64 (may be also 32 but it's not sure), a patch is possible in ticket # 1100 (https://sourceforge.net/p/codeblocks/tickets/1100/). On other OS, it's not sufficient apparently.