Quantcast

Thingsquare Eclipse and GDB

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
BDD
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Thingsquare Eclipse and GDB

BDD
Hi All
I need some help.
I'm running Thingsquare mist1.0.0 on my machine in Eclipse Luna.  My project compiles nicely using Cygwin make. My project runs and I can flash my MSP with my new code and all is fine and work as it is suppose to.
When I go into debug mode using TI's debugger agent and \bin\msp430-elf-gdb.exe the agent indicate that the server is connected.  I can step in the main loop of the code and Eclipse goes to the source code, I can only step over in the main loop , not step into.
When I set a break point deeper in my code the agent indicates that the break point is hit but Eclipse does not goes to the source code.  If I navigate some of the traces I can see that the break point reach was at the correct place in the Dissambly code .  I can step the dissambly code but can not see the source code or any variables.

Here's my setup
Using Cygwin64 make to build
MSP-GCC (msp430-toolchain-win-x86-3.0)
my GDB debugger is msp430-elf-gdb.exe (from msp430-gcc-full-windows-installer-3.2.3.0)
All under Windows8.1 (yes I know......)

What am I doing wrong or where can I scratch?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Thingsquare Eclipse and GDB

Wayne Uroda-3
Hi Ben,

I've been using eclipse and MSPGCC for a long time now, and while my
configuration might not match exactly what you want (I tend to avoid cygwin
where possible because the DLL nightmares drive me mad), here are the
instructions I put together for myself to follow and they've always worked
for me. You might find them useful (attached PDF).

Thanks
- Wayne

On Fri, Feb 20, 2015 at 9:05 PM, BDD <[hidden email]> wrote:

> Hi All
> I need some help.
> I'm running Thingsquare mist1.0.0 on my machine in Eclipse Luna.  My
> project
> compiles nicely using Cygwin make. My project runs and I can flash my MSP
> with my new code and all is fine and work as it is suppose to.
> When I go into debug mode using TI's debugger agent and
> \bin\msp430-elf-gdb.exe the agent indicate that the server is connected.  I
> can step in the main loop of the code and Eclipse goes to the source code,
> I
> can only step over in the main loop , not step into.
> When I set a break point deeper in my code the agent indicates that the
> break point is hit but Eclipse does not goes to the source code.  If I
> navigate some of the traces I can see that the break point reach was at the
> correct place in the Dissambly code .  I can step the dissambly code but
> can
> not see the source code or any variables.
>
> Here's my setup
> Using Cygwin64 make to build
> MSP-GCC (msp430-toolchain-win-x86-3.0)
> my GDB debugger is msp430-elf-gdb.exe (from
> msp430-gcc-full-windows-installer-3.2.3.0)
> All under Windows8.1 (yes I know......)
>
> What am I doing wrong or where can I scratch?
>
>
>
>
> --
> View this message in context:
> http://msp430-gcc-users.1086195.n5.nabble.com/Thingsquare-Eclipse-and-GDB-tp7316.html
> Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Mspgcc-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
Loading...