Page 1 of 1

gdb for or32 and mips

Posted: Fri Nov 27, 2009 5:36 am
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.

Re: gdb for or32 and mips

Posted: Fri Nov 27, 2009 8:22 am
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

Re: gdb for or32 and mips

Posted: Fri Nov 27, 2009 8:42 am
by hekfan
Thanks