[PATCH 4/7] [gdb/testsuite] Factor out proc lock_dir

Tom Tromey tom@tromey.com
Fri May 3 20:23:04 GMT 2024


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> In lib/rocm.exp we have:
Tom> ...
Tom> set gpu_lock_filename $objdir/gpu-parallel.lock
Tom> ...

Tom> This decides both the lock file name and directory.

Tom> Factor out a new proc lock_dir that decides on the directory, leaving just:
Tom> ...
Tom> set gpu_lock_filename gpu-parallel.lock
Tom> ...

Ok
Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list