[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: MI async status output
From:       Vladimir Prus <ghost () cs ! msu ! su>
Date:       2014-04-10 15:00:54
Message-ID: 5346B226.40209 () cs ! msu ! su
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic