Hide variables?

Levo D may-not-reply@mail9fcb1a.bolinlang.com
Wed Feb 22 05:08:04 GMT 2023


I'm generating c source. The code isn't sophisticated yet so there's a lot of unnamed temporary variables. Would it be possible to have gdb hide them? Is there a prefix I can use (like _hiddenMyVarName), or a way to use a pretty printer to hide them? Is there a standard tool to strip the variables from the binary? I use 3 compilers with gdb, clang, gcc and tcc (tiny c compiler). I found a solution for clang but it doesn't work with gcc or tcc



More information about the Gdb mailing list