diff options
author | Martin Hunt <hunt@redhat.com> | 2001-08-23 19:27:52 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2001-08-23 19:27:52 +0000 |
commit | 7829b8338ef4bf80deba5874ddada101e16b5a47 (patch) | |
tree | a45745da34e90e2da786377ff74ac60c554fa11c /gdb/remote-mips.c | |
parent | 8df9fc9d6a6b4f9a56f9a9975ce9845bc987f2f0 (diff) | |
download | gdb-7829b8338ef4bf80deba5874ddada101e16b5a47.zip gdb-7829b8338ef4bf80deba5874ddada101e16b5a47.tar.gz gdb-7829b8338ef4bf80deba5874ddada101e16b5a47.tar.bz2 |
2001-08-23 Martin M. Hunt <hunt@redhat.com>
* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
to download loop.
(mips_load_srec): Ditto.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 0f6d995..a4fe7a4 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 ('#'); |