mi_load_progress question

Vladimir Prus vladimir@codesourcery.com
Wed Jul 12 08:39:00 GMT 2006


Hi,
I see some strange logic in the mi_load_progress function (file mi/mi-main.c). 
That function is responsible for printing progress report when downloading 
program to target, and the code in question is:

 if (current_interp_named_p (INTERP_MI))
    uiout = mi_out_new (2);
  else if (current_interp_named_p (INTERP_MI1))
    uiout = mi_out_new (1);
  else
    return;

When I run gdb with "--i=mi2", this code exists with "return", producing to 
progress information. Is this desired behaviour?

- Volodya



More information about the Gdb mailing list