[binutils-gdb] sim: fix a comment typo in sim-load.c

Simon Marchi simark@sourceware.org
Thu Mar 24 17:28:59 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8bd59ec1bba9a591eb4f2523acafe98c38fd2f46

commit 8bd59ec1bba9a591eb4f2523acafe98c38fd2f46
Author: Reuben Thomas <rrt@sc3d.org>
Date:   Wed Mar 23 11:05:23 2022 +0000

    sim: fix a comment typo in sim-load.c
    
    Fix a typo where the documentation refers to a function parameter by the
    wrong name.
    
    Change-Id: I99494efe62cd4aa76fb78a0bd5da438d35740ebe

Diff:
---
 sim/common/sim-load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index 58a39134ae6..020165a0dce 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -38,7 +38,7 @@ static void xprintf (host_callback *, const char *, ...);
 static void report_transfer_performance
   (host_callback *, unsigned long, time_t, time_t);
 
-/* Load program PROG into the simulator using the function DO_LOAD.
+/* Load program PROG into the simulator using the function DO_WRITE.
    If PROG_BFD is non-NULL, the file has already been opened.
    If VERBOSE_P is non-zero statistics are printed of each loaded section
    and the transfer rate (for consistency with gdb).


More information about the Gdb-cvs mailing list