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: jit_breakpoint_re_set_internal desc_symbol issue


Doug> The problem is that the msymbol computed here:
Doug> jit.c:jit_breakpoint_re_set_internal:
Doug>       desc_symbol = lookup_minimal_symbol (jit_descriptor_name, NULL,
Doug> 					   reg_symbol.objfile);
Doug> is clobbered when we resort minsyms due to objfile relocation here:
Doug> objfiles.c:objfile_relocate1:

Doug> I haven't dug into why this only just started happening,
Doug> seems like the bug has been there for awhile.

Doug> I'm not sure what the right fix is here.
Doug> Suggestions?

It is probably mine.  Also I think there are other instances, possibly
erroneous, of minsym caching.  I suggest filing a bug and assigning it
to me, and I will deal with it as soon as I'm able.

Tom


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