Home » Language IDEs » C / C++ IDE (CDT) » Debugging (Cygwin, MIPS toolchain)
Debugging (Cygwin, MIPS toolchain) [message #58078] |
Wed, 15 January 2003 05:24  |
Eclipse User |
|
|
|
Originally posted by: goran.pantar.xylon.hr
I'm using Eclipse IDE with CDT pluggin on Windows/Cygwin with mips-elf
toolchail (mips-elf-gcc, mips-elf-gdb..). I can build "Standard Make C
projects" and debug with Insight gdb as external tool.
Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT debugging
interface?
I use:
CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
Eclipse: eclipse-SDK-M4-win32.zip
Thank you
goran
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58148 is a reply to message #58078] |
Wed, 15 January 2003 08:47   |
Eclipse User |
|
|
|
Originally posted by: kishore.tlon.de
Dear Mr.Goran,
I am also facing a similar problem. Except that i use arm-elf tool chain.
I could debug externally. But when i try to debug in the CDT domain, the
project debugger option says: no debugger available.
I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried with
PURE version gdb ,but dint help.
Also If i need to change the settings of tartget in gdb within cdt domain,
should i only use command version gdb?
I would very much appreciate, if someone could help.Im very much impressed
with eclipse environment and i am curious to use, if eclipse could support
it at this stage.
thanks in advance,
Kishore Kumar Sathyanandam
TLON GmbH
kishore@tlon.de
+49 (0)791 - 9305017
"goran pantar" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
news:b03ct8$sbk$1@rogue.oti.com...
> I'm using Eclipse IDE with CDT pluggin on Windows/Cygwin with mips-elf
> toolchail (mips-elf-gcc, mips-elf-gdb..). I can build "Standard Make C
> projects" and debug with Insight gdb as external tool.
>
> Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT debugging
> interface?
>
> I use:
> CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> Eclipse: eclipse-SDK-M4-win32.zip
>
> Thank you
>
> goran
>
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58172 is a reply to message #58148] |
Wed, 15 January 2003 14:10   |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
Unfortunately you can not debug remote targets with this version of CDT. It
needs an extension to support the remote debugging.
Mikhail Khodjaiants
"Kishore Kumar Sathyanandam" <kishore@tlon.de> wrote in message
news:b03nee$56a$1@rogue.oti.com...
> Dear Mr.Goran,
> I am also facing a similar problem. Except that i use arm-elf tool chain.
> I could debug externally. But when i try to debug in the CDT domain, the
> project debugger option says: no debugger available.
> I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried with
> PURE version gdb ,but dint help.
>
> Also If i need to change the settings of tartget in gdb within cdt domain,
> should i only use command version gdb?
>
> I would very much appreciate, if someone could help.Im very much
impressed
> with eclipse environment and i am curious to use, if eclipse could support
> it at this stage.
>
> thanks in advance,
> Kishore Kumar Sathyanandam
> TLON GmbH
> kishore@tlon.de
> +49 (0)791 - 9305017
> "goran pantar" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
> news:b03ct8$sbk$1@rogue.oti.com...
> > I'm using Eclipse IDE with CDT pluggin on Windows/Cygwin with mips-elf
> > toolchail (mips-elf-gcc, mips-elf-gdb..). I can build "Standard Make C
> > projects" and debug with Insight gdb as external tool.
> >
> > Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT debugging
> > interface?
> >
> > I use:
> > CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> > Eclipse: eclipse-SDK-M4-win32.zip
> >
> > Thank you
> >
> > goran
> >
>
>
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58246 is a reply to message #58172] |
Thu, 16 January 2003 02:56   |
Eclipse User |
|
|
|
Originally posted by: johan.nosp.m.appeal.se
Have you thought about just calling gdb through ssh? Wouldn't that be a
way of solving the problem without much work? So instead of starting
gdb with "/usr/bin/gdb" or whatever you do currently, start it with "ssh
remotehost /usr/bin/gdb".
Cheers //Johan
Mikhail Khodjaiants wrote:
> Unfortunately you can not debug remote targets with this version of CDT. It
> needs an extension to support the remote debugging.
>
> Mikhail Khodjaiants
>
> "Kishore Kumar Sathyanandam" <kishore@tlon.de> wrote in message
> news:b03nee$56a$1@rogue.oti.com...
>
>>Dear Mr.Goran,
>>I am also facing a similar problem. Except that i use arm-elf tool chain.
>>I could debug externally. But when i try to debug in the CDT domain, the
>>project debugger option says: no debugger available.
>>I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried with
>>PURE version gdb ,but dint help.
>>
>>Also If i need to change the settings of tartget in gdb within cdt domain,
>>should i only use command version gdb?
>>
>>I would very much appreciate, if someone could help.Im very much
>
> impressed
>
>>with eclipse environment and i am curious to use, if eclipse could support
>>it at this stage.
>>
>>thanks in advance,
>>Kishore Kumar Sathyanandam
>>TLON GmbH
>>kishore@tlon.de
>>+49 (0)791 - 9305017
>>"goran pantar" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
>>news:b03ct8$sbk$1@rogue.oti.com...
>>
>>>I'm using Eclipse IDE with CDT pluggin on Windows/Cygwin with mips-elf
>>>toolchail (mips-elf-gcc, mips-elf-gdb..). I can build "Standard Make C
>>>projects" and debug with Insight gdb as external tool.
>>>
>>>Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT debugging
>>>interface?
>>>
>>>I use:
>>>CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
>>>Eclipse: eclipse-SDK-M4-win32.zip
>>>
>>>Thank you
>>>
>>>goran
>>>
>>
>>
>
>
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58271 is a reply to message #58172] |
Thu, 16 January 2003 04:38   |
Eclipse User |
|
|
|
Originally posted by: goran.pantar.xylon.hr
Mikhail Khodjaiants wrote:
> Unfortunately you can not debug remote targets with this version of CDT. It
> needs an extension to support the remote debugging.
Is remote debugging planed to be done in near future. If not, do you
thing it would be a problem to implement it. We are very interested in
using Eclipse and this is the only thing missing to have complete IDE.
Goran Pantar
> Mikhail Khodjaiants
> \"Kishore Kumar Sathyanandam\" <kishore@tlon.de> wrote in message
> news:b03nee$56a$1@rogue.oti.com...
> > Dear Mr.Goran,
> > I am also facing a similar problem. Except that i use arm-elf tool chain.
> > I could debug externally. But when i try to debug in the CDT domain, the
> > project debugger option says: no debugger available.
> > I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried with
> > PURE version gdb ,but dint help.
> >
> > Also If i need to change the settings of tartget in gdb within cdt domain,
> > should i only use command version gdb?
> >
> > I would very much appreciate, if someone could help.Im very much
> impressed
> > with eclipse environment and i am curious to use, if eclipse could support
> > it at this stage.
> >
> > thanks in advance,
> > Kishore Kumar Sathyanandam
> > TLON GmbH
> > kishore@tlon.de
> > +49 (0)791 - 9305017
> > \"goran pantar\" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
> > news:b03ct8$sbk$1@rogue.oti.com...
> > > I\'m using Eclipse IDE with CDT pluggin on Windows/Cygwin with mips-elf
> > > toolchail (mips-elf-gcc, mips-elf-gdb..). I can build \"Standard Make C
> > > projects\" and debug with Insight gdb as external tool.
> > >
> > > Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT debugging
> > > interface?
> > >
> > > I use:
> > > CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> > > Eclipse: eclipse-SDK-M4-win32.zip
> > >
> > > Thank you
> > >
> > > goran
> > >
> >
> >
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58390 is a reply to message #58271] |
Thu, 16 January 2003 10:49   |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
Yes, we are planning to implement remote debugging in the near future but
the release date has not set yet. I don't think it would be a problem, we
just have to write a special launcher.
Mikhail Khodjaiants
"goran pantar" <goran.pantar@xylon.hr> wrote in message
news:b05uhp$ndu$1@rogue.oti.com...
> Mikhail Khodjaiants wrote:
>
> > Unfortunately you can not debug remote targets with this version of CDT.
It
> > needs an extension to support the remote debugging.
>
> Is remote debugging planed to be done in near future. If not, do you
> thing it would be a problem to implement it. We are very interested in
> using Eclipse and this is the only thing missing to have complete IDE.
>
> Goran Pantar
>
> > Mikhail Khodjaiants
>
> > \"Kishore Kumar Sathyanandam\" <kishore@tlon.de> wrote in message
> > news:b03nee$56a$1@rogue.oti.com...
> > > Dear Mr.Goran,
> > > I am also facing a similar problem. Except that i use arm-elf tool
chain.
> > > I could debug externally. But when i try to debug in the CDT domain,
the
> > > project debugger option says: no debugger available.
> > > I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried
with
> > > PURE version gdb ,but dint help.
> > >
> > > Also If i need to change the settings of tartget in gdb within cdt
domain,
> > > should i only use command version gdb?
> > >
> > > I would very much appreciate, if someone could help.Im very much
> > impressed
> > > with eclipse environment and i am curious to use, if eclipse could
support
> > > it at this stage.
> > >
> > > thanks in advance,
> > > Kishore Kumar Sathyanandam
> > > TLON GmbH
> > > kishore@tlon.de
> > > +49 (0)791 - 9305017
> > > \"goran pantar\" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
> > > news:b03ct8$sbk$1@rogue.oti.com...
> > > > I\'m using Eclipse IDE with CDT pluggin on Windows/Cygwin with
mips-elf
> > > > toolchail (mips-elf-gcc, mips-elf-gdb..). I can build \"Standard
Make C
> > > > projects\" and debug with Insight gdb as external tool.
> > > >
> > > > Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT
debugging
> > > > interface?
> > > >
> > > > I use:
> > > > CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> > > > Eclipse: eclipse-SDK-M4-win32.zip
> > > >
> > > > Thank you
> > > >
> > > > goran
> > > >
> > >
> > >
>
>
>
>
>
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58521 is a reply to message #58390] |
Thu, 16 January 2003 12:35   |
Eclipse User |
|
|
|
Originally posted by: goran.pantar.xylon.hr
Mikhail Khodjaiants wrote:
> Yes, we are planning to implement remote debugging in the near future but
> the release date has not set yet. I don't think it would be a problem, we
> just have to write a special launcher.
> Mikhail Khodjaiants
Do you mean that the only thing that needs to be done to call gdb with
parameters for remote debugging?
Something like this :
set remote baud 115200
target remote com1
load
Or maybe use gdb.ini?
goran
> "goran pantar" <goran.pantar@xylon.hr> wrote in message
> news:b05uhp$ndu$1@rogue.oti.com...
> > Mikhail Khodjaiants wrote:
> >
> > > Unfortunately you can not debug remote targets with this version of CDT.
> It
> > > needs an extension to support the remote debugging.
> >
> > Is remote debugging planed to be done in near future. If not, do you
> > thing it would be a problem to implement it. We are very interested in
> > using Eclipse and this is the only thing missing to have complete IDE.
> >
> > Goran Pantar
> >
> > > Mikhail Khodjaiants
> >
> > > \"Kishore Kumar Sathyanandam\" <kishore@tlon.de> wrote in message
> > > news:b03nee$56a$1@rogue.oti.com...
> > > > Dear Mr.Goran,
> > > > I am also facing a similar problem. Except that i use arm-elf tool
> chain.
> > > > I could debug externally. But when i try to debug in the CDT domain,
> the
> > > > project debugger option says: no debugger available.
> > > > I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried
> with
> > > > PURE version gdb ,but dint help.
> > > >
> > > > Also If i need to change the settings of tartget in gdb within cdt
> domain,
> > > > should i only use command version gdb?
> > > >
> > > > I would very much appreciate, if someone could help.Im very much
> > > impressed
> > > > with eclipse environment and i am curious to use, if eclipse could
> support
> > > > it at this stage.
> > > >
> > > > thanks in advance,
> > > > Kishore Kumar Sathyanandam
> > > > TLON GmbH
> > > > kishore@tlon.de
> > > > +49 (0)791 - 9305017
> > > > \"goran pantar\" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
> > > > news:b03ct8$sbk$1@rogue.oti.com...
> > > > > I\'m using Eclipse IDE with CDT pluggin on Windows/Cygwin with
> mips-elf
> > > > > toolchail (mips-elf-gcc, mips-elf-gdb..). I can build \"Standard
> Make C
> > > > > projects\" and debug with Insight gdb as external tool.
> > > > >
> > > > > Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT
> debugging
> > > > > interface?
> > > > >
> > > > > I use:
> > > > > CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> > > > > Eclipse: eclipse-SDK-M4-win32.zip
> > > > >
> > > > > Thank you
> > > > >
> > > > > goran
> > > > >
> > > >
> > > >
> >
> >
> >
> >
> >
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58559 is a reply to message #58521] |
Thu, 16 January 2003 14:08   |
Eclipse User |
|
|
|
Current the CDI framework does not support remote debugging (in a generic way)
so either you need to create your own launch delegate within the eclipse framework
(involving work that maybe not necessary in the future...) or you could try creating
a gdbinit file with the initial set of commands needed to start the remote debug session
and add the command line argument --command=<gdbinit> to gdb in the debugger tab (I have not
tried this myself so let us know if this works...)
Dave.
Goran Pantar wrote:
> Mikhail Khodjaiants wrote:
>
>
>>Yes, we are planning to implement remote debugging in the near future but
>>the release date has not set yet. I don't think it would be a problem, we
>>just have to write a special launcher.
>
>
>>Mikhail Khodjaiants
>
>
> Do you mean that the only thing that needs to be done to call gdb with
> parameters for remote debugging?
> Something like this :
> set remote baud 115200
> target remote com1
> load
>
> Or maybe use gdb.ini?
>
> goran
>
>
>
>
>
>
>>"goran pantar" <goran.pantar@xylon.hr> wrote in message
>>news:b05uhp$ndu$1@rogue.oti.com...
>>
>>>Mikhail Khodjaiants wrote:
>>>
>>>
>>>>Unfortunately you can not debug remote targets with this version of CDT.
>>>
>>It
>>
>>>>needs an extension to support the remote debugging.
>>>
>>>Is remote debugging planed to be done in near future. If not, do you
>>>thing it would be a problem to implement it. We are very interested in
>>>using Eclipse and this is the only thing missing to have complete IDE.
>>>
>>>Goran Pantar
>>>
>>>
>>>>Mikhail Khodjaiants
>>>
>>>>\"Kishore Kumar Sathyanandam\" <kishore@tlon.de> wrote in message
>>>>news:b03nee$56a$1@rogue.oti.com...
>>>>
>>>>>Dear Mr.Goran,
>>>>>I am also facing a similar problem. Except that i use arm-elf tool
>>>>
>>chain.
>>
>>>>>I could debug externally. But when i try to debug in the CDT domain,
>>>>
>>the
>>
>>>>>project debugger option says: no debugger available.
>>>>>I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried
>>>>
>>with
>>
>>>>>PURE version gdb ,but dint help.
>>>>>
>>>>>Also If i need to change the settings of tartget in gdb within cdt
>>>>
>>domain,
>>
>>>>>should i only use command version gdb?
>>>>>
>>>>>I would very much appreciate, if someone could help.Im very much
>>>>
>>>>impressed
>>>>
>>>>>with eclipse environment and i am curious to use, if eclipse could
>>>>
>>support
>>
>>>>>it at this stage.
>>>>>
>>>>>thanks in advance,
>>>>>Kishore Kumar Sathyanandam
>>>>>TLON GmbH
>>>>>kishore@tlon.de
>>>>>+49 (0)791 - 9305017
>>>>>\"goran pantar\" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
>>>>>news:b03ct8$sbk$1@rogue.oti.com...
>>>>>
>>>>>>I\'m using Eclipse IDE with CDT pluggin on Windows/Cygwin with
>>>>>
>>mips-elf
>>
>>>>>>toolchail (mips-elf-gcc, mips-elf-gdb..). I can build \"Standard
>>>>>
>>Make C
>>
>>>>>>projects\" and debug with Insight gdb as external tool.
>>>>>>
>>>>>>Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT
>>>>>
>>debugging
>>
>>>>>>interface?
>>>>>>
>>>>>>I use:
>>>>>>CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
>>>>>>Eclipse: eclipse-SDK-M4-win32.zip
>>>>>>
>>>>>>Thank you
>>>>>>
>>>>>>goran
>>>>>>
>>>>>
>>>>>
>>>
>>>
>>>
>>>
>
>
>
>
>
|
|
|
Re: Debugging (Cygwin, MIPS toolchain) [message #58702 is a reply to message #58559] |
Fri, 17 January 2003 05:52   |
Eclipse User |
|
|
|
Originally posted by: goran.pantar.xylon.hr
I have created simple gdb.ini file (located in Eclipse project directory)
which sets breakpoint to function "function1" (break function1).
When I start gdb from command prompt with: gdb -nw -x gdb.ini
my_program.exe ; it reads gdb.ini and sets breakpoint. (also works with:
gdb -nw -command gdb.ini my_program.exe )
But when I start debuginig from Eclipce and add to debuger tab "MI
Debugger: gcc -x gdb.ini". It doesn't work, no break point is set, it
probably didn't read -x option and gdb.ini.
Does that mean that I can't set extra options in tab "MI Debugger:" ? That
only name of debugger is read, and -x is ignored?
Or maybe I'm doing something wrong?
goran
David Inglis wrote:
> Current the CDI framework does not support remote debugging (in a generic
way)
> so either you need to create your own launch delegate within the eclipse
framework
> (involving work that maybe not necessary in the future...) or you could try
creating
> a gdbinit file with the initial set of commands needed to start the remote
debug session
> and add the command line argument --command=<gdbinit> to gdb in the debugger
tab (I have not
> tried this myself so let us know if this works...)
> Dave.
> Goran Pantar wrote:
> > Mikhail Khodjaiants wrote:
> >
> >
> >>Yes, we are planning to implement remote debugging in the near future but
> >>the release date has not set yet. I don't think it would be a problem, we
> >>just have to write a special launcher.
> >
> >
> >>Mikhail Khodjaiants
> >
> >
> > Do you mean that the only thing that needs to be done to call gdb with
> > parameters for remote debugging?
> > Something like this :
> > set remote baud 115200
> > target remote com1
> > load
> >
> > Or maybe use gdb.ini?
> >
> > goran
> >
> >
> >
> >
> >
> >
> >>"goran pantar" <goran.pantar@xylon.hr> wrote in message
> >>news:b05uhp$ndu$1@rogue.oti.com...
> >>
> >>>Mikhail Khodjaiants wrote:
> >>>
> >>>
> >>>>Unfortunately you can not debug remote targets with this version of CDT.
> >>>
> >>It
> >>
> >>>>needs an extension to support the remote debugging.
> >>>
> >>>Is remote debugging planed to be done in near future. If not, do you
> >>>thing it would be a problem to implement it. We are very interested in
> >>>using Eclipse and this is the only thing missing to have complete IDE.
> >>>
> >>>Goran Pantar
> >>>
> >>>
> >>>>Mikhail Khodjaiants
> >>>
> >>>>\"Kishore Kumar Sathyanandam\" <kishore@tlon.de> wrote in message
> >>>>news:b03nee$56a$1@rogue.oti.com...
> >>>>
> >>>>>Dear Mr.Goran,
> >>>>>I am also facing a similar problem. Except that i use arm-elf tool
> >>>>
> >>chain.
> >>
> >>>>>I could debug externally. But when i try to debug in the CDT domain,
> >>>>
> >>the
> >>
> >>>>>project debugger option says: no debugger available.
> >>>>>I am using Insight arm-elf-gdb.exe(v5.2.1). Optionally i also tried
> >>>>
> >>with
> >>
> >>>>>PURE version gdb ,but dint help.
> >>>>>
> >>>>>Also If i need to change the settings of tartget in gdb within cdt
> >>>>
> >>domain,
> >>
> >>>>>should i only use command version gdb?
> >>>>>
> >>>>>I would very much appreciate, if someone could help.Im very much
> >>>>
> >>>>impressed
> >>>>
> >>>>>with eclipse environment and i am curious to use, if eclipse could
> >>>>
> >>support
> >>
> >>>>>it at this stage.
> >>>>>
> >>>>>thanks in advance,
> >>>>>Kishore Kumar Sathyanandam
> >>>>>TLON GmbH
> >>>>>kishore@tlon.de
> >>>>>+49 (0)791 - 9305017
> >>>>>\"goran pantar\" <goran.pantar@xylon.hr> schrieb im Newsbeitrag
> >>>>>news:b03ct8$sbk$1@rogue.oti.com...
> >>>>>
> >>>>>>I\'m using Eclipse IDE with CDT pluggin on Windows/Cygwin with
> >>>>>
> >>mips-elf
> >>
> >>>>>>toolchail (mips-elf-gcc, mips-elf-gdb..). I can build \"Standard
> >>>>>
> >>Make C
> >>
> >>>>>>projects\" and debug with Insight gdb as external tool.
> >>>>>>
> >>>>>>Is it possible to debug with mipsel-elf-gdb within Eclipse/CDT
> >>>>>
> >>debugging
> >>
> >>>>>>interface?
> >>>>>>
> >>>>>>I use:
> >>>>>>CDT: org.eclipse.cdt-200301080308-win32_1.0.1.bin.dist.zip
> >>>>>>Eclipse: eclipse-SDK-M4-win32.zip
> >>>>>>
> >>>>>>Thank you
> >>>>>>
> >>>>>>goran
> >>>>>>
> >>>>>
> >>>>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
> >
|
|
| | | |
Remote Debugging in Eclipse/CDT works! [message #59401 is a reply to message #59049] |
Wed, 22 January 2003 08:16  |
Eclipse User |
|
|
|
Originally posted by: goran.pantar.xylon.hr
Thanks to David Inglis and other CDT developers who added new options to
CDT and made remote debuging possible.
Instructions to setup remote debugging (Mips platform):
You can download new nightly build (2003/01/20) of CDT at
http://download.eclipse.org/tools/cdt/downloads/cdt/eclipse- CDT-200301200336-win32_1.0.1.bin.dist.zip.
Unzip it in Eclipse folder.
Add string "mips" to cpu attribute in file
../eclipse/plugins/org.eclipse.cdt.debug.mi.core_1.0.1/plugi n.xml,
(like this
<debugger
platform="win32"
name="%CygwinGDBDebugger.name"
modes="run,core,attach"
cpu="native,mips" <- here was only native
class="org.eclipse.cdt.debug.mi.core.CygwinGDBDebugger"
id="org.eclipse.cdt.debug.mi.core.CygwinCDebugger">
</debugger>).
In Eclipse Window->preferences->C/C++->Debug->GDB MI/ you must set MI
debugget timeout to longer time period (100000ms) so it doesnt timeout
during download of code to remote target.
You must create gdb.ini file with these commands (sets up serial remote
debugging):
set remotebaud 115200
target remote com1 //or com2
load
Go to Eclipse menu Run->Debug..
In Main: setup file to debug
In Debugger: setup CygwinGDBDebugger, Browse to location of gdb(ver.
5.2.1), Browse to location of gdb.ini.
Press Debug
Goran Pantar
|
|
|
Goto Forum:
Current Time: Sat May 03 16:11:26 EDT 2025
Powered by FUDForum. Page generated in 0.05121 seconds
|