gdb for or32 and mips

General questions regarding the usage of CodeLite
hekfan
CodeLite Curious
Posts: 3
Joined: Fri Nov 27, 2009 5:06 am
Genuine User: Yes
IDE Question: C++
Contact:

gdb for or32 and mips

Post by hekfan »

I can create two new compilers, --target=or32 and --target=mips. But how can I add the two new gdbs?
For example, my project 1 is target or32 and project 2 is target mips, but I can config only one gdb. When I open project 1, I must set gdb to or32-elf-gdb. When I open project 2, I must set gdb to mips-elf-gdb.
Can gdb be configured as gcc's config manner? When I open project 1, gdb's set to or32-elf-gdb automatically. And when I open project 2, gdb's set to mips-elf-gdb automatically.
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: gdb for or32 and mips

Post by eranif »

right click on your project and select 'Debugger' tab you can specify which gdb to use with this project. When left empty, the global settings is used.

Eran
Make sure you have read the HOW TO POST thread
hekfan
CodeLite Curious
Posts: 3
Joined: Fri Nov 27, 2009 5:06 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: gdb for or32 and mips

Post by hekfan »

Thanks
Post Reply