From ee8dc71be4e71780d96627bc37cec446927b8463 Mon Sep 17 00:00:00 2001 From: Watson Wheeler Date: Tue, 30 Jun 2026 21:14:48 +1000 Subject: refactor(gdb): move .gdbinit to scripts --- scripts/.gdbinit | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 scripts/.gdbinit (limited to 'scripts') 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 -- cgit v1.2.3