Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* mi_load_progress question
@ 2006-07-12  8:39 Vladimir Prus
  2006-07-12  9:33 ` Nick Roberts
  0 siblings, 1 reply; 7+ messages in thread
From: Vladimir Prus @ 2006-07-12  8:39 UTC (permalink / raw)
  To: gdb


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-07-13 22:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-12  8:39 mi_load_progress question Vladimir Prus
2006-07-12  9:33 ` Nick Roberts
2006-07-12 14:04   ` Daniel Jacobowitz
2006-07-12 17:34     ` Jim Ingham
2006-07-13  6:47     ` Nick Roberts
2006-07-13 13:03       ` Daniel Jacobowitz
2006-07-13 22:45         ` Nick Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox