]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Minor cleanup in linux_proc_attach_tgid_threads
authorTom Tromey <tromey@adacore.com>
Thu, 7 Sep 2023 15:03:43 +0000 (09:03 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 1 Dec 2023 17:36:00 +0000 (10:36 -0700)
commit31141b552026de77f737c92c7a41789102bae8dc
tree7be475a98bf1c14d2f28fa662cd47023a7c62513
parent9d8fc40eb0e611162844eb7b89f1c76875153fbe
Minor cleanup in linux_proc_attach_tgid_threads

linux_proc_attach_tgid_threads computes a file name, and then
re-computes it for a warning.  It is better to reuse the
already-computed name here.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/nat/linux-procfs.c