This is the mail archive of the gdb@sources.redhat.com 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]

Re: w32api fibers supported?


At 10:04 14/06/01 , Holger Vogt a écrit:
>Hi,
>
>in CYGWIN or MINGW32 you may use fibers as "lightweight" threads
>(defined in w32api). I tried to port SystemC (using fibers) to CYGWIN
>but ran into difficulties.
>
>Using gdb to debug yields inconsistent results. A simple testcase exits
>in gdb with error code returned but runs o.k. outside gdb (gdb 4.18 and
>5.0).
>
>Are fibers supported in gdb? Is there a simple way to allow debugging
>applications with fibers?
This will probably be difficult,
because the kernel API doesn't generate
any debugger info when a fiber is created.

   To support this, a special drivers that intercepts
all these Fiber functions and calls the Debugger would be needed ...

   Without it, GDB will continue to consider that you run a simple thread.
But I don't really understand what you mean by saying that it yields 
inconsistent results.

   Could you try to be a little more explicit ?


Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


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