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
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
|
2011-12-27 Joel Brobecker <brobecker@adacore.com>
* gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
New files.
2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy FAILs.
* gdb.threads/fork-thread-pending.c (barrier): New variable.
(thread_function, thread_forker): Call pthread_barrier_wait for it.
(main): Call pthread_barrier_init for it.
2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix double send_gdb leading to racy FAILs.
* gdb.base/break.exp (set silent break bp_location1): Replace
3x send_gdb and gdb_expect by gdb_test.
* gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
* gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
(vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
instead of send_gdb. Twice.
* gdb.base/sepdebug.exp (set silent break bp_location1): Replace
3x send_gdb and gdb_expect by gdb_test.
* gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.linespec/linespec.exp: Compile using {c++}.
2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
(print destructor of template typedef): Extend it for gcc/51668 XFAIL.
(verify GCC PR debug/51668): New test.
2011-12-23 Kevin Pouget <kevin.pouget@st.com>
Introduce gdb.FinishBreakpoint in Python.
* Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
py-finish-breakpoint2
(MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
* gdb.python/py-breakpoint.exp (mult_line): Define and use variable
instead of line number.
* gdb.python/py-finish-breakpoint.c: New file.
* gdb.python/py-finish-breakpoint.exp: New file.
* gdb.python/py-finish-breakpoint.py: New file.
* gdb.python/py-finish-breakpoint2.cc: New file.
* gdb.python/py-finish-breakpoint2.exp: New file.
* gdb.python/py-finish-breakpoint2.py: New file.
2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Partial fix of compatibility with gcc-4.7.
* gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
into XFAIL "new without size_t". Permit size_t for the KFAIL case.
Add comment to add a PASS case in the future.
Fix compatibility with gcc-4.7.
* gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
PR tdep/12797
* gdb.base/callfuncs.exp: Remove KFAIL.
2011-12-21 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/task_bp: New testcase.
2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/reread.exp: If srcfile2 fails to build retry it with
-DNO_SECTIONS.
* gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
PR gcc/45997 XFAIL conditional for gcc <= 4.5.
* gdb.python/py-type.exp (python print ttype.template_argument(2)):
Change PR gcc/41736 to the more specific PR gcc/46955. Make it
conditional for gcc <= 4.5.
2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
by XFAIL.
* gdb.cp/static-method.exp (info addr A::func())
(list static-method.cc:xxx::(anonymous namespace)::A::func)
(list 'static-method.cc:xxx::(anonymous namespace)::A::func')
(list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
(list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
* gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
(test value of F in k3_m): Likewise.
* gdb.python/py-type.exp (python print ttype.template_argument(2)):
Likewise.
2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
(*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
Remove.
* gdb.threads/attachstop-mt.c: Remove.
* gdb.threads/attachstop-mt.exp: Remove.
2011-12-17 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
2011-12-16 Doug Evans <dje@google.com>
* boards/native-stdio-gdbserver.exp: New file.
* boards/native-gdbserver.exp: New file.
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
gdbserver output.
(gdbserver_default_get_remote_address): New function.
(gdbserver_start): Call gdb,get_remote_address to compute argument
to "target remote" command.
2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-function.exp: Change "on" to "full" for
python print-stack. Add set/show python print-stack
off|full|message tests.
2011-12-15 Yao Qi <yao@codesourcery.com>
* gdb.trace/strace.c: New
* gdb.trace/strace.exp: New.
2011-12-14 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
2011-12-14 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_start_cmd): Fix error return value.
2011-12-14 Pedro Alves <pedro@codesourcery.com>
PR threads/10729
* gdb.mi/watch-nonstop.c: New file.
* gdb.mi/mi-watch-nonstop.exp: New file.
2011-12-13 Pedro Alves <pedro@codesourcery.com>
Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
(clean_restart): Remove references to the gdb_stub target board
variable.
(gdb_step_for_stub): Delete.
* gdb.base/annota1.exp: Remove all references to [target_info
exists gdb_stub], gdb_step_for_stub and usestubs.
* gdb.base/annota3.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/code-expr.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/cvexpr.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/gnu-ifunc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/pending.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/unload.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.dwarf2/dw2-inline-param.exp: Ditto.
* gdb.hp/gdb.compat/xdb1.exp: Ditto.
* gdb.mi/mi-pending.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
* gdb.base/list.exp: Ditto.
* gdb.base/all-types.c: Remove all calls to set_debug_traps and
breakpoint function and all references to the usestubs macro.
* gdb.base/exprs.c: Ditto.
* gdb.base/freebpcmd.c: Ditto.
* gdb.base/bitfields.c: Ditto.
* gdb.base/bitfields2.c: Ditto.
* gdb.base/break.c: Ditto.
* gdb.base/call-sc.c: Ditto.
* gdb.base/call-signals.c: Ditto.
* gdb.base/callfuncs.c: Ditto.
* gdb.base/charset.c: Ditto.
* gdb.base/consecutive.c: Ditto.
* gdb.base/constvars.c: Ditto.
* gdb.base/funcargs.c: Ditto.
* gdb.base/int-type.c: Ditto.
* gdb.base/interrupt.c: Ditto.
* gdb.base/langs0.c: Ditto.
* gdb.base/list0.c: Ditto.
* gdb.base/mips_pro.c: Ditto.
* gdb.base/miscexprs.c: Ditto.
* gdb.base/nodebug.c: Ditto.
* gdb.base/opaque0.c: Ditto.
* gdb.base/pointers.c: Ditto.
* gdb.base/printcmds.c: Ditto.
* gdb.base/ptype.c: Ditto.
* gdb.base/recurse.c: Ditto.
* gdb.base/reread1.c: Ditto.
* gdb.base/reread2.c: Ditto.
* gdb.base/restore.c: Ditto.
* gdb.base/return.c: Ditto.
* gdb.base/run.c: Ditto.
* gdb.base/scope0.c: Ditto.
* gdb.base/sepdebug.c: Ditto.
* gdb.base/setshow.c: Ditto.
* gdb.base/setvar.c: Ditto.
* gdb.base/sigall.c: Ditto.
* gdb.base/signals.c: Ditto.
* gdb.base/structs.c: Ditto.
* gdb.base/structs2.c: Ditto.
* gdb.base/testenv.c: Ditto.
* gdb.base/twice.c: Ditto.
* gdb.base/unwindonsignal.c: Ditto.
* gdb.base/watchpoint.c: Ditto.
* gdb.base/watchpoints.c: Ditto.
* gdb.base/whatis.c: Ditto.
* gdb.cp/classes.cc: Ditto.
* gdb.cp/cplusfuncs.cc: Ditto.
* gdb.cp/derivation.cc: Ditto.
* gdb.cp/formatted-ref.cc: Ditto.
* gdb.cp/misc.cc: Ditto.
* gdb.cp/overload.cc: Ditto.
* gdb.cp/ovldbreak.cc: Ditto.
* gdb.cp/ref-params.cc: Ditto.
* gdb.cp/ref-types.cc: Ditto.
* gdb.cp/templates.cc: Ditto.
* gdb.cp/virtfunc.cc: Ditto.
* gdb.hp/gdb.aCC/run.c: Ditto.
* gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
* gdb.hp/gdb.compat/xdb0.c: Ditto.
* gdb.reverse/consecutive-reverse.c: Ditto.
* gdb.reverse/sigall-reverse.c: Ditto.
* gdb.reverse/until-reverse.c: Ditto.
* gdb.reverse/watch-reverse.c: Ditto.
* gdb.trace/actions.c: Ditto.
* gdb.trace/circ.c: Ditto.
* gdb.trace/collection.c: Ditto.
2011-12-13 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
(func6, func7): New.
(main): Call func6 and func7.
* gdb.base/watchpoint.exp (test_wide_location_1)
(test_wide_location_2): New.
(top level): Re-enable hardware watchpoints if necessary. Call
test_wide_location_1 and test_wide_location_2.
2011-12-11 Yao Qi <yao@codesourcery.com>
* gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
2011-12-11 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
expected output for unsupported case.
2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
PR testsuite/12649
* gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
Protect gdb_test_multiple by final $gdb_prompt match.
2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
New variable, new test.
(list static-method.cc:xxx::(anonymous namespace)::A::func)
(list 'static-method.cc:xxx::(anonymous namespace)::A::func')
(list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
(list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
them if HAVE_GCC_45682_FIXED is not set.
2011-12-10 Yao Qi <yao@codesourcery.com>
* gdb.trace/status-stop.exp: New.
* gdb.trace/status-stop.c: New.
2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.reverse/until-precsave.exp (run to end of main) Extend the
timeout.
2011-12-08 Tom Tromey <tromey@redhat.com>
* gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
condition.
2011-12-07 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfind.exp: Update for output changes.
2011-12-07 Pedro Alves <pedro@codesourcery.com>
* gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
throws "Cannot insert catchpoints in this configuration".
* gdb.ada/mi_catch_ex.exp: Likewise.
2011-12-06 Pedro Alves <pedro@codesourcery.com>
* gdb.base/break-always.exp: Test changing memory at addresses
with breakpoints inserted.
2011-12-06 Joel Brobecker <brobecker@acacore.com>
* gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
involving a fully qualified function name.
2011-12-06 Tom Tromey <tromey@redhat.com>
* gdb.ada/homonym.exp: Add three breakpoint tests.
2011-12-06 Tom Tromey <tromey@redhat.com>
* gdb.base/solib-weak.exp (do_test): Remove kfail.
* gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
* gdb.objc/objcdecode.exp: Update for output changes.
* gdb.linespec/linespec.exp: New file.
* gdb.linespec/lspec.cc: New file.
* gdb.linespec/lspec.h: New file.
* gdb.linespec/body.h: New file.
* gdb.linespec/base/two/thefile.cc: New file.
* gdb.linespec/base/one/thefile.cc: New file.
* gdb.linespec/Makefile.in: New file.
* gdb.cp/templates.exp (test_template_breakpoints): Update for
output changes.
* gdb.cp/re-set-overloaded.exp: Remove kfail.
* gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
makes one breakpoint.
* gdb.cp/method2.exp (test_break): Update for output changes.
* gdb.cp/mb-templates.exp: Update for output changes.
* gdb.cp/mb-inline.exp: Update for output changes.
* gdb.cp/mb-ctor.exp: Update for output changes.
* gdb.cp/ovsrch.exp: Use fully-qualified names.
* gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
has multiple matches.
* gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
error message change.
* gdb.base/list.exp (test_list_filename_and_number): Update for
error message change.
* gdb.base/break.exp: Disable pending breakpoints. Update for
output changes.
* configure.ac: Add gdb.linespec.
* configure: Rebuild.
* Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
last_break register on s390*-*-* targets.
2011-12-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
* gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
of parameter X in procedure Foo.
2011-12-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfind.exp: Update help string matches.
2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.server/ext-run.exp (get process list): Accept also systemd
as PID 1.
2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
* gdb.base/break-entry.exp: Move the target use_gdb_stub test before
starting GDB.
* gdb.base/default.exp: Replace target use_gdb_stub checks by global
$use_gdb_stub.
* gdb.base/display.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
* gdb.base/list.exp (test_listsize): Likewise.
* gdb.base/setshow.exp: Likewise.
* gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
* lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
check by global $use_gdb_stub.
(gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
(default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
(default_gdb_init): Unset global $use_gdb_stub.
(gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
by global $use_gdb_stub.
* lib/gdbserver-support.exp: Extend comments for set_board_info
gdb_protocol and gdb,socketport.
(gdbserver_start_extended): Set global gdbserver_protocol and
gdbserver_gdbport. Clear global use_gdb_stub.
* lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
from target use_gdb_stub.
(mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
2011-12-03 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
(gdb_step_for_stub): Add comments.
2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
* lib/gdb.exp (gdb_expect): Pass all the exception conditions up
to the caller.
(gdb_test_multiple): Likewise.
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix gdb.mi/mi-solib.exp without system debug info installed.
* lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
expect attribute, return 0 for it. Update comments.
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
(corrupted list): Adjust the expectation.
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
PR threads/13448
* gdb.dwarf2/dw2-var-zero-addr.S: New file.
* gdb.dwarf2/dw2-var-zero-addr.exp: New file.
* gdb.threads/tls-var-main.c: New file.
* gdb.threads/tls-var.c: New file.
* gdb.threads/tls-var.exp: New file.
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
PR testsuite/12649
* gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
Protect gdb_test_multiple by final $gdb_prompt match.
* gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
* gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
(test_tracepoints): Likewise.
2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
PR breakpoints/13346
* gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
* gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
* gdb.dwarf2/dw2-objfile-overlap.exp: New file.
2011-12-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
* gdb.ada/homonym/homonym.adb: For use of all types defined
locally inside both Get_Value subprograms.
2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy FAILs.
* gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
of send_gdb.
2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/testenv.exp: Skip on remote targets. Unset global
environment variable after test completed.
2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/solib-nodir.exp: Skip if remote target.
* gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
application. Call gdb_load_shlibs.
* gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
2011-11-29 Joel Brobecker <brobecker@adacore.com>
* gdb.base/infoline.c, gdb.base/infoline.exp: New files.
2011-11-28 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fullname_bp: New testcase.
2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
PR testsuite/12649
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
Wrap send_gdb into a new gdb_test.
Code cleanup.
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
Convert send_gdb and gdb_expect to gdb_test_multiple.
2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
2011-11-23 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp (varobj_tree): New namespace and procs.
(mi_varobj_tree_test_children_callback): New proc.
(mi_walk_varobj_tree): New proc.
2011-11-22 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
Add "use_mi_command" argument.
(mi_run_cmd, mi_run_with_cli): New procs.
* gdb.mi/solib-lib.c: New file.
* gdb.mi/solib-main.c: New file.
* gdb.mi/mi-solib.exp: New file.
2011-11-21 Doug Evans <dje@google.com>
* gdb.cp/nextoverthrow.exp: Skip test if debug info for
_Unwind_DebugHook is missing.
2011-11-20 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tstatus.exp: New.
* gdb.trace/actions.c: Include string.h.
2011-11-18 Yao Qi <yao@codesourcery.com>
* gdb.trace/pending.exp: New.
* gdb.trace/pending.c: New.
* gdb.trace/pendshr1.c: New.
* gdb.trace/pendshr2.c: New.
* gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
tracepoint location becomes pending.
(tracepoint_change_loc_2): New.
2011-11-16 David S. Miller <davem@davemloft.net>
* lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
target is sparc*-*-linux*
2011-11-15 Paul Koning <paul_koning@dell.com>
* gdb.python/py-type.exp: New testcases for exceptions on scalar
types.
2011-11-14 Doug Evans <dje@google.com>
* gdb.base/shell.exp: New file.
2011-11-14 Stan Shebs <stan@codesourcery.com>
* gdb.trace/ftrace.c: New.
* gdb.trace/ftrace.exp: New.
2011-11-14 Yao Qi <yao@codesourcery.com>
* gdb.trace/change-loc-1.c: New.
* gdb.trace/change-loc-2.c: New.
* gdb.trace/change-loc.c: New.
* gdb.trace/change-loc.exp: New.
* gdb.trace/change-loc.h: New.
* gdb.trace/trace-break.c (marker): Define new symbol.
* gdb.trace/trace-break.exp (break_trace_same_addr_5):
New.
(break_trace_same_addr_6): New.
2011-11-12 Matt Rice <ratmice@gmail.com>
* gdb.base/info-macros.exp: Make tests for info definitions
test info macro. Add tests for info macro argument processing.
Rename a few tests.
2011-11-11 Keith Seitz <keiths@redhat.com>
PR gdb/12843
* gdb.base/linespecs.exp: New file.
2011-11-11 Doug Evans <dje@google.com>
* gdb.threads/print-threads.exp: Extend timeout for slower
tests.
2011-11-10 Doug Evans <dje@google.com>
* gdb.reverse/i387-env-reverse.exp: Extend timeout of
"record to end of main" test.
* gdb.python/py-type.c (TS): New typedef.
(ts): New global.
* gdb.python/py-type.exp: Test field list of typedef.
2011-11-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/small_reg_param: New testcase.
2011-11-09 Tom Tromey <tromey@redhat.com>
* gdb.cp/destrprint.exp: New file.
* gdb.cp/destrprint.cc: New file.
2011-11-08 Meador Inge <meadori@codesourcery.com>
* gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
(switch_stack_to_other): New test function.
* gdb.arch/thumb-prologue.exp: New test cases.
2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
* lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
2011-11-08 Yao Qi <yao@codesourcery.com>
* gdb.exp (supports_process_record): New.
(supports_reverse): New.
* gdb.reverse/break-precsave.exp: Call support_process_record
to run test conditionally.
* gdb.reverse/consecutive-precsave.exp: Likewise.
* gdb.reverse/i386-precsave.exp: Likewise.
* gdb.reverse/machinestate-precsave.exp: Likewise.
* gdb.reverse/solib-precsave.exp: Likewise.
* gdb.reverse/step-precsave.exp: Likewise.
* gdb.reverse/until-precsave.exp: Likewise.
* gdb.reverse/watch-precsave.exp: Likewise.
* gdb.reverse/break-reverse.exp: Call support_reverse to run
test conditionally.
* gdb.reverse/consecutive-reverse.exp: Likewise.
* gdb.reverse/finish-precsave.exp: Likewise.
* gdb.reverse/finish-reverse-bkpt.exp: Likewise.
* gdb.reverse/finish-reverse.exp: Likewise.
* gdb.reverse/i386-reverse.exp: Likewise.
* gdb.reverse/i386-sse-reverse.exp: Likewise.
* gdb.reverse/machinestate.exp: Likewise.
* gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
* gdb.reverse/sigall-precsave.exp: Likewise.
* gdb.reverse/sigall-reverse.exp: Likewise.
* gdb.reverse/solib-reverse.exp: Likewise.
* gdb.reverse/step-reverse.exp: Likewise.
* gdb.reverse/until-reverse.exp: Likewise.
* gdb.reverse/watch-reverse.exp: Likewise.
2011-11-05 Yao Qi <yao@codesourcery.com>
* gdb.trace/trace-break.exp: Add test on setting two
fast tracepoints at the same address.
2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
2011-11-02 Stan Shebs <stan@codesourcery.com>
* gdb.trace/collection.c: Add code using strings.
* gdb.trace/collection.exp: Add tests of string collection.
2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/skip-solib.exp (executable_main): New variable.
(binfile_main): Base it on that.
Use $executable_main in clean_restart calls. Drop gdb_exit and
gdb_start calls.
2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy FAILs.
* lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
breakpoint_re globals import by async. Set string_regex to .* for
async. Remove the optional thread_selected_re and breakpoint_re
globals expectations.
2011-11-01 Joseph Myers <joseph@codesourcery.com>
* gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
well as Cygwin.
2011-11-01 Justin Lebar <justin.lebar@gmail.com>
Add tests for skip command.
* gdb.base/skip-solib-lib.c: New
* gdb.base/skip-solib-main.c: New
* gdb.base/skip-solib.exp: New
* gdb.base/skip.c: New
* gdb.base/skip.exp: New
* gdb.base/skip1.c: New
* gdb.base/Makefile.in: Adding new files.
2011-10-31 Yao Qi <yao@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>
* gdb.trace/trace-break.c: New.
* gdb.trace/trace-break.exp: New.
2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
break-here-2.
2011-10-28 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/no-unwaited-for-left.c: New.
* gdb.threads/no-unwaited-for-left.exp: New.
* gdb.threads/non-ldr-exc-1.c: New.
* gdb.threads/non-ldr-exc-1.exp: New.
* gdb.threads/non-ldr-exc-2.c: New.
* gdb.threads/non-ldr-exc-2.exp: New.
* gdb.threads/non-ldr-exc-3.c: New.
* gdb.threads/non-ldr-exc-3.exp: New.
* gdb.threads/non-ldr-exc-4.c: New.
* gdb.threads/non-ldr-exc-4.exp: New.
2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
* gdb.base/attach-pie-misread.exp: Likewise.
* gdb.base/break-interp.exp: Likewise.
* gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
testcases for use_gdb_stub.
* gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
(continue): New testcase.
* gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
* gdb.threads/attach-into-signal.exp: Likewise.
* gdb.threads/attach-stopped.exp: Likewise.
* gdb.threads/attachstop-mt.exp: Likewise.
2011-10-28 Paul Koning <paul_koning@dell.com>
* gdb.python/lib-types.exp (deep_items): Rename from deepitems.
2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (breakpoint_re): Suppress match reporting.
(mi_gdb_test): Import globals thread_selected_re
and breakpoint_re. Expect them optionally at the regex start.
2011-10-27 Doug Evans <dje@google.com>
* gdb.python/python.exp: Test source -s.
2011-10-26 Paul Koning <paul_koning@dell.com>
* gdb.python/lib-types.cc (struct A): New structure.
* gdb.python/lib-types.exp (deepitems): New tests.
2011-10-25 Paul Koning <paul_koning@dell.com>
PR python/13327
* gdb.python/py-value.exp: Add testcases for is_lazy attribute,
fetch_lazy method.
2011-10-24 Yao Qi <yao@codesourcery.com>
* lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
target is tic6x-*-*.
2011-10-21 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/mi_task_info/task_switch.adb: New file.
* gdb.ada/mi_task_info.exp: New file.
2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/expand-psymtabs-cxx.exp: New file.
* gdb.cp/expand-psymtabs-cxx.cc: New file.
2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
PR python/12656
* gdb.python/py-block.exp: Add is_global, is_static, static_block,
global_block tests.
2011-10-18 Tom Tromey <tromey@redhat.com>
* gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
2011-10-18 Tom Tromey <tromey@redhat.com>
* gdb.base/source.exp: Don't include full file name in test name.
* gdb.python/python.exp: Don't include full file name in test
name.
2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach-pie-noexec.c: New files.
* gdb.base/attach-pie-noexec.exp: New files.
2011-10-17 Joseph Myers <joseph@codesourcery.com>
* lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
prompt for each extra line in command.
2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
Revert the part of:
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
Change the expected string.
2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix results with system glibc debug info installed.
* gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
(continue to $syscall (2nd time), continue to $syscall (3rd time)):
Accept also __libc_ symbol prefix and no prefix.
2011-10-14 Keith Seitz <keiths@redhat.com>
PR c++/13225
* gdb.cp/converts.cc (foo3_1): New function.
(foo3_2): New functions.
* gdb.cp/converts.exp: Add tests for int to pointer conversion
and null pointer conversions of integer constant zero.
Add test to check if all arguments are checked for incompatible
conversion BADNESS.
2011-10-14 Tom Tromey <tromey@redhat.com>
* gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
* gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
linespec.
2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix internal error regression.
* gdb.dwarf2/implptr-optimized-out.S: New file.
* gdb.dwarf2/implptr-optimized-out.exp: New file.
2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix empty DWARF expressions DATA vs. SIZE conditionals.
* gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
(loclist): New.
(4): New abbrev.
* gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
Use prepare_for_testing, remove clean_restart.
(p arraynoloc, p arraycallnoloc): New tests.
2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace-enum.exp (executable): New variable.
(binfile): Use ${objdir}/${subdir}/ prefix.
Use ${executable} for clean_restart.
2011-10-11 Sterling Augustine <saugustine@google.com>
* gdb.cp/Makefile.in: Add namespace-enum test.
* gdb.cp/namespace-enum.exp: New file.
* gdb.cp/namespace-enum.c: New file.
* gdb.cp/namespace-enum-main.c: New file.
2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-shared.exp: Relax filename check to handle remote:
sysroot.
2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Reimplement @entry in input expressions.
* gdb.base/exprs.c (v_int_array_init): New variable.
* gdb.base/exprs.exp (print v_int_array_init)
(print *v_int_array_init@1, print *v_int_array_init@2)
(print v_int_array_init[0]@1, print v_int_array_init[0]@2)
(print v_int_array_init[1]@1): New tests.
2011-10-10 Joseph Myers <joseph@codesourcery.com>
* gdb.cp/gdb2495.exp: Do not include directories in filename in
expected message.
2011-10-09 Doug Evans <dje@google.com>
* gdb.base/alias.exp: Add tests for alias command.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/amd64-entry-value.s: New file.
* gdb.mi/mi2-amd64-entry-value.s: New file.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Display @entry parameter values even for references.
* gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
functions.
(main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
reference and datap_input.
* gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
breakpoints.
(continue to breakpoint: entry_reference: reference)
(entry_reference: bt at entry)
(continue to breakpoint: entry_reference: breakhere_reference)
(entry_reference: bt, entry_reference: ptype regparam)
(entry_reference: p regparam, entry_reference: ptype regparam@entry)
(entry_reference: p regparam@entry, entry_reference: p ®param@entry)
(entry_reference: p regcopy, entry_reference: p nodataparam)
(entry_reference: p nodataparam@entry): New tests.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Support @entry in input expressions.
* gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
(entry_stack: p s1@entry, entry_stack: p s2@entry)
(entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
(tailcall: p j@entry): New tests.
* gdb.cp/koenig.cc (A::entry): New function.
(main): Call it.
* gdb.cp/koenig.exp (p entry (c)): New test.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Display @entry parameter values (without references).
* gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
(different, validity, invalid): New functions.
(main): Call them.
* gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
stacktest, breakhere_stacktest, different, breakhere_different,
breakhere_validity and breakhere_invalid.
(entry: bt): Update for @entry.
(entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
(entry_validity: *, entry_invalid: *): Many new tests.
* gdb.base/break.exp
(run until breakpoint set at small function, optimized file): Accept
also the @entry suffix.
* gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
* gdb.mi/mi2-amd64-entry-value.c: New files.
* gdb.mi/mi2-amd64-entry-value.exp: New files.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Protect entry values against self tail calls.
* gdb.arch/amd64-entry-value.cc (self2, self): New.
(main): Call self.
* gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
(set debug entry-values 1, self: bt debug entry-values): New tests.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Recognize virtual tail call frames.
* gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
(amb_b, amb_a): New.
(main): Call a and b.
* gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
(tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
(p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
New tests.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Implement basic support for DW_TAG_GNU_call_site.
* gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
* gdb.arch/amd64-entry-value.cc: New file.
* gdb.arch/amd64-entry-value.exp: New file.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
* gdb.dwarf2/implptr-64bit.S: New file.
* gdb.dwarf2/implptr-64bit.exp: New file.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix initial language detection with -readnow.
* gdb.cp/readnow-language.cc: New file.
* gdb.cp/readnow-language.exp: New file.
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix printed anonymous struct name.
* gdb.cp/anon-struct.exp (print type of X::t2): New test.
2011-10-09 Joseph Myers <joseph@codesourcery.com>
* gdb.base/solib-symbol.exp: Do not include directories in
filenames in expected messages.
2011-10-07 Doug Evans <dje@google.com>
* gdb.python/py-pp-maint.py: Add tests for `replace' arg.
2011-10-07 Kevin Pouget <kevin.pouget@st.com>
Allow Python notification of new object-file loadings.
* gdb.python/py-events.exp: Test newobjfile event.
* gdb.python/py-events.py: Register newobjfile callback.
* gdb.python/py-events.c: Add call to shared library
* gdb.python/py-events-shlib.c: New file.
2011-10-06 Joseph Myers <joseph@codesourcery.com>
* gdb.base/fixsection.exp: Do not include directories in filename
in expected message.
2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
Add tests for passing of environment variables to inferior.
* gdb.base/testenv.c: New test source.
* gdb.base/testenv.exp: New expect test.
2011-10-04 Paul Koning <paul_koning@dell.com>
* gdb.python/py-value.c (main): Break before return.
2011-10-04 Kevin Pouget <kevin.pouget@st.com>
PR python/12691: Add the inferior to Python exited event
* gdb.python/py-events.exp: Test the inferior attribute of exited
event with a fork.
* gdb.python/py-events.py: Print inferior number on exit.
* gdb.python/py-events.c: Fork the inferior.
2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
* gdb.base/jit.exp: Add testcase name to log message
2011-10-03 Paul Koning <paul_koning@dell.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-value.exp
(python inval = gdb.parse_and_eval('*(int*)0'))
(python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
(set argc=2, python print argc_lazy): New tests.
2011-10-02 Joel Brobecker <brobecker@adacore.com>
* gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
* gdb.python/py-value.exp (test_value_in_inferior): New variable
can_read_0, test for it.
(python print gdb.parse_and_eval('*(int*)0')): Rename to ...
(parse_and_eval with memory error): ... here, make it untested if
can_read_0.
2011-09-30 Marek Polacek <mpolacek@redhat.com>
* gdb.python/python.exp (verify pagination beforehand)
(verify pagination afterwards): Fix race by splitting the line.
2011-09-29 Joseph Myers <joseph@codesourcery.com>
* lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
for 64-bit multilibs from i?86-* targets.
2011-09-29 Marek Polacek <mpolacek@redhat.com>
* lib/gdb.exp: Fix a typo in one of the comments.
2011-09-29 Marek Polacek <mpolacek@redhat.com>
* gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
matching pattern.
2011-09-28 Paul Koning <paul_koning@dell.com>
* gdb.python/py-type.c (enum E): New.
* gdb.python/py-type.exp (test_fields): Add tests for Python
mapping access to fields.
(test_enums): New test for field access on enums.
2011-09-27 Stan Shebs <stan@codesourcery.com>
* gdb.trace/collection.exp: Test collection of $_ret.
2011-09-22 Andreas Tobler <andreast@fgznet.ch>
* lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
list of compilation switches for <*-*-freebsd*>.
2011-09-19 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tspeed.exp: New file.
* gdb.trace/tspeed.c: New file.
2011-09-18 Yao Qi <yao@codesourcery.com>
* gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
instructions.
(test_adr_32bit, test_pop_pc): Likewise.
(test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
Thumb instructions.
* gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
in gdb_test_multiple.
(test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
2011-09-17 Yao Qi <yao@codesourcery.com>
* lib/gdb.exp (can_single_step_to_signal_handler): New.
* gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
support single step to signal handler.
2011-09-17 Yao Qi <yao@codesourcery.com>
* gdb.base/disp-step-fork.c: New.
* gdb.base/disp-step-syscall.exp: New.
* gdb.base/disp-step-vfork.c: New.
2011-09-16 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tasks.exp: Make the expected output for
the `info tasks' tests more resilient to spacing
changes.
2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-evthreads.exp (Run to breakpoint 1)
(reached breakpoint 2, reached breakpoint 3): Update expected output.
2011-09-15 Kevin Pouget <kevin.pouget@st.com>
PR Python/12692 Add gdb.selected_inferior() to Python interface.
* gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
2011-04-30 Kevin Pouget <kevin.pouget@st.com>
Handle multiple breakpoint hits in Python interface:
* gdb.python/py-events.exp: Set a duplicate breakpoint and check its
presence.
* gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
breakpoint hits.
2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-events.exp: Remove pretty printing comment.
* gdb.python/py-evsignal.exp: New file.
* gdb.python/py-evthreads.c: Include signal.h.
(thread3): Remove variable count3. Remove variable bad and use raise
instead.
(thread2): Remove variable count2. Move thread3 pthread_create here,
merge pthread_join to a single line.
(main): Remove variable count1. Merge pthread_join with pthread_create
to a single line.
* gdb.python/py-evthreads.exp: Remove pretty printing comment. New
KFAIL python/12966 for gdbserver. Test return value of
gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
gdb_expect by gdb_test and gdb_test_multiple.
(thread 2, thread 3): New tests.
2011-09-12 Matt Rice <ratmice@gmail.com>
Pedro Alves <pedro@codesourcery.com>
PR gdb/13175
* gdb.base/interp.exp: New tests.
* gdb.base/interp.c: New file.
2011-09-12 Doug Evans <dje@google.com>
* gdb.dwarf2/clztest.exp: Fix initialization of tests array.
* gdb.dwarf2/typeddwarf.exp: Ditto.
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with x32 arch.
* testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
* testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
is_x86_like_target.
* testsuite/gdb.trace/collection.exp: Likewise.
* testsuite/gdb.trace/report.exp: Likewise.
* testsuite/gdb.trace/unavailable.exp: Likewise.
* testsuite/gdb.trace/while-dyn.exp: Likewise.
* testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
(is_x86_like_target): Check also is_amd64_regs_target.
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
PR breakpoints/12435
* gdb.arch/amd64-prologue-xmm.c: New file.
* gdb.arch/amd64-prologue-xmm.exp: New file.
* gdb.arch/amd64-prologue-xmm.s: New file.
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-param-error-main.c: New file.
* gdb.dwarf2/dw2-param-error.S: New file.
* gdb.dwarf2/dw2-param-error.exp: New file.
2011-09-08 Pedro Alves <pedro@codesourcery.com>
* gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
inferior's pid and look for a core dump named core.$pid. Use
`remote_file' commands on the host instead of hand coding shell
commands on the build.
* gdb.base/valgrind-db-attach.exp: Kill the program before
finishing the test.
2011-09-02 Matt Rice <ratmice@gmail.com>
* lib/prompt.exp: New file for testing the first prompt.
* gdb.python/py-prompt.exp: Ditto.
* gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2011-09-02 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/gcore-thread.exp: Set the global core_supported to
0, before testing gcore.
2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* dw2-ifort-parameter-debug.S: Update copyright year.
* dw2-ifort-parameter.c: Update copyright year.
* dw2-ifort-parameter.exp: Update copyright year.
* dw2-ifort-parameter-debug.S: New file.
* dw2-ifort-parameter.c: New file.
* dw2-ifort-parameter.exp: New file.
2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (error_clears_commands_left): New function.
(): Call it.
2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
(C): Initialize `a'.
* gdb.mi/mi-inheritance-syntax-error.exp
(-data-evaluate-expression $path): Expect `a' as 5.
2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
PR mi/11912
* gdb.mi/mi-inheritance-syntax-error.cc: New file.
* gdb.mi/mi-inheritance-syntax-error.exp: New file.
* gdb.mi/mi-var-cp.cc: Updated for new 'class'
keyword in output of -var-info-path-expression.
2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/unavailable.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
2011-08-18 Keith Seitz <keiths@redhat.com>
PR c++/12266
* gdb.cp/meth-typedefs.cc: New file.
* gdb.cp/meth-typedefs.exp: New file.
2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python.exp: Add extended-prompt tests.
2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/i386-dr3-watch.exp
(watchpoint on gap1 does not fit debug registers)
(delete all watchpoints): Fix racy expect strings.
2011-08-14 Yao Qi <yao@codesourcery.com>
* gdb.base/maint.exp: set data_section to ".neardata".
* gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
* gdb.base/savedregs.exp: Handle SIGILL.
* gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
* gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2011-08-12 Doug Evans <dje@google.com>
* gdb.python/py-symbol.exp: Add test for symbol.type.
2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.threads/pthreads.exp: Enable on non-native configurations.
* gdb.mi/mi-pthreads.exp: Likewise.
* gdb.mi/mi2-pthreads.exp: Likewise.
* gdb.mi/gdb669.exp.exp: Likewise.
2011-08-09 Pedro Alves <pedro@codesourcery.com>
* lib/mi-support.exp (detect_async): Rename to...
(mi_detect_async): ... this.
* gdb.mi/mi-nonstop-exit.exp: Adjust.
* gdb.mi/mi-nonstop.exp: Adjust.
* gdb.mi/mi-ns-stale-regcache.exp: Adjust.
* gdb.mi/mi-nsintrall.exp: Adjust.
* gdb.mi/mi-nsmoribund.exp: Adjust.
* gdb.mi/mi-nsthrexec.exp: Adjust.
2011-08-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/display.c (do_loops): New `p_i' local.
* gdb.base/display.exp: Test displaying a variable that is
temporarily at a bad address.
2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-op-stack-value.S: New file.
* gdb.dwarf2/dw2-op-stack-value.exp: New file.
2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
* gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
(p fuNC_symtab): Permit also ppc64 leading dot.
2011-08-05 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.exp (test_maybe_regvar_display): New
procedure.
(gdb_collect_args_test, gdb_collect_locals_test): Use it.
2011-08-05 Yao Qi <yao@codesourcery.com>
* gdb.base/callfuncs.exp: Set language after main.
* gdb.cp/cplusfuncs.exp: Likewise.
* gdb.cp/inherit.exp: Likewise.
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
* gdb.base/watch-vfork.exp: Skip on remote targets.
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.threads/thread-find.exp: Support remote targets.
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/jit.exp: Download solib_binfile to target.
* gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
and call dlopen without full path name.
* gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
dlopen without full path name.
2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.base/break-always.exp: Complete the test
with duplicated breakpoints and enabling/disabling them.
2011-08-02 Tom Tromey <tromey@redhat.com>
PR gdb/11289:
* gdb.cp/overload.exp: Fix regexps. Remove kfails.
2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/13045
* gdb.base/float.exp: Add new test case for PR gdb/13045
* gdb.base/float.c: New file.
2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-mi.exp: Test printers returning string hint, and
also not returning a value.
* gdb.python/py-prettyprint.c: Add testcase for above.
* gdb.python/py-prettyprint.py: Add test printer for above.
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
(.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
(.Ldie30) Add as field "data4".
(.Ldie32) Rename field "b" to "shl".
(abbrev4) Change for the "data4" field.
(abbrev5, abbrev6) Remove.
* gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
(p &s.shl): ... here. Add comment.
(p &s.data4): New.
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix crash on lval_computed values.
* gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/help.exp (help whatis): Update the expected string.
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-simple-locdesc.S: New file.
* gdb.dwarf2/dw2-simple-locdesc.exp: New file.
* gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
Change the expected string.
2011-07-26 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watchpoint.exp
(test_disable_enable_software_watchpoint): New procedure.
(top level): Run it.
2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
executable file "${binfile}", C++ version "${binfile}-cxx".
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-symbol.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
* gdb.python/py-template.exp (test_template_arg): Pass full executable
file name instead of just suffix.
2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix implicit pointer offsets.
* gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
* gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
(continue to breakpoint: continue to baz breakpoint for implptr)
(sanity check element 0, sanity check element 1)
(enter the inlined function, check element 0 for the offset)
(check element 1 for the offset)
(continue to breakpoint: ignore the second baz breakpoint): New tests.
(set foo breakpoint for implptr): Update the breakpoint number.
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-mi.exp: Use different file names for different
versions of the executable under test.
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-symbol.exp: Likewise.
* gdb.python/py-template.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
flag after restarting GDB if necessary.
2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.python/py-shared.exp: Call gdb_load_shlibs.
2011-07-22 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
backend doesn't leave used debug registers behind.
2011-07-22 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
* gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
argument.
* gdb.dwarf2/typeddwarf-amd64.S: New file.
2011-07-21 Matt Rice <ratmice@gmail.com>
* gdb.threads/Makefile.in: Avoid globbing corethreads.exp
in mostlyclean rule. Add files ending in .core.
2011-07-21 Matt Rice <ratmice@gmail.com>
PR macros/12999
* gdb.base/info-macros.c: New test sources.
* gdb.base/info-macros.exp: New tests.
2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python.exp: Add prompt substitution tests.
2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix crash if referenced CU is aged out.
* gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
New.
* gdb.dwarf2/implptr.exp: Likewise.
2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/implptr.S: Rebuilt.
* gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
(bar): Use them for j, k, l.
* gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
COMPILE.
(print j in implptr:bar): Update for the intp typedef.
(print p[0].x in implptr:foo): Use more exact regex.
2011-07-18 Tom Tromey <tromey@redhat.com>
* gdb.cp/static-method.exp: Add missing single quote.
2011-07-18 Yao Qi <yao@codesourcery.com>
* gdb.base/async-shell.exp: Skip test if displaced stepping is not
supported.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-nonstop.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.
* gdb.python/py-evthreads.exp: Likewise.
2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
Code cleanup.
* gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
it. Substitute it instead of test_compiler_info everywhere.
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
remote targets as well.
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
* lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
* gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
* lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
a remote machine, not the host.
(gdb_compile_shlib): Set soname if target is remote.
2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/minsym-fallback.exp: Link in C++ mode.
2011-07-13 Matt Rice <ratmice@gmail.com>
* gdb.python/py-objfile-script-gdb.py: Renamed to
py-objfile-script-gdb.py.in.
* gdb.python/py-objfile-script-gdb.py.in: Renamed from
py-objfile-script-gdb.py.
* gdb.python/py-objfile-script.exp: Update reference to
py-objfile-script-gdb.py.
2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
reference undefined label.
2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
(DW_AT_high_pc, DW_AT_low_pc): Remove them.
(val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
* gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
PR python/12438
* gdb.python/python.exp: Add maint set/show python print-stack
deprecated tests. Add set/show python print-backtrace tests.
2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.java/jprint.exp (print a java.lang.String): xfail without system
debug info.
2011-07-06 Matt Rice <ratmice@gmail.com>
* gdb.python/python.exp: Update filename paths.
* gdb.python/py-symtab.exp: Ditto.
2011-07-06 Marek Polacek <mpolacek@redhat.com>
* gdb.python/py-evthreads.exp: Add missing `$'.
2011-07-06 Jie Zhang <jie.zhang@analog.com>
* config/bfin.exp: New file.
* gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
* gdb.asm/bfin.inc: New file.
2011-07-06 Marek Polacek <mpolacek@redhat.com>
* gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
the whole output.
2011-07-05 Tom Tromey <tromey@redhat.com>
* gdb.java/jprint.java (jprint.hi): New field.
* gdb.java/jprint.exp: Print string.
2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
* gdb.base/call-sc.c: Fix typos.
* gdb.base/ifelse.exp: Likewise.
* gdb.base/structs.c: Likewise.
2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/jit-so.exp: New test.
* gdb.base/jit-dlmain.c: New file.
* gdb.base/jit-main.c: Allow "main" to be elsewhere.
2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/m-static.exp: Call get_compiler_info.
(static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
* gdb.cp/pr9167.exp (p b): Likewise.
* gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
(test value of P in inner_m, test type of Z in inner_m): Call
setup_xfail for gcc <= 4.5.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/paren-type.cc: New files.
* gdb.cp/paren-type.exp: New files.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Stop on first linespec terminator instead of eating what we can.
* gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
* gdb.cp/minsym-fallback.cc (C::operator ()): Define.
* gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
(break C::f()): ... this one.
(break C::operator()()): New test.
* gdb.cp/minsym-fallback.h (C::operator ()): Declare.
* gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
test.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Fall back linespec to minimal symbols.
* gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
error message.
* gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
* gdb.cp/minsym-fallback-main.cc: New file.
* gdb.cp/minsym-fallback.cc: New file.
* gdb.cp/minsym-fallback.exp: New file.
* gdb.cp/minsym-fallback.h: New file.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/no-dmgl-verbose.cc: New file.
* gdb.cp/no-dmgl-verbose.exp: New file.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
__GI_.
* gdb.cp/psymtab-parameter.cc (func): Make it a template function.
(f): New function.
* gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
(complete p 'func<short>(): ... here.
* gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
* gdb.dwarf2/dw2-linkage-name-trust.S: New file.
* gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
* gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
Make them KFAIL gcc/49546.
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Test GCC PR debug/49546.
* gdb.cp/temargs.exp (set sixth breakpoint for temargs)
(test type of F in k3_m, test value of F in k3_m): New.
* gdb.cp/temargs.cc (struct S3, struct K3): New.
(main): New variable k3. Call k3.k3_m.
2011-07-01 Jean-Charles Delay <delay@adacore.com>
* gdb.ada/packed_array.exp: Fix expected outout.
2011-07-01 Jean-Charles Delay <delay@adacore.com>
* gdb.ada/packed_array.exp: fixed expected output.
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/same_enum: New testcase.
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptr_typedef: New testcase.
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayptr.exp: Add ptype test.
2011-07-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/char_enum: New testcase.
2011-07-01 Yao Qi <yao@codesourcery.com>
* gdb.base/dump.exp (capture_pointer_with_type): New.
Get value from address instead of name.
Start GDB once, and do `dump' and `restore'
tests together.
2011-06-30 Jie Zhang <jie.zhang@analog.com>
Mike Frysinger <vapier@gentoo.org>
* config/monitor.exp (get_remotetimeout, set_remotetimeout): New
helper functions for getting/setting remotetimeout variable.
* lib/gdb.exp (gdb_load): If the target is remote, set
$oldremotetimeout to get_remotetimeout, then call set_remotetimeout
with $loadtimeout. Set $load_ok to 0 before doing the load.
Instead of returning, immediately, set $load_ok to 0. Call
set_remotetimeout with $oldremotetimeout, and then return if
$load_ok is 1.
2011-06-30 Andrew Burgess <aburgess@broadcom.com>
* gdb.python/py-template.exp: Don't run this test if the target
does not support c++ tests.
2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix non-only rename list for Fortran modules import.
* gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
tests.
* gdb.fortran/module.f90 (module moduse): New.
(program module): use moduse, test var_x, var_y and var_z.
2011-06-29 Tom Tromey <tromey@redhat.com>
PR testsuite/12040:
* gdb.fortran/array-element.exp: Use f90, not f77.
* gdb.fortran/complex.exp: Use f90, not f77.
* gdb.fortran/derived-type.exp: Use f90, not f77.
* gdb.fortran/library-module.exp: Use f90, not f77.
* gdb.fortran/logical.exp: Use f90, not f77.
* gdb.fortran/module.exp: Use f90, not f77.
* gdb.fortran/multi-dim.exp: Use f90, not f77.
* gdb.fortran/subarray.exp: Use f90, not f77.
2011-06-29 Tom Tromey <tromey@redhat.com>
* gdb.fortran/charset.exp: New file.
* gdb.fortran/charset.f90: New file.
2011-06-29 Tom Tromey <tromey@redhat.com>
PR testsuite/12040:
* lib/future.exp: New file, mostly extracted from ada.exp.
Rewrote compatibility code to use rename.
(gdb_find_gfortran): New proc.
(gdb_default_target_compile): Refresh from dejagnu; plus a pending
gfortran patch.
* lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
Move to future.exp.
* lib/gdb.exp: Always load future.exp.
2011-06-28 Yao Qi <yao@codesourcery.com>
* gdb.cp/exception.cc: Don't include iostream.
(bar): Remove print statement.
(catcher): New.
(main): Remove print statements. Call function catcher.
* gdb.cp/exception.exp : Don't match inferior's output in regexp.
Set breakpoint on catcher, and check the value of parameter.
2011-06-23 Yao Qi <yao@codesourcery.com>
* gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1.2 is disabled. KFAIL for uclinux.
2011-06-23 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
mi_gdb_test.
2011-06-23 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2011-06-23 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2011-06-23 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi2-basics.exp: Fix races. Honour the
`test_exec_and_symbol_mi_operatons' return value.
(test_mi_interpreter_selection): Use mi_gdb_test instead of
gdb_test_multiple.
(test_exec_and_symbol_mi_operatons): Likewise.
(test_path_specification): Likewise.
2011-06-23 Yao Qi <yao@codesourcery.com>
* gdb.base/moribund-step.exp: Skip test if displaced stepping is not
supported.
* lib/gdb.exp (support_displaced_stepping): New.
2011-06-23 Yao Qi <yao@codesourcery.com>
* gdb.threads/execl.exp: Skip on remote target.
2011-06-21 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
mi_gdb_test.
2011-06-20 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2011-06-20 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
mi_gdb_test.
2011-06-20 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2011-06-14 Yao Qi <yao@codesourcery.com>
gdb/testsuite/
* gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2011-06-10 Tom Tromey <tromey@redhat.com>
* gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
Add tests for pointer-to-member-function.
* gdb.cp/temargs.cc (S::somefunc): New function.
(K2): New class.
(main): Instantiate K2; call method.
2011-06-08 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-inferior.c (f2): Make str an array rather
than a pointer.
* gdb.python/py-inferior.exp: Adjust testcase accordingly.
2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/async-shell.c: New file.
* gdb.base/async-shell.exp: New file.
2011-06-06 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
From Stephen Kitt <steve@sk2.org>
* gdb.base/help.exp: Adjust following some spelling corrections
in GDB.
2011-06-01 Yao Qi <yao@codesourcery.com>
* gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2010-05-31 Keith Seitz <keiths@redhat.com>
PR c++/12750
* gdb.cp/static-method.cc: New file.
* gdb.cp/static-method.exp: New file.
2010-05-31 Keith Seitz <keiths@redhat.com>
PR symtab/12704
* gdb.cp/anon-ns.cc: New file.
* gdb.cp/anon-ns.exp: New file.
2011-05-31 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-dr3-watch.c: New file.
* gdb.arch/i386-dr3-watch.exp: New file.
2011-05-30 Yao Qi <yao@codesourcery.com>
* gdb.base/callfuncs.c (t_structs_fc): New.
(t_structs_dc, t_structs_ldc): New.
(t_double_many_args):
(DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
(DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
(DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
* gdb.base/callfuncs.exp: Call new functions.
2011-05-30 Yao Qi <yao@codesourcery.com>
* gdb.base/callfuncs.exp (rerun_and_prepare): New.
Call rerun_and_prepare for each test to isolate effects.
2011-05-30 Yao Qi <yao@codesourcery.com>
* gdb.base/varargs.c (find_max_float_real): New.
(find_max_double_real, find_max_long_double_real): New.
* gdb.base/varargs.exp: Call these new added functions.
* lib/gdb.exp (setup_kfail_for_target): New.
2011-05-30 Yao Qi <yao@codesourcery.com>
* gdb.base/funcargs.c (callca, callcb, callcc): New.
(callcd, callce, callcf, callc1a, callc1b): New.
(callc2a, callc2b): New.
* gdb.base/funcargs.exp (complex_args): New.
(complex_integral_args, complex_float_integral_args): New.
* lib/gdb.exp (support_complex_tests): New. Determine
whether to run test cases on _Complex types.
2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/leader-exit.c: New file.
* gdb.threads/leader-exit.exp: New file.
2011-05-27 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2011-05-27 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
remove the `supported' variable.
* gdb.mi/mi-nonstop.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.
2011-05-26 Pedro Alves <pedro@codesourcery.com>
* gdb.reverse/finish-reverse-bkpt.exp: New test.
2011-05-26 Pedro Alves <pedro@codesourcery.com>
* gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2011-05-24 Keith Seitz <keiths@redhat.com>
PR breakpoint/12803
* gdb.cp/cmpd-minsyms.cc (a): New method.
(b): New method.
(c): New method.
* gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2011-05-24 Pedro Alves <pedro@codesourcery.com>
* gdb.base/commands.exp (watchpoint_command_test): Check that the
watchpoint's command list didn't execute when the watchpoint went
out of scope.
2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
* lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
* gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
* gdb.arch/i386-gnu-cfi.exp: Likewise.
* gdb.arch/i386-permbkpt.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-size-overlap.exp: Likewise.
* gdb.arch/i386-size.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.reverse/i386-precsave.exp: Likewise.
* gdb.reverse/i386-reverse.exp: Likewise.
* gdb.reverse/i386-sse-reverse.exp: Likewise.
* gdb.reverse/i387-env-reverse.exp: Likewise.
* gdb.reverse/i387-stack-reverse.exp: Likewise.
2011-05-24 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfile.exp: Add test that opening the basic.tf trace
file doesn't error, using MI.
2011-05-23 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (string_display): Add tests to assign to
arrays.
* gdb.base/charset.c (short_array, int_array, long_array): New.
2011-05-20 Pedro Alves <pedro@codesourcery.com>
Cope with async mode.
* gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
into gdb_test + mi_expect_stop.
2011-05-20 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/basics.c: Don't include stdio.h or unistd.h.
(callme): Remove printf call.
2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_test_list_exact): Suggest use of double
quote pattern to avoid problems with Cygwin/mingw expect versions.
* gdb.base/default.exp (show convenience): Use double
quote pattern for regular expressions.
2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix -readnow for -gdwarf-4 unused type units.
* gdb.dwarf2/dw4-sig-type-unused.S: New file.
* gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/kill-after-signal.c: New file.
* gdb.base/kill-after-signal.exp: New file.
2011-05-16 Pedro Alves <pedro@codesourcery.com>
* gdb.ada/start.exp: Call untested with the correct test filename.
* gdb.arch/i386-bp_permanent.exp: Call untested with the correct
test filename. Make the test's binary unique.
* gdb.arch/i386-signal.exp: Call untested with the correct test
filename.
* gdb.arch/i386-size-overlap.exp: Ditto.
* gdb.arch/Makefile.in (EXECUTABLES): Update.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.cp/call-c.exp: Ditto.
* gdb.mi/mi-reverse.exp: Call untested with the correct test
filename. Make the test's binary unique.
* gdb.mi/Makefile.in (EXECUTABLES): Update.
* gdb.python/py-mi.exp: Ditto.
* gdb.python/Makefile.in (EXECUTABLES): Update.
* gdb.reverse/i386-precsave.exp: Ditto.
* gdb.reverse/i387-env-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/i387-stack-reverse.exp: Ditto.
* gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
unique.
* gdb.reverse/sigall-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/Makefile.in (EXECUTABLES): Update.
* gdb.trace/tfile.exp: Ditto.
2011-05-14 Yao Qi <yao@codesourcery.com>
* gdb.trace/tfile.c(add_memory_block): Store address in unsigned
type.
2011-05-13 Doug Evans <dje@google.com>
* gdb.python/py-objfile-script.exp: New file.
* gdb.python/py-objfile-script.c: New file.
* gdb.python/py-objfile-script-gdb.py: New file.
* testsuite/gdb.python/py-section-script.exp: Test
"info auto-load-scripts".
2011-05-13 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/clztest.exp: New file.
* gdb.dwarf2/clztest.c: New file.
* gdb.dwarf2/clztest.S: New file.
2011-05-13 Doug Evans <dje@google.com>
* gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
String16 tests.
2011-05-13 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp (is_x86_like_target): New proc.
* gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
* gdb.dwarf2/valop.exp: Use is_x86_like_target.
* gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
-nostdlib to compiler.
* gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
* gdb.dwarf2/pieces.exp: Use is_x86_like_target.
* gdb.dwarf2/implptr.exp: Use is_x86_like_target.
* gdb.dwarf2/dw2-restore.exp: Check for LP64.
* gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/py-function.exp: Test setting a value from a function
which executes a command.
2011-05-12 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/typeddwarf.S: New file.
* gdb.dwarf2/typeddwarf.c: New file.
* gdb.dwarf2/typeddwarf.exp: New file.
2011-05-12 Marek Polacek <mpolacek@redhat.com>
* gdb.mi/mi-basics.exp: Fix races. Honour the
`test_exec_and_symbol_mi_operatons' return value.
(test_mi_interpreter_selection): Use mi_gdb_test instead of
gdb_test_multiple.
(test_exec_and_symbol_mi_operatons): Likewise.
(test_path_specification): Likewise.
2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
(gdb_touch_execfile): Remove catch wrappers. New variable time.
Replace `file copy' and `file rename' by `file mtime'. Twice.
2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/readline-ask.c: New file.
* gdb.base/readline-ask.exp: New file.
* gdb.base/readline-ask.inputrc: New file.
2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.cell/bt.exp: Delete breakpoints before running to signal
to avoid race condition.
* gdb.cell/coremaker.c: Use small stack size.
* gdb.cell/ea-standalone.exp: Use file name without path as
argument to c_to.
* gdb.cell/fork.exp: Allow other output when continuing to end.
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/corethreads.c: New file.
* gdb.threads/corethreads.exp: New file.
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/gcore-thread.exp (objfile, opts): New variables.
Try to compile the test using -Wl,-z,norelro first.
(load_core): New variable libthread_db_seen, initialize it.
(zeroed-threads cannot be listed): Protect it by XFAIL on
!$libthread_db_seen.
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
PR 12573
* gdb.dwarf2/dw2-skip-prologue.S: New file.
* gdb.dwarf2/dw2-skip-prologue.c: New file.
* gdb.dwarf2/dw2-skip-prologue.exp: New file.
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/psymtab-parameter.cc: New file.
* gdb.cp/psymtab-parameter.exp: New file.
2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a race.
* gdb.cp/static-print-quit.exp (print c): Split to ...
(print c - <return>, print c - q <return>, print c - to quit):
... these. Make the testfile untested on gdb-7.1.
2011-5-05 Janis Johnson <janisjo@codesourcery.com>
* lib/gdb.exp (exec_target_file, exec_symbol_file,
gdb_rename_execfile, gdb_touch_execfile): New.
* gdb.base/reread.exp: Use new procs to handle multiple
exec files.
2011-05-05 Yao Qi <yao@codesourcery.com>
* gdb.arch/arm-disp-step.S(test_ldr_literal): New.
(test_adr_32bit, test_pop_pc): New.
* gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
(test_adr_32bit, test_pop_pc): New.
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
* gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
targets.
* gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
handle targets.
2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/completion.exp (complete help info wat): Rename to ...
(complete 'help info wat'): ... here.
Remove all `-re ".*' and `-re "^.*' redundant regexes.
(complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2011-05-04 Pedro Alves <pedro@codesourcery.com>
* gdb.base/completion.exp: Use gdb_test_multiple instead of
gdb_test and explicit $gdb_prompt/timeout matches.
2011-05-04 Yao Qi <yao@codesourcery.com>
* gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
and __thumb2__.
2011-05-03 Marek Polacek <mpolacek@redhat.com>
* gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
in place of `gdb_test "delete breakpoints"'. This eliminates two
testcases.
2011-05-02 Pedro Alves <pedro@codesourcery.com>
PR testsuite/12649
Fix races.
* gdb.base/completion.exp: Remove all sleep calls. Remove
unnecessary regexs. Don't explicitly expect anything after the
prompt. Eat the prompt if necessary.
2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
* gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
accept to show the caller line again as well as the line after.
2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
PR mi/12531
* gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
compile target.
* gdb.python/py-prettyprint.exp: Add C++ object for
CPLUS_FAKE_CHILD test.
2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/signest.exp: New file.
* gdb.base/signest.c: Likewise.
2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
thread and breakpoint notifications.
2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/fortran-sym-case.c: New file.
* gdb.base/fortran-sym-case.exp: New file.
* gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
* gdb.dwarf2/dw2-case-insensitive.c: New file.
* gdb.dwarf2/dw2-case-insensitive.exp: New file.
2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
* gdb.base/ifelse.exp: Give names to the "" tests as `if true else
false #1', `if true else false #2' and `if true else false #3'.
2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.base/annota1.exp: Accept breakpoints-invalid annotation
while delivering signal.
2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
MI breakpoint notifications.
* testsuite/gdb.mi/mi-cli.exp: Adust.
* testsuite/gdb.mi/mi2-cli.exp: Adust.
* testsuite/gdb.mi/mi-watch.exp: Adust.
* testsuite/gdb.mi/mi2-watch.exp: Adust.
* testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
notifications.
2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gdbindex-stabs-dwarf.c: New file.
* gdb.base/gdbindex-stabs.c: New file.
* gdb.base/gdbindex-stabs.exp: New file.
2011-04-25 Yao Qi <yao@codesourcery.com>
* gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
with /*...*/.
* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-value.exp (test_objfiles): Name the first test
`py-value in file.filename'.
2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
* lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
* lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
!gdbserver_reconnect_p..
(gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/cpcompletion.exp (complete class methods)
(complete class methods beginning with F): Move them above runto. New
comment about the runto delimiter.
2011-04-20 Pedro Alves <pedro@codesourcery.com>
* gdb.base/maint.exp: Test that "maint print registers" works
without a running program.
2011-04-20 Marek Polacek <mpolacek@redhat.com>
* gdb.base/setshow.exp: Fix racy tests.
($old_gdb_prompt): New variable.
2011-04-19 Tom Tromey <tromey@redhat.com>
* gdb.mi/mi-nsmoribund.exp:
* gdb.hp/gdb.objdbg/objdbg01.exp:
* gdb.base/structs.exp (test_struct_returns):
* gdb.base/call-sc.exp (test_scalar_returns):
* gdb.base/bigcore.exp: Remove duplicate words.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp-lib.c (v, vptr): New variables.
* gdb.base/break-interp.exp (test_attach): New comment.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/gcore-thread.exp ($core0file): New variable.
(clear __stack_user.next, clear stack_used.next)
(save a zeroed-threads corefile): New test.
Call core_load for $core0file.
(zeroed-threads cannot be listed): New test.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
filename.
($srcfile): Preserve the original value.
($testfile): Match it the .exp filename.
($corefile): New variable. Substitute it around.
Use clean_restart.
($prev_timeout): Remove.
(load_core): Move core loading into this proc.
Fix restore of $timeout if load_core fails.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/eu-strip-infcall.c: New file.
* gdb.base/eu-strip-infcall.exp: New file.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
* gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix Python access to inlined frames.
* gdb.python/py-frame-inline.c: New file.
* gdb.python/py-frame-inline.exp: New file.
2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
* gdb.base/gdb1090.exp: Change breakpoint location to read the
content of 's24' correctly (avoiding "optimized out").
* gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
expect a colon in watch -location output.
2011-04-13 Marek Polacek <mpolacek@redhat.com>
* gdb.base/commands.exp (redefine_backtrace_test): Fix race.
New testcase `expect response to define backtrace'. Also remove
redundant `default' block.
2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-prettyprint.c (struct hint_error): New.
(main): New variable hint_error.
* gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
"print hint_error".
* gdb.python/py-prettyprint.py (class pp_hint_error): New.
(register_pretty_printers): Register it.
2011-04-04 Tom Tromey <tromey@redhat.com>
* gdb.cp/maint.exp (test_help): Update.
(test_namespace): Likewise.
2011-04-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayptr/foo.adb: Add access to constrained array.
* gdb.ada/arrayptr.exp: Add new tests.
2011-04-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/mi_catch_ex: New testcase.
2011-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
base::overload(void) method without specifying "const".
2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
* gdb.arch/thumb-singlestep.S: New file.
* gdb.arch/thumb-singlestep.exp: Likewise.
2011-03-31 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.py (exception_flag): New global.
(NoStringContainerPrinter._iterator.next): Check it.
* gdb.python/py-prettyprint.c (main): New variable nstype2.
* gdb.python/py-mi.exp: Set exception_flag and do more tests.
2011-03-29 Tom Tromey <tromey@redhat.com>
* gdb.cp/anon-struct.cc: New file.
* gdb.cp/anon-struct.exp: New file.
2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Test STT_GNU_IFUNC support.
* gdb.base/gnu-ifunc-lib.c: New file.
* gdb.base/gnu-ifunc.c: New file.
* gdb.base/gnu-ifunc.exp: New file.
2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Support a ring of related breakpoints.
* gdb.base/watchpoint-delete.c: New file.
* gdb.base/watchpoint-delete.exp: New file.
2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.ada/arrayparam.exp (print first after function call): Use
explicit package name. Add a comment
(print lasta after function call): Rename ...
(print last after function call): ... it and use explicit package
name.
(print length after function call): Use explicit package name.
* gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
* gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
(multiple matches for symbol i): Rename ...
(multiple matches for symbol integervar): ... it.
* gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
* gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2011-03-25 Andrew Burgess <aburgess@broadcom.com>
* lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
environment variable to make grep output more predictable. Move
all the environment setup into gdb_init so it's done once per test
case rather than each time we start gdb.
2011-03-24 Tom Tromey <tromey@redhat.com>
* gdb.base/label.exp: Use `main:there' linespec. Add re-running
test.
2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-entry-value-main.c: New file.
* gdb.dwarf2/dw2-entry-value.S: New file.
* gdb.dwarf2/dw2-entry-value.exp: New file.
2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
PR python/12183
* gdb.python/py-function.exp: Add GdbError tests.
2011-03-18 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.cc (args_test_func, local_test_func)
(reglocal_test_func, statlocal_test_func): New functions.
(globals_test_func): Call new functions.
* gdb.trace/unavailable.exp (gdb_collect_args_test)
(gdb_collect_locals_test): New procedure.
(gdb_trace_collection_test): Call new procedures.
2011-03-18 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
(test_register, test_register_unavailable): New procedures.
(gdb_unavailable_registers_test): New procedure.
(gdb_trace_collection_test): Call it.
2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
PR python/12149
* gdb.python/python.exp: Add gdb.write tests.
2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/Makefile.in: Add py-objfile.
* gdb.python/py-objfile.exp: New file.
* gdb.python/py-objfile.c: New file.
* gdb.python/py-block.exp: Add is_valid tests.
* gdb.python/py-inferior.exp: Ditto.
* gdb.python/py-infthread.exp: Ditto.
* gdb.python/py-symbol.exp: Ditto.
* gdb.python/py-symtab.exp: Ditto.
2011-03-16 Keith Seitz <keiths@redhat.com>
PR c++/12273
* gdb.cp/cmpd-minsyms.exp: New test.
* gdb.cp/cmpd-minsyms.cc: New file.
PR c++/11734
* gdb.cp/ovsrch.exp: New test.
* gdb.cp/ovsrch.h: New file.
* gdb.cp/ovsrch1.cc: New file.
* gdb.cp/ovsrch2.cc: New file.
* gdb.cp/ovsrch3.cc: New file.
* gdb.cp/ovsrch4.cc: New file.
2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/12528
* gdb.base/Makefile.in: Adjust EXECUTABLES.
* gdb.base/break-on-linker-gcd-function.exp: New test.
* gdb.base/break-on-linker-gcd-function.cc: New file.
2011-03-15 Andreas Tobler <andreast@fgznet.ch>
* gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
* lib/gdb.exp (gdb_unload): Add another termination case.
2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-empty-pc-range.S: New file.
* gdb.dwarf2/dw2-empty-pc-range.exp: New file.
* gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
Provide a stub byte there.
(DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
DW_AT_entry_pc.
(dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
using a GCC 4.1 or 4.2 compiler. Add an additional test variant
"generic ABI, auto".
(altivec_abi_tests): Accept vectors returned by reference.
2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.python/py-section-script.exp: Skip test if no Python support.
2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-parameter.exp: Update tests to the new Python
parameter API. Add "no documentation" test. Add deprecated API
backward compatibility test.
2011-03-09 Tom Tromey <tromey@redhat.com>
* gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
gdb_continue_to_end.
2011-03-09 Mark Kettenis <kettenis@gnu.org>
* gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
tabs.
2011-03-09 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
parentheses.
(gdb_continue_to_end): Add "allow_extra" parameter. Use
$command.
* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
argument to gdb_continue_to_end.
* gdb.cp/annota3.exp: Fix regex.
* gdb.cp/annota2.exp: Fix regex.
* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
* gdb.base/call-signal-resume.exp: Revert earlier patch.
* gdb.ada/tasks.exp: Pass "allow_extra" argument to
gdb_continue_to_end.
2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.server/ext-run.exp
(load new file without any gdbserver inferior): New test.
2011-03-07 Tom Tromey <tromey@redhat.com>
* Makefile.in (TAGS): Rewrite.
2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.trace/report.exp (12.1: trace report #1): New match for the
initial commands echo. New match for `Found trace'. Anchor all the
other matches. Anchor and match for `No trace frame found' the final
match.
2011-03-07 Tom Tromey <tromey@redhat.com>
* Makefile.in (TAGS): New target.
2011-03-07 Tom Tromey <tromey@redhat.com>
* lib/opencl.exp (skip_opencl_tests): Update for exit message
change.
* lib/mi-support.exp (mi_gdb_test): Update for exit message
change.
* lib/gdb.exp (gdb_test_multiple): Update comment. Update for
exit message change.
(skip_altivec_tests): Update for exit message change.
(skip_vsx_tests): Likewise.
(gdb_continue_to_end): Likewise. Add 'command' argument.
* lib/cell.exp (skip_cell_tests): Update for exit message change.
* gdb.threads/tls.exp: Update for exit message change.
* gdb.threads/thread-unwindonsignal.exp: Use
gdb_continue_to_end.
* gdb.threads/step.exp (step_it): Update for exit message change.
(continue_all): Likewise.
* gdb.threads/print-threads.exp (test_all_threads): Update for
exit message change.
* gdb.threads/interrupted-hand-call.exp: Use
gdb_continue_to_end.
* gdb.threads/execl.exp: Use gdb_continue_to_end.
* gdb.python/py-prettyprint.exp (run_lang_tests): Use
gdb_continue_to_end.
* gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
* gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
* gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
* gdb.cp/method.exp: Update for exit message change.
* gdb.cp/mb-templates.exp: Update for exit message change.
* gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
* gdb.cp/annota3.exp: Update for exit message change.
* gdb.cp/annota2.exp: Update for exit message change.
* gdb.cell/fork.exp: Use gdb_continue_to_end.
* gdb.base/term.exp: Update for exit message change.
* gdb.base/step-test.exp (test_i): Update for exit message change.
* gdb.base/sigstep.exp (advance): Update for exit message change.
(advancei): Likewise.
* gdb.base/siginfo.exp: Update for exit message change.
* gdb.base/shlib-call.exp: Use gdb_continue_to_end.
* gdb.base/reread.exp: Use gdb_continue_to_end.
* gdb.base/langs.exp: Use gdb_continue_to_end.
* gdb.base/interrupt.exp: Update for exit message change.
* gdb.base/gdb1555.exp: Update for exit message change.
* gdb.base/exe-lock.exp: Use gdb_continue_to_end.
* gdb.base/ending-run.exp: Update for exit message change.
* gdb.base/chng-syms.exp: Update for exit message change.
* gdb.base/checkpoint.exp: Update for exit message change.
* gdb.base/catch-syscall.exp (check_for_program_end): Use
gdb_continue_to_end.
(test_catch_syscall_with_wrong_args): Likewise.
* gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
* gdb.base/break-interp.exp (test_ld): Update for exit message
change.
* gdb.base/bang.exp: Update for exit message change.
* gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
(do_call_attach_tests): Likewise.
* gdb.base/a2-run.exp: Update for exit message change.
* gdb.arch/ppc-dfp.exp: Update for exit message change.
* gdb.ada/tasks.exp: Use gdb_continue_to_end.
* gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/help.exp (help thread find): Fix one forgotten quote.
2011-03-03 Tom Tromey <tromey@redhat.com>
* gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.aCC/configure (Makefile): Remove.
* gdb.hp/gdb.aCC/configure.ac: Remove.
* gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.base-hp/configure (Makefile): Remove.
* gdb.hp/gdb.base-hp/configure.ac: Remove.
* gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.compat/configure (Makefile): Remove.
* gdb.hp/gdb.compat/configure.ac: Remove.
* gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.defects/configure (Makefile): Remove.
* gdb.hp/gdb.defects/configure.ac: Remove.
* gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
* gdb.hp/gdb.objdbg/configure (Makefile): Remove.
* gdb.hp/gdb.objdbg/configure.ac: Remove.
* gdb.hp/configure.ac: Remove.
* gdb.hp/configure: Remove.
* gdb.hp/Makefile.in (SUBDIRS): No longer a configure
substitution.
(Makefile): Remove rule.
* gdb.cell/configure.ac: Remove.
* gdb.cell/configure: Remove.
* gdb.stabs/Makefile.in (Makefile): Remove.
(distclean): Don't remove config.status or config.log.
* gdb.stabs/configure (Makefile): Remove.
* gdb.stabs/configure.ac: Remove.
* configure: Rebuild.
* configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
Remove stabs- and cell-specific logic. Test for existence of
../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
subdirectories, gdb.cell, and and gdb.stabs.
* Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2011-03-03 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-inferior.exp: Avoid searching pattern beyond
end of buffer.
2011-03-02 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
gdb_test when running a test where we expected no output back.
2011-02-28 Michael Snyder <msnyder@vmware.com>
* gdb.cp/overload.cc: Change initializer value to integer.
2011-02-27 Michael Snyder <msnyder@vmware.com>
* gdb.multi/base.exp: Add test for remove-inferiors.
2011-02-26 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-frame.exp: Simplify the initialization phase
using prepare_for_testing.
2011-02-25 Michael Snyder <msnyder@vmware.com>
* gdb.multi/base.exp: Add tests for info inferiors with args.
2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.S: Rename to ...
* gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
* gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
asmfile3. Comment the STABS (#3) file compilation. Compile
everything through assembler. Provide KFAIL for symtab/12497.
* gdb.dwarf2/dw2-ranges2.S: Rename to ...
* gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
* gdb.dwarf2/dw2-ranges3.S: Rename to ...
* gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2011-02-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/break.exp: Add tests for delete breakpoints using
convenience variables and value history references.
2011-02-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/break.exp: Remove debugging 'printf' accidentally
left behind in previous check-in.
2011-02-23 Michael Snyder <msnyder@vmware.com>
* gdb.base/break.exp: Add tests for "info break" with arguments.
* gdb.trace/infotrace.exp: Update patterns for error and help.
* gdb.base/completion.exp: Update pattern.
* gdb.base/ena-dis-br.exp: Update pattern.
* gdb.base/help.exp: Update patterns.
2011-02-23 Michael Snyder <msnyder@vmware.com>
* gdb.base/memattr.exp: New test.
* gdb.base/memattr.c: Test load for memattr.exp.
2011-02-22 Doug Evans <dje@google.com>
* gdb.python/py-symbol.exp: Test lookup_global_symbol.
2011-02-22 Michael Snyder <msnyder@vmware.com>
* Makefile.in: Make more clean.
* gdb.ada/Makefile.in: Ditto.
* gdb.arch/Makefile.in: Ditto.
* gdb.asm/Makefile.in: Ditto.
* gdb.base/Makefile.in: Ditto.
* gdb.cp/Makefile.in: Ditto.
* gdb.dwarf2/Makefile.in: Ditto.
* gdb.java/Makefile.in: Ditto.
* gdb.mi/Makefile.in: Ditto.
* gdb.modula2/Makefile.in: Ditto.
* gdb.python/Makefile.in: Ditto.
* gdb.server/Makefile.in: Ditto.
* gdb.stabs/Makefile.in: Ditto.
* gdb.threads/Makefile.in: Ditto.
* gdb.trace/Makefile.in: Ditto.
2011-02-22 Michael Snyder <msnyder@vmware.com>
* gdb.threads/thread-find.exp: Add tests for bad input to
info threads.
2011-02-22 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-breakpoint.exp: Fix the expected output of
one of the "maint info breakpoints" tests to accept the output
generated on platforms that do not have hardware watchpoints.
2011-02-22 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-breakpoint.exp: Remove unnecessary call to
clean_restart. Be a little stricter in the expected output
for one of the tests. Fix a typo in one of the comments.
2011-02-22 Joel Brobecker <brobecker@adacore.com>
* gdb.python/py-block.exp: Simplify using prepare_for_testing.
Delete variable binfile, no longer use. Add or modify test
comments to make them unique.
2011-02-21 Michael Snyder <msnyder@vmware.com>
* Makefile.in: Update for make clean.
* gdb.ada/Makefile.in: Ditto.
* gdb.arch/Makefile.in: Ditto.
* gdb.asm/Makefile.in: Ditto.
* gdb.base/Makefile.in: Ditto.
* gdb.cp/Makefile.in: Ditto.
* gdb.dwarf2/Makefile.in: Ditto.
* gdb.java/Makefile.in: Ditto.
* gdb.mi/Makefile.in: Ditto.
* gdb.modula2/Makefile.in: Ditto.
* gdb.python/Makefile.in: Ditto.
* gdb.server/Makefile.in: Ditto.
* gdb.stabs/Makefile.in: Ditto.
* gdb.threads/Makefile.in: Ditto.
* gdb.trace/Makefile.in: Ditto.
2011-02-21 Michael Snyder <msnyder@vmware.com>
* gdb.threads/thread-find.exp: Update patterns for changes in
output of "info threads" command.
2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Ulrich Weigand <uweigand@de.ibm.com>
* lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
(skip_hw_watchpoint_tests): Likewise.
(skip_hw_watchpoint_multi_tests): Likewise.
2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
* lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
(skip_hw_watchpoint_tests): Likewise.
(skip_hw_watchpoint_multi_tests): Likewise.
(skip_hw_watchpoint_access_tests): Likewise.
* gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
* gdb.base/pr11022.exp: Likewise.
* gdb.base/watch-read.exp: Likewise.
* gdb.base/watch_thread_num.exp: Likewise.
* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
* gdb.base/watchpoint-hw.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.threads/local-watch-wrong-thread.exp: Likewise.
* gdb.threads/watchthreads-reorder.exp: Likewise.
* gdb.threads/watchthreads.exp: Likewise.
* gdb.threads/watchthreads2.exp: Likewise.
2011-02-21 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_array.exp: Add xfail for "print u_var" if
the debugger is unable to find the array bounds.
2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/typedef-operator.exp: New file.
* gdb.cp/typedef-operator.cc: New file.
2011-02-17 Michael Snyder <msnyder@vmware.com>
* gdb.threads/thread-find.exp: Fix regular expressions.
2011-02-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_array: Expand testcase to test printing of
unconstrained packed array.
2011-02-17 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2011-02-16 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.c (globalarr3): New global.
(main): Initialize it before collecting, and and clear it
afterwards.
* gdb.trace/collection.exp (gdb_collect_globals_test): Test
collecting with '{type} addr', where the addr expression is not an
rvalue.
2011-02-16 Ken Werner <ken.werner@de.ibm.com>
* gdb.opencl/datatypes.exp: Allow "false" when printing the content of
a bool variable. Expect correct OpenCL names for vector types. Use the
uc3 variable name instead of referring to the uchar3 built-in type.
Escape the asterisk at the half pointer test.
2011-02-16 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.c (globalarr2): New global.
(main): Initialize it before collecting, and and clear it
afterwards.
* gdb.trace/collection.exp (gdb_collect_globals_test): Test
collecting overlapping memory ranges.
2011-02-15 Michael Snyder <msnyder@vmware.com>
* gdb.base/default.exp: Add tests for thread commands.
* gdb.base/help.exp: Add tests for thread commands.
* gdb.threads/thread-find.exp: New test for thread find command.
2011-02-15 Ken Werner <ken.werner@de.ibm.com>
* gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2011-02-15 Yao Qi <yao@codesourcery.com>
PR tdep/12352
* gdb.arch/arm-disp-step.S : New test for str instruction.
* gdb.arch/arm-disp-step.exp : Likewise.
2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
"vector_register2_vr" test strings. Test the extended floating
point registers (F32~F63).
* lib/gdb.exp (skip_vsx_tests): Update compile flags for the
IBM XL C compiler. Make the test program use a register provided
by the compiler for the lxvd2x instruction.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.cc (class Base, class Middle, class
Derived): New types.
(derived_unavail, derived_partial, derived_whole): New globals.
(virtual_partial): New global.
(virtualp): Point at virtual_partial.
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
related to unavailable vptr.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.cc (a, b, c): New globals.
(main): Set and clear them.
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
`a' and `c', and check that `b' isn't collected, although `a' and
`c' are.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.cc (struct Virtual): New.
(virtualp): New global pointer.
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
printing a pointer to an object whose type has a vtable, with
print object on.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
value repeat handles unavailableness.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
tests for building arrays from unavailable values, subscripting
non-memory rvalue unvailable arrays, and accessing fields or
baseclasses of non-lazy unavailable values,
* gdb.trace/unavailable.cc (small_struct, small_struct_b): New
struct types.
(g_smallstruct, g_smallstruct_b): New globals.
2011-02-14 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix const/volatile qualifiers of C++ types, PR c++/12328.
* gdb.cp/overload-const.exp: New file.
* gdb.cp/overload-const.cc: New file.
2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.opencl/callfuncs.cl: New file.
* gdb.opencl/callfuncs.exp: New test.
* gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
when computing result.
* gdb.arch/altivec-abi.exp: Update expected results.
2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/break-interp.exp: Remove ${objdir} from test messages.
* gdb.base/jit.exp: Likewise.
* gdb.base/pie-execl.exp: Likewise.
* gdb.base/solib-nodir.exp: Likewise.
* gdb.base/solib-overlap.exp: Likewise.
2011-02-07 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.c (global_pieces): New.
* gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
New procedure.
(gdb_trace_collection_test): Call it.
2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.python/py-evthreads.c: New file.
* gdb.python/py-evthreads.exp: New file.
* gdb.python/py-events.py: New file.
* gdb.python/py-events.exp: New file.
* gdb.python/py-events.c: New file.
2011-02-04 David Daney <ddaney@caviumnetworks.com>
* gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2011-02-03 Andrew Burgess <aburgess@broadcom.com>
* gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
gdb.base/disasm-end-cu.exp: New test for disassembling over the
boundary between two compilation units.
2011-02-02 Pedro Alves <pedro@codesourcery.com>
* gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
(Virtual): New structs.
(virtual_o, virtual_middle_b): New globals.
* gdb.cp/virtbase.exp: New tests.
2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/jit.exp: New file.
* gdb.base/jit-main.c: New file.
* gdb.base/jit-solib.c: New file.
2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.opencl/convs_casts.exp: Use tbreak instead of break to
proceed to initial kernel entry point.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsnested.cc: New.
* gdb.cp/nsnested.exp: New.
* gdb.cp/nsnoimports.exp: New.
* gdb.cp/nsnoimports.cc: New.
2011-01-31 Joel Brobecker <brobecker@adacore.com>
* gdb.base/interact.exp: Add extra tests that verify that
the value of the interactive-mode setting does not change
after the script is sourced.
2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/noparam.exp: New file.
* gdb.cp/noparam.cc: New file.
2011-01-28 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfile.exp: Test that with no traceframe selected,
there's no stack or registers.
2011-01-26 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
space before string output. Add test for "set print pretty off"
case.
2011-01-25 Pedro Alves <pedro@codesourcery.com>
* gdb.base/frame-args.exp: Adjust.
* gdb.dwarf2/dw2-noloc.exp: Adjust.
* gdb.dwarf2/dw2-inline-param.exp: Adjust.
* gdb.dwarf2/pieces.exp: Adjust.
* gdb.opt/clobbered-registers-O2.exp: Adjust.
* gdb.opt/inline-locals.exp: Adjust.
* gdb.threads/fork-child-threads.exp: Adjust.
2011-01-25 Ken Werner <ken.werner@de.ibm.com>
* gdb.opencl/convs_casts.cl: Move program scope variables into the
OpenCL kernel function. Add a comment as marker. Add address space
qualifiers for the remaining program scope variables.
* gdb.opencl/datatypes.cl: Likewise.
* gdb.opencl/operators.cl: Likewise.
* gdb.opencl/vec_comps.cl: Likewise.
* gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
Add breakpoint at the marker comment.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
2011-01-24 Pedro Alves <pedro@codesourcery.com>
* gdb.base/printcmds.c (some_struct): New struct and instance.
* gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
procedure.
<global scope>: Call it.
2011-01-21 Ken Werner <ken.werner@de.ibm.com>
* lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
argument to the gdb_compile_opencl_hostapp call.
2011-01-19 Yao Qi <yao@codesourcery.com>
* lib/dwarf.exp (dwarf2_support): Change supported targets to a
positve list.
2011-01-19 Yao Qi <yao@codesourcery.com>
* gdb.asm/asm-source.exp: Replace ARM target triplet with a
canonical form.
Remove "xscale-*-*"
* gdb.xml/tdesc-regs.exp: Likewise.
* gdb.python/py-section-script.exp: Replace ARM target triplet
with canonical form.
Match arm*-*-symbianelf*.
* gdb.base/dup-sect.exp: Likewise.
* lib/dwarf.exp: New.
* gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
dwarf2_support.
* gdb.dwarf2/dup-psym.exp: Likewise.
* gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
* gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
* gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
* gdb.dwarf2/dw2-basic.exp: Likewise.
* gdb.dwarf2/dw2-compressed.exp: Likewise.
* gdb.dwarf2/dw2-const.exp: Likewise.
* gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
* gdb.dwarf2/dw2-cu-size.exp: Likewise.
* gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
* gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
* gdb.dwarf2/dw2-filename.exp: Likewise.
* gdb.dwarf2/dw2-inheritance.exp: Likewise.
* gdb.dwarf2/dw2-inline-param.exp: Likewise.
* gdb.dwarf2/dw2-intercu.exp: Likewise.
* gdb.dwarf2/dw2-intermix.exp: Likewise.
* gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
* gdb.dwarf2/dw2-noloc.exp: Likewise.
* gdb.dwarf2/dw2-op-call.exp: Likewise.
* gdb.dwarf2/dw2-producer.exp: Likewise.
* gdb.dwarf2/dw2-ranges.exp: Likewise.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
* gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
* gdb.dwarf2/dw2-strp.exp: Likewise.
* gdb.dwarf2/dw2-unresolved.exp: Likewise.
* gdb.dwarf2/implptr.exp: Likewise.
* gdb.dwarf2/mac-fileno.exp: Likewise.
* gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
* gdb.dwarf2/pieces.exp: Likewise.
* gdb.dwarf2/pr11465.exp: Likewise.
* gdb.dwarf2/valop.exp: Likewise.
* gdb.dwarf2/watch-notconst.exp: Likewise.
* gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2011-01-19 Tom Tromey <tromey@redhat.com>
* gdb.python/py-infthread.exp: Add thread tests.
2011-01-14 Joel Brobecker <brobecker@adacore.com>
* gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2011-01-14 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/widewide: New testcase.
2011-01-13 Joel Brobecker <brobecker@adacore.com>
* gdb.base/interact.exp: New testcase.
2011-01-12 Tom Tromey <tromey@redhat.com>
* gdb.mi/gdb2549.exp: Update for error message changes.
* gdb.mi/mi-cli.exp: Likewise.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-pthreads.exp: Likewise.
* gdb.mi/mi-regs.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-pthreads.exp: Likewise.
* gdb.mi/mi2-regs.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2011-01-12 Andrew Burgess <aburgess@broadcom.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR fortran/11104 and DWARF unbound arrays detection.
* gdb.fortran/multi-dim.exp: New file.
* gdb.fortran/multi-dim.f90: New file.
2011-01-12 Andrew Burgess <aburgess@broadcom.com>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
add new tests for opcode dumping.
2011-01-11 Tom Tromey <tromey@redhat.com>
* gdb.python/py-infthread.exp: Load gdb-python.exp.
2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
Convert hardware watchpoints to use breakpoint_ops.
* gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
type is not supported.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
Use load_lib gdb-python.exp.
* gdb.python/python.exp: Ditto.
* gdb.python/py-function.exp: Ditto.
2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
* gdb.threads/tls.exp ("info address me"): Fix expected output.
2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* configure: Regenerate.
2011-01-06 Tom Tromey <tromey@redhat.com>
* gdb.python/py-frame.exp: Test gdb.newest_frame.
2011-01-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
gdb.ada/null_array.exp, gdb.ada/null_record.exp,
gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
gdb.ada/uninitialized_vars.exp,
gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
Simplify by using clean_restart.
2011-01-06 Joel Brobecker <brobecker@adacore.com>
Add marker to be used as anchor for inserting breakpoints.
* gdb.ada/null_record/null_record.adb: Add "-- START" comment.
* gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
Likewise.
Remove uses of gdb_start_cmd.
* gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
* gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
Do not run testcase if testing with GDBserver.
* gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
if testing with GDBserver.
2011-01-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
copyright header.
2011-01-05 Joel Brobecker <brobecker@adacore.com>
* testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
testsuite/gdb.fortran/complex.f,
testsuite/gdb.fortran/derived-type.f90,
testsuite/gdb.fortran/library-module-lib.f90,
testsuite/gdb.fortran/library-module-main.f90,
testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
Copyright year update.
2011-01-05 Joel Brobecker <brobecker@adacore.com>
* gdb.base/langs1.f: Add copyright header.
2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/morestack.exp: New file.
* gdb.base/morestack.c: New file.
2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
2010-12-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
* gdb.ada/arrayptr.exp: Add test printing that new variable.
2010-12-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/lang_switch.exp: Correct expected parameter value.
2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
* gdb.threads/tls.exp: Fix typo.
* gdb.threads/thread-specific.exp (get_thread_list): Update.
* gdb.threads/execl.exp: Update.
2010-12-23 Yao Qi <yao@codesourcery.com>
* gdb.arch/arm-disp-step.exp: New.
* gdb.arch/arm-disp-step.S: New.
2010-12-21 Tom Tromey <tromey@redhat.com>
* gdb.threads/execl.exp: Update.
* gdb.threads/linux-dp.exp: Update.
* gdb.threads/manythreads.exp: Update.
* gdb.threads/tls.exp: Update.
2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/nextoverthrow.cc (dummy): Return int 0.
(NextOverThrowDerivates) <resumebpt>: New.
(resumebpt_test): New.
(main): Call resumebpt_test.
* gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2010-12-12 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tsv.exp: Test print command on trace state variables.
2010-12-09 Tom Tromey <tromey@redhat.com>
* gdb.base/interp.exp: Add regression test.
2010-12-09 Tom Tromey <tromey@redhat.com>
* gdb.java/jnpe.java: New file.
* gdb.java/jnpe.exp: New file.
* gdb.cp/nextoverthrow.exp: New file.
* gdb.cp/nextoverthrow.cc: New file.
2010-12-07 Doug Evans <dje@google.com>
* gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
of data-directory.
* lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
updated.
* lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
2010-11-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/callfuncs.exp: Test for skip_float_tests.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/finish.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/return2.exp: Ditto.
2010-11-30 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
(gdb_expect_list): Fix spelling errors in comments.
* gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
send_gdb/gdb_expect_list where applicable.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/sigaltstack.exp: Ditto.
* gdb.base/siginfo.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.
2010-11-29 Doug Evans <dje@google.com>
* gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
printer-name;subprinter-name.
2010-11-29 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/implptr.exp: New file.
* gdb.dwarf2/implptr.c: New file.
* gdb.dwarf2/implptr.S: New file.
2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
PR python/12199
* gdb.python/py-breakpoint.exp: Test the delete method.
2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix step_resume_breakpoint unsaved during an infcall.
* gdb.base/step-resume-infcall.exp: New file.
* gdb.base/step-resume-infcall.c: New file.
2010-11-24 Edjunior Machado <emachado@br.ibm.com>
* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2010-11-24 Edjunior Machado <emachado@br.ibm.com>
* gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
on ppc64's symbols; "finish" and "return" commands must accept to
show the caller line again as well as the line after.
* gdb.asm/powerpc64.inc: New file.
2010-11-23 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_test_sequence): New function.
(gdb_expect_list): Add verbose -log call for each pattern.
* gdb.base/signals.exp (test_handle_all_print): Call it.
Reduce timeout increment from 6 minutes to 1 minute.
* gdb.server/ext-run.exp: Call it.
2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
PR python/12212
* gdb.python/python.exp: Check that selected_thread raises an
error when no inferior is loaded.
2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-stack-boundary.exp: New file.
* gdb.dwarf2/dw2-stack-boundary.S: New file.
2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ada-ffffffff.S: New file.
* gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
2010-11-18 Doug Evans <dje@google.com>
* gdb.server/ext-run.exp: Fix intermittent failures.
2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
* gdb.stabs/gdb11479.exp: Use runto_main.
2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/break-entry.exp: Skip if using a stub.
2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
* gdb.python/py-inferior.exp: Pack values in target endianness.
2010-11-12 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
MemoryError.
* gdb.python/python.exp (gdb_py_test_multiple): Update exception
type.
* gdb.python/py-value.exp (test_value_in_inferior): Add test for
MemoryError.
(test_subscript_regression): Update exception type.
2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: Add internal watchpoint and
breakpoint tests.
2010-11-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watchpoint.exp: Test "watch -location" with an
innacessible location.
2010-11-09 Edjunior Machado <emachado@br.ibm.com>
Luis Machado <luisgpm@br.ibm.com>
* gdb.base/maint.exp: Expect "." prefix.
* gdb.base/nodebug.exp: Expect "." Likewise.
* gdb.base/sepsymtab.exp: Expect "." Likewise.
* gdb.base/watchpoint-cond-gone.exp: Likewise.
* gdb.base/watchpoint.exp: Expect a software watch to be created for
POWER server processors.
2010-11-08 Edjunior Machado <emachado@br.ibm.com>
Luis Machado <luisgpm@br.ibm.com>
* gdb.base/break-entry.exp: convert entry point for
ppc64 and expect leading `.' on ppc64's symbols
2010-11-05 Doug Evans <dje@google.com>
* gdb.base/help.exp: Update expected output.
* gdb.python/py-param.exp: Delete, contents moved to ...
* gdb.python/py-parameter.exp: ... here. New file.
Add test for gdb.parameter ("directories").
2010-11-05 Ken Werner <ken.werner@de.ibm.com>
* Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
* configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
* configure: Regenerate.
* gdb.opencl/Makefile.in: New File.
* gdb.opencl/datatypes.exp: Likewise.
* gdb.opencl/datatypes.cl: Likewise.
* gdb.opencl/operators.exp: Likewise.
* gdb.opencl/operators.cl: Likewise.
* gdb.opencl/vec_comps.exp: Likewise.
* gdb.opencl/vec_comps.cl: Likewise.
* gdb.opencl/convs_casts.exp: Likewise.
* gdb.opencl/convs_casts.cl: Likewise.
* lib/opencl.exp: Likewise.
* lib/opencl_hostapp.c: Likewise.
* lib/opencl_kernel.cl: Likewise.
* lib/cl_util.c: Likewise.
* lib/cl_util.c: Likewise.
* gdb.base/default.exp (set language): Add "opencl" to the list of
languages.
2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/overload.exp: Added test for inheritance overload.
* gdb.cp/overload.cc: Ditto.
* gdb.cp/oranking.exp: Removed releveant kfails.
2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
check test_compiler_info.
2010-11-03 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/gnu_vector.exp: Adjust expect messages.
2010-11-03 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/gnu_vector.exp: Add unary operator tests.
2010-11-03 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
2010-11-02 Doug Evans <dje@google.com>
* gdb.python/py-pp-maint.c: New file.
* gdb.python/py-pp-maint.exp: New file.
* gdb.python/py-pp-maint.py: New file.
2010-11-02 Tom Tromey <tromey@redhat.com>
* gdb.base/default.exp: Remove "scheme" from language list.
2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Revert:
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/sigstep-threads.exp: New file.
* gdb.threads/sigstep-threads.c: New file.
2010-10-20 Michael Snyder <msnyder@vmware.com>
* gdb.threads/fork-child-threads.exp: Don't run on remote target.
2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
Skip test completely if gdb,no_hardware_watchpoints.
2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
strict, but do not check for any particular function name within libc.
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/smartp.exp: New test.
* gdb.cp/smartp.cc : New test.
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/converts.exp: Test pointer to bool conversion.
Test pointer to long conversion.
* gdb.cp/oranking.exp: Removed relevant kfail.
2010-10-18 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
argument to lazy_string.
* gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
(pp_ls.to_string): Use it.
* gdb.python/py-prettyprint.c (main): Move declarations to top.
Add "estring2" local.
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix s390x compatibility.
* gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
* gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/sigstep-threads.exp: New file.
* gdb.threads/sigstep-threads.c: New file.
2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/pie-execl.exp: New file.
* gdb.base/pie-execl.c: New file.
2010-10-13 Doug Evans <dje@google.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR exp/12117
* gdb.cp/ptype-cv-cp.cc: New file.
* gdb.cp/ptype-cv-cp.exp: New file.
2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/converts.cc: New test program.
* gdb.cp/converts.exp: New test.
* gdb.cp/overload.exp: Added test for void* vs int*.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/oranking.exp: Removed related kfail.
2010-10-13 Doug Evans <dje@google.com>
* lib/gdb-python.exp (gdb_check_python_config): New function.
* gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
* gdb.python/lib-types.cc: New file.
* gdb.python/lib-types.exp: New file.
2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/py-error.exp: New file.
* gdb.python/py-error.py: New file.
2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
gdb_test_multiple.
2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Use ldlags for linking flags.
* gdb.base/prelink.exp: Likewise.
* gdb.base/solib-nodir.exp: Likewise.
* lib/gdb.exp (gdb_compile) <*-*-openbsd*>
(gdb_compile) <shlib_load>: Use ldlags for linking flags.
* lib/prelink-support.exp (build_executable_own_libs): Likewise.
2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
* break-interp.exp (test_ld): Use two separate gdb_expect statements
for the "info files" test to avoid timeouts on slow machines.
2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
(main): Make openlib dummy call.
2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
* break-interp.exp (reach): Move the core body ...
(reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
(test_ld): Provide always real argument, even to the linker. Replace
dl_main by _dl_debug_state.
2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix results of prelinked PIEs on ppc*.
* gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
Accept also DISPLACEMENT "PRESENT".
(main): Replace "ZERO" displacements by "PRESENT".
2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/oranking.exp: New test.
* gdb.cp/oranking.cc: New test program.
2010-10-08 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
* gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
2010-10-06 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
lush, lynx) New constant.
* gdb.base/constvars.exp: Test const array types.
* gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
2010-10-06 Doug Evans <dje@google.com>
* gdb.base/catch-syscall.exp (do_syscall_tests): Update location
of syscall staging area.
2010-10-06 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/gnu_vector.c: Add variable c4.
* gdb.base/gnu_vector.exp: Add tests for character vector printing.
* gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.arch/altivec-abi.exp: Fix a typo.
2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
* lib/mi-support.exp (thread_selected_re): Correct pattern used
to match a thread ID.
2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix s390x testcase compatibility.
* gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2010-10-01 Doug Evans <dje@google.com>
* lib/gdb-python.exp: New file.
* gdb.python/py-block.exp: Use it.
* gdb.python/py-breakpoint.exp: Ditto.
* gdb.python/py-frame.exp: Ditto.
* gdb.python/py-inferior.exp: Ditto.
* gdb.python/py-param.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-shared.exp: Ditto.
* gdb.python/py-symbol.exp: Ditto.
* gdb.python/py-symtab.exp: Ditto.
* gdb.python/py-type.exp: Ditto.
* gdb.python/py-value.exp: Ditto.
* gdb.python/python.exp: Ditto.
2010-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/anon.exp: New file.
* gdb.base/anon.c: New file.
2010-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/completion.exp: Test completion through anonymous
union.
* gdb.base/break1.c (struct some_struct): Add anonymous union.
2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix printing parameters of inlined functions.
* gdb.dwarf2/dw2-inline-param.exp: New file.
* gdb.dwarf2/dw2-inline-param-main.c: New file.
* gdb.dwarf2/dw2-inline-param.S: New file.
2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
PR corefiles/12071.
* gdb.base/corefile.exp (quit with a process, no question: load core)
(quit with a core file): New tests.
2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix GDB crash on inferior calls with self-referencing classes.
* gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
* gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
* gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix lost siginfo_t for inferior calls.
* gdb.base/siginfo-infcall.exp: New file.
* gdb.base/siginfo-infcall.c: New file.
2010-09-22 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
New test.
* gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2010-09-22 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
type of our const type.
2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/pr12028.cc: New.
* gdb.cp/pr12028.exp: New.
2010-09-22 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR mi/11407
* gdb.mi/dw2-ref-missing-frame-func.c: New File.
* gdb.mi/dw2-ref-missing-frame-main.c New File.
* gdb.mi/dw2-ref-missing-frame.S New File.
* gdb.mi/dw2-ref-missing-frame.exp New File.
2010-09-14 Tom Tromey <tromey@redhat.com>
PR symtab/8399:
* gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14 Tom Tromey <tromey@redhat.com>
PR exp/11803:
* gdb.threads/tls.exp: Use C++.
(check_thread_local): Use K::another_thread_local.
* gdb.threads/tls.c (class K): New.
(another_thread_local): Now a member of K.
(spin): Update. No longer K&R C.
2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.cc: created class for testing member lookup.
* gdb.cp/koenig.exp: Added test for member lookup.
2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix false FAILs on sourcetree topdir directory containing "kill".
* gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
source line matching regexp.
2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/python.exp (set height 0, collect help from uiout)
(verify help to uiout): New tests.
2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
* gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
is_lp64_target to check 64bit target.
2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
(test_ld) <powerpc64-*>: New.
2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/templates.exp (test_template_args): Allow "struct".
2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/templates.cc (Empty, FunctionArg): New classes.
(FunctionArg::method): New function.
(empty, arg): New variables.
(main): Call arg.method.
* gdb.cp/templates.exp (test_template_args): New function.
(do_tests): Call it.
2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.threads/threxit-hop-specific.exp: Use "continue" instead
of "next" to proceed over pthread_exit call.
2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
* gdb.base/maint.exp: Avoid wildcards against potentially very long
"maint print statistics" output to prevent expect timeouts.
2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
* gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
(test_float_rejected): ... here.
2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
before disabling hardware watchpoints.
(test_inaccessible_watchpoint): Check that hardware watchpoints
are used. Test for watchpoints on a constant address.
2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/ui-redirect.exp: New file.
2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2010-08-31 Doug Evans <dje@google.com>
* gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2010-08-30 Tom Tromey <tromey@redhat.com>
PR python/11792:
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_type test.
2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
instead of running to main. Do not test the main function.
* gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
Add new main.
2010-08-26 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
one test.
2010-08-24 Doug Evans <dje@google.com>
PR symtab/11942
* gdb.dwarf2/dw4-sig-types.cc: New file.
* gdb.dwarf2/dw4-sig-types.h: New file.
* gdb.dwarf2/dw4-sig-types-b.cc: New file.
* gdb.dwarf2/dw4-sig-types.exp: New file.
2010-08-23 Tom Tromey <tromey@redhat.com>
PR python/11145:
* gdb.python/py-value.c (Base, Derived): New types.
(base): New global.
* gdb.python/py-value.exp (test_subscript_regression): Add
dynamic_cast test.
2010-08-23 Tom Tromey <tromey@redhat.com>
PR python/10676:
* gdb.python/py-type.exp (test_fields): Add tests for type
equality.
2010-08-23 Tom Tromey <tromey@redhat.com>
PR python/11915:
* gdb.python/py-type.exp (test_fields): Add tests for array.
2010-08-23 Keith Seitz <keiths@redhat.com>
* gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
have any children. Create a new abbrev for it.
Add missing terminal sequence to .debug_abbrev.
2010-08-20 Keith Seitz <keiths@redhat.com>
PR symtab/11465:
* gdb.dwarf2/pr11465.exp: New test.
* gdb.dwarf2/pr11465.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.S: New file.
* gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
registers. Update data sets with the new v2_double element in the
VSX register union. Add vector_register3_vr data set for the AltiVec
registers. Use gdb_test_no_output instead of send_gdb.
2010-08-19 Pedro Alves <pedro@codesourcery.com>
* gdb.python/py-shared.exp: New file, factored out from
python.exp.
* gdb.python/py-shared.c: New file.
* gdb.python/py-shared-sl.c: New file.
* gdb.python/python-1.c: New file.
* gdb.python/python-sl.c: Delete.
* gdb.python/python.c: Mention python-1.c.
* gdb.python/python.exp: Move shared library tests to
py-shared.exp.
* gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
(MISCELLANEOUS): New.
(clean mostlyclean): Also remove $MISCELLANEOUS.
2010-08-19 Doug Evans <dje@google.com>
PR exp/11926
* gdb.base/printcmds.exp (test_float_accepted): New function.
Move existing float tests there. Add tests for floats with suffixes.
(test_float_rejected): New function.
* gdb.java/jv-print.exp (test_float_accepted): New function.
(test_float_rejected): New function.
* gdb.objc/print.exp: New file.
* gdb.pascal/print.exp: New file.
* lib/objc.exp: New file.
2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/default.exp (info set): Avoid full buffer error and force
reading up to final gdb prompt.
(show): Likewise.
2010-08-18 Tom Tromey <tromey@redhat.com>
PR symtab/11919:
* gdb.base/completion.exp: Add test.
2010-08-18 Doug Evans <dje@google.com>
* gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
* gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
* gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
Simplify, early exit if runto_main fails.
* gdb.fortran/exprs.exp: load_lib fortran.exp.
(set_lang_fortran): Moved to lib/fortran.exp.
* gdb.fortran/types.exp: load_lib fortran.exp.
(set_lang_fortran): Moved to lib/fortran.exp.
* gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
* gdb.java/jprint.exp (set_lang_java): Ditto.
* gdb.java/jv-exp.exp: load_lib java.exp.
If set_lang_java fails, issue a warning instead of failure to be
consistent with other set_lang_foo uses.
(set_lang_java): Moved to lib/java.exp.
* gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
If set_lang_java fails, issue a warning instead of failure to be
consistent with other set_lang_foo uses.
* gdb.pascal/types.exp: load_lib pascal.exp.
(set_lang_pascal): Moved to lib/pascal.exp.
* lib/fortran.exp: New file.
* lib/java.exp (set_lang_java): New function.
* lib/pascal.exp (set_lang_pascal): New function.
2010-08-18 Yao Qi <yao@codesourcery.com
* gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
func_nofb_start and func_loopfb_start, so that address of functions
is equal to these labels on Thumb.
2010-08-18 Yao Qi <yao@codesourcery.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
to reflect latest c source file.
2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/infcall-dlopen.exp: New file.
* gdb.cp/infcall-dlopen.cc: New file.
* gdb.cp/infcall-dlopen-lib.cc: New file.
2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
PR breakpoints/11371
* gdb.base/watch-cond-infcall.exp: New file.
* gdb.base/watch-cond-infcall.c: New file.
2010-08-16 Tom Tromey <tromey@redhat.com>
* gdb.base/help.exp: Update.
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
watchpoint.
(test_watch_location): New proc.
(test_watchpoint_in_big_blob): Delete watchpoint.
* gdb.base/watchpoint.c (func5): New function.
(main): Call it.
2010-08-16 Doug Evans <dje@google.com>
* gdb.python/python.exp: Fix syntax in "post event insertion" test.
2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
tests.
2010-08-11 Ken Werner <ken.werner@de.ibm.com>
* gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
* gdb.base/gnu_vector.c: New File.
* gdb.base/gnu_vector.exp: Likewise.
2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python.c: New File.
* gdb.python/python-sl.c: New File.
* gdb.python/python.exp: Test solib_address and decode_line
* functions.
2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/python.exp (show height, set height 10)
(verify pagination beforehand, verify pagination beforehand: q)
(gdb.execute does not page, verify pagination afterwards)
(verify pagination afterwards: q): New.
2010-08-02 Doug Evans <dje@google.com>
* gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
because of an older gcc, change test2
"print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
to unsupported.
2010-07-30 Kazu Hirata <kazu@codesourcery.com>
* gdb.base/break-always.exp: Do not expect full paths to file
names.
* gdb.base/commands.exp: Likewise.
2010-07-30 Doug Evans <dje@google.com>
* gdb.cp/temargs.exp: For new tests that require newer gccs,
xfail them when run with older gccs.
* lib/gdb.exp (build_executable): Forward "c++" option to
get_compiler_info.
* gdb.python/py-type.exp (test_template): Mark as xfail tests
"python print ttype.template_argument(1)" and
"python print isinstance(ttype.template_argument(1), gdb.Value)"
if using gcc 4.4 or earlier.
* gdb.base/valgrind-db-attach.exp: Use unique test name for
attach-to-debugger handling.
2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/prelink-lib.c (copyreloc): New initialized variable.
* gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
(main): Use copyreloc.
* gdb.base/prelink.exp (split debug of executable)
(.dynbss vs. .bss address shift): New tests.
2010-07-29 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
in gdb_test_multiple.
2010-07-29 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
environment.
2010-07-28 Tom Tromey <tromey@redhat.com>
PR python/11060:
* gdb.python/py-type.c (Temargs): New template.
(temvar): New variable.
* gdb.python/py-type.exp (test_template): New proc.
2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2010-07-28 Tom Tromey <tromey@redhat.com>
PR c++/9946:
* gdb.cp/temargs.exp: New file.
* gdb.cp/temargs.cc: New file.
2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/help.exp (help disassemble): Update the content.
2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/ia64-sigill.exp: New file.
* gdb.threads/ia64-sigill.c: New file.
2010-07-27 Tom Tromey <tromey@redhat.com>
* gdb.opt/inline-cmds.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
(func3): Likewise.
(outer_inline1): Likewise.
(outer_inline2): Likewise.
* gdb.opt/inline-bt.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
* gdb.opt/inline-locals.c (ATTR): New define.
(func1): Use it.
(func2): Likewise.
2010-07-27 Tom Tromey <tromey@redhat.com>
* gdb.stabs/gdb11479.c (hack): New function.
(test): Use it.
(test2): Use it.
* gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
(int32_search_buf, int64_search_buf): No longer static.
(x): Remove.
* gdb.base/relocate.c (hack): New function.
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_inferior_function_call): New function.
* gdb.python/py-value.c (func1): New function.
(func2): Likewise.
2010-07-26 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
as not to clash with .data section.
2010-07-26 Jerome Guitton <guitton@adacore.com>
* gdb.base/code_elim.exp: New file.
* gdb.base/code_elim1.c: New file.
* gdb.base/code_elim2.c: New file.
2010-07-21 Pedro Alves <pedro@codesourcery.com>
PR symtab/11827
* gdb.base/printcmds.c (enum some_volatile_enum): New enum.
(some_volatile_enum): New variable.
* gdb.base/printcmds.exp (test_print_enums): New.
<top level>: Call it.
2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/fpointer.cc: New test.
* gdb.cp/fpointer.exp: New test.
2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-nodir.exp: New file.
* lib/gdb.exp (runto): New case for a GDB internal error.
2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Ulrich Weigand <uweigand@de.ibm.com>
Tom Tromey <tromey@redhat.com>
* gdb.base/charset-malloc.c: New file.
* gdb.base/charset.c (malloc_stub): New prototype.
(main): Call it instead of malloc itself.
* gdb.base/charset.exp: Use only prepare_for_testing.
(binfile): Remove the variable.
2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Make core files the process_stratum.
* gdb.base/corefile.exp (run: load core again)
(run: sanity check we see the core file, run: with core)
(run: core file is cleared, attach: load core again)
(attach: sanity check we see the core file, attach: with core)
(attach: core file is cleared): New tests.
* gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2010-07-14 Ken Werner <ken.werner@de.ibm.com>
* gdb.arch/altivec-abi.exp: New tests.
2010-07-13 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
(main): Use it.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2010-07-13 Tom Tromey <tromey@redhat.com>
* gdb.base/label.exp: New file.
* gdb.base/label.c: New file.
2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
H.J. Lu <hongjiu.lu@intel.com>
* lib/gdb.exp (is_ilp32_target): New.
(is_lp64_target): Likewise.
* gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
target.
* gdb.arch/amd64-disp-step.exp: Likewise.
* gdb.arch/amd64-dword.exp: Likewise.
* gdb.arch/amd64-i386-address.exp: Likewise.
* gdb.arch/amd64-word.exp: Likewise.
* gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
target.
* gdb.arch/i386-bp_permanent.exp: Likewise.
* gdb.arch/i386-byte.exp: Likewise.
* gdb.arch/i386-disp-step.exp: Likewise.
* gdb.arch/i386-gnu-cfi.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-size-overlap.exp: Likewise.
* gdb.arch/i386-size.exp: Likewise.
* gdb.arch/i386-sse.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.arch/i386-word.exp: Likewise.
* gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
test only when building 64-bit executables. Do not hard-code
-m64 option.
2010-07-07 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_test_list_exact): New function.
* gdb.base/default.exp (show convenience): Call it, add tests for
$_sdata = void, $_thread = 0.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Fix re-run of PIE executable, PR shlibs/11776.
* gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
Remove $displacement_main to match the solib-svr4.c change. New "kill"
and re-"run" of the inferior.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
Cope with missing /usr/sbin/prelink.
* lib/prelink-support.exp (prelink_no):
<result == 1 && $output is "no such file or directory">: New.
(prelink_yes): Likewise. Return on failed prelink_no.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
build_executable by build_executable_own_libs. Replace "prelink -R"
execution by a call of prelink_yes. Comment why "prelink -r" needs no
change.
* gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
copy to file_copy. Move setting opts --dynamic-linker and -rpath,
mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
Replace build_executable by build_executable_own_libs's function
build_executable_own_libs.
(prelinkNO): Create new stub to call prelink_no.
(prelinkYES): Create new stub to call prelink_yes.
(test_attach): Rename calls of copy to file_copy.
(section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
(copy): Move to ...
* lib/prelink-support.exp: ... a new file. Rename prelinkNO to
prelink_no, prelinkYES to prelink_yes, copy to file_copy.
* gdb.base/prelink.exp: Disable testcase also for is_remote and
skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
special flags by gdb_compile_shlib. Replace second gdb_compile by
build_executable_own_libs. Replace "prelink -R" execution by a call of
prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
a second call of prelink_yes. Replace restart commands by
clean_restart.
(prelink): Rename to ...
(seen displacement message): ... this test. Extend its expectation
strictness.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
* gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
displacement message exactly once.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
its restore after the <$relink_args != ""> loop. new comment.
2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
code for it. New variable relink_args.
(prelinkYES): Call prelinkNO.
(test_attach): Accept new parameter relink_args. Re-prelink the binary
in such case. Move the core code to ...
(test_attach_gdb): ... a new function. Send GDB command "file".
Extend expected "Attaching to " string.
2010-07-02 Tom Tromey <tromey@redhat.com>
* gdb.base/bitops.exp: Remove extraneous "pass".
2010-07-02 Ken Werner <ken.werner@de.ibm.com>
* gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2010-07-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/help.exp: Adjust expected output.
2010-07-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/help.exp: Adjust expected output.
2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
(print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
c++/11702.
2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
Doug Evans <dje@google.com>
* gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
add .dynamic entry'.
2010-06-29 Doug Evans <dje@google.com>
Test PR c++/11702.
* gdb.cp/m-static.exp: Add testcase.
* gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/py-inferior.c: New File.
* gdb.python/py-infthread.c: New File.
* gdb.python/py-inferior.exp: New File.
* gdb.python/py-infthread.exp: New File.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
(ptype ::C::OtherFileClass typedefs): New.
* gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
(C::OtherFileClass::cOtherFileClassVar2): New.
(C::OtherFileClass::cOtherFileClassVar_use): Use also
cOtherFileClassVar2.
(C::cOtherFileType2, C::cOtherFileVar2): New.
(C::cOtherFileVar_use): use also cOtherFileVar2.
* gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/namespace.exp (whatis C::cOtherFileType)
(whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
(whatis ::C::cOtherFileVar, print C::cOtherFileVar)
(print ::C::cOtherFileVar)
(whatis C::OtherFileClass::cOtherFileClassType)
(whatis ::C::OtherFileClass::cOtherFileClassType)
(print C::OtherFileClass::cOtherFileClassVar)
(print ::cOtherFileClassVar)
(print ::C::OtherFileClass::cOtherFileClassVar): New tests.
(ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
trailing content.
* gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
(C::OtherFileClass::cOtherFileClassVar)
(C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
(C::cOtherFileVar, C::cOtherFileVar_use): New.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR c++/11703 and PR gdb/1448.
* gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
gdb/1448.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
(main) <rtti_data>: New.
* gdb.cp/virtbase.exp (print rtti_data): New.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2010-06-28 Doug Evans <dje@google.com>
* gdb.base/break-interp.exp (reach): Relax expected output a bit.
2010-06-27 Doug Evans <dje@google.com>
* gdb.cp/m-static.exp: Update expected test output.
2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
* gdb.gdb/selftest.exp: Adjust expected message for
capturing start-up runtime.
2010-06-25 Tom Tromey <tromey@redhat.com>
PR python/10808:
* gdb.python/python.exp: Add new tests.
2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/operator.cc: Created an import loop.
* gdb.cp/operator.exp: Added testcase for import loop.
2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR python/11407.
* gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
* gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
executable_nofb and executable_fb. New variables srcsfile, objsfile,
srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
binfile. Call gdb_compile with clean_restart twice.
(func_nofb print, func_nofb backtrace, func_loopfb print)
(func_loopfb backtrace): New.
2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
* gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
by a hand made one.
* gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
i?86 requirement. Remove variables srcfile and binfile. New variable
sources, executable_nofb and executable_fb. Call prepare_for_testing.
2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cell/dwarfaddr.exp: New file.
* gdb.cell/dwarfaddr.S: New file.
2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR 9436.
* gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2010-06-24 Hui Zhu <teawater@gmail.com>
* gdb.base/eval.exp: New file.
2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cell/fork.exp: New file.
* gdb.cell/fork.c: Likewise.
* gdb.cell/fork-spu.c: Likewise.
2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (banned_variables_traced): New global variable.
(gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
(gdb_init): Use `trace add variable' instead of obsolete
`trace variable'.
2010-06-21 Doug Evans <dje@google.com>
* gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/spu-ls.exp: New file.
* gdb.arch/spu-ls.c: Likewise.
2010-06-18 Stan Shebs <stan@codesourcery.com>
* gdb.threads/thread-specific.exp: Add tests of $_thread.
2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
* gdb.base/watch-cond.exp: Likewise.
* gdb.python/py-breakpoint.exp: Likewise.
2010-06-18 Pedro Alves <pedro@codesourcery.com>
* gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
clean_restart, make sure every test has a distinct message, and
that messages don't include the executable' full path.
2010-06-17 Doug Evans <dje@google.com>
* gdb.arch/i386-size.exp: Updated expected output for
DISASSEMBLY_OMIT_FNAME.
2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/watch-notconst.c: New file.
* gdb.base/watch-notconst.S: New file.
* gdb.base/watch-notconst2.c: New file.
* gdb.base/watch-notconst2.S: New file.
* gdb.base/watch-notconst.exp: New file.
* gdb.base/watchpoint.c (global_ptr_ptr): New variable.
(func4): Add operations on `global_ptr_ptr'.
* gdb.base/watchpoint.exp (test_constant_watchpoint): New
routine to test watchpoints created with a constant expression.
(test_inaccessible_watchpoint): Include tests for watchpoints
created with a constant expression.
2010-06-14 Kevin Buettner <kevinb@redhat.com>
* gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
of `_start'.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
not supported on the target.
* gdb.mi/mi-nonstop-exit.exp: Likewise.
* gdb.mi/mi-ns-stale-regcache.exp: Likewise.
* gdb.mi/mi-nsintrall.exp: Likewise.
* gdb.mi/mi-nsmoribund.exp: Likewise.
* gdb.mi/mi-nsthrexec.exp: Likewise.
2010-06-11 Stan Shebs <stan@codesourcery.com>
* gdb.base/permissions.exp: New file.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".
2010-06-11 Michael Snyder <msnyder@vmware.com>
* gdb.base/setshow.exp (set language asm): Don't use
gdb_test_no_output, fails on some targets.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
* gdb.cp/pr9167.exp: Likewise.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/charset.c (main): Make sure malloc gets linked in.
2010-06-11 Tom Tromey <tromey@redhat.com>
PR gdb/9977, PR exp/11636::
* gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
(pieces_test_f6): Update expected output.
2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/moribund-step.exp: New.
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.
* gdb.cp/classes.exp: Ditto.
* gdb.dwarf2/dw2-restore.exp: Ditto.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.
* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
2010-06-08 Michael Snyder <msnyder@vmware.com>
* gdb.ada/exec_changed.exp:
Use ".*" instead of "" as wildcard regexp.
* gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/checkpoint.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/ending-run.exp: Ditto.
* gdb.base/fileio.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/readline.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/restore.exp: Ditto.
* gdb.base/shlib-call.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/volatile.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.
* gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-value.exp: Ditto.
* gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfile.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
Test PR 10640.
* gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: Test for ADL operators.
* gdb.cp/koenig.cc: Added ADL operators.
* gdb.cp/operator.exp: New test.
* gdb.cp/operator.cc: New test.
2010-06-04 Michael Snyder <msnyder@vmware.com>
* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
* gdb.base/pending.exp: Ditto.
* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2010-06-04 Doug Evans <dje@google.com>
* gdb.python/py-prettyprint.exp: Add new test for enabled and
disabled printers.
* gdb.python/py-prettyprint.py (disable_lookup_function): New function.
(enable_lookup_function): New function.
2010-06-04 Tom Tromey <tromey@redhat.com>
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.
2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
newline.
* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
(empty verbose non-noisy clear, empty verbose noisy clear)
(empty non-verbose noisy clear): Likewise.
2010-06-03 Michael Snyder <msnyder@vmware.com>
* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
* gdb.base/display.exp: Ditto.
* gdb.base/find.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/multi-forks.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/value-double-free.exp: Ditto.
* gdb.base/watch-vfork.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.
* gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/virtfunc.exp: Ditto.
* gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
* gdb.reverse/watch-precsave.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/attach-into-signal.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.
* gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
* gdb.trace/tfind.exp: Ditto.
2010-06-03 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_no_output): Do not emit pass for
successful test if message is the empty string.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.fortran/module.exp (stopped language detection): New test.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Support DW_TAG_module as separate namespaces.
* gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
gdb.fortran/library-module-lib.f90: New.
* gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
(print i): Remove.
(continue to breakpoint: i-is-1, print var_i value 1)
(continue to breakpoint: i-is-2, print var_i value 2)
(continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
(print var_d, print var_i value 14, ptype modmany, complete `modm)
(complete `modmany, complete `modmany`, complete `modmany`var)
(show language, setting breakpoint at module): New tests.
* gdb.fortran/module.f90 (module mod): Remove.
(module mod1, module mod2, module modmany, subroutine sub1)
(subroutine sub2, program module): New.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
(print value of rUC, print value of rI, print value of UI): ... here.
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.
2010-06-02 Michael Snyder <msnyder@vmware.com>
* gdb.trace/actions.exp: Use gdb_test_no_output.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/tsv.exp: Ditto.
* gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
* gdb.threads/hand-call-in-thraeds.exp: Ditto.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/staticthreads.exp: Ditto.
* gdb.threads/thread-specific.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.
* gdb.python/py-block.exp: Use gdb_test_no_output.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.python/py-value.exp: Ditto.
* gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
* gdb.reverse/watch-reverse.exp: Ditto.
* gdb.server/ext-attach.exp: Use gdb_test_no_output.
* gdb.server/ext-run.exp: Ditto.
* gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
* gdb.dwarf2/dw2-compressed.exp: Ditto.
* gdb.dwarf2/dw2-intercu.exp: Ditto.
* gdb.dwarf2/dw2-intermix.exp: Ditto.
* gdb.dwarf2/dw2-producer.exp: Ditto.
* gdb.dwarf2/mac-fileno.exp: Ditto.
* gdb.gdb/observer.exp: Use gdb_test_no_output.
* gdb.gdb/selftest.exp: Ditto.
* gdb.multi/base.exp: Use gdb_test_no_output.
* gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
* gdb.cp/class2.exp: Use gdb_test_no_output.
* gdb.cp/classes.exp: Ditto.
* gdb.cp/extern-c.exp: Ditto.
* gdb.cp/inherit.exp: Ditto.
* gdb.cp/maint.exp: Ditto.
* gdb.cp/mb-inline.exp: Ditto.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.cp/method2.exp: Ditto.
* gdb.cp/misc.exp: Ditto.
* gdb.cp/ovldbreak.exp: Ditto.
* gdb.cp/punctuator.exp: Ditto.
* gdb.cp/templates.exp: Ditto.
* gdb.cp/virtbase.exp: Ditto.
* gdb.threads/attach-stopped.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/attachstop-mt.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/gcore-thread.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/hand-call-in-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/print-threads.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
* gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
* gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: Added new test case.
* gdb.cp/koenig.cc: Ditto.
2010-06-01 Michael Snyder <msnyder@vmware.com>
* gdb.base/arithmet.exp: Use gdb_test_no_output.
* gdb.base/arrayidx.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/auxv.exp: Ditto.
* gdb.base/bigcre.exp: Ditto.
* gdb.base/break-always.exp: Ditto.
* gdb.base/break-interp.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/breakpoint-shadow.exp: Ditto.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/catch-syscall.exp: Ditto.
* gdb.base/charset.exp: Ditto.
* gdb.base/code-expr.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/cursal.exp: Ditto.
* gdb.base/cvexpr.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/del.exp: Ditto.
* gdb.base/detach.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/foll-fork.exp: Ditto.
* gdb.base/foll-vfork.exp: Ditto.
* gdb.base/frame-args.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.base/gdbvars.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/included.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/macscp.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/multi-fork.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/pending.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/pr11022.exp: Ditto.
* gdb.base/prelink.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/psymtab.exp: Ditto.
* gdb.base/randomize.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/remote.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/set-lang-auto.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/setvar.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/sizeof.exp: Ditto.
* gdb.base/solib-disc.exp: Ditto.
* gdb.base/store.exp: Ditto.
* gdb.base/structs.exp: Ditto.
* gdb.base/structs2.exp: Ditto.
* gdb.base/subst.exp: Ditto.
* gdb.base/term.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.
* gdb.base/unwindonsignal.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/varargs.exp: Ditto.
* gdb.base/watch-cond.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-cond-gone.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
2010-06-01 Michael Snyder <msnyder@vmware.com>
* gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
* gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/commands.exp (begin commands on watch): Remove excessive
trailing newline.
* gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
* gdb.java/jmisc.exp (p *args\n): Rename to ...
(p *args): ... here and remove excessive trailing newline.
2010-05-31 Joel Brobecker <brobecker@adacore.com>
* gdb.base/subst.exp: Fix call to gdb_test with empty message.
2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
Accept the new Linux kernel "t (tracing stop)" string.
* gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
Update comment.
(state_wait) <T (tracing stop)>: New.
(main): Update the state_wait expect string.
2010-05-28 Pedro Alves <pedro@codesourcery.com>
* limits.c, limits.exp: Delete files.
* Makefile.in (clean mostlyclean): Adjust.
* tracecmd.exp: Adjust.
2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/tui-layout.exp: New.
2010-05-28 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/break-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/break-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/finish-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/finish-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i386-sse-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i387-env-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/i387-stack-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/machinestate-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/machinestate.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/sigall-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/sigall-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/solib-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/solib-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/step-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/step-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/until-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/until-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/watch-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/watch-reverse.exp:
Replace uses of send_gdb / gdb_expect.
2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
excessive newline.
2010-05-27 Michael Snyder <msnyder@vmware.com>
* gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2010-05-26 Michael Snyder <msnyder@vmware.com>
* gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
* gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
* gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-reverse.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.reverse/consecutive-precsave.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-ns-stale-regcache.exp:
Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
* gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2010-05-26 Michael Snyder <msnyder@vmware.com>
* gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
* gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
* gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add missing space after setup_kfail.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
argument order.
* gdb.base/macscp.exp: Fix setup_kfail argument order.
* gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
order.
* gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
order.
* gdb.base/call-sc.exp (setup_kfails): Remove.
(setup_compiler_kfails): Remove.
* gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
argument order.
* gdb.base/siginfo.exp: Fix setup_kfail argument order.
* gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
(advancei): Fix setup_kfail argument order.
* gdb.base/radix.exp: Fix setup_kfail argument order.
* gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
order.
* gdb.base/structs.exp (setup_kfails): Remove.
(setup_compiler_kfails): Fix setup_kfail argument order.
* gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
order.
* gdb.java/jmain.exp: Fix setup_kfail argument order.
* gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
setup_kfail argument order.
* gdb.cp/overload.exp: Fix setup_kfail argument order.
2010-05-25 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2010-05-25 Michael Snyder <msnyder@vmware.com>
* gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
* gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
* gdb.base/annota1.exp: Replace send_gdb with gdb_test.
* gdb.base/annota3.exp: Replace send_gdb with gdb_test.
* gdb.base/assign.exp: Replace send_gdb with gdb_test.
* gdb.base/attach.exp: Replace send_gdb with gdb_test.
* gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
* gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
* gdb.base/bitops.exp: Replace send_gdb with gdb_test.
* gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
* gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
* gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
* gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
* gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
* gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
* gdb.base/charset.exp: Replace send_gdb with gdb_test.
* gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
* gdb.base/commands.exp: Replace send_gdb with gdb_test.
* gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
* gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
* gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
* gdb.base/constvars.exp: Replace send_gdb with gdb_test.
* gdb.base/corefile.exp: Replace send_gdb with gdb_test.
* gdb.base/default.exp: Replace send_gdb with gdb_test.
* gdb.base/define.exp: Replace send_gdb with gdb_test.
* gdb.base/display.exp: Replace send_gdb with gdb_test.
* gdb.base/dump.exp: Replace send_gdb with gdb_test.
* gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
* gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
* gdb.base/exprs.exp: Replace send_gdb with gdb_test.
* gdb.base/fileio.exp: Replace send_gdb with gdb_test.
* gdb.base/finish.exp: Replace send_gdb with gdb_test.
* gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
* gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
* gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
* gdb.base/gcore.exp: Replace send_gdb with gdb_test.
* gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
* gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
* gdb.base/help.exp: Replace send_gdb with gdb_test.
* gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
* gdb.base/jump.exp: Replace send_gdb with gdb_test.
* gdb.base/long_long.exp: Replace send_gdb with gdb_test.
* gdb.base/maint.exp: Replace send_gdb with gdb_test.
* gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
* gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
* gdb.base/pointers.exp: Replace send_gdb with gdb_test.
* gdb.base/ptype.exp: Replace send_gdb with gdb_test.
* gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2010-05-25 Doug Evans <dje@google.com>
* gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
gdb.string_to_argv.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
Call it.
* gdb.dwarf2/pieces.S: Update.
* gdb.dwarf2/pieces.c (struct B): Remove initial field.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
Call it.
* gdb.dwarf2/pieces.c (struct C): New.
(f6): New function.
* gdb.dwarf2/pieces.S: Replace.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
Call it.
2010-05-21 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2.pieces.exp: New file.
* gdb.dwarf2.pieces.S: New file.
* gdb.dwarf2.pieces.c: New file.
2010-05-20 Pedro Alves <pedro@codesourcery.com>
Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_no_output): New function.
* lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
when testing commands that should produce no output.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
parameter that we want to watch being a constant.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/cond_lang: New testcase.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (banned_variables): New variable/constant.
(gdb_init): Add write trace on variables listed in banned_variables.
(gdb_finish): Remove write traces on variables listed in
banned_variables.
2010-05-17 Joel Brobecker <brobecker@adacore.com>
* gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
* gdb.cp/koenig.exp: Likewise.
2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
PR python/11482
* gdb.python/py-value.exp (test_value_hash): New function.
2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11530.
* gdb.base/gdb11530.c: New file.
* gdb.base/gdb11530.exp: New file.
2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-modula2-self-type.exp: New.
* gdb.dwarf2/dw2-modula2-self-type.S: New.
2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/koenig.exp: New test.
* gdb.cp/koenig.cc: New test program.
2010-05-05 Joel Brobecker <brobecker@adacore.com>
Remove the use of prms_id and bug_id throughout the testsuite.
2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
PR exp/11349.
* testsuite/gdb.cp/ref-types.exp: Add test to examine
use a reference local variable.
2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Remove $exec.debug safety removal.
* gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
variable different_dir. Move debugfile into a full directory pathname
under DIFFERENT_DIR.
* lib/gdb.exp (separate_debug_filename): Remove.
(gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
variable debug_dir and mkdir of it. Update function comments.
2010-04-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/11557
* gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
files.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-param.exp: New File.
2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
* gdb.base/default.exp: Fix "set language" test.
2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
PR breakpoints/11531.
* gdb.base/gdb11531.c: New file.
* gdb.base/gdb11531.exp: New file.
2010-04-26 Tom Tromey <tromey@redhat.com>
* gdb.base/completion.exp: Add tests for completion and deprecated
commands.
2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
(print /x char_array): Escape curly brackets.
2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix deadlock on looped list of loaded shared objects.
* gdb.base/solib-corrupted.exp: New.
2010-04-23 Doug Evans <dje@google.com>
* gdb.python/py-section-script.c: New file.
* gdb.python/py-section-script.exp: New file.
* gdb.python/py-section-script.py: New file.
2010-04-20 Chris Moller <cmoller@redhat.com>
PR 10179
* gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
* gdb.base/pr10179-a.c:
* gdb.base/pr10179-b.c:
* gdb.base/pr10179.exp: New files.
2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix crashes on dangling display expressions.
* gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
is SEP.
(lib_flags): Remove the "debug" keyword.
(libsepdebug): New variable for iterating new loop.
(save_pf_prefix): New variable wrapping the loop.
(sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
* lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.threads/watchthreads.exp: Change to obtain consistent output.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
PR stabs/11479.
* gdb.stabs/gdb11479.exp: New file.
* gdb.stabs/gdb11479.c: New file.
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/charset.c (Strin16, String32): New variables.
* gdb.base/charset.exp (gdb_test): Test correct display
of 16 or 32 bit strings.
2010-04-21 Chris Moller <cmoller@redhat.com>
PR 9167
* gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
* gdb.cp/pr9167.cc: New file.
* gdb.cp/pr9167.exp: New file.
2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
PR pascal/11492.
* gdb.pascal/gdb11492.pas: New file.
* gdb.pascal/gdb11492.exp: New file.
2010-04-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2010-04-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/dyn_loc: New testcase.
2010-04-20 Chris Moller <cmoller@redhat.com>
PR 10867
* gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
* gdb.cp/pr10687.cc: New file.
* gdb.cp/pr10687.exp: New file.
2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.fortran/logical.exp: New testcase.
* gdb.fortran/logical.f90: New file.
2010-04-19 Doug Evans <dje@google.com>
* gdb.base/help.exp (help source): Update expected output.
2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
gdb_exit and return.
(executable): New variable.
(binfile): Use it.
2010-04-19 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/8554.
* gdb.trace/save-trace.exp: Adjust.
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
PR corefiles/11511
* gdb.arch/system-gcore.exp: New.
* gdb.arch/gcore.c: Likewise.
2010-04-15 Doug Evans <dje@google.com>
* gdb.python/py-progspace.c: New file.
* gdb.python/py-progspace.exp: New file.
* gdb.base/source.exp: Add tests for "source -s".
2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
* gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
* gdb.python/py-prettyprint.exp: New test for to_string returning None.
* gdb.python/py-mi.exp: New test for to_string returning None.
2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.c: Make result global.
2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix non-GNU make compatibility.
* Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: New File.
* gdb.python/py-breakpoint.C: Ditto.
2010-04-08 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Clear default-collect.
* gdb.trace/save-trace.exp: Clear default-collect.
2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value: Add null string variable.
(test_lazy_string): Test zero length, NULL address lazy
strings.
2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/i386-avx.c: New.
* gdb.arch/i386-avx.exp: Likewise.
* gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2010-04-06 Doug Evans <dje@google.com>
* gdb.base/source-test.gdb: New file.
* gdb.base/source.exp: Test source -v.
2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.stabs/aout.sed: Convert all backslash to double backslash
within one line, unless it is followed by a double quote.
* gdb.stabs/hppa.sed: Idem.
* gdb.stabs/weird.def: Add char and String constants
* gdb.stabs/weird.exp: Check for correct parsing of
char and string constants.
* gdb.stabs/xcoff.sed: Ignore escaped quote quotes
in .stabs to .stabx substitution.
2010-04-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: Add a variable split across two blocks, and a
constant global.
* gdb.trace/tfile.exp: Try to print them.
2010-04-04 Stan Shebs <stan@codesourcery.com>
* gdb.base/completion.exp: Update for new "info watchpoints".
* gdb.base/default.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.trace/infotrace.exp: Update "info tracpoints" output.
2010-04-04 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.exp: Sharpen tfind test.
2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-entry.exp: New.
2010-04-02 Hui Zhu <teawater@gmail.com>
Michael Snyder <msnyder@vmware.com>
* gdb.reverse/i386-sse-reverse.exp: New file.
* gdb.reverse/i386-sse-reverse.c: New file.
2010-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfind.exp: Adjust expected disassembly output.
2010-04-01 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Tweak expected output.
* gdb.trace/while-stepping.exp: Tweak expected output.
2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.base/commands.exp: Adjust.
* gdb.cp/extern-c.exp: Adjust.
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.c (local_test_func): Define a local struct,
and instanciate it.
2010-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (gdb_collect_args_test)
(gdb_collect_argarray_test): XFAIL the tests that assume the
argarray argument's elements are collected.
2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-bad-parameter-type.exp,
gdb.dwarf2/dw2-bad-parameter-type.S: New.
2010-03-31 Stan Shebs <stan@codesourcery.com>
* gdb.trace/save-trace.exp: Test save/restore of default-collect
and tracepoint conditionals.
(gdb_verify_tracepoints): Delete unused return.
2010-03-26 Keith Seitz <keiths@redhat.com>
* gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
appear in the output before main.
Remove KFAIL for gdb/2215 aka bz 9320.
2010-03-30 Doug Evans <dje@google.com>
* gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
by dejagnu.
* gdb.arch/amd64-dword.exp: Ditto.
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
match.
(break printf): Ditto.
2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
gcc < 4.4.
* gdb.cp/shadow.exp: Ditto.
2010-03-29 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (run_trace_experiment): Make sure
"tstart" is silent.
2010-03-29 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/collection.exp (executable): New.
(binfile): Use it.
(fpreg, spreg, pcreg): New.
(test_register): Use gdb_test_multiple. Pass /x to print.
(prepare_for_trace_test): New.
(run_trace_experiment): Use "continue", not gdb_run_cmd.
(gdb_collect_args_test, gdb_collect_argstruct_test)
(gdb_collect_argarray_test, gdb_collect_locals_test): Use
prepare_for_trace_test.
(gdb_collect_registers_test): Use prepare_for_trace_test. Use
fpreg, spreg and pcreg.
(gdb_collect_expression_test, gdb_collect_globals_test): Use
prepare_for_trace_test.
(gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
try to detect tracing support here. Don't set breakpoints at
`begin' or `end' here.
<global scope>: Use clean_restart. Run to main before checking
for tracing support. Check for for tracing support here.
2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
" as $displacement" to "seen displacement message".
2010-03-28 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/while-dyn.exp (executable): New variable.
(binfile): Use it.
(test_while_stepping): New function. Move most tests here. Call
it once for each of the while-stepping, stepping and ws aliases.
2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
that do not provide the tagless_struct type name at all.
(test_print_anon_union): Do not check value of uninitialized
union member. Do not use cp_test_ptype_class, so we can accept
"long" as well as "long int".
2010-03-26 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/tfile.c (tohex, bin2hex): New.
(write_error_trace_file): Hexify error description.
2010-03-25 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: Generate an additional trace file, improve
portability.
* gdb.trace/tfile.exp: Test trace file with an error stop, delete
files in a better way.
2010-03-25 Keith Seitz <keiths@redhat.com>
* gdb.java/jprint.exp: XFAIL printing of static class members
because of GCC debuginfo problem.
2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/completion.exp: Allow long instead of long int.
* gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
* gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
variable p.
* gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
* gdb.base/pointers.exp: Allow long instead of long int.
* gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
* gdb.base/step-line.exp: Allow a directory before the source file name.
2010-03-24 Tom Tromey <tromey@redhat.com>
PR breakpoints/9352:
* gdb.base/default.exp: Update.
* gdb.base/commands.exp: Update.
* gdb.cp/extern-c.exp: Test setting commands on multiple
breakpoints at once.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
if gdb,nosignals.
* gdb.base/watchpoints.c: Do not include unnecessary headers.
* lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
exited".
2010-03-24 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.exp: Expect "trace frame", with a space.
2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
* gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
argument. Handle "short" and "long".
(Top level): Pass overprototyped output for old_fptr and xptr.
2010-03-23 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
format strings and add casts to avoid compiler warnings.
2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
* lib/trace-support.exp (gdb_trace_setactions):
Don't expect whitespace after ">" prompt.
* gdb.trace/actions.exp: Adjust for output changes.
* gdb.trace/while-stepping.exp: Likewise.
2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
and r157645).
2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
New.
2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
* gdb.python/py-mi.exp (binfile): Rename to py-mi.
2010-03-19 Stan Shebs <stan@codesourcery.com>
* gdb.trace/ax.exp: New file.
2010-03-19 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
output from gcc.
* gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
named /usr/sbin/prelink<foo>.
2010-03-18 Stan Shebs <stan@codesourcery.com>
* gdb.trace/circ.exp: Test circular-trace-buffer.
* gdb.trace/tfile.exp: Update tstatus test.
2010-03-18 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-anonymous-func.S: New file.
* gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2010-03-18 Pedro Alves <pedro@codesourcery.com>
* gdb.base/default.exp: Adjust the expected output of the finish
and until commands when the inferior is not being run.
2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/shadow.exp: Removed kfail; test has been fix.
* gdb.cp/nsusing.exp: Ditto.
2010-03-15 Tom Tromey <tromey@redhat.com>
* gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
* gdb.cp/userdef.cc (operator==): New function.
(main): New locals mem1, mem2.
2010-03-15 Jie Zhang <jie@codesourcery.com>
* lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
Declare and use new loadtimeout variable.
2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
Use gdb_load later.
2010-03-14 Pedro Alves <pedro@codesourcery.com>
* gdb.base/solib-disc.c (main): Make format of fprintf a string
literal. Add missing endlines to prints to stderr.
2010-03-12 Tom Tromey <tromey@redhat.com>
PR c++/9708:
* gdb.cp/m-static.exp: Add regression test.
* gdb.cp/m-static.cc (method): New method.
(main): Call it.
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/gdb2384-base.h: Created 'namespace B'.
* gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (skip_stl_tests): New.
(gdb_compile): Symbian needs -ldl.
(shlib_target_file): New.
(shlib_symbol_file): New.
(gdb_load_shlibs): Use shlib_target_file.
* lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
* gdb.cp/exception.exp: Use skip_stl_tests.
* gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
* gdb.cp/try_catch.exp: Use skip_stl_tests.
* gdb.cp/mb-templates.exp: Ditto.
* gdb.base/commands.exp: Relax regexes.
* gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
sections.
* gdb.base/ending-run.exp: Accept E32Main for symbian.
* gdb.base/solib-disc.exp: Use
shlib_target_file and shlib_symbol_file.
* gdb.base/unload.exp: Don't skip on symbian. Use
shlib_target_file and shlib_symbol_file.
* gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2010-03-12 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
* gdb.trace/report.exp: Adjust for x86 and x86_64.
Issue a tfind end before looking for a tracepoint frame.
* gdb.trace/tfind.exp: Adjust tstatus output.
Adjust disassembly output.
* gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Create new displacement parameter value
for the test_ld calls.
(reach): New parameter displacement, verify its content. New push of
pf_prefix "reach-$func:". Import global expect_out.
(test_core): New parameter displacement, verify its content. New push
of pf_prefix "core:". New command "set verbose on". Import global
expect_out.
(test_attach): New parameter displacement, verify its content. New
push of pf_prefix "attach:". New command "set verbose on". Import
global expect_out.
(test_ld): New parameter displacement, pass it to the reach, test_core
and test_attach calls and verify its content in the "ld.so exit" test.
* gdb.base/prelink.exp: Remove gdb_exit and final return.
(prelink): Update expected text, use gdb_test.
2010-03-10 Doug Evans <dje@google.com>
* gdb.base/checkpoint.exp: Fix comment.
Lengthen timeout while doing >600 checkpoints test.
Rename duplicate "kill all one" test to keep test names unique.
2010-03-10 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2010-03-08 Keith Seitz <keiths@redhat.com>
* gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
* gdb.cp/cplusfuncs.cc (dm_type_short): New function.
(dm_type_long): New function.
(dm_type_unsigned_short): New function.
(dm_type_unsigned_long): New function.
(myint): New typedef.
* gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
long, unsigned shor and long, operator char*, and typedef.
(test_lookup_operator_functions): Add operator char* test.
(test_paddr_operator_functions): Likewise.
(test_paddr_overloaded_functions): Use probe values for
short, long, and unsigned short and long.
(test_paddr_hairy_functions): If the demangler probe detected
gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
demangler.
* gdb.cp/expand-sals.exp: Backtrace may contain class names.
* gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
and "print null_pmf".
Add test "ptype a.*pmf".
* gdb.cp/overload.exp: Allow optional "int" to appear with
"short" and "long".
* gdb.cp/ovldbreak.exp: Use append to construct super-duper
long expect value for men_overload1arg.
Allow "int" to appear with "short" and "long".
When testing "info break", add argument for main (void).
Also allow "int" to appear with "short" and "long".
Ditto with "unsigned" and "long long".
* gdb.java/jmain.exp: Do not enclose methods names in single
quotes.
* gdb.java/jmisc.exp: Likewise.
* gdb.java/jprint.exp: Likewise.
* gdb.python/py-symbol.exp: Update expected "linkage_name" value.
From Jan Kratochvil <jan.kratochvil@redhat.com>:
* gdb.cp/exception.exp (backtrace after first throw)
(backtrace after second throw): Allow a namespace before __cxa_throw.
(backtrace after first catch, backtrace after second catch): Allow
a namespace before __cxa_begin_catch.
* gdb.cp/cpexprs.exp: New file.
* gdb.cp/cpexprs.cc: New file.
From Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cpexprs.exp (escape): Delete. Change all callers
to use string_to_regexp.
(ctor, dtor): New functions. Use them to match constructor
and destructor function types.
(Top level): Use runto_main.
2010-03-05 Tom Tromey <tromey@redhat.com>
* gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
gdb.target_charset.
(pp_ns.to_string): Likewise.
2010-03-04 Keith Seitz <keiths@redhat.com>
* gdb.cp/overload.exp: Test that the filename portion of a linespec
can be quoted. Test that both the filename and function/line
portions can be quoted at the same time.
2010-03-04 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2010-03-03 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_compile_pthreads): Handle case where
libc contains libpthread.
* gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
* gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
of gdb_compile. Add another pattern to match android backtrace.
2010-03-03 Tom Tromey <tromey@redhat.com>
PR gdb/11345:
* gdb.base/printcmds.exp (test_printf): Add test.
2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/amd64-byte.exp: New.
* gdb.arch/amd64-dword.exp: Likewise.
* gdb.arch/amd64-pseudo.c: Likewise.
* gdb.arch/amd64-word.exp: Likewise.
* gdb.arch/i386-byte.exp: Likewise.
* gdb.arch/i386-pseudo.c: Likewise.
* gdb.arch/i386-word.exp: Likewise.
2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
types. Add structreg, bitfields, and flags registers.
* gdb.xml/tdesc-regs.exp: Test structreg and bitfields
registers.
2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
* gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
(load_description): Set architecture if defined.
2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-frame.exp: Add read_var block tests.
* gdb.python/py-frame.c (block): New function.
2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2010-02-25 David S. Miller <davem@davemloft.net>
* gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
fix logic for setting all_syscalls_numbers.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
* Makefile.in: Add py-block and py-symbol.
* gdb.python/py-symbol.exp: New File.
* gdb.python/py-symtab.exp: New File.
* gdb.python/py-block.exp: New File.
* gdb.python/py-symbol.c: New File.
* gdb.python/py-block.c: New File.
2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
PR python/11314
* lib/gdb.exp (skip_python_tests): New function.
* gdb.python/py-cmd.exp: Use skip_python_tests.
* gdb.python/py-frame.exp: Likewise.
* gdb.python/py-function.exp: Likewise.
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-template.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
2010-02-22 Pedro Alves <pedro@codesourcery.com>
PR9605
* gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2010-02-19 Tom Tromey <tromey@redhat.com>
PR c++/8693, PR c++/9496:
* gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
regression tests.
2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with m68k as.
* gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
Use only /* comments */.
2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
* configure: Regenerate.
2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/py-type.exp: Check for Python support.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
`regsub' syntax available.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/shmain.c (main): Remove printf call.
* gdb.base/sizeof.c (main): Cast return of sizeof to int.
* gdb.base/unload.c (main): Make format of fprintf a string
literal. Add missing endlines to prints to stderr.
* gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2010-02-17 Tom Tromey <tromey@redhat.com>
* gdb.java/jprint.java (jprint.props): New field.
* gdb.java/jprint.exp (set_lang_java): Add regression test.
2010-02-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/charset.exp: Don't assume new `regsub' syntax
available.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
creation to support remote host testing.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
Recognize "command not found".
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
single-stepping.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
if arguments are not supported.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
be const or non-const.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
mi_send_resuming_command to send -exec-continue.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/list.exp (test_list_filename_and_function): Add test
with single quotes.
* gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
matching.
* gdb.cp/overload.exp: Add tests with filename, function, and quotes.
Add KFAIL'd tests for PR gdb/11289.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/comp-dir/subdir/dummy.txt: New file.
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
a temporary directory.
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/charset.exp: Use a single regular expression to match
show host-charset and show target-charset output.
2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/attach.exp (attach to nonsense is prohibited): Make the
"Illegal process-id" expect string more exact.
(attach to digits-starting nonsense is prohibited): New.
2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/prelink.exp (set verbose on): New.
2010-02-12 Tomas Holmberg <th@virtutech.com>
* mi-reverse.exp: New file. Test for reverse option to the
following MI commands: exec-continue, exec-finish, exec-next,
exec-step, exec-next-instruction, exec-step-instruction.
2010-02-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_tagged_param: New testcase.
2010-02-08 Tom Tromey <tromey@redhat.com>
PR c++/8017:
* gdb.cp/overload.exp: Add tests.
* gdb.cp/overload.cc (struct K): New.
(namespace N): New.
(main): Call new functions.
(K::staticoverload): Define.
2010-02-08 Chris Moller <moller@mollerware.com>
PR gdb/10728
* gdb.cp/pr10728-x.h: New file.
* gdb.cp/pr10728-x.cc: New file.
* gdb.cp/pr10728-y.cc: New file.
* gdb.cp/pr10728.exp: New file.
* gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2010-02-08 Chris Moller <moller@mollerware.com>
PR gdb/9067
* gdb.cp/pr9067.exp: New
* gdb.cp/pr9067.cc: New
* gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2010-02-08 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_test_timeout): New global variable.
Set it to timeout if not already set.
(gdb_init): Reset the value of timeout to gdb_test_timeout.
2010-02-05 Doug Evans <dje@google.com>
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
user.
2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
PR c++/7935:
* gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2010-02-04 Tom Tromey <tromey@redhat.com>
* gdb.cp/virtbase.exp: Make test case names unique.
2010-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/virtbase.exp: Add regression tests.
* gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
(main): Instantiate RHC.
2010-02-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
type-printing change.
2010-02-02 Tom Tromey <tromey@redhat.com>
PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
* gdb.cp/virtbase.cc: New file.
* gdb.cp/virtbase.exp: New file.
* gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
PR libc/11214:
* gdb.threads/current-lwp-dead.c: Include features.h.
(HAS_NOMMU): New.
(fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/symbol-without-target_section.exp,
gdb.base/symbol-without-target_section.c: New.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/bigcore.exp: Reset increased timeout.
* gdb.base/interrupt.exp: Match unexpected gdb prompt.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gcore.exp (capture_command_output): Use
gdb_test_multiple.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.S (it_breakpoints): New function.
* gdb.arch/thumb2-it.exp (test_it_break): New function.
(Top level): Call it.
2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/call-strs.exp, gdb.base/default.exp,
gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
gdb.base/watchpoint-solib.exp: Save and restore timeout.
* gdb.base/ending-run.exp: Correct restore of timeout.
* gdb.base/page.exp: Remove unnecessary timeout setting.
2010-01-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/rec_return: New testcase.
2010-01-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/call_pn: New testcase.
2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
(Top level): Use it to resume.
* lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
the Thumb mode displaced stepping error as unsupported.
2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsusing.exp: Added more tests.
* gdb.cp/nsrecurs.exp: Ditto.
* gdb.cp/nsusing.cc: Added test functions.
* gdb.cp/nsrecurs.cc: Ditto.
2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: Use [file tail $filename] to omit any
absolute directory pathnames in gdb.sum file.
2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: Rename to nsusing.exp.
* gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2010-01-26 Tom Tromey <tromey@redhat.com>
PR exp/7643:
* gdb.base/printcmds.exp (test_print_string_constants): Remove
setup_kfail.
2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/nsrecurs.exp: New test.
* gdb.cp/nsrecurs.cc: New test program.
* gdb.cp/nsstress.exp: New test.
* gdb.cp/nsstress.cc: New test program.
* gdb.cp/nsdecl.exp: New test.
* gdb.cp/nsdecl.cc: New test program.
2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: Add test for printing of namespaces
imported into file scope.
Marked test as xfail.
* gdb.cp/namespace-using.cc (marker5): New function.
* gdb.cp/shadow.exp: New test.
* gdb.cp/shadow.cc: New test program.
* gdb.cp/nsimport.exp: New test.
* gdb.cp/nsimport.cc: New test program.
2010-01-25 Tom Tromey <tromey@redhat.com>
PR gdb/11049:
* gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
with "set print null-stop on".
2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
Adjust it for DISASSEMBLY_OMIT_FNAME.
2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
PR symtab/11199:
* gdb.dwarf2/member-ptr-forwardref.exp,
gdb.dwarf2/member-ptr-forwardref.S: New.
2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
(thread1_func): Protect thread1_tid with thread1_tid_cond by
thread1_tid_mutex. Remove gdbstop_mutex handling.
(thread2_func): Protect thread2_tid with thread2_tid_cond by
thread2_tid_mutex. Remove gdbstop_mutex handling.
(main): Move thread1_tid_mutex and thread2_tid_mutex locks before
pthread_create. Remove gdbstop_mutex handling. New comment. Replace
pthread_cond_wait conditionalizations by while loops.
2010-01-20 Tom Tromey <tromey@redhat.com>
PR backtrace/10770:
* gdb.dwarf2/pr10770.exp: New file.
* gdb.dwarf2/pr10770.c: New file.
* gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Remove check for 'async' target, because
that target was removed, and the test always runs native anyway.
2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
gdb.base/watchpoint-cond-gone-stripped.c: New.
2010-01-19 Tom Tromey <tromey@redhat.com>
PR c++/8000:
* gdb.cp/namespace.exp: Use new enum. Fix line numbers in
existing tests.
* gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
(main): Use AAA::SomeEnum.
2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
(test_ignore_count): Declare line_callme_body global.
(run to breakpoint with ignore count): Use line_callme_body.
* gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
(set line_main_hello, set line_main_return): Reindent.
(set line_callee4_head, set line_callee4_body, set line_callee4_next):
New.
(continue to callee4): Use line_callee4_body.
(check *stopped from CLI command): Use line_callee4_next.
* gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
(set line_main_hello, set line_main_return): Reindent.
(set line_callee4_head, set line_callee4_body): New.
(continue to callee4): Use line_callee4_body.
2010-01-18 Tom Tromey <tromey@redhat.com>
PR c++/9680:
* gdb.cp/casts.cc: Add new classes and variables.
* gdb.cp/casts.exp: Test new operators.
2010-01-18 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/source2.py: New file.
* gdb.python/source1: New file.
* gdb.python/python.exp: Test "source" command.
2010-01-15 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tfile.c: New file.
* gdb.trace/tfile.exp: New file.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
(libfunc): New parameter action. Implement also selectable "sleep".
* gdb.base/break-interp-main.c: Include assert.h.
(libfunc): New parameter action.
(main): New parameters argc and argv. Assert argc. Pass argv.
* gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
(test_attach): New proc.
(test_ld): Pass new "segv" exec parameter. Call also test_attach.
* lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp (test_core): New proc.
(test_ld): Call it.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
* gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
and gdb_compile_shlib. Use new -Wl compiler options.
(dl bt, main bt): New tests.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Support PIEs with no symfile_objfile.
* gdb.base/break-interp.exp: New argument at the test_ld calls.
(test_ld): New parameter trynosym.
(test_ld <$trynosym>): New block.
2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/break-interp.exp: New file.
2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
* gdb.python/py-prettyprint.py (pp_ls): New printer.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
test.
* gdb.python/py-prettyprint.c: Define lazystring test structure.
* gdb.python/py-mi.exp: Add lazy string test.
2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_check_thread_states): Handle
core number in thread listing.
2010-01-12 Joel Brobecker <brobecker@adacore.com>
* gdb.base/maint.exp: Adjust the expected output for the
"maint print type" test. Use gdb_test_multiple instead of
gdb_sent/gdb_expect.
2010-01-11 Doug Evans <dje@google.com>
* lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
from gdbserver_download. All callers updated.
* gdb.server/ext-run.exp: "info os processes" requires xml support.
2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Implement binary numbers parsing.
* gdb.base/printcmds.exp (test_integer_literals_accepted)
(test_integer_literals_rejected): New binary tests.
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* gdb.cell/configure: Regenerate.
2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/corefile.exp: Move the core finding block out and call it as
core_find, new variable $corefile, replace corefile by $corefile and
[file tail $corefile] for usage vs. test names resp.
* lib/gdb.exp (core_find): Move it as a new function here. New
parameter binfile and deletefiles. New variable $destcore. Pre-delete
$destcore. Return "" on error.
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Workaround PR binutils/10802.
* lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
(twice).
2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2010-01-08 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
call, to avoid interruption.
2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.stabs/weird.def (args93): New.
2010-01-07 Doug Evans <dje@google.com>
* lib/gdb.exp (gdb_skip_xml_test): Add comment.
2010-01-07 Tom Tromey <tromey@redhat.com>
* gdb.base/source.exp: Use correct line number.
2010-01-05 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tracecmd.exp: Test ftrace.
2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
"uint_for_mi_testing".
2010-01-01 Joel Brobecker <brobecker@adacore.com>
Test indented comment in file being sourced.
* gdb.base/commands.exp: Test indented comment in file being sourced.
2010-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.fortran/array-element.f, gdb.fortran/complex.f,
gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
notice.
2010-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
notice.
2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
missing $after_stopped and comma (,) expectation.
2009-12-31 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Test teval action.
2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
(top level): Call test_watchpoint_in_big_blob.
* gdb.base/watchpoint.c (buf): Change size to value too big for hardware
watchpoints.
(func3): Write to buf.
2009-12-29 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Test default-collect.
2009-12-28 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tsv.exp: New file.
* gdb.base/completion.exp: Update ambiguous info output.
2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/find.c (main): Reference search buffers.
* gdb.base/included.c (main): Reference integer.
* gdb.base/ptype.c (charfoo): Declare.
(intfoo): Call charfoo.
* gdb.base/scope0.c (useitp): New function.
(usestatics): Use useitp.
(useit): Add a type for val.
* gdb.base/scope1.c (useit1): Take a pointer argument.
(usestatics1): Update calls to useit1.
* gdb.cp/call-c.cc: Declare foo.
(main): Call foo.
* gdb.cp/m-static.cc (main): Reference test4.elsewhere.
* gdb.cp/namespace.cc (ensureOtherRefs): Declare.
(main): Call C::ensureRefs and ensureOtherRefs.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
variables.
(ensureOtherRefs): New function.
* gdb.cp/overload.cc (main): Call all overloadNamespace variants.
* gdb.cp/templates.cc (main): Call t5i.value.
2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix compatibility with G++-4.5.
* gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
* gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
(uncaught return): Remove.
2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
Phil Muldoon <pmuldoon@redhat.com>
* gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
(bp_location13, bp_location14, bp_location17, bp_location18)
(marker3_proto, marker4_proto): New variables.
(breakpoint info): Update output.
(run until breakpoint at marker3, run until breakpoint at marker4): New
tests.
2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
Replace the printf call of Y by provided "y-set-1" label. New block
for the second shared library.
* gdb.base/unload.exp: Compile also the second library, call
gdb_load_shlibs also for it. Use now gdb_breakpoint.
(single pending breakpoint info): Rename to ...
(pending breakpoint info before run): ... this extended test.
(libfile2, libname2, libsrcfile2, libsrc2)
(lib_sl2): New variables.
(exec_opts): Set also SHLIB_NAME2.
(pending breakpoint info on first run at shrfunc1)
(pending breakpoint info on second run at shrfunc1)
(pending breakpoint info on second run at shrfunc2)
(print y from libfile, print y from libfile2): New tests.
* gdb.base/unloadshr.c (shrfunc1): Change the returned value.
* gdb.base/unloadshr2.c: New.
2009-12-22 Hui Zhu <teawater@gmail.com>
* gdb.reverse/sigall-reverse.exp: Adjust.
2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
PR gdb/10884
* gdb.mi/var-cmd.c (do_bitfield_tests): New
(main): Call do_bitfield_tests.
* gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
2009-12-20 Joel Brobecker <brobecker@adacore.com>
* Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
gdb.base/watch_thread_num.c, gdb.java/jprint.java,
gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
gdb.modula2/unbounded1.c: Update copyright header.
2009-12-10 Chris Moller <moller@mollerware.com>
PR gdb/9399
* gdb.cp/virtfunc2.exp: New tests
* gdb.cp/virtfunc2.cc: New tests
* gdb.cp/Makefile.in: Added tests to EXECUTABLES
2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
* gdb.reverse/i387-env-reverse.c: New file.
* gdb.reverse/i387-env-reverse.exp: New file.
* gdb.reverse/i387-stack-reverse.c: New file.
* gdb.reverse/i387-stack-reverse.exp: New file.
2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-type.exp (test_range): New test.
2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
PR python/10805
* gdb.python/py-type.exp: New file.
* gdb.python/py-type.c: New file.
* Makefile.in: Add py-type.
2009-12-03 Tom Tromey <tromey@redhat.com>
* gdb.python/py-value.exp (test_parse_and_eval): New
function.
2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/11022
* gdb.base/pr11022.exp: New test.
* gdb.base/pr11022.c: New test.
2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix spurious false FAILs.
* gdb.base/structs.c (chartest): New.
(main): Fill-in chartest.
* gdb.base/structs.exp (anychar_re, first): New.
(start_structs_test): Import global anychar_re and first.
New gdb_test call "set print elements 300; ${testfile}"
(start_structs_test <$first>): New block.
(any): Import global anychar_re. New variable ac. Use ${ac}.
2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
Force $srcfile file.
* gdb.base/foll-fork.c (callee): Comment out the printf call.
2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/hbreak.exp: Disable for s390*-*-* targets.
* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
* gdb.threads/watchthreads-reorder.exp: Likewise.
2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/8704
* gdb.base/condbreak.exp: Test combinations of "break *EXP",
"if", and "thread". Correct matching in the previous test.
2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2009-11-23 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
* gdb.reverse-watch-precsave.exp: Ditto.
2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.asm/asm-source.exp: Adjust.
* gdb.base/help.exp: Adjust.
2009-11-22 Pedro Alves <pedro@codesourcery.com>
* gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
(do_syscall_tests_without_xml): Set data-directory to
/the/path/to/nowhere.
2009-11-21 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/local-watch-wrong-thread.c,
gdb.threads/local-watch-wrong-thread.exp: New files.
2009-11-21 Pedro Alves <pedro@codesourcery.com>
* gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
assume new `regsub' syntax available.
2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-hw-hit-once.exp,
gdb.base/watchpoint-hw-hit-once.c: New.
2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/watchthreads-reorder.exp,
gdb.threads/watchthreads-reorder.c: New.
2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
* gdb.xml/tdesc-regs.exp: Use for m68k.
2009-11-15 Pedro Alves <pedro@codesourcery.com>
* gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (current_target_name): New procedure.
(gdb_wrapper_target): New variable.
(gdb_wrapper_init): Set gdb_wrapper_target.
(default_gdb_init): Check gdb_wrapper_target before rebuilding the
wrapper.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/remote.exp: Delete the slowest load test.
Do not load with fixed packet sizes.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/freebpcmd.exp: Delete unused variable. Specify
srcfile when setting a breakpoint.
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
macros.
2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
to be in memory.
* gdb.base/display.c (force_mem): New.
(do_loops): Use it. Add breakpoint comments.
(do_vars): Add a breakpoint comment.
* gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
line numbers.
2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/pending.exp: Use gdb_run_cmd to start the program
instead of a bare "run".
2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/py-prettyprint.exp: Adjust.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/cell.exp (skip_cell_tests): Clean up test files before
returning.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
and the breakpoint menu. Do not call perror if a prompt is seen.
Consume the following GDB prompt.
* gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
* gdb.cp/namespace.exp: Use gdb_test.
* gdb.cp/templates.exp: Use gdb_test.
(test_template_breakpoints): Use gdb_test_multiple.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break1.c (struct some_struct, values): Move earlier.
(marker4): Reference values.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/macscp.exp: Avoid the first FAIL if macro information
is missing.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break.c (need_malloc): New.
* gdb.base/constvars.c (main): Reference crass and crisp.
* gdb.base/gdb1821.c (main): Reference bar.
* gdb.cp/gdb1355.cc (main): Reference s1.
* gdb.cp/hang1.cc (dummy2, dummy3): Declare.
(main): Call them.
* gdb.cp/hang2.cc (dummy2): Define.
* gdb.cp/hang3.cc (dummy3): Define.
* gdb.cp/m-data.cc (main): Reference shadow.
2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
* lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
remote host.
2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/step-line.exp: Copy step-line.inp to the remote host.
* gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
* gdb.dwarf2/dw2-compressed.exp: Likewise.
* gdb.dwarf2/dw2-intercu.exp: Likewise.
* gdb.dwarf2/dw2-intermix.exp: Likewise.
* gdb.dwarf2/dw2-producer.exp: Likewise.
* gdb.dwarf2/mac-fileno.exp: Likewise.
* gdb.python/py-prettyprint.exp (run_lang_tests): Copy
py-prettyprint.py to the remote host.
* gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2009-11-11 Keith Seitz <keiths@redhat.com>
* gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
use it instead of "Foo".
* gdb.cp/classes.exp (do_tests): Add a test to access
a method through a typedef'd class name.
2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/long_long.exp: Permit leading zeros on floating-point
exponents.
* gdb.base/pointers.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
2009-11-11 Keith Seitz <keiths@redhat.com>
* gdb.cp/cplusfuncs.cc (class foo): Add operators
new[] and delete[].
* gdb.cp/cplusfuncs.exp (dm_type_void): Change to
"void".
(probe_demangler): Remove all single-quoting of
method and variable names.
(info_func_regexp): Remove the word "void" from any
occurrence of "(void)".
(print_addr_2): Remove all single-quoting of
method names.
(print_addr_2_kfail): Likewise.
(print_addr): Single-quote C function names before
passing to print_addr_2.
(test_paddr_operator_functions): Remove single-quoting
for method names.
Add tests for operator new[] and operator delete[].
2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2009-11-09 Keith Seitz <keiths@redhat.com>
* gdb.cp/overload.exp: Add tests for resolving overloaded
methods in expression parsing/evaluation.
2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (default_gdb_version): Use --version instead of
--command.
2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
* lib/gdb.exp (gdb_compile_test): New.
(skip_ada_tests, skip_java_tests): New.
(gdb_compile): Use gdb_compile_test for f77.
* lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
* lib/java.exp (compile_java_from_source): Remove runtests check,
use gdb_compile_test to record result.
* gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
gdb.ada/exec_changed.exp, gdb.ada/start.exp,
gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
adjust gdb_compile invocations.
2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.in (abs_builddir): New.
(site.exp): New target `$(abs_builddir)/site.exp'. New comment.
(check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
`$(abs_builddir)/site.exp'.
2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
* config/m68k-emc.exp, lib/emc-support.exp,
gdb.trace/gdb_c_test.c: Delete.
* gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
gdb.trace/collection.exp, gdb.trace/deltrace.exp,
gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
casing for m68k-*-elf.
2009-11-03 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_expect): Fix timeout typo.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
* gdb.base/sepdebug2.c: New file.
2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
the modified warnings for catch syscall. Verify if GDB was compiled
with support for lib expat, and choose which tests to run depending
on this.
2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_breakpoint_commands): Test
that composite commands are parsed OK. And also test
that breakpoint commands do work.
2009-10-23 Michael Snyder <msnyder@vmware.com>
gdb.reverse/consecutive-precsave.exp: Change expect pattern
to allow for new disassembly style.
2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.asm/asm-source.exp: Adjust.
2009-10-22 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/break-precsave.exp: New test.
* gdb.reverse/consecutive-precsave.exp: Ditto.
* gdb.reverse/finish-precsave.exp: Ditto.
* gdb.reverse/i386-precsave.exp: Ditto.
* gdb.reverse/machinestate-precsave.exp: Ditto.
* gdb.reverse/sigall-precsave.exp: Ditto.
* gdb.reverse/solilb-precsave.exp: Ditto.
* gdb.reverse/step-precsave.exp: Ditto.
* gdb.reverse/until-precsave.exp: Ditto.
* gdb.reverse/watch-precsave.exp: Ditto.
2009-10-22 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
for gdb_expect. Adjust one test's expect strings for the new
format of disassemble.
* gdb.reverse/finish-reverse.exp: Delete 'return'.
* gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
gdb_test_multiple.
* gdb.reverse/step-reverse.exp: Delete 'return'.
* gdb.reverse/until-reverse.exp: Delete blank lines.
* gdb.reverse/watch-reverse.exp: Delete blank lines.
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/consecutive.exp: Adjust.
* gdb.base/display.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
2009-10-19 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/consecutive-reverse.c: Add comment at end of main.
* gdb.reverse/finish-reverse.c: Ditto.
* gdb.reverse/sigall-reverse.c: Ditto.
* gdb.reverse/solib-reverse.c: Ditto.
* gdb.reverse/step-reverse.c: Ditto.
* gdb.reverse/watch-reverse.c: Ditto.
2009-10-19 Pedro Alves <pedro@codesourcery.com>
Stan Shebs <stan@codesourcery.com>
* gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
* gdb.base/foll-exec.exp: Adjust to expect a process id before
"Executing new program".
* gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
* gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
left listed after having been killed.
* gdb.base/attach.exp: Adjust to spell out "symbol-file".
* gdb.base/maint.exp: Adjust test.
* Makefile.in (ALL_SUBDIRS): Add gdb.multi.
* gdb.multi/Makefile.in: New.
* gdb.multi/base.exp: New.
* gdb.multi/goodbye.c: New.
* gdb.multi/hangout.c: New.
* gdb.multi/hello.c: New.
* gdb.multi/bkpt-multi-exec.c: New.
* gdb.multi/bkpt-multi-exec.exp: New.
* gdb.multi/crashme.c: New.
2009-10-13 Tristan Gingold <gingold@adacore.com>
* gdb.base/sepdebug.exp: Check debug info are found.
2009-10-08 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.
2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2009-10-07 Joel Brobecker <brobecker@adacore.com>
* gdb.base/watchpoints.c: Add copyright header. Reformat one
of the comments.
2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/annota1.exp: Remove obsolete match_max increase.
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.
2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (default_gdb_init): Set current value of match_max
to default.
2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
mingw and cygwin targets.
2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_compile): Avoid adding
gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/shr1.c: Use %p in format string.
* gdb.base/unload.c: Avoid warning in fprintf.
* gdb.base/watchpoint-solib.c: Idem.
2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
long type.
(test_unlink): Correct printf string.
* gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
* gdb.threads/attachstop-mt.c: Add #include <string.h>.
2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
* gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
* gdb.arch/ia64-breakpoint-shadow.S: New file.
2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.objc/basicclass.exp: Disable pending breakpoint query.
* gdb.objc/nondebug.exp: Likewise.
2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting.
* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dump.exp: Pass difference of pointer types instead
of integer types as offset to restore in intarr3.srec case.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.
2009-09-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Test utf-16 strings with Python.
2009-09-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
* gdb.base/charset.c (utf_32_string): Rename.
(init_utf32): Rename.
(main): Update.
2009-09-22 Tom Tromey <tromey@redhat.com>
* gdb.python/py-function.exp: Add regression tests.
2009-09-21 Keith Seitz <keiths@redhat.com>
* gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
with invalid operator.
2009-09-21 Keith Seitz <keiths@redhat.com>
* gdb.cp/classes.exp (do_tests): Add tests to print a constructor
and destructor using typedef name of class.
* gdb.cp/classes.cc (class Base1): Add a destructor.
(base1): New typedef.
(use_methods): Instanitate an object of type base1.
* gdb.cp/templates.exp (test_template_typedef): New procedure.
(do_tests): Call test_template_typedef.
* gdb.cp/templates.cc (Baz::~Baz): New method.
(intBazOne): New typedef.
(main): Instantiate intBazOne.
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
PR python/10633
* gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
Function.
(run_lang_tests): Add print elements test.
2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-value.exp (test_subscript_regression): New
function. Test for invalid subscripts.
* gdb.python/py-value.c (main): Add test array, and pointer to it.
(ptr_ref): New function.
2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/default.exp: Fix "show convenience".
2009-09-15 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (mi_create_varobj): Update.
(mi_create_floating_varobj): Likewise.
(mi_create_dynamic_varobj): New proc.
(mi_varobj_update): Update.
(mi_varobj_update_with_type_change): Likewise.
(mi_varobj_update_kv_helper): New proc.
(mi_varobj_update_dynamic_helper): Rewrite.
(mi_varobj_update_dynamic): New proc.
(mi_list_varobj_children): Update.
(mi_list_varobj_children_range): Add 'from' and 'to' arguments.
* gdb.python/python-prettyprint.py (pp_outer): New class.
(pp_nullstr): Likewise.
(lookup_function): Register new printers.
* gdb.python/python-prettyprint.c (struct substruct): New type.
(struct outerstruct): Likewise.
(substruct_test): New function.
(struct nullstr): New type.
(string_1, string_2): New globals.
(main): Add new tests.
* gdb.python/python-mi.exp: Added regression tests.
* gdb.mi/mi2-var-display.exp: Update.
* gdb.mi/mi2-var-cmd.exp: Update.
* gdb.mi/mi2-var-child.exp: Update.
* gdb.mi/mi2-var-block.exp: Update.
* gdb.mi/mi-var-invalidate.exp: Update.
* gdb.mi/mi-var-display.exp: Update.
* gdb.mi/mi-var-cmd.exp: Update.
* gdb.mi/mi-var-child.exp: Update.
* gdb.mi/mi-var-block.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.mi/gdb701.exp: Update.
2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* Makefile.in: Inclusion of catch-syscall object.
* gdb.base/catch-syscall.c: New file.
* gdb.base/catch-syscall.exp: New file.
2009-09-12 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/step-reverse.exp: Explicitly check for targets
that can support reverse debuggnig.
2009-09-11 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/valop.S: New file.
* gdb.dwarf2/valop.exp: New file.
2009-09-11 Mark Kettenis <kettenis@gnu.org>
* gdb.threads/current-lwp-dead.exp: Only run this on Linux.
2009-09-10 Doug Evans <dje@google.com>
* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
Add $gdb_prompt to second breakpoint regexp.
2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
* gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
names, add missing ones.
* gdb.python/py-cmd.exp: Rename from python-cmd.exp.
* gdb.python/py-frame.c: Rename from python-frame.c.
* gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
testfile name.
* gdb.python/py-function.exp: Rename from python-function.exp.
* gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
testfile name.
* gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
* gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
Adjust testfile name.
* gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
* gdb.python/py-template.cc: Rename from python-template.cc.
* gdb.python/py-template.exp: Rename from python-template.exp.
Adjust testfile name.
* gdb.python/py-value.c: Rename from python-value.c.
* gdb.python/py-value.exp: Rename from python-value.exp. Adjust
testfile name.
2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
$bpt2address.
(Second breakpoint address is valid on ia64)
(Third breakpoint on ia64 in the Second breakpoint's bundle): New.
2009-09-03 Joseph Myers <joseph@codesourcery.com>
* gdb.base/ending-run.exp: Restrict regular expression matching
line number to require closing brace following.
2009-09-03 Doug Evans <dje@google.com>
* gdb.base/store.exp (check_set): Fix typo in expected value message.
2009-09-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
2009-09-02 Tom Tromey <tromey@redhat.com>
* gdb.dwarf2/callframecfa.exp: New file.
* gdb.dwarf2/callframecfa.S: New file.
2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
gdb.base/solib-overlap-main.c: New.
2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/10565
* gdb.base/bitfields.c (struct container, container): New.
(main): Initialize it and call break5.
* gdb.base/bitfields.exp (bitfield_at_offset): New test.
2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
Support constant DW_AT_data_member_location by GCC PR debug/40659.
* gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2009-08-26 Michael Snyder <msnyder@vmware.com>
* gdb.base/i386-reverse.c: New file.
* gdb.base/i386-reverse.exp: New file.
* gdb.base/Makefile.in: Add new files to be removed.
2009-08-26 Joseph Myers <joseph@codesourcery.com>
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2009-08-24 Keith Seitz <keiths@redhat.com>
* gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
Add two new C++ completer tests which limit the output to a
given class.
2009-08-24 Michael Snyder <msnyder@vmware.com>
* gdb.base/del.exp: Fix typo in comment.
* gdb.base/step-bt.exp: Fix cut and paste error in comment.
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.
2009-08-19 Doug Evans <dje@google.com>
* gdb.base/gdbvars.c: New file.
* gdb.base/gdbvars.exp: Test convenience vars with program variables.
2009-08-14 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
2009-08-13 Pedro Alves <pedro@codesourcery.com>
* gdb.base/default.exp: Adjust "set language test": it's now an
enum command. Larger help string moved to "help set language".
* gdb.base/help.exp: Adjust "help set language" expected output,
now lists all known languages.
2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
* gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
all frame arguments.
* gdb.arch/altivec-regs.exp: Likewise.
2009-08-07 Tom Tromey <tromey@redhat.com>
* gdb.base/setshow.exp: Add tests for changes to set language, set
check range, and set check type.
2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_list_breakpoints): Make it work.
* gdb.mi/mi-break.exp (test_breakpoint_commands): New.
Call it.
2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* configure.ac: Run gdb.cell tests when appropriate.
* configure: Regenerate.
* lib/cell.exp: New file.
* gdb.cell: New directory.
* gdb.cell/configure.ac: New file.
* gdb.cell/configure: New file.
* gdb.cell/Makefile.in: New file.
* gdb.cell/arch.exp: New file.
* gdb.cell/break.c: New file.
* gdb.cell/break.exp: New file.
* gdb.cell/break-spu.c: New file.
* gdb.cell/bt.c: New file.
* gdb.cell/bt2-spu.c: New file.
* gdb.cell/bt-spu.c: New file.
* gdb.cell/bt.exp: New file.
* gdb.cell/coremaker.c: New file.
* gdb.cell/coremaker-spu.c: New file.
* gdb.cell/core.exp: New file.
* gdb.cell/gcore.exp: New file.
* gdb.cell/data.c: New file.
* gdb.cell/data.exp: New file.
* gdb.cell/data-spu.c: New file.
* gdb.cell/ea-cache.exp: New file.
* gdb.cell/ea-cache.c: New file.
* gdb.cell/ea-cache-spu.c: New file.
* gdb.cell/ea-standalone.c: New file.
* gdb.cell/ea-standalone.exp: New file.
* gdb.cell/ea-test.c: New file.
* gdb.cell/ea-test.exp: New file.
* gdb.cell/f-regs.exp: New file.
* gdb.cell/mem-access.c: New file.
* gdb.cell/mem-access.exp: New file.
* gdb.cell/mem-access-spu.c: New file.
* gdb.cell/ptype.exp: New file.
* gdb.cell/registers.exp: New file.
* gdb.cell/size.c: New file.
* gdb.cell/sizeof.exp: New file.
* gdb.cell/size-spu.c: New file.
* gdb.cell/solib.exp: New file.
* gdb.cell/solib-symbol.exp: New file.
2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.xml/tdesc-regs.exp: Skip for SPU targets.
2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/float.exp: Handle VFP registers.
2009-07-14 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
to bring gdb to the beginning of the calling line.
* gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
confusing the i386 epilogue unwinder.
2009-07-14 Stan Shebs <stan@codesourcery.com>
* gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
2009-07-14 Michael Snyder <msnyder@vmware.com>
* gdb.reverse/step-reverse.exp (stepi into function call):
Call instruction may not be first instruction in the line.
(reverse stepi from a function call): Used wrong line number.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix gdb.base/macscp.exp when using custom inputrc.
* gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
* gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
env(TERM) set.
* gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
* lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
* gdb.base/annota1.exp (thread_test): Import global $testfile.
Change the compilation target to match the testcase name.
* gdb.base/sect-cmd.exp: Change the compilation target to match the
testcase name.
* a2-run.exp: Use for setup prepare_for_testing. Change the
compilation target to match the testcase name.
* gdb.base/commands.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/info-target.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
2009-07-11 Hui Zhu <teawater@gmail.com>
* gdb.base/help.exp (disassemble): Update expected help text.
2009-07-09 Tom Tromey <tromey@redhat.com>
* lib/gdb.exp: Handle TRANSCRIPT.
(remote_spawn, remote_close, send_gdb): New procs.
2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/python-prettyprint.c: Add counted null string
structure.
* gdb.python/python-prettyprint.exp: Print null string. Test for
embedded nulls.
* gdb.python/python-prettyprint.py (pp_ns): New Function.
* gdb.python/python-value.exp (test_value_in_inferior): Add
variable length string fetch tests.
* gdb.python/python-value.c (main): Add strings for string fetch tests.
2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dump.exp (inaccessible memory is reported): New test.
2009-07-07 Tom Tromey <tromey@redhat.com>
* gdb.base/call-rt-st.exp: Update for change to escape output.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/charset.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/store.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/charset.exp: Test octal escape sequence length.
Update for change to escape output.
2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
* lib/java.exp (java_init): Ignore $GCJ if it is empty.
2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdbserver-support.exp (gdbserver_start): Loop spawning
gdbserver increasing $portnum if "Can't bind address" has been seen.
2009-07-05 Pedro Alves <pedro@codesourcery.com>
* gdb.base/ending-run.exp: Add "step out of main" pattern for
mingw32ce.
2009-07-05 Pedro Alves <pedro@codesourcery.com>
* gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
VFP format.
2009-07-02 Pedro Alves <pedro@codesourcery.com>
* gdb.base/multi-forks.exp: Only run detach-on-fork tests on
linux. Adjust to use "inferior", "info inferiors", "detach
inferior" and "kill inferior" instead of "restart", "info fork",
"detach fork" and "delete fork".
* gdb.base/ending-run.exp: Spell out "info".
* gdb.base/help.exp: Adjust to use test_prefix_command_help for
the "kill" command.
2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/tls-shared.exp: Update to locexpr_describe_location
change to prefix TLS offset in hex with 0x.
2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/default.exp: Update test case for "x" changes.
2009-07-01 Tristan Gingold <gingold@adacore.com>
* gdb.base/bigcore.exp: Make darwin untested.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/completion.exp (directory completion): Create the directory.
New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
escapeuniquesub.
(directory completion 2): Expect now ${escapeuniquesub}.
(Glob remaining of directory test): Remove one excessive newline.
Expect the real output.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix `make check//%' target after `make check' has been ran.
* Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
a mkdir call.
(check-gdb.base%): Remove the gdb.base%/.dir dependency.
(%/.dir): Remove.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/mi-support.exp (mi_check_thread_states): Permit any output before
the expected result record.
2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
Remove racy FAILs relying just on the timeouts.
* gdb.base/setshow.exp (set annotate 2, show annotate (2))
(annotation_level 2): Remove racy FAILs.
2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
gdb/10275
* gdb.dwarf2/dw2-restore.{S,exp}: New test.
2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-stack.exp: Testing symbolic options
to -stack-list-locals and -stack-list-arguments.
2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
2009-06-29 Tom Tromey <tromey@redhat.com>
* dg-extract-results.sh: New file.
* Makefile.in (FORCE_PARALLEL): New variable.
(CHECK_TARGET): New conditional variable.
(check): Use CHECK_TARGET.
(DO_RUNTEST): New variable.
(check-single): New target.
(TEST_DIRS): New variable.
(TEST_TARGETS): Likewise.
(check-parallel): New target.
(check-gdb.%): New pattern.
(BASE1_FILES): New variable.
(BASE2_FILES): Likewise.
(check-gdb.base%): New pattern.
(%/.dir): New pattern.
* configure: Rebuild.
* aclocal.m4 (AM_CONDITIONAL): New defun.
* configure.ac: Check whether user is using GNU make.
(GMAKE): New conditional.
2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-nested-import.cc: New test.
* gdb.cp/namespace-nested-import.exp: New test.
2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/break.exp: Add an XFAIL for gcc/36748.
* gdb.cp/annota2.exp: Accept frames-invalid in more places.
* gdb.opt/Makefile.in (EXECUTABLES): Update.
* gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
* gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
gdb.opt/inline-markers.c: New files.
* lib/gdb.exp (skip_inline_frame_tests): New function.
(skip_inline_var_tests): New function.
2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
* gdb.cp/exception.exp: Don't require $hex before inner frame in
backtrace.
2009-06-27 Michael Snyder <msnyder@vmware.com>
* gdb.reverse: New directory.
* gdb.reverse/break-reverse.c: New test.
* gdb.reverse/break-reverse.exp: New test.
* gdb.reverse/consecutive-reverse.c: New test.
* gdb.reverse/consecutive-reverse.exp: New test.
* gdb.reverse/finish-reverse.c: New test.
* gdb.reverse/finish-reverse.exp: New test.
* gdb.reverse/machinestate.c: New test.
* gdb.reverse/ms1.c: New test.
* gdb.reverse/machinestate.exp: New test.
* gdb.reverse/Makefile.in: New file.
* gdb.reverse/shr2.c: New test.
* gdb.reverse/solib-reverse.c: New test.
* gdb.reverse/solib-reverse.exp: New test.
* gdb.reverse/step-reverse.c: New test.
* gdb.reverse/step-reverse.exp: New test.
* gdb.reverse/until-reverse.c: New test.
* gdb.reverse/ur1.c: New test.
* gdb.reverse/until-reverse.exp: New test.
* gdb.reverse/watch-reverse.c: New test.
* gdb.reverse/watch-reverse.exp: New test.
* configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
* configure: Regenerate.
2009-06-26 Doug Evans <dje@google.com>
* gdb.base/psymtab.exp: Turn off pending breakpoints.
2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
windows problem for 'file delete $binfile'.
2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
* gdb.cp/namespace-using.exp: New test.
* gdb.cp/namespace-using.cc: New test.
2009-05-20 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/variant_record_packed_array: New testcase.
2009-06-23 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (test_combination): Regression test.
* gdb.base/charset.c (my_wchar_t): New typedef.
(myvar): New global.
(main): Set myvar.
2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
target.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dump.exp: Handle SPU like 64-bit platforms.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/gdb680.exp: Update test for error message.
2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/annota1.exp: Allow multiple occurrences of the
frames-invalid annotation.
* gdb.cp/annota2.exp: Likewise.
2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
* gdb.cp/gdb2495.cc: New file.
* gdb.cp/gdb2495.exp: New file.
2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
Report error on GDB crash during runto.
* lib/gdb.exp (runto <eof>): New.
2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
gdb.server/server-mon.exp, gdb.server/server-run.exp,
gdb.trace/actions.exp, gdb.trace/backtrace.exp,
gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
gdb.trace/while-stepping.exp: Use a unique name for the compiled
executable.
2009-06-07 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
defined before referencing it.
2009-06-03 Doug Evans <dje@google.com>
* gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
* gdb.arch/i386-see.c: Ditto.
2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/macscp.exp (info_macro): Return undefined if undefined.
(check_macro): Return 1 if undefined.
If first test fails, check if macro debug information is available,
and report unsupported test if no macro information is found.
2009-05-29 Doug Evans <dje@google.com>
* gdb.threads/hand-call-in-threads.exp: New.
* gdb.threads/hand-call-in-threads.c: New.
2009-05-29 Michael Snyder <msnyder@vmware.com>
* gdb.base/break-always.exp: Change "1" to "on".
Add confirmation check.
2009-05-28 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/threxit-hop-specific.c: New.
* gdb.threads/threxit-hop-specific.exp: New.
* gdb.threads/thread-execl.c: New.
* gdb.threads/thread-execl.exp: New.
2009-05-27 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
(mi_child_regexp): Likewise.
(mi_list_varobj_children_range): Likewise.
(mi_get_features): Likewise.
(mi_list_varobj_children): Rewrite.
* gdb.python/python-mi.exp: New file.
2009-05-27 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
Phil Muldoon <pmuldoon@redhat.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/python-prettyprint.exp: New file.
* gdb.python/python-prettyprint.c: New file.
* gdb.python/python-prettyprint.py: New file.
* gdb.base/display.exp: print/r is now valid.
2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
Pedro Alves <pedro@codesourcery.com>
Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.python/python-template.exp: New file.
* gdb.python/python-template.cc: New file.
* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
tests.
* gdb.python/python-value.exp (py_objfile_tests): New proc.
Call it.
(test_value_after_death): New proc.
* gdb.python/python-value.c (PTR): New typedef.
(main): New variable 'x'.
2009-05-27 Tom Tromey <tromey@redhat.com>
* gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
tests.
* gdb.python/python-value.exp (py_objfile_tests): New proc.
Call it.
2009-05-27 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
2009-05-24 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/fork-thread-pending.c: New.
* gdb.threads/fork-thread-pending.exp: New.
2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
* gdb.dwarf2/dw2-strp.S (a_string2): New.
2009-05-18 Jon Beniston <jon@beniston.com>
* gdb.asm/asm-source.exp: Add lm32 target.
2009-05-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/foll-fork.c: Include stdlib.h. Add markers for
`gdb_get_line_number'. Call `callee' in both parent and child.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Use
`gdb_get_line_number' instead of hardcoding line numbers.
(catch_fork_unpatch_child): New procedure to test detaching
breakpoints from child fork.
(tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
hardcoding line numbers.
(do_fork_tests): Run `catch_fork_unpatch_child'.
2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cmd-var.exp: Check that when varobj
of structure type enters or leaves the scope, it
is reported by -var-update.
2009-05-11 Doug Evans <dje@sebabeach.org>
* gdb.mi/nsintrall.c (main): Fix off-by-one error.
* gdb.threads/pending-step.c (main): Fix off-by-one error.
* gdb.threads/schedlock.c (main): Fix off-by-one error.
2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
2009-04-30 Doug Evans <dje@google.com>
* gdb.threads/watchthreads2.exp: New testcase.
* gdb.threads/watchthreads2.c: New testcase.
2009-04-29 Doug Evans <dje@google.com>
* gdb.cp/mb-ctor.exp: Add multi-line source statement test.
* gdb.cp/mb-ctor.cc: Ditto.
* gdb.cp/mb-inline.exp: Add multi-line source statement test.
* gdb.cp/mb-inline.h (multi_line_foo): New function.
* gdb.cp/mb-inline1.cc: Call it.
* gdb.cp/mb-inline2.cc: Ditto.
* gdb.cp/mb-templates.exp: Add multi-line source statement test.
* gdb.cp/mb-templates.cc (multi_line_foo): New template.
2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
(info_macro): Remova `decimal' declaration. New variable `nonzero'.
Replace all uses of `decimal' by `nonzero'.
(info macro FROM_COMMANDLINE): New test.
2009-04-27 Tom Tromey <tromey@redhat.com>
* gdb.base/printcmds.exp (test_printf): Test comma operator in [].
2009-04-27 Doug Evans <dje@google.com>
* gdb.threads/watchthreads.c (main): Initialize args before starting
the threads. Plus formatting cleanup.
* gdb.threads/watchthreads.exp: Avoid errant failures due to
biased scheduling of one thread.
2009-04-27 Jerome Guitton <guitton@adacore.com>
* gdb.cp/templates.cc (GetMax): New template.
(main): Declare two instances of GetMax.
* gdb.cp/templates.exp: Add new test.
2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
2009-04-22 Joseph Myers <joseph@codesourcery.com>
* lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
2009-04-15 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp: Add regression test.
2009-04-14 Joel Brobecker <brobecker@adacore.com>
* gdb.base/exe-lock.exp: New testcase.
2009-04-13 Tom Tromey <tromey@redhat.com>
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.
2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
* gdb.server/ext-attach.exp: Likewise.
2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
Eliminate some sleep usage.
* gdb.mi/basics.c (do_nothing): New.
(main): Use do_nothing instead of printf, so that
not to introduce race condition between output of
inferiour and output of gdb. Do not use sleep as it
is not generally available on embedded targets.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".
2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
mi_run_to_main.
2009-04-02 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Don't check isnative. Use
mi_run_to_main. Skip thread exit test on remote targets.
* gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
mi_run_to_main.
* gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
mi_run_to_main.
* lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
when expecting ^connected. Detect when the target doesn't support
non-stop mode.
(mi_run_cmd): Detect if non-stop mode was requested by isn't
supported. Return -1 on error, 0 on success.
(mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
(mi_runto): Return mi_runto_helper's result explicitly.
2009-04-01 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
2009-04-01 Tom Tromey <tromey@redhat.com>
* gdb.base/funcargs.exp: Set print frame-arguments to "all".
* gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
* gdb.ada/ref_param.exp: Set print frame-arguments to "all".
* gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
PR gdb/931
* gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
output.
* gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
for gdb/931.
* dw2-strp.S (DW_AT_language): Change to C++.
(DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
2009-03-31 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tasks: New testcase.
2009-03-30 Stan Shebs <stan@codesourcery.com>
* gdb.trace/actions.exp: Update to match new info trace format.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-frame.c: New file.
* gdb.python/python-frame.exp: New file.
2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp: Add tests for the address
attribute.
2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
* gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
2009-03-26 Doug Evans <dje@google.com>
* gdb.mi/mi-nonstop-exit.exp: New file.
* gdb.mi/non-stop-exit.c: New file.
2009-03-26 Tom Tromey <tromey@redhat.com>
Update for change to prologue skipping:
* gdb.mi/mi2-simplerun.exp: Update.
* gdb.mi/mi2-break.exp: Update.
* gdb.mi/mi-simplerun.exp: Update.
* gdb.mi/mi-break.exp: Update.
* gdb.base/ending-run.exp: Update.
2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp (test_value_in_inferior): Test
gdb.Value.is_optimized_out attribute.
2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-noloc-main.c: New file.
* gdb.dwarf2/dw2-noloc.S: New symbols matrix.
(.text): Remove.
(.data): New.
(DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
(DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
(DW_TAG_subprogram func_cu1, noloc): Remove.
(main): New.
* gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
`dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
(file_symbols): New procedure.
2009-03-25 Tom Tromey <tromey@redhat.com>
* gdb.base/charset.exp (valid_target_charset): New proc.
Use it to skip tests on invalid charsets.
2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/completion.exp: Add a test for directory completion.
2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a racy FAIL.
* gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
* gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-cmd.exp: Add tests for keyword arguments.
* gdb.python/python-function.exp: Add test for function returning
a GDB value.
2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-function.exp: New file.
2009-03-20 Tom Tromey <tromey@redhat.com>
* gdb.base/store.exp: Update for change to escape output.
* gdb.base/callfuncs.exp (fetch_all_registers): Update for change
to escape output.
* gdb.base/pointers.exp: Update for change to escape output.
* gdb.base/long_long.exp (gdb_test_long_long): Update for change
to escape output.
* gdb.base/constvars.exp (do_constvar_tests): Update for change to
escape output.
* gdb.base/call-rt-st.exp (print_struct_call): Update for change
to escape output.
* gdb.cp/ref-types.exp (gdb_start_again): Update for change to
escape output.
* gdb.base/setvar.exp: Update for change to escape output.
* lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
* gdb.base/printcmds.exp (test_print_all_chars): Update for change
to escape output.
(test_print_string_constants): Likewise.
* gdb.base/charset.exp (valid_host_charset): Check size of
wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
cases. Handle "auto"-related output.
* gdb.base/charset.c (char16_t, char32_t): New typedefs.
(uvar, Uvar): New globals.
2009-03-19 Jerome Guitton <guitton@adacore.com>
* gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
deltas.
* gdb.ada/fixed_points.exp: Ditto.
2009-03-18 Pedro Alves <pedro@codesourcery.com>
* return-nodebug.c: Don't include stdio.h.
(init): Delete.
(func): Delete definition and provide extern declaration.
(t): New.
(main): Don't call printf. Call func and store its result in t.
* return-nodebug1.c: New.
* return-nodebug.exp: Don't expect stdio output. Instead, print
the global variable t. Drop printf formatters and cast types from
foreach loop. Don't use prepare_for_testing. Compile
return-nodebug.c and return-nodebug1.c in separate steps. Don't
define FORMAT or CAST.
2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/solib-display.exp: Disable test for remote targers.
2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix a racy FAIL.
* gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
code from `follow parent, print pids'.
(`follow child, print pids', `follow parent, print pids'): Call it.
Replace `gdb_test "break..."' by gdb_breakpoint.
2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Adjust for output difference in
sync and async modes.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
that was checked in by mistake. Remove loading of ada.exp, since
this is not necessary in this case.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_arith_binop.exp: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/mod_from_name: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tick_last_segv: New testcase.
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Remove debug print.
2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
include the token in ^running and frame info in *stopped.
2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
* solib-display.exp: New file.
* solib-display-main.c: New file.
* solib-display-lib.c: New file.
2009-03-05 Pedro Alves <pedro@codesourcery.com>
* gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
(list_and_check_macro): Use more specific test name.
(next to definition): Make the test names unique.
2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.pascal/floats.exp: Accept approximate results everywhere.
2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-nonstop.exp (notifs): Adjust for library
notifications.
* gdb.mi/mi-nsintrall.exp (notifs): Likewise.
* gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
* lib/mi-support.exp (library_loaded_re): New.
(mi_run_cmd, mi_send_resuming_command_raw): Adjust.
2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.gdb/observer.exp: Use test_notification observer, not
normal_stop, everywhere.
(test_normal_stop_notifications): Rename to...
(test_notifications): ...this.
(test_observer_normal_stop): Rename to...
(test_observer): ...this.
2009-02-16 Doug Evans <dje@google.com>
* gdb.arch/amd64-disp-step.S (test_int3): New test.
* gdb.arch/amd64-disp-step.exp (test_int3): New test.
* gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.
* gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
(test_prefixed_syscall,test_int3): New tests.
2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
(mi_expect_interrupt): Likewise.
* gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
response.
2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (get_hexadecimal_valueof): New procedure.
* gdb.base/pc-fp.exp (get_valueofx): Remove.
Replace calls to get_valueofx by get_hexadecimal_valueof.
2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (get_valueof): Accept anything as a return value.
(get_integer_valueof): New procedure.
(get_sizeof): Use new get_integer_value_of.
* gdb.base/sizeof.exp: Replace all uses of get_valueof
by get_integer_valueof.
2009-02-13 Tom Tromey <tromey@redhat.com>
* gdb.base/remote.exp (get_sizeof): Remove.
* gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
* gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
* gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
* lib/gdb.exp (get_valueof): Move from long_long.exp.
(get_sizeof): Likewise.
2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
PR fortran/9806
* gdb.fortran/module.exp, gdb.fortran/module.f90: New.
2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
2009-02-06 Pedro Alves <pedro@codesourcery.com>
* gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-cmd.exp: New file.
2009-02-06 Tristan Gingold <gingold@adacore.com>
* gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
2009-02-05 Tristan Gingold <gingold@adacore.com>
* gdb.base/sigbpt.exp: Detect which signal is received when a NULL
pointer is dereferenced and use this signal name in regexp.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigbpt.c (main): Catch SIGBUS too.
* gdb.base/signull.c (main): Ditto.
2009-02-04 Tom Tromey <tromey@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.exp: Use `gdb.history' instead of
`gdb.value_from_history'.
(test_value_numeric_ops): Add test for conversion of enum constant.
* gdb.python/python-value.c (enum e): New type.
(evalue): New global.
(main): Use argv.
2009-02-04 Jerome Guitton <guitton@adacore.com>
* gdb.ada/uninitialized_vars: New test program.
* gdb.ada/uninitialized_vars.exp: New testcase.
2009-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/cpcompletion.exp: Name the test "pr9594".
* gdb.cp/pr2489.cc: Rename...
* gdb.cp/pr9594.cc: ... to this.
2009-02-02 Tom Tromey <tromey@redhat.com>
* gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
* gdb.cp/pr2489.cc: New file.
* gdb.cp/cpcompletion.exp: New file.
2009-02-02 Tom Tromey <tromey@redhat.com>
PR exp/9059:
* gdb.cp/call-c.exp: Add regression test.
* gdb.cp/call-c.cc (FooHandle): New typedef.
(main): New variable 'handle'.
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (et_mi_thread_list)
(check_mi_and_console_threads): Adjust for current thread in
-thread-list-ids output.
2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_disabled_creation): New.
Call it.
2009-01-28 Doug Evans <dje@google.com>
* gdb.arch/amd64-disp-step.S: New file.
* gdb.arch/amd64-disp-step.exp: New file.
* gdb.arch/i386-disp-step.S: New file.
* gdb.arch/i386-disp-step.exp: New file.
2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/find.exp: Set newline variable
using quotes instead of braces to fix cygwin failures.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* gdb.base/radix.exp: Add tests to ensure that that set
input-radix 0 and set output-radix 0 are really rejected.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
copyright years.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
PR gdb/9664:
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.server/file-transfer.exp: Use EXEEXT variable for
binfile definition to fix Windows OS failure.
2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/9346
* gdb.base/interrupt.c (sigint_handler): New.
(main): Install a SIGINT handler if SIGNALS is defined. Exit
on error.
* gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
Test "signal SIGINT".
2009-01-19 Doug Evans <dje@google.com>
* gdb.base/break.exp: Update expected gdb output.
* gdb.base/sepdebug.exp: Ditto.
* gdb.mi/mi-syn-frame.exp: Ditto.
* gdb.mi/mi2-syn-frame.exp: Ditto.
* gdb.base/call-signal-resume.exp: New file.
* gdb.base/call-signals.c: New file.
* gdb.base/unwindonsignal.exp: New file.
* gdb.base/unwindonsignal.c: New file.
* gdb.threads/interrupted-hand-call.exp: New file.
* gdb.threads/interrupted-hand-call.c: New file.
* gdb.threads/thread-unwindonsignal.exp: New file.
2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/define.exp: Test defining and hooking prefix commands.
* gdb.python/python.exp: Update test for "show user" output.
2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.fortran/derived-type.exp: New variables int4 and real4. Match
now the output exactly, using less wildcards. Expect also the output
of gfortran-4.3. Update for the f-valprint.c modification from
2008-04-22.
* gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
Remove gdb_test test names where matching the command.
2009-01-01 Pedro Alves <pedro@codesourcery.com>
PR breakpoints/9681:
* gdb.base/watchpoint.exp: Add regression test.
2008-12-31 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/attach-into-signal.exp: Don't use
gdb_suppress_entire_file.
* gdb.threads/attach-stopped.exp: Ditto.
* gdb.threads/attachstop-mt.exp: Ditto.
2008-12-31 Pedro Alves <pedro@codesourcery.com>
PR gdb/8812:
* gdb.base/signal.exp: Change kfail to fail, and update PR number.
2008-12-29 Pedro Alves <pedro@codesourcery.com>
PR gdb/7536:
* gdb.base/radix.exp: Add tests to ensure invalid input radices
and unsupported output radices are really rejected.
2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/punctuator.exp: Backslash the '$' signs.
2008-12-22 Tom Tromey <tromey@redhat.com>
* gdb.cp/punctuator.exp: New file.
2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix for PR gdb/8648.
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-16 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/expand-psymtabs.c: Insert code in foo so that the
compiler actually generate code at the expected line number.
2008-12-15 Jie Zhang <jie.zhang@analog.com>
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
2008-12-12 Tom Tromey <tromey@redhat.com>
* gdb.base/commands.exp (redefine_hook_test): New proc.
Call it.
2008-12-11 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: New regression test.
2008-12-11 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Print "address.addr".
* gdb.base/macscp1.c (struct outer): New struct.
(address): New global.
2008-12-09 Tom Tromey <tromey@redhat.com>
* gdb.base/commands.exp (redefine_backtrace_test): New proc.
Call it.
2008-12-04 Doug Evans <dje@google.com>
* gdb.server/ext-run.exp: Relax regexp for init program.
2008-12-03 Tristan Gingold <gingold@adacore.com>
* gdb.base/macscp.exp: Generate an object file during compilation
to work around Darwin dsymutil limitations.
2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.
2008-11-28 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/int_deref.exp: Convert the addresses into long_integer
rather than integer, as integer might not be big enough when
on 64bit targets.
2008-11-27 Jerome Guitton <guitton@adacore.com>
* gdb.cp/formatted-ref.exp: Add equality test.
* gdb.ada/formatted_ref.exp: Ditto.
2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
* gdb.base/start.exp: New comment about an alternative - `runto_main'.
2008-11-20 Andreas Schwab <schwab@suse.de>
* gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
matching syscall entry point.
* gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
(tcatch_vfork_then_child_follow): Likewise. Finish through
vfork even if we stopped at the syscall trampoline.
2008-11-20 Doug Evans <dje@google.com>
* gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/ppc-dfp.exp: New file.
* gdb.arch/ppc-dfp.c: New file.
2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/sepsymtab.exp: Update for new 'info sym' format.
2008-11-17 Doug Evans <dje@google.com>
* gdb.mi/mi-syn-frame.exp: Update expected output.
* gdb.mi/mi2-syn-frame.exp: Update expected output.
2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
"thread N" results in =thread-selected.
* lib/mi-support (mi_run_cmd, mi_expect_stop)
(mi_send_resuming_command_raw): Be prepared for
=thread-selected.
2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
* lib/mi-support.exp: Likewise.
2008-11-16 Joel Brobecker <brobecker@adacore.com>
* gdb.base/help.exp: Remove the "catch load" and "catch unload"
commands from the expected output for "help catch".
2008-11-15 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/int_deref.exp: New testcase.
2008-11-14 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/gdb2549.exp: New file.
2008-11-11 Doug Evans <dje@google.com>
* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.
2008-11-10 Doug Evans <dje@google.com>
* lib/gdb.exp (GDBFLAGS): Move -nx ...
(INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
2008-11-03 Andreas Schwab <schwab@suse.de>
* gdb.base/hashline2.exp: Fix typo.
* gdb.base/hashline3.exp: Likewise.
2008-10-30 Tom Tromey <tromey@redhat.com>
* gdb.base/pointers.exp: Add test.
* gdb.base/pointers.c (k, S): New typedefs.
(instance): New global.
2008-10-30 Andreas Schwab <schwab@suse.de>
* gdb.base/args.exp: Add tests for newlines.
2008-10-30 Joel Brobecker <brobecker@adacore.com>
gdb.base/foll-exec.exp: Update the expected output of a couple
of "info breakpoints" tests.
2008-10-28 Tom Tromey <tromey@redhat.com>
* gdb.base/exprs.exp (test_expr): Add enum formatting tests.
2008-10-24 Pedro Alves <pedro@codesourcery.com>
* gdb.python/python-value.exp (test_value_in_inferior): Don't use
gdb_start_cmd.
Use runto_main before any test that requires execution.
2008-10-23 Pedro Alves <pedro@codesourcery.com>
* lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
instead of SIGINT.
2008-10-22 Joel Brobecker <brobecker@adacore.com>
* gdb.base/completion.exp: Update expected output following
the addition of the "info tasks" command.
2008-10-22 Tom Tromey <tromey@redhat.com>
* gdb.base/exprs.exp (test_expr): Add test for string
concatenation.
2008-10-19 Pedro Alves <pedro@codesourcery.com>
* configure.ac: Output gdb.python/Makefile.
* configure: Regenerate.
* gdb.python/Makefile.in: New.
2008-10-16 Joel Brobecker <brobecker@adacore.com>
* gdb.base/foll-fork.exp: Adjust the expected output to match
the new description for fork/vfork catchpoints in the "info
breakpoints" output.
2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
* Makefile.in: Add gdb.python to ALL_SUBDIRS.
2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.python/python-value.c: New file.
* gdb.python/python-value.exp: New file.
2008-10-15 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
2008-10-15 Denis Pilat <denis.pilat@st.com>
* gdb.cp/mb-ctor.exp: Fix a typo.
2008-10-09 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
'fprintf' and 'stderr'.
2008-10-07 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ref_tick_size.exp: New testcase.
2008-10-06 Doug Evans <dje@google.com>
* gdb.dwarf2/dw2-cu-size.exp: New file.
* gdb.dwarf2/dw2-cu-size.S: New file.
* gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
.Ltype_int for clarity.
2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/2384:
* gdb.cp/gdb2384.exp: Extended to test more cases.
* gdb.cp/gdb2384.cc: Likewise.
* gdb.cp/gdb2384-base.h: Likewise.
* gdb.cp/gdb2384-base.cc: Likewise.
2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/maint.exp (maint print type): Remove printing
UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
2008-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add completion tests.
* gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
(TWENTY_THREE): Likewise.
(FORTY_EIGHT): Likewise.
2008-09-30 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
everywhere.
* gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/attachstop-mt.exp: Note a real testcase name this
testcase is derived from. Fix racy dependency on an expected PID
number. No longer support the testcase on Linux kernel 2.4.x.
2008-09-27 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add tests for stringification, splicing,
and varargs.
2008-09-22 Pedro Alves <pedro@codesourcery.com>
* lib/mi-support.exp (mi_expect_interrupt): New.
(mi_reverse_list, mi_check_thread_states): New, moved and renamed
from gdb.mi/mi-nonstop.exp.
* gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
* gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
lib/mi-support.exp.
Use mi_check_thread_states throughout. Avoid ".*" and do not
require an anchor after -exec-run.
2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Do not check thread state while a
stop is pending. Avoid ".*" when two stops are pending.
* lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
(fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
newlines in fullnames.
* lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
(mi_expect_stop): Update comments. Only anchor in sync mode.
Do not match newlines.
(mi_send_resuming_command_raw): Always return status.
(mi_get_stop_line): Do not match more than one line by accident.
Only anchor in sync mode.
(mi_run_inline_test): If -exec-next fails, give up.
2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/stack-checking.c (big_frame): Reduce stack consumption
on SPU.
2008-09-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
2008-09-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
gdb.ada/interface.exp, gdb.ada/null_array.exp,
gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
Include the "= " sequence in the expected output of print tests.
2008-09-10 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
description for boolean types.
2008-09-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/hook-stop-continue.c: New.
* gdb.base/hook-stop-continue.exp: New.
2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/structs3.c, gdb.base/structs3.exp: New files.
2008-09-08 Jerome Guitton <guitton@adacore.com>
* gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
(stack_check_probe_2, stack_check_probe_loop_1)
(stack_check_probe_loop_2): New functions.
(main): Add call to these new functions.
* gdb.arch/powerpc-aix-prologue.exp: When breaking on these
functions, check that the breakpoint is inserted at the appropriate
location.
(insert_breakpoint): Slightly refine this procedure so that it can
be called several times in the test.
2008-09-08 Jerome Guitton <guitton@adacore.com>
* gdb.base/stack-checking.c: New file.
* gdb.base/stack-checking.exp: New file.
2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/altivec-abi.exp: Remove extra verbose call.
* gdb.arch/altivec-regs.exp: Likewise.
* gdb.arch/vsx-regs.exp: Likewise.
2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.arch/ppc-fp.exp: New file.
* gdb.arch/ppc-fp.c: New file.
2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
*gdb.base/mips_pro.exp: compile with gcc -fno-inline,
lest gcc-4.3.1 optimizes the whole thing away.
2008-09-04 Michael Snyder <msnyder@vmware.com>
* lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
as "at" (for non-debug functions such as _start).
2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
* gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
software watchpoints.
* gdb.base/watch_thread_num.exp: Likewise.
2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
* gdb.arch/i386-bp_permanent.exp: New test.
2008-08-24 Tom Tromey <tromey@redhat.com>
* gdb.base/maint.exp: Update "maint print type".
2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-nonstop.exp: Fix the check for non-stop
support. Adjust the order of "*running" notifications.
* gdb.mi/non-stop.c: Don't cast from int to void* and
back.
2008-08-20 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
expect to find it in the "info frame" output.
2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/interp.exp: Always consume both prompts.
2008-08-20 Pedro Alves <pedro@codesourcery.com>
* gdb.base/pending.exp: Test pending breakpoints without symbols
loaded.
2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): Produce
more details on failures.
* gdb.mi/mi-nonstop.exp: New.
* gdb.mi/non-stop.c: New.
2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Use 'set target-async'.
* lib/mi-support.exp: Use 'set/show target-async'.
2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/powerpc-prologue.exp: Correct saved registers.
2008-08-17 Tom Tromey <tromey@redhat.com>
* gdb.base/help.exp (help catch): Rewrite.
2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/define.exp: Test indented command documentation.
* gdb.python/python.exp: Test indented multi-line command.
2008-08-15 Luis Machado <luisgpm@br.ibm.com>
* testsuite/gdb.arch/vsx-regs.c: New source file.
* testsuite/gdb.arch/vsx-regs.exp: New testcase.
* testsuite/lib/gdb.exp (skip_vsx_tests): New function.
2008-08-14 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add regression test for "macro define" or
"macro undef" with no arguments.
2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
2008-08-06 Tom Tromey <tromey@redhat.com>
* gdb.python/python.exp: New file.
2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix for PR gdb/1543.
* gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
$LOCATION.
(location): New variable.
* config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
gdb.base/type-opaque.exp, gdb.base/until.exp,
gdb.base/value-double-free.c, gdb.base/varargs.exp,
gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.pascal/types.exp, gdb.stabs/weird.exp,
gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
lib/mi-support.exp, lib/trace-support.exp: Remove reference
to bug-gdb@prep.ai.mit.edu .
2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_load_shlibs): New.
* gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (get_mi_thread_list)
(check_mi_and_console_threads): New, moved from ...
* gdb.mi/mi-pthread.exp: ...here.
* gdb.mi/gdb669.exp (get_mi_thread_list)
(check_mi_and_console_threads): Delete.
* gdb.mi/mi2-pthread.exp: Likewise.
2008-07-28 Tom Tromey <tromey@redhat.com>
* Makefile.in (just-check): Remove. Move body to...
(check): ... here.
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/manythreads.exp: Use remote_expect instead of after.
Add a test for duplicated SIGINTs.
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/schedlock.exp (get_args): Update to work for any
value of NUM.
(Top level): Report the number of threads that did not resume.
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.dwarf2/dw2-compressed.S: Also define __start.
2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* lib/mi-support.exp (default_mi_gdb_start): Remove check for
non-MI prompt.
2008-07-26 Tom Tromey <tromey@redhat.com>
* gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
(function_struct, function_struct_ptr): New globals.
* gdb.base/callfuncs.exp (do_function_calls): Test calling via a
function pointer in a struct.
2008-07-26 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add test for macro lexing bug.
2008-07-18 Tom Tromey <tromey@redhat.com>
* gdb.base/macscp.exp: Add macro tests.
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/class2.exp: fix for failure on spu-elf
2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/randomize.exp: Catch non-Linux targets as untested.
2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
2008-07-11 Kevin Buettner <kevinb@redhat.com>
* gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
of regexp to account for changes made to GDB in the printing of
byte vectors.
2008-07-11 Tom Tromey <tromey@redhat.com>
* gdb.base/completion.exp: Add 'help' completion test.
2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/randomize.exp, gdb.base/randomize.c: New files.
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/chng-syms.exp: Don't expect "No symbol ...".
2008-07-09 Pedro Alves <pedro@codesourcery.com>
* gdb.base/fullname.exp: Restore pwd if compiling failed.
2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_send_resuming_command_raw): Revert
previous commit. Add a comment.
2008-06-28 Pedro Alves <pedro@codesourcery.com>
* gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
2008-06-27 Pedro Alves <pedro@codesourcery.com>
* lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
(gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
compiling an executable, link in an object that forces unbuffered
output.
* lib/set_unbuffered_mode.c: New file.
2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
mi_expect_stop.
* gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
Demand that *running is output.
(detect_async): Perform checking every time.
(mi_send_resuming_command): Extract everything into...
(mi_send_resuming_command_raw): ...this.
(mi_expect_stop): Don't accept any output before *stopped.
2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
Robustify mi-simplerun.
* gdb.mi/basics.c (main): Add a call to sleep.
* gdb.mi/mi-cli.exp: Adjust for change in line numbers.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-console.exp: Adjust.
* gdb.mi/mi-syn-frame.exp: Adjust.
* gdb.mi/mi2-console.exp: Adjust.
* gdb.mi/mi2-syn-frame.exp: Adjust.
* lib/mi-support.exp (mi_run_cmd): Adjust.
(mi_send_resuming_command): Adjust.
2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
* gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
testing of stopped.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
(async, detect_async): New.
(mi_expect_stop, mi_continue_to_line): Adjust expectation
depending on if we're running in sync or async mode.
2008-06-09 Tom Tromey <tromey@redhat.com>
* gdb.base/completion.exp: New tests for field name completion
with spaces, and field name completion with '->'.
2008-06-06 Tom Tromey <tromey@redhat.com>
* gdb.base/break1.c (struct some_struct): New struct.
(values): New global.
* gdb.base/completion.exp: Add field name completion test.
2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.cp/call-c.exp: Test for incorrect handling of reference
to pointer.
* gdb.cp/call-c.cc: Likewise.
2008-06-06 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/annota1.exp (thread_switch): Test for thread-changed
annotation.
2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
Pedro Alves <pedro@codesourcery.com>
* gdb.threads/execl.c, gdb.threads/execl1.c,
gdb.threads/execl.exp: New tests.
2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/exception.exp: Activate test, make it work with pending
catchpoints.
2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
now printed.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2008-05-27 Andreas Schwab <schwab@suse.de>
* gdb.base/frame-args.exp: Handle arguments that are optimized
out.
2008-05-26 Luis Machado <luisgpm@br.ibm.com>
* gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
quiet for ppc32 and group options into a single variable.
2008-05-23 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/null_array/foo.adb: Add multi-dimensional array
of zero-size elements.
* gdb.ada/null_array.exp: Test printing this new array.
2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
2008-05-21 Joel Brobecker <brobecker@adacore.com>
* gdb.base/finish.exp: Test that "fin" works as an abbreviation
of the "finish" command.
2008-05-21 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/annota1.exp: Test for new annotation.
2008-05-16 Pedro Alves <pedro@codesourcery.com>
* gdb.base/fixsection.exp: New file.
* gdb.base/fixsection0.c: New file.
* gdb.base/fixsection1.c: New file.
2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/annota1.exp: Accept printf@... in place of printf.
* gdb.base/annota3.exp: Likewise.
2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
* gdb.base/watch_thread_num.exp: Don't run tests that require
watchpoints if the target doesn't support them.
2008-05-12 Doug Evans <dje@google.com>
* lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
2008-05-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/assign_1.exp: New testcase.
2008-05-09 Doug Evans <dje@google.com>
* gdb.base/find.exp: New file.
* gdb.base/find.c: New file.
2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/commands.exp (watchpoint_command_test): Handle
gdb,no_hardware_watchpoints.
* gdb.base/float.exp: Allow ARM targets without floating point.
* gdb.base/step-test.exp: Allow callee@plt when stepping in.
2008-05-06 Jerome Guitton <guitton@adacore.com>
Joel Brobecker <brobecker@adacore.com>
* gdb.ada/lang_switch: New test program.
* gdb.ada/lang_switch.exp: New testcase.
2008-05-05 Doug Evans <dje@google.com>
* gdb.base/help.exp (disassemble): Update expected help text.
2008-05-04 Pedro Alves <pedro@codesourcery.com>
* gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
2008-05-04 Pedro Alves <pedro@codesourcery.com>
* gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
different times.
2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
* gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
`dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
* gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
notification to appear.
2008-05-04 Daniel Jacobowitz <dan@debian.org>
* gdb.base/fullname.c: New file.
* gdb.base/fullname.exp: New file.
* lib/gdb.exp (gdb_breakpoint): Support no-message option.
2008-05-03 Pedro Alves <pedro@codesourcery.com>
* gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
expressions with macros.
2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/completion.exp: Handle lack of other symbols beginning
with "a".
* gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
2008-05-02 Jim Blandy <jimb@codesourcery.com>
* gdb.asm/asmsrc1.s: Add scratch space.
2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
2008-05-01 Joel Brobecker <brobecker@adacore.com>
* gdb.base/info-target.exp: New testcase.
2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/hang.exp: Use .cc instead of .C.
* gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
* gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gdb1250.exp: Remove perror.
* lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
2008-04-30 Pedro Alves <pedro@codesourcery.com>
* gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
.2byte.
2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
(maybe_kfail): New.
2008-04-25 Pedro Alves <pedro@codesourcery.com>
* gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* lib/mi-support.exp: Likewise.
2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
* lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
to specify regexp for the location to stop at.
* gdb.base/break-always.c: New.
* gdb.base/break-always.exp: New.
2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_runto_helper): Adjust
for the original-location field.
(mi_create_breakpoint, mi_list_breakpoints): New.
* gdb.mi/mi-break.exp: Adjust.
* gdb.mi/mi2-break.exp: Adjust.
* gdb.mi/mi-pending.exp: Adjust.
* gdb.mi/mi-simplerun.exp: Adjust.
* gdb.mi/mi2-simplerun.exp: Adjust.
* gdb.mi/mi-syn-frame.exp: Adjust.
* gdb.mi/mi2-syn-frame.exp: Adjust.
* gdb.mi/mi-until.exp: Adjust.
* gdb.mi/mi2-until.exp: Adjust.
* gdb.mi/mi-var-display.exp: Adjust.
* gdb.mi/mi2-var-display.exp: Adjust.
* gdb.mi/mi-watch.exp: Adjust.
* gdb.mi/mi2-watch.exp: Adjust.
2008-04-23 Paolo Bonzini <bonzini@gnu.org>
* aclocal.m4: Add override.m4.
* configure: Regenerate.
2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/var-cmd.c (do_at_tests): Verify that
'-var-update --all-values' reports new value even the type
of a variable object has changed.
2008-04-18 Craig Silverstein <csilvers@google.com>
* gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
files.
2008-04-18 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/atomic_enum: New test program.
* gdb.ada/atomic_enum.exp: New testcase.
2008-04-17 Doug Evans <dje@google.com>
* gdb.opt/Makefile.in: Fix whitespace.
2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/linux-dp.exp: Continue after unrecognized lines.
2008-04-17 Doug Evans <dje@google.com>
* gdb.base/hashline1.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
2008-04-17 Pedro Alves <pedro@codesourcery.com>
* gdb.base/step-break.exp, gdb.base/step-break.c: New files.
2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
* gdb.base/attach.exp (do_attach_tests): Matching pattern for
temporary breakpoint to match "Temporary breakpoint".
* gdb.base/break.exp (delete_breakpoints): Likewise.
* gdb.base/call-ar-st.exp (get_debug_format): Likewise.
* gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/foll-exec.exp (do_exec_tests): Likewise.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
* gdb.base/restore.exp (restore_tests): Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.mi/mi-cli.exp: Added argument for new "disp" field.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
* lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
new "disp" field.
(mi_expect_stop): Move after_reason argument to be really after
reason. This is to support fix for PR2424.
2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
field. Add more floating varobj tests.
* gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
field.
* gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
(main): Call do_at_tests.
* lib/mi-support.exp (mi_create_floating_varobj)
(mi_varobj_update_with_type_change): New.
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.mi/mi2-var-display.exp: Added tests for the new -f
option of -var-evaluate-expression.
* gdb.mi/mi2-var-display.exp: Likewise.
2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
Introduce test setup helpers.
* lib/gdb.exp (build_executable, clean_restart)
(prepare_for_testing): New.
* gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
* gdb.base/return.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
2008-04-07 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-async.exp: New test for asynchronous Machine
Interface (MI) responses.
2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
* gdb.cp/breakpoint.cc: New code to test conditions involving
member variables.
* gdb.cp/breakpoint.exp: Test condition involving member
variables.
2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): New.
(mi_run_cmd): Change the
token. Use mi_send_resuming_command, use
mi_expect_stop.
(mi_execute_to_helper): Rename to mi_execute_to.
(mi_send_resuming_command): Add more error patterns.
(mi_wait_for_stop): Renamed to...
(mi_get_stop_line): ...this.
(mi_run_inline_test): Adjust.
* gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Add comment.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
2008-04-04 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
expect an mi error duplicated in stderr.
2008-04-03 Joel Brobecker <brobecker@adacore.com>
* gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
* gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
Add a couple of tests that verify the behavior when the new setting
is set to "cancel" and "all".
* gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
"ask" before we start the testing.
2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
* gdb.cp/casts.cc: Add class reference variables.
* gdb.cp/casts.exp: New test cases for up/down casting references.
2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
instead of beginning to make an extra test pass.
* gdb.mi/mi2-var-display.exp: Likewise.
2008-03-31 Maciej W. Rozycki <macro@mips.com>
* gdb.base/break.exp: Mark failures as such. Fix formatting.
2008-03-31 Markus Deuling <deuling@de.ibm.com>
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
value. Add xfail for older kernels.
2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
Bring mi-support in line with gdb.exp.
* lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
(mi_gdb_start): New function.
2008-03-28 Maciej W. Rozycki <macro@mips.com>
* gdb.mi/mi-var-cmd.exp: Fix a typo.
2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-display.exp: Remove obsolete xfail.
* gdb.mi/mi2-var-display.exp: Likewise.
2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_create_varobj_checked): New.
(mi_list_varobj_children): Allow to check for a
value.
(mi_list_array_varobj_children): New.
* gdb.mi/mi-var-child.exp: Use mi_create_varobj
and mi_list_varobj_children, as opposed to hardcoding
expected strings.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-invalidate.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix random false FAILs on i386.
* gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/544
* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/544
* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
fixed PR gdb/544.
2008-03-21 Pedro Alves <pedro@codesourcery.com>
* gdb.threads/fork-child-threads.exp: Test next over fork.
2008-03-21 Chris Demetriou <cgd@google.com>
* gdb.base/break.exp (rbreak junk): New test for rbreak
"Junk at end of arguments" issue.
2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/printcmds.exp (test_print_array_constants): Do not expect
*& to work on created array elements.
(Top level): Test print $pc with a file. Test string operations
without a target.
* gdb.base/ptype.exp: Do not expect *& to work on created array
elements.
2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Update exit query.
2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
* lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/watchpoint.c (global_ptr, func4): New.
(main): Call func4.
* gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
(test_inaccessible_watchpoint): New.
2008-02-29 Maciej W. Rozycki <macro@mips.com>
* lib/gdb.exp (gdb_expect): Of all the timeouts provided always
select the largest.
2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
frames-invalid annotations.
2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/assign.exp: avoid same output for different tests.
2008-02-27 Doug Evans <dje@google.com>
* gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
for bug 1738.
(breakpoint_to_handler_entry): Ditto.
2008-02-27 Joel Brobecker <brobecker@adacore.com>
* gdb.base/ending-run.exp: Use the first line of code inside
function body to test breakpoints.
* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
location where the breakpoint is inserted when using the line
where a function is declared. Fix typo in the description of
one of the tests.
* gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
tests.
2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/args.exp: avoid same output for tests
with single quotes.
2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/annota1.exp: Adjust for 'info break'
format changes.
* gdb.base/annota3.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/pending.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/unload.exp: Likewise.
* gdb.cp/ovldbreak.exp: Likewise.
* gdb.mi/mi-pending.exp: Likewise.
2008-02-07 Doug Evans <dje@google.com>
* gdb.cp/mb-inline.exp: New.
* gdb.cp/mb-inline.h: New.
* gdb.cp/mb-inline1.cc: New.
* gdb.cp/mb-inline2.cc: New.
2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.pascal/floats.pas: New test program.
* gdb.pascal/floats.exp: New testcase.
2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/callfuncs.c (t_float_many_args): New function.
(t_double_many_args): New function.
* gdb.base/callfuncs.exp: Add tests for exceeding float
and double parameters passed through the stack.
2008-02-05 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
gdb.ada/complete/foo.adb: New files.
* gdb.ada/complete.exp: New testcase.
2008-02-03 Doug Evans <dje@google.com>
* gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
* gdb.cp/gdb2384.exp: New file.
* gdb.cp/gdb2384.cc: New file.
* gdb.cp/gdb2384-base.h: New file.
* gdb.cp/gdb2384-base.cc: New file.
2008-02-02 Doug Evans <dje@google.com>
* gdb.base/sigall.c (main): Ensure all signals aren't blocked.
2007-02-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/sym_print_name: New test program.
* gdb.ada/sym_print_name.exp: New testcase.
2007-02-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/nested/hello.adb: New file.
* gdb.ada/nested.exp: New testcase.
* gdb.ada/Makefile.in (EXECUTABLES): Update list.
2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/basic.c (return_1): New function.
* gdb.mi/mi-break.exp: Make sure that failed -break-insert
don't cause future evaluations of function to report
creation of internal breakpoints.
2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-break.exp (test_error): New.
Call it.
2008-01-31 Luis Machado <luisgpm@br.ibm.com>
* gdb.arch/ppc64-atomic-inst.c: New testcase source file.
* gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.pascal/integers.pas: New test program.
* gdb.pascal/integers.exp: New testcase.
2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
2008-01-30 Luis Machado <luisgpm@br.ibm.com>
* gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
* gdb.arch/powerpc-d128-regs.c: New testcase source file.
2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
* gdb.ada/formatted_ref: New test program.
* gdb.ada/formatted_ref.exp: New testcase.
* gdb.cp/formatted-ref.cc: New file.
* gdb.cp/formatted-ref.exp: New testcase.
2008-01-30 Joel Brobecker <brobecker@adacore.com>
* gdb.base/ptype.exp: Add testing of "ptype $pc".
2008-01-30 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
(test_file_list_exec_source_file): Update to new macro-info field.
2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
* gdb.ada/exprs: New test program.
* gdb.ada/exprs.exp: New testcase.
2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
* dfp-test.c (DELTA, DELTA_B): New definitions.
(double_val1, double_val2, double_val3, double_val4, double_val5,
double_val6, double_val7, double_val8, double_val9, double_val10,
double_val11, double_val12, double_val13, double_val14, dec32_val1,
dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
dec128_val12, dec128_val13, dec128_val14, dec128_val15,
dec128_val16): New global variables.
(decimal_dec128_align): New function.
(decimal_mixed): Likewise.
(decimal_many_args_dec32): Likewise.
(decimal_many_args_dec64): Likewise.
(decimal_many_args_dec128): Likewise.
(decimal_many_args_mixed): Likewise.
* dfp-test.exp: Add tests calling new inferior functions.
2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
gdb.server/ext-run.exp: New files.
* lib/gdbserver-support.exp (gdbserver_download): New.
(gdbserver_start): New. Update gdbserver expected
output.
(gdbserver_spawn): Use them.
(gdbserver_start_extended): New.
2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/foll-exec.exp: Update header. Skip on remote targets.
Run on GNU/Linux.
(do_exec_tests): Check for systems which do not support catchpoints.
Do not match START.
* gdb.base/foll-fork.exp: Update header. Skip on remote targets.
Run on GNU/Linux. Enable verbose output.
(check_fork_catchpoints): New.
(explicit_fork_child_follow, catch_fork_child_follow)
(tcatch_fork_parent_follow): Update expected messages.
(do_fork_tests): Use check_fork_catchpoints.
* gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
Run on GNU/Linux. Enable verbose output.
(check_vfork_catchpoints): New.
(vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
expected messages.
(do_vfork_and_exec_tests): Use check_fork_catchpoints.
2008-01-29 Jim Blandy <jimb@red-bean.com>
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
host' errors.
* lib/mi-support.exp (mi_gdb_target_cmd): Same.
2008-01-29 Jim Blandy <jimb@red-bean.com>
* gdb.threads/sigthread.c: Use barriers to ensure that
child_thread and child_thread_two are always initialized before we
start to use them.
2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/watchpoint-solib.exp: New.
* gdb.base/watchpoint-solib.c: New.
* gdb.base/watchpoint-solib-shr.c: New.
2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/gdb1056.exp: Add unsigned integer test.
2008-01-28 Doug Evans <dje@google.com>
* gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
2008-01-27 Jim Blandy <jimb@codesourcery.com>
* gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
* gdb.base/expand-psymtabs.exp: Doc fix.
2008-01-26 Mark Kettenis <kettenis@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
2008-01-24 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi2-var-display.exp: Add value field to tests for output of
-var-set-format.
2008-01-23 Chris Demetriou <cgd@google.com>
* gdb.threads/thread_events.c: New testcase source file.
* gdb.threads/thread_events.exp: New testcase expect file.
2008-01-23 Nick Roberts <nickrob@snap.net.nz>
* lib/gdb.exp: Add the variable octal.
* gdb.mi/mi-var-display.exp: Add value field to tests for output of
-var-set-format.
2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/float.exp: Allow missing floating point for m68k and
PowerPC.
2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/basics.c: Setup for testing breakpoints
ignore count.
* gdb.mi/mi-break.exp: Test for breakpoint ignore count.
* gdb.mi/mi-cli.exp: Adjust.
* gdb.mi/mi2-cli.exp: Adjust.
2008-01-17 Pedro Alves <pedro@codesourcery.com>
* gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
and 'dummy_ptr' integer pointer. Initialize struct_declarations
with dummy_ptr's address.
* gdb.mi/var-cmd.c (do_children_tests): Likewise.
* gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
all targets.
* gdb.mi/mi2-var-child.exp: Likewise.
2008-01-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/null_array: New test program.
* gdb.ada/null_array.exp: New testcase.
2008-01-09 Luis Machado <luisgpm@br.ibm.com>
* gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
with required float modifiers.
2008-01-08 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/funcall_param: New test program.
* gdb.ada/funcall_param.exp: New testcase.
2008-01-08 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayparam: New test program.
* gdb.ada/arrayparam.exp: New testcase.
2008-01-08 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
landed. Should also fix random failures in the test following it.
2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
for expressions with decimal float values.
(test_dfp_conversions): New function to test casts to and from
decimal float types.
Call test_dfp_conversions.
* gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
elements.
(main): Initialize ds.float4 and ds.double8 elements.
* gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
string to new error message.
(d64_set_tests): Likewise.
(d128_set_tests): Likewise.
Add tests for expressions with decimal float variables. Add tests for
conversions to and from decimal float types.
2008-01-05 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_tagged/comp_bug.adb: New file.
* gdb.ada/packed_tagged.exp: New testcase.
2008-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
gdb.ada/homonym/homonym_main.adb: New files.
* gdb.ada/homonym.exp: New testcase.
2008-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_array.exp: Add testing of references to
a packed array.
2008-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
New files.
* gdb.ada/type_coercion.exp: New testcase.
2008-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
gdb.ada/tagged/foo.adb: New file.
* gdb.ada/tagged.exp: New testcase.
2008-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
gdb.ada/ptype_field/foo.adb: New files.
* gdb.ada/ptype_field.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/print_pc.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
gdb.ada/taft_type/p.adb: New files.
* gdb.ada/taft_type.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_bounds/bar.adb: New file.
* gdb.ada/array_bounds.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
gdb.ada/arrayptr/foo.adb: New files.
* gdb.ada/arrayptr.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.base/set-lang-auto.exp: New testcase.
2008-01-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fun_addr/foo.adb: New file.
* gdb.ada/fun_addr.exp: New testcase.
2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
New files
2008-01-02 Joel Brobecker <brobecker@adacore.com>
* array_subscript_addr/p.adb: New file.
* array_subscript_addr.exp: New testcase.
2008-01-02 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
New files.
* gdb.ada/str_cmp_ref.exp: New testcase.
2008-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
gdb.ada/fun_in_declare/foo.adb: New files.
* gdb.ada/fun_in_declare.exp: New testcase.
2008-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
gdb.ada/ref_param/pck.ads: New files.
* gdb.ada/ref_param.exp: New testcase.
2008-01-01 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
gdb.ada/interface/foo.adb: New files.
* gdb.ada/interface.exp: New testcase.
2007-12-31 Jim Blandy <jimb@codesourcery.com>
* gdb.base/multi-forks.exp: Consume all output from child
processes before proceeding to next test.
2007-12-29 Jim Blandy <jimb@codesourcery.com>
* configure: Regenerated.
2007-12-27 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
gdb.ada/fixed_cmp/fixed.adb: New files.
* gdb.ada/fixed_cmp.exp: New testcase.
2007-12-27 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/boolean_expr.exp: New testcase.
2007-12-26 Jim Blandy <jimb@codesourcery.com>
* gdb.base/multi-forks.exp: Doc fix.
2007-12-26 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/Makefile.in (EXECUTABLES): Update list.
* gdb.ada/char_param.exp: Do not compile our test program with
-gnata, this is unnecessary.
* gdb.ada/char_param/pck.ads: Remove unnecessary "with".
2007-12-24 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
gdb.ada/print_chars/foo.adb: New files.
* gdb.ada/print_chars.exp: New testcase.
2007-12-24 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
gdb.ada/char_param/foo.adb: New files.
* gdb.ada/char_param.exp: New testcase.
2007-12-22 Jim Blandy <jimb@codesourcery.com>
* gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
hard-coding source line numbers into the test.
* gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
gdb_get_line_number to find.
2007-12-22 Joel Brobecker <brobecker@adacore.com>
* gdb.base/ptype.c (highest): New struct type.
(the_highest): New variable of that type.
(main): Add dummy assignment to a field of variable the_highest.
* gdb.base/ptype.exp: Test type printing of our new variable.
2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
* (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
and record first explicitly generated thread number.
Use that thread number for thread specific watchpoint test.
Add iteration number to repetitive tests.
2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Jim Blandy <jimb@codesourcery.com>
* gdb.base/expand-psymtabs.c: New testcase
source file.
* gdb.base/expand-psymtabs.exp: New testcase
expect file.
2007-12-17 Luis Machado <luisgpm@br.ibm.com>
* testsuite/gdb.base/watch_thread_num.c: New testcase source file.
* testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
2007-12-17 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/frame_args/foo.adb: New file.
* gdb.ada/frame_args/pck.ads: New file.
* gdb.ada/frame_args/pck.adb: New file.
* gdb.ada/frame_args.exp: New testcase.
2007-12-17 Joel Brobecker <brobecker@adacore.com>
* gdb.base/frame-args.c: New file.
* gdb.base/frame-args.exp: New testcase.
2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-pending.exp: New.
* gdb.mi/mi-pending.c: New.
* gdb.mi/mi-pendshr.c: New.
2007-12-06 Jim Blandy <jimb@codesourcery.com>
* gdb.base/default.exp: Update expected output for 'info catch'.
2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
must be set to binary.
2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
* lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.server/file-transfer.exp, gdb.server/transfer.txt,
gdb.mi/mi-file-transfer.exp: New.
2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
2007-11-22 Maciej W. Rozycki <macro@mips.com>
* gdb.trace/backtrace.exp: Fix a typo.
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
2007-11-21 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
objects of pointers that can't be dereferenced are now
"noneditable".
2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* Makefile.in (Makefile): Do not depend on target_makefile_frag.
(target_cpu): Remove.
2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/ending-run.exp: Expect the list of cleared
breakpoint to come in natural order, not the reversed one.
2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-child.c (do_child_deletion): New.
* gdb.mi/mi-var-child.exp: Run child_deletion tests.
2007-11-05 Luis Machado <luisgpm@br.ibm.com>
* gdb.base/printcmds.exp: New function
test_printf_with_dfp.
2007-11-02 Doug Evans <dje@google.com>
* gdb.disasm/t01_mov.s: Remove carriage returns.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
provide DFP support.
2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
Test "set powerpc vector-abi". Skip auto-detection tests for old
toolchains.
2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
* lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
with [string compare].
2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
2007-10-25 Luis Machado <luisgpm@br.ibm.com>
* gdb.opt/clobbered-registers-O2.c: New testcase source file.
* gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
* gdb.opt/Makefile.in: New makefile.
* Makefile.in: Create new directory "gdb.opt".
* configure.ac: Add "gdb.opt" directory.
* configure: Regenerated.
2007-10-25 Doug Evans <dje@google.com>
* gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
* gdb.cp/mb-templates.exp: Check skip_cplus_tests.
2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
* gdb.base/dfp-exprs.exp: new file adding tests for Decimal
Floating Point expressions.
* gdb.base/dfp-test.exp: new file adding tests for Decimal
Floating Point variables.
* gdb.base/dfp-test.c: new file containing program with Decimal
Floating variables, used by gdb.base/dfp-test.exp.
2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
compiling test case with GCC.
* gdb.arch/altivec-regs.exp (compile_flags): Likewise.
2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.
2007-10-18 Michael Snyder <msnyder@specifix.com>
* gdb.base/dbx.exp: Add missing "-re " operator.
2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
* configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
* configure.ac: Removed trailing spaces after backslash.
* gdb.modula2: New directory.
* gdb.modula2/Makefile.in: New file.
* gdb.modula2/unbounded-array.exp: New file.
* gdb.modula2/unbounded1.c: New file.
2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/tdesc-regs.exp: Add PowerPC support.
2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.base/sigstep.c (main): Add checks for
return values for setitimer call.
Call setitimer again with itimer = ITIMER_REAL
if first call to setitimer fails.
2007-10-11 Kazu Hirata <kazu@codesourcery.com>
* lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
of $timeout.
2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.server/server-run.exp: Test for dynamic linker symbols.
2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
* lib/gdb.exp (gdb_run_cmd): Move comment outside
of gdb_expect call, to avoid interruption.
2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/whatis.c (v_long_long, v_signed_long_long)
(v_unsigned_long_long, v_long_long_array)
(v_signed_long_long_array, v_unsigned_long_long_array)
(slong_long_addr, a_slong_long_addr, v_long_long_pointer)
(v_signed_long_long_pointer, v_unsigned_long_long_pointer)
[!NO_LONG_LONG]: New.
(t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
v_long_long_member.
(v_long_long_func, v_signed_long_long_func)
(v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
(main) [!NO_LONG_LONG]: Initialize long long variants.
* gdb.base/whatis.exp: If board file requests no_long_long, build
test with NO_LONG_LONG defined. Test long long, signed long long,
and unsigned long long variants but only if board file doesn't
disable it.
2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
* configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
* configure: Regenerated.
* gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
gdb.pascal/types.exp, lib/pascal.exp: New files.
2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/classes.exp (do_tests): Always step to the line after the
call.
* gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
to return to the call.
* gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
* gdb.mi/mi-return.exp (test_return_simple): Likewise.
* gdb.mi/mi2-return.exp (test_return_simple): Likewise.
* gdb.mi/mi-until.exp (test_until): Likewise.
* gdb.mi/mi2-until.exp (test_until): Likewise.
2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
two-char array.
* gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/watchthreads.c (thread_function): Sleep between
iterations.
* gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
at once for S/390. Generate matching fails and passes.
2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/var-cmd.c (do_children_tests): Initialize
the 'struct_declarations' variable to zeros.
2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
* gdb.cp/mb-ctor.cc: New.
* gdb.cp/mb-ctor.exp: New.
* gdb.cp/mb-templates.cc: New.
* gdb.cp/mb-templates.exp: New.
2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
* configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
targets.
* configure: Regenerate.
2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/annota1.exp: Adjust for 'info break'
format changes.
* gdb.base/annota3.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/pending.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/unload.exp: Likewise.
* gdb.base/ovldbreak.exp: Likewise.
2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
messages.
* gdb.base/chng-syms.exp: Likewise.
* gdb.base/unload.exp: Likewise.
2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
* schedlock.c (NUM): Change to 1.
(main): Use args[0] for the main thread.
* schedlock.exp: Only expect two threads. Only issue one pass or fail
regardless of the number of threads.
2007-09-14 Maciej W. Rozycki <macro@mips.com>
* gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
type down.
(test_watchpoint_triggering): XFAIL the sw watchpoint scope
test.
* gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
watchpoint type down.
(test_watchpoint_triggering): XFAIL the sw watchpoint scope
test.
2007-09-14 Maciej W. Rozycki <macro@mips.com>
* gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
Move all the tests here and run them twice, once using software
watchpoints and once using hardware watchpoints.
* gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/solib-weak.exp (do_test): Adjust the file names for each
test.
2007-09-10 Mark Kettenis <kettenis@gnu.org>
* lib/gdb.exp (build_id_debug_filename_get): Improve check for
build-id.
* lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
know about $ORIGIN. Calculate output dir from $dest instead of
using ${objdir}/{$subdir}.
2007-09-09 Mark Kettenis <kettenis@gnu.org>
* gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
gcore, before continuing with the test.
2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
* gdb.mi/mi-watch.exp: Likewise.
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
Jim Blandy <jimb@codesourcery.com>
* gdb.arch/i386-sse.exp: Do not expect character constants.
* gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
* gdb.base/display.exp: Allow print/s.
* gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
and unsigned char array changes.
2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/display.exp: Add tests for printf %p.
2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
the dll name to unicode.
2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/default.exp (show version): Update the version text.
* gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
New files.
2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp (build_id_debug_filename_get): New function.
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
Remove the generate DEBUG file for the future testcase runs.
New testcase for the NT_GNU_BUILD_ID retrieval.
Move the final testing step to ...
(test_different_dir): ... a new function.
New parameter XFAIL to XFAIL all the tests performed.
New parameter TEST_DIFFERENT_DIR parametrizing the directory.
New parameter TYPE to PF_PREFIX all the tests performed.
2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cp.cc (path_expression): New
function.
* gdb.mi/mi-var-cp.exp: Run path exression tests.
2007-08-27 Markus Deuling <deuling@de.ibm.com>
* gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
to fit into SPU Local Store memory.
2007-08-23 Joel Brobecker <brobecker@adacore.com>
* gdb.base/default.exp: Adjust the expected output of "info
warranty" after the switch to GPLv3.
2007-08-23 Joel Brobecker <brobecker@adacore.com>
* lib/gdb.exp (default_gdb_init): Increase expect buffer size
to 30000 (from 20000).
2007-08-23 Joel Brobecker <brobecker@adacore.com>
Switch the license of all .exp files to GPLv3.
Switch the license of all .f and .f90 files to GPLv3.
Switch the license of all .s and .S files to GPLv3.
2007-08-23 Joel Brobecker <brobecker@adacore.com>
* configure.ac: Switch license to GPLv3.
2007-08-23 Joel Brobecker <brobecker@adacore.com>
Switch the licensing to GPLv3 for all .ads and .adb files.
2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
and t_int_double.
* gdb.base/callfuncs.c (t_double_int, t_int_double): New.
2007-08-17 Joel Brobecker <brobecker@adacore.com>
* gdb.base/step-line.c: Switch license to GPL version 3, and
update copyright year.
* gdb.base/step-line.inp: Likewise.
2007-08-17 Joel Brobecker <brobecker@adacore.com>
* gdb.base/gdb1555.exp: Make expected output immune to formatting
changes inside gdb1555.c.
* gdb.base/pending.exp: Likewise.
2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
* config/default.exp: New file.
2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/prologue.c, gdb.base/prologue.exp: New.
* lib/gdb.exp (gdb_breakpoint): Handle "temporary".
2007-07-30 Maciej W. Rozycki <macro@mips.com>
* gdb.base/dump.exp: Force the correct endianness for binary
formats not carrying this information.
2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/staticthreads.exp: Match .*sem_post.
2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/readline.exp (operate_and_get_next): Match the final
prompt.
2007-07-23 Kevin Buettner <kevinb@redhat.com>
* lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
to restarting SID.
2007-07-18 Kevin Buettner <kevinb@redhat.com>
* gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.
2007-07-18 Kevin Buettner <kevinb@redhat.com>
* config/sid.exp (gdb_load): Add test for empty argument. Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
Remove call to gdb_unload.
2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
for __WIN32__.
(SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
* gdb.base/unload.exp: Use shared library test routines.
2007-07-03 Markus Deuling <deuling@de.ibm.com>
* gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
* gdb.base/solib-symbol-lib.c: Likewise.
* gdb.base/solib-symbol-main.c: Likewise.
2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
* config/gdbserver.exp (gdb_reconnect): New.
* gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
gdb.base/solib-disc.exp: New files.
* lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
remote debugging".
(gdb_compile): Add shlib_load flag.
* lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
port.
(gdbserver_reconnect): New.
2007-07-01 Nick Roberts <nickrob@snap.net.nz>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota3.exp: Test for if construct.
2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
2007-06-21 Chris Dearman <chris@mips.com>
Maciej W. Rozycki <macro@mips.com>
* gdb.base/display.exp: Allow a newline after display/i.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
required features to be included.
2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/manythreads.exp: Prevent expect buffer overflow
in info threads output.
2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Markus Deuling <deuling@de.ibm.com>
* gdb.arch/spu-info.exp: New testcase.
* gdb.arch/spu-info.c: New file.
2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb-prologue.c: Record the breakpoint address in
tpcs_offset. Restore lr after the call.
* gdb.arch/thumb-prologue.exp: Use tpcs_offset.
2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
(gdbserver_run): Kill any running gdbserver.
* lib/mi-support.exp (mi_gdb_target_load): Likewise.
2007-05-17 Maciej W. Rozycki <macro@mips.com>
* gdb.base/sigbpt.exp: Preset segv_addr.
2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
(gdb_compile_shlib): Likewise.
(skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
(default_gdb_init): Clear cleanfiles.
(gdb_finish): Delete recorded cleanfiles.
* lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
* gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
Do not use isnative.
* gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
gdb.base/so-impl-ld.exp: Likewise.
* gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
* gdb.base/unload.exp: Likewise. Do not pass empty option to
gdb_compile.
2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
* config/unknown.exp: Remove.
2007-05-15 Markus Deuling <deuling@de.ibm.com>
* gdb.base/info-proc.exp: Check is_remote.
2007-05-14 Markus Deuling <deuling@de.ibm.com>
* gdb.base/gcore.exp: Initialize variable core_supported.
2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
* gdb.threads/print-threads.exp (test_all_threads): Allow
negative and hexadecimal thread IDs.
2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.java/jprint.java (public): Avoid invalid call to static
method.
2007-05-14 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/overlays.exp: Add support for targets with only code
overlay support, not data overlay. Support spu-*-* target in
this mode.
* gdb.base/ovlymgr.c: Provide stubs for spu target.
* gdb.base/spu.ld: New file.
2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.java/jmain.exp: Handle demangled names with and without method
signatures.
2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-syn-frame.c (main, foo, bar)
(have_a_very_merry_interrupt): Remove calls to puts.
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
inferior output.
* lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
test names.
2007-04-29 Markus Deuling <deuling@de.ibm.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/auxv.exp (core_works): Also check is_remote.
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/sigaltstack.exp: Use 'srcfile' in error
message, not the undefined 'module' variable.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp: Likewise.
* lib/gdbserver-support.exp (gdb_target_cmd): Quote
serialport.
* lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
2007-04-25 Corinna Vinschen <vinschen@redhat.com>
* config/sim.exp (gdb_target_sim): Just return with -1 when setting
target sim fails. Return 0 otherwise.
(gdb_load): Return prematurely if gdb_target_sim fails.
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.base/setshow.exp: Reset height after having set it to 100.
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-stack.exp: update from mi-stack.exp.
2007-04-16 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi2-var-display.exp: Test for the fullname field.
2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
tests. Run the frozen varobjs test.
* gdb.mi/var-cmd.c (do_frozen_tests): New.
* lib/mi-support.exp (mi_varobj_update): Fix thinko.
2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
gdb.base/type-opaque.exp: New files.
2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-child.c
(do_children_tests): User char[2] instead of
char so that automatic printing of pointers to char
don't give unpredicable result.
* gdb.mi/var-cmd.c (do_locals_test): Initialize
local variables.
* gdb.mi/mi-var-child.exp: Step to right line
of do_children_tests.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Step to right line of
do_locals_tests.
(do_children_tests): User char[2] instead of
char so that automatic printing of pointers to char
don't give unpredicable result.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* lib/mi-support.exp (mi_continue_to_line):
Pass test name to mi_wait_for_stop.
2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.asm/asm-source.exp: Remove d10v case.
* lib/gdb.exp (skip_cplus_tests): Likewise.
* gdb.asm/d10v.inc: Deleted.
2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/infnan.c, gdb.base/infnan.exp: New files.
2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* config/netware.exp: Delete file.
2007-03-29 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-noloc.S: New file.
* gdb.dwarf2/dw2-noloc.exp: New file.
2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.cp/method2.cc: New test.
* gdb.cp/method2.exp: New test.
* gdb.cp/Makefile.in (EXECUTABLES): Add method2.
2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.ada/exec_changed.exp: Avoid "set confirm off".
2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
* Makefile.in: Add dummy "pdf" and "install-pdf" targets.
2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
* config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
(gdb_load): Delete, replace with...
(gdb_reload): ...this.
* gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
* gdb.server/server-mon.exp: Likewise.
* lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
(gdb_start_cmd): New.
(gdb_file_cmd): Save the last loaded file.
(gdb_reload): New.
(gdb_gnu_strip_debug): Use transform.
* lib/gdbserver-support.exp (gdbserver_spawn): Move file download
support here. Use new $last_loaded_file. Check mtime.
(gdb_target_cmd): Handle ObjC failure case.
(infer_host_exec): Delete.
(gdbserver_load): Rename to...
(gdbserver_run): ...this. Simplify.
* lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
(mi_gdb_load): Move most contents to a new function...
(mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
(mi_run_cmd): Use mi_gdb_target_load.
* gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
Use gdb_run_cmd.
* gdb.base/charsign.exp: Remove incorrect comment.
* gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
* gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
gdb.base/start.exp: Use gdb_start_cmd.
2007-03-23 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* gdb.base/sigbpt.exp: Fix the message when skipping test.
* gdb.base/signull.exp: Similarly.
2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
messages available to test cases (like chng-sym.exp).
2007-03-14 Andreas Schwab <schwab@suse.de>
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.
2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
(optimized_1): New.
(main): Call optimized_1.
(gdb2029): Correct typos. Call gdb2029_marker.
* gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
for gdb2029.
2007-03-12 Mark Kettenis <kettenis@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
as tabs. Remove redundant test pattern.
2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/long_long.exp: Accept optional symbol name in <...>
for /a format output.
2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
collect output incrementally.
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
for -var-create lpcharacter test.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/callfuncs.exp (do_get_all_registers): Remove.
(fetch_all_registers): New function, uses gdb_test_multiple and
exp_continue to fetch inferior output line-by-line.
Replace all uses of do_get_all_registers by fetch_all_registers.
2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
in target_info.
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* Makefile.in: Remove spurious single-quotes from sed command.
2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-27 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dw2-producer.S: New file.
* gdb.dwarf2/dw2-producer.exp: New testcase.
2007-02-27 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.
2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/maint.exp: Remove full paths from test names.
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
2007-02-27 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.server/server-mon.exp: New test.
2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.
2007-02-13 Denis Pilat <denis.pilat@st.com>
* gdb.mi/mi-var-invalidate.exp: New file.
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
* tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
* gdb.mi/gdb792.exp, lib/mi-support.exp:
Update tests to include value field in output of -var-create.
2007-02-08 Andreas Schwab <schwab@suse.de>
* gdb.mi/mi-var-child.exp: Fix matching display of function value.
2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
2007-02-02 Denis Pilat <denis.pilat@st.com>
* gdb.threads/threadapply.exp: check that frame is not changed by
the thread apply all command.
2007-01-31 Andreas Schwab <schwab@suse.de>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
* gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
in the dwarf sections.
* gdb.dwarf2/mac-fileno.S: Likewise.
* gdb.base/callfuncs.exp (do_get_all_registers): Filter out
bspstore register on ia64.
2007-01-29 Andreas Schwab <schwab@suse.de>
* gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
"frame-begin" annotation.
* gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
number of "frames-invalid" annotations.
2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/commands.exp: Call if_commands_test.
(gdb_test_no_prompt, if_commands_test): New.
2007-01-28 Mark Kettenis <kettenis@gnu.org>
* gdb.threads/sigthread.c (NSIGS): Make bigger.
2007-01-27 Andreas Schwab <schwab@suse.de>
* gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
.short/.int/.quad in the dwarf sections.
* gdb.dwarf2/dw2-intercu.S: Likewise.
* gdb.dwarf2/dw2-intermix.S: Likewise.
2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/charsign.exp, gdb.base/charsign.c: New files.
* gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
array.
* gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
* gdb.base/setvar.exp: Likewise.
2007-01-26 Andreas Schwab <schwab@suse.de>
* gdb.base/corefile.exp: Allow non-empty argument list in reinit
test.
* gdb.base/multi-forks.exp ("restart $i"): Also match
__kernel_syscall_via_break.
2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_delete_varobj): New.
* gdb.mi/mi-var-cp.exp: Run the reference_to_struct
testcase.
* gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
(main): Call the above.
(reference_update_test, base_in_reference_test)
(reference_to_pointer): Delete the created varobjs.
2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (ALL_SUBDIRS): Add gdb.xml.
* configure: Regenerated.
* configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
* gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
* lib/gdb.exp (gdb_skip_xml_test): New function.
2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
* gdb.base/sigrepeat.exp: Correct error message.
2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
gdb.arch/i386-gnu-cfi-asm.S: New files.
2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
* lib/gdb.exp: Abort on missing `site.exp'.
2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/included.c, gdb.base/included.exp,
gdb.base/included.h: New files.
2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/bigcore.c (RLIMIT_CAP): Define.
(maximize_rlimit): Reduce limits on 64-bit systems.
2007-01-19 Mark Kettenis <kettenis@gnu.org>
From Marcus Deuling <deuling@de.ibm.com>:
* gdb.arch/altivec-regs.exp: Initialise variable endianness in
every case.
2007-01-13 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
(test_path_specification): Use objdir instead of srcdir to always
get an absolute filename.
2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/member-ptr.cc (class Padding): Make contents public.
2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cp.cc (reference_update_tests):
Make sure the variable we're using is in scope.
(reference_to_pointer): Likewise.
2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
has no debug information.
2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp: Remove extra send_gdb.
2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
2007-01-08 Nick Roberts <nickrob@snap.net.nz>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
lcharacter or linteger change. Correct duplicated test name.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
2007-01-05 Joel Brobecker <brobecker@adacore.com>
* gdb.base/nofield.c: New file.
* gdb.base/nofield.exp: New testcase.
2007-01-05 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-var-cp.exp: New test for references to pointers.
* gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
test.
2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
* lib/mi-support.exp (mi_runto_helper): Expect two prompts
when continuing.
2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/annota3.exp ($binfile): Append $EXEEXT.
Expect ".exe" extension.
2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/charset.exp: Add explicit filename to break.
* gdb.base/dbx.exp: Add explicit filename to breaks.
2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
* gdb.mi/mi2-file.exp: Likewise.
2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
Implement specification of MI tests as comments
in C and C++ sources.
* lib/mi-support.exp (mi_autotest_data): New variable.
(mi_autotest_source): New variable.
(count_newlines, mi_prepare_inline_tests)
(mi_get_inline_test, mi_continue_to_line)
(mi_run_inline_test, mi_tbreak)
(mi_send_resuming_command, mi_wait_for_stop): New functions.
* gdb.mi/mi-var-cp.exp: Move most content to the C file.
Run inline tests.
* gdb.mi/mi-var-cp.cc: Define tests here.
2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
Simplify usage of mi_continue_to.
* lib/mi-support.exp (mi_runto_helper): Renamed
from mi_runto, added new parameter 'run_or_continue'.
(mi_runto): Use mi_runto_helper.
(mi_continue_to): Accept just function name as parameter.
Use mi_runto_helper.
* gdb.mi/mi-var-cmd.exp: Adjust to changes.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2006-01-04 Joel Brobecker <brobecker@adacore.com>
Make this testcase a bit more realistic. The current code
is too simplistic, and allows the compiler to optimize out
some of the entities we need for this testcase.
* gdb.ada/null_record/bar.ads (Void_Star): New type.
(Do_Nothing): Add extra parameter.
* gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
* gdb.ada/null_record/null_record.adb: Fake use of type Empty
by using a variable of type Void_Star.
2006-01-04 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/catch_ex/foo.adb: New file.
* gdb.ada/catch_ex.exp: New testcase.
2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
pass --image-base to linker.
2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/readline.exp: Set $TERM. Test arrow keys in
secondary prompts.
2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
output. Test the types of members and member pointers.
* gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
gdb/2092.
* gdb.cp/member-ptr.exp: Search for a comment instead of a
statement. Enable for GCC. Update expected output for some tests
and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
layout.
* gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
(Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
(Diamond::vget_base): New.
(main): Add new tests.
* gdb.cp/printmethod.exp: Update expected output for member functions.
* gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
print pEe->D::vg().
2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/tls.exp: Allow stops in sem_post.
2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp: Allow .*printf in backtraces.
* gdb.base/annota3.exp: Likewise.
* gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
again (instead of timing out).
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
GCC bug 26475.
* gdb.java/jmisc.exp: Adjust to work with method signatures including
return types. Add kfails for GDB bugs 2214 and 2215. Move exit
test from jmisc1.exp.
* gdb.java/jmisc1.exp: Delete.
* gdb.java/jprint.exp: Adjust to work with method signatures including
return types.
* gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
* gdb.threads/linux-dp.exp: Don't be confused by program output.
* lib/java.exp (compile_java_from_source): Pass the correct type
to target_compile.
2006-12-31 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
(stack_align_edx): New function.
(stack_align_eax): New function.
(main): Add calls to stack_align_edx and stack_align_eax.
* gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
Add testing for the cases where the register used during a stack
realignment is edx. Same for eax.
2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
* lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
and generic PE targets.
2006-12-29 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return.exp: Update copyright date list.
2006-12-27 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
(Create_Small_Float_Vector): New function.
* gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
function body.
* gdb.ada/array_return/p.adb: Use new type and function from
package Pck.
* gdb.ada/array_return.exp: Add a test verifying that GDB is
able to print the value returned by a function returning an
array of float.
2006-12-20 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
The associated tests should be PASSing.
2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
Test for base in references.
* gdb.mi/mi-var-cp.cc: Add test code.
* gdb.mi/mi-var-cp.exp: Test for bases in references.
* gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
* gdb.mi/mi2-watch.exp: Likewise.
* lib/mi-support.exp (mi_runto): Use temporary breakpoint.
(mi_list_varobj_children): New function.
2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp
(mi_runto): Accept "()" after function name.
(mi_create_varobj): New function.
(mi_varobj_update): New function.
(mi_Check_varobj_value): New function.
* gdb.mi/mi-var-cp.exp: New file.
* gdb.mi/mi-var-cp.cc: New file.
2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
gdb.base/weaklib2.c: New files.
2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
* gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
info. Adjust test names.
* gdb.base/break.c (main): Move position of malloc.
* gdb.base/break.exp: Revert mistaken checkin.
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-var-cmd.exp: Check -var-update after
assignement of arrays and function pointers.
* gdb.mi/var-cmd.c: Add declaration necessary for above
tests.
2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
* gdb.base/break.c (main): Call malloc.
* gdb.threads/linux-dp.exp: Read thread table before and after
creating each philosopher and verify it.
2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/ending-run.exp: Flatten expect script stepping out of
main to remove duplication. Add start function of the form
'_*start[1-9]*'. Add RVDS start function.
2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.asm/asm-source.exp: Add "spu*-*-*" target.
* gdb.asm/spu.inc: New file.
* gdb.base/term.exp: Disable if [target_info exists noargs].
* gdb.gdb/complaints.exp: Disable if ![isnative].
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
* gdb.base/attach.exp: Disable on SPU target.
* gdb.cp/bs145503.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/completion.exp: Fix completion tests for
'info' and 'info '.
* gdb.base/help.exp (help_test_raw, test_class_help)
(test_prefix_command_help): Move...
* lib/gdb.exp: Here.
* gdb.base/main.exp: Adjust.
* gdb.cp/maint.exp: Adjust.
* gdb.trace/tracecmd.exp: Use test_help_class.
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.stabs/weird.exp (print_weird_var): Use
gdb_test_multiple instead of gdb_expect.
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
* gdb.base/help.exp (help_test_raw): New.
(test_class_help): New.
(test_prefix_command_help): New.
Adjust testcases.
2006-11-09 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/constvars.c (main): Write to crass and crips, so that
they are allocated by the compiler.
2006-10-27 Andreas Schwab <schwab@suse.de>
* gdb.base/multi-forks.exp: Use "detach fork" instead of
"detach-fork".
2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
of patterns.
2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/manythreads.c (thread_function, main): Don't cast
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".
2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
PR c++/2116
* gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
2006-10-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
the corresponding bug has been fixed in GDB (PR/2018).
2006-10-06 Joel Brobecker <brobecker@adacore.com>
* gdb.base/subst.exp: New testcase.
2006-10-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return/pck.ads: Add copyright notice.
* gdb.ada/array_return/pck.adb: Likewise.
* gdb.ada/array_return/p.adb: Likewise.
* gdb.ada/exec_changed/first.adb: Likewise.
* gdb.ada/exec_changed/second.adb: Likewise.
2006-10-06 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/watch_arg/watch.adb: New file.
* gdb.ada/watch_arg.exp: New testcase.
2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
via string_to_regexp.
* gdb.mi/mi2-basics.exp: Likewise.
2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
* abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
Remove unused / obsolete files.
2006-09-19 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
* gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
HIGH_FRAME argument to -stack-list-arguments can be larger than
the number of frames.
2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/args.c (main): Add breakpoint marker.
* gdb.base/args.exp: Use args_test for tests. Add new tests which
really test empty arguments.
(args_load): Delete.
(args_test): New.
2006-09-13 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
check for one file.
2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
* gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
HIGH_FRAME argument to -stack-list-locals can be larger than
the number of frames.
2006-08-18 Fred Fish <fnf@specifix.com>
* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
'$' in front of skip_vmx_tests_saved when setting that.
2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/trace-commands.exp: New file.
2006-08-10 Joel Brobecker <brobecker@adacore.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/step-bt.exp: Make hexadecimal address optional in
expected output of the backtrace commands.
2006-08-09 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
untested followed by return combination.
* gdb.arch/altivec-regs.exp: Likewise.
* gdb.arch/e500-abi.exp: Likewise.
* gdb.arch/e500-regs.exp: Likewise.
* gdb.arch/gdb1291.exp: Likewise.
* gdb.arch/gdb1431.exp: Likewise.
* gdb.arch/gdb1558.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.asm/asm-source.exp: Likewise.
* gdb.base/a2-run.exp: Likewise.
* gdb.base/advance.exp: Likewise.
* gdb.base/all-bin.exp: Likewise.
* gdb.base/annota1.exp: Likewise.
* gdb.base/annota3.exp: Likewise.
* gdb.base/args.exp: Likewise.
* gdb.base/arithmet.exp: Likewise.
* gdb.base/assign.exp: Likewise.
* gdb.base/async.exp: Likewise.
* gdb.base/attach.exp: Likewise.
* gdb.base/bang.exp: Likewise.
* gdb.base/bigcore.exp: Likewise.
* gdb.base/bitfields.exp: Likewise.
* gdb.base/bitfields2.exp: Likewise.
* gdb.base/break.exp: Likewise.
* gdb.base/call-sc.exp: Likewise.
* gdb.base/call-strs.exp: Likewise.
* gdb.base/callfuncs.exp: Likewise.
* gdb.base/checkpoint.exp: Likewise.
* gdb.base/chng-syms.exp: Likewise.
* gdb.base/code-expr.exp: Likewise.
* gdb.base/commands.exp: Likewise.
* gdb.base/completion.exp: Likewise.
* gdb.base/cond-expr.exp: Likewise.
* gdb.base/condbreak.exp: Likewise.
* gdb.base/consecutive.exp: Likewise.
* gdb.base/constvars.exp: Likewise.
* gdb.base/corefile.exp: Likewise.
* gdb.base/cvexpr.exp: Likewise.
* gdb.base/dbx.exp: Likewise.
* gdb.base/define.exp: Likewise.
* gdb.base/detach.exp: Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/dump.exp: Likewise.
* gdb.base/ena-dis-br.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
* gdb.base/environ.exp: Likewise.
* gdb.base/eval-skip.exp: Likewise.
* gdb.base/exprs.exp: Likewise.
* gdb.base/fileio.exp: Likewise.
* gdb.base/finish.exp: Likewise.
* gdb.base/float.exp: Likewise.
* gdb.base/foll-exec.exp: Likewise.
* gdb.base/foll-fork.exp: Likewise.
* gdb.base/foll-vfork.exp: Likewise.
* gdb.base/freebpcmd.exp: Likewise.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gcore.exp: Likewise.
* gdb.base/gdb1090.exp: Likewise.
* gdb.base/gdb1250.exp: Likewise.
* gdb.base/huge.exp: Likewise.
* gdb.base/info-proc.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/jump.exp: Likewise.
* gdb.base/langs.exp: Likewise.
* gdb.base/lineinc.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/logical.exp: Likewise.
* gdb.base/long_long.exp: Likewise.
* gdb.base/macscp.exp: Likewise.
* gdb.base/maint.exp: Likewise.
* gdb.base/mips_pro.exp: Likewise.
* gdb.base/miscexprs.exp: Likewise.
* gdb.base/multi-forks.exp: Likewise.
* gdb.base/opaque.exp: Likewise.
* gdb.base/overlays.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/pointers.exp: Likewise.
* gdb.base/printcmds.exp: Likewise.
* gdb.base/psymtab.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
* gdb.base/recurse.exp: Likewise.
* gdb.base/relational.exp: Likewise.
* gdb.base/relocate.exp: Likewise.
* gdb.base/remote.exp: Likewise.
* gdb.base/reread.exp: Likewise.
* gdb.base/restore.exp: Likewise.
* gdb.base/return.exp: Likewise.
* gdb.base/return2.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/sect-cmd.exp: Likewise.
* gdb.base/sep.exp: Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/setshow.exp: Likewise.
* gdb.base/setvar.exp: Likewise.
* gdb.base/sigall.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
* gdb.base/signals.exp: Likewise.
* gdb.base/signull.exp: Likewise.
* gdb.base/sizeof.exp: Likewise.
* gdb.base/solib.exp: Likewise.
* gdb.base/step-line.exp: Likewise.
* gdb.base/step-test.exp: Likewise.
* gdb.base/structs.exp: Likewise.
* gdb.base/structs2.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.base/twice.exp: Likewise.
* gdb.base/until.exp: Likewise.
* gdb.base/varargs.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.base/whatis-exp.exp: Likewise.
* gdb.base/whatis.exp: Likewise.
* gdb.cp/ambiguous.exp: Likewise.
* gdb.cp/annota2.exp: Likewise.
* gdb.cp/annota3.exp: Likewise.
* gdb.cp/bool.exp: Likewise.
* gdb.cp/breakpoint.exp: Likewise.
* gdb.cp/casts.exp: Likewise.
* gdb.cp/class2.exp: Likewise.
* gdb.cp/classes.exp: Likewise.
* gdb.cp/cplusfuncs.exp: Likewise.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/gdb1355.exp: Likewise.
* gdb.cp/hang.exp: Likewise.
* gdb.cp/inherit.exp: Likewise.
* gdb.cp/local.exp: Likewise.
* gdb.cp/m-data.exp: Likewise.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/method.exp: Likewise.
* gdb.cp/misc.exp: Likewise.
* gdb.cp/namespace.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/ovldbreak.exp: Likewise.
* gdb.cp/pr-1023.exp: Likewise.
* gdb.cp/pr-1210.exp: Likewise.
* gdb.cp/pr-574.exp: Likewise.
* gdb.cp/printmethod.exp: Likewise.
* gdb.cp/psmang.exp: Likewise.
* gdb.cp/ref-params.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
* gdb.cp/try_catch.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
* gdb.disasm/am33.exp: Likewise.
* gdb.disasm/h8300s.exp: Likewise.
* gdb.disasm/mn10300.exp: Likewise.
* gdb.disasm/sh3.exp: Likewise.
* gdb.disasm/t01_mov.exp: Likewise.
* gdb.disasm/t02_mova.exp: Likewise.
* gdb.disasm/t03_add.exp: Likewise.
* gdb.disasm/t04_sub.exp: Likewise.
* gdb.disasm/t05_cmp.exp: Likewise.
* gdb.disasm/t06_ari2.exp: Likewise.
* gdb.disasm/t07_ari3.exp: Likewise.
* gdb.disasm/t08_or.exp: Likewise.
* gdb.disasm/t09_xor.exp: Likewise.
* gdb.disasm/t10_and.exp: Likewise.
* gdb.disasm/t11_logs.exp: Likewise.
* gdb.disasm/t12_bit.exp: Likewise.
* gdb.disasm/t13_otr.exp: Likewise.
* gdb.hp/gdb.aCC/optimize.exp: Likewise.
* gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
* gdb.hp/gdb.base-hp/dollar.exp: Likewise.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
* gdb.hp/gdb.base-hp/reg.exp: Likewise.
* gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
* gdb.hp/gdb.compat/xdb1.exp: Likewise.
* gdb.hp/gdb.compat/xdb3.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
* gdb.mi/gdb701.exp: Likewise.
* gdb.mi/gdb792.exp: Likewise.
* gdb.mi/mi-basics.exp: Likewise.
* gdb.mi/mi-break.exp: Likewise.
* gdb.mi/mi-cli.exp: Likewise.
* gdb.mi/mi-console.exp: Likewise.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise.
* gdb.mi/mi-read-memory.exp: Likewise.
* gdb.mi/mi-regs.exp: Likewise.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise.
* gdb.mi/mi-syn-frame.exp: Likewise.
* gdb.mi/mi-until.exp: Likewise.
* gdb.mi/mi-var-block.exp: Likewise.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-basics.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise.
* gdb.mi/mi2-read-memory.exp: Likewise.
* gdb.mi/mi2-regs.exp: Likewise.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise.
* gdb.mi/mi2-syn-frame.exp: Likewise.
* gdb.mi/mi2-until.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.mi/mi2-watch.exp: Likewise.
* gdb.stabs/exclfwd.exp: Likewise.
* gdb.stabs/weird.exp: Likewise.
* gdb.threads/gcore-thread.exp: Likewise.
* gdb.trace/actions.exp: Likewise.
* 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.
2006-08-08 Joel Brobecker <brobecker@adacore.com>
* gdb.base/step-bt.c: New file.
* gdb.base/step-bt.exp: New testcase.
2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
* config/monitor.exp (gdb_load): Remove support for obsolete
download-write-size.
* gdb.base/remote.exp: Likewise. Update all callers of
gdb_timed_load.
2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
* cursal.exp: Pass binfile to gdb_load.
2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
* gdb.base/cursal.exp: Add "" to gdb_load call.
2006-07-29 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
NetBSD/ELF targets.
2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
operator*.
2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/completion.exp: Update for change in "file" behavior.
* gdb.stabs/weird.exp: Likewise.
* lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
* lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/default.exp: Update source command error message.
* gdb.base/help.exp: Update 'help source' message.
2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/bs15503.exp: Update comment for no longer crashing
test.
2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/print-threads.exp: Use gdb_breakpoint.
2006-07-17 Mark Kettenis <kettenis@gnu.org>
* gdb.base/long_long.exp (gdb_test_long_long): Exclude
*-*-openbsd* from targets for wich we expect ARM FPA floating
point format.
2006-07-17 Nick Roberts <nickrob@snap.net.nz>
* gdb.cp/annota3.exp: Expect frame-begin annotation.
2006-07-17 Mark Kettenis <kettenis@gnu.org>
* gdb.base/annota3.exp: Expect frame-begin annotation.
2006-07-14 Joel Brobecker <brobecker@adacore.com>
* gdb.base/help.exp: Adjust "help unset" test to accept
any list of unset commands.
2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/ref-params.exp: New test.
* gdb.cp/ref-params.cc: New source file.
* gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
2006-07-08 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
spaces/tabs in regular expressions since they might not be there.
2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/ifelse.exp: New file.
2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
* gdb.base/huge.c: Allow CRASH_GDB to be set from command
line.
* gdb.base/huge.exp: Loop over compilation to find a size that
is acceptable.
* gdb.base/remote.exp: Correct expected strings.
* gdb.dwarf2/mac-fileno.S: Avoid # comments.
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/store.exp: Don't use gdb_suppress_entire_file.
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
native.
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.stabs/exclfwd.exp: Skip the test if configure did not
enable stabs testing.
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/auxv.exp: Intercept undefined command messages before
gdb_test_multiple does.
2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (host_alias): Remove.
(target_alias): Use @target_noncanonical@.
(site.exp): Don't set host_alias.
* aclocal.m4: Remove contents. Include acx.m4.
* configure: Regenerated.
* configure.ac: Use ACX_NONCANONICAL_TARGET.
2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
* lib/gdb.exp (gdb_load_cmd): New.
* gdb.base/fileio.c: Add system(NULL) test.
* gdb.base/fileio.exp: Check it.
* gdb.base/break.c: Add 10a breakpoint at }
* gdb.base/break.exp: Add test for breakpoint at }
* gdb.cp/anon-union.cc: Add code at end of function.
* gdb.cp/anon-union.exp: Adjust end of function breakpoint.
* gdb.mi/var-cmd.c: Add code at end of function.
* gdb.mi/mi-var-display.exp: Adjust end of next.
* gdb.mi/mi2-var-display.exp: Likewise.
* gdb.base/fileio.c: Add stop function and insert calls at
stopping places.
* gdb.base/fileio.exp: Breakpoint stop function and remove
explicit line number references.
2006-05-19 Joel Brobecker <brobecker@adacore.com>
* gdb.base/del.exp (test_delete_alias): New function.
Now check that both "del" and "d" work as aliases for "delete".
2006-05-18 Fred Fish <fnf@specifix.com>
* gdb.base/a2-run.exp: Allow part of test to run when args aren't
required. Check for spurious output after program exits normally.
2006-05-17 Fred Fish <fnf@specifix.com>
* gdb.base/relocate.exp: Use gdb_file_cmd rather than
gdb_load, so it works in the simulator.
2006-05-11 Fred Fish <fnf@specifix.com>
* gdb.base/bang.exp: Ignore unexpected output between the
"program exited normally" and the gdb prompt, as many other
tests do.
2006-05-07 Mark Kettenis <kettenis@gnu.org>
* gdb.base/help.exp: Make "delete checkpoint" part option for
"help d" and "help delete" tests.
2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.mi/mi-basics.exp: Add missing serial number to
expected output in some mi_gdb_test statements.
* gdb.mi/mi2-basics.exp: Likewise.
2006-05-05 Joel Brobecker <brobecker@adacore.com>
* gdb.base/del.c: New file.
* gdb.base/del.exp: New testcase.
2006-05-05 David S. Miller <davem@sunset.davemloft.net>
* gdb.base/break.exp: Do not assume a breakpoint on
main will actually be in $srcfile when optimizing.
* gdb.base/savedregs.exp: Do not require that the dummy
frame location match up to a symbol and source file location.
* gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
will get printed without a mi_cmd_data_list_register_values prefix.
(*-data-list-register-*): Correct regular expressions to expect the new
pseudo d? floating point registers.
* gdb.mi/mi2-regs.exp: Likewise.
2006-05-05 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
* gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
is allocated by the compiler.
* gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
anons, e, anone to force their allocation by the compiler.
2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/help.exp: Update expected text for help d and
help delete.
2006-05-02 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
NetBSD/ELF targets.
2006-04-30 Mark Kettenis <kettenis@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
single-step breakpoint fails; make this a KFAIL on
sparc*-*-openbsd*.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp (advance, advancei): Likewise.
2006-04-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
which may have to consume output from other forks.
Add tests to make sure that "delete fork" succeeded.
2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22 Jim Blandy <jimb@redhat.com>
Add support for the Renesas M32C and M16C.
* gdb.asm/asm-source.exp: Add m32c target.
* gdb.asm/m32c.inc: Support for m32c target.
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/commands.exp (recursive_source_test): New test.
2006-04-04 David S. Miller <davem@sunset.davemloft.net>
* gdb.base/float.exp: Add pattern for sparc targets.
2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/commands.exp (stray_arg0_test): New test.
2006-03-30 Paul Brook <paul@codesourcery.com>
* gdb.mi/mi-until.exp: kfail broken until command.
* gdb.mi/mi2-until.exp: Ditto.
2006-03-27 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
2006-03-08 Alexandre Oliva <aoliva@redhat.com>
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.base/assign.exp: Correct fail message.
2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number.
* lib/compiler.cc: Ditto.
2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
additional_flags=-w.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.arch/e500-abi.exp: Ditto.
* gdb.arch/e500-regs.exp: Ditto.
* gdb.base/all-bin.exp: Ditto.
* gdb.base/annota1.exp: Ditto.
* gdb.base/annota3.exp: Ditto.
* gdb.base/args.exp: Ditto.
* gdb.base/arithmet.exp: Ditto.
* gdb.base/assign.exp: Ditto.
* gdb.base/async.exp: Ditto.
* gdb.base/bang.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/completion.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/consecutive.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/environ.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/jump.exp: Ditto.
* gdb.base/logical.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pc-fp.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/sect-cmd.exp: Ditto.
* gdb.base/sep.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
* gdb.cp/annota2.exp: Ditto.
* gdb.cp/annota3.exp: Ditto.
* gdb.trace/actions.exp: Ditto.
* gdb.trace/backtrace.exp: Ditto.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/deltrace.exp: Ditto.
* gdb.trace/infotrace.exp: Ditto.
* gdb.trace/limits.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/passcount.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/save-trace.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/tracecmd.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.
* gdb.trace/while-stepping.exp: Ditto.
* lib/gdb.exp: Ditto.
(gdb_compile): Handle nowarning option.
2006-03-07 Alexandre Oliva <aoliva@redhat.com>
* gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
* gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
Rename executable to prelinkt. Don't re-prelink if we didn't
get a core file. Test prelink -u exit status to tell whether
prelinking failed. Use gdb_test_multiple.
2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/inherit.exp (test_print_mi_member_types): New function.
(do_tests): Call it.
2006-02-28 Alexandre Oliva <aoliva@redhat.com>
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
* gdb.fortran/derived-type.f90: New file.
* gdb.fortran/derived-type.exp: New testcase.
2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/default.exp: Allow ';' as a directory separator.
2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/help.exp (help add-symbol-file): Update.
2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/help.exp (help load): Update expected results.
2006-02-19 Fred Fish <fnf@specifix.com>
* gdb.base/pc-fp.exp (get_valueofx): Don't print environment
specifix hex value as part of results.
* gdb.base/shreloc.exp (get_msym_addrs): Ditto.
2006-02-16 Fred Fish <fnf@specifix.com>
* gdb.base/whatis.c: Define variables using typedefs char_addr,
ushort_addr, and slong_addr, so the typedefs are not optimized
away.
* gdb.base/whatis.exp: Add tests using type name for struct type,
union type, enum type, and typedef.
2006-02-13 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
2006-02-13 Jim Blandy <jimb@redhat.com>
* gdb.base/scope.exp (test_at_main): Remove logic to handle the
case where it takes two "next" commands to skip past the init
call.
2006-02-12 Fred Fish <fnf@specifix.com>
* gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
to handle cases where it takes two "next" commands to skip
past the init call.
2006-02-07 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return.exp: Mark the last test as expected to fail
on hppa32 targets.
2006-02-06 Vladimir Prus <ghost@cs.msu.su>
* gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
field.
2006-01-29 Mark Kettenis <kettenis@gnu.org>
* gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
files.
2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.cp/maint.exp: Set complaints to a positive value.
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
* gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
function name.
2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/checkpoint.c: Update copyright notice. Include
<stdlib.h>.
2006-01-04 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp: Independently provide default values for
asm-flags and debug-flags. Use 'string equal' to do the
comparison, not the implicit expr's '==' operator. Remove
now-unneeded assignments to asm-flags. In h8300 case, place
"-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
2006-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/checkpoint.c: New file.
* gdb.base/checkpoint.exp: New file.
* gdb.base/multi-fork.c: New file.
* gdb.base/multi-fork.exp: New file.
* gdb.base/pi.txt: New file (data for checkpoint.c test).
2006-01-04 Fred Fish <fnf@specifix.com>
* gdb.base/ptype.c (foo): Add typedef.
(intfoo): Add function.
* gdb.base/ptype1.c: New file.
* gdb.base/ptype.exp: Handle compilation and linking with two
source files. Test that proper type for "foo" is found based
on source context rather than first match found in symtabs.
2005-12-28 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
* gdb.asm/openbsd.inc: Indent commands.
2005-12-26 Mark Kettenis <kettenis@gnu.org>
* gdb.base/freebpcmd.exp: Increase timeout.
* gdb.gdb/selftest.exp (test_with_self): Update copyright check.
2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/default.exp: Update check for "show version".
2005-12-09 Randolph Chung <tausq@debian.org>
* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.
2005-12-09 Randolph Chung <tausq@debian.org>
* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.
2005-12-09 Randolph Chung <tausq@debian.org>
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.
2005-12-09 Randolph Chung <tausq@debian.org>
* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2005-12-07 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.
2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/help.exp (help b, help br, help bre, help brea)
(help break): Update the expected message.
2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
* gdb.asm/m68hc11.inc: Setup the data section.
* gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
script for this test.
(m6812-*-*): Likewise.
2005-11-09 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
* gdb.base/break.exp: Fix a comment typo.
2005-11-03 Jim Blandy <jimb@redhat.com>
Checked in by Elena Zannoni <ezannoni@redhat.com>
* gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
2005-11-02 Corinna Vinschen <vinschen@redhat.com>
* gdb.arch/gdb1558.c: Include stdio.h.
2005-10-31 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Use -e instead of --entry.
2005-10-31 Mark Kettenis <kettenis@gnu.org>
* gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to better match output.
2005-10-12 Jim Blandy <jimb@redhat.com>
* gdb.base/structs.exp (any): New function.
(test_struct_returns): Don't make any assumptions at all about
what value the function returns when GDB can't set the return
value.
2005-10-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/arrayidx/p.adb: New file.
* gdb.ada/arrayidx.exp: New testcase
2005-10-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/array_return/pck.ads: New file.
* gdb.ada/array_return/pck.adb: New file.
* gdb.ada/array_return/p.adb: New file.
* gdb.ada/array_return.exp: New testcase.
2005-10-03 Joel Brobecker <brobecker@adacore.com>
* gdb.base/arrayidx.c: New file.
* gdb.base/arrayidx.exp: New testcase.
2005-09-29 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
frames-invalid and breakpoints-invalid are no longer generated
with level 3 so don't expect them in the output.
2005-09-27 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
2005-09-26 Paul Brook <paul@codesourcery.com>
* long_long.exp: Exclude eabi targets from arm FPA float format test.
2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
* bfp-test.c: New file.
* bfp-test.exp: New testcase.
2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
* gdb.fortran/subarray.exp: New testcase to test the evaluation
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
copyright dates.
2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
2005-09-11 Bob Rossi <bob@brasko.net>
* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
commands that return an MI output command and an asyncronous MI output
command.
* gdb.mi/mi-console.exp: Ditto.
2005-09-11 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-var-child.c: Include <string.h>.
2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
* killed.exp: Correct gdb_expect syntax.
2005-08-09 Corinna Vinschen <vinschen@redhat.com>
* lib/mi-support.exp (mi_gdb_load): Fix typo.
2005-08-02 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
(test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
Change tests to inferior-tty-set/show.
* gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
(47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
* gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
inferior. Use mi_gdb_test to get GDB and Inferior output.
* lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
descriptor.
(mi_inferior_tty_name): Add inferior PTY file name.
(mi_gdb_start): Add INFERIOR_PTY parameter.
(mi_gdb_test): Add IPATTERN parameter.
2005-08-02 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
parameter to mi_gdb_test.
* lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-var-child.c (do_children_tests): Initialize
struct_declarations.
* gdb.mi/mi-var-child.exp: Step over the initialization of
struct_declarations.
2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
* gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
* gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
* gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
* gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
file.
2005-07-27 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
(do_children_tests): Assign values to the extra elements.
* gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
them for tests for "-var-update --no-values" and
"-var-update --all-values".
Add test for "-var-list-children --simple-values".
* gdb.mi/basics.c (callee4): Add integer array D[3]...
* gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
"-stack-list-locals --simple-values" Improve doc strings and
comments.
2005-07-18 Mark Kettenis <kettenis@gnu.org>
* gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
*-*-openbsd*.
* gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
* gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
sigaltsatck'.
2005-07-14 Bob Rossi <bob@brasko.net>
* gdb.base/default.exp (tty): Changed output of command.
* gdb.base/help.exp (help tty): Ditto.
2005-07-12 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
2005-07-10 Mark Kettenis <kettenis@gnu.org>
* gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-07-06 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
command.
(Copyright): Update copyright.
2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
* gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
tests to evaluate exponentiation expression.
2005-06-29 Andreas Schwab <schwab@suse.de>
* gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
main to avoid warnings.
* gdb.base/sigrepeat.exp: Fix reference to undefined variable.
2005-06-20 Nick Roberts <nickrob@snap.net.nz>
* gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
-stack-select-frame without arguments.
(test_stack_frame_listing): Add test for newly implemented command
-stack-info-frame.
2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
* gdb.fortran/array-element.f: New file.
* gdb.fortran/array-element.exp: New testcase.
2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/bigcore.exp: Correct checks for systems which can
not dump a large core file.
2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.
2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.
2005-05-29 Joel Brobecker <brobecker@adacore.com>
* gdb.arch/alpha-step.c: New file.
* gdb.arch/alpha-step.exp: New testcase.
2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
Dennis Brueni <dennis@slickedit.com>
* gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
* lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
Wu Zhou <woodzltc@cn.ibm.com>
* gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
IBM's xlc compiler.
* gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
* gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
2005-05-13 Jim Blandy <jimb@redhat.com>
* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
* gdb.base/charset.exp: Same.
* gdb.base/call-rt-st.exp: Same.
2005-05-05 Bob Rossi <bob_rossi@cox.net>
* lib/gdb.exp (fullname_syntax): Added global regex.
(fullname_syntax_POSIX): Ditto.
(fullname_syntax_UNC): Ditto.
(fullname_syntax_DOS_CASE): Ditto.
(fullname_syntax_DOS): Ditto.
* gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
fullname_syntax variable to scope and use it.
(test_file_list_exec_source_files): Ditto.
* gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (skip_altivec_tests): New function, based on
check_vmx_hw_available from the GCC testsuite.
* lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
* lib/gdb.arch/altivec-regs.exp: Likewise.
2005-05-02 Jim Blandy <jimb@redhat.com>
* gdb.base/auxv.exp: Call 'untested' and return -1 instead of
calling gdb_suppress_entire_file.
2005-04-30 Randolph Chung <tausq@debian.org>
* gdb.threads/staticthreads.exp: Override signal to check for hppa.
Slightly relax "sem_post" name checking.
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/unload.exp: Use new shared library infrastructure.
2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/so-impl-ld.exp: Use new shared library
infrastructure.
2005-04-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add h8300 to supported targets.
* gdb.asm/h8300.inc: New file.
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/shlib-call.exp: Change to use new shared library
infrastructure.
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/pending.exp: Change to use new shared library
infrastructure.
2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
use test_compiler_info instead of gcc_compiled, and update copyright.
2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/annota1.exp : Deal with messages caused by breakpoints in
shared objects being adjusted and update copyright years.
2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
* ChangeLog: Correct some 2003-01-13 dates.
* gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
gdb.trace/tfind.exp: Update copyright years.
2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
Daniel Jacobowitz <dan@codesourcery.com>
* lib/gdb.exp (gdb_compile): Handle shlib=.
(gdb_compile_shlib): New function.
2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (test_compiler_info): Give argument a default value.
2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
gdb.server.
* configure.ac: Likewise.
* configure: Regenerated.
* gdb.gdbserver/Makefile.in: Moved to...
* gdb.server/Makefile.in: ... here.
* gdb.gdbserver/server.c: Moved to...
* gdb.server/server.c: ... here.
* gdb.gdbserver/server-run.exp: Moved to...
* gdb.server/server-run.exp: ... here.
2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
* configure.ac: Create gdb.gdbserver/Makefile.
* configure: Regenerated.
* lib/gdbserver-support.exp: New file, derived from
config/gdbserver.exp.
* config/gdbserver.exp: Use gdbserver-support.exp.
* gdb.gdbserver/Makefile.in: New file.
* gdb.gdbserver/server.c: New file.
* gdb.gdbserver/server-run.exp: New file.
2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
* lib/gdb.exp (test_compiler_info): Return compiler_info
if no arguments are given.
2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-abi.exp: Check for compiler and set
use altivec' flag accordingly.
* gdb.arch/altivec-regs.exp: Likewise.
2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-27 Andreas Schwab <schwab@suse.de>
* gdb.base/bigcore.c (main): Add missing mode argument in open
call.
2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
* lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
downloads.
* config/gdbserver.exp (gdb_load): Likewise.
2005-03-14 Paul Brook <paul@codesourcery.com>
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.
2005-03-09 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/dup-psym.S: New file.
* gdb.dwarf2/dup-psym.exp: New testcase.
2005-03-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/exec_changed/first.adb: New file.
* gdb.ada/exec_changed/second.adb: New file.
* gdb.ada/exec_changed.exp: New testcase.
2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
* gdb.cp/userdef.cc (A1::operator+): New unary plus.
(A2): New class.
(main): Test operator+.
* gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
breakpoint test.
* gdb.base/sigbpt.exp: Disable if gdb,nosignals.
* gdb.base/signull.exp: Disable if gdb,nosignals.
* gdb.cp/bs15503.exp: Disable if skip_cplus_tests
* gdb.cp/exception.exp: Disable if skip_cplus_tests.
* gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
* gdb.mi/mi2-console.exp: Likewise.
* gdb.trace/collection.exp (run_trace_experiment): Consume the
continue output at start.
(gdb_collect_locals_test): Robustify regexp.
* gdb.trace/passc-dyn.exp: Fix comment typo.
* gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
2005-03-08 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add iq2000 case.
* gdb.asm/iq2000.inc: New file.
2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
* gdb.base/command.exp: Change hardcoded value to regular expression.
* gdb.base/float.exp: Add powerpc to the list of targets checked.
2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
gdb.asm/x86_64.inc: Use .purgem before redefining macros.
2005-03-05 Mark Kettenis <kettenis@gnu.org>
* gdb.cp/ovldbreak.exp: Adjust regular expression for recent
changes.
2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
* lib/compiler.c: Add test for IBM's xlc compiler.
* lib/compiler.cc: Likewise.
2004-02-24 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/fixed_points.exp: Create compilation object directory
before running the test.
* gdb.ada/null_record.exp: Likewise.
* gdb.ada/packed_array.exp: Likewise.
* gdb.ada/start.exp: Likewise.
2005-02-15 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/packed_array/pa.adb: New file.
* gdb.ada/packed_array.exp: New testcase.
2005-02-10 Mark Kettenis <kettenis@gnu.org>
* gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
files.
* gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
on *-*-openbsd*. Correctly match whitespace in regukar
expressions.
2005-02-10 Daniel Jacobowitz <dan@debian.org>
From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
PR exp/1821
* gdb.base/gdb1821.c: New test file.
* gdb.base/gdb1821.exp: New test file.
2005-02-09 Joel Brobecker <brobecker@adacore.com>
* gdb.base/start.c: New file.
* gdb.base/start.exp: New testcase.
2005-02-09 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/start/dummy.adb: New file.
* gdb.ada/start.exp: New testcase.
2005-02-09 Corinna Vinschen <vinschen@redhat.com>
* maint.exp: Raise timeout to give Cygwin targeted GDBs more time
for printing symbols and statistics.
Add test for using relative pathnames in "maint print msymbols" test.
Mark "maint info sections DATA" XFAIL on Cygwin.
Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
tests.
2005-02-09 Andreas Schwab <schwab@suse.de>
Committed by Andrew Cagney <cagney@gnu.org>
* gdb.base/remotetimeout.exp: New file.
2005-02-07 Mark Kettenis <kettenis@gnu.org>
* gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
2005-02-03 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/gnat_ada.gpr: New file.
* gdb.ada/gnat_ada.gin: Delete, no longer used.
* lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
* configure.ac: No longer generate gnat_ada.gpr.
* configure: Regenerate.
* gdb.ada/Makefile.in: Minor adaptations due to new project file.
* gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
* gdb.ada/null_record/bar.ads: Likewise.
* gdb.ada/null_record/bar.adb: Likewise.
* gdb.ada/fixed_points/fixed_points.adb: Likewise.
* gdb.ada/null_record.exp (testdir): New variable.
(testfile): executable is now in testdir subdirectory.
(srcfile): Use full path to the main compilation unit.
* gdb.ada/fixed_points.exp: Same changes as above.
2005-02-03 Nick Roberts <nickrob@snap.net.nz>
* gdb.base/interp.exp: New test.
2005-01-24 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
2005-01-19 Andrew Cagney <cagney@gnu.org>
* gdb.stabs/Makefile.in (Makefile): Update dependencies -
configure.ac not configure.in.
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
of powerpc*-*-*.
* gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
* gdb.base/list.exp (test_list_function)
(test_list_filename_and_function): Ditto.
* gdb.base/callfuncs.exp (do_function_calls): Ditto.
2005-01-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2005-01-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
* gdb.mi/mi2-var-cmd.exp: Ditto.
2005-01-10 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2004-12-15 Jim Blandy <jimb@redhat.com>
* gdb.threads/linux-dp.exp: Fix output regexp to handle output
under NPTL when there is debugging info available for libpthread.
2004-12-13 Jerome Guitton <guitton@gnat.com>
* gdb.ada/fixed_points.c: New file.
* gdb.ada/fixed_points.exp: New file.
2004-12-03 Randolph Chung <tausq@debian.org>
* gdb.arch/pa-nullify.exp: New file.
* gdb.arch/pa-nullify.s: New file.
2004-11-30 Randolph Chung <tausq@debian.org>
* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
instead of "tbug". Fix regexp to work properly with gdb_test.
2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
* gdb.base/bitfields2.exp: New test.
* gdb.base/bitfields2.c: New file.
2004-11-28 Richard Earnshaw <rearnsha@arm.com>
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
2004-11-16 Randolph Chung <tausq@debian.org>
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
2004-11-14 Daniel Jacobowitz <dan@debian.org>
* gdb.threads/threadapply.exp: Correct "macro details" test.
2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/threadapply.exp: New test.
* gdb.threads/threadapply.c: New file.
2004-11-07 Mark Kettenis <kettenis@gnu.org>
* gdb.base/savedregs.exp: Correct pattern used for sigtramp
frames.
2004-11-05 Felix Lee <felix+log1@specifixinc.com>
* gdb.base/cursal.exp: New file.
* gdb.base/cursal.c: New file.
2004-11-03 Andrew Cagney <cagney@gnu.org>
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2004-10-30 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
NetBSD/ELF targets.
2004-10-29 Joel Brobecker <brobecker@gnat.com>
* gdb.threads/bp_in_thread.c: New file, copied from
pthread_cond_wait.c.
* gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
file, rather than reusing the .c file from another testcase.
2004-10-20 Joel Brobecker <brobecker@gnat.com>
* gdb.ada/null_record.exp: Check where we stopped after
sending the start command, instead of where the associated
temporary breakpoint was inserted.
2004-10-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/gdb701.c (main): Return 0.
2004-10-13 Daniel Jacobowitz <dan@debian.org>
* gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/schedlock.c: Add comment markers to use to find
line numbers.
* gdb.threads/schedlock.exp: Adjust regex to handle the new
comments.
* gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
breakpoint lines.
2004-10-12 Daniel Jacobowitz <dan@debian.org>
* gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
2004-10-12 Daniel Jacobowitz <dan@debian.org>
* configure.in: Add gdb.dwarf2.
* configure: Regenerated.
* Makefile.in: Add gdb.dwarf2.
* gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
gdb.dwarf2/file1.txt: New files.
2004-10-11 Orjan Friberg <orjanf@axis.com>
* gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
of "run", since the latter doesn't work with remote targets. Adjust
the breakpoint numbering accordingly.
* gdb.threads/pthread_cond_wait.exp: Ditto.
2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/overlays.exp: Update copyright years.
2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.base/overlays.exp: Disable if target is Linux.
2004-10-06 Felix Lee <felix+log1@specifixinc.com>
* config/gdbserver.exp (gdb_load): Use right filename on remote.
2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.asm/asm-source.exp: Add m32r-linux target.
* gdb.asm/m32r-linux.inc: New file.
2004-09-24 Andrew Cagney <cagney@redhat.com>
David Anderson <anderson@redhat.com>
* gdb.base/bigcore.exp (extract_heap): If the expect "file size"
command fails, assume things will work.
* gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
(_GNU_SOURCE): Define.
(print_unsigned, print_hex): Change parameter to "long long".
(print_byte_count): New function, use to print byte counts.
(large_off_t, large_lseek, O_LARGEFILE): Define dependant on
O_LARGEFILE.
(main): Compute an upper bound on a corefile in max_core_size.
Limit memory chunk size to max_core_size. Limit total memory
allocated to max_core_size.
2004-09-23 Andrew Cagney <cagney@gnu.org>
* gdb.base/bigcore.exp: Replace the code that creates a corefile
from a separate process with code that creates a corefile by
making the inferior dump core.
2004-09-23 Mark Kettenis <kettenis@gnu.org>
* gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
block.
2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/constvars.exp (local_compiler_xfail_check_2):
New proc. Accept both gcc 3.x.x and gcc 4.x.x.
* gdb.base/volatile.exp (local_compiler_xfail_check_2):
Likewise.
2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jprint.exp: New test case for java inferior call.
* gdb.java/jprint.java: Ditto.
2004-09-15 Joel Brobecker <brobecker@gnat.com>
* gdb.base/bigcore.exp: Deactivate on IRIX targets.
2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/killed.c: Include <stdlib.h>.
* gdb.threads/pthreads.c: Likewise.
2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/killed.c: Add copyright notice.
2004-09-10 Jason Molenda (jmolenda@apple.com)
* gdb.base/define.exp: Two new tests to verify zero space chars
after 'if' and 'while' commands in a user-defined command is correctly
parsed.
2004-09-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
delivery test with duplicate at end of file.
2004-09-06 Mark Kettenis <kettenis@jive.nl>
* gdb.base/unload.exp: Link with -dl on *-*-solaris*.
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/hppro.exp: Removed.
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/sparclet.exp: Removed.
2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
* config/udi.exp: Removed.
2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sigstep.exp (advance): Use "-continue_timer" option
of "exp_continue".
(advancei): Likewise.
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: Fix so messages aren't duplicated.
2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
* gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
to check for nodebug in executable.
* gdb.gdb/observer.exp (setup_test): Likewise.
* gdb.gdb/selftest.exp (test_with_self): Likewise.
* gdb.gdb/xfullpath.exp (setup_test): Likewise.
2004-09-01 Andrew Cagney <cagney@gnu.org>
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
files.
2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: Fix expected warning message to match
latest format.
2004-09-01 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/call-rt-st.exp: Fix typos.
2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
* gdb.threads/thread_check.exp: New testcase.
* gdb.threads/thread_check.c: New testcase.
2004-08-31 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_to_handler_entry)
(skip_to_handler_entry): New procedures. Test stepping into a
handler when the breakpoint is at the handler's entry point.
2004-08-30 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
gdb/1757.
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
With code from Manoj Iyer <manjo@austin.ibm.com>:
* lib/gdb.exp (gdb_file_cmd): Return more information in the
return value. Add an arm for "no debugging symbols found".
Change a stray "error" to "perror".
(gdb_run_cmd): Adapt to new return value.
* gdb.base/remote.exp: Adapt to new return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
2004-08-27 Joel Brobecker <brobecker@gnat.com>
* gdb.threads/bp_in_thread.exp: New testcase.
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/unload.c: Include <stdlib.h>.
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
From Paul Gilliam <pgilliam@us.ibm.com>:
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/schedlock.c: Add copyright notice.
2004-08-25 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.
2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/whatis.c: Add copyright notice.
2004-08-20 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
it to skip the breakpoints encoded in the inline assembly.
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
* Makefile.in: Add gdb.fortran.
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
* configure.in: Add gdb.fortran.
* configure: Regenerate.
* gdb.fortran/Makefile.in: New file.
* lib/gdb.exp (skip_fortran_tests): New procedure.
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
reference to bug-gnu@prep.ai.mit.edu.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
2004-08-15 Mark Kettenis <kettenis@gnu.org>
* gdb.base/unload.c (main): Make local variable msg const.
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
to bug-gnu@prep.ai.mit.edu.
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi2-watch.exp: Likewise.
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
2004-08-14 Mark Kettenis <kettenis@gnu.org>
* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
2004-08-14 Eli Zaretskii <eliz@gnu.org>
* ChangeLog: Prefix Local Variables with semi-colons and indent
the reference to older ChangeLog files, to fix fontification in
Emacs.
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi-break.exp: Use gdb_get_line_number.
* gdb.mi/mi2-break.exp: Likewise.
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Use cp_test_ptype_class.
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Remove unused declarations. Just let
test names default instead of providing special names. Remove
extraneous demangler test.
2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: New test for breakpoints in dynamically
loaded libraries.
* gdb.base/unload.c: Ditto.
* gdb.base/unloadshr.c: Ditto.
2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp (test_ptype_class_objects): Call
cp_test_ptype_class.
(test_enums): Likewise.
2004-08-10 Andrew Cagney <cagney@gnu.org>
* gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
files.
2004-08-10 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
init_malloc call.
2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
* ChangeLog: Add copyright notice. The notice is copied
from emacs 21.3 top level ChangeLog.
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* lib/cp-support.exp: New file.
* lib/cp-support.exp (cp_test_type_class): New function.
* gdb.cp/derivation.exp: Use cp_test_ptype_class.
* gdb.cp/virtfunc.exp (test_one_ptype): Removed.
* gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
cp_test_ptype_class.
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
gdb.mi/mi2-watch.exp: Update copyright years.
2004-08-09 Mark Kettenis <kettenis@gnu.org>
* gdb.base/sigaltstack.exp: Provide proper anchoring.
2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
gdb.mi/mi-watch.exp: Update copyright years.
2004-08-08 Daniel Jacobowitz <dan@debian.org>
PR gdb/1738
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
from a breakpoint with a pending signal.
2004-08-08 Daniel Jacobowitz <dan@debian.org>
PR gdb/1736
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
* gdb.base/sigaltstack.exp (finish_test): Consume output until
the prompt.
* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2004-08-08 Daniel Jacobowitz <dan@debian.org>
* gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
2004-08-08 Daniel Jacobowitz <dan@debian.org>
PR gdb/1736
* gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
for i?86-*-linux*.
2004-08-08 Daniel Jacobowitz <dan@debian.org>
* gdb.arch/i386-prologue.exp: Compile without debug information.
2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
rather than asking gdb to search.
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Add copyright notice.
2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/freebpcmd.c: Include <stdio.h>.
* gdb.base/long_long.c: Include <string.h>.
* gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
* gdb.base/siginfo.c: Include <string.h>.
* gdb.base/sigstep.c: Include <string.h>.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Add copyright notice.
2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/coremaker.c: Add copyright notice.
* gdb.base/coremaker2.c: Add copyright notice.
2004-08-04 Andrew Cagney <cagney@gnu.org>
* gdb.base/store.exp: Update copyright.
(check_set, up_set, check_struct, up_struct): Add a prefix to test
names, do not import gdb_prompt.
2004-08-01 Andrew Cagney <cagney@gnu.org>
Fix PR testsuite/1729.
* gdb.base/dump.exp: Add test name to callers of capture_value, do
not use capture_value with value 4.
(capture_value): Add optional test name parameter.
(test_reload_saved_value, test_restore_saved_value): Use $msg as
the prefix, pass to capture_value.
2004-08-01 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
* gdb.arch/i386-prologue.c (standard): New prototype and function.
(main): Call new function.
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept more varieties of ptype output.
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Accept more varieties of ptype output.
Accept more values of vtbl pointer. Remove some messages
about "obsolete gcc or gdb".
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept more varieties of ptype output.
2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/asm-source.exp: Properly convert target board
debug flags from gcc format to binutils format.
2004-07-28 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
gdb1718". PR backtrace/1718 partially fixed.
2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2004-07-26 Nick Clifton <nickc@redhat.com>
* gdb.asm/asm-source.exp (debug-flags): New variable. If a known
good default value for a specific architecture is available then
set it to that value. Otherwise default to the -gstabs switch.
Remove the -g... switches from the asm-flags variable. Allow the
target board info to override the value if it wants to. Pass the
switch on the assembler command line.
2004-07-23 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.
2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
Test for PR exp/1715.
* gdb.base/radix.exp: Refactor common procedures. Make all
test names unique. Change XFAIL to KFAIL.
2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.
2004-07-20 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
XFAILs. Clean up test messages and comments. Check backtraces.
Delete re-sync code.
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR cli/740.
* gdb.base/annota1.exp: Honor gdb,nosignals.
* gdb.base/annota3.exp: Likewise.
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
* lib/java.exp: Update copyright notice.
2004-07-19 Andrew Cagney <cagney@gnu.org>
* gdb.base/selftest.exp: Copy file from here ...
* gdb.gdb/selftest.exp: ... to here.
2004-07-16 Andrew Cagney <cagney@redhat.com>
* lib/insight-support.exp: Delete file.
* lib/java.exp (java_init): Fix copyright.
2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/restore.c: Append "prologue" to comments marking the a
function's prologue.
* gdb.base/restore.exp: Update copyright, re-indent.
(restore_tests): Use gdb_test_multiple. Add "calleeN calls
callerN" prefix where needed. Update patterns that match a
function's prologue.
2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/restore.c: Add copyright notice.
2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/logical.exp: Update copyright.
(evaluate): New procedure. Use to re-implement tests using
several tables.
2004-07-14 Martin Hunt <hunt@redhat.com>
* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
which fixes some problems where init.tcl was not found.
2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
(check_sizeof, check_valueof): Do not include the output in the
test name. Use gdb_test.
(get_valueof): Use gdb_test_multiple.
* gdb.base/step-test.exp: Update copyright. Use
gdb_test_multiple. Ensure that test names do not include
architecture dependent output.
* gdb.gdb/observer.exp: Update copyright.
(setup_test): Use gdb_test_multiple.
(attach_first_observer, attach_second_observer)
(attach_third_observer, detach_first_observer)
(detach_second_observer, detach_third_observer)
(reset_counters, check_counters): Make $message a prefix.
(test_normal_stop_notifications): Add "args" parameter - a list of
init functions to be called. Make $message a prefix,
(test_observer_normal_stop): Change the message prefixes so that
they are unique, pass the attach / detach procedures to
test_normal_stop_notifications.
* gdb.base/signull.exp (test_segv): Prefix all tests with
"${name}". Clean up test messages.
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
* gdb.base/ena-dis-br.exp: Update copyright.
(break_at): New function. Replace send_gdb with gdb_test,
break_at, and gdb_test_multiple. Replace XFAIL of "continue with
ignore count, not stopped at bpt", with KFAIL.
2004-07-13 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/attach.exp: Remove cleanupfile handling.
2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota1.exp: Cleanup corefile test name.
* gdb.base/annota3.exp: Ditto.
2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Clean up copyright, re-indent.
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple.
2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmain.exp: Fix expected line number for main to
break at. Set XFAIL for break at main test since gcj does not
provide line number info for first statement in main.
2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright. Re-indent.
* gdb.base/sigbpt.exp: Make the common part of each test name a
prefix instead of suffix.
2004-07-07 Bob Rossi <bob_rossi@cox.net>
* gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
test from test_tbreak_creation_and_listing to
test_file_list_exec_source_file
* gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
Changed name of test from test_tbreak_creation_and_listing to
test_file_list_exec_source_file
2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
the jmisc() constructor instead of <init>.
* gdb.java/jmisc1.exp: Ditto.
2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
corrupting the PC.
2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
output.
2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.
2004-06-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
2004-06-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/bigcore.exp: Skip test on Cygwin.
2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register". Use gdb_test_multiple. Fix
the "invalid register" test.
2004-06-28 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
PID for Cygwin. Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.
2004-06-26 Andrew Cagney <cagney@gnu.org>
Test PR java/1567 and PR java/1565.
* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
* gdb.java/jmisc2.exp: Delete file.
2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-25 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.
2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.exp: Remove.
2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.cc: Remove.
* gdb.cp/pr-1553.exp: Disable this test.
2004-06-20 Jim Blandy <jimb@redhat.com>
Fix PR testsuite/1680.
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1679.
* gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
Issue an UNSUPPORTED result instead.
2004-06-18 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp: Only send a control-C if we see a new
prompt and incomplete command.
2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-574.cc: Add copyright notice.
2004-06-17 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/printmethod.cc: Add copyright notice.
2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.c: Update copyright. Include <string.h>.
(bowler): Replace data_pointer with data_read
and data_write cases. Add code_descriptor case.
(zero, desc): New array and pointer.
(data, code): Change to simple pointers.
* gdb.base/signull.exp: Fix probe pattern matching a function
descriptor SIGSEGV. Replace data_pointer with data_read and
data_write tests.
2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.c: Add copyright notice.
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.exp: Remove reference to
bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
to gdb_breakpoint and gdb_continue_to_breakpoint.
2004-06-14 Jim Blandy <jimb@redhat.com>
* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
endian case.
2004-06-14 Andrew Cagney <cagney@gnu.org>
* gdb.base/gcore.exp (capture_command_output): Delete the always
passing tests containing inferior values.
* gdb.base/ending-run.exp: Do not include the breakpoint address
in the test message. Update copyright.
* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
size in the test name, use gdb_test_multiple. Update copyright.
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ref-types.cc: Add copyright notice.
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Eval lines only if they are
'set' commands. Log diagnostics for other lines. Set
gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/try_catch.cc: Add copyright notice.
2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/userdef.cc: Add copyright notice.
2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.cc: Add copyright notice.
2004-06-11 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
problem.
2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".
* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
fixed.
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known". Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".
2004-06-08 Martin Hunt <hunt@redhat.com>
* gdb.base/float.exp: Add pattern for mips targets.
2004-06-08 Randolph Chung <tausq@debian.org>
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.
2004-06-08 Joel Brobecker <brobecker@gnat.com>
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
start the execution of the program.
2004-06-07 Jim Blandy <jimb@redhat.com>
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 Randolph Chung <tausq@debian.org>
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
2004-06-04 Roland McGrath <roland@redhat.com>
Fix PR gdb/1647.
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.
2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
2004-05-26 Jim Blandy <jimb@redhat.com>
* gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
2004-05-24 Randolph Chung <tausq@debian.org>
* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
* gdb.asm/pa.inc: New file.
2004-05-22 Mark Kettenis <kettenis@gnu.org>
* gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
2004-05-21 Joel Brobecker <brobecker@gnat.com>
Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
GDB prompt.
2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
setjmp/longjmp. Use sigaction instead of signal.
2004-05-19 J. Brobecker <brobecker@gnat.com>
Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthread_cond_wait.c: New file.
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-13 Andrew Cagney <cagney@redhat.com>
* gdb.base/signull.exp, gdb.base/signull.c: New files.
* gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
2004-05-11 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
fixed but revealed gdb/1639.
2004-05-10 Andrew Cagney <cagney@redhat.com>
* gdb.base/signals.exp (signal_tests_1): Simplify "continue to
func1" and "next to 2nd alarm", kernel bug avoided.
2004-05-10 Daniel Jacobowitz <dan@debian.org>
PR external/1568
* gdb.base/bigcore.exp: Check the size of the dumped core file.
XFAIL if it is smaller than bytes_allocated.
* gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
(main): Make chunks_allocated unsigned. Correct comment.
2004-05-07 Joel Brobecker <brobecker@gnat.com>
* gdb.arch/powerpc-aix-prologue.c: New file.
* gdb.arch/powerpc-aix-prologue.exp: New file.
2004-05-07 Jim Blandy <jimb@redhat.com>
* gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2004-05-06 Joel Brobecker <brobecker@gnat.com>
* gdb.base/sep.exp: No longer setup_kfail when the program was
built with dwarf2.
2004-05-05 Jim Ingham <jingham@apple.com>
* gdb.base/pending.exp: Make sure pending breakpoints
preserve the ignore count.
2004-04-27 Jerome Guitton <guitton@gnat.com>
* i386-prologue.exp: Add testcase for jump instruction as first
instruction of the real code.
* i386-prologue.c (jump_at_beginning): New function.
2004-04-28 Mark Kettenis <kettenis@gnu.org>
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
x86_64-*-*.
2004-04-28 Mark Kettenis <kettenis@gnu.org>
* gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
i*86-*-*.
2004-04-25 Mark Kettenis <kettenis@gnu.org>
* gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.
2004-04-23 Andrew Cagney <cagney@redhat.com>
* gdb.base/call-sc.exp: New test of scalar call/return values.
* gdb.base/call-sc.c: Ditto.
2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/manythreads.c: Add copyright notice.
2004-04-23 Andrew Cagney <cagney@redhat.com>
* gdb.base/siginfo.exp: Better handle step out of signal.
* gdb.base/sigstep.exp: Ditto.
2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/manythreads.c: New testcase.
* gdb.threads/manythreads.exp: Ditto.
2004-04-22 Jim Blandy <jimb@redhat.com>
* gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
* gdb.stabs/weird.exp: Accept full pathname for $binfile.
2004-04-21 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.c: New file.
* gdb.base/sigstep.exp: New file.
2004-04-16 Joel Brobecker <brobecker@gnat.com>
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
2004-04-15 Andrew Cagney <cagney@redhat.com>
* gdb.base/siginfo.c: New file.
* gdb.base/siginfo.exp: New file.
2004-04-12 J. Brobecker <brobecker@gnat.com>
* gdb.base/sep.exp: Fix typo in comment.
2004-04-12 J. Brobecker <brobecker@gnat.com>
* gdb.base/sep.c: New file.
* gdb.base/sep-proc.c: New file.
* gdb.base/sep.exp: New testcase.
2004-04-09 Mark Kettenis <kettenis@gnu.org>
* gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
support.
2004-04-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigaltstack.c: New file.
* gdb.base/sigaltstack.exp: New file.
2004-04-04 Joel Brobecker <brobecker@gnat.com>
* gdb.base/foll-fork.exp: Update the expected output for
"help set follow-fork-mode", to match a change that was made
to the help of this variable on 2004-01-13.
2004-04-01 Joel Brobecker <brobecker@gnat.com>
* lib/ada.exp: Add copyright notice.
* bar.ads: Likewise.
* bar.adb: Likewise.
* null_record.adb: Likewise.
* null_record.exp: Likewise.
* gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2004-04-01 Joel Brobecker <brobecker@gnat.com>
* configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
* configure: Regenerate.
2004-04-01 Joel Brobecker <brobecker@gnat.com>
* lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
to build the application. Remove the message printed when in
verbose mode, redundant with the UNSUPPORTED message above.
2004-03-31 Joel Brobecker <brobecker@gnat.com>
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
* gdb.ada (null_record.exp): New testcase.
2004-03-31 Joel Brobecker <brobecker@gnat.com>
* Makefile.in (ALL_SUBDIRS) Add gdb.ada.
2004-03-31 Joel Brobecker <brobecker@gnat.com>
* gdb.ada: New subdirectory.
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
2004-03-31 Joel Brobecker <brobecker@gnat.com>
* lib/ada.exp: New file.
2004-03-24 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/gdb1250.exp: Use runto {allow-pending}.
* lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
2004-03-22 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
Problem identified by Ulrich Weigand.
2004-03-17 David Carlton <carlton@kealia.com>
* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
PR c++/826.
2004-03-16 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp: New file.
* gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
2004-03-12 David Carlton <carlton@kealia.com>
* gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
* gdb.cp/pr-1553.cc: Ditto.
* gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
pass branch.
2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept more template types.
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
From Corinna Vinschen with modifications.
* gdb.cp/classes.cc (enums1): Add a line to extend scope of
local variable obj_with_enum.
* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
results with obj_with_enum.
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/misc.cc: Add copyright notice.
2004-03-05 David Carlton <carlton@kealia.com>
* gdb.cp/rtti.exp: Add 'print *obj3' test.
* gdb.cp/rtti.h: Update copyright.
(namespace n2::n3): New.
* gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
(n2::n3::func3): New.
(main): Call n2::n3::func3.
* gdb.cp/rtti2.cc: Update copyright.
(n2::create3): New.
2004-03-04 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/openbsd.inc: Fix typo.
2004-03-03 Fred Fish <fnf@redhat.com>
* gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
"val" instead of unused "size". Update copyright year.
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
* gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
to use unsigned char.
* gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
2004-02-29 Daniel Jacobowitz <drow@mvista.com>
* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
line of output.
2004-02-28 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.c (dummy): Initialize.
2004-02-28 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/chng-syms.exp: Anchor exit pattern. Allow
a breakpoint at exit.
2004-02-27 Fred Fish <fnf@redhat.com>
* gdb.base/chng-syms.exp: Add expect condition to match failing
case that isn't a timeout.
2004-02-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
support.
2004-02-26 Fred Fish <fnf@redhat.com>
* gdb.arch/gdb1431.c: Remove.
* gdb.arch/gdb1431.s: New file, copy of gdb1291.s
* gdb.arch/gdb1431.exp: Use "advance" correctly instead
of "until" incorrectly.
2004-02-26 J. Brobecker <brobecker@gnat.com>
* gdb.cp/class2.cc (empty): New class.
(refer): New function.
(main): Declare an object of type empty and use it.
* gdb.cp/class2.exp: Print the value of an object of type empty.
2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/langs.exp: Update query string to match the
new nquery format used for pending breakpoints.
2004-02-26 Andrew Cagney <cagney@redhat.com>
Fix PR i18n/1570.
* gdb.base/charset.c: Update copyright notice.
(main, init_string): Remove the escape character '\e' tests.
* gdb.base/printcmds.exp (test_print_all_chars): Ditto.
* gdb.base/charset.exp (valid_host_charset): Ditto.
* gdb.base/setvar.exp: Ditto.
2004-02-24 Andrew Cagney <cagney@redhat.com>
* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
mmapped data in core file" PASS and FAIL messages consistent.
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint. Work around PR java/1565.
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
* lib/gdb.exp (gdb_breakpoint): Update query string to match
new nquery format.
* gdb.base/pending.exp: Ditto.
2004-02-22 Mark Kettenis <kettenis@gnu.org>
* configure.in: Run stabs tests on *BSD.
* configure: Regenerated.
2004-02-21 Mark Kettenis <kettenis@gnu.org>
* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
2004-02-20 Fred Fish <fnf@redhat.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
blank in test for "returns short", for consistency with other
"returns xxx" tests. Update copyright year.
2004-02-19 Fred Fish <fnf@redhat.com>
New testcase for PR breakpoint/1558.
* gdb.arch/gdb1558.exp: New file.
* gdb.arch/gdb1558.c: New file.
2004-02-19 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/nodebug.exp: Fix typo.
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
* gdb.base/float.exp: Support s390*-*-* targets.
2004-02-17 Adam Fedor <fedor@gnu.org>
* gdb.base/gdb1555.exp: New file.
* gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
2004-02-17 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
2004-02-16 Fred Fish <fnf@redhat.com>
* gdb.arch/gdb1291.c: Remove
* gdb.arch/gdb1291.s: New test input file.
* gdb.arch/gdb1291.exp: Expand test to check case that should not
fail. Test for correct result, known incorrect result, other
failures and timeouts.
2004-02-16 Andrew Cagney <cagney@redhat.com>
* gdb.base/bigcore.exp: New file.
* gdb.base/bigcore.c: New file.
2004-02-13 Andrew Cagney <cagney@redhat.com>
* gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
* gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
* gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
* gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
* gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
* gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
* gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
* gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
* gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
* gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
* gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
executed is an alloc instruction.
2004-02-11 David Carlton <carlton@kealia.com>
* gdb.cp/breakpoint.exp: New.
* gdb.cp/breakpoint.cc: New.
2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR gdb/1543.
* gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
to bug-gdb@prep.ai.mit.edu .
* gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
Likewise.
2004-02-10 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.
2004-02-09 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/thread-specific.exp: Stop early if no threads are
found.
2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2004-02-08 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
breakpoints.
2004-02-07 Daniel Jacobowitz <drow@mvista.com>
* config/sim.exp (gdb_load): Handle $arg == "".
* lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
* gdb.objc/basicclass.exp: Use gdb_run_cmd.
2004-02-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/maint.exp: Update test to reflect
obstack changes.
2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/pendshr.c (pendfunc): New function that calls
pendfunc1.
* gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2004-02-04 Fred Fish <fnf@redhat.com>
* gdb.arch/gdb1431.c: Add underbar prefixed version of global
function symbols and update copyright years.
* gdb.arch/gdb1291.c: Ditto.
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2004-02-02 Fred Fish <fnf@redhat.com>
* gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
remote targets. Update copyright years.
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
* lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
support.
* gdb.base/langs.exp: Fix test which attempts to create
breakpoint on non-existent function to handle new pending
support.
* gdb.base/shlib-call.exp: Use gdb_breakpoint to set
a breakpoint.
* gdb.base/pending.exp: New test.
* gdb.base/pending.c: New file.
* gdb.base/pendshr.c: Ditto.
2004-02-02 David Carlton <carlton@kealia.com>
* gdb.cp/overload.exp: Add overloadNamespace tests.
* gdb.cp/overload.cc (dummyClass, dummyInstance): New.
(overloadNamespace, XXX): New.
(main): Call XXX::marker2.
2004-02-01 Fred Fish <fnf@redhat.com>
* gdb.base/dump.exp: Use runto_main instead of "runto main".
* gdb.base/finish.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/huge.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/return2.exp: Ditto.
* gdb.threads/gcore-thread.exp: Ditto.
2004-02-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2004-02-01 Mark Kettenis <kettenis@gnu.org>
* gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
that opening the file succeeds on OpenBSD.
2004-02-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/thread-specific.c: New file.
* gdb.threads/threads-specific.exp: New test script.
* lib/gdb.exp (gdb_test_multiple): Allow user patterns access
to expect_out.
2004-02-01 Mark Kettenis <kettenis@gnu.org>
* gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
only on the "print_small_structs from print_long_arg_list" test.
2004-02-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Kill a stray backslash.
From Jim Ingham <jingham@apple.com>:
* gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
agrees with the result from sending a tab.
2004-01-31 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/chng-syms.exp: Remove stray newline.
2004-01-31 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
*-*-openbsd*.
* gdb.asm/openbsd.inc: New file.
2004-01-30 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
append -static to link-flags for *-*-freebsd*, *-*netbsd* and
*-*solaris2*. Remove commented out default settings for
asm-flags. Replace gdb_compile with target_link.
2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
for all tests. Remove old hp-ux and cygnus xfail cases.
2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
* gdb.base/chng-syms.exp: New file.
* gdb.base/chng-syms.c: New file.
2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
Provide arms for current output in all my configurations.
2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Always call gdb_compile to
get the right preprocessor. Eval the output directly. Remove
special tests for hp_cc_compiler and hp_aCC_compiler. Remove
hp_f77_compiler and hp_f90_compiler completely.
(gdb_preprocess): Delete.
(get_compiler): Delete.
2004-01-24 Mark Kettenis <kettenis@gnu.org>
* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
<string.h>.
2004-01-24 Nick Roberts <nick@nick.uklinux.net>
* gdb.mi/mi-stack.exp: Update copyright.
2004-01-23 David Carlton <carlton@kealia.com>
* gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
test for cp_lookup_transparent_type.
* gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
call them.
2004-01-23 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-var-child.exp: Update copyright year. Move new test
after -var-update.
2004-01-23 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.cc (C::ensureRefs): New.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2004-01-20 Nick Roberts <nick@nick.uklinux.net>
* gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
case "-stack-list-locals 2".
* gdb.mi/mi-var-child.exp: Test for case
"-var-list-children --all-values NAME".
2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2004-01-18 Mark Kettenis <kettenis@gnu.org>
* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
used with gdb_test_multiple.
* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
read at address 0. This fixes PR testsuite/1504.
2004-01-18 Daniel Jacobowitz <drow@mvista.com>
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
Remove downloading, guessing the host executable, the calls to
gdb_file_cmd and gdb_target_cmd, and "load" support.
(infer_host_exec): New function broken out from gdb_load.
(gdb_load): New wrapper for gdbserver_gdb_load.
* lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
gdb_target_cmd. Use -target-select.
(mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
Download binaries to the host. Clear last_mi_remote_file when
we load a new binary.
(mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
call gdbserver_gdb_load and mi_gdb_target_cmd.
2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
type patterns.
2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Fix typo in test name of
"print Foo<volatile char*>::foo".
2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2004-01-16 Ben Elliston <bje@wasabisystems.com>
* gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
(clean mostlyclean): Remove empty rm.
2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/setvar.exp: Add copyright years.
2004-01-14 David Carlton <carlton@bactrian.org>
* gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
PR c++/1511 and update coment.
* gdb.cp/templates.exp: Update patterns to match current output.
If changes involve something other than whitespace, KFAIL
w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2004-01-14 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: Add tests involving classes defined within
namespaces.
* gdb.cp/namespace.cc (C::CClass): New.
* gdb.cp/namespace1.cc (C::OtherFileClass): New.
2004-01-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/sepdebug.exp: Bail out of the test if we don't know
what debug info we have. Print a better message if something goes
wrong while producing the separate debug info file.
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/callfuncs.c: Add copyright notice.
2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Add XFAIL for bug with protected
inheritance. PR gdb/1498, PR gcc/13539.
2004-01-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/gcore-thread.exp: Prefix name of binary with
test specific name.
* gdb.mi/gdb669.exp: Ditto.
* gdb.mi/mi-pthreads.exp: Ditto.
* gdb.mi/mi1-pthreads.exp: Ditto.
* gdb.mi/mi2-pthreads.exp: Ditto.
2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/member-ptr.cc: Add copyright notice.
2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
some patterns for recent versions of gcc and hpacc. Delete
calls to setup_xfail for hppa*-*-*. Delete redundant tests.
Delete tests that access a NULL pointer-to-member-data. This
script is still disabled for gcc.
2004-01-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.mi/mi2-basics.exp: Make sure that full pathnames are
escaped correctly.
2004-01-12 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/sepdebug.exp: New file.
* gdb.base/sepdebug.c: New file.
* lib/gdb.exp (separate_debug_filename): New procedure.
(gdb_gnu_strip_debug): New procedure.
2004-01-12 Andrew Cagney <cagney@redhat.com>
* gdb.mi/ChangeLog: Delete file. Renamed to ...
* gdb.mi/ChangeLog-1999-2003: New file.
2004-01-12 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
"Renaming a directory to a non-empty directory returns ENOTEMPTY
or EEXIST", treat EBUSY as an XFAIL.
2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/scope.exp: Remove obsolete setup_xfail for
hp_cc_compiler.
2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
decorations.
2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
and "(aCC)" decorations. Remove obsolete doco about old
test results.
2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.exp: Fix typo in doco.
2004-01-09 Mark Kettenis <kettenis@gnu.org>
* gdb.base/gdb1476.exp: Fix typo.
2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
file.
2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
* gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
Use gdb_compile. Remove restriction on gcc. Add some patterns
for recent version of gdb. Delete second half, which was a copy
of the first half with different build flags. This test is
still disabled because it is still not ready for production.
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Add copyright notice.
* gdb.cp/exception.exp: Add a notice that this file is broken
because of line number changes caused by addition of copyright
notice.
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
* gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept gnu abi 2.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/pthreads.c (done_making_threads): Remove extraneous
semicolon after end of function.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
* gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
boilerplate code for compiling and running the program under
test. Add some string method tests.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Add copyright notice.
* gdb.cp/bs15503.exp: Adjust line number.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
* gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/funcargs.exp: Remove obsolete setup_xfail for
hp_cc_compiler.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
* gdb.cp/ctti.exp: Use the marker instead of "next".
With gcc, run further before bailing.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/cttiadd.cc: Add copyright notice.
* gdb.cp/cttiadd1.cc: Likewise.
* gdb.cp/cttiadd2.cc: Likewise.
* gdb.cp/cttiadd3.cc: Likewise.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
Use gdb_test, gdb_test_multiple. Use floating-point values that
have exact representations in IEEE-ish formats.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/constvars.exp: Do not force lang=c++ if using HP
compilers. Delete duplicate call to get_compiler_info.
(local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
* gdb.base/volatile.exp: Likewise.
2004-01-07 Mark Kettenis <kettenis@gnu.org>
* gdb.base/gdb1476.exp: Only run the tests if we can't read the
memory at address 0.
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
to test for hp-ux assembler. Fix copyright years.
2004-01-07 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c (strerrno): Add "EBUSY".
2004-01-07 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
when creating the read-only file. From analysis by Roland McGrath
and Elena Zannoni.
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Call get_compiler_info with "c++".
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/cvexpr.c: Be type-safe with function pointers and
data pointers.
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/m-static.exp: Compile one source file at a time.
Delete unused call to get_compiler_info.
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
* gdb.base/call-rt-st.exp: Likewise.
* gdb.base/nodebug.exp: Likewise.
* gdb.base/volatile.exp: Likewise.
* gdb.cp/ref-types.exp: Likewise.
* gdb.cp/templates.exp: Likewise.
2004-01-05 Mark Kettenis <kettenis@gnu.org>
* gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
hppa*-hp-hpux*.
2004-01-04 Mark Kettenis <kettenis@gnu.org>
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
x86_64-*-*.
* gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
sparc64-*-* and sparc*-solaris2*.
2004-01-04 Mark Kettenis <kettenis@gnu.org>
* gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
return ${tests}" test. The ${tests} already mentions the
filename.
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/local.exp: Accept gcc abi 2.
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept gcc abi 2.
2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Remove supports_template_debugging.
* gdb.cp/templates.exp: Do not test supports_template_debugging.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept gcc abi 2.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept gcc abi 2.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Generate identical results as old version.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/overload.exp: Likewise.
* gdb.cp/virtfunc.exp: Likewise.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Modify some patterns to avoid a
mysterious bug with sourceware version of expect.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/overload.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to xfail missing "const" in "const char *"
and kfail PR gdb/1155.
2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to kfail PR gdb/1498.
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program. Use
gdb_test_multiple and gdb_test for all tests.
2004-01-01 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Update copyright year. Link statically
for *-*-solaris2*.
2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program several
times. Use gdb_test_multiple and gdb_test for all tests.
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/sect-cmd.exp: Handle compiling test case from multiple
source files.
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/environ.exp: Handle compiling test case from multiple
source files.
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
2003-12-17 Jim Blandy <jimb@redhat.com>
* gdb.base/freebpcmd.c: Add copyright notice.
* gdb.base/freebpcmd.exp: Mark the interesting failure as known.
2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
2003-12-13 Jim Blandy <jimb@redhat.com>
* gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
2003-12-12 Kevin Buettner <kevinb@redhat.com>
* gdb.asm/frv.inc: New file.
* gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
2003-12-09 Fred Fish <fnf@redhat.com>
* gdb.base/break.c (marker1, marker2, marker3, marker4): Move
functions to break1.c and leave prototypes behind. Add more
"set breakpoint NN here" comments.
* gdb.base/break1.c: New file.
* gdb.base/break.exp: Handle compiling test case from multiple
source files and change source file references as needed.
* gdb.base/completion.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/condbreak.exp: Use bp_locationNN variables instead of
hardcoded line numbers.
* gdb.base/define.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.base/completion.exp: Use "break1" for completion tests since
"break" is no longer a unique prefix.
2003-12-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented". When an unimplemented struct return
architecture, report incorrect values as a KFAIL
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.
2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/so-impl-ld.exp: Update copyright notice.
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
gcc_compiled with call to test_compiler_info.
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.
2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
2003-11-29 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
2003-11-27 Mark Kettenis <kettenis@gnu.org>
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.
2003-11-25 Adam Fedor <fedor@gnu.org>
* gdb.objc/objcdecode.exp: Test for PR objc/1238.
* gdb.objc/objcdecode.m: New file.
2003-11-25 Adam Fedor <fedor@gnu.org>
* gdb.objc/nondebug.exp: Test for PR objc/1236.
* gdb.objc/nondebug.m: New file.
2003-11-26 Ben Elliston <bje@wasabisystems.com>
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
NetBSD as it does on FreeBSD. Modelled on a similar change by
Mark Kettenis on 2003-05-30.
(link-flags): Set to "--entry _start" regardless of target.
Special linker flags are to be appended to $link-flags.
* gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/method.exp: Accept output of new demangler.
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb/class2.exp: New file.
* gdb/class2.cc: New file.
2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output
of new demangler.
2003-11-23 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
of gdb_test "run".
2003-11-23 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-unwind.exp: Don't use runto_main. Change
"continue" into "run".
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
* gdb.cp/ctti.exp: Likewise.
* gdb.cp/derivation.exp: Likewise.
* gdb.cp/member-ptr.exp: Likewise.
* gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
reference to gcc_compiled.
2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1463.
* gdb.base/structs.exp (start_structs_test): Call
get_debug_format before using the debug format.
2003-11-22 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_test_multiple): Add simple example.
* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Handle and recover from internal errors.
Replace "foo${n}" with "foo<n>" in test messages.
* gdb.base/structs.exp: Update copyright. Rewrite.
* gdb.base/structs.c: Update copyright. Rewrite.
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
resync count exceeded.
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
from the internal error.
* lib/gdb.exp (gdb_internal_error_resync): New procedure.
Original from Jim Blandy.
(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
KFAIL.
2003-11-17 Mark Kettenis <kettenis@gnu.org>
New testcase for PR backtrace/1435.
* gdb.arch/i386-unwind.exp: New file.
* gdb.arch/i386-unwind.c: New file.
2003-11-17 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (compiler_info): New global.
(test_compiler_info): New function.
(get_compiler_info): Set compiler_info.
* lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
"compiler_info" to gcc-<major>-<minor>.
2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.trace/configure: Remove.
2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
breakpoints.
* gdb.base/break.exp: Remove all references to explicit line
numbers.
2003-11-11 Nick Clifton <nickc@redhat.com>
* gdb.base/shreloc.exp: Do not run for targets which do not
support shared objects.
2003-11-10 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
Don't run tests if nofileio flag is given.
2003-11-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
* gdb.base/annota1.exp: Match at least one occurrence of the
signal handler annotation.
2003-11-06 Elena Zannoni <ezannoni@redhat.com>
* gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
as well as 'Watchpoint'.
2003-11-05 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c (routine): Handle early return from sleep.
2003-11-03 Kris Warkentin <kewarken@qnx.com>
* gdb.arch/gdb1291.c: New test file.
* gdb.arch/gdb1291.exp: New test script.
* gdb.arch/gdb1431.c: New test file.
* gdb.arch/gdb1431.exp: New test script.
2003-10-22 Michael Chastain <mec@shout.net>
* gdb.mi/pthreads.c: Add copyright notice.
2003-10-22 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c: Add copyright notice.
2003-10-20 Michael Chastain <mec@shout.net>
* gdb.base/gdb1056.exp: New test script.
2003-10-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/killed.exp: Use gdb_run_cmd.
2003-10-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
* gdb.threads/gcore-thread.exp: Likewise.
2003-10-13 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
(struct bit_flags_short_t): New bitfield type, based on short type.
(init_bit_flags_char): New fuction.
(init_bit_flags_short): Ditto.
(print_bit_flags_char): Ditto.
(print_bit_flags_short): Ditto.
(main): Add handling for bit_flags_char_t and bit_flags_short_t.
2003-10-11 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
* config/hmsirom.exp: Replace "Hitachi" with "Renesas".
* gdb.disasm/sh3.s: Ditto.
2003-10-07 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/switch-threads.exp: New test.
* gdb.threads/switch-threads.c: New source file.
2003-10-07 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Add sh specific case.
2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
* gdb.disasm/mn10200.exp: Delete obsolete file.
2003-09-29 Daniel Jacobowitz <drow@mvista.com>
* ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test)
(temporary_breakpoint_commands): Check noargs.
2003-09-25 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
of some print tests, where appropriate. Add tests for C::D::cd,
E::ce, F::cXfX, G::XgX.
* gdb.cp/namespace.cc: Add XgX, cXfX, ce.
2003-09-25 Richard Earnshaw <rearnsha@arm.com>
* lib/java.exp (java_init): Import target_alias before using it.
2003-09-25 David Carlton <carlton@kealia.com>
* gdb.base/corefile.exp: Delete obsolete setup_xfail.
2003-09-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp: Accomodate more instruction reordering
weirdness.
2003-09-17 Michael Chastain <mec@shout.net>
* gdb.cp/gdb1355.exp: New file.
* gdb.cp/gdb1355.c: New file.
2003-09-15 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
* gdb.asm/sh.inc: New file.
2003-09-11 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: Add tests for namespace types.
* gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
* gdb.stabs/weird.exp: Ditto.
2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-07 Michael Chastain <mec@shout.net>
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
'parse error'.
2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
* gdb.arch/i386-prologue.exp: Add checks for saved registers.
2003-08-30 Michael Chastain <mec@shout.net>
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
* gdb.gdb/observer.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.
2003-08-29 Mark Kettenis <kettenis@gnu.org>
* gdb.base/interrupt.exp: XFAIL "call function when asleep" for
*-*-*bsd*.
2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/dump.exp: Skip for ia64.
2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
* gdb.asm/asm-source.exp: Add ia64 support.
* gdb.asm/ia64.inc: New file.
2003-08-22 Michael Chastain <mec@shout.net>
* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in: Ditto.
* configure: Regnerate.
2003-08-18 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
* gdb.arch/i386-prologue.c (gdb1338): Add function.
2003-08-17 Daniel Jacobowitz <drow@mvista.com>
* mi-var-display.exp (-var-list-children weird): Accept function
pointers with argument types.
* mi1-var-display.exp (-var-list-children weird): Likewise.
* mi2-var-display.exp (-var-list-children weird): Likewise.
2003-08-17 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota3.exp: Add missing newline.
2003-08-06 Michael Chastain <mec@shout.net>
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2003-08-12 Michael Snyder <msnyder@redhat.com>
* gdb.base/float.exp: Add test for SH.
2003-08-10 Mark Kettenis <kettenis@gnu.org>
* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Remove reduntant completion test
on filename.
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
gdb.trace/save-trace.exp: Make sure that full pathnames are
escaped correctly.
2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* configure.in: Don't generate config.h from config.hin.
* configure: Regenerate.
* config.hin: Remove file.
* gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
* gdb.threads/pthreads.c: Ditto.
2003-08-07 Daniel Jacobowitz <drow@mvista.com>
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.asm/asm-source.exp : Add -lgloss to link-flags.
* gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
Replace ld24 with seth/add3.
2003-08-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.
2003-07-29 Michael Chastain <mec@shout.net>
* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.
2003-07-27 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern.
* gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
* gdb.threads/tls.exp: Recognize one case of the host library not
supporting TLS.
2003-07-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.
2003-07-24 Daniel Jacobowitz <drow@mvista.com>
From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.base/relocate.c (dummy): New padding array.
2003-07-22 Michael Snyder <msnyder@redhat.com>
* gdb.disasm/8300s.s: Fix syntax of bsr insn.
* gdb.disasm/h8300s.exp : Minor changes in disassembler output require
patterns to be more general, accepting old and new output.
Some output chars (such as '+') also must be quoted.
Some addresses are displayed numerically instead of
symbolically.
2003-07-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/return2.exp: Don't test long-long return.
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
* gdb.disasm/t01_mov.exp: Ditto.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t02_mova.exp: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t03_add.exp: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t04_sub.exp: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t05_cmp.exp: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t06_ari2.exp: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t07_ari3.exp: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t08_or.exp: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t09_xor.exp: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t10_and.exp: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t11_logs.exp: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t12_bit.exp: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
* gdb.disasm/t13_otr.exp: Ditto.
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/tls.exp :Add kfail for 'info address' case.
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/tls.c : New file.
* gdb.threads/tls.exp : New file.
* gdb.threads/tls-main.c : New file.
* gdb.threads/tls-shared.c : New file.
* gdb.threads/tls-shared.exp : New file.
2003-07-22 Andreas Schwab <schwab@suse.de>
* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
2003-07-20 Andreas Schwab <schwab@suse.de>
* gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.
2003-07-15 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
2003-07-15 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.exp: New file.
* gdb.base/gdb1250.c: New file.
2003-07-09 Michal Ludvig <mludvig@suse.cz>
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.
2003-07-09 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/tls.c: New file.
* gdb.threads/tls.exp: New file.
* gdb.threads/tls-main.c: New file.
* gdb.threads/tls-shared.c: New file.
* gdb.threads/tls-shared.exp: New file.
2003-07-09 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/annota1.exp: Make sure that we properly escape the
full path of the source file. Xfail more permissive patterns,
due to a compiler debug info problem.
2003-07-07 Andreas Schwab <schwab@suse.de>
* gdb.asm/m68k.inc: New file.
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
arguments"): Also match negative number.
* gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/store.c (charest): New typedef.
(add_char): Rename to add_charest, update.
(wack_char): Rename to wack_charest, update types. Return l + r
to keep r live across the call.
(wack_short, wack_int, wack_long, wack_longest, wack_float)
(wack_double, wack_doublest): Return l + r to keep r live across
the call.
* gdb.base/store.exp: Accomodate store.c changes.
2003-06-30 David Carlton <carlton@kealia.com>
* gdb.c++/maint.exp (test_invalid_name): New.
(test_first_component): Add tests for invalid names.
2003-06-29 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
output of '<VTT for class>' for virtual base classes.
2003-06-29 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Tab-complete "complet" instead of
"compl".
* gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
* gdb.base/volatile.exp: Likewise.
2003-06-29 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
gdb/1265.
2003-06-28 Michael Chastain <mec@shout.net>
Daniel Jacobowitz <drow@mvista.com>
* gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
initial line count of 'captured_main' from 26 to 32.
(test_with_self): Allow xmalloc call to be interleaved with the
preceding two lines.
2003-06-24 Joel Brobecker <brobecker@gnat.com>
* gdb.base/bang.exp: New testcase.
2003-06-23 Joel Brobecker <brobecker@gnat.com>
* gdb.base/langs.exp: Add some tests for the "minimal" language
support.
2003-06-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.objc/basicclass.exp: Return -1 if we cannot compile
the testcase.
2003-06-22 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.
2003-06-22 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/pr-1210.cc: New file.
* gdb.c++/pr-1210.exp: New file.
2003-06-21 Daniel Jacobowitz <drow@mvista.com>
* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
000-exec-continue.
2003-06-15 Mark Kettenis <kettenis@gnu.org>
* gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
on *-*-*bsd* instead of *-*-freebsd*.
2003-06-14 Andrew Cagney <cagney@redhat.com>
* gdb.base/store.exp: Test longest and doublest. Test all
parameters. Weaken return statement match.
* gdb.base/store.c: Add longest and doublest - aka long long and
long double functions. Put all parameters into local register
variables. Use negative values.
2003-06-14 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
-Wformat errors. Add lost line. Use WEXITSTATUS to get system
exit status.
* gdb.base/fileio.exp: Disable target when nointerrupts and
noinferiorio, instead of limiting it to remote. Use remote_exec
instead of system.
2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/float.exp: Add ia64 support.
2003-06-12 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/fileio.exp: Run only on remote targets.
2003-06-10 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/fileio.c: New file, testing File-I/O.
* gdb.base/fileio.exp: Ditto.
2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
* gdb.base/shreloc.exp: New file, check symbol values obtained from
shared objects after relocation at load time (gdb PR/1132).
* gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
as above, part of the shared object relocation test.
2003-06-08 Mark Kettenis <kettenis@gnu.org>
* gdb.base/readline.exp: Add tests for operate-and-get-next with a
fully filled history list.
* gdb.base/gdb_history: New file.
* gdb.base/signals.exp: XFAIL "continue to func1" on
i*86-*-freebsd*.
* gdb.base/attach.exp: When trying to attach to a nonexistent
process, make it possible to specify the PID based on the target,
and do so for *-*-freebsd*.
2003-06-02 Richard Henderson <rth@redhat.com>
* gdb.base/float.exp: Add expected regexp for alpha-*-*.
2003-06-02 Richard Henderson <rth@redhat.com>
* gdb.base/selftest.exp: Next over lim_at_start initialization.
2003-06-02 Richard Henderson <rth@redhat.com>
* gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
2003-06-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
of globalvar.
2003-06-01 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Check for memory read errors in
disassembler test on *BSD too.
2003-06-01 Richard Henderson <rth@redhat.com>
* gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
for .frame.
(gdbasm_call): Lose ldgp.
(gdbasm_startup): Add frame information.
* gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
2003-05-31 Mark Kettenis <kettenis@gnu.org>
* gdb.base/float.exp: Expect similar output for x86_64-*-* as for
i?86-*-*.
2003-05-30 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Make sure the final link succeeds on
FreeBSD.
2003-05-29 Richard Henderson <rth@redhat.com>
* gdb.asm/alpha.inc: New file.
* gdb.asm/asm-source.exp: Use it.
2003-05-29 Jim Blandy <jimb@redhat.com>
* gdb.base/corefile.exp: Find corefiles on Linux, which names them
'core.PID'.
2003-05-22 Jim Blandy <jimb@redhat.com>
* gdb.base/corefile.exp: Tolerate stuff after argument parens in
backtrace.
2003-05-20 David Carlton <carlton@math.stanford.edu>
* gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
this time.
2003-05-19 David Carlton <carlton@bactrian.org>
* gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
* gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
2003-05-19 David Carlton <carlton@bactrian.org>
* gdb.c++/namespace.exp: Add namespace scope and anonymous
namespace tests.
Bump copyright date.
* gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
(main): Call C::D::marker2.
* gdb.c++/namespace1.cc: New file.
2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
Roland McGrath <roland@redhat.com>
* gdb.threads/linux-dp.exp: Account for fact that in nptl model
there is no manager thread.
2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/schedlock.exp: Remove assumption that all threads
will run in a particular small time slice. Also ensure we break
in one of the child threads rather than the main thread.
2003-05-07 Jim Blandy <jimb@redhat.com>
Add support for assembly source testing on the s390x.
* gdb.asm/asm-source.exp: Add a case for the s390x-*-*
architecture.
* gdb.asm/s390x.inc: New file.
* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
succession of 'if' statements.
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Add tests for "maint print dummy-frames".
2003-05-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
2003-05-02 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/charset.exp: Update based on new behavior of set/show
charset commands.
2003-05-01 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
variable do not give memory errors.
2003-04-30 Adam Fedor <fedor@gnu.org>
* Makefile.in (ALL_SUBDIRS): Add gdb.objc
* configure.in (AC_OUTPUT): Add gdb.objc/Makefile
* gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
gdb.objc/basicclass.m: : New files
* lib/gdb.exp (gdb_compile_objc): New procedure.
2003-04-27 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/signals.exp: Make backtrace tests more specific.
2003-04-23 David Carlton <carlton@bactrian.org>
* gdb.c++/maint.exp (test_first_component): Add tests for
'operator' in more locations.
2003-04-16 Kevin Buettner <kevinb@redhat.com>
* gdb.base/args.exp: Invoke gdb_load for simulator targets.
2003-04-16 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Make 'info func mark' complete on 'info
func marke' instead. Update test name.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/schedlock.c: Change type of thread function argument
to long, to avoid warnings on 64-bit platforms.
2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
attaching to nonexistent process.
2003-04-11 Jim Blandy <jimb@redhat.com>
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.cc: Place comments on the lines to which the
marker function might return.
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: Look for those comments to check that we've
returned to the right place, instead of checking line numbers.
2003-04-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
match on sourcefile name, instead of directory name.
2003-04-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.
2003-04-09 Jim Blandy <jimb@redhat.com>
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.
2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
* gdb.base/break.exp: Revert last patch.
2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
2003-04-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Make "print add" messages unique.
* gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
matching directories by the name breakpoint.
* gdb.base/pointers.exp: Make "ptype pppC" message consistent.
Make "continue to marker1" consistent.
* gdb.base/call-rt-st.exp: Make "finish out from loop_count"
message consistent.
* lib/gdb.exp: Put "the program is no longer running", and "the
program exited" in parenthesis.
* lib/mi-support.exp: Ditto.
2003-04-02 Bob Rossi <bob_rossi@cox.net>
* gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
2003-03-29 Andrew Cagney <cagney@redhat.com>
* gdb.base/sizeof.c (main): Print the value of '\377'.
* gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-27 Michael Chastain <mec@shout.net>
* gdb.base/gdb1090.exp: New file.
* gdb.base/gdb1090.cc: New file.
2003-03-27 J. Brobecker <brobecker@gnat.com>
* gdb.gdb/observer.exp: New regression test.
2003-03-27 Michael Chastain <mec@shout.net>
* gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
* gdb.base/ptype.exp: Likewise.
2003-03-27 Corinna Vinschen <vinschen@redhat.com>
* gdb.c++/casts.exp: Fix startup to run also on embedded targets.
2003-03-26 Michael Chastain <mec@shout.net>
* gdb.base/ptype.exp: Actually use some typedef'd types.
2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
* gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/default.exp: Fix regular expression.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/args.exp: Fix regular expression.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/help.exp: Allow Win32 child process.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/default.exp: Check for win32 specific message when calling
"run" without executable.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/args.exp: Expect .exe in output.
2003-03-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
2003-03-17 Andrew Cagney <cagney@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
vector registes.
* gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
* gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2003-03-17 David Carlton <carlton@math.stanford.edu>
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
test, for PR breakpoints/38.
Call test_watchpoint_and_breakpoint.
* gdb.base/watchpoint.c (func3): New function.
(main): Call func3.
2003-03-04 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Accept valid const in "print
Garply<Garply<char> >:: garply".
(test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
with respect to PR c++/1111; note also PR c++/1113.
(test_template_breakpoints): KFAIL "constructor breakpoint" with
respect to PR c++/1062.
KFAIL "destructor breakpoint" with respect to PR c++/1112.
2003-03-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
with respect to PR c++/57.
KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
c++/826.
Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
respect to PR c++/57.
2003-03-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with
respect to PR c++/33 into FAILs.
2003-03-03 Michael Chastain <mec@shout.net>
* configure.in: Update copyright years.
2003-03-03 Michael Chastain <mec@shout.net>
* Makefile.in: Update copyright years.
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
print class instead of struct and/or superfluous protection
specifiers, as long as the resulting output is equivalent to the
source code.
Delete FIXME from end of messages on tests that don't need
fixing.
2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Allow const in the two
Foo<volatile char *>::foo tests.
2003-02-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/restore.c (main): Return zero, so exit code
will be consistant.
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
char *>::foo" test with respect to PR c++/33. Create a new test
which is identical to that one except that it doesn't put the
space between the "char" and the "*"; KFAIL it, too.
2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
template types into either PASSes or KFAILs (corresponding to PR
c++/57). Tweak indentation. Update copyright.
2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
* lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
2003-02-13 Michael Chastain <mec@shout.net>
* gdb.base/exprs.exp: Remove i960 remnants.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/ptype.exp: Likewise.
2003-02-14 David Carlton <carlton@math.stanford.edu>
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
pEe->D::vg()" from XFAIL to KFAIL.
2003-02-13 Jason Molenda (jmolenda@apple.com)
* gdb.base/maint.exp: Update maint print statistics regexp to include
new entries.
2003-02-13 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp: Remove call to get_debug_format.
2003-02-12 Michael Chastain <mec@shout.net>
* gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
* gdb.c++/templates.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.
2003-02-06 Jason Molenda (jason-cl@molenda.com)
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.
2003-02-05 Michael Chastain <mec@shout.net>
* gdb.base/dump.exp: Add missing copyright line.
2003-02-05 Jason Molenda (jason-cl@molenda.com)
* gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
at the beginning so the breakpoint doesn't get set on the loop.
2003-02-05 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.
2003-02-05 Keith Seitz <keiths@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* gdb.mi/mi-cli.exp: New file.
2003-02-04 Michael Chastain <mec@shout.net>
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
Call perror and then continue.
2003-02-03 Michael Chastain <mec@shout.net>
* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.
2003-02-05 Jim Blandy <jimb@redhat.com>
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
it's local to foobar. Check for it there, and check that it's not
present in main.
* gdb.c++/local.cc (marker2): New function.
(foobar): Call marker1.
(main): Call marker2 instead of marker1.
2003-02-04 Andrew Cagney <ac131313@redhat.com>
* gdb.disasm/mn10200.exp: Obsolete file.
* gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2003-02-04 David Carlton <carlton@math.stanford.edu>
* gdb.c++/overload.exp: Test intToChar(1).
* gdb.c++/overload.cc (intToChar): New.
(main): Call intToChar.
2003-02-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
'might_kfail' arg.
KFAIL some of the continue_to_bp_overloaded calls, according to
PR c++/1025.
2003-02-01 Michael Chastain <mec@shout.net>
* gdb.base/advance.c (marker1): New marker function.
* gdb.base/advance.exp: When the 'advance' command lands on the
return breakpoint, it can legitimately stop on either the
current line or the next line. Accommodate both outcomes.
* gdb.base/until.exp: Likewise.
2003-02-02 Andrew Cagney <ac131313@redhat.com>
2002-11-10 Jason Molenda (jason-cl@molenda.com):
* gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
now a list, not a tuple.
* gdb.mi/mi-var-display.exp: Ditto.
* gdb.mi/gdb792.exp: Ditto.
2003-02-01 Andrew Cagney <ac131313@redhat.com>
From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
* gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
stack backtraces.
* gdb.mi/mi-syn-frame.c: Part of same.
2003-02-01 Mark Kettenis <kettenis@gnu.org>
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp: Return instead of calling
gdb_suppress_entire_file.
2003-02-01 Mark Salter <msalter@redhat.com>
* gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
2003-01-31 Mark Salter <msalter@redhat.com>
* lib/mi-support.exp (mi_gdb_load): Support remote targets.
Support empty arg.
2003-01-30 Michael Chastain <mec@shout.net>
* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
This was a workaround for a UTF-8 bug in readline 4.3. The bug
has been fixed in gdb/readline on 2003-01-09.
2003-01-29 Michael Snyder <msnyder@redhat.com>
* gdb.base/maint.exp: Allow for leading underscore in symbol.
* gdb.base/display.exp: Allow for leading underscore in symbol.
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-22 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test_multiple): New function, cloned from
gdb_test. Accept a list of expect arguments as the third
parameter.
(gdb_test): Use it.
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations. Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.
2003-01-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.
2003-01-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2003-01-15 Mark Kettenis <kettenis@gnu.org>
* gdb.base/default.exp: Adapt "info float" test for recent changes
to that command. Add test for "info vector".
* gdb.base/float.exp: New file. Add test for "info float" that
resembles the old test in gdb.base/default.exp.
2003-01-15 David Carlton <carlton@math.stanford.edu>
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.
2003-01-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/args.c: New file.
* gdb.base/args.exp: New file.
2003-01-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/virtfunc.exp: Remove fixed XFAIL.
2003-01-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/killed.exp: Use KFAIL for gdb/568.
2003-01-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
dates.
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
(ptype &*"foo").
* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-console.exp: Remove extra "(known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/overload.exp: Remove some fixed XFAILs.
2003-01-09 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/detach.exp: New test.
2003-01-09 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (ALL_SUBDIRS): New variable.
(subdirs, clean, distclean): Use it.
* gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
regenerating Makefile, since it is generated from the top level.
* gdb.asm/Makefile.in: Likewise.
* gdb.base/Makefile.in: Likewise.
* gdb.c++/Makefile.in: Likewise.
* gdb.disasm/Makefile.in: Likewise.
* gdb.java/Makefile.in: Likewise.
* gdb.mi/Makefile.in: Likewise.
* gdb.threads/Makefile.in: Likewise.
* gdb.trace/Makefile.in: Likewise.
2003-01-09 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
Add copyright year 2003.
2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
When selecting a thread, 'line' and 'file' are optional.
* gdb.mi/mi1-pthreads.exp: Likewise.
2003-01-06 Andreas Schwab <schwab@suse.de>
* lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
failures.
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/844
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
(gdb_compile_pthreads): Pass "quiet" to gdb_compile.
* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
instead of calling gdb_suppress_entire_file.
* gdb.threads/print-threads.exp: Likewise.
* gdb.threads/schedlock.exp: Likewise.
* gdb.threads/killed.exp: Return instead of calling
gdb_suppress_entire_file.
* gdb.threads/linux-dp.exp: Likewise.
* gdb.threads/pthreads.exp: Likewise.
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
stabs.
* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
* gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/casts.exp: Correct regexp.
2003-01-04 Mark Kettenis <kettenis@gnu.org>
* configure.in: Call AC_CONFIG_HEADER. Don't call
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
2003-01-03 Michael Chastain <mec@shout.net>
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2003-01-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/store.exp: Fix regular expressions.
2002-12-28 Mark Kettenis <kettenis@gnu.org>
* configure.in: Rewrite.
* configure: Regenerated.
2003-01-03 David Carlton <carlton@math.stanford.edu>
* gdb.base/psymtab.exp: New file.
* gdb.base/psymtab1.c: Ditto.
* gdb.base/psymtab2.c: Ditto.
2002-12-23 Adam Fedor <fedor@gnu.org>
* gdb.base/maint.exp: Update expect output to include 'ObjC'.
2002-12-23 David Carlton <carlton@math.stanford.edu>
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
and current_directory initialization.
2002-12-22 Jim Blandy <jimb@redhat.com>
* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
rather than as part of the output file name.
* gdb.base/attach.exp: There's no need to copy the test program to
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.
2002-12-21 Jim Blandy <jimb@redhat.com>
* gdb.c++/psmang.exp: Doc fix.
* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
test.
2002-12-20 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-18 Michael Chastain <mec@shout.net>
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/try_catch.cc: Add marker comments.
* gdb.c++/try_catch.exp: Get line numbers from marker comments.
* gdb.c++/m-data.cc: Delete namespace __gnu_test.
* gdb.c++/m-static.cc: Ditto.
* gdb.c++/m-static1.cc: Ditto.
* gdb.c++/try_catch.cc: Ditto.
2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
to see whether we are using the new -environment-directory
command which resets via -r or the old version of the command
which may prompt the user. Part of fix for gdb/741.
2002-12-13 Andrew Cagney <ac131313@redhat.com>
* gdb.fortran/types.exp: Update obsolete comment.
* gdb.fortran/exprs.exp: Ditto.
* lib/gdb.exp: Delete obsolete code.
* gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
* gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
* gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
* gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
* gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
* gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
* gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
* gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
* gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
* gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
* gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
* gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
* gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
* gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
* gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
* gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
* gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
* gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
* gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
* gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
* gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
* gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
* gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
* gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
* gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
* gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
* gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
* gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
* gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
* gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
* gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
* gdb.chill/result.exp, gdb.chill/string.ch: Delete.
* gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
* gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
* gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
* gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
* gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2002-12-11 David Carlton <carlton@math.stanford.edu>
* gdb.c++/m-data.exp: Add test for members that shadow global
variables: see PR gdb/804.
* gdb.c++/m-data.cc: Ditto.
2002-12-10 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2002-12-06 David Carlton <carlton@math.stanford.edu>
* gdb.base/store.c: Don't declare functions static.
2002-12-04 Andrew Cagney <ac131313@redhat.com>
* gdb.base/store.exp, gdb.base/store.c: New files.
2002-12-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/selftest.exp: Update for current gdb.
2002-12-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp: Only dump symbols from one source file
or objfile.
2002-12-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/step-test.exp: Allow MIPS to return to the line of a
function call.
2002-11-25 Jim Blandy <jimb@redhat.com>
* lib/mi-support.exp (mi_delete_breakpoints): Change name of
function appearing in error message.
2002-11-21 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Verify the startup message
for mi1 and current mi is in correct format. New mi startup message
should be in mi console format. This is part of fix for PR gdb/604.
2002-09-18 Fernando Nasser <fnasser@redhat.com>
* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".
2002-10-22 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/schedlock.c (args): Make unsigned.
2002-10-21 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
numbers. Allow "foo2|selected stack frame".
* gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
* gdb.asm/asmsrc2.s: Likewise.
* gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
comments.
* gdb.asm/mips.inc: New file.
2002-10-18 Adam Fedor <fedor@gnu.org>
* gdb.base/default.exp: Update expected output to include 'ObjC'.
* gdb.base/help.exp: Likewise.
2002-10-17 Kevin Buettner <kevinb@redhat.com>
* gdb.base/constvars.c (struct crass, struct crisp): New structs.
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-10-02 Jim Blandy <jimb@redhat.com>
* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2002-10-01 Andrew Cagney <ac131313@redhat.com>
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-09-29 Andrew Cagney <ac131313@redhat.com>
* mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
* mi0-disassemble.exp, mi0-eval.exp: Delete.
* mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
* mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
* mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
* mi0-var-block.exp, mi0-var-child.exp: Delete.
* mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2002-09-27 Kevin Buettner <kevinb@redhat.com>
* gdb.base/annota1.exp (info break): Make directory components of
path optional since not all compilers emit this debug information.
* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
step ends up stepping out of the function instead of stopping on
the epilogue.
2002-09-26 Keith Seitz <keiths@redhat.com>
* lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
executable to start insight instead of gdb.
2002-09-25 Andrew Cagney <cagney@redhat.com>
* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-24 Andrew Cagney <ac131313@redhat.com>
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
test_isolated_complaints.
(test_empty_complaint): New function.
(test_empty_complaints): New function. Check no output when no
complaints.
2002-09-19 Jim Blandy <jimb@redhat.com>
* gdb.base/charset.exp, gdb.base/charset.c: New files.
2002-09-19 Andrew Cagney <ac131313@redhat.com>
* gdb.gdb/complaints.exp: New file.
2002-09-18 Andrew Cagney <ac131313@redhat.com>
* gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-18 David Carlton <carlton@math.stanford.edu>
* gdb.c++/m-static.exp: Remove breakpoints depending on line
numbers, and replace them by a single breakpoint after the
constructors are all finished.
Add test 4.
* gdb.c++/m-static.cc: Add test 4.
* gdb.c++/m-static.h: New file.
* gdb.c++/m-static1.cc: New file.
* gdb.c++/printmethod.exp: New file.
* gdb.c++/printmethod.cc: New file.
* gdb.c++/pr-574.exp: New file.
* gdb.c++/pr-574.cc: New file.
2002-09-18 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Add handling of "step to end of run" for
embedded targets which never actually exit.
2002-09-18 Fernando Nasser <fnasser@redhat.com>
* gdb.base/ending-run.exp: Properly mark "continue after exit" and
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Fix expected string for _wrap_main to
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
Add newline to expected string in "step out of main (status wrapper)"
case.
2002-09-18 Corinna Vinschen <vinschen@redhat.com>
* lib/gdb.exp (rerun_to_main): Allow restarting application.
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-17 Tom Tromey <tromey@redhat.com>
* gdb.base/printcmds.exp (test_print_string_constants): Expect
\000, not \0, in double-quoted string.
2002-09-14 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/commands.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.
2002-09-13 Corinna Vinschen <vinschen@redhat.com>
* lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2002-09-12 Joel Brobecker <brobecker@gnat.com>
* gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2002-09-10 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
runto proc.
(mi_run_to_main): Use mi_runto.
(mi_execute_to): Renamed from mi_run_to. Changed all callers.
2002-09-10 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
regexp for stopping at main. Could have multiple event notifications.
Don't assume that main was declared with no parameters.
(mi_next): Use mi_step_to.
(mi_step): Use mi_next_to.
2002-09-09 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/default.exp: Fix expected string in `info float' test.
2002-09-09 Ben Elliston <bje@redhat.com>
* config/mips.exp: Update comments.
* config/mips-idt.exp: Likewise.
* config/nind.exp: Likewise.
* config/slite.exp: Likewise.
* config/sparclet.exp: Likewise.
* config/udi.exp: Likewise.
* config/vx.exp: Likewise.
* config/vxworks29k.exp: Likewise.
2002-09-05 Jim Blandy <jimb@redhat.com>
* gdb.threads/killed.exp: Fix test failure message.
2002-09-04 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp: Update copyright.
(mi_gdb_test): Increase the priority of the expected pattern
so that it matches gdb_test.
2002-09-03 Keith Seitz <keiths@redhat.com>
* lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
Use integer comparison instead of string comparison for testing
whether binary was built.
2002-09-03 Jim Blandy <jimb@redhat.com>
* gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2002-08-29 Jim Blandy <jimb@redhat.com>
* gdb.threads/pthreads.exp: Move the portable thread compilation
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-29 Keith Seitz <keiths@redhat.com>
* lib/mi-support.exp (mi_gdb_test): Add global declaration for
expect_out so that callers can get at it.
2002-08-23 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/print-threads.c: New file.
* gdb.threads/print-threads.exp: New file.
* gdb.threads/schedlock.c: New file.
* gdb.threads/schedlock.exp: New file.
2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
not altivec.c.
2002-08-17 Mark Kettenis <kettenis@gnu.org>
* gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
targets. The problem should be fixed now.
2002-08-15 Mark Kettenis <kettenis@gnu.org>
* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2002-07-24 change that removes final dots from error messages.
2002-08-13 Tom Tromey <tromey@redhat.com>
* gdb.base/readline.exp: New file.
2002-08-01 Andrew Cagney <ac131313@redhat.com>
* lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
supress message.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
2002-07-30 Kevin Buettner <kevinb@redhat.com>
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
2002-07-29 Kevin Buettner <kevinb@redhat.com>
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files. The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.
2002-07-19 Daniel Jacobowitz <drow@mvista.com>
* config/gdbserver.exp (gdb_load): Don't use TCL varargs.
Improve support for reusing an exec file. Copy exec file
to target, and run gdbserver on the target instead of on the host.
2002-07-18 Jim Blandy <jimb@redhat.com>
* gdb.base/ending-run.exp: Don't expect to see the program end in
some orderly fashion when we're running on a real stand-alone
board.
* gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.
2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
* gdb.base/attach.exp: Add patterns to match output from /proc-based
systems.
Move comments in expect statements to inside the actions, so that they
don't get matched against.
2002-07-10 Mark Kettenis <kettenis@gnu.org>
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
function when asleep" test.
2002-07-10 Andrew Cagney <ac131313@redhat.com>
* gdb.base/page.exp: Rewrite to handle problems with very long
`info set' output. Update copyright.
2002-06-26 Andrew Cagney <ac131313@redhat.com>
* gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
gdb.threads-hp.
* gdb.hp/configure: Regenerate.
* gdb.hp/gdb.threads-hp/configure.in: Delete file.
* gdb.hp/gdb.threads-hp/configure: Delete file.
* gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
2002-06-11 Jim Blandy <jimb@redhat.com>
* lib/gdb.exp (get_debug_format): Tolerate message saying whether
preprocessor macro information is present.
* macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
tests.
2002-06-06 Michael Snyder <msnyder@redhat.com>
* gdb.base/overlays.exp: Record addresses of overlay
functions in TCL variables rather than in GDB variables,
to avoid having GDB convert them to pointers (with loss
of information).
* gdb.base/d10v.ld: Merge in several years worth of
default linker script changes.
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-06 Michal Ludvig <mludvig@suse.cz>
* gdb.asm/asm-source.exp: Add x86-64 target.
* gdb.asm/x86_64.inc: New.
2002-05-30 Michael Chastain <mec@shout.net>
From Benjamin Kosnik <bkoz@redhat.com>:
* gdb.c++/m-static.cc: New file.
* gdb.c++/m-static.exp: New file.
2002-05-28 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-ar-st.exp: Allow for reduced floating point
precision.
2002-05-27 Michael Chastain <mec@shout.net>
From Benjamin Kosnik <bkoz@redhat.com>:
* gdb.c++/m-data.cc: New file.
* gdb.c++/m-data.exp: New file.
2002-05-27 Michael Chastain <mec@shout.net>
From Benjamin Kosnik <bkoz@redhat.com>:
* gdb.c++/try_catch.cc: New file.
* gdb.c++/try_catch.exp: New file.
2002-05-27 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-26 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
* lib/gdb.exp (gdb_wrapper_init): Just because
gdb_wrapper_file exists, this does not mean that the file
should not be rebuilt. That is what gdb_wrapper_initialized
is for.
(default_gdb_init): Reset gdb_wrapper_initialized.
2002-05-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/all-bin.exp: Revise previous patch by just reducing
the precision of the floating point test results.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
2002-05-19 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-19 Elena Zannoni <ezannoni@redhat.com>
* configure.in (configdirs): Add gdb.arch.
* configure: Regenerate.
2002-05-17 Jim Blandy <jimb@redhat.com>
* gdb.base/completion.exp: Recognize the more detailed error
messages produced by the macro expander's lexical analyzer.
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.c: New file.
* gdb.arch/altivec-abi.exp: New file.
* gdb.arch/altivec-regs.c: New file.
* gdb.arch/altivec-regs.exp: New file.
2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/maint.exp (maint print type): Update for new type
structure.
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch: New directory.
* gdb.arch/configure.in: New file.
* gdb.arch/configure: New file.
* gdb.arch/Makefile.in: New file.
2002-05-13 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add v850 as supported target.
* gdb.asm/v850.inc: New file.
2002-05-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-12 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-10 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Fix typo.
2002-05-10 Jim Blandy <jimb@redhat.com>
* gdb.base/printcmds.exp: Don't xfail the ptype command. This is
a bug.
* gdb.base/printcmds.exp (test_integer_literals_rejected):
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
2002-05-09 Mark Kettenis <kettenis@gnu.org>
* gdb.c++/method.exp: Fix typo.
2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
Add iftarget clause for strongarm.
2002-05-06 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
(gdb_continue_to_end): Accept output from status wrapper.
* gdb.base/ending-run.exp: Add case for output from status wrapper.
Clean up fail messages to match pass messages.
Enable the "needs_status_wrapper" testsuite feature.
* lib/gdb.exp (gdb_wrapper_init): New procedure.
(gdb_compile): Conditionally call gdb_wrapper_init.
* gdb.base/a2-run.exp: Recognize output from status wrapper.
* gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare <graydon@redhat.com>
* config/sid.exp: Include support for "rawsid" protocol.
2002-05-03 Jim Blandy <jimb@redhat.com>
* gdb.c++/hang.exp: Check for corruption of the cv_type chain.
* gdb.c++/hang3.C: New file.
2002-05-04 Andrew Cagney <ac131313@redhat.com>
* gdb.base/default.exp: Remove obsolete code.
* gdb.c++/misc.exp: Ditto. Update copyright.
* gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
* gdb.base/whatis.exp: Ditto. Update copyright.
* gdb.base/scope.exp: Ditto. Update copyright.
* gdb.base/ptype.exp: Ditto. Update copyright.
* gdb.base/printcmds.exp: Ditto. Update copyright.
* gdb.base/opaque.exp: Ditto. Update copyright.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto. Update copyright.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/watchpoint.exp: Add xscale target.
* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.
2002-05-01 Jim Blandy <jimb@redhat.com>
* gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
gdb.c++/hang.exp: New test.
2002-05-01 Fred Fish <fnf@redhat.com>
* gdb.base/completion.exp: Handle completions of "./Make" for
more than one completion possibility, as is the case when we
build and test in the source tree.
2002-04-29 Anthony Green <green@redhat.com>
* gdb.java/jmisc1.exp: New file.
* gdb.java/jmisc2.exp: New file.
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/help.exp: Change 'help status' to allow for target
dependent output differences.
2002-04-22 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-22 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-17 David S. Miller <davem@redhat.com>
* gdb.asm/sparc64.inc: New file.
* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 Elena Zannoni <ezannoni@redhat.com>
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
instruction file directly into the build tree. Clean up at end of
test.
2002-04-18 David S. Miller <davem@redhat.com>
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
* gdb.base/maint.exp: Likewise.
2002-04-18 Kevin Buettner <kevinb@redhat.com>
* gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
``-fpic'' when compiling files comprising a shared library, but
it does need additional linker flags in order to find shared
libraries at run time.
2002-04-18 Kevin Buettner <kevinb@redhat.com>
* gdb.base/cvexpr.c (use): New function.
(main): Invoke use() on all global variables to prevent
some linkers from deleting these otherwise unused symbols.
2002-04-17 Michael Chastain <mec@shout.net>
From David S. Miller <davem@redhat.com>
* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
handle 64-bit platforms correctly.
2002-04-12 Michael Snyder <msnyder@redhat.com>
From Jim Blandy <jimb@redhat.com>
* gdb.base/foo.c (foox): Remove section attribute; the linker
script can handle this instead.
* gdb.base/bar.c (barx): Same.
* gdb.base/baz.c (bazx): Same.
* gdb.base/grbx.c (grbxx): Same.
* gdb.base/overlays.exp: New test: check that GDB's manual overlay
manager doesn't automatically unmap overlays unnecessarily.
2002-04-10 Martin M. Hunt <hunt@redhat.com>
* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.
2002-04-09 Michael Chastain <mec@shout.net>
* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Correct target board test.
2002-04-08 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
in a const method. Add some xfail and fail cases for configurations
that do not emit the "const ...".
2002-04-07 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
Accept "A * const" and "const A * const" as type of "this".
Fix spelling of getFunky throughout. Make messages uniform.
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Work around for PR gdb/285:
* gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2002-04-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.asm/asm-source.exp: Build symbolic link to arch specific
instructions file at run time instead of configure time.
Sometimes we run the test in a directory that is not the one we
configured in.
* gdb.asm/configure.in: Delete creation of symlink.
* gdb.asm/configure: Regenerate.
2002-04-05 J. Brobecker <brobecker@gnat.com>
* gdb.gdb/xfullpath.exp: New test, to exercise the new
xfullpath () function.
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/Makefile.in: Correct dependencies.
* gdb.asm/powerpc.inc: New file.
* gdb.asm/asm-source.exp: Add PowerPC.
* gdb.asm/configure.in: Likewise.
* gdb.asm/configure: Regenerated.
2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.exp: New file.
* gdb.base/relocate.c: New file.
2002-04-04 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Update comment regarding stopping in
memcpy/bcopy calls inserted as part of the compiler runtime.
2002-04-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2002-04-03 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
(gdb_expect): Remove $notransfer hack.
2002-04-02 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp ("calling method for small class"): Match
updated register output.
2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/452
* gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
when finished. Make gdb_file_cmd send "exec-file" when
appropriate.
2002-03-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add tests for dump, append, and restore.
* gdb.base/help.exp: Add tests for dump, append, and restore.
* gdb.base/dump.exp: New file, test dump, append and restore.
* gdb.base/dump.c: New file.
2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Modify expect strings to reflect
clean-ups in help messages.
2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
have debugging info for those functions and the compiler uses them
internally to copy structs around.
2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: Revert the change made yesterday and add note
about why we don't list the default lines for remote targets.
2002-03-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: This test works on remote targets so remove
the short circuit for remote targets. Update copyright.
2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/attach.exp: Fix logic error that was suppressing this
test for all non hppa*-*-hpux* targets, instead of the hp target.
Move comments closer to the suppression point. Also now need to
check that we are running natively.
2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore. Update copyright.
* gdb.base/help.exp: Add test for gcore. Update copyright.
2002-03-06 Fred Fish <fnf@redhat.com>
* gdb.base/funcargs.c: Remove extraneous ';' character.
* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2002-03-04 Michael Chastain <mec@shout.net>
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
accommodate gcc v3 function signature.
* gdb.mi/mi0-var-cmd-exp: Ditto.
2002-02-24 Andrew Cagney <ac131313@redhat.com>
* testsuite/gdb.base/huge.c: Replace ``Linux'' with either
``GNU/Linux'' or ``Linux kernel''
* testsuite/gdb.threads/pthreads.c: Ditto.
2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
2002-02-21 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp: Parse the output from `info sources' one
filename at a time, and watch for the ones we want to see.
* gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
2002-02-20 Andrew Cagney <ac131313@redhat.com>
* gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.
* gdb.base/sizeof.exp: Check for signed and unsigned char. Check
for correctly sized writes. Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
to setup_xfail. Document some of the remaining calls.
2002-02-18 Michael Chastain <mec@shout.net>
* gdb.c++/userdef.exp: Update copyright year.
2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/userdef.exp: Test overloaded operators properly.
Remove xfails.
2002-02-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
2002-02-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/a2-run.exp: Check for a remote target properly.
* gdb.base/annota1.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/reread.exp: Likewise.
* gdb.base/scope.exp: Likewise.
* gdb.base/shlib-call.exp: Likewise.
* gdb.base/term.exp: Likewise.
* gdb.c++/annota2.exp: Likewise.
2002-02-13 Richard Earnshaw <rearnsha@arm.com>
* gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2002-02-10 Michael Chastain <mec@shout.net>
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
(call_after_alloca): Ditto.
2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/ending-run.exp: Guard "cont" test with
gdb_skip_stdio_test.
2002-02-06 Jim Blandy <jimb@redhat.com>
* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
from here...
* gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
To here. Disable this test on non-HP platforms. Add big comment.
2002-02-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
other than d10v and m32r.
2002-02-02 Richard Earnshaw <rearnsha@arm.com>
* gdb.base/default.exp: Rewrite test patterns to reduce time
taken to match them.
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
Allow a start function above main.
* gdb.threads/linux-dp.exp: Fix copyright date.
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
(check_philosopher_stack): Check for manager thread before checking
for a just-starting thread.
2002-01-30 Daniel Jacobowitz <drow@mvista.com>
From Neil Booth <neil@daikokuya.demon.co.uk>:
* gdb.base/bitfields.c: Correct assignments to bitfields to avoid
warnings.
2002-01-21 Fred Fish <fnf@redhat.com>
* gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
not caller.
2002-01-21 Jim Blandy <jimb@redhat.com>
* gdb.base/reread.exp: Check that GDB properly re-reads the
executable file when it changes while no inferior is running.
2002-01-21 Fred Fish <fnf@redhat.com>
* gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
optionally accept the "shlib events" variation.
2002-01-21 Jim Blandy <jimb@redhat.com>
* gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
call `fflush' after every `printf', so that the output is produced
at predictable points, regardless of whatever buffering does (or
doesn't) take place.
* gdb.base/ending-run.exp: Adjust tests to expect output to appear
at different points.
2002-01-20 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/inherit.exp: Update copyright years.
* gdb.c++/method.exp: Likewise.
2002-01-20 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp: Update for improved v3 support and skipping
artificial methods/arguments.
* gdb.c++/derivation.exp: Likewise.
* gdb.c++/inherit.exp: Likewise.
* gdb.c++/method.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.
2002-01-18 Andrew Cagney <ac131313@redhat.com>
* gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
* gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
* gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2002-01-17 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp (info symbol): Take another shot at
anchoring the pattern matching the entry point symbol's name.
2002-01-17 Andrew Cagney <ac131313@redhat.com>
* gdb.base/maint.exp: Update ``maint internal-error'' to match
continue/quit query. Update copyright.
2002-01-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Remove extra debugging output.
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
for slightly dubious v2 mangled string.
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2002-01-10 Jason Merrill <jason@redhat.com>
* gdb.c++/namespace.exp: Accept trailing const for 'this'.
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
constructors.
* gdb.c++/derivation.exp: Likewise.
* gdb.c++/templates.exp: Likewise.
* gdb.c++/virtfunc.exp: Likewise.
2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: New test for generate-core-file command.
* gdb.base/gcore.c: Testcase for above.
* gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2002-01-08 Jason Merrill <jason@redhat.com>
* gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2002-01-07 Fred Fish <fnf@redhat.com>
* gdb.c++/overload.exp: Remove unconditional xfails for:
print foo_instance1.overloadargs(1)
print foo_instance1.overloadargs(1, 2)
print foo_instance1.overloadargs(1, 2, 3)
print foo_instance1.overloadargs(1, 2, 3, 4)
print foo_instance1.overloadargs(1, 2, 3, 4, 5)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
print foo_instance1.overload1arg()
print foo_instance1.overload1arg((char)arg2)
print foo_instance1.overload1arg((signed char)arg3)
print foo_instance1.overload1arg((unsigned char)arg4)
print foo_instance1.overload1arg((int)arg7)
print foo_instance1.overload1arg((unsigned int)arg8)
print foo_instance1.overload1arg((float)arg11)
print foo_instance1.overload1arg((double)arg12)
2002-01-07 Michael Snyder <msnyder@redhat.com>
* gdb.base/huge.exp: New test. Print a very large target data object.
(skip_huge_test): New test variable. Define if you want to skip this
test. The test reads an 8 megabyte data object from the target, so it
might be very time consuming on remote targets with a slow connection.
* gdb.base/huge.c: New file. Test case for above.
2002-01-07 Fred Fish <fnf@redhat.com>
* gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
g_instance.bfoo, and g_instance.cfoo.
2002-01-07 Jeffrey A Law <law@redhat.com>
* gdb.base/break.c (multi_line_if_conditional): New function.
(multi_ilne_while_conditional): Likewise.
* gdb.base/break.exp: Verify that a breakpoint on a multi-line
IF or WHILE condition puts the breakpoint at the start of
the condition.
* gdb.base/selftest.exp (backtrace through signal handler): Remove
hppa*-*-hpux* expected failure.
* gdb.base/structs.exp (do_function_calls): Similarly.
* gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
watchpoints.
2002-01-06 Andrew Cagney <ac131313@redhat.com>
Fix PR gdb/66.
* gdb.base/structs.exp: Replace skip for a29k with skip for
gdb,cannot_call_functions.
* gdb.base/call-ar-st.exp: Remove references to a29k in comments.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
* gdb.base/callfwmall.exp: Ditto.
* gdb.base/scope.exp: Obsolete xfail a29k.
* gdb.c++/misc.exp: Ditto.
* gdb.c++/cplusfuncs.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/default.exp: Ditto.
2002-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/info-proc.exp: New file, test for "info proc" cmd.
* gdb.base/maint.exp: Add tests for maint info sections options.
Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
* gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2001-12-20 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/arm.inc: New file.
* gdb.asm/asm-source.exp: Add arm targets.
* gdb.asm/configure.in: Ditto.
* gdb.asm/configure: Recreated from configure.in.
Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
* gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
with HP's compiler.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
* gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
either HP's compilers or GCC.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
a SIGBUS or SIGSEGV.
* gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
* gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
can be compiled with either HP's compiler or GCC.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
* gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
to match current gdb output. Update due to using auto-solib-limit
for limiting instead of overloading auto-solib-add.
* gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
test program.
* gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
* gdb.hp/gdb.base-hp/dollar.exp: Likewise
* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
* gdb.hp/gdb.base-hp/reg.exp: Likewise.
* gdb.hp/gdb.compat/xdb3.exp: Likewise.
* gdb.hp/gdb.defects/bs15503.exp: Likewise.
* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
* gdb.base/annota1.exp: Expect failure for hpux11 when posting
a SIGTRAP to the inferior.
2001-12-19 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
Substitute call to target_link by call to gdb_compile.
Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
* gdb.base/break.exp: Fix HP specific search string when testing
backtracing in a called function.
* gdb.base/constvars.exp: Only set lang to C++ if we're
compiling the test with HP's compilers.
* gdb.base/volatile.exp: Similarly.
2001-12-19 Jim Blandy <jimb@redhat.com>
* gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.
2001-12-17 Jim Blandy <jimb@redhat.com>
* gdb.base/completion.exp: Rather than completing very long
filenames, which can make the readline library produce output we
don't recognize, cd to the directory first, and then complete
using nice, short relative paths.
* gdb.base/completion.exp: On some systems, there is, in fact, a
variable named `b' in scope, since GDB treats all static
variables as being in scope. So use `no_var_named_this'
instead of `b'.
* gdb.base/corefile.exp: Recognize the message saying that GDB
can't find the core file's registers as a failure.
2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
* gdb.base/commands.exp (user_defined_command_test): Make "show user"
test expect string more specific.
2001-12-13 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-source.exp: Add support for xstormy16.
* gdb.asm/configure.in: Ditto.
* gdb.asm/configure: Rebuild.
* gdb.asm/xstormy16.inc: New file.
2001-12-10 Fred Fish <fnf@redhat.com>
* gdb.base/maint.exp: Update to match changes in type dumping code.
2001-12-10 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp (info symbol): Anchor the pattern
matching the entry point symbol's name at the beginning of the
line.
2001-12-07 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp, gdb.c++/derivation.exp,
gdb.c++/inherit.exp, gdb.c++/method.exp,
gdb.c++/namespace.exp, gdb.c++/templates.exp,
gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
and class layout support.
2001-12-07 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp: Add test for static member function.
* gdb.c++/misc.cc: Add class with static member function.
2001-12-07 Jim Blandy <jimb@redhat.com>
If GDB says it can't find the struct the function returned, report
those tests as `unsupported'.
* gdb.base/call-rt-st.exp (print_struct_call): New function.
Rewrite subsequent tests to use it.
If GDB says it can't find the struct the function returned, report
those tests as `unsupported'.
* gdb.base/structs.exp (call_struct_func): New function.
(do_function_calls): Use call_struct_func to call the functions
returning structs.
* gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
whether functions are prototyped or not, so we can't possibly pass
arguments to t_float_values2 properly.
* gdb.base/break.exp: (test_next_with_recursion): Don't change the
value of `timeout' for targets other than the mips*tx39-*.
2001-12-06 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp: Add tests for info target, info symbol,
and detect whether the start symbol has a leading underscore.
2001-12-04 Jim Blandy <jimb@redhat.com>
* gdb.base/completion.exp: Clarify indentation.
2001-12-03 Jim Blandy <jimb@redhat.com>
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
2001-11-30 Jim Blandy <jimb@redhat.com>
Add assembly-source tests for s390-ibm-linux.
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.
2001-11-30 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
next, info source, info sources, info line, global and static
variables, and static functions.
* gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
* gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
* gdb.asm/asmsrc1.s: Add a static function and some variables.
* gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
* gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
(gdbasm_leave): Restore frame pointer.
(gdbasm_startup): Copy stack set-up from crt0.S.
2001-11-26 Fernando Nasser <fnasser@redhat.com>
From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-24 Mark Kettenis <kettenis@gnu.org>
* gdb.asm/configure.in: Fix recognition of ix86 target.
* gdb.asm/configure: Regenerate.
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.
2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.
2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-expr.exp: New file. Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).
2001-11-13 Michael Snyder <msnyder@redhat.com>
* gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
Tests for expressions using 'const' and 'volatile'.
2001-11-13 Corinna Vinschen <vinschen@redhat.com>
* gdb.asm/asm-sources.exp: Allow defining linker flags.
2001-11-12 Daniel Jacobowitz <drow@mvista.com>
* lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
2001-11-11 Daniel Jacobowitz <drow@mvista.com>
* lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
mi0_run_to): New functions.
* gdb.mi/mi-simplerun.exp: Use them.
* gdb.mi/mi0-simplerun.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi0-var-cmd.exp: Likewise.
2001-11-10 Andrew Cagney <ac131313@redhat.com>
* gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
* gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2001-11-09 Andrew Cagney <ac131313@redhat.com>
* gdb.base/restore.exp: Include $expected value in restored test
message.
2001-11-09 Andrew Cagney <ac131313@redhat.com>
* gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.
2001-11-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/callfuncs.exp: Add tests for nested call dummies.
Add pass/fail message for stop at breakpoint in call dummy function.
2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/templates.exp (test_template_breakpoints):
If we get an overload menu, but it does not match what
we expect, we still need to issue the "cancel" command.
* gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
making the whitespace optional. Argument for "new" may be
"unsigned" as well as "unsigned int/long".
* gdb.c++/templates.exp: Replace "const &" with "const ?&",
making the whitespace optional. Also replace "(void) with
"((void|)), making the keyword "void" optional.
* gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
making the whitespace optional. Also replace "(void) with
"((void|)), making the keyword "void" optional.
* gdb.base/callfuncs.c (t_float_values): This function must
_not_ be prototyped, and the following function (t_float_values2)
must be prototyped (if the compiler supports it), so that GDB
can be tested against both cases. Usually one case involves
promotion of float to double, while the other does not.
* gdb.base/callfwmall.c: Ditto.
* gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
includes a stack frame for "start".
2001-11-05 Jim Blandy <jimb@redhat.com>
* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.
2001-11-01 Michael Snyder <msnyder@redhat.com>
* gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
and regular expression operators by using quoting.
2001-10-31 Michael Snyder <msnyder@redhat.com>
* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
depending on what the symbol table contains.
* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command. Similarly, accept both "const &"
and "const&".
2001-10-31 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.
2001-10-30 Michael Snyder <msnyder@redhat.com>
* gdb.base/jump.exp: Allow it to run for all targets.
2001-10-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
(main): Change storage class of all local variables to static.
Reduce size of double_array to 9.
* gdb.base/call-ar-st.exp: Increase timeout value.
Change expected output for double array to match new size in
call-ar-st.c.
2001-10-29 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case. Add regular expression branch satisfying
Stormy16 target.
2001-10-28 Mark Kettenis <kettenis@gnu.org>
* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.
2001-10-29 Orjan Friberg <orjanf@axis.com>
* gdb.base/setvar.exp: Escape curly braces.
* gdb.stabs/weird.exp: Ditto.
2001-10-27 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
* gdm.mi/mi0-hack-cli.exp: Likewise.
2001-10-25 Andrew Cagney <ac131313@redhat.com>
* gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
messages.
2001-10-21 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
checking MI enabled.
2001-10-09 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
if gdb child process crashes, just signal an error.
2001-10-02 Jim Blandy <jimb@redhat.com>
* lib/gdb.exp (test_xfail_format): Simplify.
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'. Simplify `if'.
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/pthreads.exp: Wait for output and delay
before sending ^C.
2001-10-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
some incorrect output instead of timing out.
* gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2001-09-28 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
2001-09-27 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Remove incorrect 'p "a' test.
Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2001-09-27 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (test_debug_format): New proc.
(setup_xfail_format): Use new proc test_debug_format.
* gdb.base/constvars.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.
* gdb.base/volatile.exp (local_compiler_xfail_check): New
proc; use new service proc test_debug_format.
Replace all other "gcc_compiled" tests with this test.
2001-09-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/cvexpr.exp: New file.
* gdb.base/cvexpr.c: New file
Test for expressions using const and volatile keywords.
2001-09-26 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/constvars.exp: Check for different orders of keywords
and additional "int" strings in output.
2001-09-22 Andrew Cagney <ac131313@redhat.com>
* gdb.base/maint.exp: Add "maintenance set/show" to list of valid
responses from "help maint".
2001-09-19 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.
2001-09-19 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/recurse.exp: When checking leaving the watchpoint
scope, recognize when gdb is in function's epilogue and pass.
2001-09-18 Keith Seitz <keiths@redhat.com>
* lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
(gdbtk_done): Ditto.
2001-09-18 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/ending-run.c (main): Set stdout buffersize
to the same reasonable value for any target.
* gdb.base/ending-run.exp: Add a regular expression
to make testsuite happy on Sanyo Stormy16 target.
2001-09-17 Corinna Vinschen <vinschen@redhat.com>
* gdb.base/display.c (do_loops): Add float variable `f'.
Increment f in loop.
* gdb.base/display.exp: Increment timeout by 60 seconds.
Change float display test to use variable `f'.
2001-09-17 Jim Blandy <jimb@redhat.com>
* gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).
2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
the "-ac" (disable access control) flag.
2001-08-30 Jeff Holcomb <jeffh@redhat.com>
* gdb.base/remote.c: Use a small buffer for targets with 16-bit
ints.
2001-08-30 Keith Seitz <keiths@redhat.com>
* lib/gdb.exp: Move all insight-related functionality into
separate file.
* lib/insight-support.exp: New file.
2001-08-29 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (sid_start): Never set sid verbosity; disable
expect_background {} that consumed its stdout; tolerate </dev/null.
Attempt to set endianness override in "sid" protocol mode. Cleanup.
2001-08-18 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
2001-08-18 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function. Fix PR gdb/191.
2001-08-16 Frank Ch. Eigler <fche@redhat.com>
* config/sid.exp (sid_start): Don't warn if we cannot figure out
what to force sid endianness to.
2001-08-15 Keith Seitz <keiths@redhat.com>
* lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
now figure these out for itself.
2001-08-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.
2001-08-02 Dave Brolley <brolley@redhat.com>
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file. Test stepping over
breakpoints on consecutive instructions.
* gdb.base/consecutive.c: New file.
* gdb.base/call-rt-st.exp: Use double-backslash to quote
curly braces in regular expressions.
2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
legitimate output from stepping out of main.
2001-07-22 Keith Seitz <keiths@redhat.com>
* lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.
2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gdb.base/long_long.exp: Detect size of pointer. Take into
account 2-byte pointers when testing for p/a results.
2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
and defined to 1K for m68hc11.
(random_data): Reduce table to 1K for embedded platforms (68hc11).
* gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
(sizeof_random_data): New variable to tell the size of the data table;
don't test past this size; always run to main.
2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gdb.base/return2.exp: return of long long and double fails for
68HC11; don't execute these tests on that platform.
* gdb.base/return.exp: Return of a double fails for 68hc11.
2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* call-ar-st.exp: Use gdb_skip_float_test to avoid executing
tests that print a float.
* call-rt-st.exp: Likewise.
2001-07-12 Mark Kettenis <kettenis@gnu.org>
* gdb.base/so-impl-ld.exp: Remove stray space that prevented
running this test on Linux.
2001-06-24 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Remove some tests to make all test names
unique.
2001-07-03 Michael Snyder <msnyder@redhat.com>
* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
the output of the ptype command.
2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Don't assume that break.c is the only
source file that may contain functions named "marker".
* gdb.base/corefile.exp: Quote the curly braces in regexp.
2001-06-28 Andrew Cagney <ac131313@redhat.com>
* gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.
2001-06-27 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
empty breakpoint tables.
2001-06-25 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp: Update args=... part of stop-reason
patterns. Accept either a list or a tuple.
2001-06-23 Andrew Cagney <ac131313@redhat.com>
* lib/mi-support.exp: Remove local emacs variable defining
change-log-default-name.
2001-06-22 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
This is operationally compatible with the previous version.
2001-06-13 Jim Blandy <jimb@redhat.com>
* lib/gdb.exp (gdb_test): Doc fix.
2001-06-10 Michael Chastain <chastain@redhat.com>
* gdb.base/exprs.exp: Remove a duplicate test.
2001-06-06 Jim Blandy <jimb@redhat.com>
* gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.
2001-06-04 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
non-zero if control_c fails. Terminate the test on failure,
rather than wait for 12 more tests to time out.
2001-06-06 Jim Blandy <jimb@redhat.com>
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2001-06-04 Jim Blandy <jimb@redhat.com>
* gdb.base/help.exp: Update pattern to exclude `print-load-map'
command.
2001-05-31 Kevin Buettner <kevinb@redhat.com>
* gdb.base/annota1.exp (info break): Match four or more spaces
after "Address".
2001-05-31 Michael Chastain <chastain@redhat.com>
* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
(dm_type_int_star): Likewise.
(dm_type_long_star): Likewise.
(dm_type_void_star): Likewise.
2001-05-29 Kevin Buettner <kevinb@redhat.com>
* gdb.base/completion.exp (INPUTRC): Set this environment variable
to a known value in order to get consistent results regardless
of the setting of INPUTRC or the presence or contents of .inputrc.
2001-05-24 Michael Snyder <msnyder@redhat.com>
* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.
* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging. If test fails, issue an "unsupported" not a "fail".
2001-05-24 Jim Blandy <jimb@redhat.com>
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints. On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char. This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.
2001-05-24 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0). This makes the test run faster,
and prevents dejagnu getting out of step.
2001-05-23 Kevin Buettner <kevinb@redhat.com>
* gdb.base/finish.exp (finish_void): Revise pattern for
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.
2001-05-19 Michael Chastain <chastain@redhat.com>
* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique. Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.
2001-05-21 Kevin Buettner <kevinb@redhat.com>
* gdb.base/finish.exp (finish_void): Allow "finish" command to
stop on the call statement as well as the statement after the
call.
2001-05-21 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Allow for targets with 4-byte short.
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Revamp test. Make it execute on all
platforms.
2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* config/gdbserver.exp (gdb_load): Handle the case
in which the arguments to gdbserver are given in the
baseboard configuration file.
Also handle the case in which the server needs to do a
load.
2001-05-07 Keith Seitz <keiths@cygnus.com>
* lib/gdb.exp (gdbtk_initialize_display): New proc which will
set up the display for testing.
(gdbtk_start): Convert all paths to paths that tcl will like.
Export target information to environment.
(_gdbtk_xvfb_init): New proc to start Xvfb if available and
necessary.
(_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
(to_tcl_path): New proc to convert a given pathname into
a path acceptible as an argument to a tcl command.
(_gdbtk_export_target_info): New proc to export target info
into the environment for gdbtk testing.
(gdbtk_done): New proc to signal end-of-test.
2001-05-06 Jim Blandy <jimb@redhat.com>
* restore.c: Make the code of caller0 correspond to its comment.
2001-05-03 Michael Snyder <msnyder@redhat.com>
* config/sid.exp (gdb_target_sid): Check for error messages.
On error or timeout, don't make expect exit (which will terminate
all subsequent tests); instead just make gdb exit.
(gdb_load): Check for error messages. On error or timeout,
return a negative value.
2001-04-24 Jim Blandy <jimb@redhat.com>
* gdb.c++/templates.exp: If we see the prompt for the overload
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.
* gdb.c++/classes.exp (ptype class A): Tolerate whitespace
variations.
2001-04-22 Michael Chastain <chastain@redhat.com>
* gdb.c++/local.exp: Use the 'runto' library function.
* gdb.c++/namespace.exp: Likewise.
* gdb.c++/overload.exp: Likewise.
2001-03-26 Kevin Buettner <kevinb@redhat.com>
* gdb.base/Makefile.in (EXECUTABLES): Add step-line.
* gdb.base/step-line.exp: New file. Test step/next in presence of
#line directives.
* gdb.base/step-line.c: New file. Test program for the above.
* gdb.base/step-line.inp: New file. We pretend that this file has
been transformed by some other tool into step-line.c.
2001-03-21 Jim Blandy <jimb@redhat.com>
* gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
unmangled operator names.
2001-03-20 Jim Blandy <jimb@redhat.com>
* gdb.threads/linux-dp.exp: Recognize an additional message
generated by GDB when it doesn't understand how to debug threads
on the target system.
2001-03-19 Andrew Cagney <ac131313@redhat.com>
* gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/derivation.exp: Use the 'runto' library function.
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library
function 'runto'.
2001-03-16 Orjan Friberg <orjanf@axis.com>
* gdb.base/signals.exp: Set count to 0 explicitly.
2001-03-15 Mark Salter <msalter@redhat.com>
* config/monitor.exp (gdb_target_cmd): Add explicit error return.
(gdb_target_monitor): Add check of gdb_target_cmd return value.
(gdb_load): Add support for additional target_info: gdb_download_size
and gdb_load_timeout.
Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
* gdb.base/annota1.exp: Move test of isnative to earlier in the
file -- to prevent failing when the compile fails but we have no
intention of running the tests anyway.
* gdb.base/long_long.exp: Test target_info for no_long_long, skip
tests if set.
* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
integers.
* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
* gdb.c++/namespace.exp: Ditto.
2001-03-07 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
2001-03-06 Kevin Buettner <kevinb@redhat.com>
* Makefile.in, config/abug.exp, config/cfdbug.exp,
config/cpu32bug.exp, config/dve.exp, config/est.exp,
config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
config/monitor.exp, config/proelf.exp, config/rom68k.exp,
config/sh.exp, config/sid.exp, config/slite.exp,
config/sparclet.exp, config/udi.exp, config/unknown.exp,
config/vr4300.exp, config/vr5000.exp, config/vx.exp,
config/vxworks.exp, config/vxworks29k.exp,
gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
gdb.base/all-bin.exp, gdb.base/annota1.exp,
gdb.base/arithmet.exp, gdb.base/assign.exp,
gdb.base/async.exp, gdb.base/attach.exp,
gdb.base/bitfields.exp, gdb.base/bitops.exp,
gdb.base/break.exp, gdb.base/call-ar-st.exp,
gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
gdb.base/commands.exp, gdb.base/completion.exp,
gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
gdb.base/constvars.exp, gdb.base/corefile.exp,
gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
gdb.base/display.exp, gdb.base/ena-dis-br.exp,
gdb.base/ending-run.exp, gdb.base/environ.exp,
gdb.base/eval-skip.exp, gdb.base/exprs.exp,
gdb.base/finish.exp, gdb.base/foll-exec.exp,
gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
gdb.base/funcargs.exp, gdb.base/help.exp,
gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
gdb.base/logical.exp, gdb.base/long_long.exp,
gdb.base/maint.exp, gdb.base/mips_pro.exp,
gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
gdb.base/pointers.exp, gdb.base/printcmds.exp,
gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
gdb.base/regs.exp, gdb.base/relational.exp,
gdb.base/remote.exp, gdb.base/reread.exp,
gdb.base/restore.exp, gdb.base/return2.exp,
gdb.base/scope.exp, gdb.base/sect-cmd.exp,
gdb.base/selftest.exp, gdb.base/setshow.exp,
gdb.base/setvar.exp, gdb.base/shlib-call.exp,
gdb.base/sigall.exp, gdb.base/signals.exp,
gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
gdb.base/step-test.exp, gdb.base/structs.c,
gdb.base/structs.exp, gdb.base/structs2.exp,
gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
gdb.base/volatile.exp, gdb.base/watchpoint.exp,
gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.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++/namespace.exp, gdb.c++/overload.exp,
gdb.c++/ref-types.exp, gdb.c++/templates.exp,
gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
gdb.fortran/types.exp, gdb.java/jmisc.exp,
gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
gdb.trace/actions.exp, gdb.trace/backtrace.exp,
gdb.trace/circ.exp, gdb.trace/collection.exp,
gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
gdb.trace/limits.exp, gdb.trace/packetlen.exp,
gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
gdb.trace/report.exp, gdb.trace/save-trace.exp,
gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
notices.
2001-02-27 Michael Snyder <msnyder@cygnus.com>
* gdb.base/varargs.c (find_max_double): Fix printf format string:
first arg is int not float.
2001-02-22 Michael Snyder <msnyder@cygnus.com>
* gdb.base/reread.exp: Unsupported for non-native targets;
doesn't work for remote debugging.
2001-02-19 Fernando Nasser <fnasser@redhat.com>
From Drew Moseley <dmoseley@redhat.com>
* gdb.base/ending-run.exp: Properly handle the BSP state when
stepping past the end of main.
2001-02-19 John Moore <jmoore@redhat.com>
* gdb.base/commands.exp (infrun_breakpoint_command_test):
Converted HPUX fix for non-expected items following multiple
step commands into general solution for all platforms.
2001-02-18 Michael Chastain <chastain@redhat.com>
* gdb.c++/classes.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'". This makes the
statements demangler agnostic.
* gdb.c++/virtfunc.exp (do_tests): Likewise.
(gdb_virtfunc_restart): Likewise.
2001-02-14 Michael Chastain <chastain@redhat.com>
* gdb.c++/inherit.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'". This makes the
statements demangler agnostic.
Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
* gdb.threads/pthreads.exp: Unify pass/fail messages for
``continue to bkpt at common_routine in thread 2'' and ``stopped
before calling common_routine 15 times'' tests.
2001-02-11 Michael Chastain <chastain@redhat.com>
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
Helps the test script figure out which demangler is in use.
(dm_type_foo_ref): Ditto.
(dm_type_int_star): Ditto.
(dm_type_long_star): Ditto.
(dm_type_unsigned_int): Ditto.
(dm_type_void): Ditto.
(dm_type_void_star): Ditto.
* gdb.base/cplusfuncs.exp (probe_demangler): New function.
Probe the gdb demangler and set variables to accommodate
formatting differences.
(info_func_regexp): New function. Same as info_func, but
matches against a regexp.
(info_func): Match against a literal string.
(print_addr_2): New function. Match against a literal string,
which can be different from the input to gdb.
(print_addr): Simply call print_addr_2 with the same argument twice.
(test_lookup_operator_functions): Use demangler formatting variables.
Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
the tests in the same order as the C++ class declaration.
(test_paddr_operator_functions): Ditto.
(test_paddr_overloaded_functions): Ditto.
(test_paddr_hairy_functions): Use demangler formatting variables.
Add reference to gdb/19 for related tests.
(do_tests): Call probe_demangler.
2001-01-30 Kevin Buettner <kevinb@redhat.com>
* gdb.c++/templates.cc (printf): Remove unused function definition.
2001-01-26 Felix Lee <flee@redhat.com>
* sid.exp (sid_exit): Pass host, not target, to remote_close.
2001-01-25 matthew green <mrg@redhat.com>
* config/sid.exp (sid_start): Call `remote_push_conn' after firing
up sid.
(sid_exit): Call `remote_pop_conn' after GDB is gone.
2001-01-25 matthew green <mrg@redhat.com>
* config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
Deprecate $sid_spawn_id.
(sid_exit): Remove code necessary only for `spawn.'
2001-01-25 matthew green <mrg@redhat.com>
* config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2001-01-28 Michael Chastain <chastain@redhat.com>
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
to call when tests fail. It takes gdb out of the overloaded
function choice menu back to the main prompt, so that the test
program stays synchronized.
(set_bp_overloaded): New proc to collect all the common
code for setting a breakpoint on an overloaded name. Calls
take_gdb_out_of_choice_menu when needed.
(menu_overload1arg): New variable to collect the repeated
instances of the expected menu for an overloaded name. Change
the regular expression to handle changes in g++ type encoding:
"void" can be either "void" or "", and "unsigned int" can be
either "unsigned int" or "unsigned".
(continue_to_bp_overloaded): Change regular expressions to handle
changes in g++ type encoding.
(no proc): Call take_gdb_out_of_choice_menu when needed.
Remove redundant calls to "info break". Accept either "canceled"
or "cancelled". Change regular expressions in "info break"
calls to handle changes in g++ type encoding. Give all tests
unique strings.
2001-01-17 Ben Elliston <bje@redhat.com>
* config/sid.exp: New file.
Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2000-12-21 Michael Snyder <msnyder@cygnus.com>
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
Add a RE to accept a non-ascii char if one is ever presented.
2000-12-20 Fernando Nasser <fnasser@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
2000-12-18 Michael Snyder <msnyder@cygnus.com>
* gdb.base/setvar.exp: Use double '\\' to quote curly braces
in regexp. One '\' does not suffice on Linux.
2000-12-09 Michael Chastain <chastain@redhat.com>
* gdb.base/break.exp (test_clear_command): Use a marker function
rather than 'main' for the test function. Also move this
test to an execution point where the marker function names are
guaranteed to be bound to functions. (Executing tests after a
'finish' from main runs into name conflicts with local names
in __libc_start_main).
2000-12-07 Michael Snyder <msnyder@cygnus.com>
* gdb.base/finish.exp: New test for gdb's "finish" command.
* gdb.base/return2.exp: New test for gdb's "return" command.
* gdb.base/return2.c: New source file for above.
2000-12-05 Michael Snyder <msnyder@cygnus.com>
* gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.c++/derivation.exp: Ditto.
* gdb.c++/local.exp: Ditto.
* gdb.c++/namespace.exp: Ditto.
* gdb.c++/overload.exp: Ditto.
* gdb.c++/ref-types.exp: Ditto.
2000-12-05 Michael Snyder <msnyder@cygnus.com>
* gdb.base/constvars.exp: Test result of "up" command.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.c++/derivation.exp: Ditto.
* gdb.c++/local.exp: Ditto.
* gdb.c++/namespace.exp: Ditto.
* gdb.c++/overload.exp: Ditto.
* gdb.c++/ref-types.exp: Ditto.
2000-11-22 Michael Chastain <chastain@redhat.com>
* mips_pro.exp: Accept either "middle -> top -> main" or
"middle -> main" in the backtrace, because gcc can optimize
tail calls to jumps. Remove setup_xfail for the hppa case.
Add a comment with the original warning messages from PR 3016,
which was filed in 1993, to preserve them for posterity.
2000-11-17 Nick Duffek <nsd@redhat.com>
* lib/gdb.exp (gdb_test): Override timeout with board info.
2000-11-17 Nick Duffek <nsd@redhat.com>
* gdb.base/display.exp: Don't kill running stub. Add "again" to
the second kill and detach messages.
2000-11-17 Nick Duffek <nsd@redhat.com>
* configure.in: Add AC_EXEEXT.
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.
2000-11-17 Nick Duffek <nsd@redhat.com>
* gdb.base/break.exp: Test backtrace and finish from called
function on all platforms, not just HP-UX.
2000-11-03 Michael Snyder <msnyder@cygnus.com>
* config/monitor.exp (gdb_target_cmd): Abstracts some of the
code from gdb_target_monitor, so it can be used independantly
for gdbserver. Also comment out an unnecessary PUTS.
2000-11-03 Michael Snyder <msnyder@cygnus.com>
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
* gdb.base/corefile.exp: Expect the message "Program is being
debugged already" when we send the "corefile" command, since
the preceeding gdb_load may have connected gdb to a remote target.
* gdb.base/display.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true.
Replace single-letter commands with more readable ones.
* gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
if new board info variable "no_hardware_watchpoints" is true.
* gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
to see if stdio (printf) testing is possible.
* gdb.base/watchpoint.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true. Use new
proc "gdb_skip_stdio_tests" to see if printf tests are possible.
2000-11-13 Fernando Nasser <fnasser@redhat.com>
From Orjan Friberg <orjanf@axis.com>:
* gdb.base/printcmds.exp: Escape curly braces followed by a number
in array print pattern match.
2000-11-09 Fernando Nasser <fnasser@redhat.com>
* gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
spelling "cancelled" to U.S. spelling "canceled" to match changes
made to gdb.
* gdb.c++/ovldbreak.exp: Ditto.
2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* gdb.base/callfuncs.c (main): Moved to end of file, call
t_double_values to initialize the FPU before inferior calls are made.
* gdb.base/callfuncs.exp: Test for register preservation after calling
inferior functions. Add tests for continuining, finishing and
returning from a stop in a call dummy.
2000-10-24 Michael Snyder <msnyder@cygnus.com>
* gdb.base/commands.exp: Break up long lines, and re-indent.
2000-10-19 Michael Snyder <msnyder@cygnus.com>
* config/gdbserver.exp: Rewritten from the ground up, to make it
compatible with the current dejagnu tree, and to make it work with
the new "gdbserver" in libremote.
2000-10-16 Michael Snyder <msnyder@cygnus.com>
* gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
* gdb.base/varargs.exp: Skip entire test if no printf support.
* gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
* gdb.base/shlib-call.exp: Skip several tests if no printf support.
2000-10-13 Michael Snyder <msnyder@cygnus.com>
* lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
no floating point support.
(gdb_skip_stdio_test): New proc. Skip test if no stdio support.
* gdb.base/call-ar-st.exp: Use above procs to skip tests.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
* gdb.base/sizeof.c: include <stdio.h>.
* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.
2000-07-26 Scott Bambrough <scottb@netwinder.org>
* gdb.base/recurse.exp: Run tests for all targets.
* gdb.base/so-impl-ld.exp: Added wildcard to handle the
gnu-oldld case on ARM.
* gdb.base/watchpoint.exp (test_stepping): Clear xfail
for ARM targets.
Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
* gdb.java/configure.in (AC_INIT): Use jmisc.exp.
* gdb.java/configure: Rebuild.
Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
* gdb.java/jv-exp.exp: New file.
Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
* configure: Rebuilt.
* configure.in (configdirs): Add gdb.java.
* gdb.java/jmisc.java: New file.
* gdb.java/jmisc.exp: New file.
* gdb.java/Makefile.in: New file.
* gdb.java/configure: Rebuilt.
* gdb.java/configure.in: New file.
* lib/java.exp: New file.
Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/exprs.exp: Test casts to a pointer including over and
underflow.
Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
and the compilers sizes.
2000-07-09 Nick Duffek <nsd@redhat.com>
* gdb.c++/misc.cc (class ClassParam, class_param): Define.
(use_methods): New function.
(main): Call use_methods().
* gdb.c++/classes.exp (test_method_param_class): New procedure.
(do_tests): Call test_method_param_class.
2000-07-09 Nick Duffek <nsd@redhat.com>
* gdb.c++/classes.exp (test_nonexistant_members): Fix name
spelling.
(test_enums): New procedure. Move enum tests from end of script
to here. Set breakpoint on function name instead of line number.
* gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
(enums2): New marker function.
(enums1): New function.
(main): Call enums1(). Move enum tests to enums1().
Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
compile/link program. Update line numbers.
* gdb.asm/d10v.inc: Define ``startup''.
* gdb.asm/asmsrc1.s: Add definition of _start.
Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
* gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdb.base/maint.exp: Add 'maint print architecture' item to output
of 'help maint print' command.
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@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@cygnus.com>
* gdb.c++/local.exp: This test has never been known to work with g++.
2000-05-18 Michael Snyder <msnyder@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@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@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@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@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@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-01 James Ingham <jingham@cygnus.com>
* Changelog entries merged over from gdb development branch.
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.
1998-12-07 Martin M. Hunt <hunt@cygnus.com>
* lib/gdb.exp (gdbtk_start): Fix path for itcl library.
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@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@cygnus.com>
* gdb.trace/*.exp: remove "remote_download" command.
Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@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@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@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.
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.
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@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@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@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@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@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@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@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@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@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@cygnus.com>
* config/monitor.exp: Increase download timeout to 1000 seconds.
Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@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@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@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.
For additional changes see gdb.mi/ChangeLog-1999-2003.
;; Local Variables:
;; mode: change-log
;; left-margin: 8
;; fill-column: 74
;; version-control: never
;; End:
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
2003, 2004, 2005 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted provided the copyright notice and this notice are preserved.
|