This is the mail archive of the gdb-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix PR threads/1048


> Date: Thu, 25 Dec 2003 23:28:58 -0500
> From: Christopher Faylor <cgf@redhat.com>
> 
> The Windows debugging API is nice in some ways but it is pretty brain
> dead here.  If the main thread has exited, there is never any create
> process notification when attaching to a process.  That confuses all
> sorts of things.
> 
> "Fixed" by liberally sprinkling NULL checks in places where there really
> shouldn't be a NULL and creating a dummy create process event.

Just my $0.02: I wonder whether a comment explaining the need for
those work-arounds is in order.  Someone in the (distant) future might
become puzzled by the dummy event or the NULL checks.


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