compare the strings in gdb and show the result