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: Another proposal for frontends and queries.


> One idea from the user 'heinz' (sorry, I don't know your real name!) was
> to have a query in MI mode throw a specific error, then let the front
> end reissue the command with the correct response.

That's what I thought the general policy was before I started thinking
about it some more.  I know this was mentioned on IRC, but this assumes
that we don't perform any action if an error is thrown. Otherwise, the
user sends the command, receives the query, cancels the command, and
thinks nothing happen.

I've often let the best be the enemy of good, though.  It seems like
an acceptable restriction in the way we implement commands, particularly
since it allows us to avoid potentially complex improvements of
the command architecture.

That being said, for 7.0, we should just go with the easy and safe
route.  That way, existing frontend can work with gdb-7.0, rather
than having to update their code to handle the new approach.

-- 
Joel


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