Verified Commit ee65b8a2 authored by Petr Špaček's avatar Petr Špaček
Browse files

gen-cdef: compatibility with GDB 8.2+

parent 79cbb321
......@@ -58,6 +58,8 @@ grep -v '^#\|^$' | while read -r ident; do
# LuaJIT FFI blows up on "uint" type
output="$(echo "$output" | sed 's/\buint\b/unsigned int/g')"
# GDB 8.2+ added source line prefix to output
output="$(echo "$output" | sed 's/^[0-9]\+:[[:space:]]*//g')"
# abort on empty output
if [ -z "$(echo "$output" | tr -d "\n;")" ]; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment