[ELDK] need to use GDB/MI commands with gdb provided by ELDK4.1.

Wolfgang Denk wd at denx.de
Mon Jul 6 10:43:02 CEST 2009


Dear Diptopal Basu,

In message <bd97640b0907060048y551f0a82l3e17550f9ce5af61 at mail.gmail.com> you wrote:
>
>  I need to enable GDB/MI commands with ELDK 4.1 debigger for ARM , I am

Could you please explain what exactly you have in mind with using the
GDB/MI interface?

> [root at localhost Desktop]# arm-linux-gdb nick_arm
...
> (gdb) -break-insert main
> Undefined command: "-break-insert".  Try "help".

You are talking to GDB's  command  line  interface  here  (CLI,  also
called  console interpreter), which is the default interface for GDB.

You cannot use GDB/MI commands when talking to the CLI interface.  To
do  that,  you  must start GDB with the machine interface interpreter
(or  GDB/MI)  by  specifying  the  `-i'  or  `--interpreter'  startup
options. Please read the GDB manual for details.

Try something like

	arm-linux-gdb --interpreter mi nick_arm



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To know how another being, another creature feels -  that  is  impos-
sible.                  - Terry Pratchett, _The Dark Side of the Sun_


More information about the eldk mailing list