This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix crash on NULL rl_prompt


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]