[M3devel] enums in gdb

Jay K jay.krell at cornell.edu
Mon Sep 27 14:49:59 CEST 2010


finally!

Main__FR1 (r=0x33054, t=0x33056) at Main.m3:29
29      c := Color.Red;
(gdb) 
30      c := Color.Orange;
(gdb) p c
$7 = Red
(gdb) n
31      c := Color.Green;
(gdb) p c
$8 = Orange
(gdb) n
32      c := Color.Blue;
(gdb) p c
$9 = Green
(gdb) n
33      c := Color.Indigo;
(gdb) p c
$10 = Blue
(gdb) n
34      c := Color.Violet;
(gdb) p c
$11 = Indigo
(gdb) n
35      r := 2;
(gdb) p c
$12 = Violet



more testing and commit soon.
And I'll try to make the names more fully qualified.
Note there are scoping issues as well.. but still, progress.

 - Jay
 		 	   		  


More information about the M3devel mailing list