> I wrote a perl script that reads MSPGCC linker script defining > peripheral registers, and outputs a GDB function called 'mspview' that > dumps current peripheral register values for a particular MSP chip. I > use this script in a directory devoted to working on a project using a > specific chip: > > perl periphGDB.pl /usr/msp430/lib/ldscripts/msp430fr5969/periph.x > > .gdbinit > > Afterwards, GDB will pick up the function definition on startup; > invoking the command 'mspview' will display names and values of all > peripheral registers in this particular MSP chip. Hope it may be > useful to someone.
That sounds very useful! Could you upload your script somewhere? I'm guessing you attached it to your message, but the mailing list stripped it off. All the best, Michiel ------------------------------------------------------------------------------ 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=157005751&iu=/4140/ostg.clktrk _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users