[v2,0/3] Three gdb_buildall.sh fixes

Message ID 20260831074155.3500918-1-tdevries@suse.de
Headers
Series Three gdb_buildall.sh fixes |

Message

Tom de Vries Aug. 31, 2026, 7:41 a.m. UTC
  This series contains three patches related to gdb/gdb_buildall.sh.

The first fixes an error.

The second fixes a warning.

The last makes it shellcheck-clean.

Tested on aarch64-linux by running:
...
$ rm -Rf build-all
$ mkdir build-all
$ bash ./src/gdb/gdb_buildall.sh \
      -j 9 \
      --bfd64 \
      src \
      build-all
...

Changes in v2:
- in the third patch, use array for targexp handling to fix bug where we get
  grep "-e foo -e bar"
- in the third patch, remove useless cat

Versions:
- v1 https://sourceware.org/pipermail/gdb-patches/2026-August/229841.html

Tom de Vries (3):
  [gdb] Use --data-directory in gdb_buildall.sh
  [gdb] Fix warnings in gdb_buildall.sh
  [gdb] Make gdb_buildall.sh shellcheck-clean

 gdb/contrib/shellcheck.sh |  1 -
 gdb/gdb_buildall.sh       | 88 +++++++++++++++++++++------------------
 2 files changed, 47 insertions(+), 42 deletions(-)


base-commit: bcdc54fb7a34a312777fa814e065b2cc01424e0a
  

Comments

Tom de Vries Sept. 14, 2026, 9:32 p.m. UTC | #1
On 8/31/26 9:41 AM, Tom de Vries wrote:
> This series contains three patches related to gdb/gdb_buildall.sh.
> 
> The first fixes an error.
> 
> The second fixes a warning.
> 
> The last makes it shellcheck-clean.
> 
> Tested on aarch64-linux by running:
> ...
> $ rm -Rf build-all
> $ mkdir build-all
> $ bash ./src/gdb/gdb_buildall.sh \
>        -j 9 \
>        --bfd64 \
>        src \
>        build-all
> ...
> 

I've pushed this series.

Thanks,
- Tom

> Changes in v2:
> - in the third patch, use array for targexp handling to fix bug where we get
>    grep "-e foo -e bar"
> - in the third patch, remove useless cat
> 
> Versions:
> - v1 https://sourceware.org/pipermail/gdb-patches/2026-August/229841.html
> 
> Tom de Vries (3):
>    [gdb] Use --data-directory in gdb_buildall.sh
>    [gdb] Fix warnings in gdb_buildall.sh
>    [gdb] Make gdb_buildall.sh shellcheck-clean
> 
>   gdb/contrib/shellcheck.sh |  1 -
>   gdb/gdb_buildall.sh       | 88 +++++++++++++++++++++------------------
>   2 files changed, 47 insertions(+), 42 deletions(-)
> 
> 
> base-commit: bcdc54fb7a34a312777fa814e065b2cc01424e0a