From 7829b8338ef4bf80deba5874ddada101e16b5a47 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Thu, 23 Aug 2001 19:27:52 +0000 Subject: [PATCH] 2001-08-23 Martin M. Hunt * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook to download loop. (mips_load_srec): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/remote-mips.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 83689df043d..a6381d82211 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-08-23 Martin M. Hunt + + * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook + to download loop. + (mips_load_srec): Ditto. + 2001-08-22 Andrew Cagney * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 0f6d9957275..a4fe7a41854 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -2845,6 +2845,9 @@ mips_load_srec (char *args) reclen = mips_make_srec (srec, '3', s->vma + i, buffer, numbytes); send_srec (srec, reclen, s->vma + i); + if (ui_load_progress_hook) + ui_load_progress_hook (s->name, i); + if (hashmark) { putchar_unfiltered ('#'); @@ -3366,6 +3369,9 @@ pmon_load_fast (char *file) break; } + if (ui_load_progress_hook) + ui_load_progress_hook (s->name, i); + if (hashmark) { putchar_unfiltered ('#'); -- 2.30.2