* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
`regsub' syntax available.
This commit is contained in:
parent
51e139990e
commit
061b528517
@ -1,3 +1,8 @@
|
||||
2010-02-17 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
|
||||
`regsub' syntax available.
|
||||
|
||||
2010-02-17 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* gdb.base/shmain.c (main): Remove printf call.
|
||||
|
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user