1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
|
Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
they use gdb_expect_list.
Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/commands.exp: Use ``set remote
memory-read-packet-size'' instead of ``set endian big'' to test
long commands.
2000-06-03 Daniel Berlin <dan@cgsoftware.com>
* gdb.c++/templates.exp (do_tests): Make all of these work under
g++, and stop skipping them.
* gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
work under g++.
* gdb.c++/misc.cc: Fix ambiguous initialization with correct
initialization.
2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/annota1.exp (run until main breakpoint): Loosen up
the regular expression: accept an (almost) arbitrary sequence of
"frames-invalid" and "breakpoints-invalid" messages both before
and after the "starting" message.
2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.c++/local.exp: This test has never been known to work with g++.
2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/annota1.exp (annotate-signal-handler-caller):
Relax the regular expression a little, make it pass on Solaris 8.
2000-05-12 Kevin Buettner <kevinb@redhat.com>
* gdb.base/step-test.exp: On IA-64 targets, when stepping out of
a call, do not require that gdb stop on the line after the call.
Instead, it is permissible for gdb to stop on the line of the
call itself.
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
* gdb.base/break.exp (bp on small function, optimized file):
Add a second pass pattern. The behavior differs here between stabs
and dwarf for one-line functions. Stabs preserves two line symbols
(one before the prologue and one after) with the same line number,
but dwarf regards these as duplicates and discards one of them.
Therefore the address after the prologue (where the breakpoint is)
has no exactly matching line symbol, and GDB reports the breakpoint
as if it were in the middle of a line rather than at the beginning.
2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
From 2000-04-28 Andreas Jaeger <aj@suse.de>:
* gdb.c++/templates.cc: Properly check for GCC version number.
* lib/compiler.cc: Likewise
2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>
* gdb.base/miscexprs.exp: make sizeof long array test portable.
* gdb.base/ending-run.exp: After connecting to a remote target,
but before running, the target will appear to be in a random
location. Specify both a file and a line for breakpoints.
Also, the function that calls main may be called 'init'
rather than 'start'.
2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/help.exp: Update output for add-symbol-file command.
2000-04-10 Fernando Nasser <fnasser@cygnus.com>
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2000-04-07 J.T. Conklin <jtc@redback.com>
* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
* gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.
2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
* ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
2000-03-25 Daniel Berlin <dan@cgsoftware.com>
* gdb.base/commands.exp (deprecated_command_test): Add test for
deprecate with no arguments.
2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
* gdb.base/break.exp: Add new test for setting breakpoints on
optimized code so we can test breakpoints work even when function
prologues may be optimized away
2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
From David Whedon <dwhedon@gordian.com>
* gdb.base/commands.exp : Added command deprecator tests.
2000-03-22 Daniel Berlin <dan@cgsoftware.com>
* gdb.base/help.exp: Added test for new apropos command.
2000-03-21 Kevin Buettner <kevinb@redhat.com>
* gdb.base/pointers.c (usevar): New function.
(main): Make sure that global variables v_int_pointer2, rptr,
and y are all referenced someplace in the program by calling
usevar() on them. [Some linkers delete symbols which are
never referenced. The space remains, but there's no way to
get a (symbolic) handle on the variable from the debugger.]
2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/printcmds.c: Add typedeffed arrays.
* gdb.base/printcmds.exp (test_print_typedef_arrays): New
procedure to test arrays that are typedef'd.
2000-03-13 James Ingham <jingham@leda.cygnus.com>
* lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
the library directories.
Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (configdirs): Add sub directory gdb.mi.
* configure: Re-generate.
* gdb.mi: New directory.
2000-02-25 Scott Bambrough <scottb@netwinder.org>
* gdb.base/long_long.exp: Correct test suite failure when printing
a long long value as a double on ARM platforms.
2000-02-16 Jim Blandy <jimb@redhat.com>
* gdb.base/break.exp ("breakpoint line number"): Make sure the
default source file is set properly before running this test.
2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* lib/gdb.exp: Tell the testsuite that now gdbtk is in the
gdbtk/library directory, not in gdbtcl2.
2000-02-04 Jim Blandy <jimb@redhat.com>
* gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
backslash from regexp pattern.
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
procedure. Use it to run all the "continue to bp overloaded"
tests. Note that this changes the names of the tests slightly.
If the breakpoint hit message includes a hex PC value, because
GCC's Dwarf 2 line info doesn't help us distinguish the prologue
from the real source code, still consider that a pass.
* gdb.base/condbreak.exp ("run until breakpoint at marker2"):
XFAIL here if the breakpoint message contains a hex address. Note
similar change on 1999-11-02.
* gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
* gdb.base/ptype.exp: Establish a default source file before
calling get_debug_format.
2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/watchpoint.exp: Remove duplication of test messages.
2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/step-test.exp: Fix the steps to enter a callee by means
of successive stepi commands -- while in the prologue we should see
the function entry bracket.
2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
reach __change_mode() when stepping through the end of main().
2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/default.exp: Fix expected pattern.
* gdb.base/help.exp: Same.
2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
Don't use xfail's because that affects only the following test.
* gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
solaris or linux.
* gdb.base/selftest.exp: Update to reflect changes to main.c.
2000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/display.exp: Some yacc parsers like to say
"A syntax error" rather than "A parse error". Accept both.
2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/default.exp: Remove OS dependent string from "target
remote" test.
* gdb.base/help.exp: Same for "help target remote" test.
2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Jim Kingdon <kingdon@redhat.com>:
* gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
prompt (cleanup rather than necessity, but still might keep output
from spilling to next test).
2000-01-02 Fred Fish <fnf@cygnus.com>
* gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
AIX, which defines them in <sys/types.h>.
1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/default.exp: Match arm* etc instead of arm in "info
float" test.
1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
* gdb.base/break.exp: Add missing anchor to reg exp on "finish from
outermost frame disallowed".
1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/setvar.exp: New tests for setting the value of a struct
with a constant list.
1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/setvar.exp: Remove pair os tests that expected gdb to
require the user to type a cast before setting the value of a struct.
1999-12-06 Jim Blandy <jimb@cygnus.com>
* gdb.base/default.exp: Expect the new 'info float' command on
all i386 platforms.
* gdb.threads/linux-dp.exp: Expand our ability to recognize
LinuxThreads libraries that don't support debugging.
Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/remote.c: Fill the buffer with truely random data.
Change the buffer type to ``unsigned char'' to simplify size
arithmetic.
* gdb.base/remote.exp: Reduce download numbers by one. Typical
stub only handles 400-1 byte packets. Verify that the download
worked.
1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
* lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
tests, using UNRESOLVED for the untested cases. Also, does not wait
for a timeout if the prompt was received before a recognizable pattern.
1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
* lib/gdb.exp (gdb_expect_list): Fix spelling.
1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/watchpoint.exp: Add tests cases for the hit count of
watchpoints.
1999-11-24 Jason Merrill <jason@casey.cygnus.com>
* gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
* gdb.c++/local.exp: Be more flexible in recognizing local class
name mangling. Don't allow horribly truncated method names.
* gdb.c++/derivation.exp: Expect protected inheritance.
* gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
* gdb.c++/virtfunc.exp: Likewise.
* gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
when printing a nested enum.
1999-11-22 Jim Blandy <jimb@cygnus.com>
* gdb.base/step-test.exp: Properly await GDB's response to setting
a breakpoint on the call to large_struct_by_value.
* gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
just because we have debug info for the `start' function.
1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
* gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
"Unknown signal" messages, which indicate (on LinuxThreads) that
GDB doesn't know how to debug threads on this system. This is
better than hanging while philosopher 0 dumps chatter into gdb.log.
1999-11-18 Tom Tromey <tromey@cygnus.com>
* gdb.trace/deltrace.exp: Updated test to reflect new error text.
1999-11-18 Fred Fish <fnf@cygnus.com>
* gdb.base/coremaker2.c: Add sample program for generating
cores that is more self contained than coremaker.c. Eventually
I'll add more code to this and tie it into the testsuite.
1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/dollar.exp: Remove, now in gdb.hp.
1999-11-10 Jimmy Guo <guo@cup.hp.com>
* gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
from $srcdir/lib/.
* lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
and gdb.c++/.
* gdb.c++/derivation.exp: remove redundant get compiler info code.
* gdb.base/commands.exp: add '$gdb_prompt $' anchor to
'continue with watch' test point.
1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
Merged from p2linux-990323-branch:
* lib/gdb.exp (gdb_continue_to_breakpoint): New function.
Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
* gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
{limit,fixed}''. Test ``set download-write-size''.
Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/funcargs.exp: Rewrite stack traceback checks using
gdb_expect_list.
Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
* lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
1999-11-03 Mark Salter <msalter@cygnus.com>
* gdb.base/break.exp: Fix "stub continue" pattern.
1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/display.exp ("finish"): Add timeout clause.
* gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
plain prompt clause, so this doesn't have to time out in order to
fail.
* gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
breakpoint hit messages include an address.
* gdb.base/display.exp: Don't forget to escape parens in regular
expressions. Unix regexp notatation sucks.
1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/annota1.exp: Test for annotate-signalled: change output
order for 'signalled' message.
1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
From Jimmy Guo <guo@cup.hp.com>:
* gdb.base/annota1.exp: Add tests for annotate ignore count change.
* gdb.base/annota1.c: Add code for tests to work with.
1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
* gdb.base/remote.exp: New test for remote downloading settings.
* gdb.base/remote.c: New file with large .data.
1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
for LinuxThreads support, merged from the Code Fusion branch.
Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
* lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
containing exp_continue into a while within an expect. Don't
attempt a start more than three times. Check return value from
gdb_load.
Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
a pass case.
1999-10-01 Kevin Buettner <kevinb@cygnus.com>
* gdb.base/break.c (main): Added a statement that we can step
off of.
* gdb.base/break.exp: Added tests for setting a breakpoint
at an offset and stepping onto a breakpoint.
1999-10-01 Fred Fish <fnf@cygnus.com>
* gdb.base/help.exp (help add-symbol-file): Update to match current
gdb output.
1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
* gdb.base/break.exp: Code locations are in hex, don't forget!
(For HP-UX.)
1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
* condbreak.exp: Use break.c as test program.
* condbreak.c: Remove, redundant with break.c.
1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
* config/monitor.exp (gdb_target_monitor): Disable X- and
Z-packets if the target needs it.
1999-09-13 James Ingham <jingham@leda.cygnus.com>
* gdb.c++/overload.exp: Added tests for listing overloaded
functions with function pointers in the arg, explicitly calling
out the version you want.
1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
* long_long.exp: Add variations of test cases that work for
targets with 16-bit ints and 32-bit doubles.
1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
* break.c (main): Compare a possibly-uninitialized argc with an
unlikely value that fits in 16 bits.
1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
0xfeeb, don't want negative numbers if ints are 16 bits.
* lib/gdb.exp (skip_cplus_tests): New proc.
* gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
gdb.c++/anon-union.exp, gdb.c++/classes.exp,
gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
* gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
* gdb.base/corefile.exp (up): Allow a parameter to appear
in the frame that we're going up to.
From Jim Blandy <jimb@cygnus.com>:
* gdb.base/default.exp (info float): Expect some output now.
* gdb.base/callfuncs.exp (do_function_calls): We no longer expect
returning floating-point values to fail on the x86.
* gdb.base/callfwmall.exp (do_function_calls): Same.
* gdb.base/list.exp (test_listsize): Correct expectations for
listing line 1 with listsize 2. Also, listing a single line
works now, as does listing three lines. [Kevin's note: There
were a number of other cases fixed too where the expectations
differed...]
1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/selftest.exp: Add case for when version prints as
constant string instead of char pointer.
1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/ending-run.exp: Add Solaris case for what happens when
stepping out of main.
* gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
G++ used.
* gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
always, expect ptype InnerLocal::NestedInnerLocal to fail always.
* gdb.c++/ovldbreak.exp: Update match string in test that
includes a warning of multiple breakpoints.
1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/display.exp: Improve precision of step-after-finish
added yesterday.
* gdb.base/signals.exp: Add extra wildcard to "handle all print"
test.
* gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
configs when using G++, not just hppa*.
1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/async.c: New file.
* gdb.base/async.exp: New file.
Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
* gdb.base/break.exp: Tweak PA specific tests to properly handle
PA64.
Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
* gdb.base/display.exp: "finish" can leave us mid-line on many
targets, deal with it. Add a small constant to main, instead of
1000 since main+1000 may not be a valid address in the target.
* gdb.base/dollar.exp: Do not run for PA processors in wide mode
on hpux11.
* gdb.base/attach.exp: Handle another hpux11 error message variant
when attaching to a process that does not exist.
1999-08-19 J.T. Conklin <jtc@redback.com>
* gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
characters in 'continue to 1241' test.
1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/call-ar-st.exp: Add a shorter match case for the
stop in print_long_arg_list, define and use a whitespace
variable in print_small_structs test, add an XFAIL for Solaris.
* gdb.base/dbx.exp: XFAIL func commands until somebody is
interested enough to fix.
1999-08-13 Keith Seitz <keiths@cygnus.com>
* gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
(dbx_gdb_load): Remove. Use gdb_load instead, since that
proc knows about targets other than the natives.
(test_assign): Use "gdb_run_cmd" to "run" the target.
Check that we've actually hit the breakpoint at main.
When we attempt to assign a value to a local variable, check
that the variable is in the current scope, i.e., don't use
a test with an empty result.
Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/maint.exp: Add test of ``maintenance internal-error''
command.
1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
From Jimmy Guo <guo@cup.hp.com> and others at HP:
gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
gdb.compat, gdb.threads-hp.
gdb.hp/configure, gdb.hp/configure.in: New files.
gdb.hp/Makefile.in: Recurse into new subdirs.
gdb.hp/gdb.defects: New directory, tests for HP bug reports.
gdb.hp/gdb.objdbg: New directory, tests for debugging info
in object files.
gdb.hp/tools: New directory, aux tools for HP-specific tests.
1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/display.exp: Help expect by putting a newline in the
funky printf, remove a bogus p/a test.
1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/display.exp: Make sure that when we say 'run', we are
connected to the target. This is necessary when running not
natively.
1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/step-test.exp: Removed some extraneous messages.
* gdb.base/long_long.exp: Don't run memory examination tests
on little-endian targets (they will need a different set of
results to match).
1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
* gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
until somebody decides to fix GDB.
* gdb.base/long_long.c: Stop compiler complaint by specifying long
constant as "ULL".
* gdb.base/long_long.exp: Loosen x/c test, add partial result
matches for a couple x/2 commands.
1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
* gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
by merging in ref-types2 tests.
* gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
From Jimmy Guo <guo@cup.hp.com> and others at HP:
* gdb.c++/Makefile.in: Add standard actions.
(EXECUTABLES): Rename from PROGS, update list.
* gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
from gdb.hp.
* gdb.c++/anon-union.cc: Don't use anonymous struct, make
foo and bar locals.
* gdb.c++/anon-union.exp: Fix tests to match.
* gdb.c++/classes.exp: Run if HP compiler used, add extra
expect matches to handle output variations.
* gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
* gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
output, add HP alternatives for new and delete prints.
* gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
* gdb.c++/demangle.exp: Use $style when reporting failure.
* gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
* gdb.c++/inherit.exp: Run if HP compiler used, add some
match alternatives.
* gdb.c++/local.exp: Add match alternatives or xfails for HP
compilers.
* gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
* gdb.c++/method.exp: Add match alternatives.
* gdb.c++/misc.cc: Add bool types.
* gdb.c++/misc.exp: Add tests for bool types.
* gdb.c++/overload.exp: Add xfails.
* gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
* gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
add some more template parameter tests (only for HP currently).
* gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
* gdb.c++/virtfunc.cc: Add return type and value for main.
* gdb.c++/virtfunc.exp: Run if HP compiler used, add some
match alternatives.
1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/display.exp: Fix output of 'p/a &&j' test.
1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
* gdb.base/signals.exp: Don't expect getting a backtrace from
within a signal handler to fail on Linux.
1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
From Jimmy Guo <guo@cup.hp.com> and others at HP:
* lib/gdb.exp: Remove some gratuitious semicolons.
(delete_breakpoints): Increase timeout.
(gdb_expect): Add -notransfer option.
(gdb_test): Use -notransfer option.
(get_compiler_info): Add f77 case.
(get_compiler): New proc, split out from gdb_preprocess, add f77
case.
(gdb_preprocess): Call get_compiler.
* gdb.base/Makefile.in (EXECUTABLES): Update the list.
* gdb.base/attach.exp, gdb.base/display.exp,
gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
gdb.base/long_long.exp, gdb.base/printcmds.exp,
gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
third arg to gdb_test.
* gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
* gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
HP-UX xfails, add others.
* gdb.base/completion.exp: Reflect name change of self-test.
* gdb.base/condbreak.exp, gdb.base/corefile.exp,
gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
HP failure number.
* gdb.base/foll-vfork.exp: Loosen matches slightly, remove
useless HP-UX 10.30 references.
* gdb.base/maint.exp: Loosen matches.
* gdb.base/pointers.c (main): Declare more_code.
* gdb.base/pointers.exp: Match on output of a `next'.
* gdb.base/structs.c: Add prototypes.
* gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
* gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/list.exp: Add tests for repeating 'list <linenum>'
command.
1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
Fix run to main failures. Watchpoint can be hardware watchpoint.
* gdb.base/annota1.exp: Clean up some more, in case printf has
debug info. Deal with lack of signal hanlder info in stack.
From Jim Kingdon <kingdon@redhat.com>:
* gdb.base/annota1.exp: If printf has debug info, deal with it.
1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
gdb.base/foll-vfork.exp: Don't run for crosses.
Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/configure.in: Check for gdbvars.exp instead of
a1-selftest.exp.
* gdb.base/configure: Re-generate.
1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
in trying to run first and name is too long.
* gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
pointers2.c and pointers2.exp, respectively.
* gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
doschk happier.
1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
callfuncs2.c and callfuncs2.exp.
* gdb.base/list.exp: Remove mistaken xfails.
* gdb.base/list0.h: Add optional prototypes.
Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
* gdb.base/setvar.exp: Increase the time-out on tests indirectly
calling malloc.
* nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
* ptype.exp: Move test for get_debug_format to before its first
use.
1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
* gdb.base/annota2.cc, annota2.exp: Move from here.
* gdb.c++/annota2.cc, annota2.exp: To here.
* gdb.c++/Makefile.in (PROGS): Add annota2 executable.
Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
* lib/gdb.exp (gdb_expect_list): Output one message per pattern in
a consistent format.
1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
From Jimmy Guo <guo@cup.hp.com> and others at HP:
* lib/gdb.exp (get_compiler_info): Add detection for assorted
HP compilers, also set the globals $true and $false.
* gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
whatis.c} Add C++ compatible function definitions and return
types, add includes for library functions.
* gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
* gdb.base/step-test.c (myglob): Rename from glob.
* gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
files, move here from gdb.hp.
* gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
Adjust line numbers in regexps.
* gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
instead of 0/1.
* gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
foll-vfork.exp: New files, move here from gdb.hp.
* gdb.base/page.exp: New file, test of pagination command.
* gdb.base/watchpoint.c (recurser): New function, for watchpoint
recursion test.
* gdb.base/watchpoint.exp: Add more test cases for watchpoints.
* gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
gdb.base/solib.exp: Fix compiler invocation process.
* gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
HP-UX 11, turn off overload resolution explicitly.
* gdb.base/commands.exp: Set argument list explicitly, add
watchpoint test.
* gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
them work.
* gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
expressions properly.
* gdb.base/corefile.exp: Loosen the match slightly.
* gdb.base/default.exp: Allow "Error accessing memory" message
also.
* gdb.base/display.exp: Skip over x/0 j if PA64.
* gdb.base/funcargs.exp: Add xfails for HP-UX.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/langs.exp: Add symbolic matches governed by compiler
in use.
* gdb.base/list.exp: Add xfails for HP-UX.
* gdb.base/long_long.exp: Refine some of the numeric matches.
* gdb.base/mips_pro.exp: Xfail on HP-UX.
* gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
* gdb.base/nodebug.exp: Succeed on more varieties of output.
* gdb.base/opaque.exp: Remove some HP-UX xfails.
* gdb.base/ptype.exp: Succeed on more varieties of output.
* gdb.base/scope.exp: Add xfails for HP-UX.
* gdb.base/sect-cmd.exp: Add more cases.
* gdb.base/setvar.exp: Add xfails for HP-UX.
* gdb.base/shlib-call.exp: Loosen some matches slightly.
* gdb.base/signals.exp: Match on void symbolically.
* gdb.base/step-test.exp: Add case for PA64.
* gdb.base/term.exp: Add exit and restart.
* gdb.base/twice.exp: Clean up after self.
* gdb.base/varargs.exp: Disable overload resolution explicitly.
* gdb.base/whatis.exp: Allow more ways to pass tests.
* gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
no longer useful.
Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
* lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
list of patterns.
* gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
print_double_array(double_array)", "continuing to breakpoint
1018", "print print_double_array(array_d)" and "continuing to
1034" tests.
1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
* Makefile.in: Add empty html and install-html targets.
1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
* config/mt-*: Remove, these haven't been used since 1996.
1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/call-strs.c, gdb.base/ending-run.c,
gdb.base/step-test.c: Include stdlib.h and string.h as needed.
* gdb.c++/member-ptr.exp: Skip over these tests if using G++.
1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
* gdb.c++/overload.exp: XFAIL everything if using G++, add a
simpler match case for the ptype of the big class.
1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.exp: Fix test for gdb_prompt existence.
1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.exp (gdb_test): Add fail after calls to perror.
1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.exp (gdb_test): Accept variations of Undefined command messages.
1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/call-strs.c (link_malloc): New function. Ensure that
malloc() is linked in.
1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
* gdb.base/ending-run.exp: Make sure we fail and do not timeout at
step at end.
* gdb.base/annota1.exp: Increase match_max to prevent timeout.
1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.java/jv-print.exp: New file. (Our first Java test!)
Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
* gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
* gdb.base/mips_pro.exp: Likewise.
1999-06-02 Keith Seitz <keiths@cygnus.com>
* gdb.c++/templates.cc: Change all "new" operators to throw
an exception.
* gdb.c++/cplusfuncs.cc: Likewise.
* gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/condbreak.exp: Use rerun_to_main to start the program.
* gdb.base/ending-run.exp: When stepping out of main, accept a
step into an arbitrary assembler file.
1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/annota1.exp: Allow any number of "frames-invalid" and
"breakpoint-invalid" to be printed.
* gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
number of "frames-invalid" and "breakpoint-invalid" to be printed.
* gdb.base/annota2.cc: Initialize a.x to 0.
1999-05-17 Keith Seitz <keiths@cygnus.com>
* gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
when "skip_float_tests" set.
Ditto for "print print_double_array(array_d)", "print print_small_structs",
"print print_ten_doubles", and "step into print_long_arg_list".
Don't assume we can step into "print_long_arg_list": we could step into memcpy.
* gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
* gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
"skip_float_tests" is set.
* gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
when "skip_float_tests" set.
1999-05-06 Keith Seitz <keiths@cygnus.com>
* gdb.base/annota2.cc: Include stdio.h.
Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/crossload.exp: Remove, this has been disabled ever
since BFD stopped including all targets, and cross-GDB gets
plenty of testing anyway.
* gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
* gdb.base/README: Remove, was doc for this.
* gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
needed.
1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/call-ar-st.exp: Fix one regular expression in test
output.
* gdb.base/annota1.exp: New file. Annotation level 2 tests.
* gdb.base/annota2.exp: New file. More annotation tests.
* gdb.base/annota1.c: New file. Source file for annota1.exp.
* gdb.base/annota2.cc: New file. Source file for annota2.exp.
1999-04-23 Angela Marie Thomas <angela@cygnus.com>
* config/cfdbug.exp: New file.
1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
Marcus Daniel's and Dale Hawkins's demangler crashes.
* gdb.c++/demangle.exp (test_gnu_style_demangling,
test_lucid_style_demangling, test_arm_style_demangling,
test_hp_style_demangling): Try Tom Tromey's core-dumping
identifier under each demangling style.
1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.c++/demangle.exp: Include the current demangling style
in all test names.
(current_demangling_style): New global variable.
(set_demangling_style, test_demangling_core, test_demangling,
test_demangling_exact): New functions.
(test_gnu_style_demangling, test_lucid_style_demangling,
test_arm_style_demangling, test_hp_style_demangling): Use those,
instead of calling gdb_test and gdb_test_exact directly.
(catch_demangling_errors): New function, which reports errors
signalled by the demangling test functions in an orderly way.
(do_tests): Use catch_demangling_errors.
1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/signals.exp (test_handle_all_print): Use () for
grouping in expressions, not {}.
* gdb.base/smoke.exp: Test value of x, not y. The latter isn't
initialized yet.
1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
* gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
are listed.
1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
* gdb.stabs/weird.exp: Test for CC being defined before
looking at its value.
1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/call-ar-st.exp: Remove stray '#'.
* gdb.base/miscexprs.exp: Allow "short" and "long" as well as
"short int" and "long int".
* gdb.c++/overload.cc: Cast the string added in the previous
change, to mollify finicky HP compiler.
* gdb.hp/reg-test.exp (testfile): Fix file name.
* gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
* gdb.c++/misc.cc (main): Initialize obj_with_enum.
* gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
alternate form of enum ptype.
1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
* lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
* gdb.hp/*.exp: Change all to run compiler probe only after
passing skip_hp_tests, so as not to waste time on guaranteed
failure.
* gdb.c++/overload.cc: Pass string instead of char addr, always
init ccpfoo.
* gdb.c++/templates.cc: Fix syntax error.
Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/commands.exp: Add test for correct position of '>'
when issuing the 'commands' command after a 'while' or 'if'
command.
1999-03-18 James Ingham <jingham@cygnus.com>
* gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
* gdb.c++/method.exp: It was testing an uninitialized int on the
stack and assuming it was positive.
* gdb.base/watchpoint.exp: Use gdb_continue_to_end.
* gdb.base/step-test.exp: Catch a case where finish is broken and
keep it from killing the rest of the tests.
Use gdb_continue_to_end.
* gdb.base/sigall.exp: use gdb_continue_to_end.
* gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
* gdb.base/display.exp: use runto_main, not run.
* gdb.base/default.exp: Check for the current error message in the
r abbreviation test.
Add strongarm to the targets that know info float.
* gdb.base/condbreak.exp: Use the gdb_run command rather than just
run which doesn't work with monitors.
* gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
* gdb.base/break.exp: use the gdb_continue_to_end proc.
* lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
program. Traps the case (in Cygmon) when the program never really
exits. Same as Mark's continue_to_exit, but I had put it in a lot
more places, so I used my name. Sorry Mark...
* config/monitor.exp (gdb_target_monitor): added another
target_info parameter: remotebinarydownload. This will set the
remotebinarydownload flag if this is causing some boards trouble.
1999-03-18 Mark Salter <msalter@cygnus.com>
* lib/gdb.exp (continue_to_exit): New function.
* gdb.base/ena-dis-br.exp: Clean up for remote targets.
* gdb.base/ending-run.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
(suggested by Art Haas <ahaas@neosoft.com>).
1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
descriptions of types (short unsigned int vs unsigned short, etc).
1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/call-strs.exp: Don't assume that `step' will step over
a call to strlen; sometimes we do have sources.
1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/call-ar-st.c (main): Terminate char_array with a null
character, so GDB won't print garbage after its end.
* gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
breakpoint there instead. Sometimes GCC emits memcpy to handle
the large structures being passed by value, so we step into that
instead of sum_array_print, which obscures what we're really testing.
* gdb.base/step-test.exp: However, we do want a test that notices
the bizarre steps into memcpy, so do that here. Add check for
stepping into function calls that pass large structures by value.
("Is that a noun clause, or are you just happy to see me?")
Remove all references to specific line numbers.
* gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
New type and function.
(main): Call large_struct_by_value, passing it a large struct by value.
* lib/gdb.exp (gdb_get_line_number): New function.
* gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
more portable.
1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
* lib/gdb.exp: Doc fixes.
1999-03-05 Nick Clifton <nickc@cygnus.com>
* gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/display.exp: Don't exercise the "detach" and "kill"
commands. They're not germane to this test, and they don't work
that way on remote targets.
1999-03-03 James Ingham <jingham@cygnus.com>
* browser.test: Fixed up to match the new function browser.
This is not done yet...
* srcwin.test: Check for errors when the bbox is called for a text
item that is not on screen (so bbox is ""). Return something more
useful.
1999-03-01 James Ingham <jingham@cygnus.com>
* Changelog entries merged over from gdb development branch.
1999-01-12 Martin Hunt <hunt@cygnus.com>
* gdb.gdbtk/srcwin.test: Add a bunch of tests for the source
window filename and function comboboxes. Add in stack tests.
1999-01-11 Martin Hunt <hunt@cygnus.com>
* gdb.gdbtk/srcwin.test: New file. Source Window tests.
* gdb.gdbtk/srcwin.exp: New file. Source Window tests.
Wed Jan 6 09:22:52 1999 Keith Seitz <keiths@cygnus.com>
* gdb.gdbtk/c_variable.test (c_variable-1.9): Add new
test to check for creation of a variable that is really a type.
(c_variable-7.81): Use "output" instead of "print" to get PC.
Include missing bits of test.
* gdb.gdbtk/cpp_variable.test (cpp_variable-1.6): Default format
is now "natural", not "hexadecimal"
(cpp_variable-2.22): Ditto.
(cpp_variable-2.24): Force format to hex before getting value.
* gdb.gdbtk/cpp_variable.exp: Supply missing arg to gdbtk_analyze_results.
Tue Jan 5 12:40:52 1999 Keith Seitz <keiths@cygnus.com>
* gdb.gdbtk/c_variable.c, c_variable.test, c_variable.exp: New C
language tests for variable object interface.
* gdb.gdbtk/cpp_variable.h, cpp_variable.cc, cpp_variable.test,
cpp_variable.exp: New C++ language tests for variable object
interface.
* gdb.gdbtk/Makefile.in (EXECUTABLES): Add c_variable and cpp_variable.
Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
* lib/gdb.exp (gdbtk_analyze_results): Generic function
for outputting results of test run.
* gdb.gdbtk/defs (gdbtk_test): Handle xpass and xfail.
(gdbtk_test_error): New proc which handles error aborts.
* gdb.gdbtk/console.exp: Use gdbtk_analyze_results.
Check if we have a valid DISPLAY before running.
* gdb.gdbtk/browser.exp: Ditto.
1998-12-07 Martin M. Hunt <hunt@cygnus.com>
* lib/gdb.exp (gdbtk_start): Fix path for itcl library.
* gdb.gdbtk/browser.test: Change "manage open" to ManagedWin::open.
* gdb.gdbtk/console.test: Same.
* gdb.gdbtk/*: Update from devo.
Fri Jul 24 14:57:19 1998 Keith Seitz <keiths@cygnus.com>
* gdb.gdbtk/Makefile.in: Add new example program "stack".
* gdb.gdbtk/browser.test,browser.exp: Add browser window
tests.
* gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
1999-02-25 Felix Lee <flee@cygnus.com>
* lib/gdb.exp (debug_format): initialize
1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/call-ar-st.c: Include string.h, not strings.h.
* gdb.base/call-rt-st.c: Ditto.
1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.threads/pthreads.exp (horiz): New variable.
(test_startup): Fix regexps that capture thread numbers.
1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/smoke.exp: Disambiguate two test case names (both
called ``print'').
Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
compilation.
1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/miscexprs.exp: Change patterns to match GDB's
actual output formatting.
* gdb.base/smoke.exp: GDB removes leading 0's.
* gdb.base/volatile.exp: Don't check type of remuneration;
that variable is no longer defined in constvars.c.
* gdb.base/step-test.c (main): Exit with explicit exit code.
* gdb.base/step-test.exp: Remove two nexti checks--they are
not portable.
1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
* gdb.base/help.exp ("help delete display"): Fix test to match
gdb's output.
* gdb.base/long_long.c (known_types): Initialize values to zero.
* gdb.base/long_long.exp: Step one more line
so 'dec' is initialized in "get to known place". GDB removes
leading zeros. Explicitly ask for hex formatting. Use
unique test case names.
Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
* gdb.c++/method.exp: Add missing close brace.
1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/maint.exp: Use 'set height 0' to disable page
prompting, not 'set height 400'.
Fix a bunch of timeouts.
* gdb.base/maint.exp ("maint print objfiles"): Break this up into
four separate tests, so expect doesn't take forever to match a ton
of text against a regexp with lots of .* forms.
("maint print psymbols", "maint print symbols"): Make some of
these greps more selective, so that expect doesn't try to wade
through huge piles of output and time out.
* gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
* gdb.base/maint.exp ("maint info breakpoints"): Split into two
tests: one which doesn't expect shlib events to be reported, and
another which does, but is XFAIL for all platforms other than
HP/UX.
* gdb.base/break.exp: Teach the test suite that the `catch
fork', `catch vfork', and `catch exec' commands produce error
messages on platforms that don't provide these features.
Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
(shortening names from solib_threshold.exp etc), won't run on
anything but HP-UX for the foreseeable future.
* gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
reflect move.
Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.trace/Makefile.in (clean): Remove all test executables.
Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
* gdb.base/shlib-call.exp: add test cases to verify that gdb
successfully re-sets breakpoints in shared libraries.
* gdb.base/shmain.c (main): return 0, don't fall off the end.
Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
and compiled w/o GCC.
* gdb.hp/watch-cmd.exp: ditto.
* gdb.hp/watch-hp.exp: ditto.
* gdb.hp/xdb1.exp: ditto.
* gdb.hp/xdb2.exp: ditto.
* gdb.hp/dbx.exp: ditto.
Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
* constvars.c: Remove C++-isms.
* constvars.exp: Use gdb_test everywhere, add xfails if compiled
with GCC.
Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
The following changes are part of the HP merge.
* gdb.base/break.exp: new tests to verify that catchpoints for
fork, vfork, and exec don't trigger inappropriately.
* gdb.base/opaque.exp: compile one file at a time, then link.
* gdb.base/signals.exp: be more restrictive about which hppa
systems receive a setup_xfail. new tests.
* gdb.base/solib_threshold.build: new file.
* gdb.base/solib_threshold.exp: new file.
* gdb.base/solib_threshold.link_opts: new file.
* gdb.base/solib_threshold.mk: new file.
* gdb.base/gen_solib_threshold.c: new file.
* gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
tests. New tests for enums inside classes.
* gdb.c++/compiler.cc: indicate support of template debugging.
* gdb.c++/demangle.exp: run hp style demangling tests.
* gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
tests.
* gdb.c++/misc.cc: changes to support new tests.
* gdb.c++/templates.cc: changes to support HP's compiler; changes
to support new tests.
* gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
gcc, then skip these tests.
Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
The following files are part of the HP merge; some had longer
names at HP, but have been renamed to be no more than 14
characters in length.
* gdb.hp/ambiguous.cc: new file.
* gdb.hp/ambiguous.exp: new file.
* gdb.hp/attach.exp: new file.
* gdb.hp/attach2.exp: new file.
* gdb.hp/classes-hp.exp: new file.
* gdb.hp/ctti.exp: new file.
* gdb.hp/ctti-add.cc: new file.
* gdb.hp/ctti-add1.cc: new file.
* gdb.hp/ctti-add2.cc: new file.
* gdb.hp/ctti-add3.cc: new file.
* gdb.hp/dbx.exp: new file.
* gdb.hp/exception.cc: new file.
* gdb.hp/exception.exp: new file.
* gdb.hp/foll-exec.c: new file.
* gdb.hp/foll-exec.exp: new file.
* gdb.hp/foll-fork.c: new file.
* gdb.hp/foll-fork.exp: new file.
* gdb.hp/foll-vfork.c: new file.
* gdb.hp/foll-vfork.exp: new file.
* gdb.hp/inherit-hp.exp: new file.
* gdb.hp/more-steps.exp: new file.
* gdb.hp/namespace.cc: new file.
* gdb.hp/namespace.exp: new file.
* gdb.hp/optimize.exp: new file.
* gdb.hp/pxdb.c: new file.
* gdb.hp/pxdb.exp: new file.
* gdb.hp/quicksort.exp: new file.
* gdb.hp/reg-test.exp: new file.
* gdb.hp/reg-test.s: new file.
* gdb.hp/sized-enum.c: new file.
* gdb.hp/sized-enum.exp: new file.
* gdb.hp/start-stop.exp: new file.
* gdb.hp/templ-hp.cc: new file.
* gdb.hp/templ-hp.exp: new file.
* gdb.hp/thr-lib.c: new file.
* gdb.hp/thr-lib.exp: new file.
* gdb.hp/thr-lib.h: new file.
* gdb.hp/thr-liblib.c: new file.
* gdb.hp/virtfun-hp.c: new file.
* gdb.hp/virtfun-hp.exp: new file.
* gdb.hp/watch-cmd.exp: new file.
* gdb.hp/watch-hp.exp: new file.
* gdb.hp/xdb1.exp: new file.
* gdb.hp/xdb2.exp: new file.
* gdb.hp/xdb3.exp: new file.
Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
The following files are part of the HP merge; some had longer
names at HP, but have been renamed to be no more than 14
characters in length.
* gdb.base/ss.h: new file.
* gdb.base/call-ar-st.c: new file.
* gdb.base/call-ar-st.exp: new file.
* gdb.base/call-rt-st.c: new file.
* gdb.base/call-rt-st-exp: new file.
* gdb.base/call-strs.exp: new file.
* gdb.base/ena-dis-br.exp: new file.
* gdb.base/environ.exp: new file.
* gdb.base/long_long.exp: new file.
* gdb.base/sect-cmd.exp: new file.
* gdb.base/shlib-cl2.exp: new file.
* gdb.base/smoke.exp: new file.
* gdb.base/so-impl-ld.c: new file.
* gdb.base/so-impl-ld.exp: new file.
* gdb.base/so-indr-cl.c: new file.
* gdb.base/so-indr-cl.exp: new file.
* gdb.base/varargs.exp: new file.
* gdb.base/volatile.exp: new file.
* gdb.base/whatis-exp.exp: new file.
* gdb.base/display.exp: new file.
* gdb.c++/derivation.exp: new file.
* gdb.c++/local.exp: new file.
* gdb.c++/member-ptr.exp: new file.
* gdb.c++/overload.exp: new file.
* gdb.c++/ovldbreak.exp: new file.
* gdb.c++/ref-types.exp: new file.
* gdb.c++/ref-types2.exp: new file.
* gdb.c++/userdef.exp: new file.
Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/default.exp: Reflect wording change in remote.c.
Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/help.exp: Update to reflect current text.
Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
* gdb.c++/anon-union.cc: make foo and bar global, otherwise
they're stack variables and contain garbage.
* gdb.c++/anon-union.exp: new file.
The following changes were made by David Taylor
<taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
Edith Epstein <eepstein@cygnus.com> as part of a project to merge
in changes by HP.
* gdb.base/bitops.exp: new file.
* gdb.base/default.exp: change expected messages for catch and
info catch tests to reflect HP merge changes.
* gdb.base/enable-disable-break.exp
* gdb.base/ending-run.c: new file.
* gdb.base/long_long.c: new file.
* gdb.base/maint.exp: new file.
* gdb.base/pointers2.exp: new file.
* gdb.base/shlib-call2.exp: new file.
* gdb.base/solib.exp: new file.
* gdb.base/step-test.c: new file.
* gdb.c++/anon-union.cc: new file.
* gdb.c++/local.cc: new file.
* gdb.c++/member-pointer.cc: new file.
* gdb.c++/method.cc: new file.
* gdb.c++/ref-types.cc: new file.
* gdb.c++/ref-types2.cc: new file.
* gdb.c++/userdef.cc: new file.
* gdb.base/scope.exp: compile one file at a time, then link.
* gdb.base/langs.exp: ditto.
* gdb.base/list.exp: ditto.
Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
The following changes were made by David Taylor
<taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
Edith Epstein <eepstein@cygnus.com> as part of a project to merge
in changes by HP.
* gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
skip tests. When compiling pass c++ flag to gdb_compile.
* gdb.c++/
* lib/gdb.exp (get_compiler_info): new, optional argument -- args;
test for on hppa*-*-hpux*; use args to see if c++ was specified.
(skip_hp_tests): new function.
(gdb_preprocess): new function.
* configure.in (hpdir): decide whether to configure gdb.hp.
* configure: regenerated.
* gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
to delete on clean.
(EXECUTABLES): update to reflect new additions.
* gdb.base/commands.exp: update message expected.
* gdb.base/default.exp: add copyright notice.
* gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
* gdb.base/help.exp: update messages to reflect current text.
* gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
targets for recurse tests.
* gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
skip this file.
* gdb.c++/Makefile.in (PROGS): update to reflect new executables.
* gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
compilation.
* gdb.c++/misc.exp: ditto.
* gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
run the tests. tell gdb_compile that it's a c++ compilation.
* gdb.threads/pthreads.exp: fix typo in message.
* gdb.base/all-bin.exp: new file.
* gdb.base/arithmet.exp: new file.
* gdb.base/assign.exp: new file.
* gdb.base/completion.exp: new file.
* gdb.base/cond-expr.exp: new file.
* gdb.base/condbreak.exp: new file.
* gdb.base/define.exp: new file.
* gdb.base/dollar.exp: new file.
* gdb.base/environment.exp: new file.
* gdb.base/eval-skip.exp: new file.
* gdb.base/jump.exp: new file.
* gdb.base/logical.exp: new file.
* gdb.base/pointers.exp: new file.
* gdb.base/relational.exp: new file.
* gdb.base/section_command.exp: new file.
* gdb.base/whatis-expr.exp: new file.
* gdb.base/all-types.c: new file.
* gdb.base/call-array-struct.c: new file.
* gdb.base/call-return-struct.c: new file.
* gdb.base/call-strings.c: new file.
* gdb.base/callfuncs2.c: new file.
* gdb.base/condbreak.c: new file.
* gdb.base/constvars.c: new file.
* gdb.base/display.c: new file.
* gdb.base/int-type.c: new file.
* gdb.base/jump.c: new file.
* gdb.base/miscexprs.c: new file.
* gdb.base/pointers.c: new file.
* gdb.base/pointers2.c: new file.
* gdb.base/shmain.c: new file.
* gdb.base/shr1.c: new file.
* gdb.base/shr2.c: new file.
* gdb.base/solib.c: new file.
* gdb.base/solib1.c: new file.
* gdb.base/solib2.c: new file.
* gdb.base/varargs.c: new file.
* gdb.c++/derivation.cc: new file.
* gdb.c++/overload.cc: new file.
* gdb.c++/ovldbreak.cc: new file.
* gdb.hp/attach.c: new file.
* gdb.hp/attach2.c: new file.
* gdb.hp/average.c: new file.
* gdb.hp/compiler.c: new file.
* gdb.hp/compiler.cc: new file.
* gdb.hp/execd-program.c: new file.
* gdb.hp/follow-exec.c: new file.
* gdb.hp/follow-fork.c: new file.
* gdb.hp/follow-vfork-and-exec.c: new file.
* gdb.hp/misc-hp.cc: new file.
* gdb.hp/more-steps.c: new file.
* gdb.hp/optimize.c: new file.
* gdb.hp/quicksort.c: new file.
* gdb.hp/run-hp.c: new file.
* gdb.hp/start-stop.c: new file.
* gdb.hp/sum.c: new file.
* gdb.hp/templates-hp.cc: new file.
* gdb.hp/thread-local-in-lib.c: new file.
* gdb.hp/thread-local-in-lib.h: new file.
* gdb.hp/thread-local-in-lib.lib.c: new file.
* gdb.hp/vforked-program.c: new file.
* gdb.hp/virtfunc-hp.cc: new file.
* gdb.hp/watchpoint-hp.c: new file.
* gdb.hp/xdb.c: new file.
* gdb.hp/xdb0.c: new file.
* gdb.hp/xdb0.h: new file.
* gdb.hp/xdb1.c: new file.
Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
The following change was made by Edith Epstein
<eepstein@cygnus.com> as part of a project to merge in changes
originally made by HP; HP did not create ChangeLog entries.
* gdb.c++/demangle.exp: changed the expected output for some
ARM-style mangling -- removed second reference to datatype.
For example, maint demangle __dt__11T1__pt__2_cFv
T1<char>::~T1<char>(void)
becomes,
maint demangle __dt__11T1__pt__2_cFv
T1<char>::~T1(void)
(test_hp_style_demangling): new hp specific demangling test cases.
Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
* gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
* gdb.trace/backtrace.exp: Likewise.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/deltrace.exp: Likewise.
* gdb.trace/infotrace.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/packetlen.exp: Likewise.
* gdb.trace/passc-dyn.exp: Likewise.
* gdb.trace/passcount.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/save-trace.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/tracecmd.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
* gdb.trace/while-stepping.exp: Likewise.
1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
* gdb.base/restore.exp, gdb.base/restore.c: New tests.
Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
From Brendan Kehoe:
* gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
int return types.
Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
* config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
remote dos host testing right.
Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
* gdb.base/corefile.exp: remove some xfails.
Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/reread.exp: Sleep 1 - ensures that the two executables
have different timestamps.
Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
* lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
gdb.base/default.exp: Replace "exec" with "executable".
Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/default.exp: Change else if to elseif from previous
delta.
Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
* gdb.base/default.exp: Add brace missing from previous delta.
Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
* gdb.base/default.exp: Support test for info float for all
varieties of arm toolchain.
Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.trace/*.exp: remove "remote_download" command.
Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.trace/*.exp: remove -gdwarf from compile.
Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
* gdb.trace/configure.in(AC_INIT): typo
* gdb.trace/configure: regenerated
Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/m68k-emc.exp: New file.
* lib/<emc-support.exp trace-support.exp}: New files.
* configure.in: add new test directory gdb.trace.
* gdb.trace/{configure configure.in Makefile.in}: New files.
* gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
* gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
* gdb.trace/{collection.c collection.exp tfind.exp }: New files.
* gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
* gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
* gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
* gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.c++/classes.exp: Change all regular expressions to match
arbitrary combinations of newline/carriage-return, so that they
will work equally well on Unix and Windows.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/virtfunc.exp: ditto.
1998-08-11 Dawn Perchik <dawn@cygnus.com>
* gdb.base/setshow.exp: Fix error introduced by call to runto_main.
Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/am33.s: Add tests for autoincrement instructions.
* gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
to use a0-a3/d0-d3 as needed.
Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
* gdb.disasm/am33.exp: Corresponding changes.
1998-07-11 Felix Lee <flee@cygnus.com>
* gdb.base/callfuncs.exp: add cmp10 test.
* gdb.base/callfuncs.c (cmp10): new function.
Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
* gdb.base/commands.exp: Break up infrun_breakpoint_command_test
into two parts to get around a synchronization problem in expect.
Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
* gdb.gdbtk/simple.c (main): Make main return an
int so compiler will stop complaining.
Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
* lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
* configure.in: Add options for gdbtk testsuite.
* configure: Regenerate.
* gdb.gdbtk: New directory to hold gdbtk tests.
* gdb.gdbtk/console.{exp, test}: New console window tests.
Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* gdb.fortran/types.exp: Escape brackets in expect patterns
for test_float_literal_types_accepted tests.
* gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
before run test.
Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
* am33.exp: Just compile, do not link the testcase.
* am33.s: Add ".am33" pseudoop to force am33 mode.
1998-06-25 Felix Lee <flee@cygnus.com>
* gdb.base/setshow.exp: make sure $pc is sane.
* gdb.stabs/weird.exp: split expect patterns properly.
Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/am33.s: New disassembler testfile for the am33.
* gdb.disasm/am33.exp: Run it.
Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/funcargs.exp: simplify expect strings to ease pattern
match processing (and eliminate spurious timeouts when running).
Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/signals.exp (test_handle_all_print): put back Mach
exception test, but conditionalize it on target [mach | gnu].
Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/overlays.exp: fixup compile line for linker script.
Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
* gdb.fortran/types.exp: don't guess at float size.
Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
* gdb.base/exprs.exp: delete test that depends on int size.
Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
* config/sim.exp: Removed checks for target triplets.
(gdb_target_sim): Use gdb,target_sim_options.
Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
* gdb.base/reread.exp: New file.
* gdb.base/reread1.c: New file.
* gdb.base/reread2.c: New file.
Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
* config/sim.exp: Use 'target sim -sparclite' when running
SPARClite programs.
Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
* gdb.base/structs2.exp: New file.
* gdb.base/structs2.c: New file.
Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
* gdb.asm/common.inc: New file.
* gdb.asm/d10v.inc: New file.
* asm-source.exp: Pass -I's to gas to find .inc files.
Update line numbers in expected output.
* asmsrc1.s: Rewrite.
* asmsrc2.s: Rewrite.
* configure.in: Create arch.inc symlink.
* configure: Regenerate.
* Makefile.in (distclean): Delete arch.inc.
Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
* callfuncs.c (t_enum_value1) : Cleanup return value warnings
(t_enum_value2): ditto
(t_enum_value3): ditto
(main): ditto
Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* gdb.base/break.exp: Remove xfail for `deleting all breakpoints
when none' unexpected prompt case, fixed by breakpoint.c:delete_command
change.
Use gdb_test instead of send_gdb/gdb_expect sequences.
Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
* gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
not void.
Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
* gdb.base/branches.c: Code with lots of loops and
subroutines. Used to test gdbs ability to single step through PC
changes, especially to test mips-tdep.c:mips_next_pc
Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
* gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
more rigorous EGCS C++ error checking.
Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/help.exp: Clean up `help set args' and `help show args'
tests.
* gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
function when asleep.
* gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
for i*86 Linux and SVR4 signal handling problems.
Remove linux xfail for `next to handler in signals_tests_1', fixed
by recent infrun.c change.
Limit backtrace to 10 frames to avoid timeout problems with infinite
stack backtraces.
Adjust expect pattern in `handle all print' test to match Apr 28 1997
target.[ch] change.
Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
for a newline from gdb before continuing.
(default_gdb_exit): Just look for y or n.
(gdb_test): Detect abnormal exit from GDB running on DOS; if
it does, fail the rests of the tests in the file.
Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
* config/cygmon.exp: New file.
Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/list.exp: Fix problem with "list default lines around
main" test on remote targets.
* gdb.base/scope.exp: Fix problem with filelocal_bss before
run test on remote targets.
Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
* gdb.asm: New directory.
* configure.in: Configure it.
* configure: Regenerate.
* gdb.asm/{Makefile.in,configure.in,configure}: New files.
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
* config/mn10300-eval.exp: New file to support MN10300 eval board.
Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* gdb.base/overlays (several files): Merge the two overlay
managers into one. Change variables (foox, barx, bazx, grbxx)
back into ints but force them to load in their proper sections.
Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
on-chip insn memory and IMAP1 to upper 128k.
(D10VCopy): Handle memory regions crossing 16k boundaries.
(D10VCopy): Transfer data in 32 bit chunks.
Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/overlays.c (main): Exit normally when result is
correct.
* gdb.base/d10v.ld: Update LMAs to reflect current d10v address
map. Include space for printf in .text segment.
* gdb.base/d10vovly.c (D10VTranslate): New function, handle
updated d10v memory VMA/LMA map.
(D10VCopy): Call D10VTranslate.
Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/m32rovly.c: Force variable _novlys into .data section.
* gdb.base/bar.c (barx, bar): Change variable to small array so
that it won't be put into the .sdata - small data -
section. Update reference.
* gdb.base/baz.c (bazx, baz): Ditto.
* gdb.base/foo.c (foox, foo): Ditto.
* gdb.base/grbx.c (grbxx, grbx): Ditto.
* gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
to be arrays.
Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
* gdb.base/overlays.exp: fix up and get working again.
Add tests for backtraces from an overlay function.
Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
* gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
* gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
* lib/gdb.exp (gdb_suppress_tests): Disable this function
pending review of whether it is useful or not.
Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
* gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
* gdb.base/break.exp: Increase timeout for slow TX39 boards.
* config/dve.exp: New file to support Densan boards.
Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/interrupt.exp: Document problem of simulators, signals,
reads and BSD.
Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
* config/monitor.exp: Be a bit less picky about the "Remote debugging"
response.
* gdb.c++/misc.exp: Call runto_main instead of doint it manually.
Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
test.
* gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
target_sizeof_long and target_bigendian_p.
(structs_by_value, structs_by_reference): Check values according
to targets word size and endianess.
Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/langs.exp: For "continue to exit" ignore any trailing
output.
Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
Update test of set args help to match source change.
Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
* gdb.base/default.exp: Expect help system output to be in
alphabetical order.
* gdb.base/help.exp: Ditto.
Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
"i*86-pc-linux-gnu*".
* gdb.base/interrupt.exp: Ditto.
* gdb.base/corefile.exp: Ditto.
* lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
define vxworks when building the testcase.
* gdb.base/ptype.exp: Fix testnames to be unique.
* gdb.base/radix.exp: Ditto.
* gdb.base/term.exp: Ditto.
* gdb.base/whatis.exp: Ditto.
* gdb.c++/classes.exp: Ditto.
Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/callfuncs.exp: Fix indentation.
* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
suppress_flag has been set.
(gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
target feature.
Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
the testcase.
* gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
set_debug_traps() and breakpoint().
* gdb.c++/misc.cc (main): Ditto.
* gdb.c++/templates.cc (main): Ditto.
* gdb.c++/virtfunc.cc (main): Ditto.
Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
exists, reload the executable and do a "continue" instead of
doing a jump.
(runto_main): Use gdb_step_for_stub.
* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
tests to have unique names.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
similar tests.
* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
* gdb.c++/cplusfuncs.cc: Ditto.
* gdb.c++/virtfunc.cc: Ditto.
* config/monitor.exp: Keep track of the last file we saw, rather
than trying to get the info from gdb.
* gdb.fortran/types.exp: Move comment to previous line.
Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
* config/sparclet.exp: Detect gratuitous change to sparclet gdb
target mode.
Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
From Bob Manson:
* config/monitor.exp (gdb_target_monitor): Look for "Connected to"
string from GDB when it connects.
* lib/gdb.exp: Look for $TOOL_EXECUTABLE.
Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
if we can't get a debug format from GDB (we may be testing an
older GDB). Use a 10 second timeout when checking for the format.
* gdb.stabs/weird.exp: Fix quoting.
* config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
* config/arm-ice.exp: New file.
Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
until it has been modified to work with the new testsuite.
* gdb.*/*.exp: Instead of causing 1 unresolved test when the
testcase won't compile, cause all of the testcases in the file to
fail instead.
* lib/gdb.exp(gdb_suppress_entire_file): New procedure.
(gdb_clear_suppressed): New procedure.
(gdb_stop_suppressing_tests): Only clear suppress_flag if
it contains a positive value.
Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
* gdb.c++/virtfunc.exp: Remove setting of libs variable.
Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
* lib/gdb.exp (setup_xfail_format): New function.
(get_debug_format): New function to get debug format.
(debug_format): New global variable to hold last value set
by get_debug_format.
* gdb.base/list.exp: Call get_debug_format and expect some
tests to fail for DWARF 1 and COFF formats.
* gdb.c++/ptype.exp: Ditto.
* gdb.c++/classes.exp: Ditto.
* gdb.c++/cplusfuncs.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
* gdb.c++/templates.exp: Ditto.
* gdb.c++/virtfunc.exp: Ditto.
Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
host doesn't have a currently-open connection.
* config/sparclet.exp: Cleanups and fixes to make it generic for
any gdb stub target. Handle cases where gdb doesn't respond when
interrupted in a sane fashion.
* config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
same thing in a totally different way.
* config/monitor.exp: Pass in timeouts to gdb_expect instead of
setting "timeout".
(gdb_start): We set the global gdb_prompt variable in
default_gdb_init now.
Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
* gdb.base/printcmds.exp: Fix "check for floating addition"
regexp to accept results within approx +/- .01 of exact value.
* lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
properly.
(gdb_expect): Add optional timeout parameter, and add timeout
value to various calls.
(gdb_suppress_tests): Only give one warning message per group.
Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
global variables. Handle getting a value for $timeout more
gracefully.
Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp: Close connection to remote host if gdb doesn't
initialize.
(default_gdb_init): New procedure; allow gdb_init to be overridden
by a target configuration file.
(gdb_expect): Pass the timeout to remote_expect.
* config/monitor.exp(gdb_load): Fix typo in regexp.
Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/funcargs.exp: Remove spurious suppress tests call.
Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
* config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
here. Call gdb_target_exec before rebooting the target, to make
sure the connection to the target is closed.
(gdb_load): Pass the name of the executable to gdb_target_monitor.
Don't call gdb_file_cmd here; let gdb_target_monitor do it.
Also detect "Timeout reading from remote" error.
* config/gdbserver.exp: Pass the executable being loaded to
gdb_target_monitor. Don't call gdb_file_cmd here; let
gdb_target_monitor do it.
* gdb.disasm/hppa.exp: Don't use exec_output.
Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/list.exp: If we're debugging a non-native target,
try to set the pc register to point to the start of the
program before doing the first list command.
* gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
test_calls after restarting.
* lib/gdb.exp(gdb_run_cmd): Send jump command again after
reloading.
* gdb.base/watchpoint.exp: Fix typo.
* gdb.base/setshow.exp: Check for use_gdb_stub.
* gdb.base/break.exp: Fix continue until exit test for the gdb
stub case.
* gdb.base/langs.exp: Ditto.
* config/monitor.exp(gdb_load): Handle gdb_sect_offset and
gdb_load_offset. If we weren't given a file to load, figure out
what the current file is and use it.
* config/i386-bozo.exp: New file.
Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_expect): Look for gdb,timeout target
feature.
* config/proelf.exp: New entry.
Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp: Remove spurious .* patterns at the beginning
of regexps.
* gdb.base/watchpoint.exp: Don't run the test_stepping
tests if gdb can't call functions on the target.
* gdb.base/setshow.exp: Don't run the set prompt tests if
the board has gdb_prompt set.
Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
* gdb.base/commands.exp: Likewise.
* gdb.base/setshow.exp: Likewise.
Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
* config/monitor.exp(gdb_start): Look for gdb_prompt target
feature.
* config/i960.exp: New file.
Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/funcargs.exp: Check for gdb,short_int target
feature instead of looking for explicit target triplets.
Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/printcmds.exp: add a couple more tests a la
"p 123DEADBEEF", to check parse_number.
* top.c: change "to enable to enable" to "to enable" in a couple
of help strings.
Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/callfuncs.exp: Mark some tests as expected to fail
on the mn10300.
Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
* gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
where the test executable is run with explicit args.
* gdb.base/default.exp: Handle arm-*-coff case for "info float".
Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
* gdb.base/run.c: Use FAKEARGV to build test executable that
does not require a command line arg, since most simulators
don't currently support passing such an arg into the simulated
program.
* gdb.base/commands.exp: Change tests to insert the proper
value as the arg to the first recursive factorial call. Change
compilation line to define FAKEARGV at compile time.
Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/recurse.exp: Enable these tests for the mn10300.
* gdb.base/watchpoint.exp: Don't expect a failure for an "calling
function with watchpoint enabled" test.
Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
Don't call gdb_test when the command doesn't return to a gdb prompt.
* lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
"Tests restarted" messages.
Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/help.exp: update help msg for INFO ADDR; add help test
for INFO SYMBOL; add help tests for OVERLAY commands.
* gdb.base/default.exp: add tests for INFO SYMBOL command;
add tests for OVERLAY commands
* gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
* gdb.base/sigall.c: add usestubs code frag
* gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
failures.
(gdb_stop_suppressing_tests): Note that tests have restarted.
Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
* config/h8300.exp: New file.
Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/setshow.exp: Check for the existence of a
feature, not its value.
Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
* gdb.base/scope.exp: It's now init0(), not init().
* gdb.base/scope0.c: For now, change init() to be init0().
* config/monitor.exp: Use gdb_serial in preference to serial
or netport.
* lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
and it's not already set.
Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/setshow.exp: Only test the run command if the target
isn't using a stub and if it supports argument passing.
Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
* config/udi.exp(gdb_start): Make sure UDICONF is set
properly before starting gdb.
Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
* gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
* config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
specialized code to reboot the board, use remote_reboot instead.
* config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
* lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
* config/monitor.exp: Make sure we disconnect from the target.
Also, try a reboot/reload cycle instead of failing if the
load fails.
Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/default.exp: Don't set match_max.
* gdb.base/help.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* config/monitor.exp(gdb_load): If gdb,use_standard_load is
set, use remote_ld to download the testcase instead of
the GDB loader.
Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
* config/vr5000.exp: New file.
* config/monitor.exp(gdb_target_monitor): Add pattern for
"Ending remote" to detect errors in connecting.
* gdb.base/setshow.exp: Add .* within auto language test.
* lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
target feature.
* config/monitor.exp(gdb_load): Check for a failure when loading,
and reboot the board if necessary.
* gdb.base/setvar.exp(test_set): Handle multiple prints within
a set of tests. Remove print.* from the patterns being checked.
Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
refer to gdb_spawn_id.
* config/m32r-stub.exp: Remove references to gdb_spawn_id, no
longer used.
* config/sparclet.exp: Ditto.
* config/sparclet-old.exp: Ditto.
* config/slite.exp: Ditto.
* config/sim.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* lib/gdb.exp:Remove references to gdb_spawn_id.
(gdb_expect): Move to remote.exp.
Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
* config/monitor.exp: Detect the "Couldn't establish connection"
message from GDB.
Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/bitfields.exp: Use runto instead of explicit
gdb_run_cmd/gdb_expect sequences.
* gdb.base/break.exp(text_next_with_recursion): Add match for
gdb_expect call.
* config/monitor.exp(gdb_target_monitor): Calling exit loses big.
We also need to handle the "A program is being debugged already"
prompt from gdb. Use gdb_test to set the baud rate.
* lib/gdb.exp(gdb_init): Increase the default expect buffer size
to 20000. Really. I mean it.
Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
fails. If suppress_flag is set, skip perror message about not
being able to send to GDB.
(send_gdb): If suppress_flag is set, don't try to send commands to
GDB.
(gdb_expect): If suppress_flag is set, always fail immediately.
(gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
(gdb_init): Call gdb_stop_suppressing_tests.
(default_gdb_exit): Ditto.
(default_gdb_start): Ditto.
* gdb.base/bitfields.exp: Call gdb_suppress_tests and
gdb_stop_suppressing_tests as appropriate.
* gdb.base/break.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/structs.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
* config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect.
* lib/gdb.exp(gdb_expect): New function.
Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_init): New function.
* gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
for each individual variable set.
* gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
name.
* gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
* gdb.base/scope.exp: Use gdb_test.
* gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
aborting; the testsuite driver will do that for us (see
gdb_finish). Also, use gdb_test in a few more places.
Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/help.exp: Fix syntax of "help info all-registers" test.
Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
and "add_tests" are not at the same address.
Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/ptype.exp: Use gdb_test.
Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
* gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
left in. No longer expect them to fail.
* gdb.stabs/*.mt; Deleted, no longer used.
* gdb.stabs/configure.in: Remove references to target makefile
frags.
* gdb.stabs/configure: Rebuilt.
* gdb.disasm/*.mt: Deleted, no longer used.
* gdb.disasm/configure.in: Remove references to target makefile
frags. Use "sh3.s" as the unique filename for this directory.
* gdb.disasm/configure: Rebuilt.
* gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
* gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
* gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
* config/udi.exp: Use mondfe,name instead of remote_host.
Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/watchpoint.exp: Don't expect a failure when calling
a function with a watchpoint enabled on the mn10200.
* gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
before trying to create it!
Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
* config/vx.exp: Use hostname instead of netport.
* config/vxworks.exp: New file.
* gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
* config/monitor.exp(gdb_target_monitor): Look for a prompt from
gdb before assuming everything worked. Send a ^C if a timeout
occurs.
* lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
$gdb_spawn_id directly.
(gdb_run_cmd): Try _start as well as start. Use the target feature
gdb,start_symbol as the symbol to start from when jumping.
Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/exprs.exp: Delete bogus/incorrect (and probably
redundant) test.
* gdb.base/recurse.exp: Relax final value test for 'b' so that
it doesn't lose for 16bit integer systems.
Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
* gdb.fortran/types.exp: If the target doesn't support "double"
data types, then expect "real" types to only be 4 bytes.
* gdb.c++/virtfunc.exp: Expect failure for virtual function
call tests if the target doesn't support inferior function calls.
* gdb.base/printcmds.exp: Allow minor deviation in FP values
in printf tests.
Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
* gdb.base/help.exp: Disable "help set", "help show", and
"help support". Simplify regexp for "help stack".
* gdb.base/default.exp: Set match_max to 5000 and the timeout
to 60 seconds. Temporarily set match_max to 15000 around the
"info copying" test.
* gdb.base/nodebug.exp: Don't try to do an inferior function
call if the target doesn't support them.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/structs.exp: Likewise.
* gdb.c++/templates.exp: Likewise.
* gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
* gdb.base/recurse.exp: Enable for the mn10200.
* configure.in: Do configure gdb.stabs directory for *-*-elf
targets.
* configure: Rebuilt.
* gdb.base/break.exp: Check for gdb,noresults before testing
exit status and/or results from the target.
* gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
* lib/gdb.exp: Remove old (now bogus) initialization of
noinferior, noargs, noresults and nosignals.
Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
* config/sh.exp: New file.
* config/slite.exp: Try to connect multiple times to the board
before rebooting. Only send a "monitor run" if need_monitor_run
is set.
* gdb.base/break.exp: Don't do the "stub continue" test if
the target has gdb_stub set.
* gdb.base/callfuncs.exp: Increase the timeout.
* gdb.base/interrupt.exp: Don't even try to compile the testcase
if the target has gdb,noinferiorio set.
* gdb.base/list.exp: Increase match_max to 10000 characters.
* gdb.base/sigall.exp: Check for gdb,nosignals on the target.
* gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
target.
* lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
trying to delete the copy of gdb. Catch the file delete so we
don't die if the delete fails; also, the file should be copied to
the host, not to the build.
Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gdb.exp(gdb_test): Surround the result pattern with
parenthesis in case it contains multiple regexps separated
with |.
* gdb.base/watchpoint.exp: Use gdb_test.
* gdb.base/default.exp: Ditto.
Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.*/*.exp: Replace $prompt with $gdb_prompt.
* gdb.base/scope.exp: Use gdb_test.
* gdb.c++/classes.exp: Ditto.
* gdb.c++/inherit.exp: Ditto.
Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
* gdb.base/crossload.exp: Don't use execute_anywhere, use
remote_exec instead.
* gdb.base/corefile.exp: Don't be ridiculous.
* gdb.base/*.c: Add missing stub invocations.
Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
* config/slite.exp: Miscellaneous fixes.
* lib/gdb.exp: Fix runto.
* gdb.base/signals.exp: Check for a gdb,nosignals feature of
the target.
* gdb.base/watchpoint.exp: Fix regexp.
* lib/gdb.exp(default_gdb_exit): Add a catch to the
close and wait commands, as the descriptor may now be
invalid. Always call "remote_close host".
Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
Major rewrite for testsuite revision.
* lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
instead of relying on spawn_id to always contain a valid
spawn id.
(get_compiler_info): New procedure to build the ${binfile}.ci
file, instead of replicating this in N different places.
(gdb_compile): New procedure.
gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
appropriate arguments) instead of compile. Use gdb_test in a lot
more places. Use send_gdb instead of send. Always run gdb_start
at the start of a testcase, as this is no longer done magically.
config/*-gdb.exp: Rename without the -gdb suffix.
config/mips.exp: Use remote_close instead of exit_remote_shell.
config/monitor.exp: Use target_info instead of looking at
baud, timeout, etc.
config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.c++/templates.exp (test_ptype_of_templates),
gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
Update expect patterns for destructors and assignment operators
to match corresponding c-typeprint.c changes.
* gdb.c++/templates.exp (test_template_breakpoints): Revert change
to destructor breakpoint test, GDB should be able to set the
destructor breakpoint without specifying arguments.
Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
* gdb.threads/pthreads.exp: Change result for failure to compile due
to lack of pthreads runtime support from an error to simply an
unsupported test, per dejagnu standards.
Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* lib/gdb.exp (gdb_test): Simplify expect pattern for the case
where GDB exits to reduce pattern match time.
(skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
* gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/callfuncs.exp: Turn on function call tests for h8300.
* gdb.base/default.exp: ditto.
* gdb.base/nodebug.exp: ditto.
* gdb.base/printcmds.exp: ditto.
* gdb.base/ptype.exp: ditto.
* gdb.base/setvar.exp: ditto.
* gdb.base/structs.exp: ditto.
* gdb.base/setshow.c: Guard against uninitialized values of argc.
Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
* configure, */configure: Rebuild with autoconf 2.12.
Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
use new i*86-pc-linux*-gnu quads.
* gdb.base/corefile.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/sigall.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
"i*86-*-linux" for "signal SIGUSR1". Now works, at least with
RedHat 4.0.
* gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
linux. This allows the test case to at least compile on latest
linux, but still not run due to missing the threads runtime library.
Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
directory to search gdb directory. Accept and step over conditional
stack alignment code. Consume $prompt in failure cases.
Reset timeout to $oldtimeout instead of some arbitrary value.
* gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
timeout problems with infinite stack backtraces.
* gdb.base/ptype.exp (ptype struct link, union tu_link):
Accept function parameters for linkfunc member.
Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
* lib/gdb.exp (CFLAGS): Remove, unreferenced.
(CXXFLAGS): Remove, unreferenced.
(B_OPTIONS): Add for -B options and add code to initialize with
previous -B options and also add -B option to pick up cross compiled
runtime.
(TARGET_INCLUDES): Add for -I options and add code to initialize when
doing cross compiles.
(target_alias): Declare global.
(xgcc): Set variable to full path of gcc in build tree. Use findfile
to verify that gcc exists in build tree, and if so set CC to that
gcc and to use B_OPTIONS and TARGET_INCLUDES.
Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/inherit.exp (test_print_anon_union): Reenable
ptype test for anonymous union. Fixup testcase to match
current gcc debug output.
Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/funcargs.c: Use cast rather than "UL" suffix to
force argument to an unsigned long type.
Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
tests and anonymous union print/ptype tests.
* gdb.base/list.exp (test_forward-search): Increase timeout by
5 minutes for the "search extremely long line" case.
* lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
completely optional and that the pass/fail messages use the command as
the message if that third arg is a null string.
(gdb_test_exact): Arrange that a null string pattern means match a
null string output rather than any output, which might include random
errors.
* gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
backtrace test.
* gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
always failing and failure is now exposed by gdb.exp changes.
Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
weren't being noted.
Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
* gdb.stabs/weird.exp: Remove v_comb xfails.
Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
list.exp scope.exp watchpoint.exp]
Make all timeout error msgs explicitly say "(timeout)".
Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/monitor.exp: Increase download timeout to 1000 seconds.
Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/m32r.exp: Increase timeout to 120 seconds.
Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
and accept older ordering as obsolescent gcc or gdb.
* gdb.c++/templates.exp: Ditto.
* gdb.c++/virtfunc.exp: Ditto.
Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/coremaker.c: Add code to mmap some data so we
can check that it ends up in the core file.
* gdb.base/corefile.exp: Add test to read mmapped data
from core file.
Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* config/m32r.exp: New file.
Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
* testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
that cflags can contains -gstabs, and work correctly for other tests.
Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.base/setshow.exp: New file, tests show and set.
* gdb.base/setshow.c: New file, tests show and set.
* gdb.base/help.exp: Add test for help set|show annotate.
* gdb.base/default.exp: Add test for set|show annotate.
Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
* testsuite/gdb.base/break.exp: Make backtrace from factorial
errors unique.
* testsuite/gdb.base/nodebug.exp: Whack out all -g options
explicitly.
Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
* config/sim-gdb.exp (gdb_target_sim): Remove setting of height
and width commands. This is done elsewhere.
* (gdb_start): Don't call gdb_start_sim here. That's already
done in gdb_load. This fixes lots of failures in default.exp.
Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
* gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
* lib/gdb.exp (gdb_test): Treat failures due to program exiting
in the same we we treat other failures (since it may be an expected
condition), rather than as an error.
* gdb.base/signals.exp (test_handle_all_print): Revert back to
old test format.
Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
* Makefile.in (clean mostlyclean): Also remove chill *.grt files.
(distclean maintainer-clean realclean): No need to remove files
twice. Nuke the duplicates.
* gdb.base/Makefile.in (EXECUTABLES): Add "structs".
* gdb.threads/Makefile.in (distclean maintainer-clean realclean):
Remove config.h along with other config files.
Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
"p func1 ()" and note that rests of tests are skipped.
* gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print func2::coremaker_local".
Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
* gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
affected by the previous run test.
* gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
"print array () ubyte (foo)" and "print/x array () byte (\$i)"
* gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
"pass int powerset tuple" and "pass modeless int powerset tuple".
* gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
"real write 4" and "real write 8".
* gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
setup_xfails for "print vs1 after tuple assign 2",
"print \$i after tuple assign 2", and
"print vs2 after tuple assign 2".
* lib/gdb.exp (gdb_test): When a gdb aborts, print a more
meaningful error message and return -1 so the caller can
suppress further tests and avoid a cascade of errors.
Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/a1-selftest.exp: Tweak tests to account for new
format for printing version.
* gdb.base/default.exp: Ditto.
* gdb.base/interrupt.exp: Fix problem with cascade of
errors if child process dies while calling a function.
Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
* Makefile.in (VPATH): Add
* Makefile.in (Makefile, config.status): Fix rules so things get
remade when necessary.
Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
* Makefile.in (just-check): Add path to sibling expect dir
to environment variable specified by RPATH_ENVVAR.
Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
* Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
(just-check): Add shared library paths for libstdc++, tk,
tcl, bfd, and opcodes to the environment variable specified
in RPATH_ENVVAR.
* configure.in: Add support to recognize --enable-shared flag
and generate correct value for RPATH_ENVVAR.
* configure: Regenerated with autoconf.
Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
include all osf versions.
* gdb.threads/pthreads.exp: Expand "run to main" xfail to include
all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
when target is linux. When failing to build pthreads test
executable, give more meaningful message.
* gdb.threads/pthreads.c: Hpux also uses old definition of second
arg for pthread_create.
Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
* gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
* gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
and -lpthreads (everybody else).
(test_startup): Fail gracefully if threads are not supported.
* gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
"p/c array_index("abcdef",2)" when not gcc compiled.
* gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
"print func2::coremaker_local" when not gcc compiled.
* gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
"ptype on opaque struct tagname (statically)",
"ptype on opaque struct tagname (dynamically) 1", and
"ptype on opaque struct tagname (dynamically) 2"
for not compiled with gcc.
* gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
backtrace when compiled with gcc.
* lib/gdb.exp (runto_main): Return result of "runto main" rather
than always return success.
Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/structs.exp: Undo last change.
Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
encapsulate all the steps/nexts done during self test, starting
at main, and makes them less sensitive to optimization issues.
Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
signal handler" test.
* gdb.threads/pthreads.exp: Only run this for native configs.
* gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
tests.
gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
for "runto test_calls(void)" test.
Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
and don't expect address info in breakpoint confirmations.
Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/list.exp (test_forward_search): Increase timeout
temporarily by 60 seconds for searching extremely long line,
and then reset to old value when done. Increase expect input
buffer to 10000.
Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/list.exp (test_forward_search): Fix to handle very
long source line without overflowing expect's input buffer.
Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
* config/slite-gdb.exp (gdb_start): Use "full_buffer", not
"buffer_full".
* config/nind-gdb.exp (gdb_start): Use "full_buffer", not
"buffer_full".
* config/mips-gdb.exp (gdb_start): Use "full_buffer", not
"buffer_full".
* lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
"buffer_full".
Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
* configure.in (configdirs): Add gdb.threads.
* configure: Regenerated with autoconf.
* gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
* gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
* gdb.threads/configure: New, generated with autoconf.
Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
* lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp (test_handle_all_print): Test separately for
each signal's status in the output of "handle all print".
* lib/gdb.exp (gdb_test): Document that the pattern must NOT include
the \r\n sequence that immediately precedes the gdb prompt.
* gdb.base/a1-selftest.exp: Save original timeout and restore
after test.
Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
symbol.
Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
* config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp (test_handle_all_print): Temporarily increase
timeout by 60 seconds.
Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
* config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
* config/netware.exp (gdb_run_cmd): Restore old timeout before doing
error return.
Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
* lib/gdb.exp (default_gdb_start): When reporting a timeout during
gdb initialization, also report how long dejagnu waited. Restore
old timeout before doing error return. Temporarily increase timeout
by 3 minutes to allow for slow startups over heavy NFS use.
Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
* lib/gdb.exp: Report timeout value for verbosity level 2.
* config/gdbserver.exp: Ditto.
* config/hppro.exp: Ditto.
* config/mips-gdb.exp: Ditto.
* config/monitor.exp: Ditto.
* config/netware.exp: Ditto.
* config/sim-gdb.exp: Ditto.
* config/slite-gdb.exp: Ditto.
* config/udi-gdb.exp: Ditto.
* config/unix-gdb.exp: Ditto.
* config/vx-gdb.exp: Ditto.
* gdb.base/a1-selftest.exp: Ditto.
* gdb.base/a2-run.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/corefile.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/signals.exp: Ditto.
Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
* gdb.threads/Makefile.in (docdir): Removed.
Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
* configure.in (AC_PREREQ): autoconf 2.5 or higher.
* gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
@srcdir@.
* gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
autoconf 2.5 or higher.
* gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
* configure: Regenerated.
* aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
avoid name clashes with SunOS headers.
Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
* gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/callfuncs.exp: Finish last change -- make sure the
prototype information ends up in the compiler info file.
Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp: Remove the compiler info file prior to
attempting to regenerate it. Eliminate use of a temporary file
and just generate the info file directly. Source it immediately,
for consistency of use.
* gdb.base/corefile.exp: Ditto
* gdb.base/exprs.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/langs.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/nodebug.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.base/setvar.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/whatis.exp: Ditto.
* gdb.c++/templates.exp: Ditto.
* gdb.c++/virtfunc.exp: Ditto.
* gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
whether or not to add -lstdc++ to the compile command line args.
Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
it got fixed by the recent lookup_minimal_symbol_by_pc change.
Increase timeout, a lot of single stepping might be needed if the
target has no hardware watchpoints.
Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/break.exp: Ignore compiler warnings when compiling
break.c.
* gdb.base/callfuncs.exp: Don't run these tests on the h8300.
* gdb.base/default.exp: Add h8300 xfails. Handle messages
from remote-sim.
* gdb.base/exprs.exp: Add h8300 xfails.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/nodebug.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
* gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
h8300 xfails.
* gdb.base/return.exp: Handle float/double precision problems
on the h8300.
* gdb.base/funcargs.c: Explicitly make last constant argument to
call_after_alloca_subr an unsigned long type.
* gdb.base/return.c: Include stdio.h.
Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
* config/abug.exp: New file for the older Motorola Bug monitor
that runs on the mvme13x series VME boards.
* config/monitor.exp: Use the new config array for target settings
if they exist.
Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
* sim-gdb.exp: Make the SH simulator allocate less space when
it is targeted.
Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
test.
Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/list.exp (test_list_function): Remove setup_xfail for
"rs6000-*-*" for "list function in include file" when gcc compiled.
* gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
for "p ctable1[120]".
* gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
"print 'scope0.c'::filelocal_bss before run" when gcc compiled.
Remove setup_xfail for "rs6000-*-*" for
"print 'scope0.c'::filelocal before run".
* gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
since some compilers don't allow both options to be given
on the same command line. Create object file and move it.
Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/corefile.exp: Always regenerate the core file, since
we always regenerate the coremaker program. Detect special case
where registers cannot be read from core file.
Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
* gdb.c++/templates.exp: Only match on basename of file since
some formats like xcoff don't encode directory information.
* gdb.stabs/weird.exp: Use the right sed script for powerpc
and rs6000 AIX xcoff targets.
* configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
* configure: Regenerate.
* gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
here, rather than in distclean.
Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
defined, and use it to compile the test case with -O2. The
native compilation still uses no optimization.
* gdb.base/mips_pro.c: Remove inline assembly code since
it is compiled PIC by default, which results in assembler
warnings that make the testsuite think the compilation
was unsuccessful.
Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/misc.exp: Add note to message for
"print s.a for foo struct" that this is a known gcc 2.7.2
and earlier bug.
Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
* gdb.base/break.exp: Fix pattern for matching "Delete all
breakpoints (y or n) ". Add "mips-dec-ultrix*" to
setup_xfail for deleting all breakpoints test. Fix various
timeout messages to include "(timeout)".
* gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
for "p t_float_values2(3.14159,float_val2)".
* gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
for "continue to call2g" when gcc compiled.
* gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
"up to foo in langs.exp", "show language at foo in langs.exp",
"show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
and "show language at fsub in langs.exp".
* gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
"list line 1 in include file", "list message for lines past EOF",
"list function in include file", "list list0.h:foo", and
"list filename:function; nonexistant function".
* gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
and "ptype t_char_array" to be for native cc only.
Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
setup_xfail for "print coremaker_bss", "print coremaker_ro",
"print func2::coremaker_local", and "backtrace in corefile.exp".
Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
"bt in signals.exp". This problem only appears when running
the testsuite, and then only intermittently.
Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/return.exp (return_tests): Differentiate between
two tests of continuing.
Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
* */Makefile.in (maintainer-clean): Remove config.log.
* gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
* gdb.c++/Makefile.in (PROGS): Add inherit.
(clean): Remove *.ci.
Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/misc.cc: Add test code from Mike Stump.
* gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
to "alpha-*-osf2*" and add comment.
* gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
setup_xfail for "step over execarg initialization" and
"step over corearg initialization".
* gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
* gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
gcc compiled for "print coremaker_bss", "print coremaker_ro",
"print func2::coremaker_local", and "backtrace in corefile.exp".
* gdb.base/signals.exp: Build and source signals.ci.
Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
to be for gcc only.
* lib/gdb.exp: Move verbose statements outside conditionals.
Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
Feb 3 procfs.c change.
Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
* config/unix-gdb.exp: Remove extraneous newlines from end of file.
Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
* config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
from dejagnu's apparent default of 10 seconds, which gives random
results when running the tests over NFS on moderately loaded systems.
* lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
* gdb.base/a2-run.exp: Replace $binfile with $testfile in test
result reports.
Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
* configure.in (CY_AC_PATH_TCLH): Remove.
* configure: Regenerate.
Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
* gdb.c++/Makefile.in (clean): Add missing '{'.
Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
* lib/gdb.exp: Provide a default value for noinferior.
* lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
Load libgloss.exp.
Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/hppa.exp: Compile directly into an executable, use
the executable, not the .o to run the tests from.
Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/break.exp: Don't test for program exit or exit status
if $noresults if nonzero.
* gdb.base/langs.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.base/default.exp: Remove extraneous call to load gdb.exp.
* gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
trying to compile the testcase.
Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
* gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
* gdb.base/signals.exp (continue to handler): Likewise.
Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
* gdb.c++/classes.exp: Now = returns false/true, not 1/0.
* gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
* gdb.base/corefile.exp: Recognize "not found" as failure
when trying to determine if a core file was generated.
If no core file was generate the first time, try again without
the ulimit -c to work around braindamaged shells.
Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
* gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
[] tests with "test" and enclose string in quotes.
* gdb.stabs/configure: Rebuild
Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
Changes in sync with expect:
* aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
(CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
(CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
(CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
argument to AC_REQUIRE.
* configure: Regenerated.
Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
* gdb.base/corefile.exp: When generating a core, discard any
error messages about ulimit not found and the "core dumped"
message from the shell that runs the coredumper.
Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
* lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
* gdb.stabs/weird.exp: Use ${target_triplet} to determine
which sed script to run. Expect failure for v_comb test
on PA targets too.
Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
* gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
"print func2::coremaker_local" and for "backtrace in corefile.exp"
Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
* lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
* gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
"sparc-sun-solaris*" xfails for "p v_comb".
* lib/gdb.exp (default_gdb_start): Fix typo.
* gdb.base/corefile.exp: Allow "Core was generated by ..."
messages to not include the full program name that caused
the core dump since some systems (such as solaris) apparently
truncate this path to about 80 characters.
When generating a core file first try increasing the core file
size limit to unlimited since some systems may default it to
zero, and it is harmless to try it. Move the test for failing
to generate a core file to where it will actually get executed.
* gdb.c++/templates.exp (test_ptype_of_templates): Accept
new gdb result from g++ debug info improvements and make old
pattern obsolescent. Also account for size_t differences
(may be int or long).
* gdb.base/a1-selftest.exp (test_with_self): Check for case where
initialization before function call is placed in the delay slot
and thus appears to be skipped over by commands such as "next".
Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/a1-selftest.exp (test_with_self): Run without windows.
Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
* gdb.base/*.exp: Make ${srcfile} only be the basename of the
input source file; fix code to compile test to deal with this
convention.
* gdb.c++/*.exp: Likewise.
Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
"bt in signals.exp".
Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
* gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
"step over execarg initialization" and
"step over corearg initialization".
Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
From Rob Savoye (rob@poseidon.cygnus.com)
* Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
configure.in}, gdb.disasm/{Makefile.in, configure.in},
gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
configure.in}: Major reworking for autoconfig.
* aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
New files.
* config/unix-gdb.exp: Make GDB global.
* gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
term.exp, twice.exp, watchpoint.exp, whatis.exp},
gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
pr-8136.exp, result.exp, string.exp, tuples.exp},
gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
to returns as necessary, arrange for test to compile own testcase
executable.
* lib/gdb.exp: Changes for testsuite to compile own test cases.
Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
* gdb.c++/classes.exp (test_pointers_to_class_members): Add
clear_xfail at end of test which might not call either pass or fail.
* gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
"backtrace through signal handler".
Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
continuing from a job control stop signal.
* gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
* gdb.base/callfuncs.exp: Remove bogus hppa xfails.
* gdb.base/corefile.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
* config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
* config/monitor.exp: Add support for setting baud rate.
Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
i*86-*-linux* xfails for "backtrace through signal handler".
* gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
"print func2::coremaker_local".
* gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
alpha-dec-osf2* xfail for
"delete all breakpoints when none".
Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/break.exp: Change test that deletes all breakpoints
when no user breakpoints are installed. A post 4.15 change
causes gdb to no longer prompt in this case.
Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/return.exp (return_tests): Change xfail for test
"correct value returned double test" to stop xfailing at
Solaris 2.5. Apparently the bug has been fixed.
Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
* gdb.stabs/ecoff.sed: Remove comment lines except for first one.
IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
* gdb.disasm/hppa.exp: Test lci and syncdma instructions.
* gdb.disasm/hppa.s: Corresponding changes.
Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
* gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
makefile fragment.
* config/mt-hpux: Deleted.
Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
* Many files: When warning about suppressed tests due to a
nonexistant test binary, avoid incrementing the warning count.
Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
"sparc-*-solaris2*".
Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/coremaker.c: Produce a full core dump for AIX targets.
Add global and local variables and initialize them.
* gdb.base/corefile.exp: Test correct mapping of corefile sections
by printing variables. Remove rs6000 and powerpc xfails, BFD now
extracts the file name and terminating signal from the core file.
* TODO: Remove note about tests for correct mapping of corefile.
* gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
from optimizing it away.
* gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
handles common blocks.
Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/sh3.s (fmac): Update for new assembler syntax
* gdb.disasm/sh3.exp (fmac): Corresponding changes.
Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (maintainer-clean): New target, synonym for
realclean.
* gdb.base/Makefile.in (maintainer-clean): Likewise.
* gdb.c++/Makefile.in (maintainer-clean): Likewise.
* gdb.chill/Makefile.in (maintainer-clean): Likewise.
* gdb.disasm/Makefile.in (maintainer-clean): Likewise.
* gdb.stabs/Makefile.in (maintainer-clean): Likewise.
* gdb.threads/Makefile.in (maintainer-clean): Likewise.
Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
xfails when not gcc compiled for "print foo::funclocal".
(test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
"print foo::funclocal at foo",
"print 'scope1.c'::foo::funclocal at foo",
"print foo::funclocal_bss at foo",
"print 'scope1.c'::foo::funclocal_bss at foo",
"print foo::funclocal_ro at foo",
"print 'scope1.c'::foo::funclocal_ro at foo",
"print bar::funclocal at foo" and
"print 'scope1.c'::bar::funclocal at foo".
(test_at_bar): Add "hppa*-*-hpux*" xfails when not
gcc compiled for "print foo::funclocal at bar".
Expand all messages to ensure that they identify that
the test is at bar().
* gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
gcc compiled for:
"ptype on opaque struct pointer (statically)",
"ptype on opaque struct tagname (statically)",
"ptype on opaque struct pointer (dynamically) 1",
"ptype on opaque struct tagname (dynamically) 1",
"ptype on opaque struct pointer (dynamically) 2" and
"ptype on opaque struct tagname (dynamically) 2
* gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
gcc compiled for:
"p datalocal"
"whatis datalocal",
"ptype datalocal",
"p bsslocal",
"whatis bsslocal", and
"ptype bsslocal".
* gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
"backtrace in langs.exp" and "up to langs0__2do in langs.exp"
when not gcc compiled.
* gdb.base/funcargs.exp (float_and_integral_args): Add
"hppa*-*-hpux*" xfail for "run to call2a" when not gcc
compiled.
(discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
"backtrace from call6a" when not gcc compiled.
(shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
"backtrace from call7a" when not gcc compiled.
* gdb.base/callfuncs.exp (do_function_calls):
Add "hppa*-*-hpux*" xfail when not gcc compiled for
"p t_char_array_values(char_array_val2,char_array_val1)",
"p t_char_array_values(char_array_val1,char_array_val2)",
"p t_char_array_values("carray 1","carray 2")",
"p t_char_array_values("carray 1",char_array_val2)",
"p t_char_array_values(char_array_val1,"carray 2")",
"p sum_args(1,{2})",
"p sum_args(2,{2,3})",
"p sum_args(3,{2,3,4})",
"p sum_args(4,{2,3,4,5})"
* gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
"backtrace in corefile.exp" when not gcc compiled.
Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/signals.exp: Rewrite `handle all print' test as
a procedure. Accept blanks or TABs as whitespace, increase
timeout and expect input buffer size for the large output
from the command. Remove "i*86-*-bsdi2.0" xfail.
Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/setvar.exp: Add new testcases for truncation when
assigning invalid values to bitfields.
Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove
mips-sgi-irix* xfail for
"call inferior func with struct - returns char *"
and fix test so that an optional (unsigned char *) cast is
accepted in the result.
Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/funcargs.exp (float_and_integral_args): Remove
sparc-sun-solaris2* xfail for "print f1 after run to call2a".
* gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
* gdb.base/signals.exp: Remove duplicate "handle all print" test
that accidentally got checked in.
Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
compiled test.
* gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
Add mips-sgi-irix5* xfail for not gcc compiled.
* gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
* gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
"p top", "whatis top", "p middle", and "whatis middle".
* gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
"whatis signed char" for not gcc compiled.
* gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
"set variable signed char=-1 (-1)" and
"set variable signed char=0xFF (0xFF)" for not gcc compiled.
* gdb.base/funcargs.exp (float_and_integral_args):
Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
Add mips-sgi-irix* xfail when not gcc compiled for
"continue to call2b".
Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
"continue to call2g".
(discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
"backtrace from call6a"
(shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
"backtrace from call7k".
Add mips-sgi-irix5* xfail when not gcc compiled for
"backtrace from call7a".
(localvars_after_alloca): Fix gdb_test cmds for
"print * after runto ...".
Remove rs6000-*-* xfails for
"print i after runto localvars_after_alloca" and
"print l after runto localvars_after_alloca"
for all compilers.
* gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
when not compiled with gcc, for:
"print signed char == (minus)",
"print signed char != (minus)",
"print signed char < (minus)",
"print signed char > (minus)".
* gdb.base/callfuncs.exp (do_function_calls):
Add mips-sgi-irix* xfail, when compiled with native compiler, for
"call inferior func with struct - returns char *".
* gdb.base/return.exp (return_tests): Change xfail for
"correct value returned double test" to include Solaris 2.4.
* gdb.base/funcargs.exp (float_and_integral_args):
Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
enumeration bitfields if compiling with GNU C.
* lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
to empty' prompt.
Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
test for PRO targets.
* gdb.base/funcargs.exp: Avoid ever setting more than 8
breakpoints in the inferior at any given time by making
two groups of breakpoints for call2*, call6* and call7*
tests.
Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
* gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
from optimizing it away.
* gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
"call inferior func with struct".
Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
* configure.in: Only configure gdb.chill for particular targets.
Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/Makefile.in: Add action to .c.o transformation
rule that generates a .ci file for each .o file and remove
explicit .c.o rules except for callfuncs.o.
* gdb.c++/Makefile.in: Add .cc.o transformation rule that
generates a .ci file for each .o file and remove explicit
.cc.o rules.
(clean): Remove *.tmp *.ci files.
(EXECUTABLES): Remove templ-info.exp.
* gdb.base/compiler.c: New file.
* gdb.c++/compiler.cc: New file
* gdb.base/scope.exp: Source gdb.base/scope.ci.
Change rs6000-*-* xfail for
"print 'scope0.c'::filelocal_ro" and
"print 'scope1.c'::filelocal" and
"print 'scope1.c'::filelocal_bss" and
"print 'scope1.c'::filelocal_ro" and
"print 'scope1.c'::foo::funclocal" and
"print 'scope1.c'::foo::funclocal_ro" and
"print 'scope1.c'::bar::funclocal" and
"print 'scope0.c'::filelocal_ro" and
"print 'scope1.c'::filelocal at foo" and
"print 'scope1.c'::filelocal_bss at foo" and
"print 'scope1.c'::filelocal_ro at foo" and
"print 'scope1.c'::foo::funclocal at foo" and
"print 'scope1.c'::foo::funclocal_bss at foo" and
"print 'scope1.c'::foo::funclocal_ro at foo" and
"print 'scope1.c'::bar::funclocal at foo" and
"print 'scope0.c'::filelocal_ro" and
"print 'scope1.c'::filelocal" and
"print 'scope1.c'::filelocal_bss" and
"print 'scope1.c'::filelocal_ro" and
"print 'scope1.c'::foo::funclocal" and
"print 'scope1.c'::foo::funclocal_bss" and
"print 'scope1.c'::foo::funclocal_ro" and
"print 'scope1.c'::bar::funclocal" and
"print 'scope1.c'::bar::funclocal_bss"
to only be xfail'd when not compiled with gcc.
Add rs6000-*-* xfail for
"print 'scope0.c'::filelocal_bss before run"
when compiled with gcc.
(test_at_main): Add rs6000-*-* xfail for
"print filelocal_ro in test_at_main"
when compiled with gcc.
* gdb.base/ptype.exp: Source gdb.base/ptype.ci.
Add rs6000-*-aix* xfail for
"whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
"ptype t_char_array", not compiled with gcc.
* gdb.base/list.exp (test_list_function): Add rs6000-*-*
xfail for "list foo (in include file)" when gcc compiled.
* gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
(integral_args): Add rs6000-*-* xfail for
"run to call0a" if not compiled with gcc.
(unsigned_integral_args): Add rs6000-*-* xfail for
"run to call1a" if not compiled with gcc.
(float_and_integral_args): Add rs6000-*-* xfail for
"run to call2a" if not compiled with gcc and for
"continue to call2b" for any compiler.
Add rs6000-*-* xfail to
"print f1 after run to call2a" for gcc compiled.
(discard_and_shuffle): Add rs6000-*-* xfail for
"run to call6a".
(shuffle_round_robin): Add rs6000-*-* xfail for
"backtrace from call7a" if not compiled with gcc.
Add rs6000-*-* xfail for
"backtrace from call7b" if compiled with gcc.
(call_after_alloca): Add rs6000-*-* xfail for
"print c in call_after_alloca" and
"print s in call_after_alloca" and
"backtrace from call_after_alloca_subr"
if not compiled with gcc.
(localvars_in_indirect_call): Add rs6000-*-* xfail for
"print c in localvars_in_indirect_call" and
"print c in localvars_in_indirect_call" and
"backtrace in indirectly called function" and
"stepping into indirectly called function"
if not compiled with gcc.
(localvars_after_alloca): Add rs6000-*-* xfail for
"print c after runto localvars_after_alloca" and
"print s after runto localvars_after_alloca" and
"print i after runto localvars_after_alloca" and
"print l after runto localvars_after_alloca"
for all compilers.
* gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
than whatis-info.exp.
* gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
than opaque-info.exp.
Setup rs6000-*-* xfail for
"ptype on opaque struct pointer (statically)" and
"ptype on opaque struct pointer (dynamically)" when
not compiled with gcc.
* gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
rather than callf-info.exp.
(do_function_calls): Add clear_xfail for rs6000-*-* for
"p t_float_values2(3.14159,float_val2)". Seems to work
fine there, both with xlc and gcc. Need to find out what
it is doing right and fix other platforms.
* gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
"call inferior func with struct - returns int",
"call inferior func with struct - returns long",
"call inferior func with struct - returns float",
"call inferior func with struct - returns double",
"call inferior func with struct - returns char *",
but only if not gcc compiled (presumes xlc compiled).
Change rs6000-*-* xfails for
"call inferior func with struct - returns char" and
" call inferior func with struct - returns short" to only
xfail if not using gcc.
(clean mostlyclean): Remove *.ci and *.tmp files.
* gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
than templ-info.exp.
* gdb.base/langs.exp: Source gdb.base/langs.ci.
Add rs6000-*-* xfail for "up to foo in langs.exp"
"up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
when not gcc compiled.
Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* gdb.base/callfuncs.exp: Add xfails for the powerpc.
* gdb.base/corefile.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/siganls.exp: Likewise.
* gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
compiler output.
* gdb.base/whatis.exp: Likewise.
Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
failure (opcode table has been fixed to match reality).
Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
"call inferior func with struct - returns char",
"call inferior func with struct - returns short"
* gdb.base/scope.exp: Remove rs6000-*-* xfails for
"print 'scope0.c'::filelocal at main",
"print 'scope0.c'::filelocal_bss in test_at_main",
"print 'scope0.c'::filelocal at foo",
"print 'scope0.c'::filelocal_bss in test_at_foo",
"print 'scope0.c'::filelocal at bar",
"print 'scope0.c'::filelocal_bss in test_at_bar"
* gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
in source file 1". This bug seems to have been fixed with both
gcc and native cc (was native assembler bug?).
Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
* gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
"backtrace through signal handler" to "i*86-*-sysv4*".
* gdb.base/signals.exp: Add xfail for "'next' behaved as
continue" case. Add "known SVR4 bug" to fail message.
Add "i*86-*-bsdi2.0" xfail for "handle all print".
Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
* gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
"whatis unnamed typedef'd enum..." and "ptype t_char_array".
* gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
"up to foo in langs.exp", "show language at foo in
langs.exp", "up to cppsub_ in langs.exp", "show
language at cppsub_ in langs.exp", "up to fsub in
langs.exp", and "show language at fsub in langs.exp".
* gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
"bactrace in corefile.exp".
* gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
"call inferior function with struct - returns float" and
"call inferior function with struct - returns double".
Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/sh3.s: Source for sh3 disassembler tests.
* gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
* gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
* gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
* Makefile.in (CHILL_FOR_TARGET): Use previously defined
(or overriden) "CHILL" macro rather then bare "gcc".
Also look for ../../gcc/xgcc since that is what we will
actually need, not "Makefile". Remove following assignment
of CHILL to CHILL_FOR_TARGET because that results in
recursive definition.
Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/corefile.exp: Change xfail for backtrace in
corefile.exp from linuxaout to all linux.
* gdb.base/sigall.exp (test_one_sig): Specifically deal with
cases where we miss the breakpoint at the signal handler
for some reason. Setup xfail for linuxoldld/linuxaout and
getting SIGIO. Setup xfail for linuxoldld/linuxaout for
hitting SIGURG breakpoint.
* gdb.base/signals.exp: Setup xfail for "next" acting like
continue to add linuxoldld. Setup xfail for all linux for
"next to handler in signals_tests_1", "backtrace in
signals_tests_1", "continue to func1", "pass SIGUSR1",
and continue to handler".
Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
* Update all FSF addresses except those in COPYING* files.
Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/a2-run.exp: Change messages to be more explicit about
the status of args, and quote binfile in results.
Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/callfuncs.exp: Add tests for passing structs to
inferior functions and return various types.
* gdb.base/callfuncs.c: Add functions to receive a struct
and return a member of the struct, in various types.
Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/Makefile.in (clean): Remove callf-info.exp.
Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
* config/vxworks29k.exp: New file, sources vxworks.exp.
Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* config/gdbremote.exp: New file. Testing framework using
gdbserver.
Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
* gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
"call function when asleep" and "send end of file".
* gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
for "backtrace in corefile.exp".
* gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
for "backtrace through signal handler".
* gdb.base/corefile.exp: Make sure we actually generate a core file
before trying the core tests. Some systems allow the user to suppress
generation of core files and default to that (linux for example).
* gdb.base/signals.exp: Change xfail for "next" acting like "continue"
from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* gdb.threads: New directory with some crude multi-threaded
gdb tests (step.exp and step2.exp).
* config/mt-lynx (STEP_EXECUTABLE): Define.
(THREADFLAGS): Define.
Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
* gdb.base/signals.exp: Disable whole file for lynx until
further notice.
* gdb.base/signals.exp: xfail test where "next" acts like
"continue" for lynx.
* gdb.base/interrupt.exp: xfail test for calling function while
inferior is asleep for lynx.
* gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
than one cr-lf after each command.
Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* configure.in: Reinstate setting of stabsdirs variable, fix
typo in setting up configdirs for native builds.
* gdb.base/return.exp: Fix typo in return double test.
* gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
compiler from optimizing them away.
Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
sequences to be echo'd by gdb when using gdb_test.
* gdb.chill/chexp.exp: Likewise.
* gdb.fortran/exprs.exp: Likewise
Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
* gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
after the inferior gdb has started.
* gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
after each command.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gdbvars.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.c++/demangle.exp: Likewise.
* gdb.c++/inherit.exp: Likewise.
* gdb.chill/chexp.exp: Likewise.
* gdb.fortran/exprs.exp: Likewise.
* gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
test if we can't handle IO to/from the inferior.
* gdb.c++/misc.exp: Always check for a program already being
started after sending a "run" command to gdb.
* gdb.base/twice.exp: Start with a fresh gdb.
* gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
only depend on gdb's expression code, not the chill runtime.
* gdb.base/return.c: Put return values into variables so we
can have gdb print them rather than depending on the program
to print them.
* gdb.base/return.exp: Corresponding changes.
* lib/gdb.exp: Provide default value for noinferiorio.
* gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
the inferior.
* gdb.base/break.exp: Always check for a program already being
started after sending a "run" command to gdb.
(text_next_with_recursion): Don't check the output from the
program's printf statement. Instead just make sure the program
exited.
* gdb.base/commands.exp: Protect tests which need arguments with
$noargs conditionals.
Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/printcmds.exp: Adjust expect patterns for addresses
of structure member arrays to match gdb/valops.c:value_addr change.
Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
cases.
Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
* configure.in (configdirs): Remove gdb.chill from default list
of subdirs and then add it back in only if doing a native build.
The current chill compiler does not yet work in any cross build.
* Revert all signal changes from Jul 6.
* gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
for sh-hms targets, allowing these tests to link, with no other
changes. Testing is suppressed by setting "nosignals" in site.exp.
Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
* configure.in (signaldirs): Define and add to configdirs for all
targets except some specific ones that are known to not support signals.
Also clean up formatting.
* gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
(signals, sigall): Remove rules to build.
* gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
Moved to new gdb.signals directory.
* gdb.signals: New test directory.
* gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
signals.c signals.exp}: New or moved files.
Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
* gdb.base/return.exp: Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
a case by case basis as appropriate. Also update message
to include i*86 failures.
Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
* lib/gdb.exp: Fix comment which erroneously identified
gdb_file_cmd as gdb_load (the 19 May change was in fact to
gdb_file_cmd not gdb_load).
* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
* gdb.base/setvar.exp: Make test names consistent between pass and
fail cases. Use gdb_test more.
Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/help.exp: Fix expected help string for `show commands'.
Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
* gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
* gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
of a text section.
Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
* config/monitor.exp (gdb_target_monitor): Fix loop interator so
that loop eventually terminates. Fix Connection refused logic so
that testsuite will expire nicely.
Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
* config/cpu32bug.exp, config/est.exp, config/hppro.exp,
config/rom68k.exp: New tcl glue for the appropriate monitors.
These all just end up calling monitor.exp.
* config/monitor.exp (gdb_target_monitor): Handle `Connection
refused' by retrying. Cleanup some timeout issues.
* (gdb_load): Reduce timeout. Cleanup some timeout issues.
* lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
callers don't have to set/restore global timeout variable.
* The following set of changes centralizes management of the global
timeout variable. This way, it can be set in one target dependent
place instead of dozens of places scattered throughout the test suite.
If you need to lengthen a timeout, then you should either set timeout
in one of the config/{target}.exp files, or multiply it by a factor.
Setting it to an absolute value is always going to lose for some
targets.
* gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
* gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
* gdb.base/funcargs.exp: Don't set timeout.
* gdb.base/list.exp (test_forward_search): Only use local timeout.
* gdb.base/printcmds.exp (test_print_string_constants
test_print_array_constants): Don't set timeout.
* gdb.base/ptype.exp: Don't set timeout.
* gdb.base/recurse.exp: Don't set timeout.
* gdb.base/return.exp: Don't set timeout.
* gdb.base/watchpoint.exp: Don't set timeout.
* gdb.c++/classes.exp (do_tests): Don't set timeout.
* gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
* Makefile.in: Make clean targets work also when SUBDIRS is empty.
Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp: Disable chill tests for irix5.
Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
each test pass or fail.
Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/opaque.exp: Remove xfails for aix; print a warning if
xlc not gcc.
Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
* cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
* config/est.exp: Fix copyright and comments. Remove dead code.
Use targetname, serialport and baud variables instead of fixed
constants.
* config/rom68k.exp: Fix copyright and comments. Remove dead code.
* config/cpu32bug.exp: New file to support cpu32bug monitors.
Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/watchpoint.exp: Don't run
test_watchpoint_triggered_in_syscall for sunos.
Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
they don't seem to exist. Do include stdio.h.
Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp: Add alpha xfail.
Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/watchpoint.c (main): Prompt before calling read().
* gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
Revise accordingly. Remove cruft about sending "123" several
times, until it gets noticed. Clean up the "print buf[0]" stuff
so that it passes or fails, and waits for prompts in the usual way.
Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/recurse.exp: Fix comment.
* TODO: Remove item about printing variables in nodebug.exp. Add
item about enabling tests which are only run on some targets.
* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
fail, make test names unique, use new gdb_test convention
regarding pattern, use gdb_test more, etc.).
* gdb.base/bitfields.exp: Various cleanups (make each test pass or
fail, make test names unique, etc.).
Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/nodebug.c: Change return type of top and middle to
short.
* gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
are fixed by the recent mdebugread.c changes. Allow `short ()'
as type for top and middle.
Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/break.exp: Remove commented out if $usestubs {}. As
nearly as I can tell, the whole thing was an accident in Stu's
change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
to replace a send/expect pair with gdb_test, but ended up only
adding the gdb_test. My change of 24 Mar 1995 and Kung's change
of 30 Mar 1995 took care of it, but left this vestigial comment
which I am now nuking.
Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/break.exp: Look for different line number for
breakpoint at main depending on usestubs.
Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/list.exp: Adjust some alternate expect patterns to
match recent list0.c change. Add alternate expect pattern for
output from `list default lines around main' for optimizing
compilers.
Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp: If nosignals is not set, set it to 0.
Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
* config/slite-gdb.exp: Responds to load symbol table prompt.
* gdb.base/break.exp: Adjust line number, fix rerun.
* gdb.base/langs0.c: Add #ifdef usestubs.
Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
* gdb.base/list.exp: Adjust line contents after adding new lines in
list0.c. Also fix a syntax error.
* lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
* gdb.base/break.exp: ditto.
* gdb.base/list.exp: ditto.
* gdb.base/bitfields.c: Add #ifdef usestubs in main().
* gdb.base/run.c: ditto.
* gdb.base/list0.c: ditto.
* gdb.base/funcargs.c: ditto.
Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
* testsuite/config/rom68k.exp (gdb_target_rom68k): Use
$targetname, $serialport and $baud instead of hardwired variables.
* testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
target doesn't support signals.
Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
Don't rely on the value of an auto variable before it has been
initialized. Use gdb_test more.
Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp (default_gdb_version): A version number must start
with a digit, but other than that contains all characters up to
the first whitespace character.
Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/commands.exp (breakpoint_command_test): New tests.
Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.c++/*.exp: Warn if executable does not exist. The original
reason for skipping the warning was that configure.in sometimes
intentionally skipped building the executables but the tcl code
had no way of knowing. That (a) was always bogus with respect to
error handling, (b) is no longer true (right now there is no way
to skip C++ tests).
* gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/list.exp: Add expect patterns for output from
SunPRO compiled executables.
* gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
types.
Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/break.exp (test_next_with_recursion): Accept any line
number (we are already testing that the correct source line text
gets printed).
* gdb.base/break.exp: Make one test if $usestubs. I'm not sure
that is what is intended, but something needed to be done to get
sunos4 native working again.
* gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
* gdb.base/a1-selftest.exp (test_with_self): Remove comment which
apparently went with a (very) old xfail.
Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
* gdb.base/callfuncs.exp: call runto_main instead of runto main.
runto_main is a proc in gdb.exp that will do 'step' for target use
stubs.
* gdb.base/exprs.exp: ditto.
* gdb.base/interrupt.exp: ditto.
* gdb.base/opaque.exp: ditto.
* gdb.base/printcmds.exp: ditto.
* gdb.base/ptype.exp: ditto.
* gdb.base/scope.exp: ditto.
* gdb.base/setvar.exp: ditto.
* gdb.base/signals.exp: ditto.
* gdb.base/twice.exp: ditto.
* gdb.c++/classes.exp: ditto.
* gdb.c++/inherit.exp: ditto.
* gdb.c++/templates.exp: ditto.
* gdb.base/break.exp: no run and hit main for stubs. Change line
numbers for breakpoints and info breakpoint.
* gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
breakpoint().
* gdb.base/callfuncs.c: ditto.
* gdb.base/exprs: ditto.
* gdb.base/interrupt.c: ditto.
* gdb.base/opaque0.c: ditto.
* gdb.base/printcmds.c: ditto.
* gdb.base/ptype.c: ditto.
* gdb.base/scope0.c: ditto.
* gdb.base/setvar.c: ditto.
* gdb.base/signals.c: ditto.
* gdb.base/twice.c: ditto.
* gdb.c++/misc.cc: ditto.
* gdb.c++/templates.cc: ditto.
Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
* gdb.base/a1-selftest.exp: Don't check for # followed by a digit
somewhere between `read' and `main.c'. I'm pretty sure the
pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
and it isn't particularly useful.
* gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
* config/mt-slite: add LIBS and -nostdlib.
* config/slite-gdb.exp: add this new file to support sparclite target.
Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
* config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
* gdb.base/a2-run.exp: Change argument to istarget from
"*-*-vxworks" to "*-*-vxworks*".
* gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
* lib/gdb.exp: add proc runto_main, for targets that use stubs, this
will not runto main but do a 'step' to step out of breakpoint().
* config/mt-slite: add -Dusestubs.
Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
instead of just @.
* gdb.base/signals.exp: Add test for "handle all print".
* TODO: Remove "handle all print". Also remove item about
checking copyright date (I don't like the idea of a spurious FAIL
based on when we run the tests).
* gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
for SunOS4 (reason for failure not investigated). Remove
redundant test for $binfile.
* gdb.base/nodebug.c (array_index): Call malloc.
* gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/recurse.exp: Update gdb_test invocation to use new
conventions and slightly simplify the matching regexp.
Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/break.exp: Update gdb_test invocation to use new
convention.
* lib/gdb.exp: If noargs is not set, set it to 0.
* gdb.base/nodebug.exp: Comment out redundant test. Make name of
tests unique.
* lib/gdb.exp: Skip CHILL for AIX and Solaris.
Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
one argument of type "<non-float parameter>".
Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
* config/rom68k.exp: New file to support Motorola IDP board.
* gdb.base/a2-run.exp: Skip this file if noargs is set.
* gdb.base/break.c: Change things around so that this program
doesn't depend upon args. This is necessary to make remote
targets work (in general, they can't take args).
* gdb.base/break.exp: Don't try to send args to program. Don't
expect output. Also, replace lots of code with gdb_test.
Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/printcmds.exp (test_character_literals_accepted): Test
printing of '\'' (which is what the comment says we are testing,
even though we were not), not '''.
(test_integer_literals_rejected): Test that printing ''' is an error.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.chill/chexp.exp, gdb.base/printcmds.exp,
gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
Use gdb_test not test_print_accept.
* lib/gdb.exp: Remove test_print_accept.
* gdb.base/signals.exp (signal_tests_1): Make pass message
consistent with fail message.
* gdb.base/whatis.exp: Remove xfails for printing char vs.
unsigned char; the bug (PR 1821) is fixed.
* gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
* gdb.base/scope.exp (test_at_localscopes): Call pass for
successful tests--makes xfailing them work right.
Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
only \r\n, not .*. The test can pass .* as the last thing in
$pattern if that is what it wants. In addition to providing this
flexibility, this change should speed up pattern matching in cases
where the pattern already ended with .* (there were a number of
them). This change also helps catch bad patterns--in the old
scheme the typo "char \*" instead of "char \\*" would pass. Now
it is caught.
* Many .exp files: Update callers.
* gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
clearer and does not spuriously match multiple ('s. Likewise for
) and *.
* gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
* gdb.base/printcmds.exp (test_integer_literals_rejected): Change
"p '\'", which is the same as "p ''" once tcl gets done with
quoting, to "p '\\'", which I suspect is what is intended (one
backslash gets sent to GDB).
* gdb.base/printcmds.exp (test_artificial_arrays): New tests.
Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1817) was fixed literally years ago.
Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/funcargs.exp (call_after_alloca): Remove `next'
test, it causes stepping out of call_after_alloca_subr with
optimizing compilers.
(localvars_in_indirect_call): Consume GDB prompt if `finish'
fails.
* gdb.c++/templates.exp: Source templ-info.exp only if
the templates executable exists.
* gdb.c++/misc.cc (class Contains_static_instance,
class Contains_nested_static_instance),
gdb.c++/classes.exp (test_static_members): Test printing of
a class that contains a static instance of the class.
Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/langs2.c (cppsub_): Don't prototype.
* gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
only, I believe).
Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp (skip_chill_tests): New procedure.
* gdb.base/signals.exp (signal_tests_1): xfail for irix.
Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
each expect pattern. Cuts runtime from 12 to about 4 seconds.
Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
disassemble 8, not 16, instructions for part 4.
* config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
support the latter anymore.
* gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
-DNO_PROTOTYPES.
* gdb.base/callfuncs.c: Control use of prototypes based on
NO_PROTOTYPES, not __STDC__.
* gdb.base/callfuncs.exp (do_function_calls): xfail one of the
t_float_values2 tests if prototypes in use.
* gdb.base/callfuncs.c (t_float_values, t_float_values2,
t_double_values): When checking differences against DELTA, check
that difference is within the range (-DELTA,DELTA), not just
(-infinity,DELTA).
Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
* config/mips-gdb.exp (gdb_load): In every test case, we need to do
'file' command firts, then 'target', then 'load', this is due to gdb
target set up.
* config/mips-gdb.exp: Fix a couple regular exp bugs.
Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
* gdb.base/term.exp: Do not give a warning if not native, it is
not an abnormal condition.
Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
* gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
t_char_array".
Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
* lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.
* gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.
Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
(LDFLAGS): Set to -Xlinker -Ur.
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
of replicating gdb startup code.
* config/mt-vxworks (LDFLAGS): Set to -r.
(CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
(gdb) and gdb for vxworks uses (vxgdb).
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
program_transform_name to determine the gdb name used by the
target.
* configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
floats, chars, and shorts where there are ANSI-style function
definitions.
* gdb.base/langs.exp, gdb.base/langs*: New test.
* gdb.base/Makefile.in: Build it.
* TODO: Remove item about checking that C names don't get C++
demangling applied; this test tests it.
Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/weird.exp: Remove "Haven't examined" comment which
went with the const70 xfail. The xfail went away a year ago.
* gdb.base/signals.exp: Rename a bunch of tests to give unique names.
* gdb.base/corefile.exp: Give backtrace test unique name. xfail
for hp300.
* gdb.base/interrupt.exp: Also xfail hpux (for hp300).
* gdb.base/a1-selftest.exp: Don't run on hp300.
Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* Makefile.in (site.exp): Set host_alias and target_alias as well
as host_triplet and target_triplet.
Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
* gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
places as other ecoff systems).
* gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
ultrix.
Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
remove them.
* gdb.base/nodebug.exp: Accept "function" in addition to "text
variable and "variable" in addition to "data variable".
* gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
* gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2.
* gdb.base/list1.c (long_line): Add additional statement at start
of function.
* gdb.base/list.exp (test_forward_search): Update line number to
reflect new statement.
Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/signals.exp: Reinitialize searched source directories
after gdb_start call.
Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/Makefile.in (clean): Delete "errs" file.
* gdb.stabs/Makefile.in: Likewise.
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
change. Instead split the tests into smaller pieces.
* gdb.disasm/hppa.s: Corresponding changes.
Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Quote ^C when passing it to stty. For some shells ^ is a pipe.
* gdb.base/funcargs.exp: Modify many tests so that every test
either passes or fails. Make some test names unique.
Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
Call stty to set interrupt character.
* gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
for HP assembler versus GNU assembler based on actual behavior of
$(CC), rather than assuming that $(AS) is always the GNU assembler.
* TODO: Suggest a few more stepping tests.
Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/default.exp: xfail no-stack backtraces for h8300,
restart GDB for h8300 after a continue.
(return): Add pattern to match a29k-udi behavior.
* gdb.base/nodebug.exp: Remove obsolete comment.
* gdb.base/regs.exp: New file, testing of register displays.
* gdb.base/return.exp: Fix typo in reference to $objdir.
* gdb.base/whatis.exp: Always start with a fresh GDB.
Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
higher, these tests generate a lot of output.
Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp (gdb_test): Remove catch from around the send. The
code following the catch silently ignored some errors; without the
catch they should be thrown like any other tcl error. Also, the
catch used "" instead of {} which meant all the callers who wanted
to include one of the characters "[]$ had to quote it an extra time.
* gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
Remove extra quoting.
Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/commands.exp: Make test names unique; every test either
passes or fails. Update some comments.
* gdb.disasm/hppa.exp (do_system_control_tests): Update.
Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
The following fixes a FAIL caused by the fact that the alpha stabs
configuration didn't use the ".if alpha" code in weird.def.
* gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
bit pointer, so the 32 bit version works even on the alpha.
* gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
Remove the stuff which allowed us to have separate versions for
alpha and everything else.
* gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
regexp which "info func operator\[\](" is supposed to match. Fix
string to send to GDB. Note that GDB still doesn't work right. Add a
new test for "info func .perator\[\](" which GDB does handle correctly.
* gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
it makes the tests harder to understand and confuses test-o-matic.
The preferred style is that each test provides a PASS or a FAIL,
and has a unique message (e.g. "continue #54" not just "continue")
which is the same for the pass and the fail.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
to lib/gdb.exp.
* gdb.base/printcmds.exp: Use test_print_accept. Remove
prt_accept which was basically the same thing. Likewise for
test_print_reject and prt_reject.
* lib/gdb.exp (test_print_reject): Add some more error message
patterns to match from the former printcmds.exp (prt_reject).
* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
One defect of the passcount stuff is that some of it failed to
report XPASS where appropriate.
* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
stuff before and after arg in expected pattern.
(test_paddr_operator_functions): Re-do test without print_addr_of;
this is the only test which seems to want extra stuff there.
Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/nodebug.exp: Update new tests to reflect improved
wording of gdb output.
* gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
and "ptype" work on variables in files compiled without -g.
Replaces commented out "maint print msymbol" tests.
Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/setvar.c (dummy): Call malloc.
* gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
losing with the irix4 sed.
* gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
ALRM" on irix4.
Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* TODO: Remove items about corefile.exp testing new exec-file and
backtrace; both are now done. Add items about printing enums.
Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/sigall.exp (test_one_sig): Attempt to recover if
"get signal $thissig" test fails.
* gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
compiler warning with dec alpha compiler.
* gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
extra \n from gdb_test call (this explains why the prompt test
that I removed yesterday was there).
(user_defined_command_test): Remove extra \n and prompt test.
* gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
doesn't exist.
* gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
Also remove alpha workaround, which turns out to be because
SIGABRT == SIGLOST.
* gdb.base/sigall.exp: Add workaround for alpha weirdness.
* gdb.base/help.exp: Don't test "help show".
Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/commands.exp: Call gdb_exit and gdb_start so that
"set print address" is on.
* gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
pass prompt to gdb_test; gdb_test already looks for the prompt.
* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
* gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
was a vestige of the manual TESTSTRATEGY, and the purpose of it
was to make sure that gdb can read a core file. But (a) the "read
the corefile" part didn't make it to a1-selftest.exp, we just
delete the corefile after creating it, and (b) we test reading
corefiles in corefile.exp anyway. Also, this test left around a
xgdb process on Solaris.
* gdb.base/corefile.exp: Also test backtrace.
Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/commands.exp: Test a simple user defined command with
arguments and if/while statements; verify the full user command is
printed by "show user".
* gdb.base/commands.exp: Test if/while commands as part of a
breakpoint command list; verify they appear in breakpoint
information.
Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
than by dividing by zero.
Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
performing an inferior call with watchpoints enabled.
* gdb.base/watchpoint.c (main): Delete second unnecessary read
call.
Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
of "file" command.
* gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
Add additional pattern for when "int operator int(void);" appears
in a different order.
Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
* gdb.base/signals.exp: Call gdb_exit and gdb_start.
* gdb.base/help.exp: Replace most of docstrings for "info signals"
and "signal" with ".*".
Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add note about "handle all nostop".
* gdb.base/{sigall.c, sigall.exp}: New test.
* gdb.base/Makefile.in: Add it.
Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
* lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
when invoking GDB, suppresses any windowing interface.
Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
* config/sim-gdb: New file, simulator testing support.
Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/interrupt.exp: Test calling func1 twice.
Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
* gdb.base/list.exp (test_forward_search): Set timeout higher
when we'll be getting lots of output from gdb.
* gdb.base/a1-selftest.exp: Move code that was inside expect -re
"init_malloc" to after the expect statement. Run it if that
regexp is taken, but also for two others which happen if source
cannot be found.
Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/printcmds.exp: New test, for printing register before
program is running.
Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/list.exp: Correct some alternate expect patterns
to reflect changes in list1.c.
Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add item regarding large frames.
* gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
* TODO: Remove item about enabling return.exp; it
is enabled. Suggest a few more "return" tests.
Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
anonymous unions.
Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
and pr-5646.o, so "make" is the same as "make all", not "make
pr-4975.o".
Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/list.exp: Adjust expectations to reflect changes in
list1.c.
(test_forward_search): New test proc.
* gdb.base/list1.c (long_line): New function, has long source line.
Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
* gdb.base/a1-selftest.exp: Change initial stepping to know about
additional line of code that was added.
Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.s: Break the large branching tests into smaller
tests so as not to overflow expect's input buffers.
* gdb.disasm/hppa.exp: Corresponding changes.
Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Beginnings of template debugging tests.
* gdb.c++/templ-info.cc: New file to test for template
debugging capability of the compiler.
* gdb.c++/Makefile.in: Add rule to build templ-info.exp from
templ-info.cc.
* gdb.c++/templates.cc: Add explicit template instantiations
to enable compiling with -fno-implicit-templates. Add destructor
and 'value' method to T5 class for template tests.
* gdb.c++/templates.exp: Add testcases for printing of template
types, setting breakpoints on template methods and calling a
template method.
Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
branch target since some assemblers (gas-2.5) may emit a
relocation for the branch instead of resolving it in the
assembler.
Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
through signal handler.
Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* configure.in (*-*-netware): Use config/mt-netware.
* config/mt-netware: New file.
* config/mt-i386-netware: Removed, separate configs for different
netware architectures are no longer needed now that we have
--with-headers.
Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
by the recent changes to use ANSI C arithmetic conversions.
Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
bug involving using inferior_pid to figure out whether to select a
frame.
Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
match the current disassembler output.
Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.fortran/exprs.exp: Expect VOID instead of void.
* gdb.fortran/types.exp: Escape the expected '*'s in Fortran
types, expect "int" as type of integer values (for now).
Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/commands.exp: New tests for if/while commands.
Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
* lib/gdb.exp (runto): Replace sub-pattern for hex value
by .*, since hex values have different syntax in Chill mode.
Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.c++/demangle.exp (test_arm_style_demangling): Remove
linefeed from expect pattern for repeated types with indices > 9.
Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
First part of Fortran test suite.
* gdb.fortran: New directory.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/default.exp: Update expect pattern for load command
without arguments.
Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
* gdb.c++/configure.in: Likewise.
* gdb.chill/configure.in: Likewise.
Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
* lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
patterns, since that is not a valid context for comments.
Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
* gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
repeated types and repeated types with indices > 9.
Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2417; old bug has been fixed.
Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/interrupt.exp: When trying to wake up the inferior,
send the newline ourselves instead of assuming gdb_test will do
so when passed an empty input string.
* gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
stabs testcode.
Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* lib/gdb.exp (gdb_test): Don't send anything if the first
argument is an empty string. This makes cases where we want to
match output that is already in expect's buffers (for example,
matching a breakpoint after gdb_run_cmd has been called) work
reliably.
Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* config/netware.exp: New file.
Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* config/mt-slite (LDFLAGS): If using the newlib in the tree, set
the -B and -L prefixes so we can find the debugging stub.
* Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree.
* gdb.base/types.c: Removed.
* gdb.base/configure.in: Look for makefile fragments in ../config.
Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.
Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/corefile.exp: Change `else if' to `elseif', which is
the correct TCL syntax.
Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* gdb.base/opaque.exp: use runto instead of messing around with
breakpoints. Simplify by using gdb_test.
* gdb.base/bitfields.exp: restart between tests on netware targets
because breakpoints aren't relocated after target death. Run
processes to completion.
* gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
* Makefile.in: Remove extra tabs that confuse some versions
of "make". Use the newly built gdb to test with by default,
rather than the first one in the tester's search path.
Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
* gdb.base/help.exp: Update expected add-symbol-file, ignore, and
condition help.
Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
* lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
* gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/bitfields.exp: Simplify by using gdb_test.
* gdb.base/funcargs.exp: Likewise.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
message is "".
Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
return,signals,twice}.exp: Handle non-existant binaries
consistantly.
* gdb.base/corefile.exp: Execute coremaker to generate core dump.
* gdb.base/Makefile.in: Don't try to generate a core dump, we
might testing a cross development system.
Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
runtest script is relative to ${srcdir}, not ${rootdir}.
Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.base/signals.exp: Allow for optionality of breakpoint
address.
Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
* gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
for size_t definition.
* gdb.c++/templates.cc: Likewise
* config/mt-i386-netware: New file.
* gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
defined.
* gdb.base/Makefile.in: Added support for systems that name core
files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.
Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/return.exp: Add comment and message for `return double'
test failure on Sparc Solaris.
Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
* lib/gdb.exp (runto): Allow for optionality of breakpoint address.
Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
from optimizing them away.
* gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
patterns to include default constructors and assignment operators,
to match gcc versions beyond 2.5.8. Accept any cplus demangling
character in the output of the virtual base pointer.
Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
expression match in print_addr_of to avoid unintented matches.
* gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
versions up to 2.5.8.
Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.base/list.exp: Tweak alternate pattern for listing of an
included file to run under newer versions of expect.
* gdb.c++/demangle.exp: Add spaces to the expect patterns between
consecutive >'s in templates to accomodate recent cplus-dem.c change.
Remove xfail for the virtual table of BDDHookV.
Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
* lib/gdb.exp (string_to_regexp): Set a default result.
(default_gdb_start): Fix misleading message.
Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
Remove all CC, etc definitions.
* config/mt-hpux: New file.
* config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
(CFLAGS, LDFLAGS): Define.
* config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
* Makefile.in (site.exp): Don't insert host_os, etc.
(just-check): Just use RUNTEST with RUNTESTFLAGS only.
(distclean): Check existence of subdir.
* gdb.base/configure.in (hppa*-*-hpux*): Recognize.
* gdb.base/Makefile.in: General cleanup and simplification.
Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
to build executables. Use default rule to build .o files.
(EXPECT, RUNTEST, CC): Fix relative pathname.
(site.exp): Don't insert host_os, etc.
* gdb.base/signals.c (main): Don't call signal unless SIGALRM
and/or SIGUSR1 defined.
* gdb.base/watchpoint.c: Don't include stdio.h a second time.
* gdb.c++/Makefile.in: General cleanup and simplification.
Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
(CFLAGS): Remove.
(EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
* gdb.base/recurse.exp: Misc changes to get tests running again
after Kung's changes to the watchpoint code.
* gdb.base/watchpoint.exp: Likewise.
Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
* lib/gdb.exp (string_to_regexp): Convert {\} also.
Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
* lib/gdb.exp (default_gdb_start): Define.
* gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
gdb.base/funcargs.exp, gdb.base/opaque.exp,
gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
Don't call gdb_target_udi in between tests.
Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
(which was basically just a local version of the same thing). In
addition to avoiding duplication, gdb_test_exact is faster.
* lib/gdb.exp (gdb_test_exact): Fix typo.
* lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
* gdb.base/term.exp: Call delete_breakpoints before starting.
* gdb.base/Makefile.in (EXECUTABLES): Remove t10.
(t10): Add comment.
Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
Reorganization of the GDB Test Suite.
* gdb.base: New directory, contains all the basic tests.
* gdb.c++: New directory, tests specific to C++.
* gdb.chill: New directory, tests specific to Chill.
* gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
into appropriate new directories (t00-t17 to base, t20-t23 to c++,
t30-31 to chill).
* */gdbme.*: Rename to match appropriate expect scripts.
* gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
* gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
gdb.c++/virtfunc.cc: New names of C++ files.
* gdb.chill/chillvars.ch: New name of Chill file.
* gdb.base/configure.in, gdb.c++/configure.in,
gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
* gdb.base/Makefile.in, gdb.c++/Makefile.in,
gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
* configure.in (configdirs): Update to reflect directory changes.
(target_abbrev): No longer define for any configuration.
* Makefile.in: Cosmetic improvements to header comments.
Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
Various changes to gdb.t31:
* Makefile.in (gdbme.o): Compile with -fspecial_UC.
* gdbme.ch: Make all key-words and predefineds be upper-case.
* chillvars.exp: Expect key-words and predefinds in upper-case.
* chillvars.exp: Use gdb_test_exact many places.
Change expected output for arrays (which now includes index labels).
* pr-5020.exp, gdme.ch (module PR_5020):
New test, for PR-5020.
Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
* lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
* Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
* Makefile.in: Fix bit-rot in definitions of CHILL,
CHILL_FOR_TARGET and Chill_LIB.
* gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
* gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
CHILL, and CHILL_LIB.
Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
* Revert the previous changes. Please see Rob's directory
/lisa/test/rob/progressive/gdb/testsuite for these fixes.
Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
* Makefile.in, configure.in, config/mips-gdb.exp,
config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
changes from 94Q1.
Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
* config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
config/mt-slite, config/mt-unix, config/mt-vxworks: Add
Rob's new testing fragments.
Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
* config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
lib/gdb.exp: Replace error proc calls with perror.
Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
* gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
version also, match on casted version strings, and match on
gdb startup case where the line numbers might be messed up.
Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
* config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
(CFLAGS): Delete it from here.
Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
* gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (RUNTEST): Default to just "runtest".
Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t17/callfuncs.exp: More comments about t_func_values tests.
* gdb.t17/gdbme.c (t_func_values): Add comments about how and why
the code has been restructured.
Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/default.exp (set write): Allow any number of \r and/or
\n, not just one of each.
* gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
/bin/cc gives a warning if you do.
Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
* gdb.t24/demangle.exp: change expect pattern of
__t10ListS_link1ZUiRCUiPT0
Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
on local variables in recursive functions.
* gdb.t07/Makefile.in: Build the new test.
Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
directly. Instead compare the return values from actual calls.
Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
* Makefile.in (check): Set TCL_LIBRARY for runtest.
Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* From Peter Schauer with minor modifications.
* gdb.t15/return.exp (return_tests): Handle targets where "return"
stops in mid-line in the caller. Add xfail for returning a float
value on X86 targets.
Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
to avoid expect lossage.
(fmem_LRbug_tests): Likewise.
* gdb.disasm/hppa.s: Corresponding changes.
* gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
conditions to work with latest dejagnu/expect.
* gdb.t15/funcargs.exp (finish from indirect call): No longer
expected to fail on the PA.
(backtrace in call with trampolines): Explicitly require main
to be frame #1 (no trampolines should show up in backtrace).
* gdb.t00/default.exp: Use "exp_continue" rather than obsolete
"continue -expect".
* gdb.t06/break.exp: Likewise.
* gdb.t07/watchpoint.exp: Likewise.
* gdb.t13/bitfields.exp: Likewise.
* gdb.t15/{funcargs,return}.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* config/{mips,udi}-gdb.exp: Likewise.
* hppa.sed: Enclose comments within a sed command to avoid
losing with the old OSF1 sed.
Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
sequent dynix.
* gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
* gdb.t15/funcargs.exp: Conditionally step again to really
finish from marker_call_with_trampolines. Handle the case where
the first step from within call_with_trampolines already steps
us back to main.
* gdb.t15/gdbme.c: Add comment to closing brace of
call_with_trampolines for funcargs.exp.
Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
Fix typo(s).
Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t07/gdbme.c: More code for watchpoint testing.
* gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
"Hardware watchpoint" throughout file.
(test_watchpoint_triggered_in_syscall): New test.
(test_complex_watchpoint): New test.
Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdbme.c (call_with_trampolines): New function to try and step
into. Tests trampoline problems on the PA.
* funcargs.exp (localvars_in_indirect_call): No longer expect
stepping into indirect call to fail on PAs.
(test_stepping_over_trampolines): New test.
Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestions for static member function tests, and
completion tests.
Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestions for "p/a" tests.
* lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
the process with a simple close.
Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestions for shared library tests.
Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestions for x/s tests.
Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/help.exp: Replace most of docstrings for "tbreak",
"enable once", and "enable breakpoints once" with ".*".
Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestions about structure passing tests.
Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
the primary1 test, use work around if __GNUC__ < 2.
* gdb.t06/signals.c: Add comments for signals.exp pattern matching.
* gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
Test for bad output rather than waiting for timeout. Issue
second continue only if first continue failed.
Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
* gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
operator[] test with gdb_test because the old code didn't seem to
be getting the quoting right with the new dejagnu.
Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
* lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
one from the path.
* Makefile.in: Use a fresh expect if there is one, use runtest
from the src tree if there is one.
Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
* gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
next over recursive call. Revise the tests from that point on
(which had been skipped) to match GDB's actual (correct) output.
* gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
with next over a breakpoint whose condition is false.
* gdb.t00/help.exp: Comment out "help set print" tests just like
(and for same reason as) "help set" test.
Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/break.exp (test_next_with_recursion): Remove no longer
necessary gdb_target_udi.
* gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
* gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
1838 and 2417; they are fixed.
* gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
gdb.t03/ptype.exp (ptype structure, ptype union):
Remove xfails; the test is looser than when the xfails were added.
* gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
* gdb.t00/help.exp: Don't expect remote to be in "help target" output.
* gdb.t01/run.exp: Only run shell test if isnative.
* config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
since "run" automatically loads if necessary. Call gdb_target_udi
after the "file" since "file" kills any execution target.
* config/udi-gdb.exp (gdb_start): Don't send "set args main" to
GDB. GDB doesn't work that way (not anymore at least) on UDI.
* gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
argument for UDI.
Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
* gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
* gdb.t17/callfuncs.exp: Add xfails for rs6000.
Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
properly quoting regexps. This makes the second argument to
demangle a fixed string, which matches the callers, instead of a
shell-style pattern which is what the previous implementation
used. Update some of the callers.
Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.s (comib_tests): Add missing instruction.
(comib_nullified_tests): Fix typo.
* gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
strings. No longer expected to fail.
* gdb.disasm/hppa.s (addib_tests): Fix typo.
* gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
strings. No longer expected to fail.
* gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
string. No longer expected to fail.
Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
No longer expected to fail.
* gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
string. No longer expected to fail.
Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Remove a bunch more tests which differ
only in the names (I probably got most of them). I was even
generous with some which differed in underscores in names, and
probably missed a few, and I *still* was able to remove almost a
third of the file with almost no impact on testsuite coverage.
Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/default.exp: Match udi_attach error message as well as
the one from child_attach.
* gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
* gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
* gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
* gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
* Move test with enums and partial symbols back to
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
Reverts the change of 26 May 93. Per today's change to
stabs.texinfo, the behavior that weird.exp was expecting was
unreasonable; what is important is that the compiler+gdb get
things right, which happens with a recent gcc. Also fix the test
to deal with native compilers which put out the stab gdb can't
deal with.
Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Remove a bunch of tests which differ only
in the names. The main thing these accomplish is to slow things down.
Many more such duplicates surely remain.
* gdb.t00/help.exp: Comment out "help support" test just like
(and for same reason as) "help set" test.
Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
* gdb.t06/break.exp: Remove setup_xfails for
sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
* gdb.t20/inherit.exp (test_ptype_si): Update warning message
about known bug in gcc to include up through 2.5.8.
* gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
well as "_vb$".
* gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
with latest gcc and gdb.
* gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
well as "_vb$".
Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* configure.in (hppa*-*-*): Also configure and build stabs-only
tests.
Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.t10/hppa.mt: A makefile fragment for the PA.
* gdb.t10/configure.in (hppa*-*-*): Use it.
Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
versions prior to 1.13.5.
Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.
Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
in the copr tests now.
* gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
copr in the fpu_misc tests anymore. fpu_misc tests are no longer
expected to fail.
Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
* gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
gdb.t31/chillvars.exp, lib/gdb.exp:
Tweak to run under either version of expect.
* lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
* gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
* gdb.t11/list.exp: Remove extraneous whitespace.
Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t16/printcmds.exp (test_print_strings): Accept
"(unsigned char *) " before the string.
* TODO: Add notes about printing of fancy types and GDB expressions.
Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
* gdb.t06/configure.in: Don't try to compile signals test program
if doing mips-idt-ecoff.
Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
* Most .exp files: Tweak to run under either version of expect.
Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
xfails; I'm not sure why they are failing, but not because of PR 1806.
Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
* config/unix-gdb.exp: Remove gdb_unload cause it's already
defined in lib/gdb.exp.
Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t07/watchpoint.exp: Clear xfail for calling function with
watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
* gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
have to be typeless.
Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: Add suggestion for copyright year test.
Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (*-*-lynxos*): Add stabs tests.
Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.stabs/hppa.sed: Only lables should ever start in column zero,
so insert a tab before any assembler directive in column zero.
* gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
stores.
* gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
stores.
(fpu_short_memory_tests): Likewise.
Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
.stabs directives in comments.
Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.exp: Add kludge to force re-sync.
* gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.
Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
* lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
for info.
Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.
Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp. sed is portable and POSIX; cpp is neither.
Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
"_vb$".
* gdb.t00/teststrategy.exp: Add xfail for RS/6000.
* gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* lib/gdb.exp: Comment out code which depends on non-existent
`transform' procedure.
Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
* lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
* lib/gdb.exp: Transform tool name.
* gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1.1's new error handling system.
Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/default.exp: Avoid tests with a lot of .* in them.
They made pattern matching so slow that timeouts happened on
heavily loaded systems. Now any output from "show print" which
gets us back to the GDB prompt is a PASS.
Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
* gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
* gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
It is not from PR 3220.
Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
just started failing because they depended on the order the
subcommands are presented, or exact docstring text. This kind of
test is a pain and has minimal benefit.
Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t09/corefile.exp: At end of test, use "core" command with
no arguments.
Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
* gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
17}/Makefile.in: Make it possible to run the testsuite with Sun
make and CC = cross gcc by adding explicit build rules for .o
files.
Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t15/funcargs.exp: Don't put comments on same line as
setup_xfail (@#$*%& tcl braindamage!).
Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
* gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
* gdb.t20/inherit.exp: remove three dumplicate entries.
Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t06/break.exp: For "next over recursive call", fail on any
incorrect output, not just on "factorial (value=2)".
Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
working now. Add an xfail if accesing a bss variable causes
a memory error if the target is not yet run.
Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
name of __st* demangling (2 strings). Did Kung really get the
more than 95 others right without testing them?
Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
* gdb.t24/demangle.exp: clean up XFAILS, more than 100
Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/help.exp: Don't test "help set".
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements. None of these happen anymore and
they cause regressions to be silently unnoticed.
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.
* gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
comp-info.exp so it gets built if it doesn't exist.
* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
it is no longer used.
* gdb.t13/comp-info.c: Removed.
Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
* gdb.t06/signals.exp: Add xfail for sun3.
Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
relevant because ^C doesn't get sent but failure can be reproduced
interactively).
Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.stabs/alpha.mt: New configuration file for alpha.
* gdb.stabs/configure.in: Use it.
* gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
sharing with alpha.mt, redefine long to word via preprocessor.
* gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
for alpha.
* gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
native cc.
* gdb.t00/teststrategy.exp: Change expect string so that we
consume the `(xgdb)' from the command echo and from the gdb prompt.
* gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
gdb currently compares all values as long, so this failure probably
applies to any configuration where LONGEST is bigger than a target int.
* gdb.t08/comp-info.c: New file to determine if gdbme is compiled
with gcc.
* gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
to handle opaque pointers, gcc is.
* gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
as first argument. Include <sys/types.h> and change all operator
new definitions to use size_t.
* gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
now that we use size_t.
Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
a long or float array cast all array members to the same type.
* gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
with 64 bit longs.
* gdb.t07/watchpoint.exp: Add finish and until variations encountered
on alpha.
* gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24 (demangle.exp): Constructors of templates have names like
vector<int>::vector(int) not vector<int>::vector<int>(int). See
section 14.6 of the ARM.
* gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
"_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
accomplish little and slow down the testsuite.
* gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
Accept spaces various places.
Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
with watchpoint enabled.
* Makefile.in: Remove definition of CC and remove the second
definition of CXX (the "CXX = gcc" one remains). These definitions
were causing backquotes to be expanded within backquotes, which
doesn't work.
Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
* gdb.t17/callfuncs.exp: Add "return 0" to end.
Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.stabs/ecoff.mt: Remove STABSCC hack.
* gdb.stabs/weird.exp: Handle the case where weird.o is compiled
by mips cc and contains no stabs entries.
Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
* config/vx-gdb.exp: Use fake device to load files rather than
NFS.
* lib/gdb.exp: New proc to do "file" command.
* config/unix-gdb.exp: Use new "file" proc.
Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
Rework board rebooting slightly.
(gdb_exit): Don't exit from the remote shell; there isn't one.
* gdb.stabs/weird.exp: If a program is being debugged already,
kill it.
* gdb.t04/setvar.exp: Stop and restart gdb.
* gdb.t05/expr.exp: Likewise.
* gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
restart gdb and reload the program.
* gdb.t08/opaque.exp: Likewise.
* gdb.t12/scope.exp: Likewise.
* gdb.t13/bitfields.exp: Likewise.
* gdb.t15/funcargs.exp: Likewise.
* gdb.t20/classes.exp: Likewise.
* gdb.t03/ptype.exp: Increase timeout.
* gdb.t16/printcmds.exp (test_print_string_constants,
test_print_array_constants): Likewise.
* gdb.t17/callfuncs.exp (do_function_calls): Likewise.
* gdb.t20/classes.exp (do_tests): Likewise.
* gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
* gdb.stabs: Renamed *wierd* to *weird*.
Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
* gdb.t13/bitfields.exp: Test for bad output rather than waiting
for timeout. Add "known gcc 2.4.5 bug" to failure message.
Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
* gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
(do_tests): Remove xfail for whatis on one_var and two_var.
Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
* Makefile.in: Made cross building work better by adding
{RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.
Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
* config/udi-gdb.exp: gdb_exit now kills any isstip processes
still running and removes the leftover named socket so GDb can do
clean restarts.
Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
* gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
console, not GDB.
* config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
cross testing works better with "make check"
* config/unix-gdb: Use default procedures for exit and version.
* config/vx-gdb.exp: Cleaned up and massaged back to working order
with the newest VxWorks.
Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t20/classes.exp: For "ptype class Base1", continue to accept
old form.
* gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
* gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
* config/unix-gdb.exp: Remove this version of gdb_exit
* lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
Rob says he'll look at it when he gets back to testing boards.
Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
* gdb.t22/virtfunc.exp: Accept missing struct/class names as
an expected fail for certain ptype commands.
* gdb.t20/classes.exp: Update expected results of "ptype class
Base1" to account for the constructor that now appears in the type.
Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
* configure.in (configdirs): Restore gdb.t04, which mysteriously
disappeared from list.
* config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
"alldone" proc with call to cleanup and exit.
* {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
"alldone" proc with simple returns that suppress remaining
tests. The alldone proc went away many months ago.
Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
* gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t15/funcargs.exp: Allow arguments for main in backtraces
as vax gdb will display them.
Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.
* scope.exp: Change "bad value for localval" messages so each one
is unique.
* config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.
* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).
Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.
* gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.
Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
Ultrix.
* gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
int tests.
* gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
* Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
* gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
to match does not match the passing case but still matches the
failing case.
Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
* lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
* config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
Remove various versions of gdb_exit.
* config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
gdb_exit.
* config/unix-gdb.exp: gdb_exit remains here, and should override
the generic version, since it's doing a lot of wierd stuff that
the other versions aren't. FIXME, fold it in, or abandon this
version.
Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Add tests for PR 3220.
Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
* gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
"i386-*-*". Works for i486 as well.
* gdb.t06/signals.exp: Rework code that recognizes known SVR4
bug, and expand domain of xfail to all SVR4 systems, since the
actual problem is likely to be in generic SVR4 /proc support.
Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
* gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
xfails for other systems. Match a missing 'Continuing.' as an
explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
* gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
Only issue warning for missing executables if -all option is used.
* gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
file if -all option is used. It's like an unpredictable XFAIL.
Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t15/funcargs.exp: Add comments that hppa xfails are only
for dynamically linked binaries.
* gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t20/inherit.exp: Change message for "print tagless struct"
to state that this is a known bug in old versions of g++.
Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
while waiting for `Continuing'.
Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
* gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
in text, data, and bss.
* gdb.t10/nodebug.c: Add local and global test variables for
initialized and uninitialized data.
Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/unix-gdb.exp (gdb_exit): Add "wait".
Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t06/signals.exp: xfail the continue from the handler for all
targets.
* gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
function with watchpoints enabled, the i386 call dummy starts with
a call.
* gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
386 bsd names its corefiles.
Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
* gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
compilers don't grok it.
* gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
with small octal ints rather than character constants, which
are signed and might not fit if first promoted to int.
Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
* gdb.t09/Makefile.in (clean): Remove corefile.
Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t07/watchpoint.exp: Add missing `$prompt $'.
Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
and Jim Kingdon (kingdon@cygnus.com)
* gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t17/interrupt.exp: Add xfail for hppa.
Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
* gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
to determine signed-ness of bitfields and use the result to setup
the xfail.
* gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
* gdb.t15/funcargs.exp: Use them to step until the second indirect
call line is reached if necessary.
Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/break.exp: Also test `clear' command.
Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
* gdb.t00/teststrategy.exp: Remove extra quote.
* gdb.t07/watchpoint.exp: Change xfail for calling function with
watchpoint enabled to be for all non-68k machines.
* gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
targets use aout.mt instead of ecoff.mt as gas understands
standard aout format.
Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
* lib/gdb.exp (runto): Don't insist that function we are running to
was compiled with -g.
* gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
* gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
to get back into the read system call.
Accept leading newline in case where we woke it up.
Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
to make the stabs test work on ecoff systems using gcc and -with-stabs.
* gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
enable ecoff configuration.
Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t16/printcmds.exp: Add another printf test.
Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
* configure.in: If configured -with-stabs on any target, add
stabsdirs to configdirs.
Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
fun" so pattern does not match the command itself.
Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t17/interrupt.exp: Test for more things.
Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
compiler arranges the code and line numbers.
* gdb.t17/interrupt.exp: Don't send \n after ^C.
Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t00/help.exp: Increase expect input buffer size.
Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
* gdb.t07/watchpoint.exp: Add xfail for hppa.
* gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
* gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
[0-9]*, not just [0-9].
Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
* gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.c: Add xfails for sun3.
* gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
* gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
test_stepping tests.
Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t{06,17}/Makefile.in (clean): Remove all executables.
* gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
* gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.
* gdb.t06/signals.exp: Add xfails for unixware and rs6000.
Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
* config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.
Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
* gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
C++ features prints as "struct", make it a pass, not an xfail.
Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t22/virtfunc.exp: Remove a bunch of xfails.
Don't require VA to print as "class" rather than "struct".
Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.t06/twice.exp: Don't care about the file name GDB prints.
Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
order.
Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t16/printcmds.exp: Add printf tests.
* gdb.t06/{twice.{c,exp},Makefile.in}: New test.
* gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
* gdb.t20/classes.exp: Add clear_xfail's before printing summary
pass counts, to counteract any existing or future setup_xfails.
Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
* gdb.stabs/wierd.exp: Add xfail for rs6000.
* gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
wierd-aout.S: Use a label for the value of the N_SO.
wierd.def: Remove all backslashes.
wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.
Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.
Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
* gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.
Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
* gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".
Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
* gdb.t01/run.exp: Start with a fresh gdb.
* gdb.t11/list.exp: For SVR4 xfails, match on all versions of
SVR4.x.
Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
* {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
Makefile.in (distclean, realclean): Remove gdbme.c from list of
things to remove.
Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
* gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
* gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp: Add clear_xfails at appropriate places to
avoid spurious xfails.
* gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
* gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/teststrategy.exp: Rework to provide more useful
description of each test, fix problem with systems that define
ALIGN_STACK_ON_STARTUP code, other misc cleanups.
* gdb.t06/break.exp (test_next_with_recursion): Fix expected
results for "next over recursive call" so timeouts aren't taken
by error.
Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.t12/scope.exp: Test printing of variables before run.
* gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/teststrategy.exp: Fix expected results for printing
user entered string constant. Is array of char, prints with no
address.
* gdb.t00/{default.exp, help.exp}: Account for changes to radix
commands.
* gdb.t16/gdbme.c: Add and use struct containing arrays of char.
* gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
* gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
of struct of char arrays.
* gdb.t00/radix.exp: New tests for radix commands.
Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.t16/printcmd.exp: Print a variable before running program
(with xfail for AIX).
Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
* gdb.t16/printcmd.exp: Don't print variables before running program.
* gdb.t06/break.exp: Don't require envp argument to main.
* gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
* gdb.t02/whatis.exp, gdb.t11/list.exp:
Add xfails for rs6000.
* gdb.t02/whatis.exp: Change other tests not to re-test something
we already tested.
* gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
each type used has a variable of that type.
Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
* gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
* configure.in: change srctrigger to be a file, not a directory
Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
* configure.in (mips-idt-ecoff*): Added trailing '*'.
* gdb.t11/list.exp: Fixed a couple of typos.
Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
is fixed and PR is closed.
* gdb.t16 (gdbme.c): Add simple test string variable.
* gdb.t16 (printcmds.exp): Add tests with simple test string
variable, primarily for boundaries on "set print elements".
Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.stabs/wierd.exp: Remove xfail for printing big integer.
Make leading 0's optional and don't expect a tab in the middle
of the number.
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
* gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
don't end command passed to gdb_test with newline.
* gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.
* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
printing with only as many 1's as are in the field as well as printing
with 32 1's (see comment).
Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/default.exp: Start with a fresh gdb.
* configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again. It no longer is able to find chillrt0
since it isn't in libchill.a anymore.
* gdb.stabs/wierd.exp: Rewrite to properly handling a missing
wierd.o, make more modular.
* gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
spurious newlines that caused problems.
Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
gdb.stabs/wierd.{exp,def}: Many new tests.
* gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
Test that "char *" doesn't print as "caddr_t".
Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
gdb.t00/default.exp: Update "info frame" test for new message.
* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.t03/{gdbme.c,ptype.exp}:
Add tests for typedef'd struct and union without tags.
Also check "whatis" on a variable of a typedef'd enum without a tag.
* gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
PRMS 1823; the bug still exists but isn't reproduced by this test
anymore), and remove rs6000 XFAIL (the bug is fixed).
* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
duplicated from whatis.exp. For those that are left, accept
"long", "long int", or "int" for long variables (whatis.exp already
has an XFAIL for "int", so no need to fail it here).
* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
Deal with GCC's names for types now that GDB uses the compiler's names.
* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
setup_xfail's for sunos4. If we #defined the signed keyword away,
don't expect GDB to know that char it is signed.
* gdb.t00/teststrategy.exp: Update for symbolic signal names.
Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
* configure.in (configdirs): Add gdb.t24 for C++ tests that
should work on any system, regardless of debugging format.
* gdb.t21/demangle.exp: Move to gdb.t24.
* gdb.t24/demangle.exp: Move from gdb.t21.
* gdb.t24/{Makefile.in, configure.in}: New files.
Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* configure.in: Do gdb.stabs and C++ tests only for stabs.
* gdb.stabs: New directory.
Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
not just "Quit anyway?".
Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
* gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
that all setup_xfails are immediately followed by clear_xfails.
Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
* config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
gdb.t31/chillvars.exp, lib/gdb.exp:
Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
bug-gdb@prep.ai.mit.edu.
Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
* gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
with 0.0, not integer 0.
Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
* gdb.t06/break.exp: Update for "Kill the program" message change.
Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
* Makefile.in (GDBFLAGS): Set to -nx.
* Makefile.in (site.exp): Use GDBFLAGS.
Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
* */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
Makefiles.
(check): depend on just-check.
(just-check): added so that tests can be run without a noop
build pass.
Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
Switch to using configure's configdirs.
* Makefile.in (Makefile): add configure.in dependency.
(SUBDIRS): removed redundant assignment.
* configure.in: switch subdirs assignment to configdirs.
* gdb.t*/configure.in: new files.
Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
* gdb.t07/watchpoint.exp: Removed a29k expected failure which now
works.
Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
* gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
in explicit rules. Apparently this is not supported by some makes.
Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
* gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/unix-gdb.exp: Add back missing return 0 which mysteriously
disappeared.
Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
* gdb.t31/Makefile.in: Avoid $< in explicit rule.
Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
* gdb.t07/watchpoint.exp: Remove setup_xfail for i486
watchpoint problem that is now fixed.
* gdb.t30/chexp.exp: Remove setup_xfail for printing
uninitialized convenience variables.
* gdb.t31/chillvars.exp: Fix expected patterns for printing
structures.
Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
which causes expect to get out of sync with gdb on long output
from help set.
* gdb.t09/corefile.exp: Make expected pattern for core file
failing signal and frame output format less sun specific.
Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
* gdb.t31/chillvars.exp: Add and remove initial dummy
breakpoint, so that symbol table is forced in.
(Needed at least on Sunos4, though it seems not SVR4.)
* gdb.t31/chillvars.exp: Update for changed output format.
Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
* config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
* Makefile.in: Added --srcdir when invoking runtest, removed the
need for a local config file. (optional now)
Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
* gdb.t21/demangle.exp: Only count real fails (not xfails) for
failure count used to force early termination. Add some more
expected failures for gnu style demangling.
Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
pmi variable from gdb.t20/gdbme to get optimized away.
* gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
Check for written corefile upon timeout _and_ eof.
Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* config/unix-gdb.exp: Add missing return 0.
Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
test termination.
Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
* configure.in (subdirs): Put back gdb.t17 which mysteriously
disappeared.
Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
* gdb.t10/crossload.exp: Disable the i860-elf test until such
time as i860 support works.
* gdb.t15/funcargs.exp: Fix expected outputs to include
"backtrace 100\r" rather than just "backtrace\r", to match last
change.
Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
* config/udi-gdb.exp (gdb_exit): Remove close command.
(gdb_target_udi): New procedure to set the UDI target.
(gdb_start): Don't remove *_soc files. Use gdb_target_udi.
* gdb.t00/default.exp: Added expected failures for a29k-*-udi.
Added waits for prompts after several question responses. Added
some more responses used by a29k-amd-udi-gdb.
* gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
pass different arguments, restart UDI connection after program
completion.
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
* gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
after program completion.
* gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
compiled with a SELECT_VECS setting.
* gdb.t15/funcargs.exp: Use argument to backtrace to prevent
infinite recursion.
* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
Added checks for COFF results, and made them expected failures for
all targets. It would be better to make them expected failures
for COFF targets only.
Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
* Makefile.in: add null dvi target, don't bother to recurse
through test directories for info and install-info; rename
$(datadir) to be dejagnu instead of deja-gnu
Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
* gdb.t31/gdbme.ch: Re-enable code that previously caused
compiler to coredump.
* gdb.t31/chillvars.exp: Re-enable tests that depend on that
code.
Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
* gdb.t31/gdbme.ch: Comment out code that causes chill compiler
coredump.
* gdb.t31/chillvars.exp: Comment out tests that depend on that
code.
Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
* gdb.t03/ptype.exp: tests for return code from gdb_test.
* gdb.t00/teststrategy.exp: Uses which proc rather than spawning
which in a shell. Deletes xgdb when done.
* config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
Tests the return from the "set height" or "set width" commands.
Added a few return codes where needed.
Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
* Makefile.in (SUBDIRS): Add gdb.t17.
* configure.in (subdirs): Add gdb.t17.
* gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
files to test gdb's calling of functions in the inferior with
the correct arguments and gdb's ability to retrieve any
result returned.
Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
* config/unix-gdb.exp (gdb_exit): Remove close commands that
may be called after gdb goes away. Previous versions of expect
needed these to avoid file descriptor leaks, but they cause
errors with the current revision of expect.
* gdb.t00/gdbvars.exp: Use -re on expected output after
setting sevenbit-strings.
* gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
to set sevenbit-strings consistent across tests.
gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
set sevenbit-strings consistent across tests.
Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
* gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
expected output to match current "expect" expectations.
Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/default.exp: Change expected output for default "source"
command, to match new gdb behavior which requires a filename to
source.
Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
* gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
expected fail for i486-*-* that misses the marker2 function.
* gdb.t10/crossload.exp (bfddefault): Allow successful
recognition of a format to pass even if no symbols are found.
Explicitly catch failures where the format is not recognized
or is ambiguous, and add the reason to the fail message.
* gdb.t10/crossload.exp (bfdexplicit): Catch failure where
the cause is and invalid target and add reason to failure message.
* gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
elf32-i386, elf32-sparc, and elf32-i860.
* gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
Set up expected failure for 'filename'::variable scope resolution,
which is now apparently broken on all targets.
* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
gdb.t23/templates.exp: Change failure for missing binfile into
just a warning.
gdb.t21/demangle.exp: Change all cfront references to 'arm'
references.
Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/default.exp: Add expected output for default "source"
command, to match new gdb behavior.
* gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
* config/*-gdb.exp: returns an error, rather than exiting on
internal errors.
Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
* gdb.t03/gdbme.c: Add pointer to struct variable.
* gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
referencing struct members.
Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
* configure.in (mips-idt-ecoff): New target.
* config/mips-gdb.exp: New file for remote board using MIPS remote
debugging protocol.
* Redid configuration scheme. Removed gdb.t*/configure.in.
Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
distclean targets. Built executables via .o files. Adjusted
tests to account for source files in $(srcdir) rather than
$(objdir).
* lib/gdb.exp (runto): Don't expect () after the function name,
because it may have arguments.
Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
* gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
expected failures for mips-idt-* and mips-sgi-*.
* gdb.t00/default.exp (attach): Kill process if requested.
* gdb.t00/help.exp (help target core, help target): Accept a gdb
that does not read core files.
* gdb.t01/run.exp: Removed checks for exit status code.
* gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
it is linked in.
* gdb.t03/ptype.exp: Increase timeout when calling malloc.
* gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
appropriate, rather than doing it by hand.
* gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
execution.
* gdb.t10/crossload.exp: Kill existing program if needed.
* gdb.t15/funcargs.exp: Use delete_breakpoints function where
appropriate, rather than doing it by hand. Always increase
timeout for this test, not just for VxWorks.
Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
* gdb.t31/chillvars.exp (test_structs): New proc to test printing
of Chill STRUCT types and STRUCT values.
* gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
than "char".
* gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
struct2): New struct definitions and initializations to test
simple Chill STRUCT types.
Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
* gdb.t00/teststrategy.exp: Track reversion in gdb to not print
the null byte at the end of strings.
* gdb.t00/default.exp: Make show version insensitive to copyright
date.
* gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
to avoid dependencies on target char signedness.
* gdb.t16/printcmds.exp: Update expected results for explicitly
unsigned char.
* gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
now work.
* gdb.t21/demangle.exp: Add many more patterns for template
demangling, most of them being expected failures.
* gdb.t21/demangle.exp (proc demangle): Quote the demangled
string we are matching for, to match on the whole string.
* gdb.t21/demangle.exp: Add many new test strings to demangle,
and fix a whole bunch that had incorrect expected output but were
passing anyway because of the bug in "proc demangle".
* gdb.t31/chillvars.exp: Remove setup_xfail for printing string
type.
* gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
* gdb/testsuite: made modifications to testcases, etc., to allow
them to work properly given the reorganization of deja-gnu and the
relocation of the testcases from deja-gnu to a "tool" subdirectory.
Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
* gdb/testsuite: Initial creation of gdb/testsuite.
Migrated dejagnu testcases and support files for testing nm to
gdb/testsuite from deja-gnu. These files were moved "as is"
with no modifications. This migration is part of a major overhaul
of dejagnu. The modifications to these testcases, etc., which
will allow them to work with the new version of dejagnu will be
made in a future update.
Local Variables:
mode: indented-text
left-margin: 8
fill-column: 74
version-control: never
End:
|