Hi Andrew, Andrew Cagney wrote: > This patch follows up an earlier thread that pointed out that GDB is > pretty broken when it comes to debugging a program that contains > multiple struct definitions (e.g., gdb). > > The attached patch implements the suggested `fix'. Declare a file-local > typedef and then use that. I've applied it to the ui-out code. A quick > debug suggests that it works well. > > comments? I'll table this for a week ... > Andrew > Hum... yes. You broke the TUI because the following typedef: > @@ -35,6 +36,7 @@ > int line; > int start_of_line; > }; > +struct ui_out_data tui_out_data; > is not a typedef but a global variable declaration :-) I've committed this patch to fix the TUI. Stephane 2003-03-13 Stephane Carrez * tui-out.c (tui_out_data): Fix typedef.