This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI async status output
- From: Vladimir Prus <ghost at cs dot msu dot su>
- To: Bob Rossi <bob at brasko dot net>, GDB Development <gdb at sourceware dot org>
- Date: Thu, 10 Apr 2014 19:00:54 +0400
- Subject: Re: MI async status output
- Authentication-results: sourceware.org; auth=none
- Newsgroups: gmane.comp.gdb.devel
- References: <20140409210803 dot GA3166 at linux>
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