This is the mail archive of the gdb@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: [RFC] MinGW and i386_pe_skip_trampoline_code


Pedro Alves wrote:
Hi all,

Just looking at PE support code, and I noticed that in i386-cygwin-tdep.c,
there is a call to set_gdbarch_skip_trampoline_code that will eventually register
i386_pe_skip_trampoline_code, defined in i386-tdep.c.
From the looks of it, that function will skip 'import lib stubs'/trampolines.
I wonder why gdb for MinGW doesn't register it too? Probably an oversight, no?


Err, maybe it is the other way around, and find_solib_trampoline_target should be enough for cygwin too?
Probably not important, though.


Cheers,
Pedro Alves




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