[PATCH v4 2/9] add "this" pointers to more target APIs

Tom Tromey tromey@redhat.com
Fri Dec 6 17:40:00 GMT 2013


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Tom> I think the in the long run it would be better if all targets were
Tom> async.

Pedro> Yes, of course.  It requires per-target work, however...  I'm not
Pedro> seeing that happen anytime soon.  (and djgpp might be a challenge.)

I wonder if we could simplify gdb by only providing async at the target
API level, and then letting some targets still work synchronously under
the hood, just using the async callback to report the event that was
found.  It wouldn't let "&" work but it might simplify the internals.  I
can't tell if this makes sense.

Tom



More information about the Gdb-patches mailing list