Snapshot of cfree HEAD 1e2e6f8 (verified: src/main.cpp and Makefile match git show HEAD byte-for-byte): separate top-level code window (red-dot breakpoints, auto variable inspection, red paused line), separate top-level palette window (tight 2-column grid, 36 buttons), GDB stepping debugger, CMake support, 36-widget GTK designer. LICENSE dropped — byte-identical to the repo MIT LICENSE. Uncommitted palette-icons work in /opt/cfree is NOT included; it will be re-synced before the final push if it lands.
13 lines
278 B
C++
13 lines
278 B
C++
// Debugger test target: never exits on its own (kill/restart tests).
|
|
// Compile with: g++ -g -O0 -o spin spin.cpp
|
|
#include <cstdio>
|
|
int main() {
|
|
volatile long n = 0;
|
|
std::printf("SPINNING\n");
|
|
std::fflush(stdout);
|
|
while (1) {
|
|
n++;
|
|
}
|
|
return 0;
|
|
}
|