Skip to content

Commit

Permalink
add patch for gdb race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
netbub committed Mar 12, 2019
1 parent ec29260 commit b284a3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unpack_repack_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,8 @@ enable_gdb()
else
log "Using recent ASA gdb patching method"
sed -i 's/#\(.*\)ttyUSB0\(.*\)/\1ttyS0\2/' asa/scripts/rcS
# Don't output anything on the tty, as this breaks some gdb versions
sed -i 's/ttyS0::once:\/tmp\/run_cmd/::once:\/tmp\/run_cmd/' etc/inittab
fi
fi
}
Expand Down

0 comments on commit b284a3d

Please sign in to comment.