aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/gdb.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index a42d551..627941d 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2830,7 +2830,7 @@ proc build_id_debug_filename_get { exec } {
}
# Convert it to hex.
binary scan $data H* data
- set data [regsub {^..} $data {\0/}]
+ regsub {^..} $data {\0/} data
return ".build-id/${data}.debug";
}