From 57d42f07158b8ea4a713378c90d22b28ca4787f8 Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Thu, 26 Dec 2024 15:06:34 +0300 Subject: [PATCH] Fix pretty printers integration for 32-bit ARM --- include/boost/json/detail/gdb_printers.hpp | 2 +- pretty_printers/generate-gdb-header.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/json/detail/gdb_printers.hpp b/include/boost/json/detail/gdb_printers.hpp index ccc7f1ebd..83e00882b 100644 --- a/include/boost/json/detail/gdb_printers.hpp +++ b/include/boost/json/detail/gdb_printers.hpp @@ -23,7 +23,7 @@ #endif __asm__( - ".pushsection \".debug_gdb_scripts\", \"MS\",@progbits,1\n" + ".pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n" ".ascii \"\\4gdb.inlined-script.BOOST_JSON_DETAIL_GDB_PRINTERS_HPP\\n\"\n" ".ascii \"import gdb\\n\"\n" ".ascii \"import gdb.printing\\n\"\n" diff --git a/pretty_printers/generate-gdb-header.py b/pretty_printers/generate-gdb-header.py index b1164b9b9..b4d797aa9 100755 --- a/pretty_printers/generate-gdb-header.py +++ b/pretty_printers/generate-gdb-header.py @@ -27,7 +27,7 @@ #endif __asm__( - ".pushsection \\\".debug_gdb_scripts\\\", \\\"MS\\\",@progbits,1\\n" + ".pushsection \\\".debug_gdb_scripts\\\", \\\"MS\\\",%progbits,1\\n" ".ascii \\\"\\\\4gdb.inlined-script.{script_id}\\\\n\\\"\\n" '''