[RFC] Crash sourcing Python script on Windows

Tom Tromey tromey@redhat.com
Mon Oct 3 20:05:00 GMT 2011


>>>>> "John" == John Spencer <maillist-gdbpatches@barfooze.de> writes:

John> FILE is supposed to be an opaque type and as such noone except of the
John> libc which defines it is supposed to "poke" at its internals.

Which is exactly what GDB does.

John> however it is common practice in GNU software to assume everybody uses
John> GLIBC and poke around in internal stuff thats not supposed to be
John> accessibly at all in userland. another example of such illegal
John> behaviour is libevent, which does illegal things with fd_set internals
John> to allow more than FD_SETSIZE file descriptors to be used with
John> select().

I don't even know what libevent is.  It isn't part of gdb.

I'm guessing you are referring back to the libthread_db discussion.
If so, please separate the streams.  Thanks.

Tom



More information about the Gdb-patches mailing list