diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-22 17:23:32 +1000 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-22 17:23:32 +1000 |
| commit | 2307dab6bf0e51b3e013f99ff6f84163da8b3d55 (patch) | |
| tree | d374009de8604532288dff0f47bc17367283f79e /debug/.gdbinit | |
| parent | a39f66727fc66f7ce7e59039a959f862b19eb745 (diff) | |
feat(debug): Add GDB init file
Diffstat (limited to 'debug/.gdbinit')
| -rw-r--r-- | debug/.gdbinit | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debug/.gdbinit b/debug/.gdbinit new file mode 100644 index 0000000..345b33e --- /dev/null +++ b/debug/.gdbinit @@ -0,0 +1,37 @@ +set pagination off +set confirm off +set print pretty on +set print array on + +set breakpoint pending on + +break ff_open_png +break ff_png_isvalid +break ff_png_dispatch +break ff_png_header_handler +break ff_png_data_handler +break ff_png_end_handler + +define ff + run +end + +define st + info locals + info args +end + +define ihdr + print png_ctx->width + print png_ctx->height + print png_ctx->bit_depth + print png_ctx->color_type +end + +define ctx + print *ctx +end + +define png + print *png_ctx +end |
