Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [RFC] MinGW and i386_pe_skip_trampoline_code
@ 2006-11-08  0:33 Pedro Alves
  2006-11-08  0:56 ` Pedro Alves
  2006-11-08  1:58 ` Daniel Jacobowitz
  0 siblings, 2 replies; 7+ messages in thread
From: Pedro Alves @ 2006-11-08  0:33 UTC (permalink / raw)
  To: gdb

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?

Cheers,
Pedro Alves


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08  0:33 [RFC] MinGW and i386_pe_skip_trampoline_code Pedro Alves
@ 2006-11-08  0:56 ` Pedro Alves
  2006-11-08  1:58 ` Daniel Jacobowitz
  1 sibling, 0 replies; 7+ messages in thread
From: Pedro Alves @ 2006-11-08  0:56 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb

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
>
>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08  0:33 [RFC] MinGW and i386_pe_skip_trampoline_code Pedro Alves
  2006-11-08  0:56 ` Pedro Alves
@ 2006-11-08  1:58 ` Daniel Jacobowitz
  2006-11-08  2:09   ` Pedro Alves
  2006-11-08  4:19   ` Eli Zaretskii
  1 sibling, 2 replies; 7+ messages in thread
From: Daniel Jacobowitz @ 2006-11-08  1:58 UTC (permalink / raw)
  To: Pedro Alves; +Cc: gdb

On Wed, Nov 08, 2006 at 12:32:35AM +0000, 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?

The FSF tree doesn't even support native GDB on MinGW, to the best of
my knowledge.  The MinGW people have local patches that I don't believe
have ever been submitted (this is hearsay, I've never looked myself).

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08  1:58 ` Daniel Jacobowitz
@ 2006-11-08  2:09   ` Pedro Alves
  2006-11-08  4:19   ` Eli Zaretskii
  1 sibling, 0 replies; 7+ messages in thread
From: Pedro Alves @ 2006-11-08  2:09 UTC (permalink / raw)
  To: Pedro Alves, gdb

Daniel Jacobowitz wrote:
> On Wed, Nov 08, 2006 at 12:32:35AM +0000, 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?
>>     
>
> The FSF tree doesn't even support native GDB on MinGW, to the best of
> my knowledge.  The MinGW people have local patches that I don't believe
> have ever been submitted (this is hearsay, I've never looked myself).
>
>   

Ah ok. MinGW is handled on gdb/configure.tgt, so I thought it was supported.
I've never looked into MinGW's gdb sources either.

Cheers,
Pedro Alves


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08  1:58 ` Daniel Jacobowitz
  2006-11-08  2:09   ` Pedro Alves
@ 2006-11-08  4:19   ` Eli Zaretskii
  2006-11-08 18:39     ` Christopher Faylor
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2006-11-08  4:19 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: pedro_alves, gdb

> Date: Tue, 7 Nov 2006 20:57:52 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
> 
> The FSF tree doesn't even support native GDB on MinGW, to the best of
> my knowledge.  The MinGW people have local patches that I don't believe
> have ever been submitted (this is hearsay, I've never looked myself).

Yes, you are right.  I'm not one of the ``MinGW people'' who maintain
the native GDB, but I've seen the patches, and they aren't in the
official sources, for reasons that evade me.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08  4:19   ` Eli Zaretskii
@ 2006-11-08 18:39     ` Christopher Faylor
  2006-11-09  4:22       ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Faylor @ 2006-11-08 18:39 UTC (permalink / raw)
  To: pedro_alves, Daniel Jacobowitz, gdb, Eli Zaretskii

On Wed, Nov 08, 2006 at 06:19:12AM +0200, Eli Zaretskii wrote:
>>Date: Tue, 7 Nov 2006 20:57:52 -0500
>>From: Daniel Jacobowitz
>>
>>The FSF tree doesn't even support native GDB on MinGW, to the best of
>>my knowledge.  The MinGW people have local patches that I don't believe
>>have ever been submitted (this is hearsay, I've never looked myself).
>
>Yes, you are right.  I'm not one of the ``MinGW people'' who maintain
>the native GDB, but I've seen the patches, and they aren't in the
>official sources, for reasons that evade me.

Isn't the ownership of the patches questionable so there is no clear way
to assign them to the FSF?

cgf


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [RFC] MinGW and i386_pe_skip_trampoline_code
  2006-11-08 18:39     ` Christopher Faylor
@ 2006-11-09  4:22       ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2006-11-09  4:22 UTC (permalink / raw)
  To: pedro_alves, drow, gdb

> Date: Wed, 8 Nov 2006 13:39:36 -0500
> From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
> >
> >Yes, you are right.  I'm not one of the ``MinGW people'' who maintain
> >the native GDB, but I've seen the patches, and they aren't in the
> >official sources, for reasons that evade me.
> 
> Isn't the ownership of the patches questionable so there is no clear way
> to assign them to the FSF?

Maybe, I simply don't know.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-09  4:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-08  0:33 [RFC] MinGW and i386_pe_skip_trampoline_code Pedro Alves
2006-11-08  0:56 ` Pedro Alves
2006-11-08  1:58 ` Daniel Jacobowitz
2006-11-08  2:09   ` Pedro Alves
2006-11-08  4:19   ` Eli Zaretskii
2006-11-08 18:39     ` Christopher Faylor
2006-11-09  4:22       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox