This is the mail archive of the gdb-patches@sourceware.org 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] Let gdbserver doesn't tell GDB it support target-side breakpoint conditions and commands if it doesn't support 'Z' packet


On Tue, Dec 10, 2013 at 9:34 AM, Pedro Alves <palves@redhat.com> wrote:
>> Doug wrote:
>> If we must change things, I would prefer having a predicate
>> and call that first.
>
> I can try that.  Does your script API series already have
> something like that?  I'd guess it's probably touching this
> code too.

Hi.  I read this one after the actual patch.  No worries.

> Yeah, the previous post was just an RFC, I didn't mean to apply
> all of it as a single commit.  In this case, there are two
> implementations of that function (the real one, and then
> the dummy one for when Python isn't configured in), but
> only of them is documented, and I needed to document the
> return code, which affects the dummy version too.  Moving
> to the header sorted that out.  BTW, I realize this is
> probably conflicting with your scripts API series.  ISTR
> that removes the dummy functions anyway, right?  In any
> case, I'll try the predicate way.

Fortunately I anticipated the patch and included a change in my updated series.
It'll need some tweaks if UNSUPPORTED_ERROR is removed but easy enough.


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