This is the mail archive of the
mailing list for the GDB project.
Re: [patch] avoid the crash of gdb+pretty printer on initialized local variables
>>>>> ">" == ext asmwarrior <firstname.lastname@example.org> writes:
>> I forget to mention that My gdb was build with -O0 and -g, so I think
>> no optimization was used in building gdb.
>> The problem is that gdb still crash when it try to pretty-print the
>> uninitialized local variables.
I think the best thing to do is find out why that happens, and fix the
root cause. gdb should not crash.