Tool z88dk gdb
Alex Siryi edited this page Jun 11, 2023
·
6 revisions
z88dk-gdb is currently under development
Compile your application with the -debug option:
zcc +zx -debug main.c -create-app -m
./mame spectrum -window -nomaximize -resolution0 768x576 -debug -debugger gdbstub -debugger_port 1337
Run on Fuse fork for Windows
Start Fuse, select "GDBServer...", select "Enabled"
Run on Fuse fork for Mac
Start Fuse, select "Preferences", select "Debugger", select "Enable GDBServer"
Install spectranet-gdbserver (requires Spectranet), connect to port 1667
See z88dk-gdb-ide-test example
z88dk-gdb -h <connect host> -p <connect port> -x <debug symbols>
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage