]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix trailing whitespace in refcard.tex master
authorTom de Vries <tdevries@suse.de>
Thu, 18 Jun 2026 20:06:50 +0000 (22:06 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 18 Jun 2026 20:06:50 +0000 (22:06 +0200)
Fix:
...
gdb/doc/refcard.tex:314: trailing whitespace.
+b \opt{\it file\tt:}{\it line}&set breakpoint at {\it line} number \opt{in \it file}\par
gdb/doc/refcard.tex:344: trailing whitespace.
+enable \opt{{\it n}}&enable breakpoints
gdb/doc/refcard.tex:347: trailing whitespace.
+enable once \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}};
gdb/doc/refcard.tex:350: trailing whitespace.
+enable del \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}};
gdb/doc/refcard.tex:494: trailing whitespace.
+\qquad {\it command-list}&create new GDB command {\it cmd};
gdb/doc/refcard.tex:498: trailing whitespace.
+\qquad {\it help-text}&create online documentation
gdb/doc/refcard.tex:595: trailing whitespace.
+list {\it lines}&display source surrounding {\it lines},
gdb/doc/refcard.tex:629: trailing whitespace.
+statement.\cr
...

Verified by checking refcard.pdf.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/contrib/check-whitespace-pre-commit.py
gdb/doc/refcard.tex

index b7581a3dc701750b10c5aad4133bb41748d27af0..1d23bde19a73e96d7b307c36b2ccc9e1ca09380c 100755 (executable)
@@ -22,9 +22,7 @@ import sys
 re_ignore = re.compile("ChangeLog")
 
 # Files that are not clean, so they're only checked when changes.
-todo_list = [
-    "gdb/doc/refcard.tex",
-]
+todo_list = []
 
 clean = []
 other = []
index f334cce0fd05f0f51788d62fc63d4052b12cc2d8..7dfb74cfcfddd917373c1a50cd5f7db3a6918d1c 100644 (file)
@@ -311,7 +311,7 @@ one or more arguments}
 \eject
 \sec Breakpoints and Watchpoints;
 break \opt{\it file\tt:}{\it line}\par
-b \opt{\it file\tt:}{\it line}&set breakpoint at {\it line} number \opt{in \it file}\par 
+b \opt{\it file\tt:}{\it line}&set breakpoint at {\it line} number \opt{in \it file}\par
 eg:\quad{\tt break main.c:37}\quad\cr
 break \opt{\it file\tt:}{\it func}&set breakpoint at {\it
 func} \opt{in \it file}\cr
@@ -341,14 +341,14 @@ delete \opt{{\it n}}&delete breakpoints
 disable \opt{{\it n}}&disable breakpoints
 \opt{or breakpoint {\it n}}
 \cr
-enable \opt{{\it n}}&enable breakpoints 
+enable \opt{{\it n}}&enable breakpoints
 \opt{or breakpoint {\it n}}
 \cr
-enable once \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}}; 
-disable again when reached
+enable once \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}};
+ disable again when reached
 \cr
-enable del \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}}; 
-delete when reached
+enable del \opt{{\it n}}&enable breakpoints \opt{or breakpoint {\it n}};
+ delete when reached
 \cr
 \cr
 ignore {\it n} {\it count}&ignore breakpoint {\it n}, {\it count}
@@ -491,12 +491,12 @@ source {\it script}&read, execute GDB commands from file {\it
 script}\cr
 \cr
 define {\it cmd}\par
-\qquad {\it command-list}&create new GDB command {\it cmd}; 
-execute script defined by {\it command-list}\cr
+\qquad {\it command-list}&create new GDB command {\it cmd};
+ execute script defined by {\it command-list}\cr
 end&end of {\it command-list}\cr
 document {\it cmd}\par
-\qquad {\it help-text}&create online documentation 
-for new GDB command {\it cmd}\cr
+\qquad {\it help-text}&create online documentation
+ for new GDB command {\it cmd}\cr
 end&end of {\it help-text}\cr
 \endsec
 
@@ -592,8 +592,8 @@ show dir&show current source path\cr
 \cr
 list&show next ten lines of source\cr
 list -&show previous ten lines\cr
-list {\it lines}&display source surrounding {\it lines}, 
-specified as:\cr
+list {\it lines}&display source surrounding {\it lines},
+ specified as:\cr
 \quad{\opt{\it file\tt:}\it num}&line number \opt{in named file}\cr
 \quad{\opt{\it file\tt:}\it function}&beginning of function \opt{in
 named file}\cr
@@ -626,7 +626,7 @@ M-d&down {\it arg} frames ({\tt down})\cr
 \sec GDB License;
 show copying&Display GNU General Public License\cr
 show warranty&There is NO WARRANTY for GDB.  Display full no-warranty
-statement.\cr 
+statement.\cr
 \endsec