why does assert(0) corrupt the stack trace?

Jan Kratochvil jan.kratochvil@redhat.com
Sun Nov 5 20:10:00 GMT 2017


On Sun, 05 Nov 2017 21:05:04 +0100, 慕冬亮 wrote:
> If I compile the program with "-O0", this problem may be solved. Yes?

You would need to recompile glibc with -g -O0.  Which I am not sure if it is
even possible.


Jan



More information about the Gdb mailing list