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: [PING][PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode


On 2017-07-27 11:11, Ruslan Kabatsayev wrote:
I was thinking that perhaps that when focusing...

a source view: s/n do source line stepping, S/N do assembly stepping
an asm view: s/n do assembly stepping, S/N do source line stepping

Basically, they would switch role.  Is that too confusing?
This might be OK, but what if current focus in on registers window?
Disable all single-key stepping?

Indeed. And when the user is in the "Source + Asm + Prompt" configuration and the prompt is focused, what would we do? That's perhaps a good idea in theory, but it would need to be more thought through.

You patch provides a predictable behavior across all modes, so I don't think we can go wrong with that.

Simon


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