User forums > Using Code::Blocks

Why the disassembly window can't indicates the CURRENT INSTRUCTION

(1/2) > >>

firstrose:
The window shows instructions.But doesn't point out the current instruction.

I use:

CB 8.02
GDB 5.2.1

thomas:
Do I understand correctly that you want the current (or rather, next) instruction in the disassembly window highlighted when a breakpoint is reached?

byo:
I have simillar problem on XP with 8.02-MinGW version - when I open disassembly window it show contents of current function but it does not show the yellow triangle on the left indicating current eip location. But it seems to work on ubuntu (also 8.02)

Regards
   BYO

firstrose:

--- Quote from: thomas on March 05, 2008, 03:14:25 pm ---Do I understand correctly that you want the current (or rather, next) instruction in the disassembly window highlighted when a breakpoint is reached?

--- End quote ---

Absolutely YES!

It seems that I can express is correctly.

btw:I think BYO has the same problem.I use XP + CB8.02 + MingGW(current) + GDB 5.2.1.

thomas:
Hmm... that isn't particularly hard to do, if taking EIP is enough. The debugger plugin even already has that info available.

Of course it is a lot harder to do it correctly, as one line of source code usually maps several instructions. So actually, you would have to mark it like "statement goes from there to there, and EIP is here". That would require a backwards line translation... which shouldn't be too tough either, but it's not all too easy as the other thing.

Navigation

[0] Message Index

[#] Next page

Go to full version