[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] GUD-MI's disassembly buffer should follow $PC in the absence
Re: [PATCH] GUD-MI's disassembly buffer should follow $PC in the absence of debug information.
Mon, 30 Jan 2012 13:52:38 -0800
On Sun, 2012-01-29 at 22:17 +1300, Nick Roberts wrote:
> That looks fine but would it be better to place the overlay arrow
> further down the window so that the user can see previous instructions?
> "-data-disassemble -s \"$pc - 80\" -e \"$pc + 80\" -- 0"
Yes, that would definitely be useful except I couldn't figure out how to
reliably get to an instruction boundary while subtracting from $PC. GDB
doesn't seem to do it automatically. Ideas?