[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.
Tue, 31 Jan 2012 18:53:44 +1300
Kaushik Srenevasan writes:
> 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?
> > e.g,
> > "-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?
It seemed work OK when I tried it on x86_64. I don't know in what situations
it wouldn't work or how to fix it when it doesn't.