As pointed out by Simon, this changes ARI to allow the gdb-specific %p
printf extensions.
gdb/ChangeLog
2019-10-08  Tom Tromey  <tromey@adacore.com>
	* contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
+
 2019-10-08  Christian Biesinger  <cbiesinger@google.com>
 
        * gdbtypes.c (overload_debug): Move comment to header.
 
 target address, or host_address_to_string() for a host address"
     category["%p"] = ari_code
 }
-/%p/ && !/%prec/ {
+# Allow gdb %p extensions, but not other uses of %p.
+/%p[^[\]sF]/ && !/%prec/ {
     fail("%p")
 }