This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] avoid the crash of gdb+pretty printer on initialized local variables


>>>>> ">" == ext asmwarrior <asmwarrior@gmail.com> 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.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]