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:

Tom> I forget, something to do with not using the right gcc flag?

>> My app was build with -O0 and -g, no extra flag is used.

I mean a missing flag when building gdb.  I vaguely recall a need for
-fno-omit-frame-pointer, and that without this, gdb exceptions cause
crashes.

Tom


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