[05/10,gdb/cli] Fix help text of maint info target-sections

Message ID 20230602155639.28245-6-tdevries@suse.de
State Committed
Headers
Series Fix typos and misspellings |

Commit Message

Tom de Vries June 2, 2023, 3:56 p.m. UTC
  I noticed a typo:
...
(gdb) help maint info target-sections
List GDB's internal section table.

Print the current targets section list.  This is a sub-set of all
sections, from all objects currently loaded.  Usually the ALLOC
sectoins.
...

Fix this by using "sections".
---
 gdb/maint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gdb/maint.c b/gdb/maint.c
index c5f2e5cdce0..5d52dfafd06 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -1259,7 +1259,7 @@  List GDB's internal section table.\n\
 \n\
 Print the current targets section list.  This is a sub-set of all\n\
 sections, from all objects currently loaded.  Usually the ALLOC\n\
-sectoins."),
+sections."),
 	   &maintenanceinfolist);
 
   add_basic_prefix_cmd ("print", class_maintenance,