]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, gdbserver: use structured bindings in a few places
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 9 Jul 2025 13:17:50 +0000 (09:17 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 23 Jul 2025 18:08:23 +0000 (14:08 -0400)
commit778164cffebba2bb48b983ff6164b04e03eb5153
treee5a81fced85ff2e09a6405bd06d96945cd1befaf
parentae114fb523efe908f9e807359e2f494ee64d2801
gdb, gdbserver: use structured bindings in a few places

I wanted to change one of these, so I searched for more similar
instances, while at it.  I think this looks a bit tidier, over unpacking
the pairs by hand.

Change-Id: Ife4b678f7a6aed01803434197c564d2ab93532a7
Approved-By: Tom Tromey <tom@tromey.com>
gdb/corelow.c
gdb/dictionary.c
gdb/solib-svr4.c
gdb/solib.c
gdb/symtab.c
gdbserver/server.cc