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] |
Date: Thu, 02 Oct 2008 14:40:51 -0700 From: Michael Snyder <msnyder@vmware.com>
The context is, the user says "show exec-direction" with a target that doesn't support reverse.
Is it better to just say "Forward", with no comment, or is it better to let the user know that the question is not applicable? Or both?
Both, I'd say.
(gdb) show exec-direction Forward (target `None' does not support exec-direction).
Like what?Shouldn't we have some kind of caveat here regarding function prologue and epilogue?
If I've done my job right, prologues and epilogues should be handled transparently, just like they are when stepping forward.
Are they treated transparently when we step forward? I had an impression that in optimized code, they aren't always transparent.
OK, I should have said "we do our best to treat them transparently". I suppose if the code is too optimized for us to do a good job when we're going forward, we will also have problems in reverse.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |