OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [dejagnu/] [doc/] [ref.sgml] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
2
  Reference
3
 
4
  
5
    Installation
6
 
7
    Once you have the DejaGnu source unpacked and available, you must
8
    first configure the software to specify where it is to run (and the
9
    associated defaults); then you can proceed to installing it.
10
 
11
    
12
      Configuring DejaGnu
13
 
14
      It is usually best to configure in a directory separate from the
15
      source tree, specifying where to find the source with the optional
16
      --srcdir option to
17
      configure. DejaGnu uses the GNU
18
      autoconf to configure itself. For more info on using
19
      autoconf, read the GNU autoconf manual. To configure, execute the
20
      configure program, no other options are
21
      required. For an example, to configure in a seperate tree for objects,
22
      execute the configure script from the source tree like this:
23
 
24
      
25
        ../dejagnu-1.4/configure
26
      
27
 
28
      DejaGnu doesn't care at config time if it's for testing a native
29
      system or a cross system. That is determined at runtime by using the
30
      config files.
31
 
32
      You may also want to use the configure option
33
      --prefix to specify where you want DejaGnu and its
34
      supporting code installed.  By default, installation is in subdirectories
35
      of /usr/local, but you can select any alternate
36
      directory altdir by including
37
      {altdir}} on the
38
      configure command line. (This value is captured in
39
      the Makefile variables prefix and
40
      execprefix}.)
41
 
42
      Save for a small number of example tests, the DejaGnu distribution
43
      itself does not include any test suites; these are available
44
      separately. Test suites for the GNU development tools are included in
45
      those releases. After configuring the top-level DejaGnu directory, unpack
46
      and configure the test directories for the tools you want to test; then,
47
      in each test directory, run make check to build
48
      auxiliary programs required by some of the tests, and run the test
49
      suites.
50
 
51
    
52
 
53
    
54
      Installing DejaGnu
55
 
56
      To install DejaGnu in your filesystem (either in
57
      /usr/local, or as specified by your
58
      --prefix option to configure),
59
      execute.
60
 
61
      
62
        eg$ make install
63
      
64
 
65
      make installdoes thes things for
66
      DejaGnu:
67
 
68
      
69
        Look in the path specified for executables
70
          $exec_prefix) for directories called
71
          lib and bin. If these
72
          directories do not exist, make install creates
73
          them.
74
 
75
        Create another directory in the
76
        share directory, called
77
        dejagnu, and copy all the library files into
78
        it.
79
 
80
        Create a directory in the
81
        dejagnu/share directory, called
82
        config, and copy all the configuration files into
83
        it.
84
 
85
        Copy the runtest shell script into
86
        $exec_prefix/bin.
87
 
88
        Copy runtest.exp into
89
        $exec_prefix/lib/dejagnu. This is the main Tcl
90
        code implementing DejaGnu.
91
 
92
      
93
  
94
  
95
 
96
  
97
    Builtin Procedures
98
 
99
    DejaGnu provides these Tcl procedures.
100
 
101
    
102
      Core Internal Procedures
103
 
104
      
105
        Mail_file Procedure
106
 
107
        
108
            mail_file
109
            file to subject
110
        
111
        
112
          
113
            
114
            
115
          
116
        
117
        
118
 
119
      
120
        Open_logs Procedure
121
 
122
        
123
 
124
        
125
            open_logs
126
            
127
        
128
        
129
 
130
        
131
          Close_logs Procedure
132
 
133
          
134
 
135
        
136
            close_logs
137
            
138
        
139
        
140
 
141
        
142
          Isbuild Procedure
143
 
144
          Tests for a particular build host environment.  If the
145
          currently configured host matches the argument string, the result is
146
          1; otherwise the result is
147
          0.  host must be a full
148
          three-part configure host name; in particular, you may not use the
149
          shorter nicknames supported by configure (but you can use wildcard
150
          characters, using shell syntax, to specify sets of names). If it is
151
          passed a NULL string, then it returns the name of the build canonical
152
          configuration.
153
 
154
        
155
            isbuild
156
            pattern
157
        
158
        
159
          
160
            pattern
161
            
162
          
163
        
164
        
165
 
166
        
167
          Is_remote Procedure
168
 
169
          
170
 
171
        
172
            is_remote
173
            board
174
        
175
        
176
          
177
            
178
            
179
          
180
        
181
        
182
 
183
        
184
          is3way Procedure
185
 
186
          Tests for a canadian cross. This is when the tests will be run
187
          on a remotly hosted cross compiler. If it is a canadian cross, then
188
          the result is 1; otherwise the result is
189
          0.
190
 
191
        
192
            is3way
193
            
194
        
195
        
196
 
197
        
198
          Ishost Procedure
199
 
200
          Tests for a particular host environment.  If the currently
201
          configured host matches the argument string, the result is
202
          1; otherwise the result is
203
          0. host must be a full
204
          three-part configure host name; in particular, you may not use the
205
          shorter nicknames supported by configure (but you can use wildcard
206
          characters, using shell syntax, to specify sets of names).
207
 
208
        
209
            ishost
210
            pattern
211
        
212
        
213
          
214
            
215
            
216
          
217
        
218
        
219
 
220
        
221
          Istarget Procedure
222
 
223
          Tests for a particular target environment.  If the currently
224
          configured target matches the argument string, the result is
225
          1 ; otherwise the result is
226
          0.  target must be a full three-part configure
227
          target name; in particular, you may not use the shorter nicknames
228
          supported by configure (but you can use wildcard characters, using
229
          shell syntax, to specify sets of names). If it is passed a
230
          NULL string, then it returns the name of the
231
          build canonical configuration.
232
 
233
        
234
            istarget
235
            args
236
        
237
        
238
          
239
            
240
            
241
          
242
        
243
        
244
 
245
        
246
          Isnative Procedure
247
 
248
          Tests whether the current configuration has the same host and
249
          target. When it runs in a native configuration this procedure returns
250
          a 1; otherwise it returns a
251
          0.
252
 
253
        
254
            isnative
255
            
256
        
257
        
258
 
259
        
260
          Unknown Procedure
261
 
262
          
263
 
264
        
265
            unknown
266
            args
267
        
268
        
269
          
270
            args
271
            
272
          
273
        
274
        
275
 
276
        
277
          Clone_output Procedure
278
 
279
          
280
 
281
        
282
            clone_output
283
            message
284
        
285
        
286
          
287
            message
288
            
289
          
290
        
291
        
292
 
293
        
294
          Reset_vars Procedure
295
 
296
          
297
 
298
        
299
            reset_vars
300
            
301
        
302
        
303
 
304
        
305
          Log_and_exit Procedure
306
 
307
          
308
 
309
        
310
            log_and_exit
311
            
312
        
313
        
314
 
315
        
316
          Log_summary Procedure
317
 
318
          
319
 
320
        
321
          log_summary
322
            args
323
        
324
        
325
          
326
            args
327
            
328
          
329
        
330
        
331
 
332
        
333
          Cleanup Procedure
334
 
335
          
336
 
337
        
338
            cleanup
339
            
340
        
341
        
342
 
343
        
344
          Setup_xfail Procedure
345
 
346
          Declares that the test is expected to fail on a particular set
347
          of configurations.  The config argument must be a list of full
348
          three-part configure target name; in particular, you may not use the
349
          shorter nicknames supported by configure (but you can use the common
350
          shell wildcard characters to specify sets of names).  The
351
          bugid argument is optional, and used only in the
352
          logging file output; use it as a link to a bug-tracking system such
353
          as GNATS.
354
 
355
          Once you use setup_xfail, the
356
          fail and pass procedures
357
          produce the messages XFAIL and
358
          XPASS respectively, allowing you to distinguish
359
          expected failures (and unexpected success!) from other test
360
          outcomes.
361
 
362
          Warning you must clear the expected failure after
363
          using setup_xfail in a test case.  Any call to pass
364
          or faill clears the expected failure
365
          implicitly; if the test has some other outcome, e.g. an error, you
366
          can call clear_xfail to clear the expected
367
          failure explicitly.  Otherwise, the expected-failure declaration
368
          applies to whatever test runs next, leading to surprising
369
          results.
370
 
371
        
372
            setup_xfail
373
            config
374
            bugid
375
        
376
        
377
          
378
            config
379
            The config triplet to trigger whether this is an
380
            unexpected or expect failure.
381
          
382
          
383
            bugid
384
            The optional bugid, used to tie it this test case
385
            to a bug tracking system.
386
          
387
        
388
      
389
 
390
        
391
          Record_test Procedure
392
 
393
          
394
 
395
        
396
            record_test
397
            type
398
                message
399
                args
400
        
401
        
402
          
403
            type
404
            
405
          
406
          
407
            message
408
            
409
          
410
          
411
            args
412
            
413
          
414
        
415
        
416
 
417
        
418
          Pass Procedure
419
 
420
          Declares a test to have passed. pass
421
          writes in the log files a message beginning with
422
          PASS (or XPASS, if failure
423
          was expected), appending the argument
424
          string.
425
 
426
        
427
            pass
428
            string
429
        
430
        
431
          
432
            string
433
            The string to use for this PASS
434
            message.
435
          
436
        
437
        
438
 
439
        
440
          Fail Procedure
441
 
442
          Declares a test to have failed.  fail
443
          writes in the log files a message beginning with
444
          FAIL (or XFAIL, if failure
445
          was expected), appending the argument
446
          string.
447
 
448
        
449
            fail
450
            string
451
        
452
        
453
          
454
            string
455
            The string to use for this FAIL
456
            message.
457
          
458
        
459
        
460
 
461
        
462
          Xpass Procedure
463
 
464
          Declares a test to have unexpectably passed, when it was
465
          expected to be a failure.  xpass
466
          writes in the log files a message beginning with
467
          XPASS (or XFAIL, if failure
468
          was expected), appending the argument
469
          string.
470
 
471
        
472
            xpass
473
            string
474
        
475
        
476
          
477
            string
478
            The string to use for this output
479
            state.
480
          
481
        
482
        
483
 
484
        
485
          Xfail Procedure
486
 
487
          Declares a test to have expectably
488
          failed. xfail
489
          writes in the log files a message beginning with
490
          XFAIL (or PASS, if success
491
          was expected), appending the argument
492
          string.
493
 
494
        
495
            xpass
496
            string
497
        
498
        
499
          
500
            string
501
            The string to use for this output
502
            state.
503
          
504
        
505
        
506
 
507
        
508
          Set_warning_threshold Procedure
509
 
510
          Sets the value of warning_threshold. A value
511
          of 0 disables it: calls to
512
          warning will not turn a
513
          PASS or FAIL into an
514
          UNRESOLVED.
515
 
516
        
517
            set_warning_threshold
518
            threshold
519
        
520
        
521
          
522
            threshold
523
            This is the value of the new warning
524
            threshold.
525
          
526
        
527
        
528
 
529
        
530
          Get_warning_threshold Procedure
531
 
532
          Returns the current value of
533
          {warning_threshold. The default value is 3. This
534
          value controls how many warning procedures can
535
          be called before becoming UNRESOLVED.
536
 
537
        
538
            get_warning_threshold
539
            
540
        
541
 
542
      
543
        Warning Procedure
544
 
545
        Declares detection of a minor error in the test case
546
        itself. warning writes in the log files a message
547
        beginning with WARNING, appending the argument
548
        string.  Use warning rather
549
        than perror for cases (such as communication
550
        failure to be followed by a retry) where the test case can recover from
551
        the error. If the optional number is supplied,
552
        then this is used to set the internal count of warnings to that
553
        value.
554
 
555
        As a side effect, warning_threshold or more
556
        calls to warning in a single test case also changes the effect of the
557
        next pass or fail command:
558
        the test outcome becomes UNRESOLVED since an
559
        automatic PASS or FAIL may
560
        not be trustworthy after many warnings.  If the optional numeric value
561
        is 0, then there are no further side effects to
562
        calling this function, and the following test outcome doesn't become
563
        UNRESOLVED. This can be used for errors with no
564
        known side effects.
565
 
566
        
567
            warning
568
            string
569
            number
570
            
571
        
572
        
573
          
574
            string
575
            
576
          
577
          
578
            number
579
            The optional number to set the error counter. Thius
580
            is only used to fake out the counter when using the
581
            xfail procedure to control when it flips the
582
            output over to UNRESOLVED
583
            state.
584
          
585
        
586
 
587
      
588
        Perror Procedure
589
 
590
        Declares a severe error in the testing framework
591
        itself. perror writes in the log files a message
592
        beginning with ERROR, appending the argument
593
        string.
594
 
595
        As a side effect, perror also changes the effect of the next
596
        pass or fail command: the
597
        test outcome becomes UNRESOLVED, since an
598
        automatic PASS or FAIL cannot
599
        be trusted after a severe error in the test framework.  If the optional
600
        numeric value is 0, then there are no further side
601
        effects to calling this function, and the following test outcome
602
        doesn't become UNRESOLVED. This can be used for
603
        errors with no known side effects.
604
 
605
        
606
            perror
607
            string
608
            number
609
            
610
        
611
        
612
          
613
            string
614
            
615
          
616
          
617
            number
618
            The optional number to set the error counter. Thius
619
            is only used to fake out the counter when using the
620
            xfail procedure to control when it flips the
621
            output over to UNRESOLVED
622
            state.
623
          
624
        
625
 
626
       
627
        Note Procedure
628
 
629
        Appends an informational message to the log
630
        file. note writes in the log files a message
631
        beginning with NOTE, appending the argument
632
        string.  Use note
633
        sparingly. The verbose should be used for most
634
        such messages, but in cases where a message is needed in the log file
635
        regardless of the verbosity level use note.
636
 
637
        
638
            note
639
            string
640
        
641
        
642
          
643
            string
644
            The string to use for this note.
645
          
646
        
647
        
648
 
649
       
650
        Untested Procedure
651
 
652
        Declares a test was not run. untested writes
653
        in the log file a message beginning with UNTESTED,
654
        appending the argument string. For example, you
655
        might use this in a dummy test whose only role is to record that a test
656
        does not yet exist for some feature.
657
 
658
        
659
            untested
660
            string
661
        
662
        
663
          
664
            string
665
            The string to use for this output
666
            state.
667
          
668
        
669
        
670
 
671
       
672
        Unresolved Procedure
673
 
674
        Declares a test to have an unresolved
675
        outcome. unresolved writes in the log file a
676
        message beginning with UNRESOLVED, appending the
677
        argument string.  This usually means the test did
678
        not execute as expected, and a human being must go over results to
679
        determine if it passed or failed (and to improve the test case).
680
 
681
        
682
            unresolved
683
            string
684
        
685
        
686
          
687
            string
688
            The string to use for this output
689
            state.
690
          
691
        
692
        
693
 
694
       
695
        Unsupported Procedure
696
 
697
        Declares that a test case depends on some facility that does not
698
        exist in the testing environment. unsupported
699
        writes in the log file a message beginning with
700
        UNSUPPORTED, appending the argument string.
701
 
702
        
703
            unsupported
704
            string
705
        
706
        
707
          
708
            string
709
            The string to use for this output
710
            state.
711
          
712
        
713
        
714
 
715
        
716
          Init_testcounts Procedure
717
 
718
          
719
 
720
        
721
            init_testcounts
722
            
723
        
724
        
725
 
726
        
727
          Incr_count Procedure
728
 
729
          
730
 
731
        
732
            incr_count
733
            name
734
                args
735
        
736
        
737
          
738
            name
739
            
740
          
741
          
742
            args
743
            
744
          
745
        
746
        
747
 
748
        
749
          transform Procedure
750
 
751
          Generates a string for the name of a tool as it was configured
752
          and installed, given its native name (as the argument
753
          toolname). This makes the assumption that all
754
          tools are installed using the same naming conventions: For example,
755
          for a cross compiler supporting the m68k-vxworks
756
          configuration, the result of transform gcc is
757
          m68k-vxworks-gcc.
758
 
759
        
760
            transform
761
            toolname
762
        
763
        
764
          
765
            toolname
766
            The name of the cross-development program to
767
            transform.
768
          
769
        
770
        
771
 
772
 
773
        
774
          Check_conditional_xfail Procedure
775
 
776
          This procedure adds a condition xfail, based on compiler
777
          options used to create a test case executable. If an include options
778
          is found in the compiler flags, and it's the right architecture,
779
          it'll trigger an XFAIL. Otherwise it'll produce
780
          an ordinary FAIL. You can also specify flags to
781
          exclude. This makes a result be a FAIL, even if
782
          the included options are found. To set the conditional, set
783
          the variable compiler_conditional_xfail_data to the
784
          fields "[message string] [targets list] [includes
785
          list] [excludes list]" (descriptions below). This is
786
          the checked at pass/fail decision time, so there is no need to call
787
          the procedure yourself, unless you wish to know if it gets
788
          triggered. After a pass/fail, the variable is reset, so it doesn't
789
          effect other tests. It returns 1 if the
790
          conditional is true, or 0 if the conditional is
791
          false.
792
 
793
        
794
            check_conditional_xfail
795
            message
796
            targets
797
            includes
798
            excludes
799
        
800
        
801
          
802
            message
803
            This is the message to print with the normal test
804
            result.
805
          
806
         
807
            targets
808
            This is a string with the list targets to activate
809
            this conditional on.
810
          
811
         
812
            includes
813
            This is a list of sets of options to search for in
814
            the compiler options to activate this conditional. If any set of
815
            the options matches, then this conditional is
816
            true.
817
          
818
         
819
            excludes
820
            This is a list of sets of options to search for in
821
            the compiler options to activate this conditional. If any set of
822
            the options matches, (regardless of whether any of the include sets
823
            match) then this conditional is de-activated.
824
          
825
        
826
 
827
        
828
          Specifying the conditional xfail data
829
 
830
          
831
          set compiler_conditional_xfail_data { \
832
               "I sure wish I knew why this was hosed" \
833
               "sparc*-sun*-* *-pc-*-*" \
834
               {"-Wall -v" "-O3"} \
835
               {"-O1" "-Map"} \
836
          }
837
          
838
 
839
          
840
 
841
          What this does is it matches only for these two targets if
842
          "-Wall -v" or  "-O3" is set, but neither "-O1" or "-Map" is set. For
843
          a set to match, the options specified are searched for independantly
844
          of each other, so a "-Wall -v" matches either "-Wall -v" or "-v
845
          -Wall". A space seperates the options in the string. Glob-style
846
          regular expressions are also permitted.
847
 
848
        
849
 
850
        
851
          Clear_xfail Procedure
852
 
853
          Cancel an expected failure (previously declared with
854
          setup_xfail) for a particular set of
855
          configurations.  The config argument is a list
856
          of configuration target names.  It is only necessary to call
857
          clear_xfail if a test case ends without calling
858
          either pass or fail, after
859
          calling setup_xfail.
860
 
861
        
862
            clear_xfail
863
            config
864
        
865
        
866
          
867
            config
868
            The configuration triplets to
869
            clear.
870
          
871
        
872
        
873
 
874
        
875
          Verbose Procedure
876
 
877
          Test cases can use this function to issue helpful messages
878
          depending on the number of  options on the
879
          runtest command line.  It prints string if the value of the variable
880
          verbose is higher than or equal to the optional
881
          number. The default value for number is 1.  Use
882
          the optional  argument to cause string to always
883
          be added to the log file, even if it won't be printed.  Use the
884
          optional  argument to print string without a
885
          trailing newline.  Use the optional  argument if
886
          string begins with "-".
887
 
888
        
889
            verbose
890
            -log
891
            -n
892
            -r
893
            string
894
            number
895
        
896
        
897
          
898
            -log
899
            
900
          
901
          
902
            -n
903
            
904
          
905
          
906
            --
907
            
908
          
909
          
910
            string
911
            
912
          
913
          
914
            number
915
            
916
          
917
        
918
        
919
 
920
        
921
          Load_lib Procedure
922
 
923
          Loads a DejaGnu library file by searching a fixed path built
924
          into DejaGnu. If DejaGnu has been installed, it looks in a path
925
          starting with the installed library directory.  If you are running
926
          DejaGnu directly from a source directory, without first running
927
          make install, this path defaults to the current
928
          directory.  In either case, it then looks in the current directory
929
          for a directory called lib.  If there are
930
          duplicate definitions, the last one loaded takes precedence over the
931
          earlier ones.
932
 
933
        
934
            load_lib
935
            filespec
936
        
937
        
938
          
939
            filespec
940
            The name of the DejaGnu library file to
941
            load.
942
          
943
        
944
        
945
 
946
    
947
 
948
    
949
      Procedures For Remote Communication
950
 
951
      lib/remote.exp defines these
952
        functions, for establishing and managing communications. Each
953
        of these procedures tries to establish the connection up to
954
        three times before returning. Warnings (if retries will
955
        continue) or errors (if the attempt is abandoned) report on
956
        communication failures.  The result for any of these
957
        procedures is either -1, when the
958
        connection cannot be established, or the spawn ID returned by
959
        the Expect command
960
        spawn.
961
 
962
        It use the value of the connect field
963
        in the target_info array (was
964
        connectmode as the type of connection to
965
        make. Current supported connection types are tip, kermit,
966
        telnet, rsh, rlogin, and netdata. If the 
967
        option was used on the runtest command line, then the target
968
        is rebooted before the connection is made.
969
 
970
        
971
          Call_remote Procedure
972
 
973
          
974
 
975
        
976
            call_remote
977
            type
978
                proc
979
                dest
980
                args
981
        
982
        
983
           
984
             proc
985
             
986
           
987
           
988
             dest
989
             
990
           
991
           
992
             args
993
             
994
           
995
         
996
         
997
 
998
         
         
999
         procedure">
1000
           Check_for_board_status Procedure
1001
 
1002
           
1003
 
1004
        
1005
            check_for_board_status
1006
            variable
1007
        
1008
        
1009
             
1010
               variable
1011
                
1012
         
1013
         
1014
         
1015
 
1016
         
1017
           File_on_build Procedure
1018
 
1019
           
1020
 
1021
        
1022
            file_on_build
1023
            op
1024
                file
1025
                args
1026
        
1027
        
1028
           
1029
             op
1030
             
1031
           
1032
           
1033
             file
1034
             
1035
           
1036
           
1037
             args
1038
             
1039
           
1040
         
1041
         
1042
 
1043
         
1044
           File_on_host Procedure
1045
 
1046
           
1047
 
1048
        
1049
            file_on_host
1050
            op
1051
                file
1052
                args
1053
        
1054
        
1055
           
1056
             op
1057
             
1058
           
1059
           
1060
             file
1061
             
1062
           
1063
           
1064
             args
1065
             
1066
           
1067
         
1068
         
1069
 
1070
         
1071
           Local_exec Procedure
1072
 
1073
           
1074
 
1075
        
1076
            local_exec
1077
            commandline
1078
                inp
1079
                outp
1080
                timeout
1081
        
1082
        
1083
           
1084
               inp
1085
                
1086
           
1087
           
1088
               outp
1089
                
1090
           
1091
           
1092
               timeout
1093
                
1094
           
1095
         
1096
         
1097
 
1098
         
1099
           Remote_binary Procedure
1100
 
1101
           
1102
 
1103
        
1104
            remote_binary
1105
            host
1106
        
1107
        
1108
          
1109
             host
1110
             
1111
           
1112
         
1113
         
1114
 
1115
         
1116
           Remote_close Procedure
1117
 
1118
           
1119
 
1120
          
1121
            remote_close
1122
            shellid
1123
          
1124
          
1125
             
1126
               shellid
1127
                This is the value returned by a call
1128
                to remote_open. This closes the
1129
                connection to the target so resources can be used by
1130
                others. This parameter can be left off if the
1131
                fileid field in the
1132
                target_info array is set.
1133
           
1134
         
1135
         
1136
 
1137
         
1138
           Remote_download Procedure
1139
 
1140
           
1141
 
1142
        
1143
          remote_download
1144
            dest
1145
                file
1146
                args
1147
        
1148
        
1149
          
1150
            dest
1151
            
1152
          
1153
          
1154
            file
1155
            
1156
          
1157
          
1158
            args
1159
            
1160
          
1161
        
1162
        
1163
 
1164
        
1165
          Remote_exec Procedure
1166
 
1167
          
1168
 
1169
        
1170
            remote_exec
1171
            hostname
1172
                program
1173
                args
1174
        
1175
        
1176
          
1177
            hostname
1178
            
1179
          
1180
          
1181
            program
1182
            
1183
          
1184
          
1185
            args
1186
            
1187
          
1188
        
1189
        
1190
 
1191
        
1192
          Remote_expect Procedure
1193
 
1194
          
1195
 
1196
        
1197
            remote_expect
1198
            board
1199
                timeout
1200
                args
1201
        
1202
        
1203
          
1204
            board
1205
            
1206
          
1207
          
1208
            timeout
1209
            
1210
          
1211
          
1212
            args
1213
            
1214
          
1215
        
1216
        
1217
 
1218
        
1219
          Remote_file Procedure
1220
 
1221
          
1222
 
1223
        
1224
            remote_file
1225
            dest
1226
                args
1227
        
1228
        
1229
          
1230
            dest
1231
            
1232
          
1233
          
1234
            args
1235
            
1236
          
1237
        
1238
        
1239
 
1240
        
1241
          Remote_ld Procedure
1242
 
1243
          
1244
 
1245
        
1246
            remote_ld
1247
            dest
1248
                prog
1249
        
1250
        
1251
          
1252
            dest
1253
            
1254
          
1255
          
1256
            prog
1257
            
1258
          
1259
        
1260
        
1261
 
1262
        
1263
          Remote_load Procedure
1264
 
1265
          
1266
 
1267
        
1268
            remote_load
1269
            dest
1270
                prog
1271
                args
1272
        
1273
        
1274
          
1275
            dest
1276
            
1277
          
1278
          
1279
            prog
1280
            
1281
          
1282
          
1283
            args
1284
            
1285
          
1286
        
1287
        
1288
 
1289
        
1290
          Remote_open Procedure
1291
 
1292
          
1293
 
1294
          
1295
            remote_open
1296
              type
1297
            
1298
            
1299
              
1300
                type
1301
                This is passed  or
1302
                . Host or target refers to
1303
              whether it is a connection to a remote target, or a
1304
              remote host. This opens the connection to the desired
1305
              target or host using the default values in the
1306
              configuration system. It returns that
1307
              spawn_id of the process that manages
1308
              the connection. This value can be used in
1309
              Expect or
1310
              exp_send statements, or passed to
1311
              other procedures that need the connection process's
1312
              id. This also sets the fileid field in
1313
              the target_info array.
1314
         
1315
         
1316
         
1317
 
1318
         
1319
           Remote_pop_conn Procedure
1320
 
1321
           
1322
 
1323
        
1324
            remote_pop_conn
1325
            host
1326
        
1327
        
1328
          
1329
            host
1330
            
1331
          
1332
        
1333
        
1334
 
1335
        
1336
          Remote_push_conn Procedure
1337
 
1338
          
1339
 
1340
        
1341
            remote_push_conn
1342
            host
1343
        
1344
        
1345
          
1346
            host
1347
            
1348
          
1349
        
1350
        
1351
 
1352
        
1353
          Remote_raw_binary Procedure
1354
 
1355
          
1356
 
1357
        
1358
            remote_raw_binary
1359
            host
1360
        
1361
        
1362
          
1363
            host
1364
            
1365
          
1366
        
1367
        
1368
 
1369
        
1370
          Remote_raw_close Procedure
1371
 
1372
          
1373
 
1374
        
1375
            remote_raw_close
1376
            host
1377
        
1378
        
1379
          
1380
            host
1381
            
1382
          
1383
        
1384
        
1385
 
1386
        
1387
          Remote_raw_file Procedure
1388
 
1389
          
1390
 
1391
        
1392
            remote_raw_file
1393
            dest
1394
                args
1395
        
1396
        
1397
          
1398
            dest
1399
            
1400
          
1401
          
1402
            args
1403
            
1404
          
1405
        
1406
        
1407
 
1408
        
1409
          remote_raw_ld Procedure
1410
 
1411
          
1412
 
1413
        
1414
            remote_raw_ld
1415
            dest
1416
                prog
1417
        
1418
        
1419
          
1420
            dest
1421
            
1422
          
1423
          
1424
            prog
1425
            
1426
          
1427
        
1428
        
1429
 
1430
        
1431
          Remote_raw_load Procedure
1432
 
1433
          
1434
 
1435
        
1436
            remote_raw_load
1437
            dest
1438
                prog
1439
                args
1440
        
1441
        
1442
          
1443
            dest
1444
            
1445
          
1446
          
1447
            prog
1448
            
1449
          
1450
          
1451
            args
1452
            
1453
          
1454
        
1455
        
1456
 
1457
        
1458
          Remote_raw_open Procedure
1459
 
1460
          
1461
 
1462
        
1463
            remote_raw_open
1464
            args
1465
        
1466
        
1467
          
1468
            args
1469
            
1470
          
1471
        
1472
        
1473
 
1474
        
1475
          Remote_raw_send Procedure
1476
 
1477
          
1478
 
1479
        
1480
            remote_raw_send
1481
            dest
1482
                string
1483
        
1484
        
1485
          
1486
            dest
1487
            
1488
          
1489
          
1490
            string
1491
            
1492
          
1493
        
1494
        
1495
 
1496
        
1497
          Remote_raw_spawn Procedure
1498
 
1499
          
1500
 
1501
        
1502
            remote_raw_spawn
1503
            dest
1504
                commandline
1505
        
1506
        
1507
          
1508
            dest
1509
            
1510
          
1511
          
1512
            commandline
1513
            
1514
          
1515
        
1516
        
1517
 
1518
        
         
1519
        procedure">
1520
          Remote_raw_transmit Procedure
1521
 
1522
          
1523
 
1524
        
1525
            remote_raw_transmit
1526
            dest
1527
                file
1528
        
1529
        
1530
          
1531
            dest
1532
            
1533
          
1534
          
1535
            file
1536
            
1537
          
1538
        
1539
        
1540
 
1541
        
1542
          Remote_raw_wait Procedure
1543
 
1544
          
1545
 
1546
        
1547
            remote_raw_wait
1548
            dest
1549
                timeout
1550
        
1551
        
1552
          
1553
            dest
1554
            
1555
          
1556
          
1557
            timeout
1558
            
1559
          
1560
        
1561
        
1562
 
1563
        
1564
          Remote_reboot Procedure
1565
 
1566
          
1567
 
1568
        
1569
            remote_reboot
1570
            host
1571
        
1572
        
1573
          
1574
            host
1575
            
1576
          
1577
        
1578
        
1579
 
1580
        
1581
          Remote_send Procedure
1582
 
1583
          
1584
 
1585
        
1586
            remote_send
1587
            dest
1588
                string
1589
        
1590
        
1591
          
1592
            dest
1593
            
1594
          
1595
          
1596
            string
1597
            
1598
          
1599
        
1600
        
1601
 
1602
        
1603
          Remote_spawn Procedure
1604
 
1605
          
1606
 
1607
        
1608
            remote_spawn
1609
            dest
1610
                commandline
1611
                args
1612
        
1613
        
1614
          
1615
            dest
1616
            
1617
          
1618
          
1619
            commandline
1620
            
1621
          
1622
          
1623
            args
1624
            
1625
          
1626
        
1627
        
1628
 
1629
        
1630
          Remote_swap_conn Procedure
1631
 
1632
          
1633
 
1634
        
1635
            remote_swap_conn
1636
            host
1637
        
1638
        
1639
          
1640
            
1641
            
1642
          
1643
        
1644
        
1645
 
1646
        
1647
          Remote_transmit Procedure
1648
 
1649
          
1650
 
1651
        
1652
            remote_transmit
1653
            dest
1654
                file
1655
        
1656
        
1657
          
1658
            dest
1659
            
1660
          
1661
          
1662
            file
1663
            
1664
          
1665
        
1666
        
1667
 
1668
        
1669
          Remote_upload Procedure
1670
 
1671
          
1672
 
1673
        
1674
            remote_upload
1675
            dest
1676
                srcfile
1677
                arg
1678
        
1679
        
1680
          
1681
            dest
1682
            
1683
          
1684
          
1685
            srcfile
1686
            
1687
          
1688
          
1689
            arg
1690
            
1691
          
1692
        
1693
        
1694
 
1695
        
1696
          Remote_wait Procedure
1697
 
1698
          
1699
 
1700
        
1701
            remote_wait
1702
            dest
1703
                timeout
1704
        
1705
        
1706
          
1707
            dest
1708
            
1709
          
1710
          
1711
            timeout
1712
            
1713
          
1714
        
1715
        
1716
 
1717
        
1718
          Standard_close Procedure
1719
 
1720
          
1721
 
1722
        
1723
            standard_close
1724
            host
1725
        
1726
        
1727
          
1728
            host
1729
            
1730
          
1731
        
1732
        
1733
 
1734
        
1735
          Standard_download Procedure
1736
 
1737
          
1738
 
1739
        
1740
            standard_download
1741
            dest
1742
                file
1743
                destfile
1744
        
1745
        
1746
          
1747
            dest
1748
            
1749
          
1750
          
1751
            file
1752
            
1753
          
1754
          
1755
            destfile
1756
            
1757
          
1758
        
1759
        
1760
 
1761
        
1762
          Standard_exec Procedure
1763
 
1764
          
1765
 
1766
        
1767
            standard_exec
1768
            hostname
1769
                args
1770
        
1771
        
1772
          
1773
            hostname
1774
            
1775
          
1776
          
1777
            args
1778
            
1779
          
1780
        
1781
        
1782
 
1783
        
1784
          Standard_file Procedure
1785
 
1786
          
1787
 
1788
        
1789
            standard_file
1790
            dest
1791
                op
1792
                args
1793
        
1794
        
1795
          
1796
            
1797
            
1798
          
1799
        
1800
        
1801
 
1802
        
1803
          Standard_load Procedure
1804
 
1805
          
1806
 
1807
        
1808
            standard_load
1809
            dest
1810
                prog
1811
                args
1812
        
1813
        
1814
          
1815
            dest
1816
            
1817
          
1818
          
1819
            prog
1820
            
1821
          
1822
          
1823
            args
1824
            
1825
          
1826
        
1827
        
1828
 
1829
        
1830
          Standard_reboot Procedure
1831
 
1832
          
1833
 
1834
        
1835
            standard_reboot
1836
            host
1837
        
1838
        
1839
          
1840
            host
1841
            
1842
          
1843
        
1844
        
1845
 
1846
        
1847
          Standard_send Procedure
1848
 
1849
          
1850
 
1851
        
1852
            standard_send
1853
            dest
1854
                string
1855
        
1856
        
1857
          
1858
            dest
1859
            
1860
          
1861
          
1862
            string
1863
            
1864
          
1865
        
1866
        
1867
 
1868
        
1869
          Standard_spawn Procedure
1870
 
1871
          
1872
 
1873
        
1874
            standard_spawn
1875
            dest
1876
                commandline
1877
        
1878
        
1879
          
1880
            dest
1881
            
1882
          
1883
          
1884
            commndline
1885
            
1886
          
1887
        
1888
        
1889
 
1890
        
1891
          Standard_transmit Procedure
1892
 
1893
          
1894
 
1895
        
1896
            standard_transmit
1897
            dest
1898
                file
1899
        
1900
        
1901
          
1902
            dest
1903
            
1904
          
1905
          
1906
            file
1907
            
1908
          
1909
        
1910
        
1911
 
1912
        
1913
          Standard_upload Procedure
1914
 
1915
          
1916
 
1917
        
1918
            standard_upload
1919
            dest srcfile destfile
1920
        
1921
        
1922
          
1923
            dest
1924
            
1925
          
1926
          
1927
            srcfile
1928
            
1929
          
1930
          
1931
            destfile
1932
            
1933
          
1934
        
1935
        
1936
 
1937
        
1938
          Standard_wait Procedure
1939
 
1940
          
1941
 
1942
        
1943
            standard_wait
1944
            dest
1945
                timeout
1946
        
1947
        
1948
          
1949
            dest
1950
            
1951
          
1952
          
1953
            timeout
1954
            
1955
          
1956
        
1957
        
1958
 
1959
        
         
1960
        procedure">
1961
          Unix_clean_filename Procedure
1962
 
1963
          
1964
 
1965
        
1966
            unix_clean_filename
1967
            dest
1968
                file
1969
        
1970
        
1971
          
1972
            dest
1973
            
1974
          
1975
          
1976
            file
1977
            
1978
          
1979
        
1980
        
1981
 
1982
2003
 
2004
    
2005
 
2006
    
2007
      Procedures For Using Utilities to Connect
2008
 
2009
      telnet, rsh, tip, kermit
2010
 
2011
      
2012
        telnet Procedure
2013
 
2014
        
2015
 
2016
          
2017
            telnet
2018
            hostname
2019
            port
2020
          
2021
          
2022
            rlogin
2023
            hostname
2024
          
2025
          
2026
 
2027
          
2028
            rsh Procedure
2029
 
2030
            
2031
 
2032
          
2033
            rsh
2034
            hostname
2035
          
2036
          
2037
             
2038
               hostname
2039
               This refers to the IP address or name
2040
                (for example, an entry in
2041
                /etc/hosts) for this target. The
2042
                procedure names reflect the Unix utility used to
2043
                establish a connection. The optional
2044
                port is used to specify the IP
2045
                port number. The value of the
2046
                netport field in the
2047
                target_info array is used. (was
2048
                $netport) This value has two parts,
2049
                the hostname and the port number, seperated by a
2050
                :. If host or target is used in
2051
                the hostname field, than the
2052
                config array is used for all information.
2053
         
2054
         
2055
         
2056
 
2057
         
2058
           Tip Procedure
2059
 
2060
           
2061
 
2062
         
2063
           tip
2064
            port
2065
          
2066
          
2067
             
2068
               port
2069
               Connect using the Unix utility
2070
               tip. Portmust
2071
               be a name from the tip
2072
               configuration file
2073
               /etc/remote. Often, this is called
2074
               hardwire, or something like
2075
               ttya. This file holds all the
2076
               configuration data for the serial port. The value of
2077
               the serial field in the
2078
               target_info array is used. (was
2079
               $serialport) If 
2080
               or  is used in the
2081
               port field, than the config
2082
               array is used for all information. the
2083
               config array is used for all information.
2084
         
2085
         
2086
         
2087
 
2088
         
2089
           Kermit Procedure
2090
 
2091
           
2092
 
2093
          
2094
            kermit
2095
            port
2096
            bps
2097
          
2098
          
2099
             
2100
               port
2101
               Connect using the program
2102
               kermit. Port
2103
               is the device name,
2104
               e.g. /dev/ttyb.
2105
               
2106
             
2107
             
2108
               bps
2109
               bps is the line
2110
               speed to use (in its per second) for the
2111
               connection. The value of the serial
2112
               field in the target_info array is
2113
               used.  (was $serialport) If
2114
                or  is
2115
               used in the port field, than the
2116
               config array is used for all information. the
2117
               config array is used for all information.
2118
           
2119
         
2120
         
2121
 
2122
         
2123
           kermit_open Procedure
2124
 
2125
           
2126
 
2127
        
2128
            kermit_open
2129
            dest
2130
                args
2131
        
2132
        
2133
          
2134
            dest
2135
            
2136
          
2137
          
2138
            args
2139
            
2140
          
2141
        
2142
        
2143
 
2144
        
2145
          Kermit_command Procedure
2146
 
2147
          
2148
 
2149
        
2150
            kermit_command
2151
            dest
2152
                args
2153
        
2154
        
2155
          
2156
            dest
2157
            
2158
          
2159
          
2160
            args
2161
            
2162
          
2163
        
2164
        
2165
 
2166
        
2167
          Kermit_send Procedure
2168
 
2169
          
2170
 
2171
        
2172
            kermit_send
2173
            dest string args
2174
        
2175
        
2176
          
2177
            dest
2178
            
2179
          
2180
          
2181
            string
2182
            
2183
          
2184
          
2185
            args
2186
            
2187
          
2188
        
2189
        
2190
 
2191
        
2192
          Kermit_transmit Procedure
2193
 
2194
          
2195
 
2196
        
2197
            kermit_transmit
2198
            dest
2199
                file
2200
                args
2201
        
2202
        
2203
          
2204
            dest
2205
            
2206
          
2207
          
2208
            file
2209
            
2210
          
2211
          
2212
            args
2213
            
2214
          
2215
        
2216
        
2217
 
2218
        
2219
          Telnet_open Procedure
2220
 
2221
          
2222
 
2223
        
2224
            telnet_open
2225
            hostname
2226
                args
2227
        
2228
        
2229
          
2230
            hostname
2231
            
2232
          
2233
          
2234
            args
2235
            
2236
          
2237
        
2238
        
2239
 
2240
        
2241
          Telnet_binary Procedure
2242
 
2243
          
2244
 
2245
        
2246
            telnet_binary
2247
            hostname
2248
        
2249
        
2250
          
2251
            hostname
2252
            
2253
          
2254
        
2255
        
2256
 
2257
        
2258
          Telnet_transmit Procedure
2259
 
2260
          
2261
 
2262
        
2263
            telnet_transmit
2264
            dest
2265
                file
2266
                args
2267
        
2268
        
2269
          
2270
            dest
2271
            
2272
          
2273
          
2274
            file
2275
            
2276
          
2277
          
2278
            args
2279
            
2280
          
2281
        
2282
        
2283
 
2284
        
2285
          Tip_open Procedure
2286
 
2287
          
2288
 
2289
        
2290
            tip_open
2291
            hostname
2292
        
2293
        
2294
          
2295
            hostname
2296
            
2297
          
2298
        
2299
        
2300
 
2301
        
2302
          Rlogin_open Procedure
2303
 
2304
          
2305
 
2306
        
2307
            rlogin_open
2308
            arg
2309
        
2310
        
2311
          
2312
            arg
2313
            
2314
          
2315
        
2316
        
2317
 
2318
        
2319
          Rlogin_spawn Procedure
2320
 
2321
          
2322
 
2323
        
2324
            rlogin_spawn
2325
            dest
2326
                cmdline
2327
        
2328
        
2329
          
2330
            dest
2331
            
2332
          
2333
          
2334
            cmdline
2335
            
2336
          
2337
        
2338
        
2339
 
2340
        
2341
          Rsh_open Procedure
2342
 
2343
          
2344
 
2345
        
2346
            rsh_open
2347
            hostname
2348
        
2349
        
2350
          
2351
            hostname
2352
            
2353
          
2354
        
2355
        
2356
 
2357
        
2358
          Rsh_download Procedure
2359
 
2360
          
2361
 
2362
        
2363
            rsh_download
2364
            desthost
2365
                srcfile
2366
                destfile
2367
        
2368
        
2369
          
2370
            desthost
2371
            
2372
          
2373
          
2374
            srcfile
2375
            
2376
          
2377
          
2378
            destfile
2379
            
2380
          
2381
        
2382
        
2383
 
2384
        
2385
          Rsh_upload Procedure
2386
 
2387
          
2388
 
2389
        
2390
            rsh_upload
2391
            desthost
2392
                srcfile
2393
                destfile
2394
        
2395
        
2396
          
2397
            desthost
2398
            
2399
          
2400
          
2401
            srcfile
2402
            
2403
          
2404
          
2405
            destfile
2406
            
2407
          
2408
        
2409
        
2410
 
2411
        
2412
          Rsh_exec Procedure
2413
 
2414
          
2415
 
2416
        
2417
            rsh_exec
2418
            boardname
2419
                cmd
2420
                args
2421
        
2422
        
2423
          
2424
            boardname
2425
            
2426
          
2427
          
2428
            cmd
2429
            
2430
          
2431
          
2432
            args
2433
            
2434
          
2435
        
2436
        
2437
 
2438
        
2439
          Ftp_open Procedure
2440
 
2441
          
2442
 
2443
        
2444
            ftp_open
2445
            host
2446
        
2447
        
2448
          
2449
            host
2450
            
2451
          
2452
        
2453
        
2454
 
2455
        
2456
          Ftp_upload Procedure
2457
 
2458
          
2459
 
2460
        
2461
            ftp_upload
2462
            host
2463
                remotefile
2464
                localfile
2465
        
2466
        
2467
          
2468
            host
2469
            
2470
          
2471
          
2472
            remotefile
2473
            
2474
          
2475
          
2476
            localfile
2477
            
2478
          
2479
        
2480
        
2481
 
2482
        
2483
          Ftp_download Procedure
2484
 
2485
          
2486
 
2487
        
2488
            ftp_download
2489
            host
2490
                localfile
2491
                remotefile
2492
        
2493
        
2494
          
2495
            host
2496
            
2497
          
2498
          
2499
            localfile
2500
            
2501
          
2502
          
2503
            remotefile
2504
            
2505
          
2506
        
2507
        
2508
 
2509
        
2510
          Ftp_close Procedure
2511
 
2512
          
2513
 
2514
        
2515
            ftp_close
2516
            host
2517
        
2518
        
2519
          
2520
            host
2521
            
2522
          
2523
        
2524
        
2525
 
2526
        
2527
          Tip_download Procedure
2528
 
2529
          
2530
 
2531
          
2532
            tip_download
2533
              spawnid
2534
              file
2535
            
2536
            
2537
              
2538
                spawnid
2539
                Download  to the
2540
                process spawnid (the value returned
2541
                when the connection was established), using the
2542
                ~put command under
2543
                tip.  Most often used for
2544
                single board computers that require downloading
2545
                programs in ASCII S-records.  Returns
2546
                1 if an error occurs,
2547
                0 otherwise.
2548
               
2549
              
2550
                 file
2551
                This is the filename to
2552
                downlaod.
2553
           
2554
         
2555
       
2556
    
2557
 
2558
    
2559
      Procedures For Target Boards
2560
 
2561
      
2562
 
2563
      
2564
        Default_link Procedure
2565
 
2566
        
2567
 
2568
        
2569
            default_link
2570
            board
2571
            objects
2572
            destfile
2573
            flags
2574
        
2575
        
2576
          
2577
            board
2578
            
2579
          
2580
          
2581
            objects
2582
            
2583
          
2584
          
2585
            destfile
2586
            
2587
          
2588
          
2589
            flags
2590
            
2591
          
2592
        
2593
        
2594
 
2595
        
         
2596
        procedure">
2597
          Default_target_assemble Procedure
2598
 
2599
          
2600
 
2601
        
2602
            default_target_assemble
2603
            source
2604
            destfile
2605
            flags
2606
        
2607
        
2608
          
2609
            source
2610
            
2611
          
2612
          
2613
            destfile
2614
            
2615
          
2616
          
2617
            flags
2618
            
2619
          
2620
        
2621
        
2622
 
2623
        
         
2624
        procedure">
2625
          default_target_compile Procedure
2626
 
2627
          
2628
 
2629
        
2630
            default_target_compile
2631
            source
2632
            destfile
2633
            type
2634
            options
2635
        
2636
        
2637
          
2638
            source
2639
            
2640
          
2641
          
2642
            destfile
2643
            
2644
          
2645
          
2646
            type
2647
            
2648
          
2649
          
2650
            options
2651
            
2652
          
2653
        
2654
        
2655
 
2656
        
2657
          Pop_config Procedure
2658
 
2659
          
2660
 
2661
        
2662
            pop_config
2663
            type
2664
        
2665
        
2666
          
2667
            type
2668
            
2669
          
2670
        
2671
        
2672
 
2673
        
2674
          Prune_warnings Procedure
2675
 
2676
          
2677
 
2678
        
2679
            prune_warnings
2680
            text
2681
        
2682
        
2683
          
2684
            text
2685
            
2686
          
2687
        
2688
        
2689
 
2690
        
2691
          Push_build Procedure
2692
 
2693
          
2694
 
2695
        
2696
            push_build
2697
            name
2698
        
2699
        
2700
          
2701
            name
2702
            
2703
          
2704
        
2705
        
2706
 
2707
        
2708
          push_config Procedure
2709
 
2710
          
2711
 
2712
        
2713
            push_config
2714
            type
2715
            name
2716
        
2717
        
2718
          
2719
            type
2720
            
2721
          
2722
          
2723
            name
2724
            
2725
          
2726
        
2727
        
2728
 
2729
        
2730
          Reboot_target Procedure
2731
 
2732
          
2733
 
2734
        
2735
            reboot_target
2736
            
2737
        
2738
        
2739
 
2740
        
2741
          Target_assemble Procedure
2742
 
2743
          
2744
 
2745
        
2746
            target_assemble
2747
            source destfile flags
2748
        
2749
        
2750
          
2751
            source
2752
            
2753
          
2754
          
2755
            destfile
2756
            
2757
          
2758
          
2759
            flags
2760
            
2761
          
2762
        
2763
        
2764
 
2765
        
2766
          Target_compile Procedure
2767
 
2768
          
2769
 
2770
        
2771
            target_compile
2772
            source
2773
            destfile
2774
            type
2775
            options
2776
        
2777
        
2778
          
2779
            source
2780
            
2781
          
2782
          
2783
            destfile
2784
            
2785
          
2786
          
2787
            type
2788
            
2789
          
2790
          
2791
            options
2792
            
2793
          
2794
        
2795
        
2796
        
2797
 
2798
        
2799
          Target Database Procedures
2800
 
2801
          
2802
            Board_info Procedure
2803
 
2804
            
2805
 
2806
        
2807
            board_info
2808
            machine
2809
            op
2810
            args
2811
        
2812
        
2813
          
2814
            machine
2815
            
2816
          
2817
          
2818
            op
2819
            
2820
          
2821
          
2822
            args
2823
            
2824
          
2825
        
2826
        
2827
 
2828
        
2829
          Host_info Procedure
2830
 
2831
          
2832
 
2833
        
2834
            host_info
2835
            op
2836
            args
2837
        
2838
        
2839
          
2840
            op
2841
            
2842
          
2843
          
2844
            args
2845
            
2846
          
2847
        
2848
        
2849
 
2850
        
2851
          Set_board_info Procedure
2852
 
2853
          
2854
 
2855
        
2856
            set_board_info
2857
            entry
2858
            value
2859
        
2860
        
2861
          
2862
            entry
2863
            
2864
          
2865
          
2866
            value
2867
            
2868
          
2869
        
2870
        
2871
 
2872
        
         
2873
        procedure">
2874
          Set_currtarget_info Procedure
2875
 
2876
          
2877
 
2878
        
2879
            set_currtarget_info
2880
            entry
2881
            value
2882
        
2883
        
2884
          
2885
            entry
2886
            
2887
          
2888
          
2889
            value
2890
            
2891
          
2892
        
2893
        
2894
 
2895
        
2896
          Target_info Procedure
2897
 
2898
          
2899
 
2900
        
2901
            target_info
2902
            op
2903
            args
2904
        
2905
        
2906
          
2907
            op
2908
            
2909
          
2910
          
2911
            args
2912
            
2913
          
2914
        
2915
        
2916
 
2917
        
2918
          Unset_board_info Procedure
2919
 
2920
          
2921
 
2922
        
2923
            unset_board_info
2924
            entry
2925
        
2926
        
2927
          
2928
            entry
2929
            
2930
          
2931
        
2932
        
2933
 
2934
        
         
2935
        procedure">
2936
          Unset_currtarget_info Procedure
2937
 
2938
          
2939
 
2940
        
2941
            unset_currtarget_info
2942
            entry
2943
        
2944
        
2945
          
2946
            entry
2947
            
2948
          
2949
        
2950
        
2951
 
2952
        
2953
          Push_target Procedure
2954
 
2955
          This makes the target named name be the
2956
          current target connection. The value of name is
2957
          an index into the target_info array and is set in
2958
          the global config file.
2959
 
2960
        
2961
            push_target
2962
            name
2963
        
2964
        
2965
          
2966
            name
2967
            The name of the target to make current
2968
            connection.
2969
          
2970
        
2971
        
2972
 
2973
        
2974
          Pop_target Procedure
2975
 
2976
          This unsets the current target connection.
2977
 
2978
        
2979
            pop_target
2980
            
2981
        
2982
        
2983
 
2984
        
2985
          List_targets Procedure
2986
 
2987
          This lists all the supported targets for this
2988
          architecture.
2989
 
2990
        
2991
            list_targets
2992
            
2993
        
2994
        
2995
 
2996
        
2997
          Push_host Procedure
2998
 
2999
          This makes the host named name be the
3000
          current remote host connection. The value of
3001
          name is an index into the
3002
          target_info array and is set in the global config
3003
          file.
3004
 
3005
        
3006
            push_host
3007
            name
3008
        
3009
        
3010
          
3011
            name
3012
            
3013
          
3014
        
3015
        
3016
 
3017
        
3018
          Pop_host Procedure
3019
 
3020
          This unsets the current host connection.
3021
 
3022
        
3023
            pop_host
3024
            
3025
         
3026
        
3027
 
3028
        
3029
          Compile Procedure
3030
 
3031
          This invokes the compiler as set by CC to compile the
3032
          file file. The default options for many cross
3033
          compilation targets are guessed by DejaGnu, and
3034
          these options can be added to by passing in more parameters as
3035
          arguments to compile. Optionally, this will also
3036
          use the value of the cflags field in the target
3037
          config array. If the host is not the same as the build machines, then
3038
          then compiler is run on the remote host using
3039
          execute_anywhere.
3040
 
3041
        
3042
            compile
3043
            file
3044
        
3045
        
3046
          
3047
            file
3048
            
3049
          
3050
        
3051
        
3052
 
3053
        
3054
          Archive Procedure
3055
 
3056
          This produces an archive file. Any parameters passed to
3057
          archive are used in addition to the default
3058
          flags. Optionally, this will also use the value of the
3059
          arflags field in the target config array. If the
3060
          host is not the same as the build machines, then then archiver is run
3061
          on the remote host using execute_anywhere.
3062
 
3063
        
3064
            archive
3065
            file
3066
        
3067
        
3068
          
3069
            file
3070
            
3071
          
3072
        
3073
        
3074
 
3075
        
3076
          Ranlib Procedure
3077
 
3078
          This generates an index for the archive file for systems that
3079
          aren't POSIX yet. Any parameters passed to ranlib
3080
          are used in for the flags.
3081
 
3082
        
3083
            ranlib
3084
            file
3085
        
3086
        
3087
          
3088
            file
3089
            
3090
          
3091
        
3092
        
3093
 
3094
        
3095
          Execute_anywhere Procedure
3096
 
3097
          This executes the cmdline on the proper
3098
          host. This should be used as a replacement for the Tcl command
3099
          exec as this version utilizes the target config
3100
          info to execute this command on the build machine or a remote
3101
          host. All config information for the remote host must be setup to
3102
          have this command work. If this is a canadian cross, (where we test a
3103
          cross compiler that runs on a different host then where DejaGnu is
3104
          running) then a connection is made to the remote host and the command
3105
          is executed there. It returns either REMOTERROR (for an error) or the
3106
          output produced when the command was executed. This is used for
3107
          running the tool to be tested, not a test case.
3108
 
3109
        
3110
            execute_anywhere
3111
            cmdline
3112
        
3113
        
3114
          
3115
            cmdline
3116
            
3117
          
3118
        
3119
        
3120
 
3121
    
3122
      Platform Dependant Procedures
3123
 
3124
      Each combination of target and tool requires some
3125
      target-dependent procedures.  The names of these procedures have
3126
      a common form: the tool name, followed by an underbar
3127
      _, and finally a suffix describing the
3128
      procedure's purpose.  For example, a procedure to extract the
3129
      version from GDB is called
3130
      gdb_version.
3131
 
3132
      runtest itself calls only two of these
3133
      procedures, ${tool}_exit and
3134
      ${tool}_version; these procedures use no
3135
      arguments.
3136
 
3137
      The other two procedures, ${tool}_start
3138
      and ${tool}_load}, are only called by the test
3139
      suites themselves (or by testsuite-specific initialization
3140
      code); they may take arguments  or not, depending on the
3141
      conventions used within each test suite.
3142
 
3143
      The usual convention for return codes from any of these
3144
      procedures (although it is not required by
3145
      runtest) is to return 0
3146
      if the procedure succeeded, 1 if it failed,
3147
      and -1 if there was a communication error.
3148
 
3149
        
3150
          ${tool}_start Procedure
3151
 
3152
          Starts a particular tool.  For an interactive tool,
3153
          ${tool}_start starts and initializes the
3154
          tool, leaving the tool up and running for the test cases; an
3155
          example is gdb_start, the start function
3156
          for GDB. For a batch oriented tool,
3157
          ${tool}_start is optional; the recommended
3158
          convention is to let ${tool}_start run the
3159
          tool, leaving the output in a variable called
3160
          comp_output.  Test scripts can then analyze
3161
          $comp_output to determine the test results.
3162
          An example of this second kind of start function is
3163
          gcc_start, the start function for GCC.
3164
 
3165
          DejaGnu itself does not call
3166
          ${tool}_start.  The initialization
3167
          module ${tool}_init.exp must call
3168
          ${tool}_start for interactive tools;
3169
          for batch-oriented tools, each individual test script calls
3170
          ${tool}_start (or makes other
3171
          arrangements to run the tool).
3172
 
3173
        
3174
            ${tool}_start
3175
            
3176
        
3177
        
3178
 
3179
        
3180
          ${tool}_load Procedure
3181
 
3182
          Loads something into a tool. For an interactive tool,
3183
          this conditions the tool for a particular test case; for
3184
          example, gdb_load loads a new
3185
          executable file into the debugger. For batch oriented tools,
3186
          ${tool}_load may do nothing---though,
3187
          for example, the GCC support uses
3188
          gcc_load to load and run a binary on
3189
          the target environment.  Conventionally,
3190
          ${tool}_load leaves the output of any
3191
          program it runs in a variable called
3192
          $exec_output. Writing
3193
          ${tool}_load can be the most complex
3194
          part of extending DejaGnu to a new tool or a new target, if
3195
          it requires much communication coding or file
3196
          downloading. Test scripts call
3197
          ${tool}_load.
3198
 
3199
        
3200
            ${tool}_load
3201
            
3202
        
3203
        
3204
 
3205
        
3206
          ${tool}_exit Procedure
3207
 
3208
          Cleans up (if necessary) before DejaGnu exits. For
3209
          interactive tools, this usually ends the interactive
3210
          session.  You can also use ${tool}_exit
3211
          to remove any temporary files left over from the
3212
          tests. runtest calls
3213
          ${tool}_exit.
3214
 
3215
        
3216
            ${tool}_exit
3217
            
3218
        
3219
        
3220
 
3221
        
3222
          ${tool}_version Procedure
3223
 
3224
          Prints the version label and number for
3225
          ${tool}.  This is called by the DejaGnu
3226
          procedure that prints the final summary report.  The output
3227
          should consist of the full path name used for the tested
3228
          tool, and its version number.
3229
 
3230
        
3231
            ${tool}_version
3232
            
3233
        
3234
        
3235
 
3236
    
3237
 
3238
    
3239
      Utility Procedures
3240
 
3241
      
3242
        Getdirs Procedure
3243
 
3244
      Returns a list of all the directories in the single
3245
        directory a single directory that match an optional
3246
        pattern. 
3247
 
3248
        
3249
            getdirs
3250
            rootdir
3251
                pattern
3252
        
3253
        
3254
          
3255
            args
3256
            
3257
          
3258
          
3259
            pattern
3260
            If you do not specify
3261
            pattern,
3262
            Getdirs assumes a default pattern of
3263
            *. You may use the common shell
3264
            wildcard characters in the pattern. If no directories
3265
            match the pattern, then a NULL string is
3266
            returned
3267
          
3268
        
3269
        
3270
 
3271
      
3272
        Find Procedure
3273
 
3274
        Search for files whose names match pattern
3275
        (using shell wildcard characters for filename expansion).  Search
3276
        subdirectories recursively, starting at
3277
        rootdir. The result is the list of files whose
3278
        names match; if no files match, the result is empty.  Filenames in the
3279
        result include all intervening subdirectory names. If no files match
3280
        the pattern, then a NULL string is returned.
3281
 
3282
        
3283
            find
3284
            rootdir
3285
            pattern
3286
        
3287
        
3288
          
3289
            rootdir
3290
            The top level directory to search the search
3291
            from.
3292
          
3293
          
3294
            pattern
3295
            A csh "glob" style regular expression reprsenting
3296
            the files to find.
3297
          
3298
        
3299
        
3300
 
3301
        
3302
        Which Procedure
3303
 
3304
        Searches the execution path for an executable file
3305
        binary, like the the BSD which
3306
        utility.  This procedure uses the shell environment variable
3307
        PATH. It returns 0 if the
3308
        binary is not in the path, or if there is no PATH
3309
        environment variable. If binary is in the path, it
3310
        returns the full path to binary.
3311
 
3312
        
3313
            which
3314
            file
3315
        
3316
        
3317
          
3318
            binary
3319
            The executable program or shell script to look
3320
            for.
3321
          
3322
        
3323
        
3324
 
3325
        
3326
        Grep Procedure
3327
 
3328
        Search the file called filename (a fully
3329
        specified path) for lines that contain a match for regular expression
3330
        regexp. The result is a list of all the lines that
3331
        match.  If no lines match, the result is an empty string.  Specify
3332
        regexp using the standard regular expression style
3333
        used by the Unix utility program grep.
3334
 
3335
        Use the optional third argument line to
3336
        start lines in the result with the line number in
3337
        filename.  (This argument is simply an option
3338
        flag; type it just as shown .)
3339
 
3340
        
3341
            grep
3342
            filename
3343
            regexp
3344
            --line
3345
        
3346
        
3347
          
3348
            filename
3349
            The file to search.
3350
          
3351
          
3352
            regexp
3353
            The Unix style regular expression (as used by the
3354
            grep Unix utility) to search
3355
            for.
3356
          
3357
          
3358
            --line
3359
            Prefix the line number to each line where the
3360
            regexp matches.
3361
          
3362
        
3363
 
3364
        
3365
        
3366
          Prune Procedure
3367
 
3368
          Remove elements of the Tcl list list.
3369
          Elements are fields delimited by spaces.  The result is a copy of
3370
          list, without any elements that match pattern.
3371
          You can use the common shell wildcard characters to specify the
3372
          pattern.
3373
 
3374
        
3375
            prune
3376
            list
3377
            pattern
3378
        
3379
        
3380
          
3381
            list
3382
            A Tcl list containing the original data. Commonly
3383
            this is the output of a batch executed command, like running a
3384
            compiler.
3385
          
3386
          
3387
            pattern
3388
            The csh shell "glob" style pattern to search
3389
            for.
3390
          
3391
        
3392
 
3393
        
3394
 
3395
        
3396
          Slay Procedure
3397
 
3398
          This look in the process table for name
3399
          and send it a unix SIGINT, killing the process. This will only work
3400
          under NT if you have Cygwin or another Unix system for NT
3401
          installed.
3402
 
3403
        
3404
            slay
3405
            name
3406
        
3407
        
3408
          
3409
            name
3410
            The name of the program to kill.
3411
          
3412
        
3413
 
3414
        
3415
 
3416
        
3417
          Absolute Procedure
3418
 
3419
          This procedure takes the relative path,
3420
          and converts it to an absolute path.
3421
 
3422
        
3423
            absolute
3424
            path
3425
        
3426
        
3427
          
3428
            path
3429
            The path to convert.
3430
          
3431
        
3432
        
3433
 
3434
        
3435
          Psource Procedure
3436
 
3437
          This sources the file filename, and traps
3438
          all errors. It also ignores all extraneous output. If there was an
3439
          error it returns a 1, otherwise it returns a
3440
          0.
3441
 
3442
        
3443
            psource
3444
            file
3445
        
3446
        
3447
          
3448
            filename
3449
            The filename to Tcl script to
3450
            source.
3451
          
3452
        
3453
        
3454
 
3455
        
3456
          Runtest_file_p Procedure
3457
 
3458
          Search runtests for
3459
          testcase and return 1 if
3460
          found, 0 if not. runtests
3461
          is a list of two elements.  The first is the pathname of the
3462
          testsuite expect script running.  The second is a copy of what was on
3463
          the right side of the = if
3464
          foo.exp="..."" was specified, or
3465
          an empty string if no such argument is present. This is used by tools
3466
          like compilers where each testcase is a file.
3467
 
3468
        
3469
            runtest_file_p
3470
            runtests
3471
            testcase
3472
        
3473
        
3474
          
3475
            runtests
3476
            The pathname of the testsuite expect script
3477
            running
3478
          
3479
          
3480
            testcase
3481
            The test case filename.
3482
          
3483
        
3484
        
3485
 
3486
        
3487
          Diff Procedure
3488
 
3489
          Compares the two files and returns a 1 if
3490
          they match, or a 0 if they don't. If
3491
          verbose is set, then it'll print the differences to
3492
          the screen.
3493
 
3494
        
3495
            diff
3496
            file_1
3497
            file_2
3498
        
3499
        
3500
          
3501
            file_1
3502
            The first file to compare.
3503
          
3504
          
3505
            file_2
3506
            The second file to compare.
3507
          
3508
        
3509
        
3510
 
3511
        
3512
          Setenv Procedure
3513
 
3514
          Sets the environment variable var to the
3515
          value val.
3516
 
3517
        
3518
            setenv
3519
            var
3520
            val
3521
         
3522
        
3523
          
3524
            var
3525
            The environment variable to set.
3526
          
3527
          
3528
            val
3529
            The value to set the variable to.
3530
          
3531
        
3532
 
3533
        
3534
          unsetenv Procedure
3535
 
3536
          Unsets the environment variable
3537
          var.
3538
 
3539
        
3540
            unsetenv
3541
            var
3542
        
3543
        
3544
          
3545
            var
3546
            The environment variable to
3547
            unset.
3548
          
3549
        
3550
        
3551
 
3552
        
3553
          Getenv Procedure
3554
 
3555
          Returns the value of var in the
3556
          environment if it exists, otherwise it returns NULL.
3557
 
3558
        
3559
            getenv
3560
            var
3561
        
3562
        
3563
          
3564
            var
3565
            The environment variable to get the value
3566
            of.
3567
          
3568
        
3569
 
3570
        
3571
          Prune_system_crud Procedure
3572
 
3573
          For system system, delete text the host or
3574
          target operating system might issue that will interfere with pattern
3575
          matching of program output in text.  An example
3576
          is the message that is printed if a shared library is out of
3577
          date.
3578
 
3579
        
3580
            prune_system_crud
3581
            system
3582
            test
3583
        
3584
        
3585
          
3586
            system
3587
            The system error messages to look for to screen out
3588
           .
3589
          
3590
          
3591
            text
3592
            The Tcl variable containing the
3593
            text.
3594
          
3595
        
3596
        
3597
 
3598
    
3599
 
3600
    
3601
      Libgloss, A Free BSP
3602
 
3603
      Libgloss is a free BSP (Board Support
3604
      Package) commonly used with GCC and G++ to produce a fully linked
3605
      executable image for an embedded systems.
3606
 
3607
      
3608
        Libgloss_link_flags Procedure
3609
 
3610
        
3611
 
3612
        
3613
            libgloss_link_flags
3614
            args
3615
        
3616
        
3617
          
3618
            args
3619
            
3620
          
3621
        
3622
        
3623
 
3624
        
         
3625
        procedure">
3626
          Libgloss_include_flags Procedure
3627
 
3628
          
3629
 
3630
        
3631
            libgloss_include_flags
3632
            args
3633
        
3634
        
3635
          
3636
            args
3637
            
3638
          
3639
        
3640
        
3641
 
3642
        
3643
          Newlib_link_flags Procedure
3644
 
3645
          
3646
 
3647
        
3648
            newlib_link_flags
3649
            args
3650
        
3651
        
3652
          
3653
            args
3654
            
3655
          
3656
        
3657
        
3658
 
3659
        
         
3660
        procedure">
3661
          Newlib_include_flags Procedure
3662
 
3663
          
3664
 
3665
        
3666
            newlib_include_flags
3667
            args
3668
        
3669
        
3670
          
3671
            args
3672
            
3673
          
3674
        
3675
        
3676
 
3677
        
         
3678
        procedure">
3679
          Libio_include_flags Procedure
3680
 
3681
          
3682
 
3683
        
3684
            libio_include_flags
3685
            args
3686
        
3687
        
3688
          
3689
            args
3690
            
3691
          
3692
        
3693
        
3694
 
3695
        
3696
          Libio_link_flags Procedure
3697
 
3698
          
3699
 
3700
        
3701
            libio_link_flags
3702
            args
3703
        
3704
        
3705
          
3706
            args
3707
            
3708
          
3709
        
3710
        
3711
 
3712
        
3713
          G++_include_flags Procedure
3714
 
3715
          
3716
 
3717
        
3718
            g++_include_flags
3719
            args
3720
        
3721
        
3722
          
3723
            args
3724
            
3725
          
3726
        
3727
        
3728
 
3729
        
3730
          G++_link_flags Procedure
3731
 
3732
          
3733
 
3734
        
3735
            g++_link_flags
3736
            args
3737
        
3738
        
3739
          
3740
            args
3741
            
3742
          
3743
        
3744
        
3745
 
3746
        
         
3747
        procedure">
3748
          Libstdc++_include_flags Procedure
3749
 
3750
          
3751
 
3752
        
3753
            libstdc++_include_flags
3754
            args
3755
        
3756
        
3757
          
3758
            args
3759
            
3760
          
3761
        
3762
        
3763
 
3764
        
         
3765
        procedure">
3766
          Libstdc++_link_flags Procedure
3767
 
3768
          
3769
 
3770
        
3771
            libstdc++_link_flags
3772
            args
3773
        
3774
        
3775
          
3776
            args
3777
            
3778
          
3779
        
3780
        
3781
 
3782
        
3783
          Get_multilibs Procedure
3784
 
3785
          
3786
 
3787
        
3788
            get_multilibs
3789
            args
3790
        
3791
        
3792
          
3793
            args
3794
            
3795
          
3796
        
3797
        
3798
 
3799
        
3800
          Find_binutils_prog Procedure
3801
 
3802
          
3803
 
3804
        
3805
            find_binutils_prog
3806
            name
3807
        
3808
        
3809
          
3810
            name
3811
            
3812
          
3813
        
3814
        
3815
 
3816
        
3817
          Find_gcc Procedure
3818
 
3819
          
3820
 
3821
        
3822
            find_gcc
3823
            
3824
        
3825
        
3826
 
3827
        
3828
          Find_gcj Procedure
3829
 
3830
          
3831
 
3832
        
3833
            find_gcj
3834
            
3835
        
3836
        
3837
 
3838
        
3839
          Find_g++ Procedure
3840
 
3841
          
3842
 
3843
        
3844
            find_g++
3845
            
3846
        
3847
        
3848
 
3849
        
3850
          Find_g77 Procedure
3851
 
3852
          
3853
 
3854
        
3855
            find_g77
3856
            
3857
        
3858
        
3859
 
3860
        
         
3861
        procedure">
3862
          Process_multilib_options Procedure
3863
 
3864
          
3865
 
3866
        
3867
            process_multilib_options
3868
            args
3869
        
3870
        
3871
          
3872
            args
3873
            
3874
          
3875
        
3876
        
3877
 
3878
        
         
3879
        procedure">
3880
          Add_multilib_option Procedure
3881
 
3882
          
3883
 
3884
        
3885
            add_multilib_option
3886
            args
3887
        
3888
        
3889
          
3890
            args
3891
            
3892
          
3893
        
3894
        
3895
 
3896
        
3897
          Find_gas Procedure
3898
 
3899
          
3900
 
3901
        
3902
            find_gas
3903
            
3904
        
3905
        
3906
 
3907
        
3908
          Find_ld Procedure
3909
 
3910
          
3911
 
3912
        
3913
            find_ld
3914
            
3915
        
3916
        
3917
 
3918
        
3919
          Build_wrapper Procedure
3920
 
3921
          
3922
 
3923
        
3924
            build_wrapper
3925
            gluefile
3926
        
3927
        
3928
          
3929
            gluefile
3930
            
3931
          
3932
        
3933
        
3934
 
3935
        
         
3936
        procedure">
3937
          Winsup_include_flags Procedure
3938
 
3939
          
3940
 
3941
        
3942
            winsup_include_flags
3943
            args
3944
        
3945
        
3946
          
3947
            args
3948
            
3949
          
3950
        
3951
        
3952
 
3953
        
3954
          Winsup_link_flags Procedure
3955
 
3956
          
3957
 
3958
        
3959
            winsup_link_flags
3960
            args
3961
        
3962
        
3963
          
3964
            args
3965
            
3966
          
3967
        
3968
        
3969
    
3970
 
3971
    
3972
      Procedures for debugging your Tcl code.
3973
 
3974
      lib/debugger.expdefines these utility
3975
      procedures:
3976
 
3977
      
3978
        Dumpvars Procedure
3979
 
3980
        This takes a csh style regular expression (glob rules) and prints
3981
        the values of the global variable names that match.  It is abbreviated
3982
        as dv.
3983
 
3984
        
3985
            dumpvars
3986
            vars
3987
                
3988
        
3989
          
3990
            vars
3991
            The variables to dump.
3992
          
3993
        
3994
        
3995
 
3996
        
3997
          Dumplocals Procedure
3998
 
3999
          This takes a csh style regular expression (glob rules) and
4000
          prints the values of the local variable names that match. It is
4001
          abbreviated as dl.
4002
 
4003
        
4004
            dumplocals
4005
            args
4006
                
4007
        
4008
          
4009
            args
4010
            
4011
          
4012
        
4013
        
4014
 
4015
        
4016
          Dumprocs Procedure
4017
 
4018
          This takes a csh style regular expression (glob rules) and
4019
          prints the body of all procs that match. It is abbreviated as
4020
          dp.
4021
 
4022
        
4023
            dumprocs
4024
            pattern
4025
                
4026
        
4027
          
4028
            pattern
4029
            The csh "glob" style pattern to look
4030
            for.
4031
          
4032
        
4033
        
4034
 
4035
        
4036
          Dumpwatch Procedure
4037
 
4038
          This takes a csh style regular expression (glob rules) and
4039
          prints all the watchpoints. It is abbreviated as
4040
          dw.
4041
 
4042
        
4043
            dumpwatch
4044
            pattern
4045
                
4046
        
4047
          
4048
            pattern
4049
            The csh "glob" style pattern to look
4050
            for.
4051
          
4052
        
4053
        
4054
 
4055
        
4056
          Watcharray Procedure
4057
 
4058
          
4059
 
4060
        
4061
            watcharray
4062
            element
4063
                type
4064
                
4065
        
4066
          
4067
            type
4068
            The csh "glob" style pattern to look
4069
            for.
4070
          
4071
        
4072
        
4073
 
4074
        
4075
          Watchvar Procedure
4076
 
4077
          
4078
 
4079
        
4080
            watchvar
4081
            var
4082
                type
4083
                
4084
        
4085
          
4086
            
4087
            
4088
          
4089
        
4090
        
4091
 
4092
        
4093
          Watchunset Procedure
4094
 
4095
          This breaks program execution when the variable
4096
          var is unset. It is abbreviated as
4097
          wu.
4098
 
4099
        
4100
            watchunset
4101
            arg
4102
                
4103
        
4104
          
4105
            args
4106
            
4107
          
4108
        
4109
        
4110
 
4111
        
4112
          Watchwrite Procedure
4113
 
4114
          This breaks program execution when the variable
4115
          var is written. It is abbreviated as
4116
          ww.
4117
 
4118
        
4119
            watchwrite
4120
            var
4121
                
4122
        
4123
          
4124
            var
4125
            The variable to watch.
4126
          
4127
        
4128
        
4129
 
4130
        
4131
          Watchread Procedure
4132
 
4133
          This breaks program execution when the variable
4134
          var is read. It is abbreviated as
4135
          wr.
4136
 
4137
        
4138
            watchread
4139
            var
4140
                
4141
        
4142
          
4143
            var
4144
            The variable to watch.
4145
          
4146
        
4147
        
4148
 
4149
        
4150
          Watchdel Procedure
4151
 
4152
          This deletes a the watchpoint from the watch list. It is
4153
          abbreviated as wd.
4154
 
4155
        
4156
            watchdel
4157
            args
4158
                
4159
        
4160
          
4161
            args
4162
            
4163
          
4164
        
4165
        
4166
 
4167
        
4168
          Print Procedure
4169
 
4170
          This prints the value of the variable
4171
          var. It is abbreviated as
4172
          p.
4173
 
4174
        
4175
            print
4176
            var
4177
                
4178
        
4179
          
4180
            var
4181
            
4182
          
4183
        
4184
        
4185
 
4186
        
4187
          Quit Procedure
4188
 
4189
          This makes runtest exit. It is abbreviated as
4190
          q.
4191
 
4192
        
4193
            quit
4194
            
4195
                
4196
        
4197
          
4198
            
4199
            
4200
          
4201
        
4202
        
4203
 
4204
    
4205
 
4206
  
4207
 
4208
   
4209
    File Map
4210
 
4211
    This is a map of the files in DejaGnu.
4212
 
4213
    
4214
      runtest
4215
      runtest.exp
4216
      stub-loader.c
4217
      testglue.c
4218
      config
4219
      baseboards
4220
      lib/debugger.exp
4221
      lib/dg.exp
4222
      lib/framework.exp
4223
      lib/ftp.exp
4224
      lib/kermit.exp
4225
      lib/libgloss.exp
4226
      lib/mondfe.exp
4227
      lib/remote.exp
4228
      lib/rlogin.exp
4229
      lib/rsh.exp
4230
      lib/standard.exp
4231
      lib/target.exp
4232
      lib/targetdb.exp
4233
      lib/telnet.exp
4234
      lib/tip.exp
4235
      lib/util-defs.exp
4236
      lib/utils.exp
4237
      lib/xsh.exp
4238
    
4239
 
4240
  
4241
 
4242

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.