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" '''