Thanks Daniel and Eric.

All working, and another (little) frustration removed.

Just out of curiousity, what home location does Mspdebug pick up its
.mspdebug init file from on XP? It doesn't appear to be the normal
UserProfile (C:\Documents and Settings\<user>). It works fine putting this
in my working directory, which is perfect for what I need.

Regards

Andrew

-----Original Message-----
From: Daniel Beer [mailto:dlb...@gmail.com] 
Sent: Monday, 4 November 2013 4:35 p.m.
To: Andrew McLaren
Cc: mspgcc-users@lists.sourceforge.net
Subject: Re: [Mspgcc-users] gdb-loop in Mspdebug


On Mon, Nov 04, 2013 at 04:21:56PM +1300, Andrew McLaren wrote:
> I'm running Mspdebug outboard of Eclipse. In the old gdbproxy, once I 
> set this listening on its input port, it remained active until it was 
> explicitly stopped. With Mspdebug, if the debug session is stopped in 
> Eclipse, Mspdebug returns to its [mspdebug] prompt, and the "gdb 
> [port]" command needs to be reissued before it is again usable.
>  
> >From the documentation it appears that the gdb-loop option should be 
> >the
> magic required to keep this active. However I've had no luck getting 
> this to work. This indicates it should have a boolean value, and have 
> tried a number of variations, all with no apparent effect. Options I 
> have tried are;
>  
> gdb <port> opt gdb-loop
> gdb <port> opt gdb-loop 1 
> gdb <port> opt gdb-loop true
>  
> plus tried adding these directly to the startup command line.
>  
> Am I reading this correctly?

Hi Andrew,

"opt" is a command on its own, and the option you want is "gdb_loop". Try
adding this to your ~/.mspdebug file:

    opt gdb_loop true

Cheers,
Daniel

-- 
Daniel Beer <dlb...@gmail.com>    www.dlbeer.co.nz
IRC: inittab (Freenode)    PGP key: 2048D/160A553B


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to