aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2022-03-23 11:05:23 +0000
committerSimon Marchi <simon.marchi@efficios.com>2022-03-24 13:28:50 -0400
commit8bd59ec1bba9a591eb4f2523acafe98c38fd2f46 (patch)
tree5e3cd7591b8a6d5960b418634bd668d2fb0cfbdb
parentc41524681bf2dad22390fe2b1cfbdeac1576e1e5 (diff)
downloadgdb-8bd59ec1bba9a591eb4f2523acafe98c38fd2f46.zip
gdb-8bd59ec1bba9a591eb4f2523acafe98c38fd2f46.tar.gz
gdb-8bd59ec1bba9a591eb4f2523acafe98c38fd2f46.tar.bz2
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
-rw-r--r--sim/common/sim-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index 58a3913..020165a 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).