jaf@Inference.COM (Jose Fernandez) (11/07/90)
I can't display variables! Has anyone else seen this? Here's a very simple C program: piaget[58]% cat test.c FunctionA (Message) char *Message; { printf ("Hello %s\n", Message); } FunctionB (Message) char *Message; { FunctionA (Message); } FunctionC (Message) char *Message; { FunctionB (Message); } main () { FunctionC ("world"); } Here's the compilation: piaget[59]% cc -W0,-dba -g -o test test.c Here's the debugging output: piaget[60]% dde test process 4806 is executing "//piaget/usr1/jaf/tmp/test". Initializing image "//piaget/usr1/jaf/tmp/test"... Break at: \\test\main\4 (Warning) Graphics not supported on this type of device. 4S> main () { FunctionC ("world"); } dde> step Stepped to: \\test\FunctionC\3 3.> FunctionC (Message) char *Message; { FunctionB (Message); } dde> step Stepped to: \\test\FunctionB\2 2.> FunctionB (Message) char *Message; { FunctionA (Message); } dde> step Stepped to: \\test\FunctionA\1 1.> FunctionA (Message) char *Message; { printf ("Hello %s\n", Message); } dde> tb -args `main(7): Stopped at: \\test\FunctionA\1 Unexpected error logged in "//piaget/sys/node_data/system_logs/dde_error_log" ?(dde/tgt_apollo_prism) target loc evaluator: reference to non-existent variable base `main(6): Called from: \\test\FunctionB\2 Unexpected error logged in "//piaget/sys/node_data/system_logs/dde_error_log" ?(dde/tgt_apollo_prism) target loc evaluator: reference to non-existent variable base `main(5): Called from: \\test\FunctionC\3 Unexpected error logged in "//piaget/sys/node_data/system_logs/dde_error_log" ?(dde/tgt_apollo_prism) target loc evaluator: reference to non-existent variable base `main(4): Called from: \\test\main\4 (00080304) No arguments. `main(3): Called from: unix_$main line 114 (A03968CC) No argument information available. `main(2): Called from: rws_$release_temp_thunk(alloca) line 953 (A0001120) No argument information available. `main: Called from: \\crt0\_start\51 No argument information available. dde> Thanks, in advance, for any assistance.