This repository contains a script to compile ARM assembly source code, run the executable with qemu and connect it to gdb.
It is intended for educational purposes.
- arm-linux-gnueabi-gcc
- gdb
- gdb-multiarch (for Ubuntu)
- qemu-arm
$ ./gdb4arm.sh source_code_file.s [-a main]
See https://www.tutorialspoint.com/gnu_debugger/gdb_commands.htm