[Windows GDBserver] Make GDBserver functional again on Windows

Joel Brobecker brobecker@adacore.com
Fri May 4 18:54:00 GMT 2018


> > I noticed a few weeks back that GDBserver on Windows was no longer
> > functional, so I started working on it as time allowed. With the
> > following patches, it's mostly functional, as in I only have few
> > regressions left. I wanted to have clean results before submitting,
> > but a recent patch showed that waiting could cause others to duplicate
> > something I had already done, so I'm posting now. The worse that can
> > happen is that I realize an earlier patch has a bug shown by the current
> > regressions, or that one of my patches is incomplete, but I think
> > it would be nothing compared to the risk of having work being duplicated.
> >
> >     [PATCH 1/3] [gdbserver/win32] fatal "glob could not process pattern
> >     [PATCH 2/3] gdbserver/Windows: Fix "no program to debug" error
> 
> Thanks for the patches.  The first two in the series fix issues
> introduced by some modifications I've made, and I apologize for that.

Thanks for having looked at the patches. No need to apologize for
breaking stuff -- it's just something that is so easy to do that
all of us do it despite our best efforts.

> > I haven't analyzed all the remaining failures yet, but most of them
> > seem to be related to the "kill" command not working. I will look
> > into that as soon as I have a moment (but it is looking like it may
> > be a week before I have the time).
> 
> I wonder if the failures have something to do with the recent
> modifications I've made on 'set print inferior-events' and the messages
> printed when the inferior is killed.  Anyway, something to keep in mind.

It's unfortunately really broken. killing fails with an error
(that I don't remember).

-- 
Joel



More information about the Gdb-patches mailing list