On Sun, Jul 22, 2012 at 10:44 AM, Peter Bigot <big...@acm.org> wrote:
> mspgcc as a toolchain does not provide an integrated development
> environment, nor any functionality like you describe.  To examine the
> contents of a peripheral register within msp430-gdb you have to
> reference the name with two underscores prepended, e.g:
>
> (gdb) x __P1DIR
>
> The sort of thing you describe is probably only going to be provided
> by an IDE.

Having said that, gdb has macros, so you can define a shortcut that
displays the variables you're interested in:

define show_peripherals
x __P1DIR
.....
end

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to