Fix GDB std::atomic pretty-printer
https://crrev.com/c/4506164 changed the ABI namespace from Cr to __Cr which broke the std::atomic pretty-printer. This change updates the pretty-printer to match. Change-Id: I7facfaee6d3762f1317693584f3c192040c7a7cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4521899 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/main@{#1142357}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
39faddd360
commit
c6e8dd15e8
@ -481,7 +481,7 @@ class AtomicPrinter(Printer):
|
||||
return self.val['__a_']['__a_value']
|
||||
|
||||
|
||||
pp_set.add_printer('std::Cr::__atomic', '^std::Cr::(__)?atomic<.*>$',
|
||||
pp_set.add_printer('std::__Cr::__atomic', '^std::__Cr::(__)?atomic<.*>$',
|
||||
AtomicPrinter)
|
||||
|
||||
gdb.printing.register_pretty_printer(gdb, pp_set, replace=_DEBUGGING)
|
||||
|
Reference in New Issue
Block a user