When I use gdb in tui-mode the command line show strange behaviour. Maybe the fonts of my powerline make problems.
I solved the problem. The reason was a .gdbinit file, which colorize my gdb. However invoking gdb the following way solved the problem, but the colorize does not work now.
> gdb -n -tui filename