[patch] Fix crash on NULL rl_prompt

Jan Kratochvil jan.kratochvil@redhat.com
Tue Mar 30 17:29:00 GMT 2010


On Tue, 30 Mar 2010 19:25:18 +0200, Pedro Alves wrote:
> GDB always gives readline a non-NULL prompt, from what I've seen.

gdb/tui/tui-io.c
tui_setup_io (int mode)
  if (mode)
      rl_prompt = 0;


Thanks,
Jan



More information about the Gdb-patches mailing list