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: GDB 7.7 crashes on LTO-built executable


Some more info, obtained by setting various debug options: With a
non-LTO build of the same program, GDB displays this after it finishes
reading the symbols and expanding the symtabs:

  Created primary symtab 0x2125880 for tchmod.c
  ...
  qf->lookup_symbol (...) = tchmod.c

(tchmod.c is the source file of this program.)

But when I do the same with the LTO-compiled executable, the last
message is:

  Created primary symtab 0x21172d0 for C:\Users\eliz\AppData\Local\Temp\ccN8FPgQ.ltrans0.o.
  ...
  qf->lookup_symbol (...) = C:\Users\eliz\AppData\Local\Temp\ccN8FPgQ.ltrans0.o


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