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] |
I think the implication is that nearly any change can require the front end to need to reset everything and so trying to make gdb differentiate between the various events will never work out. So, gdb might as well emit something very generic rather than =register-changed.
For example, a register change can affect the variable view, the memory view (if the register is from some more-outer frame and the user is viewing the stack), the backtrace view, etc.
Or, a memory change can also affect any of these, including the register view if the changed memory happens to be where a register is stored.
So, in general, it seems the only safe thing for a front end is to just refresh everything on any change.
-- Yao
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |