[RFC][PATCH v2] Consolidate gdbserver global variables

Frank Ch. Eigler fche@redhat.com
Mon May 7 19:17:00 GMT 2018


palves wrote:

> [...]
> Some comments more.  I still have some design reservations.
> It seems to me that simply making some of the globals be
> per client along won't work correctly.  Particularly, the
> cases where the globals are used in the backends.
> [...]

I don't want to speak for Stan here, but I suspect all this is about is
the breaking up of the multi-client work along the patchset path your
requested.  Yup, indeed backends have to do the logical 'union' of the
work that all the clients request, and each client interface will have
to filter the notifications correspondingly to undo the 'union'.  

But all that is in a separate patch; this part seems to simply
reorganize the globals in preparation for that, as you asked.

- FChE



More information about the Gdb-patches mailing list