* Progress indicator on loading
@ 2007-03-08 19:00 Maxim Grigoriev
2007-03-08 19:10 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Maxim Grigoriev @ 2007-03-08 19:00 UTC (permalink / raw)
To: gdb-patches
Hi GDB developers,
One of my colleagues asked me if I can implement and
submit a progress indicator showing how the loading
process is going through a slow interface. It would be
reasonable to do only if GDB community is interested
in such a feature.
-- Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Progress indicator on loading
2007-03-08 19:00 Progress indicator on loading Maxim Grigoriev
@ 2007-03-08 19:10 ` Daniel Jacobowitz
2007-03-08 19:19 ` Maxim Grigoriev
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2007-03-08 19:10 UTC (permalink / raw)
To: Maxim Grigoriev; +Cc: gdb-patches
On Thu, Mar 08, 2007 at 10:59:49AM -0800, Maxim Grigoriev wrote:
> Hi GDB developers,
>
> One of my colleagues asked me if I can implement and
> submit a progress indicator showing how the loading
> process is going through a slow interface. It would be
> reasonable to do only if GDB community is interested
> in such a feature.
We've been bouncing around ideas internally at CodeSourcery for how
improve progress reporting. But that's mostly for the new flash
programming interface. Where else do you need a progress indicator
that you don't have one already? The MI -target-download already does
report progress, based on write size.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Progress indicator on loading
2007-03-08 19:10 ` Daniel Jacobowitz
@ 2007-03-08 19:19 ` Maxim Grigoriev
2007-03-08 19:28 ` Daniel Jacobowitz
0 siblings, 1 reply; 5+ messages in thread
From: Maxim Grigoriev @ 2007-03-08 19:19 UTC (permalink / raw)
To: Maxim Grigoriev, gdb-patches
> The MI -target-download already does
> report progress, based on write size.
My colleagues want to have similar feature for the "load" command.
If it's reasonable to implement it could be an extra option to this command.
Daniel Jacobowitz wrote:
> On Thu, Mar 08, 2007 at 10:59:49AM -0800, Maxim Grigoriev wrote:
>
>> Hi GDB developers,
>>
>> One of my colleagues asked me if I can implement and
>> submit a progress indicator showing how the loading
>> process is going through a slow interface. It would be
>> reasonable to do only if GDB community is interested
>> in such a feature.
>>
>
> We've been bouncing around ideas internally at CodeSourcery for how
> improve progress reporting. But that's mostly for the new flash
> programming interface. Where else do you need a progress indicator
> that you don't have one already? The MI -target-download already does
> report progress, based on write size.
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Progress indicator on loading
2007-03-08 19:19 ` Maxim Grigoriev
@ 2007-03-08 19:28 ` Daniel Jacobowitz
2007-03-08 19:51 ` Maxim Grigoriev
0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2007-03-08 19:28 UTC (permalink / raw)
To: Maxim Grigoriev; +Cc: gdb-patches
On Thu, Mar 08, 2007 at 11:18:58AM -0800, Maxim Grigoriev wrote:
> >The MI -target-download already does
> >report progress, based on write size.
>
> My colleagues want to have similar feature for the "load" command.
> If it's reasonable to implement it could be an extra option to this command.
It should be very easy to add, based on the same hook MI already uses.
I guess the only question is how you're planning to display progress -
GDB's output layer isn't really set up to write ASCII art :-)
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Progress indicator on loading
2007-03-08 19:28 ` Daniel Jacobowitz
@ 2007-03-08 19:51 ` Maxim Grigoriev
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Grigoriev @ 2007-03-08 19:51 UTC (permalink / raw)
To: Maxim Grigoriev, gdb-patches
Daniel Jacobowitz wrote:
> On Thu, Mar 08, 2007 at 11:18:58AM -0800, Maxim Grigoriev wrote:
>
>>> The MI -target-download already does
>>> report progress, based on write size.
>>>
>> My colleagues want to have similar feature for the "load" command.
>> If it's reasonable to implement it could be an extra option to this command.
>>
>
> It should be very easy to add, based on the same hook MI already uses.
> I guess the only question is how you're planning to display progress -
> GDB's output layer isn't really set up to write ASCII art :-)
>
Yes, ASCII art is tricky. I can play with this and try to find a
reasonable solution. If I succeed I'll let you know.
Thanks for your valuable input on this,
-- Maxim
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-03-08 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 19:00 Progress indicator on loading Maxim Grigoriev
2007-03-08 19:10 ` Daniel Jacobowitz
2007-03-08 19:19 ` Maxim Grigoriev
2007-03-08 19:28 ` Daniel Jacobowitz
2007-03-08 19:51 ` Maxim Grigoriev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox