Re: [Mspgcc-users] gdb-loop in Mspdebug
it is gdb_loop not gdb-loop under vs. dash. ouch. took me a while to see it. On Sun, Nov 3, 2013 at 7:21 PM, Andrew McLaren and...@aratika.co.nz 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? Thanks - Andrew -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- Eric B. Decker Senior (over 50 :-) Researcher -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk___ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users
Re: [Mspgcc-users] gdb-loop in Mspdebug
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.comwww.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=60136231iu=/4140/ostg.clktrk ___ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users
Re: [Mspgcc-users] gdb-loop in Mspdebug
On Tue, Nov 05, 2013 at 12:41:12PM +1300, Andrew McLaren wrote: 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. Hi Andrew, If you set the HOME environment variable, mspdebug will look for a .mspdebug file there. However, the current working directory takes precedence. Cheers, Daniel -- Daniel Beer dlb...@gmail.comwww.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=60136231iu=/4140/ostg.clktrk ___ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users
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.comwww.dlbeer.co.nz IRC: inittab (Freenode)PGP key: 2048D/160A553B -- Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk ___ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users