This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fhpd list and tab completion


fhpd now has:
1. list command (only default behavior of listing around the current
   line is currently supported)
2. TAB completion for command names and variable names
   (only simple scalar variables supported)


(fhpd) where
# 0 0x400797 in func_2 at /home/scox/accu/src/loop.c#58
# 1 0x4007d6 in func_1 at /home/scox/accu/src/loop.c#68
# 2 0x40082f in main at /home/scox/accu/src/loop.c#76
# 3 0x-1e1e31ac in __libc_start_main at #0
# 4 0x4004f9 in _start at #0
(fhpd) list
48         int_p = &int_22;
49         class_p = &class_1;
50         class_p->class_double_1 = assign_double (43.21);
51         class_p->class_int_2 = assign_int (15);
52         class_1.class_double_1 = assign_double (12.34);
53
54         int_21 = loop_(class_p->class_double_1,*int_p, int_22,
short_21,
55                       int_21, float_21,double_21,x,y);
56         while (int_21)
57           {
58*            int_21 = x / int_21;
59           }
60         return int_21;
61       }
62
63       static int
64       func_1 (int x, int y)
65       {
66          int int_21 = 21;
67          int int_11 = 12;
(fhpd) d <TAB>

defset   down     detach
(fhpd) print int_2 <TAB>

int_22   int_21
(fhpd) print int_21
10
(fhpd)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]