[binutils-gdb] [gdb/cli] Fix help text of maint info target-sections

Tom de Vries vries@sourceware.org
Sat Jun 3 20:44:17 GMT 2023


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

commit 8def33e68cc49cf5a539a123f71c82452c8c1ccb
Author: Tom de Vries <tdevries@suse.de>
Date:   Sat Jun 3 22:43:57 2023 +0200

    [gdb/cli] Fix help text of maint info target-sections
    
    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".
    
    Reviewed-By: Tom Tromey <tom@tromey.com>

Diff:
---
 gdb/maint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,


More information about the Gdb-cvs mailing list