Skip to content

Commit c2510c5

Browse files
committed
Fix build with -std=
1 parent b6495c1 commit c2510c5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

main/debug_gdb_scripts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* See https://sourceware.org/gdb/current/onlinedocs/gdb.html/dotdebug_005fgdb_005fscripts-section.html#dotdebug_005fgdb_005fscripts-section
88
*/
9-
asm(
9+
__asm__(
1010
".pushsection \".debug_gdb_scripts\", \"MS\",%progbits,1\n"
1111
".byte 4 /* Python Text */\n"
1212
".ascii \"gdb.inlined-script\\n\"\n"

scripts/gdb/debug_gdb_scripts_gen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* See https://sourceware.org/gdb/current/onlinedocs/gdb.html/dotdebug_005fgdb_005fscripts-section.html#dotdebug_005fgdb_005fscripts-section
2929
*/
30-
asm(
30+
__asm__(
3131
".pushsection \".debug_gdb_scripts\", \"MS\",%%progbits,1\n"
3232
".byte 4 /* Python Text */\n"
3333
".ascii \"gdb.inlined-script\\n\"\n"

0 commit comments

Comments
 (0)