public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Make gdbarch.sh shellcheck-clean
@ 2020-04-28 21:46 Simon Marchi
  2020-04-28 21:46 ` [PATCH 1/7] gdb: fix shellcheck warnings SC2059 (variables in printf format string) in gdbarch.sh Simon Marchi
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Simon Marchi @ 2020-04-28 21:46 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

I ran shellcheck on gdbarch.sh and addressed all the warnings.  It
didn't catch anything serious, but I think it's good to have it clean
anyway, so we can catch potential problems in future changes we do to
this file.

Simon Marchi (7):
  gdb: fix shellcheck warnings SC2059 (variables in printf format
    string) in gdbarch.sh
  gdb: fix shellcheck warnings SC2086 (missing double quotes) in
    gdbarch.sh
  gdb: fix shellcheck warnings SC2006 (use $() instead of ``) in
    gdbarch.sh
  gdb: fix shellcheck warnings SC2166 (&& and !! instead of -a and -o)
    in gdbarch.sh
  gdb: fix shellcheck warnings SC2034 (unused variable)  in gdbarch.sh
  gdb: fix shellcheck warnings SC2154 (referenced but not assigned) in
    gdbarch.sh
  gdb: silence shellcheck warning SC2162 (use read -r) in gdbarch.sh

 gdb/gdbarch.sh | 178 ++++++++++++++++++++++---------------------------
 1 file changed, 81 insertions(+), 97 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-05-11 16:55 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 21:46 [PATCH 0/7] Make gdbarch.sh shellcheck-clean Simon Marchi
2020-04-28 21:46 ` [PATCH 1/7] gdb: fix shellcheck warnings SC2059 (variables in printf format string) in gdbarch.sh Simon Marchi
2020-04-28 21:46 ` [PATCH 2/7] gdb: fix shellcheck warnings SC2086 (missing double quotes) " Simon Marchi
2020-04-28 21:46 ` [PATCH 3/7] gdb: fix shellcheck warnings SC2006 (use $() instead of ``) " Simon Marchi
2020-04-28 21:46 ` [PATCH 4/7] gdb: fix shellcheck warnings SC2166 (&& and !! instead of -a and -o) " Simon Marchi
2020-04-28 21:46 ` [PATCH 5/7] gdb: fix shellcheck warnings SC2034 (unused variable) " Simon Marchi
2020-04-28 21:46 ` [PATCH 6/7] gdb: fix shellcheck warnings SC2154 (referenced but not assigned) " Simon Marchi
2020-04-28 21:46 ` [PATCH 7/7] gdb: silence shellcheck warning SC2162 (use read -r) " Simon Marchi
2020-04-29 21:08 ` [PATCH 0/7] Make gdbarch.sh shellcheck-clean Tom Tromey
2020-04-30  0:34   ` Simon Marchi
2020-04-30 14:25     ` Tom Tromey
2020-04-30 15:48       ` Simon Marchi
2020-05-07  1:59         ` Tom Tromey
2020-05-10 18:57   ` Pedro Alves
2020-05-10 21:36     ` Simon Marchi
2020-05-11 16:55     ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).