Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: firstrose on March 05, 2008, 12:03:10 pm
-
The window shows instructions.But doesn't point out the current instruction.
I use:
CB 8.02
GDB 5.2.1
-
Do I understand correctly that you want the current (or rather, next) instruction in the disassembly window highlighted when a breakpoint is reached?
-
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
-
Do I understand correctly that you want the current (or rather, next) instruction in the disassembly window highlighted when a breakpoint is reached?
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.
-
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.
-
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.
I knew that one line of source can map more than one instruction.
I must have write some ambiguous words.
Well,I mean: The disassembly window doesn't indicate the current EIP
Since the disassembly window shows the assembly instructions, highlighting the corresponding instructions to the source line means expecting toooo much........
-
Hi @ all,
are there any News concerning this Topic?
Because I'd really appreciate the Feature of having the Line in the Dissassembly highlightened, where the eip points to. (I'm using XP with 8.02-MinGW version)
( Similar Question occurred here: http://forums.codeblocks.org/index.php/topic,8439.0/prev_next,prev.html#new )
This is my first Post here, so I'd like to shortly introduce myself: :)
My name is David, and I'm a german student of "Electrical and Information Engineering". I'm currently searching for a functional Cpp IDE for "close to hardware" optimization of FDTD Applications. And C::B could be just what I'm looking for. :D
kind regards
/David