This is the mail archive of the gdb@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: MI async status output


On 10.04.2014 01:08, Bob Rossi wrote:
Hi,

I'm writing unit tests for my MI parser and was trying to get
GDB to output some out of band, async records of type:
status-async-output.

This type of output normally starts with a + according to the manual.

The manual has a special note that says:
status-async-output contains on-going status information about the
progress of a slow operation. It can be discarded. All status output is
prefixed by â+â.

I built gdb from git/master and ran the mi test suite and looked
at the gdb.log file that was created. Unless I'm missing it, I don't see
this type of output anywhere.

Does this mean that GDB doesn't test this functionality?
Does anyone have a simple recipe for getting GDB to output some
async status output?

Bob,

I think the only case where "+" notification is used is load command with sufficiently
big binary. See mi-main.c:mi_load_progress. I don't know whether it can be triggered
without bare-metal target.

- Volodya


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