Hide variables?
Levo D <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <20230222050804.9B8FA17750B@bolin> |
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