Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI *stopped event with CLI commands
@ 2008-12-15  4:20 Marc Khouzam
  2008-12-15  6:17 ` Nick Roberts
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Khouzam @ 2008-12-15  4:20 UTC (permalink / raw)
  To: gdb

Hi,

with the latest MI changes, when running in MI mode, a *stopped event is issued whenever
the inferior stops, even if the last command was a CLI command.
However, the stopped event is bare if the command is a CLI command.

*stopped
instead of
*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",thread-id="1",
stopped-threads="all",frame={addr="0x08048415",func="main",args=[],file="c.cc",fullname="c.cc",line="5"}

Was this intended?  And if so, what should a frontend do in this case?  
We can parse the CLI output or send MI commands to get the info...
However, it seems to me that having to do that, defeats the purpose of having 
the *stopped event after CLI commands.

Wouldn't be nice if the stopped event always had the full information?

Thanks

Marc


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

end of thread, other threads:[~2009-01-12 11:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-15  4:20 MI *stopped event with CLI commands Marc Khouzam
2008-12-15  6:17 ` Nick Roberts
2008-12-15  6:46   ` Vladimir Prus
2008-12-18  3:30     ` Marc Khouzam
2008-12-18  6:17       ` Nick Roberts
2009-01-12  3:11         ` Marc Khouzam
2009-01-12 11:36           ` Nick Roberts

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