Skip to content

Commit

Permalink
st-util: supply osabi to gdb
Browse files Browse the repository at this point in the history
This tells gdb the osabi to use, which is especially useful if the osabi
is not communicated to gdb by manually setting it, or by a special
section in the ELF file loaded by gdb.
  • Loading branch information
bauen1 committed Apr 17, 2024
1 parent 40948aa commit feb7eb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/st-util/gdb-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ static const char* const target_description =
"<!DOCTYPE target SYSTEM \"gdb-target.dtd\">"
"<target version=\"1.0\">"
" <architecture>arm</architecture>"
" <osabi>none</osabi>"
" <feature name=\"org.gnu.gdb.arm.m-profile\">"
" <reg name=\"r0\" bitsize=\"32\"/>"
" <reg name=\"r1\" bitsize=\"32\"/>"
Expand Down

0 comments on commit feb7eb1

Please sign in to comment.