diff options
| author | Watson Wheeler <git@tazy.dev> | 2026-06-30 21:14:48 +1000 |
|---|---|---|
| committer | Watson Wheeler <git@tazy.dev> | 2026-06-30 21:16:04 +1000 |
| commit | ee8dc71be4e71780d96627bc37cec446927b8463 (patch) | |
| tree | 7bb9762df024961733ee880984b15dac5e7c5408 /scripts | |
| parent | 80eace78392ba798dd34a284f6fcb412434cdd47 (diff) | |
refactor(gdb): move .gdbinit to scripts
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/.gdbinit | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/scripts/.gdbinit b/scripts/.gdbinit new file mode 100644 index 0000000..345b33e --- /dev/null +++ b/scripts/.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 |
