User forums > Using Code::Blocks

GDB command

<< < (3/3)

electrolot:
Attached. Thanks in advance.




[attachment deleted by admin]

mariocup:
Hi electrolot,

I have just tested your project. Since I have no ARM Compiler installed on my private laptop I changed the project for the GNU TriCore compiler. I did the following steps:
1. start the tricore simulator
2. Add in the debug settings in before command:
tar extended-remote localhost:6785
load arm_emul.elf
b main

If I start Debug->Start, then the program runs to main and if I step to next line everything works perfectly. See the debugger screenshot in the attached archive.

Sorry but I can't reproduce the problem.

Bye,

Mario

[attachment deleted by admin]

electrolot:
Hi Mario,

thank you for your help.

I use gdb.exe file from another toolchain and all works fine.
I don't know why if I use CodeSourcery toolchain it does not work.
I've got one problem now. When I use Next Instruction command I see disassembly window but address cursor is still in source. I think that the cursor should be in disassembly window.

regards

Navigation

[0] Message Index

[*] Previous page

Go to full version