aboutsummaryrefslogtreecommitdiff
path: root/opcodes/riscv-dis.c
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2023-07-28 03:33:39 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2023-07-28 03:33:39 +0000
commitfdc5ba89ca821fb55726fd6ef2d11e851af463a4 (patch)
tree6bc7d56b6b6690f88c0223bc16c4a8af0e9eca78 /opcodes/riscv-dis.c
parentf921e120da78adc973610df81f01ea37b369e13f (diff)
downloadgdb-fdc5ba89ca821fb55726fd6ef2d11e851af463a4.zip
gdb-fdc5ba89ca821fb55726fd6ef2d11e851af463a4.tar.gz
gdb-fdc5ba89ca821fb55726fd6ef2d11e851af463a4.tar.bz2
Fix typo in riscv-dis.c comment
Don't go "past" the start of the section.
Diffstat (limited to 'opcodes/riscv-dis.c')
-rw-r--r--opcodes/riscv-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 2826248..138eed8 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -939,7 +939,7 @@ riscv_search_mapping_symbol (bfd_vma memaddr,
}
/* We can not find the suitable mapping symbol above. Therefore, we
- look forwards and try to find it again, but don't go pass the start
+ look forwards and try to find it again, but don't go past the start
of the section. Otherwise a data section without mapping symbols
can pick up a text mapping symbol of a preceeding section. */
if (!found)