]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
aa00efb5
JK
12010-11-08 Edjunior Machado <emachado@br.ibm.com>
2 Luis Machado <luisgpm@br.ibm.com>
3
4 * gdb.base/break-entry.exp: convert entry point for
5 ppc64 and expect leading `.' on ppc64's symbols
6
99e7ae30
DE
72010-11-05 Doug Evans <dje@google.com>
8
9 * gdb.base/help.exp: Update expected output.
b521dba8
DE
10 * gdb.python/py-param.exp: Delete, contents moved to ...
11 * gdb.python/py-parameter.exp: ... here. New file.
12 Add test for gdb.parameter ("directories").
99e7ae30 13
f4b8a18d
KW
142010-11-05 Ken Werner <ken.werner@de.ibm.com>
15
16 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
17 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
18 * configure: Regenerate.
19 * gdb.opencl/Makefile.in: New File.
20 * gdb.opencl/datatypes.exp: Likewise.
21 * gdb.opencl/datatypes.cl: Likewise.
22 * gdb.opencl/operators.exp: Likewise.
23 * gdb.opencl/operators.cl: Likewise.
24 * gdb.opencl/vec_comps.exp: Likewise.
25 * gdb.opencl/vec_comps.cl: Likewise.
26 * gdb.opencl/convs_casts.exp: Likewise.
27 * gdb.opencl/convs_casts.cl: Likewise.
28 * lib/opencl.exp: Likewise.
29 * lib/opencl_hostapp.c: Likewise.
30 * lib/opencl_kernel.cl: Likewise.
31 * lib/cl_util.c: Likewise.
32 * lib/cl_util.c: Likewise.
33 * gdb.base/default.exp (set language): Add "opencl" to the list of
34 languages.
35
a9d5ef47
SW
362010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
37
38 * gdb.cp/overload.exp: Added test for inheritance overload.
39 * gdb.cp/overload.cc: Ditto.
40 * gdb.cp/oranking.exp: Removed releveant kfails.
41
03eb1c79
JK
422010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
43 Joel Brobecker <brobecker@adacore.com>
44
45 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
46 check test_compiler_info.
47
dbc98a8b
KW
482010-11-03 Ken Werner <ken.werner@de.ibm.com>
49
50 * gdb.base/gnu_vector.exp: Adjust expect messages.
51
120bd360
KW
522010-11-03 Ken Werner <ken.werner@de.ibm.com>
53
54 * gdb.base/gnu_vector.exp: Add unary operator tests.
55
c37f7098
KW
562010-11-03 Ken Werner <ken.werner@de.ibm.com>
57
58 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
59
7b51bc51
DE
602010-11-02 Doug Evans <dje@google.com>
61
62 * gdb.python/py-pp-maint.c: New file.
63 * gdb.python/py-pp-maint.exp: New file.
64 * gdb.python/py-pp-maint.py: New file.
65
50c97f38
TT
662010-11-02 Tom Tromey <tromey@redhat.com>
67
68 * gdb.base/default.exp: Remove "scheme" from language list.
69
a289b8f6
JK
702010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
71
72 Revert:
73 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
74 * gdb.threads/sigstep-threads.exp: New file.
75 * gdb.threads/sigstep-threads.c: New file.
76
cd017491
MS
772010-10-20 Michael Snyder <msnyder@vmware.com>
78
79 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
80
8e6a5956
UW
812010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
82
83 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
84 Skip test completely if gdb,no_hardware_watchpoints.
85
2c04da0d
UW
862010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
87
88 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
89 strict, but do not check for any particular function name within libc.
90
79afc5ef
SW
912010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
92
93 * gdb.cp/smartp.exp: New test.
94 * gdb.cp/smartp.cc : New test.
95
026ffab7
SW
962010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
97
98 * gdb.cp/converts.exp: Test pointer to bool conversion.
99 Test pointer to long conversion.
100 * gdb.cp/oranking.exp: Removed relevant kfail.
101
3a772aa4
TT
1022010-10-18 Tom Tromey <tromey@redhat.com>
103
104 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
105 argument to lazy_string.
106 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
107 (pp_ls.to_string): Use it.
108 * gdb.python/py-prettyprint.c (main): Move declarations to top.
109 Add "estring2" local.
110
5fc3827b
JK
1112010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 Fix s390x compatibility.
114 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
115 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
116
8aeb23f3
JK
1172010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
118
119 * gdb.threads/sigstep-threads.exp: New file.
120 * gdb.threads/sigstep-threads.c: New file.
121
c1e56572
JK
1222010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
123
124 * gdb.base/pie-execl.exp: New file.
125 * gdb.base/pie-execl.c: New file.
126
92163a10
JK
1272010-10-13 Doug Evans <dje@google.com>
128 Jan Kratochvil <jan.kratochvil@redhat.com>
129
130 PR exp/12117
131 * gdb.cp/ptype-cv-cp.cc: New file.
132 * gdb.cp/ptype-cv-cp.exp: New file.
133
7062b0a0
SW
1342010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
135
136 * gdb.cp/converts.cc: New test program.
137 * gdb.cp/converts.exp: New test.
138 * gdb.cp/overload.exp: Added test for void* vs int*.
139 * gdb.cp/overload.exp: Ditto.
140 * gdb.cp/oranking.exp: Removed related kfail.
141
0e3509db
DE
1422010-10-13 Doug Evans <dje@google.com>
143
144 * lib/gdb-python.exp (gdb_check_python_config): New function.
145 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
146 * gdb.python/lib-types.cc: New file.
147 * gdb.python/lib-types.exp: New file.
148
8dc78533
JK
1492010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
150
151 * gdb.python/py-error.exp: New file.
152 * gdb.python/py-error.py: New file.
153
93c17e06
JK
1542010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
157 gdb_test_multiple.
158
d8b34041
JK
1592010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
160
161 * gdb.base/break-interp.exp: Use ldlags for linking flags.
162 * gdb.base/prelink.exp: Likewise.
163 * gdb.base/solib-nodir.exp: Likewise.
164 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
165 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
166 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
167
e0cc584e
UW
1682010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
169
170 * break-interp.exp (test_ld): Use two separate gdb_expect statements
171 for the "info files" test to avoid timeouts on slow machines.
172
cfc353b1
JK
1732010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
176 (main): Make openlib dummy call.
177
d3d7896d
JK
1782010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
179
180 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
181 * break-interp.exp (reach): Move the core body ...
182 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
183 (test_ld): Provide always real argument, even to the linker. Replace
184 dl_main by _dl_debug_state.
185
5e533c94
JK
1862010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
187
188 Fix results of prelinked PIEs on ppc*.
189 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
190 Accept also DISPLACEMENT "PRESENT".
191 (main): Replace "ZERO" displacements by "PRESENT".
192
33540610
SW
1932010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
194
195 * gdb.cp/oranking.exp: New test.
196 * gdb.cp/oranking.cc: New test program.
197
3bdf2bbd
KW
1982010-10-08 Ken Werner <ken.werner@de.ibm.com>
199
200 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
201 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
202
2f608a3a
KW
2032010-10-06 Ken Werner <ken.werner@de.ibm.com>
204
205 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
206 lush, lynx) New constant.
207 * gdb.base/constvars.exp: Test const array types.
208 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
209
aa2e2d8d
DE
2102010-10-06 Doug Evans <dje@google.com>
211
212 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
213 of syscall staging area.
214
2844d6b5
KW
2152010-10-06 Ken Werner <ken.werner@de.ibm.com>
216
217 * gdb.base/gnu_vector.c: Add variable c4.
218 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
219 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
220
7d8ac8bb
MR
2212010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
222
223 * gdb.arch/altivec-abi.exp: Fix a typo.
224
84a02e58
MR
2252010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
226
227 * lib/mi-support.exp (thread_selected_re): Correct pattern used
228 to match a thread ID.
229
b18e6318
JK
2302010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 Fix s390x testcase compatibility.
233 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
234
a2c09bd0
DE
2352010-10-01 Doug Evans <dje@google.com>
236
237 * lib/gdb-python.exp: New file.
238 * gdb.python/py-block.exp: Use it.
239 * gdb.python/py-breakpoint.exp: Ditto.
240 * gdb.python/py-frame.exp: Ditto.
241 * gdb.python/py-inferior.exp: Ditto.
242 * gdb.python/py-param.exp: Ditto.
243 * gdb.python/py-prettyprint.exp: Ditto.
244 * gdb.python/py-shared.exp: Ditto.
245 * gdb.python/py-symbol.exp: Ditto.
246 * gdb.python/py-symtab.exp: Ditto.
247 * gdb.python/py-type.exp: Ditto.
248 * gdb.python/py-value.exp: Ditto.
249 * gdb.python/python.exp: Ditto.
250
38f12cfc
TT
2512010-09-30 Tom Tromey <tromey@redhat.com>
252
253 * gdb.base/anon.exp: New file.
254 * gdb.base/anon.c: New file.
255
9ae8282d
TT
2562010-09-30 Tom Tromey <tromey@redhat.com>
257
258 * gdb.base/completion.exp: Test completion through anonymous
259 union.
260 * gdb.base/break1.c (struct some_struct): Add anonymous union.
261
e9e07ba6
JK
2622010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
263
264 Fix printing parameters of inlined functions.
265 * gdb.dwarf2/dw2-inline-param.exp: New file.
266 * gdb.dwarf2/dw2-inline-param-main.c: New file.
267 * gdb.dwarf2/dw2-inline-param.S: New file.
268
cd2effb2
JK
2692010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
270
271 PR corefiles/12071.
272 * gdb.base/corefile.exp (quit with a process, no question: load core)
273 (quit with a core file): New tests.
274
bceffbf3
JK
2752010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
276
277 Fix GDB crash on inferior calls with self-referencing classes.
278 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
279 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
280 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
281
1736ad11
JK
2822010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
283
284 Fix lost siginfo_t for inferior calls.
285 * gdb.base/siginfo-infcall.exp: New file.
286 * gdb.base/siginfo-infcall.c: New file.
287
a176ad92
JB
2882010-09-22 Joel Brobecker <brobecker@adacore.com>
289
290 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
291
c2b0a229
JK
2922010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
293
294 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
295 New test.
296 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
297
e8ae22d1
JB
2982010-09-22 Joel Brobecker <brobecker@adacore.com>
299
300 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
301 type of our const type.
302
ec322823
SW
3032010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
304
305 * gdb.cp/pr12028.cc: New.
306 * gdb.cp/pr12028.exp: New.
307
72929c62
JB
3082010-09-22 Joel Brobecker <brobecker@adacore.com>
309
310 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
311
875b4ff5
PM
3122010-09-16 Phil Muldoon <pmuldoon@redhat.com>
313 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 PR mi/11407
316 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
317 * gdb.mi/dw2-ref-missing-frame-main.c New File.
318 * gdb.mi/dw2-ref-missing-frame.S New File.
319 * gdb.mi/dw2-ref-missing-frame.exp New File.
320
7155d578
TT
3212010-09-14 Tom Tromey <tromey@redhat.com>
322
323 PR symtab/8399:
324 * gdb.threads/tls.exp: Remove kfail. Update expected output.
325
515ed532
TT
3262010-09-14 Tom Tromey <tromey@redhat.com>
327
328 PR exp/11803:
329 * gdb.threads/tls.exp: Use C++.
330 (check_thread_local): Use K::another_thread_local.
331 * gdb.threads/tls.c (class K): New.
332 (another_thread_local): Now a member of K.
333 (spin): Update. No longer K&R C.
334
450ca57c
SW
3352010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
336
337 * gdb.cp/koenig.cc: created class for testing member lookup.
338 * gdb.cp/koenig.exp: Added test for member lookup.
339
dbd492a3
JK
3402010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
341
342 Fix false FAILs on sourcetree topdir directory containing "kill".
343 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
344 source line matching regexp.
345
8d4d924b
JK
3462010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 * gdb.python/python.exp (set height 0, collect help from uiout)
349 (verify help to uiout): New tests.
350
8e64f2a0
JK
3512010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
352
353 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
354 is_lp64_target to check 64bit target.
355
4569eed2
JK
3562010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
359 (test_ld) <powerpc64-*>: New.
360
5e1617b1
DJ
3612010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
362
363 * gdb.cp/templates.exp (test_template_args): Allow "struct".
364
c767944b
DJ
3652010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
366
367 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
368 (FunctionArg::method): New function.
369 (empty, arg): New variables.
370 (main): Call arg.method.
371 * gdb.cp/templates.exp (test_template_args): New function.
372 (do_tests): Call it.
373
27d3a3fc
UW
3742010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
375
376 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
377 of "next" to proceed over pthread_exit call.
378
55b7ce7f
UW
3792010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
380
381 * gdb.base/maint.exp: Avoid wildcards against potentially very long
382 "maint print statistics" output to prevent expect timeouts.
383
809df446
JK
3842010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
385
386 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
387 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
388 (test_float_rejected): ... here.
389 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
390 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
391 (test_float_rejected): ... here.
392 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
393 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
394 (test_float_rejected): ... here.
395 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
396 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
397 (test_float_rejected): ... here.
398
8464be76
DJ
3992010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
400
401 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
402 before disabling hardware watchpoints.
403 (test_inaccessible_watchpoint): Check that hardware watchpoints
404 are used. Test for watchpoints on a constant address.
405
14dba4b4
JK
4062010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
407
408 * gdb.base/ui-redirect.exp: New file.
409
3f3540e1
JB
4102010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
411 Joel Brobecker <brobecker@adacore.com>
412
413 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
414
0f254bb7
DE
4152010-08-31 Doug Evans <dje@google.com>
416
417 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
418
03f17ccf
TT
4192010-08-30 Tom Tromey <tromey@redhat.com>
420
421 PR python/11792:
422 * gdb.python/py-value.exp (test_subscript_regression): Add
423 dynamic_type test.
424
640617ad
DJ
4252010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
426
427 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
428 instead of running to main. Do not test the main function.
429 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
430 Add new main.
431
2ed91d1b
PA
4322010-08-26 Pedro Alves <pedro@codesourcery.com>
433
434 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
435 one test.
436
673bfd45
DE
4372010-08-24 Doug Evans <dje@google.com>
438
439 PR symtab/11942
440 * gdb.dwarf2/dw4-sig-types.cc: New file.
441 * gdb.dwarf2/dw4-sig-types.h: New file.
442 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
443 * gdb.dwarf2/dw4-sig-types.exp: New file.
444
f9ffd4bb
TT
4452010-08-23 Tom Tromey <tromey@redhat.com>
446
447 PR python/11145:
448 * gdb.python/py-value.c (Base, Derived): New types.
449 (base): New global.
450 * gdb.python/py-value.exp (test_subscript_regression): Add
451 dynamic_cast test.
452
d839c8a4
TT
4532010-08-23 Tom Tromey <tromey@redhat.com>
454
455 PR python/10676:
456 * gdb.python/py-type.exp (test_fields): Add tests for type
457 equality.
458
702c2711
TT
4592010-08-23 Tom Tromey <tromey@redhat.com>
460
461 PR python/11915:
462 * gdb.python/py-type.exp (test_fields): Add tests for array.
463
832bafd3
KS
4642010-08-23 Keith Seitz <keiths@redhat.com>
465
466 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
467 have any children. Create a new abbrev for it.
468 Add missing terminal sequence to .debug_abbrev.
469
c37bf528
KS
4702010-08-20 Keith Seitz <keiths@redhat.com>
471
472 PR symtab/11465:
473 * gdb.dwarf2/pr11465.exp: New test.
474 * gdb.dwarf2/pr11465.S: New file.
475 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
476 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
477
4572cbac
TJB
4782010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
479
480 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
481 registers. Update data sets with the new v2_double element in the
482 VSX register union. Add vector_register3_vr data set for the AltiVec
483 registers. Use gdb_test_no_output instead of send_gdb.
484
e7fbb131
PA
4852010-08-19 Pedro Alves <pedro@codesourcery.com>
486
487 * gdb.python/py-shared.exp: New file, factored out from
488 python.exp.
489 * gdb.python/py-shared.c: New file.
490 * gdb.python/py-shared-sl.c: New file.
491 * gdb.python/python-1.c: New file.
492 * gdb.python/python-sl.c: Delete.
493 * gdb.python/python.c: Mention python-1.c.
494 * gdb.python/python.exp: Move shared library tests to
495 py-shared.exp.
496 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
497 (MISCELLANEOUS): New.
498 (clean mostlyclean): Also remove $MISCELLANEOUS.
499
d30f5e1f
DE
5002010-08-19 Doug Evans <dje@google.com>
501
502 PR exp/11926
503 * gdb.base/printcmds.exp (test_float_accepted): New function.
504 Move existing float tests there. Add tests for floats with suffixes.
505 (test_float_rejected): New function.
506 * gdb.java/jv-print.exp (test_float_accepted): New function.
507 (test_float_rejected): New function.
508 * gdb.objc/print.exp: New file.
509 * gdb.pascal/print.exp: New file.
510 * lib/objc.exp: New file.
511
7b3fd859
PM
5122010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
513
514 * gdb.base/default.exp (info set): Avoid full buffer error and force
515 reading up to final gdb prompt.
516 (show): Likewise.
517
c92817ce
TT
5182010-08-18 Tom Tromey <tromey@redhat.com>
519
520 PR symtab/11919:
521 * gdb.base/completion.exp: Add test.
522
f1208f9e
DE
5232010-08-18 Doug Evans <dje@google.com>
524
525 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
526 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
527 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
528 Simplify, early exit if runto_main fails.
529 * gdb.fortran/exprs.exp: load_lib fortran.exp.
530 (set_lang_fortran): Moved to lib/fortran.exp.
531 * gdb.fortran/types.exp: load_lib fortran.exp.
532 (set_lang_fortran): Moved to lib/fortran.exp.
533 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
534 * gdb.java/jprint.exp (set_lang_java): Ditto.
535 * gdb.java/jv-exp.exp: load_lib java.exp.
536 If set_lang_java fails, issue a warning instead of failure to be
537 consistent with other set_lang_foo uses.
538 (set_lang_java): Moved to lib/java.exp.
539 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
540 If set_lang_java fails, issue a warning instead of failure to be
541 consistent with other set_lang_foo uses.
542 * gdb.pascal/types.exp: load_lib pascal.exp.
543 (set_lang_pascal): Moved to lib/pascal.exp.
544 * lib/fortran.exp: New file.
545 * lib/java.exp (set_lang_java): New function.
546 * lib/pascal.exp (set_lang_pascal): New function.
547
2f06b485
YQ
5482010-08-18 Yao Qi <yao@codesourcery.com
549
550 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
551 func_nofb_start and func_loopfb_start, so that address of functions
552 is equal to these labels on Thumb.
553
96e25403
YQ
5542010-08-18 Yao Qi <yao@codesourcery.com>
555
556 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
557 to reflect latest c source file.
558
36e6adc4
JK
5592010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
560
561 * gdb.cp/infcall-dlopen.exp: New file.
562 * gdb.cp/infcall-dlopen.cc: New file.
563 * gdb.cp/infcall-dlopen-lib.cc: New file.
564
f431efe5
PA
5652010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
566 Pedro Alves <pedro@codesourcery.com>
567
568 PR breakpoints/11371
569
570 * gdb.base/watch-cond-infcall.exp: New file.
571 * gdb.base/watch-cond-infcall.c: New file.
572
06a64a0b
TT
5732010-08-16 Tom Tromey <tromey@redhat.com>
574
575 * gdb.base/help.exp: Update.
576 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
577 watchpoint.
578 (test_watch_location): New proc.
579 (test_watchpoint_in_big_blob): Delete watchpoint.
580 * gdb.base/watchpoint.c (func5): New function.
581 (main): Call it.
582
70ebf4ed
DE
5832010-08-16 Doug Evans <dje@google.com>
584
585 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
586
ca5c20b6
PM
5872010-08-11 Phil Muldoon <pmuldoon@redhat.com>
588
589 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
590 tests.
591
7346b668
KW
5922010-08-11 Ken Werner <ken.werner@de.ibm.com>
593
594 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
595 * gdb.base/gnu_vector.c: New File.
596 * gdb.base/gnu_vector.exp: Likewise.
597
cb2e07a6
PM
5982010-08-11 Phil Muldoon <pmuldoon@redhat.com>
599
600 * gdb.python/python.c: New File.
601 * gdb.python/python-sl.c: New File.
602 * gdb.python/python.exp: Test solib_address and decode_line
603 * functions.
604
5da1313b
JK
6052010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
606
607 * gdb.python/python.exp (show height, set height 10)
608 (verify pagination beforehand, verify pagination beforehand: q)
609 (gdb.execute does not page, verify pagination afterwards)
610 (verify pagination afterwards: q): New.
611
49c3ccf7
DE
6122010-08-02 Doug Evans <dje@google.com>
613
614 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
615 because of an older gcc, change test2
616 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
617 to unsupported.
618
42c0c4f1
KH
6192010-07-30 Kazu Hirata <kazu@codesourcery.com>
620
621 * gdb.base/break-always.exp: Do not expect full paths to file
622 names.
623 * gdb.base/commands.exp: Likewise.
624
d3765805
DE
6252010-07-30 Doug Evans <dje@google.com>
626
c98ee71b
DE
627 * gdb.cp/temargs.exp: For new tests that require newer gccs,
628 xfail them when run with older gccs.
629
fd961404
DE
630 * lib/gdb.exp (build_executable): Forward "c++" option to
631 get_compiler_info.
632
999adef4
DE
633 * gdb.python/py-type.exp (test_template): Mark as xfail tests
634 "python print ttype.template_argument(1)" and
635 "python print isinstance(ttype.template_argument(1), gdb.Value)"
636 if using gcc 4.4 or earlier.
637
d3765805
DE
638 * gdb.base/valgrind-db-attach.exp: Use unique test name for
639 attach-to-debugger handling.
640
1276c759
JK
6412010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
642
643 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
644 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
645 (main): Use copyreloc.
646 * gdb.base/prelink.exp (split debug of executable)
647 (.dynbss vs. .bss address shift): New tests.
648
88caa9b9
PA
6492010-07-29 Pedro Alves <pedro@codesourcery.com>
650
651 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
652 in gdb_test_multiple.
653
c6f2ac43
PA
6542010-07-29 Pedro Alves <pedro@codesourcery.com>
655
656 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
657 environment.
658
326fd672
TT
6592010-07-28 Tom Tromey <tromey@redhat.com>
660
661 PR python/11060:
662 * gdb.python/py-type.c (Temargs): New template.
663 (temvar): New variable.
664 * gdb.python/py-type.exp (test_template): New proc.
665
3ce3b1ba
PA
6662010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
667
668 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
669 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
670
34eaf542
TT
6712010-07-28 Tom Tromey <tromey@redhat.com>
672
673 PR c++/9946:
674 * gdb.cp/temargs.exp: New file.
675 * gdb.cp/temargs.cc: New file.
676
d41b819e
JK
6772010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
678
679 * gdb.base/help.exp (help disassemble): Update the content.
680
26ab7092
JK
6812010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
682
683 * gdb.threads/ia64-sigill.exp: New file.
684 * gdb.threads/ia64-sigill.c: New file.
685
5283e9e1
TT
6862010-07-27 Tom Tromey <tromey@redhat.com>
687
688 * gdb.opt/inline-cmds.c (ATTR): New define.
689 (func1): Use it.
690 (func2): Likewise.
691 (func3): Likewise.
692 (outer_inline1): Likewise.
693 (outer_inline2): Likewise.
694 * gdb.opt/inline-bt.c (ATTR): New define.
695 (func1): Use it.
696 (func2): Likewise.
697 * gdb.opt/inline-locals.c (ATTR): New define.
698 (func1): Use it.
699 (func2): Likewise.
700
e992ef73
TT
7012010-07-27 Tom Tromey <tromey@redhat.com>
702
703 * gdb.stabs/gdb11479.c (hack): New function.
704 (test): Use it.
705 (test2): Use it.
706 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
707 (int32_search_buf, int64_search_buf): No longer static.
708 (x): Remove.
709 * gdb.base/relocate.c (hack): New function.
710
5374244e
PM
7112010-07-27 Phil Muldoon <pmuldoon@redhat.com>
712
713 * gdb.python/py-value.exp (test_inferior_function_call): New function.
714 * gdb.python/py-value.c (func1): New function.
715 (func2): Likewise.
716
a99aee83
CV
7172010-07-26 Corinna Vinschen <vinschen@redhat.com>
718
719 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
720 as not to clash with .data section.
721
a04ba985
JG
7222010-07-26 Jerome Guitton <guitton@adacore.com>
723
724 * gdb.base/code_elim.exp: New file.
725 * gdb.base/code_elim1.c: New file.
726 * gdb.base/code_elim2.c: New file.
727
23bd0f7c
PA
7282010-07-21 Pedro Alves <pedro@codesourcery.com>
729
730 PR symtab/11827
731
732 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
733 (some_volatile_enum): New variable.
734 * gdb.base/printcmds.exp (test_print_enums): New.
735 <top level>: Call it.
736
883df6dd
SW
7372010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
738
739 * gdb.cp/fpointer.cc: New test.
740 * gdb.cp/fpointer.exp: New test.
741
569b05a5
JK
7422010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
743
744 * gdb.base/solib-nodir.exp: New file.
745 * lib/gdb.exp (runto): New case for a GDB internal error.
746
51d7d803
JK
7472010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
748 Ulrich Weigand <uweigand@de.ibm.com>
749 Tom Tromey <tromey@redhat.com>
750
751 * gdb.base/charset-malloc.c: New file.
752 * gdb.base/charset.c (malloc_stub): New prototype.
753 (main): Call it instead of malloc itself.
754 * gdb.base/charset.exp: Use only prepare_for_testing.
755 (binfile): Remove the variable.
756
c0edd9ed
JK
7572010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
758
759 Make core files the process_stratum.
760 * gdb.base/corefile.exp (run: load core again)
761 (run: sanity check we see the core file, run: with core)
762 (run: core file is cleared, attach: load core again)
763 (attach: sanity check we see the core file, attach: with core)
764 (attach: core file is cleared): New tests.
765 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
766
3cbaedff
KW
7672010-07-14 Ken Werner <ken.werner@de.ibm.com>
768
769 * gdb.arch/altivec-abi.exp: New tests.
770
91158a56
TT
7712010-07-13 Tom Tromey <tromey@redhat.com>
772
773 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
774 (main): Use it.
775 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
776
0f5238ed
TT
7772010-07-13 Tom Tromey <tromey@redhat.com>
778
779 * gdb.base/label.exp: New file.
780 * gdb.base/label.c: New file.
781
add265ae
L
7822010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
783 H.J. Lu <hongjiu.lu@intel.com>
784
785 * lib/gdb.exp (is_ilp32_target): New.
786 (is_lp64_target): Likewise.
787
788 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
789 target.
790 * gdb.arch/amd64-disp-step.exp: Likewise.
791 * gdb.arch/amd64-dword.exp: Likewise.
792 * gdb.arch/amd64-i386-address.exp: Likewise.
793 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 794
add265ae
L
795 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
796 target.
797 * gdb.arch/i386-bp_permanent.exp: Likewise.
798 * gdb.arch/i386-byte.exp: Likewise.
799 * gdb.arch/i386-disp-step.exp: Likewise.
800 * gdb.arch/i386-gnu-cfi.exp: Likewise.
801 * gdb.arch/i386-prologue.exp: Likewise.
802 * gdb.arch/i386-size-overlap.exp: Likewise.
803 * gdb.arch/i386-size.exp: Likewise.
804 * gdb.arch/i386-sse.exp: Likewise.
805 * gdb.arch/i386-unwind.exp: Likewise.
806 * gdb.arch/i386-word.exp: Likewise.
807
808 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
809 test only when building 64-bit executables. Do not hard-code
810 -m64 option.
811
2dfb8c17
DE
8122010-07-07 Doug Evans <dje@google.com>
813
814 * lib/gdb.exp (gdb_test_list_exact): New function.
815 * gdb.base/default.exp (show convenience): Call it, add tests for
816 $_sdata = void, $_thread = 0.
817
4e5799b6
JK
8182010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
819 Joel Brobecker <brobecker@adacore.com>
820
821 Fix re-run of PIE executable, PR shlibs/11776.
822 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
823 Remove $displacement_main to match the solib-svr4.c change. New "kill"
824 and re-"run" of the inferior.
825
1a219cc7
JK
8262010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
827 Joel Brobecker <brobecker@adacore.com>
828
829 Cope with missing /usr/sbin/prelink.
830 * lib/prelink-support.exp (prelink_no):
831 <result == 1 && $output is "no such file or directory">: New.
832 (prelink_yes): Likewise. Return on failed prelink_no.
833
5e3b36f8
JK
8342010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
835 Joel Brobecker <brobecker@adacore.com>
836
837 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
838 build_executable by build_executable_own_libs. Replace "prelink -R"
839 execution by a call of prelink_yes. Comment why "prelink -r" needs no
840 change.
841 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
842 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
843 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
844 Replace build_executable by build_executable_own_libs's function
845 build_executable_own_libs.
846 (prelinkNO): Create new stub to call prelink_no.
847 (prelinkYES): Create new stub to call prelink_yes.
848 (test_attach): Rename calls of copy to file_copy.
849 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
850 (copy): Move to ...
851 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
852 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
853 * gdb.base/prelink.exp: Disable testcase also for is_remote and
854 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
855 special flags by gdb_compile_shlib. Replace second gdb_compile by
856 build_executable_own_libs. Replace "prelink -R" execution by a call of
857 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
858 a second call of prelink_yes. Replace restart commands by
859 clean_restart.
860 (prelink): Rename to ...
861 (seen displacement message): ... this test. Extend its expectation
862 strictness.
863
86e4bafc
JK
8642010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
865
866 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
867 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
868 displacement message exactly once.
869
3cd07d20
JK
8702010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
871 Joel Brobecker <brobecker@adacore.com>
872
873 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
874 its restore after the <$relink_args != ""> loop. new comment.
875
0a1e94c7
JK
8762010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
877 Joel Brobecker <brobecker@adacore.com>
878
879 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
880 code for it. New variable relink_args.
881 (prelinkYES): Call prelinkNO.
882 (test_attach): Accept new parameter relink_args. Re-prelink the binary
883 in such case. Move the core code to ...
884 (test_attach_gdb): ... a new function. Send GDB command "file".
885 Extend expected "Attaching to " string.
886
2f70bcfb
TT
8872010-07-02 Tom Tromey <tromey@redhat.com>
888
889 * gdb.base/bitops.exp: Remove extraneous "pass".
890
a17ac5b0
TT
8912010-07-02 Ken Werner <ken.werner@de.ibm.com>
892
893 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
894
dc10affe
PA
8952010-07-01 Pedro Alves <pedro@codesourcery.com>
896
d41c0fc8
PA
897 * gdb.base/help.exp: Adjust expected output.
898
8992010-07-01 Pedro Alves <pedro@codesourcery.com>
900
901 * gdb.base/help.exp: Adjust expected output.
dc10affe 902
0a600c36
JK
9032010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
904
905 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
906 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
907 c++/11702.
908
37cc8bfe
JK
9092010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
910 Doug Evans <dje@google.com>
911
912 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
913 add .dynamic entry'.
914
254e6b9e
DE
9152010-06-29 Doug Evans <dje@google.com>
916
917 Test PR c++/11702.
918 * gdb.cp/m-static.exp: Add testcase.
919 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
920
595939de 9212010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
922 Tom Tromey <tromey@redhat.com>
923 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
924
925 * gdb.python/py-inferior.c: New File.
926 * gdb.python/py-infthread.c: New File.
927 * gdb.python/py-inferior.exp: New File.
928 * gdb.python/py-infthread.exp: New File.
929
98751a41
JK
9302010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
933 (ptype ::C::OtherFileClass typedefs): New.
934 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
935 (C::OtherFileClass::cOtherFileClassVar2): New.
936 (C::OtherFileClass::cOtherFileClassVar_use): Use also
937 cOtherFileClassVar2.
938 (C::cOtherFileType2, C::cOtherFileVar2): New.
939 (C::cOtherFileVar_use): use also cOtherFileVar2.
940 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
941
41f62f39
JK
9422010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
943
944 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
945 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
946 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
947 (print ::C::cOtherFileVar)
948 (whatis C::OtherFileClass::cOtherFileClassType)
949 (whatis ::C::OtherFileClass::cOtherFileClassType)
950 (print C::OtherFileClass::cOtherFileClassVar)
951 (print ::cOtherFileClassVar)
952 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
953 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
954 trailing content.
955 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
956 (C::OtherFileClass::cOtherFileClassVar)
957 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
958 (C::cOtherFileVar, C::cOtherFileVar_use): New.
959
af53d231
JK
9602010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
961
962 Test PR c++/11703 and PR gdb/1448.
963 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
964 gdb/1448.
965
9655fd1a
JK
9662010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
967
968 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
969 (main) <rtti_data>: New.
970 * gdb.cp/virtbase.exp (print rtti_data): New.
971
824cc8dd
JK
9722010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
973 Joel Brobecker <brobecker@adacore.com>
974
975 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
976
6036c742
JK
9772010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
978
979 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
980
de6a0421
DE
9812010-06-28 Doug Evans <dje@google.com>
982
983 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
984
b2dae948
DE
9852010-06-27 Doug Evans <dje@google.com>
986
987 * gdb.cp/m-static.exp: Update expected test output.
988
0f3bb72e
PH
9892010-06-25 Paul Hilfinger <hilfinger@adacore.com>
990
889bf7c5
PA
991 * gdb.gdb/selftest.exp: Adjust expected message for
992 capturing start-up runtime.
0f3bb72e 993
bc9f0842
TT
9942010-06-25 Tom Tromey <tromey@redhat.com>
995
996 PR python/10808:
997 * gdb.python/python.exp: Add new tests.
998
099ef718
SW
9992010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1000
1001 * gdb.cp/operator.cc: Created an import loop.
1002 * gdb.cp/operator.exp: Added testcase for import loop.
1003
5868a632
JK
10042010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1005
1006 Test PR python/11407.
1007 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1008 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1009 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1010 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1011 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1012 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1013 binfile. Call gdb_compile with clean_restart twice.
1014 (func_nofb print, func_nofb backtrace, func_loopfb print)
1015 (func_loopfb backtrace): New.
1016
af76db58
JK
10172010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1020 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1021 by a hand made one.
1022 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1023 i?86 requirement. Remove variables srcfile and binfile. New variable
1024 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1025
f2c7657e
UW
10262010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1027
1028 * gdb.cell/dwarfaddr.exp: New file.
1029 * gdb.cell/dwarfaddr.S: New file.
1030
628fe4e4
JK
10312010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 Test PR 9436.
1034 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1035
f1421989
HZ
10362010-06-24 Hui Zhu <teawater@gmail.com>
1037
1038 * gdb.base/eval.exp: New file.
1039
d03285ec
UW
10402010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1041
1042 * gdb.cell/fork.exp: New file.
1043 * gdb.cell/fork.c: Likewise.
1044 * gdb.cell/fork-spu.c: Likewise.
1045
41b2c92d
PM
10462010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1047
1048 * lib/gdb.exp (banned_variables_traced): New global variable.
1049 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1050 (gdb_init): Use `trace add variable' instead of obsolete
1051 `trace variable'.
1052
d5bc977f
DE
10532010-06-21 Doug Evans <dje@google.com>
1054
1055 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1056
d2ed6730
UW
10572010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1058
1059 * gdb.arch/spu-ls.exp: New file.
1060 * gdb.arch/spu-ls.c: Likewise.
1061
6aed2dbc
SS
10622010-06-18 Stan Shebs <stan@codesourcery.com>
1063
1064 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1065
e0756905
UW
10662010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1067
1068 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1069 * gdb.base/watch-cond.exp: Likewise.
1070 * gdb.python/py-breakpoint.exp: Likewise.
1071
d8053d4d
PA
10722010-06-18 Pedro Alves <pedro@codesourcery.com>
1073
1074 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1075 clean_restart, make sure every test has a distinct message, and
1076 that messages don't include the executable' full path.
1077
81ce510c
DE
10782010-06-17 Doug Evans <dje@google.com>
1079
1080 * gdb.arch/i386-size.exp: Updated expected output for
1081 DISASSEMBLY_OMIT_FNAME.
1082
65d79d4b
SDJ
10832010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1084 Sergio Durigan Junior <sergiodj@redhat.com>
1085
1086 * gdb.base/watch-notconst.c: New file.
1087 * gdb.base/watch-notconst.S: New file.
1088 * gdb.base/watch-notconst2.c: New file.
1089 * gdb.base/watch-notconst2.S: New file.
1090 * gdb.base/watch-notconst.exp: New file.
1091 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1092 (func4): Add operations on `global_ptr_ptr'.
1093 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1094 routine to test watchpoints created with a constant expression.
1095 (test_inaccessible_watchpoint): Include tests for watchpoints
1096 created with a constant expression.
1097
df0f4836
KB
10982010-06-14 Kevin Buettner <kevinb@redhat.com>
1099
1100 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1101 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1102 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1103 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1104 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1105 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1106 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1107 of `_start'.
1108
b769def5
UW
11092010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1110
1111 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1112 not supported on the target.
1113 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1114 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1115 * gdb.mi/mi-nsintrall.exp: Likewise.
1116 * gdb.mi/mi-nsmoribund.exp: Likewise.
1117 * gdb.mi/mi-nsthrexec.exp: Likewise.
1118
d914c394
SS
11192010-06-11 Stan Shebs <stan@codesourcery.com>
1120
1121 * gdb.base/permissions.exp: New file.
1122
11232010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
1124
1125 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1126 does not support ELF executable class.
1127
f3ce5b9c
UW
11282010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1129
1130 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1131
8e46892c
JK
11322010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1135 (runto): Catch "The target does not support running in non-stop mode.".
1136
6cc55c64
MS
11372010-06-11 Michael Snyder <msnyder@vmware.com>
1138
1139 * gdb.base/setshow.exp (set language asm): Don't use
1140 gdb_test_no_output, fails on some targets.
1141
caddefa4
UW
11422010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1143
1144 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1145 * gdb.cp/pr9167.exp: Likewise.
1146
468b1aa7
UW
11472010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1148
1149 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1150
5c3552dc
UW
11512010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1152
1153 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1154
02e6fe6a
UW
11552010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1156
1157 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1158
0e03807e
TT
11592010-06-11 Tom Tromey <tromey@redhat.com>
1160
1161 PR gdb/9977, PR exp/11636::
1162 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1163 (pieces_test_f6): Update expected output.
1164
2bdf28a0
JK
11652010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1166
1167 * gdb.base/moribund-step.exp: New.
1168
f6978de9
MS
11692010-06-08 Michael Snyder <msnyder@vmware.com>
1170
1171 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 1172 * gdb.ada/boolean_expr.exp:
f6978de9
MS
1173 * gdb.ada/frame_args.exp: Ditto.
1174 * gdb.ada/lang_switch.exp: Ditto.
1175 * gdb.ada/ptype_arith_binop.exp: Ditto.
1176 * gdb.ada/ref_param.exp: Ditto.
1177 * gdb.ada/type_coercion.exp:Ditto.
1178
1179 * gdb.asm/asm-source.exp: Ditto.
1180
1181 * gdb.base/attach.exp: Ditto.
1182 * gdb.base/bitfields2.exp: Ditto.
1183 * gdb.base/call-signal-resume.exp: Ditto.
1184 * gdb.base/callfuncs.exp: Ditto.
1185 * gdb.base/commands.exp: Ditto.
1186 * gdb.base/dbx.exp: Ditto.
1187 * gdb.base/default.exp: Ditto.
1188 * gdb.base/dump.exp: Ditto.
1189 * gdb.base/exprs.exp: Ditto.
1190 * gdb.base/freebpcmd.exp: Ditto.
1191 * gdb.base/interrupt.exp: Ditto.
1192 * gdb.base/list.exp: Ditto.
1193 * gdb.base/long_long.exp: Ditto.
1194 * gdb.base/maint.exp: Ditto.
1195 * gdb.base/ptype.exp: Ditto.
1196 * gdb.base/return.exp: Ditto.
1197 * gdb.base/setshow.exp: Ditto.
1198 * gdb.base/sigbpt.exp: Ditto.
1199 * gdb.base/sigrepeat.exp: Ditto.
1200
1201 * gdb.cp/classes.exp: Ditto.
1202
1203 * gdb.dwarf2/dw2-restore.exp: Ditto.
1204
1205 * gdb.gdb/selftest.exp: Ditto.
1206
1207 * gdb.multi/base.exp: Ditto.
1208 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1209
1210 * gdb.python/py-block.exp: Ditto.
1211 * gdb.python/py-prettyprint.exp: Ditto.
1212 * gdb.python/py-template.exp: Ditto.
1213
1214 * gdb.server/ext-attach.exp: Ditto.
1215 * gdb.server/ext-run.exp: Ditto.
1216 * gdb.server/server-mon.exp: Ditto.
1217
1218 * gdb.threads/fork-thread-pending.exp: Ditto.
1219 * gdb.threads/hand-call-in-threads.exp: Ditto.
1220 * gdb.threads/interrupted-hand-call.exp: Ditto.
1221 * gdb.threads/linux-dp.exp: Ditto.
1222 * gdb.threads/manythreads.exp: Ditto.
1223 * gdb.threads/print-threads.exp: Ditto.
1224 * gdb.threads/pthreads.exp: Ditto.
1225 * gdb.threads/schedlock.exp: Ditto.
1226 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1227 * gdb.threads/threadapply.exp: Ditto.
1228
de7ff789
MS
12292010-06-08 Michael Snyder <msnyder@vmware.com>
1230
889bf7c5 1231 * gdb.ada/exec_changed.exp:
de7ff789
MS
1232 Use ".*" instead of "" as wildcard regexp.
1233
1234 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1235 * gdb.base/call-ar-st.exp: Ditto.
1236 * gdb.base/checkpoint.exp: Ditto.
1237 * gdb.base/default.exp: Ditto.
1238 * gdb.base/dump.exp: Ditto.
1239 * gdb.base/ending-run.exp: Ditto.
1240 * gdb.base/fileio.exp: Ditto.
1241 * gdb.base/miscexprs.exp: Ditto.
1242 * gdb.base/pointers.exp: Ditto.
1243 * gdb.base/readline.exp: Ditto.
1244 * gdb.base/reread.exp: Ditto.
1245 * gdb.base/restore.exp: Ditto.
1246 * gdb.base/shlib-call.exp: Ditto.
1247 * gdb.base/valgrind-db-attach.exp: Ditto.
1248 * gdb.base/volatile.exp: Ditto.
1249 * gdb.base/watchpoints.exp: Ditto.
1250
1251 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1252
1253 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1254 * gdb.python/py-value.exp: Ditto.
1255
1256 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1257 * gdb.trace/circ.exp: Ditto.
1258 * gdb.trace/collection.exp: Ditto.
1259 * gdb.trace/packetlen.exp: Ditto.
1260 * gdb.trace/passc-dyn.exp: Ditto.
1261 * gdb.trace/report.exp: Ditto.
1262 * gdb.trace/tfile.exp: Ditto.
1263 * gdb.trace/tfind.exp: Ditto.
1264 * gdb.trace/while-dyn.exp: Ditto.
1265
3bebe2f2
JK
12662010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1267
1268 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1269
5c631832
JK
12702010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1271
1272 Test PR 10640.
1273 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1274
4c3376c8
SW
12752010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1276
1277 * gdb.cp/koenig.exp: Test for ADL operators.
1278 * gdb.cp/koenig.cc: Added ADL operators.
1279 * gdb.cp/operator.exp: New test.
1280 * gdb.cp/operator.cc: New test.
1281
dc226d5a
MS
12822010-06-04 Michael Snyder <msnyder@vmware.com>
1283
dfb88a23
MS
1284 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1285 * gdb.base/pending.exp: Ditto.
f7ae76b3 1286
dc226d5a
MS
1287 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1288
967cf477
DE
12892010-06-04 Doug Evans <dje@google.com>
1290
1291 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1292 disabled printers.
1293 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1294 (enable_lookup_function): New function.
1295
eb801841
TT
12962010-06-04 Tom Tromey <tromey@redhat.com>
1297
1298 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1299 of hash and id.
1300
38979823
JK
13012010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1302
1303 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1304 newline.
1305 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1306 (empty verbose non-noisy clear, empty verbose noisy clear)
1307 (empty non-verbose noisy clear): Likewise.
1308
35ec993f
MS
13092010-06-03 Michael Snyder <msnyder@vmware.com>
1310
1311 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1312 * gdb.base/display.exp: Ditto.
1313 * gdb.base/find.exp: Ditto.
1314 * gdb.base/ifelse.exp: Ditto.
1315 * gdb.base/multi-forks.exp: Ditto.
1316 * gdb.base/recurse.exp: Ditto.
1317 * gdb.base/setshow.exp: Ditto.
1318 * gdb.base/value-double-free.exp: Ditto.
1319 * gdb.base/watch-vfork.exp: Ditto.
1320 * gdb.base/watch_thread_num.exp: Ditto.
1321 * gdb.base/watchpoint-solib.exp: Ditto.
1322 * gdb.base/watchpoint.exp: Ditto.
1323 * gdb.base/watchpoints.exp: Ditto.
1324
1325 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1326 * gdb.cp/overload.exp: Ditto.
1327 * gdb.cp/virtfunc.exp: Ditto.
1328
1329 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1330
889bf7c5 1331 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
1332 Replace gdb_test with gdb_test_no_output.
1333
889bf7c5 1334 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
1335 Replace gdb_test with gdb_test_no_output.
1336 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1337 * gdb.threads/watchthreads.exp: Ditto.
1338 * gdb.threads/watchthreads2.exp: Ditto.
1339
1340 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
1341 * gdb.trace/tfind.exp: Ditto.
1342
c22decce
JB
13432010-06-03 Joel Brobecker <brobecker@adacore.com>
1344
1345 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
1346 successful test if message is the empty string.
1347
fd5700c7
JK
13482010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.fortran/module.exp (stopped language detection): New test.
1351
f55ee35c
JK
13522010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1353
1354 Support DW_TAG_module as separate namespaces.
1355 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
1356 gdb.fortran/library-module-lib.f90: New.
1357 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
1358 (print i): Remove.
1359 (continue to breakpoint: i-is-1, print var_i value 1)
1360 (continue to breakpoint: i-is-2, print var_i value 2)
1361 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
1362 (print var_d, print var_i value 14, ptype modmany, complete `modm)
1363 (complete `modmany, complete `modmany`, complete `modmany`var)
1364 (show language, setting breakpoint at module): New tests.
1365 * gdb.fortran/module.f90 (module mod): Remove.
1366 (module mod1, module mod2, module modmany, subroutine sub1)
1367 (subroutine sub2, program module): New.
1368
b8e8282f
JK
13692010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1370
1371 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
1372 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
1373 * gdb.cp/anon-union.exp (pass): Rename to ...
1374 (print z 2): ... here.
b8e8282f 1375
019ebafc
MS
13762010-06-02 Michael Snyder <msnyder@vmware.com>
1377
e68d8fd4
MS
1378 * gdb.trace/actions.exp: Use gdb_test_no_output.
1379 * gdb.trace/circ.exp: Ditto.
1380 * gdb.trace/packetlen.exp: Ditto.
1381 * gdb.trace/save-trace.exp: Ditto.
1382 * gdb.trace/tracecmd.exp: Ditto.
1383 * gdb.trace/tsv.exp: Ditto.
1384
12b5d08a
MS
1385 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
1386 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
1387 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1388 * gdb.threads/manythreads.exp: Ditto.
1389 * gdb.threads/print-threads.exp: Ditto.
1390 * gdb.threads/pthreads.exp: Ditto.
1391 * gdb.threads/schedlock.exp: Ditto.
1392 * gdb.threads/staticthreads.exp: Ditto.
1393 * gdb.threads/thread-specific.exp: Ditto.
1394 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1395 * gdb.threads/threadapply.exp: Ditto.
1396 * gdb.threads/watchthreads.exp: Ditto.
1397 * gdb.threads/watchthreads2.exp: Ditto.
1398
89493308
MS
1399 * gdb.python/py-block.exp: Use gdb_test_no_output.
1400 * gdb.python/py-prettyprint.exp: Ditto.
1401 * gdb.python/py-template.exp: Ditto.
1402 * gdb.python/py-value.exp: Ditto.
1403
1404 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
1405 * gdb.reverse/watch-reverse.exp: Ditto.
1406
1407 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
1408 * gdb.server/ext-run.exp: Ditto.
1409
019ebafc
MS
1410 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
1411 * gdb.dwarf2/dw2-compressed.exp: Ditto.
1412 * gdb.dwarf2/dw2-intercu.exp: Ditto.
1413 * gdb.dwarf2/dw2-intermix.exp: Ditto.
1414 * gdb.dwarf2/dw2-producer.exp: Ditto.
1415 * gdb.dwarf2/mac-fileno.exp: Ditto.
1416
1417 * gdb.gdb/observer.exp: Use gdb_test_no_output.
1418 * gdb.gdb/selftest.exp: Ditto.
1419
1420 * gdb.multi/base.exp: Use gdb_test_no_output.
1421
1422 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
1423
3e0ca3a5
JK
14242010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1425
1426 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
1427
9db70545
MS
14282010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
1429
a8d52276
MS
1430 * gdb.cp/class2.exp: Use gdb_test_no_output.
1431 * gdb.cp/classes.exp: Ditto.
1432 * gdb.cp/extern-c.exp: Ditto.
1433 * gdb.cp/inherit.exp: Ditto.
1434 * gdb.cp/maint.exp: Ditto.
1435 * gdb.cp/mb-inline.exp: Ditto.
1436 * gdb.cp/mb-templates.exp: Ditto.
1437 * gdb.cp/method2.exp: Ditto.
1438 * gdb.cp/misc.exp: Ditto.
1439 * gdb.cp/ovldbreak.exp: Ditto.
1440 * gdb.cp/punctuator.exp: Ditto.
1441 * gdb.cp/templates.exp: Ditto.
1442 * gdb.cp/virtbase.exp: Ditto.
1443
889bf7c5 1444 * gdb.threads/attach-stopped.exp:
9db70545 1445 Replace uses of send_gdb / gdb_expect.
889bf7c5 1446 * gdb.threads/attachstop-mt.exp:
9db70545 1447 Replace uses of send_gdb / gdb_expect.
889bf7c5 1448 * gdb.threads/gcore-thread.exp:
9db70545 1449 Replace uses of send_gdb / gdb_expect.
889bf7c5 1450 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
1451 Replace uses of send_gdb / gdb_expect.
1452 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 1453 * gdb.threads/print-threads.exp:
9db70545
MS
1454 Replace uses of send_gdb / gdb_expect.
1455 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
1456 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
1457 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
1458
1459 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
1460 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
1461 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
1462 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
1463 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
1464 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
1465 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
1466 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
1467 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
1468 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
1469 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
1470
359cc68c
JK
14712010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1472
1473 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
1474
7d3fe98e
SW
14752010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
1476
1477 * gdb.cp/koenig.exp: Added new test case.
1478 * gdb.cp/koenig.cc: Ditto.
1479
27d3a1a2
MS
14802010-06-01 Michael Snyder <msnyder@vmware.com>
1481
1482 * gdb.base/arithmet.exp: Use gdb_test_no_output.
1483 * gdb.base/arrayidx.exp: Ditto.
1484 * gdb.base/attach.exp: Ditto.
1485 * gdb.base/auxv.exp: Ditto.
1486 * gdb.base/bigcre.exp: Ditto.
1487 * gdb.base/break-always.exp: Ditto.
1488 * gdb.base/break-interp.exp: Ditto.
1489 * gdb.base/break.exp: Ditto.
1490 * gdb.base/breakpoint-shadow.exp: Ditto.
1491 * gdb.base/call-ar-st.exp: Ditto.
1492 * gdb.base/call-sc.exp: Ditto.
1493 * gdb.base/call-signal-resume.exp: Ditto.
1494 * gdb.base/callfuncs.exp: Ditto.
1495 * gdb.base/catch-syscall.exp: Ditto.
1496 * gdb.base/charset.exp: Ditto.
1497 * gdb.base/code-expr.exp: Ditto.
1498 * gdb.base/commands.exp: Ditto.
1499 * gdb.base/cond-expr.exp: Ditto.
1500 * gdb.base/condbreak.exp: Ditto.
1501 * gdb.base/cursal.exp: Ditto.
1502 * gdb.base/cvexpr.exp: Ditto.
1503 * gdb.base/default.exp: Ditto.
1504 * gdb.base/del.exp: Ditto.
1505 * gdb.base/detach.exp: Ditto.
1506 * gdb.base/display.exp: Ditto.
1507 * gdb.base/ena-dis-br.exp: Ditto.
1508 * gdb.base/eval-skip.exp: Ditto.
1509 * gdb.base/foll-fork.exp: Ditto.
1510 * gdb.base/foll-vfork.exp: Ditto.
1511 * gdb.base/frame-args.exp: Ditto.
1512 * gdb.base/funcargs.exp: Ditto.
1513 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1514 * gdb.base/gdbvars.exp: Ditto.
1515 * gdb.base/help.exp: Ditto.
1516 * gdb.base/ifelse.exp: Ditto.
1517 * gdb.base/included.exp: Ditto.
1518 * gdb.base/list.exp: Ditto.
1519 * gdb.base/macscp.exp: Ditto.
1520 * gdb.base/maint.exp: Ditto.
1521 * gdb.base/multi-fork.exp: Ditto.
1522 * gdb.base/overlays.exp: Ditto.
1523 * gdb.base/page.exp: Ditto.
1524 * gdb.base/pending.exp: Ditto.
1525 * gdb.base/pointers.exp: Ditto.
1526 * gdb.base/pr11022.exp: Ditto.
1527 * gdb.base/prelink.exp: Ditto.
1528 * gdb.base/printcmds.exp: Ditto.
1529 * gdb.base/psymtab.exp: Ditto.
1530 * gdb.base/randomize.exp: Ditto.
1531 * gdb.base/relational.exp: Ditto.
1532 * gdb.base/relocate.exp: Ditto.
1533 * gdb.base/remote.exp: Ditto.
1534 * gdb.base/sepdebug.exp: Ditto.
1535 * gdb.base/set-lang-auto.exp: Ditto.
1536 * gdb.base/setshow.exp: Ditto.
1537 * gdb.base/setvar.exp: Ditto.
1538 * gdb.base/signals.exp: Ditto.
1539 * gdb.base/signull.exp: Ditto.
1540 * gdb.base/sigstep.exp: Ditto.
1541 * gdb.base/sizeof.exp: Ditto.
1542 * gdb.base/solib-disc.exp: Ditto.
1543 * gdb.base/store.exp: Ditto.
1544 * gdb.base/structs.exp: Ditto.
1545 * gdb.base/structs2.exp: Ditto.
1546 * gdb.base/subst.exp: Ditto.
1547 * gdb.base/term.exp: Ditto.
1548 * gdb.base/trace-commands.exp: Ditto.
1549 * gdb.base/unwindonsignal.exp: Ditto.
1550 * gdb.base/valgrind-db-attach.exp: Ditto.
1551 * gdb.base/varargs.exp: Ditto.
1552 * gdb.base/watch-cond.exp: Ditto.
1553 * gdb.base/watch_thread_num.exp: Ditto.
1554 * gdb.base/watchpoint-cond-gone.exp: Ditto.
1555 * gdb.base/watchpoint.exp: Ditto.
1556 * gdb.base/whatis-exp.exp: Ditto.
1557
f8d3bf8f
MS
15582010-06-01 Michael Snyder <msnyder@vmware.com>
1559
1560 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
1561 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
1562 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
1563 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
1564 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
1565 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
1566 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
1567 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
1568 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
1569 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
1570 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
1571 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
1572 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
1573 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
1574 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
1575
3f9e0d32
JK
15762010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1577
1578 * gdb.base/commands.exp (begin commands on watch): Remove excessive
1579 trailing newline.
1580 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
1581 * gdb.java/jmisc.exp (p *args\n): Rename to ...
1582 (p *args): ... here and remove excessive trailing newline.
1583
f629457d
JB
15842010-05-31 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
1587
09eef106
JK
15882010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1589
1590 Accept the new Linux kernel "t (tracing stop)" string.
1591 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
1592 Update comment.
1593 (state_wait) <T (tracing stop)>: New.
1594 (main): Update the state_wait expect string.
1595
94f31136
PA
15962010-05-28 Pedro Alves <pedro@codesourcery.com>
1597
1598 * limits.c, limits.exp: Delete files.
1599 * Makefile.in (clean mostlyclean): Adjust.
1600 * tracecmd.exp: Adjust.
1601
096554ab
JK
16022010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1603
1604 * gdb.base/tui-layout.exp: New.
1605
27d3a1a2 16062010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 1607
889bf7c5 1608 * gdb.reverse/break-precsave.exp:
bcd2dc50 1609 Replace uses of send_gdb / gdb_expect.
889bf7c5 1610 * gdb.reverse/break-reverse.exp:
bcd2dc50 1611 Replace uses of send_gdb / gdb_expect.
889bf7c5 1612 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 1613 Replace uses of send_gdb / gdb_expect.
889bf7c5 1614 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 1615 Replace uses of send_gdb / gdb_expect.
889bf7c5 1616 * gdb.reverse/finish-precsave.exp:
bcd2dc50 1617 Replace uses of send_gdb / gdb_expect.
889bf7c5 1618 * gdb.reverse/finish-reverse.exp:
bcd2dc50 1619 Replace uses of send_gdb / gdb_expect.
889bf7c5 1620 * gdb.reverse/i386-precsave.exp:
bcd2dc50 1621 Replace uses of send_gdb / gdb_expect.
889bf7c5 1622 * gdb.reverse/i386-reverse.exp:
bcd2dc50 1623 Replace uses of send_gdb / gdb_expect.
889bf7c5 1624 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 1625 Replace uses of send_gdb / gdb_expect.
889bf7c5 1626 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 1627 Replace uses of send_gdb / gdb_expect.
889bf7c5 1628 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 1629 Replace uses of send_gdb / gdb_expect.
889bf7c5 1630 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 1631 Replace uses of send_gdb / gdb_expect.
889bf7c5 1632 * gdb.reverse/machinestate.exp:
bcd2dc50 1633 Replace uses of send_gdb / gdb_expect.
889bf7c5 1634 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 1635 Replace uses of send_gdb / gdb_expect.
889bf7c5 1636 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 1637 Replace uses of send_gdb / gdb_expect.
889bf7c5 1638 * gdb.reverse/solib-precsave.exp:
bcd2dc50 1639 Replace uses of send_gdb / gdb_expect.
889bf7c5 1640 * gdb.reverse/solib-reverse.exp:
bcd2dc50 1641 Replace uses of send_gdb / gdb_expect.
889bf7c5 1642 * gdb.reverse/step-precsave.exp:
bcd2dc50 1643 Replace uses of send_gdb / gdb_expect.
889bf7c5 1644 * gdb.reverse/step-reverse.exp:
bcd2dc50 1645 Replace uses of send_gdb / gdb_expect.
889bf7c5 1646 * gdb.reverse/until-precsave.exp:
bcd2dc50 1647 Replace uses of send_gdb / gdb_expect.
889bf7c5 1648 * gdb.reverse/until-reverse.exp:
bcd2dc50 1649 Replace uses of send_gdb / gdb_expect.
889bf7c5 1650 * gdb.reverse/watch-precsave.exp:
bcd2dc50 1651 Replace uses of send_gdb / gdb_expect.
889bf7c5 1652 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
1653 Replace uses of send_gdb / gdb_expect.
1654
3def43e0
JK
16552010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1656
1657 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
1658 excessive newline.
1659
27d3a1a2 16602010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
1661
1662 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
1663 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
1664 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
1665 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
1666 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
1667 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
1668 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
1669 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
1670 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
1671 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
1672 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
1673 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
1674 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
1675 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
1676 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
1677 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
1678 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
1679 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
1680 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 1681
27d3a1a2 16822010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 1683
22454424
MS
1684 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
1685 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
1686
1687 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
1688 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
1689 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
1690
889bf7c5 1691 * gdb.reverse/consecutive-reverse.exp:
22454424 1692 Replace uses of send_gdb / gdb_expect.
889bf7c5 1693 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
1694 Replace uses of send_gdb / gdb_expect.
1695
1696 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
1697 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
1698 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 1699 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
1700 Replace uses of send_gdb / gdb_expect.
1701 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
1702 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
1703 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
1704 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
1705 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
1706 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
1707 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
1708 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
1709 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
1710
17112010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 1712
22454424 1713 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1714
22454424 1715 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1716
22454424
MS
1717 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
1718 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
1719 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
1720 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
1721 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
1722 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
1723 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
1724 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
1725 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 1726
6e5f2c59
TT
17272010-05-25 Tom Tromey <tromey@redhat.com>
1728
1729 * gdb.base/macscp.exp: Add missing space after setup_kfail.
1730
bbc8b958
TT
17312010-05-25 Tom Tromey <tromey@redhat.com>
1732
1733 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
1734 argument order.
1735 * gdb.base/macscp.exp: Fix setup_kfail argument order.
1736 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
1737 order.
1738 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
1739 order.
1740 * gdb.base/call-sc.exp (setup_kfails): Remove.
1741 (setup_compiler_kfails): Remove.
1742 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
1743 argument order.
1744 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
1745 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
1746 (advancei): Fix setup_kfail argument order.
1747 * gdb.base/radix.exp: Fix setup_kfail argument order.
1748 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
1749 order.
1750 * gdb.base/structs.exp (setup_kfails): Remove.
1751 (setup_compiler_kfails): Fix setup_kfail argument order.
1752 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
1753 order.
1754 * gdb.java/jmain.exp: Fix setup_kfail argument order.
1755 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
1756 setup_kfail argument order.
1757 * gdb.cp/overload.exp: Fix setup_kfail argument order.
1758
83d1babf
TT
17592010-05-25 Tom Tromey <tromey@redhat.com>
1760
1761 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
1762
6acb16a2
MS
17632010-05-25 Michael Snyder <msnyder@vmware.com>
1764
1765 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
1766 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
1767 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
1768 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
1769 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
1770 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
1771 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
1772 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
1773 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
1774 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
1775 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
1776 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
1777 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
1778 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
1779 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
1780 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
1781 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
1782 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
1783 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
1784 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
1785 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
1786 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
1787 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
1788 * gdb.base/default.exp: Replace send_gdb with gdb_test.
1789 * gdb.base/define.exp: Replace send_gdb with gdb_test.
1790 * gdb.base/display.exp: Replace send_gdb with gdb_test.
1791 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
1792 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
1793 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
1794 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
1795 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
1796 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
1797 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
1798 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
1799 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
1800 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
1801 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
1802 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
1803 * gdb.base/help.exp: Replace send_gdb with gdb_test.
1804 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
1805 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
1806 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
1807 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
1808 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
1809 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
1810 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
1811 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 1812 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
1813
18142010-05-25 Doug Evans <dje@google.com>
1815
1816 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
1817 gdb.string_to_argv.
ad3986f0 1818
d3b1e874
TT
18192010-05-21 Tom Tromey <tromey@redhat.com>
1820
1821 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
1822 Call it.
1823 * gdb.dwarf2/pieces.S: Update.
1824 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
1825
cb826367
TT
18262010-05-21 Tom Tromey <tromey@redhat.com>
1827
1828 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
1829 Call it.
1830 * gdb.dwarf2/pieces.c (struct C): New.
1831 (f6): New function.
1832 * gdb.dwarf2/pieces.S: Replace.
1833
74de6778
TT
18342010-05-21 Tom Tromey <tromey@redhat.com>
1835
1836 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
1837 Call it.
1838
afd74c5f
TT
18392010-05-21 Tom Tromey <tromey@redhat.com>
1840
1841 * gdb.dwarf2.pieces.exp: New file.
1842 * gdb.dwarf2.pieces.S: New file.
1843 * gdb.dwarf2.pieces.c: New file.
1844
a7b75dfd 18452010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 1846 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
1847
1848 * lib/gdb.exp (gdb_test_no_output): New function.
1849 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
1850 when testing commands that should produce no output.
1851
c81c812a
JB
18522010-05-17 Joel Brobecker <brobecker@adacore.com>
1853
1854 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
1855 parameter that we want to watch being a constant.
1856
0cce5bd9
JB
18572010-05-17 Joel Brobecker <brobecker@adacore.com>
1858
1859 * gdb.ada/cond_lang: New testcase.
1860
47050449
JB
18612010-05-17 Joel Brobecker <brobecker@adacore.com>
1862
1863 * lib/gdb.exp (banned_variables): New variable/constant.
1864 (gdb_init): Add write trace on variables listed in banned_variables.
1865 (gdb_finish): Remove write traces on variables listed in
1866 banned_variables.
1867
77c01586
JB
18682010-05-17 Joel Brobecker <brobecker@adacore.com>
1869
1870 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
1871 * gdb.cp/koenig.exp: Likewise.
1872
88d4aea7
PM
18732010-05-14 Phil Muldoon <pmuldoon@redhat.com>
1874
889bf7c5 1875 PR python/11482
88d4aea7
PM
1876
1877 * gdb.python/py-value.exp (test_value_hash): New function.
1878
f5a010c0
PM
18792010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
1880
1881 PR exp/11530.
1882 * gdb.base/gdb11530.c: New file.
1883 * gdb.base/gdb11530.exp: New file.
1884
8ef4892f
JK
18852010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
1888 * gdb.dwarf2/dw2-modula2-self-type.S: New.
1889
7322dca9
SW
18902010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
1891
1892 * gdb.cp/koenig.exp: New test.
1893 * gdb.cp/koenig.cc: New test program.
1894
02e7ea18
JB
18952010-05-05 Joel Brobecker <brobecker@adacore.com>
1896
1897 Remove the use of prms_id and bug_id throughout the testsuite.
1898
e1c34c5d
PM
18992010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
1900
1901 PR exp/11349.
1902 * testsuite/gdb.cp/ref-types.exp: Add test to examine
1903 use a reference local variable.
1904
8e1d0c49
JK
19052010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
1908 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
1909 variable different_dir. Move debugfile into a full directory pathname
1910 under DIFFERENT_DIR.
1911 * lib/gdb.exp (separate_debug_filename): Remove.
1912 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
1913 variable debug_dir and mkdir of it. Update function comments.
1914
e66408ed
PA
19152010-04-29 Pedro Alves <pedro@codesourcery.com>
1916
1917 PR gdb/11557
1918
1919 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
1920 files.
1921
d7b32ed3
PM
19222010-04-29 Phil Muldoon <pmuldoon@redhat.com>
1923
889bf7c5 1924 * gdb.python/py-param.exp: New File.
d7b32ed3 1925
6aecb9c2
JB
19262010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
1927
1928 * gdb.base/default.exp: Fix "set language" test.
1929
bdf92a1c
PM
19302010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
1931
1932 PR breakpoints/11531.
1933 * gdb.base/gdb11531.c: New file.
1934 * gdb.base/gdb11531.exp: New file.
1935
3f172e24
TT
19362010-04-26 Tom Tromey <tromey@redhat.com>
1937
1938 * gdb.base/completion.exp: Add tests for completion and deprecated
1939 commands.
1940
64af4c92
JK
19412010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
1944 (print /x char_array): Escape curly brackets.
1945
492928e4
JK
19462010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1947
1948 Fix deadlock on looped list of loaded shared objects.
1949 * gdb.base/solib-corrupted.exp: New.
1950
66d09542
DE
19512010-04-23 Doug Evans <dje@google.com>
1952
1953 * gdb.python/py-section-script.c: New file.
1954 * gdb.python/py-section-script.exp: New file.
1955 * gdb.python/py-section-script.py: New file.
1956
8bd10a10
CM
19572010-04-20 Chris Moller <cmoller@redhat.com>
1958
1959 PR 10179
1960
1961 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
1962 * gdb.base/pr10179-a.c:
1963 * gdb.base/pr10179-b.c:
1964 * gdb.base/pr10179.exp: New files.
1965
c0201579
JK
19662010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1967
1968 Fix crashes on dangling display expressions.
1969 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
1970 is SEP.
1971 (lib_flags): Remove the "debug" keyword.
1972 (libsepdebug): New variable for iterating new loop.
1973 (save_pf_prefix): New variable wrapping the loop.
1974 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
1975 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
1976
793b0ff8
PM
19772010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1978
1979 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
1980
097f51f7
PM
19812010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1982
1983 PR stabs/11479.
1984 * gdb.stabs/gdb11479.exp: New file.
1985 * gdb.stabs/gdb11479.c: New file.
1986
9a22f0d0
PM
19872010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1988
1989 * gdb.base/charset.c (Strin16, String32): New variables.
1990 * gdb.base/charset.exp (gdb_test): Test correct display
1991 of 16 or 32 bit strings.
1992
19932010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
1994
1995 PR 9167
1996 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
1997 * gdb.cp/pr9167.cc: New file.
1998 * gdb.cp/pr9167.exp: New file.
1999
2000
6e354e5e
PM
20012010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2002
2003 PR pascal/11492.
2004 * gdb.pascal/gdb11492.pas: New file.
2005 * gdb.pascal/gdb11492.exp: New file.
2006
be942545
JB
20072010-04-20 Joel Brobecker <brobecker@adacore.com>
2008
1667e6e3 2009 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 2010
0c3acc09
JB
20112010-04-20 Joel Brobecker <brobecker@adacore.com>
2012
2013 * gdb.ada/dyn_loc: New testcase.
2014
ec31cde5
CM
20152010-04-20 Chris Moller <cmoller@redhat.com>
2016
2017 PR 10867
889bf7c5 2018
ec31cde5
CM
2019 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2020 * gdb.cp/pr10687.cc: New file.
2021 * gdb.cp/pr10687.exp: New file.
2022
2023
ce4b0682
SDJ
20242010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2025 Sergio Durigan Junior <sergiodj@redhat.com>
2026
2027 * gdb.fortran/logical.exp: New testcase.
2028 * gdb.fortran/logical.f90: New file.
2029
3436961f
DE
20302010-04-19 Doug Evans <dje@google.com>
2031
2032 * gdb.base/help.exp (help source): Update expected output.
2033
4d836c09
JK
20342010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2035
2036 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2037 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2038 gdb_exit and return.
2039 (executable): New variable.
2040 (binfile): Use it.
2041
6149aea9
PA
20422010-04-19 Pedro Alves <pedro@codesourcery.com>
2043
2044 PR breakpoints/8554.
2045
2046 * gdb.trace/save-trace.exp: Adjust.
2047
ed41462c
L
20482010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 PR corefiles/11511
2051 * gdb.arch/system-gcore.exp: New.
2052 * gdb.arch/gcore.c: Likewise.
2053
3f7b2faa
DE
20542010-04-15 Doug Evans <dje@google.com>
2055
fa33c3cd
DE
2056 * gdb.python/py-progspace.c: New file.
2057 * gdb.python/py-progspace.exp: New file.
2058
3f7b2faa
DE
2059 * gdb.base/source.exp: Add tests for "source -s".
2060
79f283fe
PM
20612010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2062
2063 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2064 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2065 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2066 * gdb.python/py-mi.exp: New test for to_string returning None.
2067
fc8eb08a
PM
20682010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2069
2070 * gdb.python/py-breakpoint.c: Make result global.
2071
26e197f6
JK
20722010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2073
2074 Fix non-GNU make compatibility.
2075 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2076
adc36818
PM
20772010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2078
2079 * gdb.python/py-breakpoint.exp: New File.
2080 * gdb.python/py-breakpoint.C: Ditto.
2081
64e17368
SS
20822010-04-08 Stan Shebs <stan@codesourcery.com>
2083
2084 * gdb.trace/actions.exp: Clear default-collect.
2085 * gdb.trace/save-trace.exp: Clear default-collect.
2086
fff5cc64
PM
20872010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2088
2089 * gdb.python/py-value: Add null string variable.
2090 (test_lazy_string): Test zero length, NULL address lazy
2091 strings.
2092
a055a187
L
20932010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 * gdb.arch/i386-avx.c: New.
2096 * gdb.arch/i386-avx.exp: Likewise.
2097
2098 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2099
96e39866
DE
21002010-04-06 Doug Evans <dje@google.com>
2101
2102 * gdb.base/source-test.gdb: New file.
2103 * gdb.base/source.exp: Test source -v.
2104
5984a431
UW
21052010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2106
2107 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2108
ec8a089a
PM
21092010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2110
2111 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2112 within one line, unless it is followed by a double quote.
2113 * gdb.stabs/hppa.sed: Idem.
2114 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
2115 * gdb.stabs/weird.exp: Check for correct parsing of
2116 char and string constants.
ec8a089a
PM
2117 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2118 in .stabs to .stabx substitution.
2119
fce3c1f0
SS
21202010-04-05 Stan Shebs <stan@codesourcery.com>
2121
2122 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2123 constant global.
2124 * gdb.trace/tfile.exp: Try to print them.
2125
d77f58be
SS
21262010-04-04 Stan Shebs <stan@codesourcery.com>
2127
2128 * gdb.base/completion.exp: Update for new "info watchpoints".
2129 * gdb.base/default.exp: Ditto.
2130 * gdb.base/help.exp: Ditto.
2131 * gdb.base/watchpoint.exp: Ditto.
2132 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 2133
af54718e
SS
21342010-04-04 Stan Shebs <stan@codesourcery.com>
2135
2136 * gdb.trace/tfile.exp: Sharpen tfind test.
2137
74d1f91e
JK
21382010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2139
2140 * gdb.base/break-entry.exp: New.
2141
eb8e76db 21422010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 2143 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
2144
2145 * gdb.reverse/i386-sse-reverse.exp: New file.
2146 * gdb.reverse/i386-sse-reverse.c: New file.
2147
bf65cad8
PA
21482010-04-02 Pedro Alves <pedro@codesourcery.com>
2149
2150 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2151
fff87407
SS
21522010-04-01 Stan Shebs <stan@codesourcery.com>
2153
2154 * gdb.trace/actions.exp: Tweak expected output.
2155 * gdb.trace/while-stepping.exp: Tweak expected output.
2156
fe01d668
L
21572010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2160
86b17b60
PA
21612010-04-01 Pedro Alves <pedro@codesourcery.com>
2162
2163 * gdb.base/commands.exp: Adjust.
2164 * gdb.cp/extern-c.exp: Adjust.
2165
2c58c0a9
PA
21662010-04-01 Pedro Alves <pedro@codesourcery.com>
2167
2168 * gdb.trace/collection.c (local_test_func): Define a local struct,
2169 and instanciate it.
2170
0db9b91c
PA
21712010-04-01 Pedro Alves <pedro@codesourcery.com>
2172
2173 * gdb.trace/collection.exp (gdb_collect_args_test)
2174 (gdb_collect_argarray_test): XFAIL the tests that assume the
2175 argarray argument's elements are collected.
2176
8072405b
JK
21772010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2180 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2181
8bf6485c
SS
21822010-03-31 Stan Shebs <stan@codesourcery.com>
2183
2184 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2185 and tracepoint conditionals.
2186 (gdb_verify_tracepoints): Delete unused return.
2187
fd7f724a
KS
21882010-03-26 Keith Seitz <keiths@redhat.com>
2189
2190 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2191 appear in the output before main.
2192 Remove KFAIL for gdb/2215 aka bz 9320.
2193
8d9e7719
DE
21942010-03-30 Doug Evans <dje@google.com>
2195
0906dd0b
DE
2196 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2197 by dejagnu.
2198 * gdb.arch/amd64-dword.exp: Ditto.
2199
8d9e7719
DE
2200 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2201 match.
2202 (break printf): Ditto.
2203
1da644f0
SW
22042010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2205
2206 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2207 gcc < 4.4.
2208 * gdb.cp/shadow.exp: Ditto.
2209
a8121990
PA
22102010-03-29 Pedro Alves <pedro@codesourcery.com>
2211
2212 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2213 "tstart" is silent.
2214
6e79d367
PA
22152010-03-29 Pedro Alves <pedro@codesourcery.com>
2216
2217 * gdb.trace/collection.exp (executable): New.
2218 (binfile): Use it.
2219 (fpreg, spreg, pcreg): New.
2220 (test_register): Use gdb_test_multiple. Pass /x to print.
2221 (prepare_for_trace_test): New.
2222 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2223 (gdb_collect_args_test, gdb_collect_argstruct_test)
2224 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2225 prepare_for_trace_test.
2226 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2227 fpreg, spreg and pcreg.
2228 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2229 prepare_for_trace_test.
2230 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2231 try to detect tracing support here. Don't set breakpoints at
2232 `begin' or `end' here.
2233 <global scope>: Use clean_restart. Run to main before checking
2234 for tracing support. Check for for tracing support here.
2235
09248348
JK
22362010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2237
2238 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2239 " as $displacement" to "seen displacement message".
2240
d350db38
PA
22412010-03-28 Pedro Alves <pedro@codesourcery.com>
2242
2243 * gdb.trace/while-dyn.exp (executable): New variable.
2244 (binfile): Use it.
2245 (test_while_stepping): New function. Move most tests here. Call
2246 it once for each of the while-stepping, stepping and ws aliases.
2247
907af001
UW
22482010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2249
2250 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2251 that do not provide the tagless_struct type name at all.
2252 (test_print_anon_union): Do not check value of uninitialized
2253 union member. Do not use cp_test_ptype_class, so we can accept
2254 "long" as well as "long int".
2255
610197fd
PA
22562010-03-26 Pedro Alves <pedro@codesourcery.com>
2257
2258 * gdb.trace/tfile.c (tohex, bin2hex): New.
2259 (write_error_trace_file): Hexify error description.
2260
6c28cbf2
SS
22612010-03-25 Stan Shebs <stan@codesourcery.com>
2262
2263 * gdb.trace/tfile.c: Generate an additional trace file, improve
2264 portability.
2265 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2266 files in a better way.
2267
e62b8c7e
KS
22682010-03-25 Keith Seitz <keiths@redhat.com>
2269
2270 * gdb.java/jprint.exp: XFAIL printing of static class members
2271 because of GCC debuginfo problem.
2272
82ccf5a5
JK
22732010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2274
2275 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2276
293e2f9e
DJ
22772010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2278
2279 * gdb.base/completion.exp: Allow long instead of long int.
2280 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2281 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2282 variable p.
2283 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2284 * gdb.base/pointers.exp: Allow long instead of long int.
2285 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2286 * gdb.base/step-line.exp: Allow a directory before the source file name.
2287
95a42b64
TT
22882010-03-24 Tom Tromey <tromey@redhat.com>
2289
2290 PR breakpoints/9352:
2291 * gdb.base/default.exp: Update.
2292 * gdb.base/commands.exp: Update.
2293 * gdb.cp/extern-c.exp: Test setting commands on multiple
2294 breakpoints at once.
2295
2390201f
DJ
22962010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2297
2298 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2299 if gdb,nosignals.
2300 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2301 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2302 exited".
2303
8c9a6790
SS
23042010-03-24 Stan Shebs <stan@codesourcery.com>
2305
2306 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2307
a6c727b2
DJ
23082010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2309
2310 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2311 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2312 argument. Handle "short" and "long".
2313 (Top level): Pass overprototyped output for old_fptr and xptr.
2314
4dfd5423
PA
23152010-03-23 Pedro Alves <pedro@codesourcery.com>
2316
2317 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2318 format strings and add casts to avoid compiler warnings.
2319
23202010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
2321
2322 * lib/trace-support.exp (gdb_trace_setactions):
2323 Don't expect whitespace after ">" prompt.
2324 * gdb.trace/actions.exp: Adjust for output changes.
2325 * gdb.trace/while-stepping.exp: Likewise.
2326
c847d045
JK
23272010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2330 and r157645).
2331
5f717f1d
JK
23322010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2333
2334 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2335 New.
2336
7d6d51d5
DJ
23372010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2338
2339 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
2340 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
2341
3b11a015
SS
23422010-03-19 Stan Shebs <stan@codesourcery.com>
2343
2344 * gdb.trace/ax.exp: New file.
2345
d7d158ed
DE
23462010-03-19 Doug Evans <dje@google.com>
2347
6bb85cd1
DE
2348 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
2349 output from gcc.
2350
d7d158ed
DE
2351 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
2352 named /usr/sbin/prelink<foo>.
2353
4daf5ac0
SS
23542010-03-18 Stan Shebs <stan@codesourcery.com>
2355
2356 * gdb.trace/circ.exp: Test circular-trace-buffer.
2357 * gdb.trace/tfile.exp: Update tstatus test.
2358
e8d05480
JB
23592010-03-18 Joel Brobecker <brobecker@adacore.com>
2360
2361 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2362 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2363
441b986a
UW
23642010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2365
2366 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2367
4247603b
PA
23682010-03-18 Pedro Alves <pedro@codesourcery.com>
2369
2370 * gdb.base/default.exp: Adjust the expected output of the finish
2371 and until commands when the inferior is not being run.
2372
13387711
SW
23732010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2374
2375 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2376 * gdb.cp/nsusing.exp: Ditto.
2377
6e31430b
TT
23782010-03-15 Tom Tromey <tromey@redhat.com>
2379
2380 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
2381 * gdb.cp/userdef.cc (operator==): New function.
2382 (main): New locals mem1, mem2.
2383
e2d69cb5
JZ
23842010-03-15 Jie Zhang <jie@codesourcery.com>
2385
2386 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
2387 Declare and use new loadtimeout variable.
2388
f572f0a9
DJ
23892010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
2390
2391 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
2392 Use gdb_load later.
2393
51f4c0b0
PA
23942010-03-14 Pedro Alves <pedro@codesourcery.com>
2395
2396 * gdb.base/solib-disc.c (main): Make format of fprintf a string
2397 literal. Add missing endlines to prints to stderr.
2398
1c809c68
TT
23992010-03-12 Tom Tromey <tromey@redhat.com>
2400
2401 PR c++/9708:
2402 * gdb.cp/m-static.exp: Add regression test.
2403 * gdb.cp/m-static.cc (method): New method.
2404 (main): Call it.
2405
00ae8fef
SW
24062010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
2407
2408 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
2409 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2410
759f0f0b
PA
24112010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2412
21e24d21
PA
2413 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2414
24152010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2416
759f0f0b
PA
2417 * lib/gdb.exp (skip_stl_tests): New.
2418 (gdb_compile): Symbian needs -ldl.
2419 (shlib_target_file): New.
2420 (shlib_symbol_file): New.
2421 (gdb_load_shlibs): Use shlib_target_file.
2422 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
2423 * gdb.cp/exception.exp: Use skip_stl_tests.
2424 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
2425 * gdb.cp/try_catch.exp: Use skip_stl_tests.
2426 * gdb.cp/mb-templates.exp: Ditto.
2427 * gdb.base/commands.exp: Relax regexes.
2428 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
2429 shlib_target_file and shlib_symbol_file.
2430 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
2431 sections.
2432 * gdb.base/ending-run.exp: Accept E32Main for symbian.
2433 * gdb.base/solib-disc.exp: Use
2434 shlib_target_file and shlib_symbol_file.
2435 * gdb.base/unload.exp: Don't skip on symbian. Use
2436 shlib_target_file and shlib_symbol_file.
2437 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2438
6a8f2671 24392010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 2440
6a8f2671
PA
2441 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
2442 * gdb.trace/report.exp: Adjust for x86 and x86_64.
2443 Issue a tfind end before looking for a tracepoint frame.
2444 * gdb.trace/tfind.exp: Adjust tstatus output.
2445 Adjust disassembly output.
2446 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2447
ccf26247
JK
24482010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2449
2450 * gdb.base/break-interp.exp: Create new displacement parameter value
2451 for the test_ld calls.
2452 (reach): New parameter displacement, verify its content. New push of
2453 pf_prefix "reach-$func:". Import global expect_out.
2454 (test_core): New parameter displacement, verify its content. New push
2455 of pf_prefix "core:". New command "set verbose on". Import global
2456 expect_out.
2457 (test_attach): New parameter displacement, verify its content. New
2458 push of pf_prefix "attach:". New command "set verbose on". Import
2459 global expect_out.
2460 (test_ld): New parameter displacement, pass it to the reach, test_core
2461 and test_attach calls and verify its content in the "ld.so exit" test.
2462 * gdb.base/prelink.exp: Remove gdb_exit and final return.
2463 (prelink): Update expected text, use gdb_test.
2464
e469c7fb
DE
24652010-03-10 Doug Evans <dje@google.com>
2466
2467 * gdb.base/checkpoint.exp: Fix comment.
2468 Lengthen timeout while doing >600 checkpoints test.
2469 Rename duplicate "kill all one" test to keep test names unique.
2470
60e1c644
PA
24712010-03-10 Pedro Alves <pedro@codesourcery.com>
2472
2473 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2474
cec808ec
KS
24752010-03-08 Keith Seitz <keiths@redhat.com>
2476
889bf7c5
PA
2477 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
2478 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
2479 (dm_type_long): New function.
2480 (dm_type_unsigned_short): New function.
2481 (dm_type_unsigned_long): New function.
2482 (myint): New typedef.
2483 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
2484 long, unsigned shor and long, operator char*, and typedef.
2485 (test_lookup_operator_functions): Add operator char* test.
2486 (test_paddr_operator_functions): Likewise.
2487 (test_paddr_overloaded_functions): Use probe values for
2488 short, long, and unsigned short and long.
2489 (test_paddr_hairy_functions): If the demangler probe detected
2490 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
2491 demangler.
2492 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
2493 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
2494 and "print null_pmf".
2495 Add test "ptype a.*pmf".
2496 * gdb.cp/overload.exp: Allow optional "int" to appear with
2497 "short" and "long".
2498 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
2499 long expect value for men_overload1arg.
2500 Allow "int" to appear with "short" and "long".
2501 When testing "info break", add argument for main (void).
2502 Also allow "int" to appear with "short" and "long".
2503 Ditto with "unsigned" and "long long".
cec808ec
KS
2504 * gdb.java/jmain.exp: Do not enclose methods names in single
2505 quotes.
2506 * gdb.java/jmisc.exp: Likewise.
2507 * gdb.java/jprint.exp: Likewise.
2508 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
2509
2510 From Jan Kratochvil <jan.kratochvil@redhat.com>:
2511 * gdb.cp/exception.exp (backtrace after first throw)
2512 (backtrace after second throw): Allow a namespace before __cxa_throw.
2513 (backtrace after first catch, backtrace after second catch): Allow
2514 a namespace before __cxa_begin_catch.
2515
2516 * gdb.cp/cpexprs.exp: New file.
2517 * gdb.cp/cpexprs.cc: New file.
2518
2519 From Daniel Jacobowitz <dan@codesourcery.com>
2520 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
2521 to use string_to_regexp.
2522 (ctor, dtor): New functions. Use them to match constructor
2523 and destructor function types.
2524 (Top level): Use runto_main.
2525
f870a310
TT
25262010-03-05 Tom Tromey <tromey@redhat.com>
2527
2528 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
2529 gdb.target_charset.
2530 (pp_ns.to_string): Likewise.
2531
0c199f28
KS
25322010-03-04 Keith Seitz <keiths@redhat.com>
2533
2534 * gdb.cp/overload.exp: Test that the filename portion of a linespec
2535 can be quoted. Test that both the filename and function/line
2536 portions can be quoted at the same time.
2537
c7437ca6
PA
25382010-03-04 Pedro Alves <pedro@codesourcery.com>
2539
2540 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2541
b111b805
DE
25422010-03-03 Doug Evans <dje@google.com>
2543
24486cb7
DE
2544 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
2545 libc contains libpthread.
2546
b111b805
DE
2547 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
2548 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
2549 of gdb_compile. Add another pattern to match android backtrace.
2550
a0e0ef55
TT
25512010-03-03 Tom Tromey <tromey@redhat.com>
2552
2553 PR gdb/11345:
2554 * gdb.base/printcmds.exp (test_printf): Add test.
2555
1ba53b71
L
25562010-03-02 H.J. Lu <hongjiu.lu@intel.com>
2557
2558 * gdb.arch/amd64-byte.exp: New.
2559 * gdb.arch/amd64-dword.exp: Likewise.
2560 * gdb.arch/amd64-pseudo.c: Likewise.
2561 * gdb.arch/amd64-word.exp: Likewise.
2562 * gdb.arch/i386-byte.exp: Likewise.
2563 * gdb.arch/i386-pseudo.c: Likewise.
2564 * gdb.arch/i386-word.exp: Likewise.
2565
f5dff777
DJ
25662010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
2567
2568 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
2569 types. Add structreg, bitfields, and flags registers.
2570 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
2571 registers.
2572
90884b2b
L
25732010-03-01 H.J. Lu <hongjiu.lu@intel.com>
2574
2575 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
2576 (load_description): Set architecture if defined.
2577
dc00d89f
PM
25782010-02-28 Phil Muldoon <pmuldoon@redhat.com>
2579
2580 * gdb.python/py-frame.exp: Add read_var block tests.
2581 * gdb.python/py-frame.c (block): New function.
2582
0e095b7e
JK
25832010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2584 Daniel Jacobowitz <dan@codesourcery.com>
2585
2586 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2587
624f1a65
DM
25882010-02-25 David S. Miller <davem@davemloft.net>
2589
2590 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
2591 fix logic for setting all_syscalls_numbers.
2592
f3e9a817
PM
25932010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2594
2595 * Makefile.in: Add py-block and py-symbol.
2596 * gdb.python/py-symbol.exp: New File.
2597 * gdb.python/py-symtab.exp: New File.
2598 * gdb.python/py-block.exp: New File.
2599 * gdb.python/py-symbol.c: New File.
2600 * gdb.python/py-block.c: New File.
2601
f6bbabf0
PM
26022010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2603
2604 PR python/11314
2605 * lib/gdb.exp (skip_python_tests): New function.
2606 * gdb.python/py-cmd.exp: Use skip_python_tests.
2607 * gdb.python/py-frame.exp: Likewise.
2608 * gdb.python/py-function.exp: Likewise.
2609 * gdb.python/py-prettyprint.exp: Likewise.
2610 * gdb.python/py-template.exp: Likewise.
2611 * gdb.python/py-type.exp: Likewise.
2612 * gdb.python/py-value.exp: Likewise.
2613
85d721b8
PA
26142010-02-22 Pedro Alves <pedro@codesourcery.com>
2615
2616 PR9605
2617
2618 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2619
48e32051
TT
26202010-02-19 Tom Tromey <tromey@redhat.com>
2621
2622 PR c++/8693, PR c++/9496:
2623 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
2624 regression tests.
2625
ac9c0048
JK
26262010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2627
2628 Fix compatibility with m68k as.
2629 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
2630 Use only /* comments */.
2631
57bb97a4
UW
26322010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2633
2634 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
2635 * configure: Regenerate.
2636
7d1bf85c
DJ
26372010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
2638
2639 * gdb.python/py-type.exp: Check for Python support.
2640
061b5285
PA
26412010-02-17 Pedro Alves <pedro@codesourcery.com>
2642
2643 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
2644 `regsub' syntax available.
2645
f8a8bc2c
PA
26462010-02-17 Pedro Alves <pedro@codesourcery.com>
2647
2648 * gdb.base/shmain.c (main): Remove printf call.
2649 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
2650 * gdb.base/unload.c (main): Make format of fprintf a string
2651 literal. Add missing endlines to prints to stderr.
2652 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2653
6f451e5e
TT
26542010-02-17 Tom Tromey <tromey@redhat.com>
2655
2656 * gdb.java/jprint.java (jprint.props): New field.
2657 * gdb.java/jprint.exp (set_lang_java): Add regression test.
2658
12d79008
PA
26592010-02-17 Pedro Alves <pedro@codesourcery.com>
2660
ef801a0e 2661 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
2662 available.
2663
d252f7e5
DJ
26642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2665
2666 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
2667 creation to support remote host testing.
2668
67bdab6c
DJ
26692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2670
2671 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
2672 Recognize "command not found".
2673
bb391223
DJ
26742010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2675
2676 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
2677 single-stepping.
2678
70362913
DJ
26792010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2680
2681 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
2682 if arguments are not supported.
2683
493f3c00
DJ
26842010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2685
2686 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
2687 be const or non-const.
2688
8034c749
DJ
26892010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2690
2691 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
2692 mi_send_resuming_command to send -exec-continue.
2693
791dfb64
DJ
26942010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2695
2696 * gdb.base/list.exp (test_list_filename_and_function): Add test
2697 with single quotes.
2698 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
2699 matching.
2700 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
2701 Add KFAIL'd tests for PR gdb/11289.
2702
7c5fe868
DJ
27032010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2704
2705 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2706
fdc498b8
DJ
27072010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2708
2709 * gdb.base/comp-dir/subdir/dummy.txt: New file.
2710 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
2711 a temporary directory.
2712
b519e2a6
DJ
27132010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2714
2715 * gdb.base/charset.exp: Use a single regular expression to match
2716 show host-charset and show target-charset output.
2717
74164c56
JK
27182010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2719
2720 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
2721 "Illegal process-id" expect string more exact.
2722 (attach to digits-starting nonsense is prohibited): New.
2723
701ed6dc
JK
27242010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2725
2726 * gdb.base/prelink.exp (set verbose on): New.
2727
889bf7c5 27282010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
2729
2730 * mi-reverse.exp: New file. Test for reverse option to the
2731 following MI commands: exec-continue, exec-finish, exec-next,
2732 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 2733
dadf0e9c
JB
27342010-02-09 Joel Brobecker <brobecker@adacore.com>
2735
2736 * gdb.ada/ptype_tagged_param: New testcase.
2737
714f19d5
TT
27382010-02-08 Tom Tromey <tromey@redhat.com>
2739
2740 PR c++/8017:
2741 * gdb.cp/overload.exp: Add tests.
2742 * gdb.cp/overload.cc (struct K): New.
2743 (namespace N): New.
2744 (main): Call new functions.
2745 (K::staticoverload): Define.
2746
889bf7c5 27472010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
2748
2749 PR gdb/10728
2750 * gdb.cp/pr10728-x.h: New file.
2751 * gdb.cp/pr10728-x.cc: New file.
2752 * gdb.cp/pr10728-y.cc: New file.
2753 * gdb.cp/pr10728.exp: New file.
2754 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2755
889bf7c5 27562010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
2757
2758 PR gdb/9067
2759 * gdb.cp/pr9067.exp: New
2760 * gdb.cp/pr9067.cc: New
2761 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2762
7b356089
JB
27632010-02-08 Joel Brobecker <brobecker@adacore.com>
2764
2765 * lib/gdb.exp (gdb_test_timeout): New global variable.
2766 Set it to timeout if not already set.
2767 (gdb_init): Reset the value of timeout to gdb_test_timeout.
2768
1be00882
DE
27692010-02-05 Doug Evans <dje@google.com>
2770
2771 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
2772 user.
2773
82856980
SW
27742010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
2775
2776 PR c++/7935:
2777 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
2778
1a334831
TT
27792010-02-04 Tom Tromey <tromey@redhat.com>
2780
2781 * gdb.cp/virtbase.exp: Make test case names unique.
2782
9c3c02fd
TT
27832010-02-02 Tom Tromey <tromey@redhat.com>
2784
2785 * gdb.cp/virtbase.exp: Add regression tests.
2786 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
2787 (main): Instantiate RHC.
2788
0cc2414c
TT
27892010-02-02 Tom Tromey <tromey@redhat.com>
2790
2791 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
2792 type-printing change.
2793
edf3d5f3
TT
27942010-02-02 Tom Tromey <tromey@redhat.com>
2795
2796 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
2797 * gdb.cp/virtbase.cc: New file.
2798 * gdb.cp/virtbase.exp: New file.
2799 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
2800
e4b7f41c
JK
28012010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 PR libc/11214:
2804 * gdb.threads/current-lwp-dead.c: Include features.h.
2805 (HAS_NOMMU): New.
2806 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
2807
b381ea14
JK
28082010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 * gdb.base/symbol-without-target_section.exp,
2811 gdb.base/symbol-without-target_section.c: New.
2812
c593ac0e
DJ
28132010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2814
2815 * gdb.base/bigcore.exp: Reset increased timeout.
2816 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
2817
db25f29d
DJ
28182010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2819
2820 * gdb.base/gcore.exp (capture_command_output): Use
2821 gdb_test_multiple.
2822
f9d67f43
DJ
28232010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2824
2825 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
2826 * gdb.arch/thumb2-it.exp (test_it_break): New function.
2827 (Top level): Call it.
2828
177321bd
DJ
28292010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2830
2831 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
2832
97f2ed50
DJ
28332010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
2834
2835 * gdb.base/call-strs.exp, gdb.base/default.exp,
2836 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
2837 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
2838 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
2839 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
2840 gdb.base/watchpoint-solib.exp: Save and restore timeout.
2841 * gdb.base/ending-run.exp: Correct restore of timeout.
2842 * gdb.base/page.exp: Remove unnecessary timeout setting.
2843
e4e2711a
JB
28442010-01-29 Joel Brobecker <brobecker@adacore.com>
2845
2846 * gdb.ada/rec_return: New testcase.
2847
ba581dc1
JB
28482010-01-29 Joel Brobecker <brobecker@adacore.com>
2849
2850 * gdb.ada/call_pn: New testcase.
2851
4ea95be9
DJ
28522010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
2853
2854 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
2855 (Top level): Use it to resume.
2856 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
2857 the Thumb mode displaced stepping error as unsupported.
2858
df83a9bf
SW
28592010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
2860
889bf7c5
PA
2861 * gdb.cp/nsusing.exp: Added more tests.
2862 * gdb.cp/nsrecurs.exp: Ditto.
2863 * gdb.cp/nsusing.cc: Added test functions.
2864 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 2865
40b27cdc
JK
28662010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2867
2868 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
2869 absolute directory pathnames in gdb.sum file.
2870
de958931
SW
28712010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
2872
2873 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
2874 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
2875
708ead4e
TT
28762010-01-26 Tom Tromey <tromey@redhat.com>
2877
2878 PR exp/7643:
2879 * gdb.base/printcmds.exp (test_print_string_constants): Remove
2880 setup_kfail.
2881
b14e635e
SW
28822010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
2883
2884 * gdb.cp/nsrecurs.exp: New test.
2885 * gdb.cp/nsrecurs.cc: New test program.
2886 * gdb.cp/nsstress.exp: New test.
2887 * gdb.cp/nsstress.cc: New test program.
2888 * gdb.cp/nsdecl.exp: New test.
2889 * gdb.cp/nsdecl.cc: New test program.
2890
8540c487
SW
28912010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
2892
2893 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
2894 imported into file scope.
2895 Marked test as xfail.
2896 * gdb.cp/namespace-using.cc (marker5): New function.
2897 * gdb.cp/shadow.exp: New test.
2898 * gdb.cp/shadow.cc: New test program.
2899 * gdb.cp/nsimport.exp: New test.
2900 * gdb.cp/nsimport.cc: New test program.
2901
421d5d99
TT
29022010-01-25 Tom Tromey <tromey@redhat.com>
2903
2904 PR gdb/11049:
2905 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
2906 with "set print null-stop on".
2907
691f8dc1
JK
29082010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2909
2910 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
2911 Adjust it for DISASSEMBLY_OMIT_FNAME.
2912
0b92b5bb
TT
29132010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 PR symtab/11199:
2916 * gdb.dwarf2/member-ptr-forwardref.exp,
2917 gdb.dwarf2/member-ptr-forwardref.S: New.
2918
23787403
JK
29192010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2920
2921 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
2922 (thread1_func): Protect thread1_tid with thread1_tid_cond by
2923 thread1_tid_mutex. Remove gdbstop_mutex handling.
2924 (thread2_func): Protect thread2_tid with thread2_tid_cond by
2925 thread2_tid_mutex. Remove gdbstop_mutex handling.
2926 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
2927 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
2928 pthread_cond_wait conditionalizations by while loops.
2929
b966cb8a
TT
29302010-01-20 Tom Tromey <tromey@redhat.com>
2931
2932 PR backtrace/10770:
2933 * gdb.dwarf2/pr10770.exp: New file.
2934 * gdb.dwarf2/pr10770.c: New file.
2935 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
2936
fcae584b
VP
29372010-01-20 Vladimir Prus <vladimir@codesourcery.com>
2938
2939 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
2940 that target was removed, and the test always runs native anyway.
2941
a0f49112
JK
29422010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2943
2944 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
2945 gdb.base/watchpoint-cond-gone-stripped.c: New.
2946
ceeb3d5a
TT
29472010-01-19 Tom Tromey <tromey@redhat.com>
2948
2949 PR c++/8000:
2950 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
2951 existing tests.
2952 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
2953 (main): Use AAA::SomeEnum.
2954
dd322c54
JK
29552010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2956
2957 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
2958 (test_ignore_count): Declare line_callme_body global.
2959 (run to breakpoint with ignore count): Use line_callme_body.
2960 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
2961 (set line_main_hello, set line_main_return): Reindent.
2962 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
2963 New.
2964 (continue to callee4): Use line_callee4_body.
2965 (check *stopped from CLI command): Use line_callee4_next.
2966 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
2967 (set line_main_hello, set line_main_return): Reindent.
2968 (set line_callee4_head, set line_callee4_body): New.
2969 (continue to callee4): Use line_callee4_body.
2970
4e8f195d
TT
29712010-01-18 Tom Tromey <tromey@redhat.com>
2972
2973 PR c++/9680:
2974 * gdb.cp/casts.cc: Add new classes and variables.
2975 * gdb.cp/casts.exp: Test new operators.
2976
9e14a9ba
JB
29772010-01-18 Tom Tromey <tromey@redhat.com>
2978 Thiago Jung Bauermann <bauerman@br.ibm.com>
2979
2980 * gdb.python/source2.py: New file.
2981 * gdb.python/source1: New file.
2982 * gdb.python/python.exp: Test "source" command.
2983
00bf0b85
SS
29842010-01-15 Stan Shebs <stan@codesourcery.com>
2985
2986 * gdb.trace/tfile.c: New file.
2987 * gdb.trace/tfile.exp: New file.
889bf7c5 2988
55235ad7
JK
29892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2992
9f2982ff
JK
29932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2994
2995 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2996
bbfba9ed
JK
29972010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2998
2999 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3000 (libfunc): New parameter action. Implement also selectable "sleep".
3001 * gdb.base/break-interp-main.c: Include assert.h.
3002 (libfunc): New parameter action.
3003 (main): New parameters argc and argv. Assert argc. Pass argv.
3004 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3005 (test_attach): New proc.
3006 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3007 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3008
61f0d762
JK
30092010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3010
3011 * gdb.base/break-interp.exp (test_core): New proc.
3012 (test_ld): Call it.
3013
06a6f270
JK
30142010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3015
3016 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3017 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3018 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3019 and gdb_compile_shlib. Use new -Wl compiler options.
3020 (dl bt, main bt): New tests.
3021
51bee8e9
JK
30222010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3023
3024 Support PIEs with no symfile_objfile.
3025 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3026 (test_ld): New parameter trynosym.
3027 (test_ld <$trynosym>): New block.
3028
b8040f19
JK
30292010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.base/break-interp.exp: New file.
3032
be759fcf
PM
30332010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3034
3035 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3036 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3037 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3038 test.
3039 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3040 * gdb.python/py-mi.exp: Add lazy string test.
3041
dc146f7c
VP
30422010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3043
3044 * lib/mi-support.exp (mi_check_thread_states): Handle
3045 core number in thread listing.
3046
b4ba55a1
JB
30472010-01-12 Joel Brobecker <brobecker@adacore.com>
3048
3049 * gdb.base/maint.exp: Adjust the expected output for the
3050 "maint print type" test. Use gdb_test_multiple instead of
3051 gdb_sent/gdb_expect.
3052
08e24bd4
DE
30532010-01-11 Doug Evans <dje@google.com>
3054
6496a609
DE
3055 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3056 from gdbserver_download. All callers updated.
3057
08e24bd4
DE
3058 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3059
b5cfddf5
JK
30602010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 Implement binary numbers parsing.
3063 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3064 (test_integer_literals_rejected): New binary tests.
3065
3725885a
RW
30662010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3067
3068 * gdb.cell/configure: Regenerate.
3069
37aeb5df
JK
30702010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3071
3072 * gdb.base/corefile.exp: Move the core finding block out and call it as
3073 core_find, new variable $corefile, replace corefile by $corefile and
3074 [file tail $corefile] for usage vs. test names resp.
3075 * lib/gdb.exp (core_find): Move it as a new function here. New
3076 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3077 $destcore. Return "" on error.
3078
d521f563
JK
30792010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3080
3081 Workaround PR binutils/10802.
3082 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3083 (twice).
3084
28f24826
DJ
30852010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3086
3087 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3088
2de75e71
JB
30892010-01-08 Joel Brobecker <brobecker@adacore.com>
3090
3091 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3092 call, to avoid interruption.
3093
fe00719b 30942010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
3095
3096 * gdb.stabs/weird.def (args93): New.
3097
d0ef5df8
DE
30982010-01-07 Doug Evans <dje@google.com>
3099
3100 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3101
3a08d52f
TT
31022010-01-07 Tom Tromey <tromey@redhat.com>
3103
3104 * gdb.base/source.exp: Use correct line number.
3105
7a697b8d
SS
31062010-01-05 Stan Shebs <stan@codesourcery.com>
3107
3108 * gdb.trace/tracecmd.exp: Test ftrace.
3109
7803799a
UW
31102010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3111
3112 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3113
c54eabfa
JK
31142010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3117 "uint_for_mi_testing".
3118
02e7ef19
JB
31192010-01-01 Joel Brobecker <brobecker@adacore.com>
3120
3121 Test indented comment in file being sourced.
3122 * gdb.base/commands.exp: Test indented comment in file being sourced.
3123
abd775ce
JB
31242010-01-01 Joel Brobecker <brobecker@adacore.com>
3125
3126 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3127 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3128 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3129 notice.
3130
79b55b82
JB
31312010-01-01 Joel Brobecker <brobecker@adacore.com>
3132
3133 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3134 notice.
3135
8997583e
JK
31362010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3137
3138 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3139 missing $after_stopped and comma (,) expectation.
3140
6da95a67
SS
31412009-12-31 Stan Shebs <stan@codesourcery.com>
3142
3143 * gdb.trace/actions.exp: Test teval action.
889bf7c5 3144
218d2fc6
TJB
31452009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3146
3147 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3148 (top level): Call test_watchpoint_in_big_blob.
3149 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3150 watchpoints.
3151 (func3): Write to buf.
3152
236f1d4d
SS
31532009-12-29 Stan Shebs <stan@codesourcery.com>
3154
3155 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 3156
f61e138d
SS
31572009-12-28 Stan Shebs <stan@codesourcery.com>
3158
3159 * gdb.trace/tsv.exp: New file.
3160 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 3161
0219b378
DJ
31622009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3163
3164 * gdb.base/find.c (main): Reference search buffers.
3165 * gdb.base/included.c (main): Reference integer.
3166 * gdb.base/ptype.c (charfoo): Declare.
3167 (intfoo): Call charfoo.
3168 * gdb.base/scope0.c (useitp): New function.
3169 (usestatics): Use useitp.
3170 (useit): Add a type for val.
3171 * gdb.base/scope1.c (useit1): Take a pointer argument.
3172 (usestatics1): Update calls to useit1.
3173 * gdb.cp/call-c.cc: Declare foo.
3174 (main): Call foo.
3175 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3176 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3177 (main): Call C::ensureRefs and ensureOtherRefs.
3178 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3179 variables.
3180 (ensureOtherRefs): New function.
3181 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3182 * gdb.cp/templates.cc (main): Call t5i.value.
3183
3f78692f
JK
31842009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3185
3186 Fix compatibility with G++-4.5.
3187 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3188 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3189 (uncaught return): Remove.
3190
429374b8
JK
31912009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3192 Phil Muldoon <pmuldoon@redhat.com>
3193
3194 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3195 (bp_location13, bp_location14, bp_location17, bp_location18)
3196 (marker3_proto, marker4_proto): New variables.
3197 (breakpoint info): Update output.
3198 (run until breakpoint at marker3, run until breakpoint at marker4): New
3199 tests.
3200
859825b8
JK
32012009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3202
3203 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3204 Replace the printf call of Y by provided "y-set-1" label. New block
3205 for the second shared library.
3206 * gdb.base/unload.exp: Compile also the second library, call
3207 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3208 (single pending breakpoint info): Rename to ...
3209 (pending breakpoint info before run): ... this extended test.
3210 (libfile2, libname2, libsrcfile2, libsrc2)
3211 (lib_sl2): New variables.
3212 (exec_opts): Set also SHLIB_NAME2.
3213 (pending breakpoint info on first run at shrfunc1)
3214 (pending breakpoint info on second run at shrfunc1)
3215 (pending breakpoint info on second run at shrfunc2)
3216 (print y from libfile, print y from libfile2): New tests.
3217 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3218 * gdb.base/unloadshr2.c: New.
3219
e6a386cd
HZ
32202009-12-22 Hui Zhu <teawater@gmail.com>
3221
3222 * gdb.reverse/sigall-reverse.exp: Adjust.
3223
9e19b45e
VP
32242009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3225
3226 PR gdb/10884
3227
3228 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3229 (main): Call do_bitfield_tests.
aacf5b1e 3230 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 3231
d53a7b30
JB
32322009-12-20 Joel Brobecker <brobecker@adacore.com>
3233
3234 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3235 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3236 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3237 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3238 gdb.modula2/unbounded1.c: Update copyright header.
3239
191ca0a1
CM
32402009-12-10 Chris Moller <moller@mollerware.com>
3241
3242 PR gdb/9399
3243 * gdb.cp/virtfunc2.exp: New tests
3244 * gdb.cp/virtfunc2.cc: New tests
3245 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3246
0fa6cf1b
MS
32472009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3248
3249 * gdb.reverse/i387-env-reverse.c: New file.
3250 * gdb.reverse/i387-env-reverse.exp: New file.
3251 * gdb.reverse/i387-stack-reverse.c: New file.
3252 * gdb.reverse/i387-stack-reverse.exp: New file.
3253
361ae042
PM
32542009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3255
3256 * gdb.python/py-type.exp (test_range): New test.
3257
bfd31e71
PM
32582009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3259
3260 PR python/10805
3261
3262 * gdb.python/py-type.exp: New file.
3263 * gdb.python/py-type.c: New file.
3264 * Makefile.in: Add py-type.
3265
57a1d736
TT
32662009-12-03 Tom Tromey <tromey@redhat.com>
3267
3268 * gdb.python/py-value.exp (test_parse_and_eval): New
3269 function.
3270
1f3b5d1b
PP
32712009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3272
3273 PR gdb/11022
3274
3275 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
3276 * gdb.base/pr11022.c: New test.
3277
8b7dbdc9
JK
32782009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3279
3280 Fix spurious false FAILs.
3281 * gdb.base/structs.c (chartest): New.
3282 (main): Fill-in chartest.
3283 * gdb.base/structs.exp (anychar_re, first): New.
3284 (start_structs_test): Import global anychar_re and first.
3285 New gdb_test call "set print elements 300; ${testfile}"
3286 (start_structs_test <$first>): New block.
3287 (any): Import global anychar_re. New variable ac. Use ${ac}.
3288
6a53b2ec
JK
32892009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3290
3291 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3292
d7167b4c
JK
32932009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3294
3295 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3296 Force $srcfile file.
3297 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3298
b1798462
UW
32992009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3300
3301 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3302 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3303 * gdb.threads/watchthreads-reorder.exp: Likewise.
3304
b6199126
DJ
33052009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3306
3307 PR gdb/8704
3308
3309 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3310 "if", and "thread". Correct matching in the previous test.
3311
b22a0510
DJ
33122009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3313
3314 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3315
930636d2
MS
33162009-11-23 Michael Snyder <msnyder@vmware.com>
3317
3318 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3319 * gdb.reverse-watch-precsave.exp: Ditto.
3320
21a0512e
PP
33212009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3322
3323 * gdb.asm/asm-source.exp: Adjust.
3324 * gdb.base/help.exp: Adjust.
889bf7c5 3325
fc30d5e0
PA
33262009-11-22 Pedro Alves <pedro@codesourcery.com>
3327
3328 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
3329 (do_syscall_tests_without_xml): Set data-directory to
3330 /the/path/to/nowhere.
3331
f6bc2008
PA
33322009-11-21 Pedro Alves <pedro@codesourcery.com>
3333
3334 * gdb.threads/local-watch-wrong-thread.c,
3335 gdb.threads/local-watch-wrong-thread.exp: New files.
3336
8c2fb5de
PA
33372009-11-21 Pedro Alves <pedro@codesourcery.com>
3338
3339 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
3340 assume new `regsub' syntax available.
3341
ebec9a0f
PA
33422009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3343
a79d3c27
JK
3344 * gdb.base/watchpoint-hw-hit-once.exp,
3345 gdb.base/watchpoint-hw-hit-once.c: New.
3346
33472009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.threads/watchthreads-reorder.exp,
3350 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 3351
276a961b
MK
33522009-11-17 Nathan Sidwell <nathan@codesourcery.com>
3353
3354 * gdb.xml/tdesc-regs.exp: Use for m68k.
3355
4867c1fb
PA
33562009-11-15 Pedro Alves <pedro@codesourcery.com>
3357
3358 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
3359
f6838f81
DJ
33602009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3361
3362 * lib/gdb.exp (current_target_name): New procedure.
3363 (gdb_wrapper_target): New variable.
3364 (gdb_wrapper_init): Set gdb_wrapper_target.
3365 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
3366 wrapper.
3367
4ac4dd3f
DJ
33682009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3369
3370 * gdb.base/remote.exp: Delete the slowest load test.
3371 Do not load with fixed packet sizes.
3372
a7881759
DJ
33732009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3374
3375 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3376
97a5b505
DJ
33772009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3378
3379 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
3380 srcfile when setting a breakpoint.
3381
d3e1fc54
DJ
33822009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
3383
3384 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
3385 macros.
3386
7cbcbded
DJ
33872009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3388
3389 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
3390 to be in memory.
3391 * gdb.base/display.c (force_mem): New.
3392 (do_loops): Use it. Add breakpoint comments.
3393 (do_vars): Add a breakpoint comment.
3394 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
3395 line numbers.
3396
bdea3a92
NF
33972009-11-13 Nathan Froyd <froydnj@codesourcery.com>
3398
3399 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
3400 instead of a bare "run".
3401
269f82e5
PP
34022009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3403
3404 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 3405
a69b7d9d
DJ
34062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3407
3408 * lib/cell.exp (skip_cell_tests): Clean up test files before
3409 returning.
3410
b598bfda
DJ
34112009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3412
3413 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
3414 and the breakpoint menu. Do not call perror if a prompt is seen.
3415 Consume the following GDB prompt.
3416 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
3417 * gdb.cp/namespace.exp: Use gdb_test.
3418 * gdb.cp/templates.exp: Use gdb_test.
3419 (test_template_breakpoints): Use gdb_test_multiple.
3420
87728fa0
DJ
34212009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3422
3423 * gdb.base/break1.c (struct some_struct, values): Move earlier.
3424 (marker4): Reference values.
3425
b67c692f
DJ
34262009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3427
3428 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
3429 is missing.
3430
f0df251a
DJ
34312009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3432
3433 * gdb.base/break.c (need_malloc): New.
3434 * gdb.base/constvars.c (main): Reference crass and crisp.
3435 * gdb.base/gdb1821.c (main): Reference bar.
3436 * gdb.cp/gdb1355.cc (main): Reference s1.
3437 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
3438 (main): Call them.
3439 * gdb.cp/hang2.cc (dummy2): Define.
3440 * gdb.cp/hang3.cc (dummy3): Define.
3441 * gdb.cp/m-data.cc (main): Reference shadow.
3442
bdf7534a
NF
34432009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3444 Nathan Froyd <froydnj@codesourcery.com>
3445
3446 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
3447 remote host.
3448
f24fce77
NF
34492009-11-12 Nathan Froyd <froydnj@codesourcery.com>
3450
3451 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
3452 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
3453 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3454 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3455 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3456 * gdb.dwarf2/dw2-producer.exp: Likewise.
3457 * gdb.dwarf2/mac-fileno.exp: Likewise.
3458 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
3459 py-prettyprint.py to the remote host.
3460 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
3461
40f0318e
KS
34622009-11-11 Keith Seitz <keiths@redhat.com>
3463
3464 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
3465 use it instead of "Foo".
3466 * gdb.cp/classes.exp (do_tests): Add a test to access
3467 a method through a typedef'd class name.
3468
f3d9f7fb
NF
34692009-11-11 Nathan Froyd <froydnj@codesourcery.com>
3470
3471 * gdb.base/long_long.exp: Permit leading zeros on floating-point
3472 exponents.
3473 * gdb.base/pointers.exp: Likewise.
3474 * gdb.cp/ref-types.exp: Likewise.
3475
a4216f37
KS
34762009-11-11 Keith Seitz <keiths@redhat.com>
3477
3478 * gdb.cp/cplusfuncs.cc (class foo): Add operators
3479 new[] and delete[].
3480 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
3481 "void".
3482 (probe_demangler): Remove all single-quoting of
3483 method and variable names.
3484 (info_func_regexp): Remove the word "void" from any
3485 occurrence of "(void)".
3486 (print_addr_2): Remove all single-quoting of
3487 method names.
3488 (print_addr_2_kfail): Likewise.
3489 (print_addr): Single-quote C function names before
3490 passing to print_addr_2.
3491 (test_paddr_operator_functions): Remove single-quoting
3492 for method names.
3493 Add tests for operator new[] and operator delete[].
3494
9b14d7aa
JK
34952009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3496
3497 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
3498
85feb311
KS
34992009-11-09 Keith Seitz <keiths@redhat.com>
3500
3501 * gdb.cp/overload.exp: Add tests for resolving overloaded
3502 methods in expression parsing/evaluation.
3503
fa335448
DJ
35042009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
3505
3506 * lib/gdb.exp (default_gdb_version): Use --version instead of
3507 --command.
3508
ec3c07fc
NS
35092009-11-10 Nathan Sidwell <nathan@codesourcery.com>
3510
3511 * lib/gdb.exp (gdb_compile_test): New.
3512 (skip_ada_tests, skip_java_tests): New.
3513 (gdb_compile): Use gdb_compile_test for f77.
3514 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
3515 * lib/java.exp (compile_java_from_source): Remove runtests check,
3516 use gdb_compile_test to record result.
3517 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
3518 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
3519 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
3520 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
3521 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
3522 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
3523 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
3524 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
3525 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
3526 adjust gdb_compile invocations.
3527
b8b4e42b
JK
35282009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3529
3530 * Makefile.in (abs_builddir): New.
3531 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
3532 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
3533 `$(abs_builddir)/site.exp'.
3534
f8b7eaf3
DJ
35352009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
3536
3537 * config/m68k-emc.exp, lib/emc-support.exp,
3538 gdb.trace/gdb_c_test.c: Delete.
3539 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
3540 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
3541 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3542 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
3543 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3544 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
3545 casing for m68k-*-elf.
3546
c4187697
NS
35472009-11-03 Pedro Alves <pedro@codesourcery.com>
3548
3549 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
3550 * gdb.arch/i386-prologue.exp: Likewise.
3551 * gdb.arch/i386-unwind.exp: Likewise.
3552
db16b772
DJ
35532009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3554
3555 * lib/gdb.exp (gdb_expect): Fix timeout typo.
3556
bcf71277
DJ
35572009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3558
3559 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
3560
0105cee2
DJ
35612009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3562
3563 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
3564
24ddea62
JK
35652009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3566
3567 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
3568
287ccc17
JK
35692009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3570
3571 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
3572 * gdb.base/sepdebug2.c: New file.
3573
08bca259 35742009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
3575
3576 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
3577 the modified warnings for catch syscall. Verify if GDB was compiled
3578 with support for lib expat, and choose which tests to run depending
3579 on this.
3580
5d4e2b76
VP
35812009-10-30 Vladimir Prus <vladimir@codesourcery.com>
3582
3583 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
3584 that composite commands are parsed OK. And also test
3585 that breakpoint commands do work.
3586
240e538a
MS
35872009-10-23 Michael Snyder <msnyder@vmware.com>
3588
3589 gdb.reverse/consecutive-precsave.exp: Change expect pattern
3590 to allow for new disassembly style.
3591
9c419145
PP
35922009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3593
3594 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 3595
02506ff1
MS
35962009-10-22 Michael Snyder <msnyder@vmware.com>
3597
3598 * gdb.reverse/break-precsave.exp: New test.
3599 * gdb.reverse/consecutive-precsave.exp: Ditto.
3600 * gdb.reverse/finish-precsave.exp: Ditto.
3601 * gdb.reverse/i386-precsave.exp: Ditto.
3602 * gdb.reverse/machinestate-precsave.exp: Ditto.
3603 * gdb.reverse/sigall-precsave.exp: Ditto.
3604 * gdb.reverse/solilb-precsave.exp: Ditto.
3605 * gdb.reverse/step-precsave.exp: Ditto.
3606 * gdb.reverse/until-precsave.exp: Ditto.
3607 * gdb.reverse/watch-precsave.exp: Ditto.
3608
4cf866a3
MS
36092009-10-22 Michael Snyder <msnyder@vmware.com>
3610
3611 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
3612 for gdb_expect. Adjust one test's expect strings for the new
3613 format of disassemble.
3614 * gdb.reverse/finish-reverse.exp: Delete 'return'.
3615 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
3616 gdb_test_multiple.
3617 * gdb.reverse/step-reverse.exp: Delete 'return'.
3618 * gdb.reverse/until-reverse.exp: Delete blank lines.
3619 * gdb.reverse/watch-reverse.exp: Delete blank lines.
3620
2b28d209
PP
36212009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3622
3623 * gdb.base/consecutive.exp: Adjust.
3624 * gdb.base/display.exp: Likewise.
3625 * gdb.base/pc-fp.exp: Likewise.
3626 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 3627
33b9c32b
MS
36282009-10-19 Michael Snyder <msnyder@vmware.com>
3629
3630 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
3631 * gdb.reverse/finish-reverse.c: Ditto.
3632 * gdb.reverse/sigall-reverse.c: Ditto.
3633 * gdb.reverse/solib-reverse.c: Ditto.
3634 * gdb.reverse/step-reverse.c: Ditto.
3635 * gdb.reverse/watch-reverse.c: Ditto.
3636
6c95b8df
PA
36372009-10-19 Pedro Alves <pedro@codesourcery.com>
3638 Stan Shebs <stan@codesourcery.com>
3639
3640 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
3641 * gdb.base/foll-exec.exp: Adjust to expect a process id before
3642 "Executing new program".
3643 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
3644 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
3645 left listed after having been killed.
3646 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
3647 * gdb.base/maint.exp: Adjust test.
3648
3649 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
3650 * gdb.multi/Makefile.in: New.
3651 * gdb.multi/base.exp: New.
3652 * gdb.multi/goodbye.c: New.
3653 * gdb.multi/hangout.c: New.
3654 * gdb.multi/hello.c: New.
3655 * gdb.multi/bkpt-multi-exec.c: New.
3656 * gdb.multi/bkpt-multi-exec.exp: New.
3657 * gdb.multi/crashme.c: New.
3658
279017b7
TG
36592009-10-13 Tristan Gingold <gingold@adacore.com>
3660
3661 * gdb.base/sepdebug.exp: Check debug info are found.
3662
0413d738
PA
36632009-10-08 Pedro Alves <pedro@codesourcery.com>
3664
3665 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
3666 bits.
3667
c628eecc
JK
36682009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
3671
38af1bfe
JB
36722009-10-07 Joel Brobecker <brobecker@adacore.com>
3673
3674 * gdb.base/watchpoints.c: Add copyright header. Reformat one
3675 of the comments.
3676
2b0adecd
PM
36772009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
3678
3679 * gdb.base/annota1.exp: Remove obsolete match_max increase.
3680 * gdb.base/annota3.exp: Idem.
3681 * gdb.base/maint.exp: Idem.
3682
8d417781
PM
36832009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3684
889bf7c5 3685 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
3686 to default.
3687
bb61102d
PM
36882009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3689
889bf7c5 3690 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
3691 mingw and cygwin targets.
3692
ace5c364
PM
36932009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3694 Pedro Alves <pedro@codesourcery.com>
3695
889bf7c5 3696 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
3697 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
3698
c2d494a0
PM
36992009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3700
e1b52ce2
PM
3701 * gdb.base/shr1.c: Use %p in format string.
3702 * gdb.base/unload.c: Avoid warning in fprintf.
3703 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 3704
209f53f5
PM
37052009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3706
3707 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
3708 long type.
3709 (test_unlink): Correct printf string.
3710 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
3711 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
3712
8172766a
JK
37132009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3714
3715 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
3716 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
3717 * gdb.arch/ia64-breakpoint-shadow.S: New file.
3718
0f73703c
UW
37192009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3720
3721 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
3722 * gdb.objc/nondebug.exp: Likewise.
3723
b32306ca
UW
37242009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3725
3726 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
3727 target_info setting.
3728
3729 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
3730 that detect new threads during "info threads".
3731
0057022f
UW
37322009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3733
3734 * gdb.threads/manythreads.c (main): Increase thread stack size
3735 to 2*PTHREAD_STACK_MIN.
3736 * gdb.threads/multi-create.c (main): Likewise.
3737 (create_function): Likewise.
3738
f29c0325
UW
37392009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3740
3741 * gdb.base/dump.exp: Pass difference of pointer types instead
3742 of integer types as offset to restore in intarr3.srec case.
3743
fcb34849
UW
37442009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3745
3746 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
3747
d5142e3b
UW
37482009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3749
3750 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
3751
087b74b2 37522009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 3753
087b74b2
PM
3754 New test for two watchpoints, with disabling of
3755 the first inserted.
3756 * testsuite/gdb.base/watchpoints.c: New file.
3757 * testsuite/gdb.base/watchpoints.exp: New file.
3758
96c07c5b
TT
37592009-09-25 Tom Tromey <tromey@redhat.com>
3760
3761 * gdb.base/charset.exp: Test utf-16 strings with Python.
3762
b8899f2b
TT
37632009-09-25 Tom Tromey <tromey@redhat.com>
3764
3765 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
3766 UCS-4.
3767 * gdb.base/charset.c (utf_32_string): Rename.
3768 (init_utf32): Rename.
3769 (main): Update.
3770
329719ec
TT
37712009-09-22 Tom Tromey <tromey@redhat.com>
3772
3773 * gdb.python/py-function.exp: Add regression tests.
3774
11ef0d76
KS
37752009-09-21 Keith Seitz <keiths@redhat.com>
3776
3777 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
3778 with invalid operator.
3779
3fe8f3b3
KS
37802009-09-21 Keith Seitz <keiths@redhat.com>
3781
3782 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
3783 and destructor using typedef name of class.
3784 * gdb.cp/classes.cc (class Base1): Add a destructor.
3785 (base1): New typedef.
3786 (use_methods): Instanitate an object of type base1.
3787 * gdb.cp/templates.exp (test_template_typedef): New procedure.
3788 (do_tests): Call test_template_typedef.
3789 * gdb.cp/templates.cc (Baz::~Baz): New method.
3790 (intBazOne): New typedef.
3791 (main): Instantiate intBazOne.
3792
7a9fe101
PM
37932009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3794
3795 PR python/10633
3796
3797 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
3798 Function.
3799 (run_lang_tests): Add print elements test.
3800
2e4d963f
PM
38012009-09-21 Phil Muldoon <pmuldoon@redhat.com>
3802
3803 * gdb.python/py-value.exp (test_subscript_regression): New
3804 function. Test for invalid subscripts.
3805 * gdb.python/py-value.c (main): Add test array, and pointer to it.
3806 (ptr_ref): New function.
3807
ec7e75e7
PP
38082009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3809
3810 * gdb.base/default.exp: Fix "show convenience".
3811
0cc7d26f
TT
38122009-09-15 Tom Tromey <tromey@redhat.com>
3813
3814 * lib/mi-support.exp (mi_create_varobj): Update.
3815 (mi_create_floating_varobj): Likewise.
3816 (mi_create_dynamic_varobj): New proc.
3817 (mi_varobj_update): Update.
3818 (mi_varobj_update_with_type_change): Likewise.
3819 (mi_varobj_update_kv_helper): New proc.
3820 (mi_varobj_update_dynamic_helper): Rewrite.
3821 (mi_varobj_update_dynamic): New proc.
3822 (mi_list_varobj_children): Update.
3823 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
3824 * gdb.python/python-prettyprint.py (pp_outer): New class.
3825 (pp_nullstr): Likewise.
3826 (lookup_function): Register new printers.
3827 * gdb.python/python-prettyprint.c (struct substruct): New type.
3828 (struct outerstruct): Likewise.
3829 (substruct_test): New function.
3830 (struct nullstr): New type.
3831 (string_1, string_2): New globals.
3832 (main): Add new tests.
3833 * gdb.python/python-mi.exp: Added regression tests.
3834 * gdb.mi/mi2-var-display.exp: Update.
3835 * gdb.mi/mi2-var-cmd.exp: Update.
3836 * gdb.mi/mi2-var-child.exp: Update.
3837 * gdb.mi/mi2-var-block.exp: Update.
3838 * gdb.mi/mi-var-invalidate.exp: Update.
3839 * gdb.mi/mi-var-display.exp: Update.
3840 * gdb.mi/mi-var-cmd.exp: Update.
3841 * gdb.mi/mi-var-child.exp: Update.
3842 * gdb.mi/mi-var-block.exp: Update.
3843 * gdb.mi/mi-break.exp: Update.
3844 * gdb.mi/gdb701.exp: Update.
3845
a96d9b2e
SDJ
38462009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3847
3848 * Makefile.in: Inclusion of catch-syscall object.
3849 * gdb.base/catch-syscall.c: New file.
3850 * gdb.base/catch-syscall.exp: New file.
3851
b43b923a
MS
38522009-09-12 Michael Snyder <msnyder@vmware.com>
3853
3854 * gdb.reverse/step-reverse.exp: Explicitly check for targets
3855 that can support reverse debuggnig.
3856
cec03d70
TT
38572009-09-11 Tom Tromey <tromey@redhat.com>
3858
3859 * gdb.dwarf2/valop.S: New file.
3860 * gdb.dwarf2/valop.exp: New file.
3861
e23bb3fc
MK
38622009-09-11 Mark Kettenis <kettenis@gnu.org>
3863
3864 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
3865
37c3696d
DE
38662009-09-10 Doug Evans <dje@google.com>
3867
3868 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
3869 Add $gdb_prompt to second breakpoint regexp.
3870
5172aecb
JB
38712009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
3872
3873 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
3874 names, add missing ones.
3875 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
3876 * gdb.python/py-frame.c: Rename from python-frame.c.
3877 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
3878 testfile name.
3879 * gdb.python/py-function.exp: Rename from python-function.exp.
3880 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
3881 testfile name.
3882 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
3883 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
3884 Adjust testfile name.
3885 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
3886 * gdb.python/py-template.cc: Rename from python-template.cc.
3887 * gdb.python/py-template.exp: Rename from python-template.exp.
3888 Adjust testfile name.
3889 * gdb.python/py-value.c: Rename from python-value.c.
3890 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
3891 testfile name.
3892
b554e4bd
JK
38932009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3894
3895 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
3896 $bpt2address.
3897 (Second breakpoint address is valid on ia64)
3898 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
3899
9a68ae16
JM
39002009-09-03 Joseph Myers <joseph@codesourcery.com>
3901
3902 * gdb.base/ending-run.exp: Restrict regular expression matching
3903 line number to require closing brace following.
3904
146b9145
DE
39052009-09-03 Doug Evans <dje@google.com>
3906
3907 * gdb.base/store.exp (check_set): Fix typo in expected value message.
3908
787d21e1
TT
39092009-09-02 Tom Tromey <tromey@redhat.com>
3910
3911 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
3912
e7802207
TT
39132009-09-02 Tom Tromey <tromey@redhat.com>
3914
3915 * gdb.dwarf2/callframecfa.exp: New file.
3916 * gdb.dwarf2/callframecfa.S: New file.
3917
817aadd2
JK
39182009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
3921 gdb.base/solib-overlap-main.c: New.
3922
4a76eae5
DJ
39232009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
3924
3925 PR gdb/10565
3926
3927 * gdb.base/bitfields.c (struct container, container): New.
3928 (main): Initialize it and call break5.
3929 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
3930
d4b96c9a
JK
39312009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3932
3933 Support constant DW_AT_data_member_location by GCC PR debug/40659.
3934 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
3935
4e22772d
JK
39362009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3937
3938 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
3939
2efab443
MS
39402009-08-26 Michael Snyder <msnyder@vmware.com>
3941
3942 * gdb.base/i386-reverse.c: New file.
3943 * gdb.base/i386-reverse.exp: New file.
3944 * gdb.base/Makefile.in: Add new files to be removed.
3945
07ab73a0
JM
39462009-08-26 Joseph Myers <joseph@codesourcery.com>
3947
3948 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
3949 environment-pwd for remote host.
3950 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
3951
676accff
KS
39522009-08-24 Keith Seitz <keiths@redhat.com>
3953
3954 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
3955 Add two new C++ completer tests which limit the output to a
889bf7c5 3956 given class.
676accff 3957
f9f7ad22
MS
39582009-08-24 Michael Snyder <msnyder@vmware.com>
3959
3960 * gdb.base/del.exp: Fix typo in comment.
3961 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
3962
81ecdfbb
RW
39632009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3964
3965 * configure: Regenerate.
3966 * gdb.hp/configure: Likewise.
3967 * gdb.hp/gdb.aCC/configure: Likewise.
3968 * gdb.hp/gdb.base-hp/configure: Likewise.
3969 * gdb.hp/gdb.compat/configure: Likewise.
3970 * gdb.hp/gdb.defects/configure: Likewise.
3971 * gdb.hp/gdb.objdbg/configure: Likewise.
3972 * gdb.stabs/configure: Likewise.
3973
cab0c772
UW
39742009-08-19 Doug Evans <dje@google.com>
3975
3976 * gdb.base/gdbvars.c: New file.
3977 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
3978
b8fa0bfa
PA
39792009-08-14 Pedro Alves <pedro@codesourcery.com>
3980
3981 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3982 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
3983
b84aa90a
PA
39842009-08-13 Pedro Alves <pedro@codesourcery.com>
3985
3986 * gdb.base/default.exp: Adjust "set language test": it's now an
3987 enum command. Larger help string moved to "help set language".
3988 * gdb.base/help.exp: Adjust "help set language" expected output,
3989 now lists all known languages.
3990
0d8f9b2c
NF
39912009-08-11 Nathan Froyd <froydnj@codesourcery.com>
3992
3993 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
3994 all frame arguments.
3995 * gdb.arch/altivec-regs.exp: Likewise.
3996
bda180e0
TT
39972009-08-07 Tom Tromey <tromey@redhat.com>
3998
3999 * gdb.base/setshow.exp: Add tests for changes to set language, set
4000 check range, and set check type.
4001
48cb2d85
VP
40022009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4003
4004 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4005 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 4006 Call it.
48cb2d85 4007
1ea34204
UW
40082009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4009
4010 * configure.ac: Run gdb.cell tests when appropriate.
4011 * configure: Regenerate.
4012 * lib/cell.exp: New file.
4013 * gdb.cell: New directory.
4014 * gdb.cell/configure.ac: New file.
4015 * gdb.cell/configure: New file.
4016 * gdb.cell/Makefile.in: New file.
4017 * gdb.cell/arch.exp: New file.
4018 * gdb.cell/break.c: New file.
4019 * gdb.cell/break.exp: New file.
4020 * gdb.cell/break-spu.c: New file.
4021 * gdb.cell/bt.c: New file.
4022 * gdb.cell/bt2-spu.c: New file.
4023 * gdb.cell/bt-spu.c: New file.
4024 * gdb.cell/bt.exp: New file.
4025 * gdb.cell/coremaker.c: New file.
4026 * gdb.cell/coremaker-spu.c: New file.
4027 * gdb.cell/core.exp: New file.
4028 * gdb.cell/gcore.exp: New file.
4029 * gdb.cell/data.c: New file.
4030 * gdb.cell/data.exp: New file.
4031 * gdb.cell/data-spu.c: New file.
4032 * gdb.cell/ea-cache.exp: New file.
4033 * gdb.cell/ea-cache.c: New file.
4034 * gdb.cell/ea-cache-spu.c: New file.
4035 * gdb.cell/ea-standalone.c: New file.
4036 * gdb.cell/ea-standalone.exp: New file.
4037 * gdb.cell/ea-test.c: New file.
4038 * gdb.cell/ea-test.exp: New file.
4039 * gdb.cell/f-regs.exp: New file.
4040 * gdb.cell/mem-access.c: New file.
4041 * gdb.cell/mem-access.exp: New file.
4042 * gdb.cell/mem-access-spu.c: New file.
4043 * gdb.cell/ptype.exp: New file.
4044 * gdb.cell/registers.exp: New file.
4045 * gdb.cell/size.c: New file.
4046 * gdb.cell/sizeof.exp: New file.
4047 * gdb.cell/size-spu.c: New file.
4048 * gdb.cell/solib.exp: New file.
4049 * gdb.cell/solib-symbol.exp: New file.
4050
85e747d2
UW
40512009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4052
4053 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4054
58d6951d
DJ
40552009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4056
4057 * gdb.base/float.exp: Handle VFP registers.
4058
6e0a4f15
MS
40592009-07-14 Michael Snyder <msnyder@vmware.com>
4060
dcd5da87
MS
4061 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4062 to bring gdb to the beginning of the calling line.
4063
6e0a4f15
MS
4064 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4065 confusing the i386 epilogue unwinder.
4066
782b2b07
SS
40672009-07-14 Stan Shebs <stan@codesourcery.com>
4068
4069 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4070
f662c3bc
MS
40712009-07-14 Michael Snyder <msnyder@vmware.com>
4072
4073 * gdb.reverse/step-reverse.exp (stepi into function call):
4074 Call instruction may not be first instruction in the line.
4075 (reverse stepi from a function call): Used wrong line number.
4076
8f313923
JK
40772009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4078
4079 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4080
4662c76e
JK
40812009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4082
4083 Fix gdb.base/macscp.exp when using custom inputrc.
4084 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4085 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4086 env(TERM) set.
4087 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4088 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4089
aa81e255
JK
40902009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4091
4092 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4093 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4094 Change the compilation target to match the testcase name.
4095 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4096 testcase name.
4097 * a2-run.exp: Use for setup prepare_for_testing. Change the
4098 compilation target to match the testcase name.
4099 * gdb.base/commands.exp: Likewise.
4100 * gdb.base/finish.exp: Likewise.
4101 * gdb.base/float.exp: Likewise.
4102 * gdb.base/info-target.exp: Likewise.
4103 * gdb.base/relational.exp: Likewise.
4104 * gdb.base/term.exp: Likewise.
4105 * gdb.base/until.exp: Likewise.
4106 * gdb.base/volatile.exp: Likewise.
4107 * gdb.base/whatis-exp.exp: Likewise.
4108
4c93b1d7
HZ
41092009-07-11 Hui Zhu <teawater@gmail.com>
4110
4111 * gdb.base/help.exp (disassemble): Update expected help text.
4112
812f7342
TT
41132009-07-09 Tom Tromey <tromey@redhat.com>
4114
4115 * lib/gdb.exp: Handle TRANSCRIPT.
4116 (remote_spawn, remote_close, send_gdb): New procs.
4117
fbb8f299
PM
41182009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4119
4120 * gdb.python/python-prettyprint.c: Add counted null string
4121 structure.
4122 * gdb.python/python-prettyprint.exp: Print null string. Test for
4123 embedded nulls.
4124 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4125 * gdb.python/python-value.exp (test_value_in_inferior): Add
4126 variable length string fetch tests.
4127 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4128
c0ac0ec7
JK
41292009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4130
4131 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4132
30b66ecc
TT
41332009-07-07 Tom Tromey <tromey@redhat.com>
4134
4135 * gdb.base/call-rt-st.exp: Update for change to escape output.
4136 * gdb.base/callfuncs.exp: Likewise.
4137 * gdb.base/charset.exp: Likewise.
4138 * gdb.base/constvars.exp: Likewise.
4139 * gdb.base/long_long.exp: Likewise.
4140 * gdb.base/pointers.exp: Likewise.
4141 * gdb.base/printcmds.exp: Likewise.
4142 * gdb.base/setvar.exp: Likewise.
4143 * gdb.base/store.exp: Likewise.
4144 * gdb.cp/ref-types.exp: Likewise.
4145 * gdb.mi/mi-var-child.exp: Likewise.
4146 * gdb.mi/mi-var-display.exp: Likewise.
4147 * gdb.mi/mi2-var-display.exp: Likewise.
4148 * gdb.base/charset.exp: Test octal escape sequence length.
4149 Update for change to escape output.
4150
187c4a2b
JK
41512009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4152
4153 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4154
d80a43f9
DJ
41552009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4156
4157 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4158
047427a8
JK
41592009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4160
4161 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4162 gdbserver increasing $portnum if "Can't bind address" has been seen.
4163
8b5a0f4f
PA
41642009-07-05 Pedro Alves <pedro@codesourcery.com>
4165
4166 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4167 mingw32ce.
4168
7d93ba58
PA
41692009-07-05 Pedro Alves <pedro@codesourcery.com>
4170
4171 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4172 VFP format.
4173
2277426b
PA
41742009-07-02 Pedro Alves <pedro@codesourcery.com>
4175
4176 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4177 linux. Adjust to use "inferior", "info inferiors", "detach
4178 inferior" and "kill inferior" instead of "restart", "info fork",
4179 "detach fork" and "delete fork".
4180 * gdb.base/ending-run.exp: Spell out "info".
4181 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4182 the "kill" command.
4183
5af949e3
UW
41842009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4185
4186 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4187 change to prefix TLS offset in hex with 0x.
4188
5d3729b5
UW
41892009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4190
4191 * gdb.base/default.exp: Update test case for "x" changes.
4192
af589bd0
TG
41932009-07-01 Tristan Gingold <gingold@adacore.com>
4194
4195 * gdb.base/bigcore.exp: Make darwin untested.
4196
40974f91
JK
41972009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4198
4199 * gdb.base/completion.exp (directory completion): Create the directory.
4200 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4201 escapeuniquesub.
4202 (directory completion 2): Expect now ${escapeuniquesub}.
4203 (Glob remaining of directory test): Remove one excessive newline.
4204 Expect the real output.
4205
59dd3af6
JK
42062009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4207
4208 Fix `make check//%' target after `make check' has been ran.
4209 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4210 a mkdir call.
4211 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4212 (%/.dir): Remove.
4213
f4e164aa
JK
42142009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4215
4216 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4217 the expected result record.
4218
69af2122
JK
42192009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4220
4221 Remove racy FAILs relying just on the timeouts.
4222 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4223 (annotation_level 2): Remove racy FAILs.
4224
2fd481e1
PP
42252009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4226
4227 gdb/10275
889bf7c5
PA
4228 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4229
c38f313d
DJ
42302009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4231
4232 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4233
8b777f02
VP
42342009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4235
4236 * gdb.mi/mi-stack.exp: Testing symbolic options
4237 to -stack-list-locals and -stack-list-arguments.
4238
00c7eacf
JK
42392009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4240
4241 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4242
6bc80edc
TT
42432009-06-29 Tom Tromey <tromey@redhat.com>
4244
4245 * dg-extract-results.sh: New file.
4246 * Makefile.in (FORCE_PARALLEL): New variable.
4247 (CHECK_TARGET): New conditional variable.
4248 (check): Use CHECK_TARGET.
4249 (DO_RUNTEST): New variable.
4250 (check-single): New target.
4251 (TEST_DIRS): New variable.
4252 (TEST_TARGETS): Likewise.
4253 (check-parallel): New target.
4254 (check-gdb.%): New pattern.
4255 (BASE1_FILES): New variable.
4256 (BASE2_FILES): Likewise.
4257 (check-gdb.base%): New pattern.
4258 (%/.dir): New pattern.
4259 * configure: Rebuild.
4260 * aclocal.m4 (AM_CONDITIONAL): New defun.
4261 * configure.ac: Check whether user is using GNU make.
4262 (GMAKE): New conditional.
4263
794684b6
SW
42642009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4265
4266 * gdb.cp/namespace-nested-import.cc: New test.
4267 * gdb.cp/namespace-nested-import.exp: New test.
4268
edb3359d
DJ
42692009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4270
4271 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4272 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4273 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4274 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4275 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4276 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4277 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4278 gdb.opt/inline-markers.c: New files.
4279 * lib/gdb.exp (skip_inline_frame_tests): New function.
4280 (skip_inline_var_tests): New function.
4281
cf657a0c
AS
42822009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4283
4284 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4285 backtrace.
4286
28d41a99
MS
42872009-06-27 Michael Snyder <msnyder@vmware.com>
4288
4289 * gdb.reverse: New directory.
4290 * gdb.reverse/break-reverse.c: New test.
4291 * gdb.reverse/break-reverse.exp: New test.
4292 * gdb.reverse/consecutive-reverse.c: New test.
4293 * gdb.reverse/consecutive-reverse.exp: New test.
4294 * gdb.reverse/finish-reverse.c: New test.
4295 * gdb.reverse/finish-reverse.exp: New test.
4296 * gdb.reverse/machinestate.c: New test.
4297 * gdb.reverse/ms1.c: New test.
4298 * gdb.reverse/machinestate.exp: New test.
4299 * gdb.reverse/Makefile.in: New file.
4300 * gdb.reverse/shr2.c: New test.
4301 * gdb.reverse/solib-reverse.c: New test.
4302 * gdb.reverse/solib-reverse.exp: New test.
4303 * gdb.reverse/step-reverse.c: New test.
4304 * gdb.reverse/step-reverse.exp: New test.
4305 * gdb.reverse/until-reverse.c: New test.
4306 * gdb.reverse/ur1.c: New test.
4307 * gdb.reverse/until-reverse.exp: New test.
4308 * gdb.reverse/watch-reverse.c: New test.
4309 * gdb.reverse/watch-reverse.exp: New test.
4310 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4311 * configure: Regenerate.
4312
fe3c8b0d
DE
43132009-06-26 Doug Evans <dje@google.com>
4314
4315 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4316
3a72a602
PM
43172009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4318
4319 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4320 windows problem for 'file delete $binfile'.
4321
27aa8d6a
SW
43222009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4323
4324 * gdb.cp/namespace-using.exp: New test.
4325 * gdb.cp/namespace-using.cc: New test.
4326
8ac055f8
JB
43272009-05-20 Joel Brobecker <brobecker@adacore.com>
4328
4329 * gdb.ada/variant_record_packed_array: New testcase.
4330
85e306ed
TT
43312009-06-23 Tom Tromey <tromey@redhat.com>
4332
4333 * gdb.base/charset.exp (test_combination): Regression test.
4334 * gdb.base/charset.c (my_wchar_t): New typedef.
4335 (myvar): New global.
4336 (main): Set myvar.
4337
56643c5e
PM
43382009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
4339
4340 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
4341 target.
4342
1fac167a
UW
43432009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4344
4345 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
4346
7ccb0be9
UW
43472009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4348
4349 * gdb.mi/gdb680.exp: Update test for error message.
4350
568d6575
UW
43512009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4352
4353 * gdb.base/annota1.exp: Allow multiple occurrences of the
4354 frames-invalid annotation.
4355 * gdb.cp/annota2.exp: Likewise.
4356
7cd1089b
PM
43572009-06-15 Phil Muldoon <pmuldoon@redhat.com>
4358
4359 * gdb.cp/gdb2495.cc: New file.
4360 * gdb.cp/gdb2495.exp: New file.
4361
72c63395
JK
43622009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4363
4364 Report error on GDB crash during runto.
4365 * lib/gdb.exp (runto <eof>): New.
4366
3788363d
DJ
43672009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
4368
4369 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
4370 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
4371 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
4372 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
4373 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
4374 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
4375 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
4376 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
4377 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
4378 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
4379 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
4380 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
4381 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
4382 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
4383 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
4384 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
4385 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
4386 gdb.server/server-mon.exp, gdb.server/server-run.exp,
4387 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4388 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4389 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
4390 gdb.trace/passcount.exp, gdb.trace/report.exp,
4391 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
4392 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
4393 gdb.trace/while-stepping.exp: Use a unique name for the compiled
4394 executable.
4395
17592de3
PA
43962009-06-07 Pedro Alves <pedro@codesourcery.com>
4397
4398 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
4399 defined before referencing it.
4400
701e355d
DE
44012009-06-03 Doug Evans <dje@google.com>
4402
4403 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
4404 * gdb.arch/i386-see.c: Ditto.
4405
f2292c65
PM
44062009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
4407
4408 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
4409 (check_macro): Return 1 if undefined.
4410 If first test fails, check if macro debug information is available,
4411 and report unsupported test if no macro information is found.
4412
5a437975
DE
44132009-05-29 Doug Evans <dje@google.com>
4414
4415 * gdb.threads/hand-call-in-threads.exp: New.
4416 * gdb.threads/hand-call-in-threads.c: New.
4417
c141c696
MS
44182009-05-29 Michael Snyder <msnyder@vmware.com>
4419
4420 * gdb.base/break-always.exp: Change "1" to "on".
4421 Add confirmation check.
4422
b3444185
PA
44232009-05-28 Pedro Alves <pedro@codesourcery.com>
4424
4425 * gdb.threads/threxit-hop-specific.c: New.
4426 * gdb.threads/threxit-hop-specific.exp: New.
4427 * gdb.threads/thread-execl.c: New.
4428 * gdb.threads/thread-execl.exp: New.
4429
b6313243
TT
44302009-05-27 Tom Tromey <tromey@redhat.com>
4431 Thiago Jung Bauermann <bauerman@br.ibm.com>
4432
4433 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
4434 (mi_child_regexp): Likewise.
4435 (mi_list_varobj_children_range): Likewise.
4436 (mi_get_features): Likewise.
4437 (mi_list_varobj_children): Rewrite.
4438 * gdb.python/python-mi.exp: New file.
4439
a6bac58e
TT
44402009-05-27 Tom Tromey <tromey@redhat.com>
4441 Thiago Jung Bauermann <bauerman@br.ibm.com>
4442 Phil Muldoon <pmuldoon@redhat.com>
4443 Paul Pluzhnikov <ppluzhnikov@google.com>
4444
4445 * gdb.python/python-prettyprint.exp: New file.
4446 * gdb.python/python-prettyprint.c: New file.
4447 * gdb.python/python-prettyprint.py: New file.
4448 * gdb.base/display.exp: print/r is now valid.
4449
2c74e833
TT
44502009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
4451 Tom Tromey <tromey@redhat.com>
4452 Pedro Alves <pedro@codesourcery.com>
4453 Paul Pluzhnikov <ppluzhnikov@google.com>
4454
4455 * gdb.python/python-template.exp: New file.
4456 * gdb.python/python-template.cc: New file.
4457 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4458 tests.
4459 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4460 Call it.
4461 (test_value_after_death): New proc.
4462 * gdb.python/python-value.c (PTR): New typedef.
4463 (main): New variable 'x'.
4464
89c73ade
TT
44652009-05-27 Tom Tromey <tromey@redhat.com>
4466
4467 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4468 tests.
4469 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4470 Call it.
4471
a75724bc
PA
44722009-05-27 Pedro Alves <pedro@codesourcery.com>
4473
4474 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
4475
e58b0e63
PA
44762009-05-24 Pedro Alves <pedro@codesourcery.com>
4477
4478 * gdb.threads/fork-thread-pending.c: New.
4479 * gdb.threads/fork-thread-pending.exp: New.
4480
4ac36638
JK
44812009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
4484 * gdb.dwarf2/dw2-strp.S (a_string2): New.
4485
889bf7c5 44862009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 4487
889bf7c5 4488 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 4489
b242c3c2
PA
44902009-05-17 Pedro Alves <pedro@codesourcery.com>
4491
4492 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
4493 `gdb_get_line_number'. Call `callee' in both parent and child.
4494 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
4495 `gdb_get_line_number' instead of hardcoding line numbers.
4496 (catch_fork_unpatch_child): New procedure to test detaching
4497 breakpoints from child fork.
4498 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
4499 hardcoding line numbers.
4500 (do_fork_tests): Run `catch_fork_unpatch_child'.
4501
ee342b23
VP
45022009-05-17 Vladimir Prus <vladimir@codesourcery.com>
4503
4504 * gdb.mi/mi-cmd-var.exp: Check that when varobj
4505 of structure type enters or leaves the scope, it
4506 is reported by -var-update.
4507
e2009e98
DE
45082009-05-11 Doug Evans <dje@sebabeach.org>
4509
4510 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
4511 * gdb.threads/pending-step.c (main): Fix off-by-one error.
4512 * gdb.threads/schedlock.c (main): Fix off-by-one error.
4513
00903456
JK
45142009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4515
4516 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
4517
dc621c35
DE
45182009-04-30 Doug Evans <dje@google.com>
4519
4520 * gdb.threads/watchthreads2.exp: New testcase.
4521 * gdb.threads/watchthreads2.c: New testcase.
4522
9ab4e744
DE
45232009-04-29 Doug Evans <dje@google.com>
4524
4525 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
4526 * gdb.cp/mb-ctor.cc: Ditto.
4527 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
4528 * gdb.cp/mb-inline.h (multi_line_foo): New function.
4529 * gdb.cp/mb-inline1.cc: Call it.
4530 * gdb.cp/mb-inline2.cc: Ditto.
4531 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
4532 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
4533
484086b7
JK
45342009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4535
4536 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
4537 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
4538 Replace all uses of `decimal' by `nonzero'.
4539 (info macro FROM_COMMANDLINE): New test.
4540
379a77b5
TT
45412009-04-27 Tom Tromey <tromey@redhat.com>
4542
4543 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
4544
b92b73c2
DE
45452009-04-27 Doug Evans <dje@google.com>
4546
4547 * gdb.threads/watchthreads.c (main): Initialize args before starting
4548 the threads. Plus formatting cleanup.
4549 * gdb.threads/watchthreads.exp: Avoid errant failures due to
4550 biased scheduling of one thread.
4551
945a118d
JG
45522009-04-27 Jerome Guitton <guitton@adacore.com>
4553
4554 * gdb.cp/templates.cc (GetMax): New template.
4555 (main): Declare two instances of GetMax.
4556 * gdb.cp/templates.exp: Add new test.
4557
d389af10
JK
45582009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4559
4560 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
4561
e7f86de9
JM
45622009-04-22 Joseph Myers <joseph@codesourcery.com>
4563
4564 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
4565
334cc82d
TT
45662009-04-15 Tom Tromey <tromey@redhat.com>
4567
4568 * gdb.base/charset.exp: Add regression test.
4569
d12672cc
JB
45702009-04-14 Joel Brobecker <brobecker@adacore.com>
4571
4572 * gdb.base/exe-lock.exp: New testcase.
4573
18e8c3bc
TT
45742009-04-13 Tom Tromey <tromey@redhat.com>
4575
4576 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
4577 operator on Frame.
4578
5ecd5cbe
UW
45792009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4580
4581 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
4582 * gdb.server/ext-attach.exp: Likewise.
4583
7309f756
VP
45842009-04-03 Vladimir Prus <vladimir@codesourcery.com>
4585
4586 Eliminate some sleep usage.
4587
889bf7c5
PA
4588 * gdb.mi/basics.c (do_nothing): New.
4589 (main): Use do_nothing instead of printf, so that
4590 not to introduce race condition between output of
4591 inferiour and output of gdb. Do not use sleep as it
4592 is not generally available on embedded targets.
7309f756 4593
f4b95f6f
PA
45942009-04-02 Pedro Alves <pedro@codesourcery.com>
4595
4596 * gdb.server/ext-attach.exp: Expect an optional process id after
4597 "Detached from remote process".
4598
de40b933
JK
45992009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4600
4601 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
4602 gdb.dwarf2/dw2-unresolved.exp: New.
4603
2ae101a4
PA
46042009-04-02 Pedro Alves <pedro@codesourcery.com>
4605
4606 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
4607 mi_run_to_main.
4608
56a8e183
PA
46092009-04-02 Pedro Alves <pedro@codesourcery.com>
4610
4611 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
4612 mi_run_to_main. Skip thread exit test on remote targets.
4613 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
4614 mi_run_to_main.
4615 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
4616 mi_run_to_main.
4617 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
4618 when expecting ^connected. Detect when the target doesn't support
4619 non-stop mode.
4620 (mi_run_cmd): Detect if non-stop mode was requested by isn't
4621 supported. Return -1 on error, 0 on success.
4622 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
4623 (mi_runto): Return mi_runto_helper's result explicitly.
4624
c35fafde
PA
46252009-04-01 Pedro Alves <pedro@codesourcery.com>
4626
4627 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
4628
f8a8dce6
JB
46292009-04-01 Tom Tromey <tromey@redhat.com>
4630
4631 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
4632 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
4633 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
4634 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
4635
71c25dea
TT
46362009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
4637 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 PR gdb/931
4640 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
4641 output.
4642 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
4643 for gdb/931.
4644 * dw2-strp.S (DW_AT_language): Change to C++.
4645 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
4646
02d9a9ce
JB
46472009-03-31 Joel Brobecker <brobecker@adacore.com>
4648
4649 * gdb.ada/tasks: New testcase.
4650
1042e4c0
SS
46512009-03-30 Stan Shebs <stan@codesourcery.com>
4652
4653 * gdb.trace/actions.exp: Update to match new info trace format.
4654 * gdb.trace/deltrace.exp: Ditto.
4655 * gdb.trace/infotrace.exp: Ditto.
4656 * gdb.trace/passcount.exp: Ditto.
4657 * gdb.trace/save-trace.exp: Ditto.
4658 * gdb.trace/while-stepping.exp: Ditto.
4659 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
4660
f8f6f20b
TJB
46612009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4662
4663 * gdb.python/python-frame.c: New file.
4664 * gdb.python/python-frame.exp: New file.
4665
c0c6f777
TJB
46662009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
4667
4668 * gdb.python/python-value.exp: Add tests for the address
4669 attribute.
4670
3cb51905
AS
46712009-03-29 Andreas Schwab <schwab@linux-m68k.org>
4672
4673 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
4674
88fc996f
DE
46752009-03-26 Doug Evans <dje@google.com>
4676
4677 * gdb.mi/mi-nonstop-exit.exp: New file.
4678 * gdb.mi/non-stop-exit.c: New file.
4679
56ef84b1
TT
46802009-03-26 Tom Tromey <tromey@redhat.com>
4681
4682 Update for change to prologue skipping:
4683 * gdb.mi/mi2-simplerun.exp: Update.
4684 * gdb.mi/mi2-break.exp: Update.
4685 * gdb.mi/mi-simplerun.exp: Update.
4686 * gdb.mi/mi-break.exp: Update.
4687 * gdb.base/ending-run.exp: Update.
4688
def2b000
TJB
46892009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
4690
4691 * gdb.python/python-value.exp (test_value_in_inferior): Test
4692 gdb.Value.is_optimized_out attribute.
4693
442ddf59
JK
46942009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4695
4696 * gdb.dwarf2/dw2-noloc-main.c: New file.
4697 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
4698 (.text): Remove.
4699 (.data): New.
4700 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
4701 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
4702 (DW_TAG_subprogram func_cu1, noloc): Remove.
4703 (main): New.
4704 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
4705 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
4706 (file_symbols): New procedure.
4707
a8df5de4
TT
47082009-03-25 Tom Tromey <tromey@redhat.com>
4709
4710 * gdb.base/charset.exp (valid_target_charset): New proc.
4711 Use it to skip tests on invalid charsets.
4712
cc1d7add
PM
47132009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
4714
4715 * gdb.base/completion.exp: Add a test for directory completion.
4716
bcd5727b
JK
47172009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4718
4719 Fix a racy FAIL.
4720 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
4721 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
4722
cc924cad
TJB
47232009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
4724
4725 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
4726 * gdb.python/python-function.exp: Add test for function returning
4727 a GDB value.
4728
bc3b79fd
TJB
47292009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
4730
4731 * gdb.python/python-function.exp: New file.
4732
6c7a06a3
TT
47332009-03-20 Tom Tromey <tromey@redhat.com>
4734
4735 * gdb.base/store.exp: Update for change to escape output.
4736 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
4737 to escape output.
4738 * gdb.base/pointers.exp: Update for change to escape output.
4739 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
4740 to escape output.
4741 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
4742 escape output.
4743 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
4744 to escape output.
4745 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
4746 escape output.
4747 * gdb.base/setvar.exp: Update for change to escape output.
4748 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
4749 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
4750 to escape output.
4751 (test_print_string_constants): Likewise.
4752 * gdb.base/charset.exp (valid_host_charset): Check size of
4753 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
4754 cases. Handle "auto"-related output.
4755 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
4756 (uvar, Uvar): New globals.
4757
c31af87b
JG
47582009-03-19 Jerome Guitton <guitton@adacore.com>
4759
4760 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
4761 deltas.
4762 * gdb.ada/fixed_points.exp: Ditto.
4763
51272cf2
PA
47642009-03-18 Pedro Alves <pedro@codesourcery.com>
4765
4766 * return-nodebug.c: Don't include stdio.h.
4767 (init): Delete.
4768 (func): Delete definition and provide extern declaration.
4769 (t): New.
4770 (main): Don't call printf. Call func and store its result in t.
4771 * return-nodebug1.c: New.
4772 * return-nodebug.exp: Don't expect stdio output. Instead, print
4773 the global variable t. Drop printf formatters and cast types from
4774 foreach loop. Don't use prepare_for_testing. Compile
4775 return-nodebug.c and return-nodebug1.c in separate steps. Don't
4776 define FORMAT or CAST.
4777
d24948ac
PP
47782009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4779
4780 * gdb.base/solib-display.exp: Disable test for remote targers.
4781
61ff14c6
JK
47822009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4783
4784 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
4785
cb4dce93
JK
47862009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4787
4788 Fix a racy FAIL.
4789 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
4790 code from `follow parent, print pids'.
4791 (`follow child, print pids', `follow parent, print pids'): Call it.
4792 Replace `gdb_test "break..."' by gdb_breakpoint.
4793
f7c60c5e
VP
47942009-03-13 Vladimir Prus <vladimir@codesourcery.com>
4795
4796 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 4797 sync and async modes.
f7c60c5e 4798
383ace49
JB
47992009-03-12 Joel Brobecker <brobecker@adacore.com>
4800
4801 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
4802 that was checked in by mistake. Remove loading of ada.exp, since
4803 this is not necessary in this case.
4804
4ce102af
JB
48052009-03-12 Joel Brobecker <brobecker@adacore.com>
4806
4807 * gdb.ada/ptype_arith_binop.exp: New testcase.
4808
529a2aef
JB
48092009-03-12 Joel Brobecker <brobecker@adacore.com>
4810
4811 * gdb.ada/mod_from_name: New testcase.
4812
8a38181c
JB
48132009-03-12 Joel Brobecker <brobecker@adacore.com>
4814
4815 * gdb.ada/tick_last_segv: New testcase.
4816
11436dee
VP
48172009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4818
61ff14c6 4819 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 4820
1f31650a
VP
48212009-03-12 Vladimir Prus <vladimir@codesourcery.com>
4822
61ff14c6
JK
4823 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
4824 include the token in ^running and frame info in *stopped.
1f31650a 4825
a3247a22
PP
48262009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4827
4828 * solib-display.exp: New file.
4829 * solib-display-main.c: New file.
4830 * solib-display-lib.c: New file.
61ff14c6 4831
aae64587
PA
48322009-03-05 Pedro Alves <pedro@codesourcery.com>
4833
4834 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
4835
44aabfbc
JK
48362009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4837
4838 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
4839 (list_and_check_macro): Use more specific test name.
4840 (next to definition): Make the test names unique.
4841
c087fcd3
PM
48422009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
4843
4844 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 4845
c86cf029
VP
48462009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4847
4848 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
4849 notifications.
4850 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
4851 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
4852 * lib/mi-support.exp (library_loaded_re): New.
4853 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
4854
3ea85240
VP
48552009-02-17 Vladimir Prus <vladimir@codesourcery.com>
4856
4857 * gdb.gdb/observer.exp: Use test_notification observer, not
4858 normal_stop, everywhere.
4859 (test_normal_stop_notifications): Rename to...
4860 (test_notifications): ...this.
4861 (test_observer_normal_stop): Rename to...
4862 (test_observer): ...this.
4863
1903f0e6
DE
48642009-02-16 Doug Evans <dje@google.com>
4865
4866 * gdb.arch/amd64-disp-step.S (test_int3): New test.
4867 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
4868 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
4869 (test_prefixed_syscall,test_int3): New tests.
4870 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
4871 (test_prefixed_syscall,test_int3): New tests.
4872
1d33d6ba
VP
48732009-02-14 Vladimir Prus <vladimir@codesourcery.com>
4874
3cb51905
AS
4875 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
4876 (mi_expect_interrupt): Likewise.
4877 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
4878 response.
1d33d6ba 4879
faafb047
PM
48802009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4881
4882 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
4883 * gdb.base/pc-fp.exp (get_valueofx): Remove.
4884 Replace calls to get_valueofx by get_hexadecimal_valueof.
4885
417e16e2
PM
48862009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
4887
4888 * lib/gdb.exp (get_valueof): Accept anything as a return value.
4889 (get_integer_valueof): New procedure.
4890 (get_sizeof): Use new get_integer_value_of.
4891 * gdb.base/sizeof.exp: Replace all uses of get_valueof
4892 by get_integer_valueof.
4893
7065b901
TT
48942009-02-13 Tom Tromey <tromey@redhat.com>
4895
4896 * gdb.base/remote.exp (get_sizeof): Remove.
4897 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
4898 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
4899 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
4900 * lib/gdb.exp (get_valueof): Move from long_long.exp.
4901 (get_sizeof): Likewise.
4902
5d7cb8df
JK
49032009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4904
4905 PR fortran/9806
4906 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
4907
b2febfff
PP
49082009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4909
4910 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
4911
4aa995e1
PA
49122009-02-06 Pedro Alves <pedro@codesourcery.com>
4913
4914 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
4915
d8906c6f
TJB
49162009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
4917
4918 * gdb.python/python-cmd.exp: New file.
4919
ff4ab08d
TG
49202009-02-06 Tristan Gingold <gingold@adacore.com>
4921
4922 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
4923
aacd552b
TG
49242009-02-05 Tristan Gingold <gingold@adacore.com>
4925
4926 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
4927 pointer is dereferenced and use this signal name in regexp.
4928 * gdb.base/signull.exp: Ditto.
4929 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
4930 * gdb.base/signull.c (main): Ditto.
4931
08c637de
TJB
49322009-02-04 Tom Tromey <tromey@redhat.com>
4933 Thiago Jung Bauermann <bauerman@br.ibm.com>
4934
4935 * gdb.python/python-value.exp: Use `gdb.history' instead of
4936 `gdb.value_from_history'.
4937 (test_value_numeric_ops): Add test for conversion of enum constant.
4938 * gdb.python/python-value.c (enum e): New type.
4939 (evalue): New global.
4940 (main): Use argv.
4941
20261af8
JG
49422009-02-04 Jerome Guitton <guitton@adacore.com>
4943
4944 * gdb.ada/uninitialized_vars: New test program.
4945 * gdb.ada/uninitialized_vars.exp: New testcase.
4946
52e44b43
TT
49472009-02-02 Tom Tromey <tromey@redhat.com>
4948
4949 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
4950 * gdb.cp/pr2489.cc: Rename...
4951 * gdb.cp/pr9594.cc: ... to this.
4952
1c71341a
TT
49532009-02-02 Tom Tromey <tromey@redhat.com>
4954
4955 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
4956 * gdb.cp/pr2489.cc: New file.
4957 * gdb.cp/cpcompletion.exp: New file.
4958
a4295225
TT
49592009-02-02 Tom Tromey <tromey@redhat.com>
4960
4961 PR exp/9059:
4962 * gdb.cp/call-c.exp: Add regression test.
4963 * gdb.cp/call-c.cc (FooHandle): New typedef.
4964 (main): New variable 'handle'.
4965
592375cd
VP
49662009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4967
4968 * lib/mi-support.exp (et_mi_thread_list)
4969 (check_mi_and_console_threads): Adjust for current thread in
4970 -thread-list-ids output.
4971
41447f92
VP
49722009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4973
889bf7c5
PA
4974 * gdb.mi/mi-break.exp (test_disabled_creation): New.
4975 Call it.
41447f92 4976
35669430
DE
49772009-01-28 Doug Evans <dje@google.com>
4978
4979 * gdb.arch/amd64-disp-step.S: New file.
4980 * gdb.arch/amd64-disp-step.exp: New file.
4981 * gdb.arch/i386-disp-step.S: New file.
4982 * gdb.arch/i386-disp-step.exp: New file.
4983
09f00d9a
PM
49842009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
4985
4986 * gdb.base/find.exp: Set newline variable
4987 using quotes instead of braces to fix cygwin failures.
4988
1e8fb976
PA
49892009-01-23 Pedro Alves <pedro@codesourcery.com>
4990
4991 * gdb.base/radix.exp: Add tests to ensure that that set
4992 input-radix 0 and set output-radix 0 are really rejected.
4993
da061712
PA
49942009-01-23 Pedro Alves <pedro@codesourcery.com>
4995
4996 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
4997 copyright years.
4998
dd7e2d2b
PA
49992009-01-23 Pedro Alves <pedro@codesourcery.com>
5000
5001 PR gdb/9664:
5002 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5003
392452f6
PA
50042009-01-22 Pedro Alves <pedro@codesourcery.com>
5005
5006 PR c++/9631:
5007 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5008
8653e71c
PM
50092009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5010
5011 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5012 binfile definition to fix Windows OS failure.
5013
a12cc160
DJ
50142009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5015
5016 PR gdb/9346
5017 * gdb.base/interrupt.c (sigint_handler): New.
5018 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5019 on error.
5020 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5021 Test "signal SIGINT".
5022
b89667eb
DE
50232009-01-19 Doug Evans <dje@google.com>
5024
5025 * gdb.base/break.exp: Update expected gdb output.
5026 * gdb.base/sepdebug.exp: Ditto.
5027 * gdb.mi/mi-syn-frame.exp: Ditto.
5028 * gdb.mi/mi2-syn-frame.exp: Ditto.
5029 * gdb.base/call-signal-resume.exp: New file.
5030 * gdb.base/call-signals.c: New file.
5031 * gdb.base/unwindonsignal.exp: New file.
5032 * gdb.base/unwindonsignal.c: New file.
5033 * gdb.threads/interrupted-hand-call.exp: New file.
5034 * gdb.threads/interrupted-hand-call.c: New file.
5035 * gdb.threads/thread-unwindonsignal.exp: New file.
5036
adb483fe
DJ
50372009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5038
5039 * gdb.base/define.exp: Test defining and hooking prefix commands.
5040 * gdb.python/python.exp: Update test for "show user" output.
5041
60023297
JK
50422009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5043
5044 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5045 now the output exactly, using less wildcards. Expect also the output
5046 of gfortran-4.3. Update for the f-valprint.c modification from
5047 2008-04-22.
5048 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5049 Remove gdb_test test names where matching the command.
5050
ccc57cf9
PA
50512009-01-01 Pedro Alves <pedro@codesourcery.com>
5052
5053 PR breakpoints/9681:
5054 * gdb.base/watchpoint.exp: Add regression test.
5055
c7a6ca08
PA
50562008-12-31 Pedro Alves <pedro@codesourcery.com>
5057
5058 * gdb.threads/attach-into-signal.exp: Don't use
5059 gdb_suppress_entire_file.
5060 * gdb.threads/attach-stopped.exp: Ditto.
5061 * gdb.threads/attachstop-mt.exp: Ditto.
5062
3a031f65
PA
50632008-12-31 Pedro Alves <pedro@codesourcery.com>
5064
5065 PR gdb/8812:
5066 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5067
09e6485f
PA
50682008-12-29 Pedro Alves <pedro@codesourcery.com>
5069
5070 PR gdb/7536:
5071 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5072 and unsupported output radices are really rejected.
5073
0cd53049
JK
50742008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5075
5076 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5077
ba163c7e
TT
50782008-12-22 Tom Tromey <tromey@redhat.com>
5079
5080 * gdb.cp/punctuator.exp: New file.
5081
6f4de6c9
JK
50822008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5083
5084 * gdb.base/completion.exp (Completing non-existing component): New test.
5085
0f34d0b4
JK
50862008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5087
5088 Fix for PR gdb/8648.
5089 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5090 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5091 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5092 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5093
db2ad4c3
JK
50942008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5095
5096 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5097
bb5ef15e
DP
50982008-12-16 Christophe Lyon <christophe.lyon@st.com>
5099
5100 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5101 compiler actually generate code at the expected line number.
5102
90142adc
JZ
51032008-12-15 Jie Zhang <jie.zhang@analog.com>
5104
5105 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5106
fad6eecd
TT
51072008-12-12 Tom Tromey <tromey@redhat.com>
5108
5109 * gdb.base/commands.exp (redefine_hook_test): New proc.
5110 Call it.
5111
17c8aaf5
TT
51122008-12-11 Tom Tromey <tromey@redhat.com>
5113
5114 * gdb.base/macscp.exp: New regression test.
5115
7c8adf68
TT
51162008-12-11 Tom Tromey <tromey@redhat.com>
5117
5118 * gdb.base/macscp.exp: Print "address.addr".
5119 * gdb.base/macscp1.c (struct outer): New struct.
5120 (address): New global.
5121
b05dcbb7
TT
51222008-12-09 Tom Tromey <tromey@redhat.com>
5123
5124 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5125 Call it.
5126
2d476de1
DE
51272008-12-04 Doug Evans <dje@google.com>
5128
5129 * gdb.server/ext-run.exp: Relax regexp for init program.
5130
87bdc959
TG
51312008-12-03 Tristan Gingold <gingold@adacore.com>
5132
5133 * gdb.base/macscp.exp: Generate an object file during compilation
5134 to work around Darwin dsymutil limitations.
5135
e0740f77
JK
51362008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5137
5138 Test resolving external references to TLS variables.
5139 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5140 FILE2_THREAD_LOCAL.
5141 (testfile2, srcfile2): New variables.
5142 * gdb.threads/tls.c (file2_thread_local)
5143 (function_referencing_file2_thread_local): New.
5144 * gdb.threads/tls2.c: New file.
5145
67f0aac5
JB
51462008-11-28 Joel Brobecker <brobecker@adacore.com>
5147
5148 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
5149 rather than integer, as integer might not be big enough when
5150 on 64bit targets.
67f0aac5 5151
c332165e
JG
51522008-11-27 Jerome Guitton <guitton@adacore.com>
5153
5154 * gdb.cp/formatted-ref.exp: Add equality test.
5155 * gdb.ada/formatted_ref.exp: Ditto.
5156
fc9b693c
JK
51572008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5158
5159 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5160 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5161
a9c64011
AS
51622008-11-20 Andreas Schwab <schwab@suse.de>
5163
5164 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5165 matching syscall entry point.
5166 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5167 (tcatch_vfork_then_child_follow): Likewise. Finish through
5168 vfork even if we stopped at the syscall trampoline.
5169
e2fd701e
DE
51702008-11-20 Doug Evans <dje@google.com>
5171
5172 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5173
69abc51c
TJB
51742008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5175
5176 * gdb.arch/ppc-dfp.exp: New file.
5177 * gdb.arch/ppc-dfp.c: New file.
5178
c14c28ba
PP
51792008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5180
5181 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 5182
2e74121d
DE
51832008-11-17 Doug Evans <dje@google.com>
5184
5185 * gdb.mi/mi-syn-frame.exp: Update expected output.
5186 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5187
66bb093b
VP
51882008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5189
5190 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
5191 "thread N" results in =thread-selected.
5192 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5193 (mi_send_resuming_command_raw): Be prepared for
5194 =thread-selected.
5195
3d043ef6
VP
51962008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5197
a9c64011
AS
5198 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5199 * lib/mi-support.exp: Likewise.
3d043ef6 5200
808104c8
JB
52012008-11-16 Joel Brobecker <brobecker@adacore.com>
5202
5203 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5204 commands from the expected output for "help catch".
5205
00b22944
JB
52062008-11-15 Joel Brobecker <brobecker@adacore.com>
5207
5208 * gdb.ada/int_deref.exp: New testcase.
5209
59669435
TT
52102008-11-14 Nick Roberts <nickrob@snap.net.nz>
5211
5212 * gdb.mi/gdb2549.exp: New file.
5213
de04a248
DE
52142008-11-11 Doug Evans <dje@google.com>
5215
5216 * gdb.base/callexit.exp: New file.
5217 * gdb.base/callexit.c: New file.
5218
6b8ce727
DE
52192008-11-10 Doug Evans <dje@google.com>
5220
5221 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5222 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5223 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5224 (default_gdb_start,default_gdb_exit): Ditto.
5225 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5226 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5227 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5228 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5229 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5230 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5231
1b14b8aa
AS
52322008-11-03 Andreas Schwab <schwab@suse.de>
5233
5234 * gdb.base/hashline2.exp: Fix typo.
5235 * gdb.base/hashline3.exp: Likewise.
5236
f3134b88
TT
52372008-10-30 Tom Tromey <tromey@redhat.com>
5238
5239 * gdb.base/pointers.exp: Add test.
5240 * gdb.base/pointers.c (k, S): New typedefs.
5241 (instance): New global.
5242
c2226152
AS
52432008-10-30 Andreas Schwab <schwab@suse.de>
5244
5245 * gdb.base/args.exp: Add tests for newlines.
5246
462f405c
JB
52472008-10-30 Joel Brobecker <brobecker@adacore.com>
5248
5249 gdb.base/foll-exec.exp: Update the expected output of a couple
5250 of "info breakpoints" tests.
5251
79a45b7d
TT
52522008-10-28 Tom Tromey <tromey@redhat.com>
5253
5254 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5255
adc13a14
PA
52562008-10-24 Pedro Alves <pedro@codesourcery.com>
5257
5258 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5259 gdb_start_cmd.
5260 Use runto_main before any test that requires execution.
5261
252fbfc8
PA
52622008-10-23 Pedro Alves <pedro@codesourcery.com>
5263
5264 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5265 instead of SIGINT.
5266
28148e3d
JB
52672008-10-22 Joel Brobecker <brobecker@adacore.com>
5268
5269 * gdb.base/completion.exp: Update expected output following
5270 the addition of the "info tasks" command.
5271
c209f847
TT
52722008-10-22 Tom Tromey <tromey@redhat.com>
5273
5274 * gdb.base/exprs.exp (test_expr): Add test for string
5275 concatenation.
5276
f177e350
PA
52772008-10-19 Pedro Alves <pedro@codesourcery.com>
5278
5279 * configure.ac: Output gdb.python/Makefile.
5280 * configure: Regenerate.
5281 * gdb.python/Makefile.in: New.
5282
cce89356
JB
52832008-10-16 Joel Brobecker <brobecker@adacore.com>
5284
5285 * gdb.base/foll-fork.exp: Adjust the expected output to match
5286 the new description for fork/vfork catchpoints in the "info
5287 breakpoints" output.
5288
176d289d
TJB
52892008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5290
5291 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5292
a08702d6
TJB
52932008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5294
5295 * gdb.python/python-value.c: New file.
5296 * gdb.python/python-value.exp: New file.
5297
1c5cfe86
PA
52982008-10-15 Pedro Alves <pedro@codesourcery.com>
5299
5300 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5301
5a98ad69
DP
53022008-10-15 Denis Pilat <denis.pilat@st.com>
5303
41702f1b 5304 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 5305
dcb1a1e2
TT
53062008-10-09 Tom Tromey <tromey@redhat.com>
5307
5308 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5309 'fprintf' and 'stderr'.
5310
9124fe48
JB
53112008-10-07 Joel Brobecker <brobecker@adacore.com>
5312
5313 * gdb.ada/ref_tick_size.exp: New testcase.
5314
45452591
DE
53152008-10-06 Doug Evans <dje@google.com>
5316
5317 * gdb.dwarf2/dw2-cu-size.exp: New file.
5318 * gdb.dwarf2/dw2-cu-size.S: New file.
5319
5320 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5321 .Ltype_int for clarity.
5322
4fc5b208
PP
53232008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5324
5325 PR gdb/2384:
5326 * gdb.cp/gdb2384.exp: Extended to test more cases.
5327 * gdb.cp/gdb2384.cc: Likewise.
5328 * gdb.cp/gdb2384-base.h: Likewise.
5329 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 5330
d78df370
JK
53312008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5332
5333 * gdb.base/maint.exp (maint print type): Remove printing
5334 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5335
9a044a89
TT
53362008-09-30 Tom Tromey <tromey@redhat.com>
5337
5338 * gdb.base/macscp.exp: Add completion tests.
5339 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
5340 (TWENTY_THREE): Likewise.
5341 (FORTY_EIGHT): Likewise.
5342
506800a9
TT
53432008-09-30 Tom Tromey <tromey@redhat.com>
5344
5345 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
5346 everywhere.
5347 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
5348
1a6f01b5
JK
53492008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5350
5351 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
5352 testcase is derived from. Fix racy dependency on an expected PID
5353 number. No longer support the testcase on Linux kernel 2.4.x.
5354
2fae03e8
TT
53552008-09-27 Tom Tromey <tromey@redhat.com>
5356
5357 * gdb.base/macscp.exp: Add tests for stringification, splicing,
5358 and varargs.
5359
1ad15515
PA
53602008-09-22 Pedro Alves <pedro@codesourcery.com>
5361
5362 * lib/mi-support.exp (mi_expect_interrupt): New.
5363 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
5364 from gdb.mi/mi-nonstop.exp.
5365 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
5366 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
5367 lib/mi-support.exp.
5368 Use mi_check_thread_states throughout. Avoid ".*" and do not
5369 require an anchor after -exec-run.
5370
d0b76dc6
DJ
53712008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
5372
5373 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
5374 stop is pending. Avoid ".*" when two stops are pending.
5375 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
5376 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
5377 newlines in fullnames.
5378 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
5379 (mi_expect_stop): Update comments. Only anchor in sync mode.
5380 Do not match newlines.
5381 (mi_send_resuming_command_raw): Always return status.
5382 (mi_get_stop_line): Do not match more than one line by accident.
5383 Only anchor in sync mode.
5384 (mi_run_inline_test): If -exec-next fails, give up.
5385
9990c830
UW
53862008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5387
5388 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
5389 on SPU.
5390
ebcf6f00
JB
53912008-09-10 Joel Brobecker <brobecker@adacore.com>
5392
5393 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
5394
b6db24e5
JB
53952008-09-10 Joel Brobecker <brobecker@adacore.com>
5396
5397 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
5398 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
5399 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
5400 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
5401 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
5402 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
5403 gdb.ada/interface.exp, gdb.ada/null_array.exp,
5404 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
5405 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
5406 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
5407 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
5408 Include the "= " sequence in the expected output of print tests.
5409
2bf448e0
JB
54102008-09-10 Joel Brobecker <brobecker@adacore.com>
5411
5412 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
5413 description for boolean types.
5414
d51fd4c8
PA
54152008-09-09 Pedro Alves <pedro@codesourcery.com>
5416
5417 * gdb.base/hook-stop-continue.c: New.
5418 * gdb.base/hook-stop-continue.exp: New.
5419
694182d2
DJ
54202008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5421
5422 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
5423
3b8a7fc0
JG
54242008-09-08 Jerome Guitton <guitton@adacore.com>
5425
5426 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
5427 (stack_check_probe_2, stack_check_probe_loop_1)
5428 (stack_check_probe_loop_2): New functions.
5429 (main): Add call to these new functions.
5430 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
5431 functions, check that the breakpoint is inserted at the appropriate
5432 location.
5433 (insert_breakpoint): Slightly refine this procedure so that it can
5434 be called several times in the test.
5435
96cc0ae8
JG
54362008-09-08 Jerome Guitton <guitton@adacore.com>
5437
5438 * gdb.base/stack-checking.c: New file.
5439 * gdb.base/stack-checking.exp: New file.
5440
1f08b409
TJB
54412008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5442
5443 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
5444 * gdb.arch/altivec-regs.exp: Likewise.
5445 * gdb.arch/vsx-regs.exp: Likewise.
5446
3099e1c4
TJB
54472008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5448
5449 * gdb.arch/ppc-fp.exp: New file.
5450 * gdb.arch/ppc-fp.c: New file.
5451
cc69bfc1
PP
54522008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5453
5454 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
5455 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 5456
b02a33db
MS
54572008-09-04 Michael Snyder <msnyder@vmware.com>
5458
5459 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
5460 as "at" (for non-debug functions such as _start).
5461
2992cbe0
UW
54622008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5463
5464 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
5465 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
5466 software watchpoints.
5467 * gdb.base/watch_thread_num.exp: Likewise.
5468
514f746b
AR
54692008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
5470
5471 * gdb.arch/i386-bp_permanent.exp: New test.
5472
876cecd0
TT
54732008-08-24 Tom Tromey <tromey@redhat.com>
5474
5475 * gdb.base/maint.exp: Update "maint print type".
5476
80f73d71
VP
54772008-08-21 Vladimir Prus <vladimir@codesourcery.com>
5478
5479 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
5480 support. Adjust the order of "*running" notifications.
5481 * gdb.mi/non-stop.c: Don't cast from int to void* and
5482 back.
5483
d9c78d7d
MK
54842008-08-20 Mark Kettenis <kettenis@gnu.org>
5485
5486 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
5487 expect to find it in the "info frame" output.
5488
97a2d1d3
DJ
54892008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
5490
5491 * gdb.base/interp.exp: Always consume both prompts.
5492
b96e2927
PA
54932008-08-20 Pedro Alves <pedro@codesourcery.com>
5494
5495 * gdb.base/pending.exp: Test pending breakpoints without symbols
5496 loaded.
5497
8cf6e61a
VP
54982008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5499
5500 * lib/mi-support.exp (mi_expect_stop): Produce
5501 more details on failures.
5502 * gdb.mi/mi-nonstop.exp: New.
5503 * gdb.mi/non-stop.c: New.
5504
c6ebd6cf
VP
55052008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5506
a9c64011
AS
5507 * gdb.mi/mi-async.exp: Use 'set target-async'.
5508 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 5509
46a9b8ed
DJ
55102008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
5511
5512 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
5513
44feb3ce
TT
55142008-08-17 Tom Tromey <tromey@redhat.com>
5515
5516 * gdb.base/help.exp (help catch): Rewrite.
5517
311a4e6b
TJB
55182008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5519
5520 * gdb.base/define.exp: Test indented command documentation.
5521 * gdb.python/python.exp: Test indented multi-line command.
5522
604c2f83
LM
55232008-08-15 Luis Machado <luisgpm@br.ibm.com>
5524
5525 * testsuite/gdb.arch/vsx-regs.c: New source file.
5526 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
5527 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
5528
886a217c
TT
55292008-08-14 Tom Tromey <tromey@redhat.com>
5530
5531 * gdb.base/macscp.exp: Add regression test for "macro define" or
5532 "macro undef" with no arguments.
5533
c814a4f3
PP
55342008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5535
5536 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 5537
12ab8a60
UW
55382008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5539
5540 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
5541
d57a3c85
TJB
55422008-08-06 Tom Tromey <tromey@redhat.com>
5543
5544 * gdb.python/python.exp: New file.
5545
c7b778ff
JK
55462008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5547
5548 Fix for PR gdb/1543.
5549 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
5550 $LOCATION.
5551 (location): New variable.
5552 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
5553 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
5554 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
5555 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
5556 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
5557 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
5558 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
5559 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
5560 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
5561 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
5562 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
5563 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
5564 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
5565 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
5566 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5567 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
5568 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
5569 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
5570 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
5571 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5572 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
5573 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
5574 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
5575 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
5576 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
5577 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
5578 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
5579 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
5580 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
5581 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
5582 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
5583 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
5584 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
5585 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
5586 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
5587 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
5588 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
5589 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5590 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
5591 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
5592 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
5593 gdb.base/type-opaque.exp, gdb.base/until.exp,
5594 gdb.base/value-double-free.c, gdb.base/varargs.exp,
5595 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
5596 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
5597 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5598 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
5599 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
5600 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5601 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5602 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
5603 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
5604 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
5605 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
5606 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
5607 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
5608 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
5609 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
5610 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5611 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
5612 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
5613 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
5614 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
5615 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
5616 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
5617 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
5618 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
5619 gdb.pascal/types.exp, gdb.stabs/weird.exp,
5620 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
5621 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
5622 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
5623 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
5624 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
5625 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
5626 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5627 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5628 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5629 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5630 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5631 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5632 lib/mi-support.exp, lib/trace-support.exp: Remove reference
5633 to bug-gdb@prep.ai.mit.edu .
5634
5e06a3d1
VP
56352008-07-31 Vladimir Prus <vladimir@codesourcery.com>
5636
5637 * lib/mi-support.exp (mi_load_shlibs): New.
5638 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
5639
9d81d21b
VP
56402008-07-30 Vladimir Prus <vladimir@codesourcery.com>
5641
5642 * lib/mi-support.exp (get_mi_thread_list)
5643 (check_mi_and_console_threads): New, moved from ...
5644 * gdb.mi/mi-pthread.exp: ...here.
5645 * gdb.mi/gdb669.exp (get_mi_thread_list)
5646 (check_mi_and_console_threads): Delete.
5647 * gdb.mi/mi2-pthread.exp: Likewise.
5648
bae98fe0
TT
56492008-07-28 Tom Tromey <tromey@redhat.com>
5650
5651 * Makefile.in (just-check): Remove. Move body to...
5652 (check): ... here.
5653
57380f4e
DJ
56542008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5655
5656 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
5657 Add a test for duplicated SIGINTs.
5658
e09490f1
DJ
56592008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5660
5661 * gdb.threads/schedlock.exp (get_args): Update to work for any
5662 value of NUM.
5663 (Top level): Report the number of threads that did not resume.
5664
6387b45f
DJ
56652008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5666
5667 * gdb.dwarf2/dw2-compressed.S: Also define __start.
5668
62f64ff2
DJ
56692008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5670
5671 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
5672 non-MI prompt.
5673
fa8de41e
TT
56742008-07-26 Tom Tromey <tromey@redhat.com>
5675
5676 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
5677 (function_struct, function_struct_ptr): New globals.
5678 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
5679 function pointer in a struct.
5680
ccb3ac8a
TT
56812008-07-26 Tom Tromey <tromey@redhat.com>
5682
5683 * gdb.base/macscp.exp: Add test for macro lexing bug.
5684
d7d9f01e
TT
56852008-07-18 Tom Tromey <tromey@redhat.com>
5686
5687 * gdb.base/macscp.exp: Add macro tests.
5688
9bf07184
PP
56892008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5690
5691 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
5692
becf6477
PP
56932008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5694
5695 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
5696
0709f7d3
PP
56972008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
5698
5699 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 5700
7093c834
PP
57012008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5702
5703 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 5704
b432ffe3
JK
57052008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
5708
b1a268e5
VP
57092008-07-12 Vladimir Prus <vladimir@codesourcery.com>
5710
5711 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
5712
e2995f8e
KB
57132008-07-11 Kevin Buettner <kevinb@redhat.com>
5714
5715 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
5716 of regexp to account for changes made to GDB in the printing of
5717 byte vectors.
5718
14032a66
TT
57192008-07-11 Tom Tromey <tromey@redhat.com>
5720
5721 * gdb.base/completion.exp: Add 'help' completion test.
5722
981505ef
JK
57232008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
5726
10568435
JK
57272008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5728
5729 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
5730
4487aabf
PA
57312008-07-09 Pedro Alves <pedro@codesourcery.com>
5732
5733 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
5734
a4a9b1c4
PA
57352008-07-09 Pedro Alves <pedro@codesourcery.com>
5736
5737 * gdb.base/fullname.exp: Restore pwd if compiling failed.
5738
3c3185ac
JK
57392008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5740
5741 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
5742
7ebd49dc
VP
57432008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5744
5745 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
5746 previous commit. Add a comment.
5747
84e46146
PA
57482008-06-28 Pedro Alves <pedro@codesourcery.com>
5749
5750 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
5751
0f8d4a2f
VP
57522008-06-28 Vladimir Prus <vladimir@codesourcery.com>
5753
5754 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
5755
f747e0ce
PA
57562008-06-27 Pedro Alves <pedro@codesourcery.com>
5757
5758 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
5759 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
5760 compiling an executable, link in an object that forces unbuffered
5761 output.
5762 * lib/set_unbuffered_mode.c: New file.
5763
734a5c36
JK
57642008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5765
5766 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
5767
a2840c35
VP
57682008-06-25 Vladimir Prus <vladimir@codesourcery.com>
5769
a9c64011
AS
5770 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
5771 mi_expect_stop.
5772 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
5773 Demand that *running is output.
5774 (detect_async): Perform checking every time.
5775 (mi_send_resuming_command): Extract everything into...
5776 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
5777 (mi_expect_stop): Don't accept any output before *stopped.
5778
6ae37fef
VP
57792008-06-13 Vladimir Prus <vladimir@codesourcery.com>
5780
5781 Robustify mi-simplerun.
a9c64011
AS
5782 * gdb.mi/basics.c (main): Add a call to sleep.
5783 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
5784 * gdb.mi/mi2-cli.exp: Likewise.
5785 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 5786
b4aa76f0 57872008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
5788
5789 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
5790
e1ac3328
VP
57912008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5792
a9c64011
AS
5793 * gdb.mi/mi-console.exp: Adjust.
5794 * gdb.mi/mi-syn-frame.exp: Adjust.
5795 * gdb.mi/mi2-console.exp: Adjust.
5796 * gdb.mi/mi2-syn-frame.exp: Adjust.
5797 * lib/mi-support.exp (mi_run_cmd): Adjust.
5798 (mi_send_resuming_command): Adjust.
e1ac3328 5799
f7f9a841
VP
58002008-06-10 Vladimir Prus <vladimir@codesourcery.com>
5801
5802 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
5803 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
5804 testing of stopped.
5805 * gdb.mi/mi2-syn-frame.exp: Likewise.
5806 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
5807 (async, detect_async): New.
5808 (mi_expect_stop, mi_continue_to_line): Adjust expectation
5809 depending on if we're running in sync or async mode.
f7f9a841 5810
37cd5d19
TT
58112008-06-09 Tom Tromey <tromey@redhat.com>
5812
5813 * gdb.base/completion.exp: New tests for field name completion
5814 with spaces, and field name completion with '->'.
5815
65d12d83
TT
58162008-06-06 Tom Tromey <tromey@redhat.com>
5817
5818 * gdb.base/break1.c (struct some_struct): New struct.
5819 (values): New global.
5820 * gdb.base/completion.exp: Add field name completion test.
5821
ebfe2e3f
PP
58222008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5823
5824 * gdb.cp/call-c.exp: Test for incorrect handling of reference
5825 to pointer.
5826 * gdb.cp/call-c.cc: Likewise.
5827
bcf6fc3a
NR
58282008-06-06 Nick Roberts <nickrob@snap.net.nz>
5829
5830 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
5831 annotation.
5832
49fd4a42 58332008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 5834 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
5835
5836 * gdb.threads/execl.c, gdb.threads/execl1.c,
5837 gdb.threads/execl.exp: New tests.
a9c64011 5838
8a34ac3f
AR
58392008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
5840 Daniel Jacobowitz <dan@codesourcery.com>
5841
5842 * gdb.cp/exception.exp: Activate test, make it work with pending
5843 catchpoints.
5844
86ae69ef
JK
58452008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5846
5847 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
5848
f7f9ae2c
VP
58492008-05-28 Vladimir Prus <vladimir@codesourcery.com>
5850
a9c64011
AS
5851 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
5852 now printed.
5853 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 5854
2a2d4dc3
AS
58552008-05-27 Andreas Schwab <schwab@suse.de>
5856
5857 * gdb.base/frame-args.exp: Handle arguments that are optimized
5858 out.
5859
5099e4d9
LM
58602008-05-26 Luis Machado <luisgpm@br.ibm.com>
5861
5862 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
5863 quiet for ppc32 and group options into a single variable.
5864
d9c36a91
JB
58652008-05-23 Joel Brobecker <brobecker@adacore.com>
5866
5867 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
5868 of zero-size elements.
5869 * gdb.ada/null_array.exp: Test printing this new array.
5870
103a8671
JK
58712008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5872
5873 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
5874
07a4cc1a 58752008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
5876
5877 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
5878 of the "finish" command.
5879
55f996a7
NR
58802008-05-21 Nick Roberts <nickrob@snap.net.nz>
5881
5882 * gdb.base/annota1.exp: Test for new annotation.
5883
907fc202
UW
58842008-05-16 Pedro Alves <pedro@codesourcery.com>
5885
5886 * gdb.base/fixsection.exp: New file.
5887 * gdb.base/fixsection0.c: New file.
5888 * gdb.base/fixsection1.c: New file.
5889
e8f97270
UW
58902008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5891
5892 * gdb.base/annota1.exp: Accept printf@... in place of printf.
5893 * gdb.base/annota3.exp: Likewise.
5894
ac0bb574
NF
58952008-05-13 Nathan Froyd <froydnj@codesourcery.com>
5896
5897 * gdb.base/watch_thread_num.exp: Don't run tests that require
5898 watchpoints if the target doesn't support them.
5899
6fadd07a
DE
59002008-05-12 Doug Evans <dje@google.com>
5901
5902 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
5903
6e9a4a30
JB
59042008-05-09 Joel Brobecker <brobecker@adacore.com>
5905
5906 * gdb.ada/assign_1.exp: New testcase.
5907
08388c79
DE
59082008-05-09 Doug Evans <dje@google.com>
5909
a3c83fae
DE
5910 * gdb.base/find.exp: New file.
5911 * gdb.base/find.c: New file.
08388c79 5912
bd5ddfe8
DJ
59132008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
5914
5915 * gdb.base/commands.exp (watchpoint_command_test): Handle
5916 gdb,no_hardware_watchpoints.
5917 * gdb.base/float.exp: Allow ARM targets without floating point.
5918 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
5919
b5dd68e2 59202008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 5921 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
5922
5923 * gdb.ada/lang_switch: New test program.
5924 * gdb.ada/lang_switch.exp: New testcase.
5925
382d13d1
DE
59262008-05-05 Doug Evans <dje@google.com>
5927
5928 * gdb.base/help.exp (disassemble): Update expected help text.
5929
9dd789d0
PA
59302008-05-04 Pedro Alves <pedro@codesourcery.com>
5931
5932 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
5933
611c83ae
PA
59342008-05-04 Pedro Alves <pedro@codesourcery.com>
5935
5936 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
5937 different times.
5938
ff013f42
JK
59392008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5940
5941 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
5942 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
5943 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
5944 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
5945
96dff6a2
VP
59462008-05-04 Vladimir Prus <vladimir@codesourcery.com>
5947
5948 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
5949 notification to appear.
5950
55cd6f92
DJ
59512008-05-04 Daniel Jacobowitz <dan@debian.org>
5952
5953 * gdb.base/fullname.c: New file.
5954 * gdb.base/fullname.exp: New file.
5955 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
5956
d705c43c
PA
59572008-05-03 Pedro Alves <pedro@codesourcery.com>
5958
5959 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
5960 expressions with macros.
5961
333222e1
JK
59622008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5963
5964 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
5965
5ac01682
DJ
59662008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
5967
5968 * gdb.base/completion.exp: Handle lack of other symbols beginning
5969 with "a".
5970
5971 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
5972
237fc4c9
PA
59732008-05-02 Jim Blandy <jimb@codesourcery.com>
5974
5975 * gdb.asm/asmsrc1.s: Add scratch space.
5976
ed5e9466
DJ
59772008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5978 Daniel Jacobowitz <dan@codesourcery.com>
5979
5980 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
5981 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
5982 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
5983
b39cc962
DJ
59842007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
5985
5986 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
5987
36d520f5
JB
59882008-05-01 Joel Brobecker <brobecker@adacore.com>
5989
5990 * gdb.base/info-target.exp: New testcase.
5991
8d4e3071
DJ
59922008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5993
5994 * gdb.cp/hang.exp: Use .cc instead of .C.
5995 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
5996 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
5997
6f3f3097
DJ
59982008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5999
6000 * gdb.base/gdb1250.exp: Remove perror.
6001 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6002
5550a914
PA
60032008-04-30 Pedro Alves <pedro@codesourcery.com>
6004
6005 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6006 .2byte.
6007
d848e687
DJ
60082008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6009
6010 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6011 (maybe_kfail): New.
6012
93b5768b
PA
60132008-04-25 Pedro Alves <pedro@codesourcery.com>
6014
6015 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6016
721c02de
VP
60172008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6018
a9c64011
AS
6019 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6020 * gdb.mi/mi2-syn-frame.exp: Likewise.
6021 * lib/mi-support.exp: Likewise.
721c02de 6022
74960c60
VP
60232008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6024
6025 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6026 to specify regexp for the location to stop at.
6027 * gdb.base/break-always.c: New.
6028 * gdb.base/break-always.exp: New.
6029
d24317b4
VP
60302008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6031
6032 * lib/mi-support.exp (mi_runto_helper): Adjust
6033 for the original-location field.
6034 (mi_create_breakpoint, mi_list_breakpoints): New.
6035 * gdb.mi/mi-break.exp: Adjust.
6036 * gdb.mi/mi2-break.exp: Adjust.
6037 * gdb.mi/mi-pending.exp: Adjust.
6038 * gdb.mi/mi-simplerun.exp: Adjust.
6039 * gdb.mi/mi2-simplerun.exp: Adjust.
6040 * gdb.mi/mi-syn-frame.exp: Adjust.
6041 * gdb.mi/mi2-syn-frame.exp: Adjust.
6042 * gdb.mi/mi-until.exp: Adjust.
6043 * gdb.mi/mi2-until.exp: Adjust.
6044 * gdb.mi/mi-var-display.exp: Adjust.
6045 * gdb.mi/mi2-var-display.exp: Adjust.
6046 * gdb.mi/mi-watch.exp: Adjust.
6047 * gdb.mi/mi2-watch.exp: Adjust.
6048
fdc59709 60492008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 6050
a9c64011
AS
6051 * aclocal.m4: Add override.m4.
6052 * configure: Regenerate.
fdc59709 6053
8e91f023
VP
60542008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6055
6056 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6057 '-var-update --all-values' reports new value even the type
6058 of a variable object has changed.
6059
233a11ab
CS
60602008-04-18 Craig Silverstein <csilvers@google.com>
6061
6062 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6063 files.
d24317b4 6064
9c1137ad
JB
60652008-04-18 Joel Brobecker <brobecker@adacore.com>
6066
6067 * gdb.ada/atomic_enum: New test program.
6068 * gdb.ada/atomic_enum.exp: New testcase.
6069
66d0bbc7
DE
60702008-04-17 Doug Evans <dje@google.com>
6071
6072 * gdb.opt/Makefile.in: Fix whitespace.
6073
100906b0
UW
60742008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6075
6076 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6077
4584e32e
DE
60782008-04-17 Doug Evans <dje@google.com>
6079
6080 * gdb.base/hashline1.exp: New testcase.
6081 * gdb.base/hashline2.exp: New testcase.
6082 * gdb.base/hashline2.exp: New testcase.
6083
0a320680
PA
60842008-04-17 Pedro Alves <pedro@codesourcery.com>
6085
6086 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6087
18ac113b
AR
60882008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6089
6090 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6091 temporary breakpoint to match "Temporary breakpoint".
6092 * gdb.base/break.exp (delete_breakpoints): Likewise.
6093 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6094 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6095 * gdb.base/display.exp: Likewise.
6096 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6097 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6098 * gdb.base/restore.exp (restore_tests): Likewise.
6099 * gdb.base/sepdebug.exp: Likewise.
6100 * gdb.base/watchpoint.exp: Likewise.
6101 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6102 * gdb.mi/mi-pending.exp: Likewise.
6103 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6104 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6105 * gdb.mi/mi-var-cmd.exp: Likewise.
6106 * gdb.mi/mi-var-display.exp: Likewise.
6107 * gdb.mi/mi2-cli.exp: Likewise.
6108 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6109 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6110 * gdb.mi/mi2-var-display.exp: Likewise.
6111 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6112 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6113 new "disp" field.
a9c64011 6114 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
6115 reason. This is to support fix for PR2424.
6116
add38693
JK
61172008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6118
6119 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6120
fcacd99f
VP
61212008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6122
6123 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 6124 field. Add more floating varobj tests.
fcacd99f 6125 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
6126 field.
6127 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6128 (main): Call do_at_tests.
6129 * lib/mi-support.exp (mi_create_floating_varobj)
6130 (mi_varobj_update_with_type_change): New.
fcacd99f 6131
de051565
MK
61322008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6133
6134 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6135 option of -var-evaluate-expression.
6136 * gdb.mi/mi2-var-display.exp: Likewise.
6137
dbc52822
VP
61382008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6139
6140 Introduce test setup helpers.
a9c64011
AS
6141 * lib/gdb.exp (build_executable, clean_restart)
6142 (prepare_for_testing): New.
6143 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6144 * gdb.base/return.exp: Likewise.
6145 * gdb.base/ending-run.exp: Likewise.
dbc52822 6146
473591da
NR
61472008-04-07 Nick Roberts <nickrob@snap.net.nz>
6148
6149 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6150 Interface (MI) responses.
6151
2b2d9e11
VP
61522008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6153
a9c64011
AS
6154 * gdb.cp/breakpoint.cc: New code to test conditions involving
6155 member variables.
6156 * gdb.cp/breakpoint.exp: Test condition involving member
6157 variables.
2b2d9e11 6158
bb378428
VP
61592008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6160
6161 * lib/mi-support.exp (mi_expect_stop): New.
6162 (mi_run_cmd): Change the
6163 token. Use mi_send_resuming_command, use
6164 mi_expect_stop.
6165 (mi_execute_to_helper): Rename to mi_execute_to.
6166 (mi_send_resuming_command): Add more error patterns.
6167 (mi_wait_for_stop): Renamed to...
6168 (mi_get_stop_line): ...this.
6169 (mi_run_inline_test): Adjust.
6170
6171 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6172 * gdb.mi/mi-console.exp: Likewise.
6173 * gdb.mi/mi-pending.exp: Likewise.
6174 * gdb.mi/mi-simplerun.exp: Likewise.
6175 * gdb.mi/mi-stack.exp: Likewise.
6176 * gdb.mi/mi-stepi.exp: Likewise.
6177 * gdb.mi/mi-syn-frame.exp: Add comment.
6178 * gdb.mi/mi-until.exp: Likewise.
6179 * gdb.mi/mi-var-display.exp: Likewise.
6180 * gdb.mi/mi-watch.exp: Likewise.
6181 * gdb.mi/mi2-cli.exp: Likewise.
6182 * gdb.mi/mi2-console.exp: Likewise.
6183 * gdb.mi/mi2-simplerun.exp: Likewise.
6184 * gdb.mi/mi2-stack.exp: Likewise.
6185 * gdb.mi/mi2-stepi.exp: Likewise.
6186 * gdb.mi/mi2-until.exp: Likewise.
6187 * gdb.mi/mi2-var-display.exp: Likewise.
6188 * gdb.mi/mi2-watch.exp: Likewise.
6189
62172bb9
UW
61902008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6191
6192 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6193
6194 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6195
a13e061a
PA
61962008-04-04 Pedro Alves <pedro@codesourcery.com>
6197
6198 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6199 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6200 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6201 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6202 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6203 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6204 expect an mi error duplicated in stderr.
6205
eae06beb
JB
62062008-04-03 Joel Brobecker <brobecker@adacore.com>
6207
6208 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6209 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6210 Add a couple of tests that verify the behavior when the new setting
6211 is set to "cancel" and "all".
6212 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6213 "ask" before we start the testing.
6214
79c6ced6
AR
62152008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6216
6217 * gdb.cp/casts.cc: Add class reference variables.
6218 * gdb.cp/casts.exp: New test cases for up/down casting references.
6219
6c2d1a6b
MK
62202008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6221
6222 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6223 instead of beginning to make an extra test pass.
6224 * gdb.mi/mi2-var-display.exp: Likewise.
6225
55b411d9
MR
62262008-03-31 Maciej W. Rozycki <macro@mips.com>
6227
6228 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6229
c6140da2
MD
62302008-03-31 Markus Deuling <deuling@de.ibm.com>
6231 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6232
6233 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6234 value. Add xfail for older kernels.
6235
79732189
AR
62362008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6237
6238 Bring mi-support in line with gdb.exp.
6239 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6240 (mi_gdb_start): New function.
6241
33c3676e
MR
62422008-03-28 Maciej W. Rozycki <macro@mips.com>
6243
6244 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6245
92e28119
VP
62462008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6247
6248 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6249 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 6250
9e8e3afe
VP
62512008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6252
6253 * lib/mi-support.exp (mi_create_varobj_checked): New.
6254 (mi_list_varobj_children): Allow to check for a
6255 value.
6256 (mi_list_array_varobj_children): New.
6257
6258 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6259 and mi_list_varobj_children, as opposed to hardcoding
6260 expected strings.
6261 * gdb.mi/gdb701.exp: Likewise.
6262 * gdb.mi/gdb792.exp: Likewise.
6263 * gdb.mi/mi-var-block.exp: Likewise.
6264 * gdb.mi/mi-var-cmd.exp: Likewise.
6265 * gdb.mi/mi-var-invalidate.exp: Likewise.
6266 * gdb.mi/mi2-var-block.exp: Likewise.
6267 * gdb.mi/mi2-var-child.exp: Likewise.
6268 * gdb.mi/mi2-var-cmd.exp: Likewise.
6269 * gdb.mi/mi2-var-display.exp: Likewise.
6270
9df50351
JK
62712008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6272
6273 Fix random false FAILs on i386.
6274 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6275
31e5d73a
DJ
62762008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6277
6278 PR gdb/544
6279 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6280
12f4afab
DJ
62812008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6282
6283 PR gdb/544
6284 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6285
b562a0cb
DJ
62862008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6287
6288 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6289 fixed PR gdb/544.
6290
17faa917
DJ
62912008-03-21 Pedro Alves <pedro@codesourcery.com>
6292
6293 * gdb.threads/fork-child-threads.exp: Test next over fork.
6294
6214f497
DJ
62952008-03-21 Chris Demetriou <cgd@google.com>
6296
6297 * gdb.base/break.exp (rbreak junk): New test for rbreak
6298 "Junk at end of arguments" issue.
6299
63092375
DJ
63002008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6301
6302 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6303 *& to work on created array elements.
6304 (Top level): Test print $pc with a file. Test string operations
6305 without a target.
6306 * gdb.base/ptype.exp: Do not expect *& to work on created array
6307 elements.
6308
b21991b0
DJ
63092008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6310
6311 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6312 gdb.threads/staticthreads.exp: Update exit query.
6313
c4b347c7
SL
63142008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6315
6316 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6317
fa4727a6
DJ
63182008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6319
6320 * gdb.base/watchpoint.c (global_ptr, func4): New.
6321 (main): Call func4.
6322 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6323 (test_inaccessible_watchpoint): New.
6324
2f34202f
MR
63252008-02-29 Maciej W. Rozycki <macro@mips.com>
6326
6327 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6328 select the largest.
6329
0d6ba1b1
DJ
63302008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6331
6332 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6333 frames-invalid annotations.
6334
e691325a
PM
63352008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
6336
a9c64011 6337 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 6338
f85b5ecc
DE
63392008-02-27 Doug Evans <dje@google.com>
6340
6341 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
6342 for bug 1738.
6343 (breakpoint_to_handler_entry): Ditto.
6344
b40e7bf3
JB
63452008-02-27 Joel Brobecker <brobecker@adacore.com>
6346
6347 * gdb.base/ending-run.exp: Use the first line of code inside
6348 function body to test breakpoints.
6349 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
6350 location where the breakpoint is inserted when using the line
6351 where a function is declared. Fix typo in the description of
6352 one of the tests.
6353 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
6354
2faca73a
PM
63552008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6356
6357 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 6358 tests.
2faca73a 6359
6f439c36
PM
63602008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6361
6362 * gdb.base/args.exp: avoid same output for tests
6363 with single quotes.
6364
54e52265
VP
63652008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6366
a9c64011
AS
6367 * gdb.base/annota1.exp: Adjust for 'info break'
6368 format changes.
6369 * gdb.base/annota3.exp: Likewise.
6370 * gdb.base/break.exp: Likewise.
6371 * gdb.base/condbreak.exp: Likewise.
6372 * gdb.base/pending.exp: Likewise.
6373 * gdb.base/sepdebug.exp: Likewise.
6374 * gdb.base/unload.exp: Likewise.
6375 * gdb.cp/ovldbreak.exp: Likewise.
6376 * gdb.mi/mi-pending.exp: Likewise.
54e52265 6377
897b09ca
DE
63782008-02-07 Doug Evans <dje@google.com>
6379
6380 * gdb.cp/mb-inline.exp: New.
6381 * gdb.cp/mb-inline.h: New.
6382 * gdb.cp/mb-inline1.cc: New.
6383 * gdb.cp/mb-inline2.cc: New.
6384
b1c32d35
PM
63852008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
6386
6387 * gdb.pascal/floats.pas: New test program.
6388 * gdb.pascal/floats.exp: New testcase.
6389
1a4ca44a
TJB
63902008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6391
6392 * gdb.base/callfuncs.c (t_float_many_args): New function.
6393 (t_double_many_args): New function.
6394 * gdb.base/callfuncs.exp: Add tests for exceeding float
6395 and double parameters passed through the stack.
6396
439048e8
JB
63972008-02-05 Joel Brobecker <brobecker@adacore.com>
6398
6399 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
6400 gdb.ada/complete/foo.adb: New files.
6401 * gdb.ada/complete.exp: New testcase.
6402
81fe8080
DE
64032008-02-03 Doug Evans <dje@google.com>
6404
301f0ecf
DE
6405 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
6406
81fe8080
DE
6407 * gdb.cp/gdb2384.exp: New file.
6408 * gdb.cp/gdb2384.cc: New file.
6409 * gdb.cp/gdb2384-base.h: New file.
6410 * gdb.cp/gdb2384-base.cc: New file.
6411
4b071aec
DE
64122008-02-02 Doug Evans <dje@google.com>
6413
6414 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
6415
61137ba6
JB
64162007-02-01 Joel Brobecker <brobecker@adacore.com>
6417
6418 * gdb.ada/sym_print_name: New test program.
6419 * gdb.ada/sym_print_name.exp: New testcase.
6420
64212007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
6422
6423 * gdb.ada/nested/hello.adb: New file.
6424 * gdb.ada/nested.exp: New testcase.
6425 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6426
98deb0da
VP
64272008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6428
6429 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
6430 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
6431 don't cause future evaluations of function to report
6432 creation of internal breakpoints.
98deb0da 6433
723a2275
VP
64342008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6435
6436 * gdb.mi/mi-break.exp (test_error): New.
6437 Call it.
6438
fb546a2f
LM
64392008-01-31 Luis Machado <luisgpm@br.ibm.com>
6440
6441 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
6442 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
6443
2d8fd90a
PM
64442008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6445
6446 * gdb.pascal/integers.pas: New test program.
6447 * gdb.pascal/integers.exp: New testcase.
6448
a7fa0ded
PM
64492008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6450
6451 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
6452
5e1a1926
TJB
64532008-01-30 Luis Machado <luisgpm@br.ibm.com>
6454
6455 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
6456 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
6457
8d04f9f0
JB
64582008-01-30 Paul Hilfinger <hilfinger@adacore.com>
6459
6460 * gdb.ada/formatted_ref: New test program.
6461 * gdb.ada/formatted_ref.exp: New testcase.
6462
6463 * gdb.cp/formatted-ref.cc: New file.
6464 * gdb.cp/formatted-ref.exp: New testcase.
6465
ce75a98f
JB
64662008-01-30 Joel Brobecker <brobecker@adacore.com>
6467
6468 * gdb.base/ptype.exp: Add testing of "ptype $pc".
6469
e835f6bf
NR
64702008-01-30 Nick Roberts <nickrob@snap.net.nz>
6471
6472 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
6473 (test_file_list_exec_source_file): Update to new macro-info field.
6474
d118ef87
PH
64752008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
6476
6477 * gdb.ada/exprs: New test program.
6478 * gdb.ada/exprs.exp: New testcase.
6479
7d35ab09
TJB
64802008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6481
6482 * dfp-test.c (DELTA, DELTA_B): New definitions.
6483 (double_val1, double_val2, double_val3, double_val4, double_val5,
6484 double_val6, double_val7, double_val8, double_val9, double_val10,
6485 double_val11, double_val12, double_val13, double_val14, dec32_val1,
6486 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
6487 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
6488 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
6489 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
6490 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
6491 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
6492 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
6493 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
6494 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
6495 dec128_val16): New global variables.
6496 (decimal_dec128_align): New function.
6497 (decimal_mixed): Likewise.
6498 (decimal_many_args_dec32): Likewise.
6499 (decimal_many_args_dec64): Likewise.
6500 (decimal_many_args_dec128): Likewise.
6501 (decimal_many_args_mixed): Likewise.
6502 * dfp-test.exp: Add tests calling new inferior functions.
6503
2d717e4f
DJ
65042008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6505
6506 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
6507 gdb.server/ext-run.exp: New files.
6508 * lib/gdbserver-support.exp (gdbserver_download): New.
6509 (gdbserver_start): New. Update gdbserver expected
6510 output.
6511 (gdbserver_spawn): Use them.
6512 (gdbserver_start_extended): New.
6513
e85a822c
DJ
65142008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6515
6516 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
6517 Run on GNU/Linux.
6518 (do_exec_tests): Check for systems which do not support catchpoints.
6519 Do not match START.
6520 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
6521 Run on GNU/Linux. Enable verbose output.
6522 (check_fork_catchpoints): New.
6523 (explicit_fork_child_follow, catch_fork_child_follow)
6524 (tcatch_fork_parent_follow): Update expected messages.
6525 (do_fork_tests): Use check_fork_catchpoints.
6526 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
6527 Run on GNU/Linux. Enable verbose output.
6528 (check_vfork_catchpoints): New.
6529 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
6530 expected messages.
6531 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
6532
401ea829
JB
65332008-01-29 Jim Blandy <jimb@red-bean.com>
6534
6535 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
6536 host' errors.
6537 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
6538
aceaf3ad
JB
65392008-01-29 Jim Blandy <jimb@red-bean.com>
6540
6541 * gdb.threads/sigthread.c: Use barriers to ensure that
6542 child_thread and child_thread_two are always initialized before we
6543 start to use them.
6544
a5606eee
VP
65452008-01-29 Vladimir Prus <vladimir@codesourcery.com>
6546
6547 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
6548 * gdb.base/watchpoint-solib.c: New.
6549 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 6550
c55a82bb
PM
65512008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
6552
6553 * gdb.base/gdb1056.exp: Add unsigned integer test.
6554
0993fe05
DE
65552008-01-28 Doug Evans <dje@google.com>
6556
6557 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
6558
4fe42e7f
JB
65592008-01-27 Jim Blandy <jimb@codesourcery.com>
6560
c7a69933
JB
6561 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
6562
4fe42e7f
JB
6563 * gdb.base/expand-psymtabs.exp: Doc fix.
6564
5def8285
MK
65652008-01-26 Mark Kettenis <kettenis@gnu.org>
6566
6567 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6568
5313c911
NR
65692008-01-24 Nick Roberts <nickrob@snap.net.nz>
6570
a9c64011 6571 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
6572 -var-set-format.
6573
93815fbf
VP
65742008-01-23 Chris Demetriou <cgd@google.com>
6575
6576 * gdb.threads/thread_events.c: New testcase source file.
6577 * gdb.threads/thread_events.exp: New testcase expect file.
6578
467a88ee
NR
65792008-01-23 Nick Roberts <nickrob@snap.net.nz>
6580
6581 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
6582
6583 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
6584 -var-set-format.
6585
d8f82aba
DJ
65862008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6587 Vladimir Prus <vladimir@codesourcery.com>
6588
6589 * gdb.base/float.exp: Allow missing floating point for m68k and
6590 PowerPC.
6591
60c46647
VP
65922008-01-22 Vladimir Prus <vladimir@codesourcery.com>
6593
6594 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
6595 ignore count.
6596 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
6597 * gdb.mi/mi-cli.exp: Adjust.
6598 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 6599
c7dd36a1
PA
66002008-01-17 Pedro Alves <pedro@codesourcery.com>
6601
6602 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
6603 and 'dummy_ptr' integer pointer. Initialize struct_declarations
6604 with dummy_ptr's address.
6605 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
6606 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
6607 all targets.
6608 * gdb.mi/mi2-var-child.exp: Likewise.
6609
39d5313e
JB
66102008-01-09 Joel Brobecker <brobecker@adacore.com>
6611
6612 * gdb.ada/null_array: New test program.
6613 * gdb.ada/null_array.exp: New testcase.
6614
0aea4bf3
LM
66152008-01-09 Luis Machado <luisgpm@br.ibm.com>
6616
6617 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
6618 with required float modifiers.
6619
0b354900
JB
66202008-01-08 Joel Brobecker <brobecker@adacore.com>
6621
6622 * gdb.ada/funcall_param: New test program.
6623 * gdb.ada/funcall_param.exp: New testcase.
6624
cdb7f5d4
JB
66252008-01-08 Joel Brobecker <brobecker@adacore.com>
6626
6627 * gdb.ada/arrayparam: New test program.
6628 * gdb.ada/arrayparam.exp: New testcase.
6629
88e2547f
JB
66302008-01-08 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
6633 landed. Should also fix random failures in the test following it.
6634
f6867ce0
TJB
66352008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6636
6637 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
6638 for expressions with decimal float values.
6639 (test_dfp_conversions): New function to test casts to and from
6640 decimal float types.
6641 Call test_dfp_conversions.
6642 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
6643 elements.
6644 (main): Initialize ds.float4 and ds.double8 elements.
6645 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
6646 string to new error message.
6647 (d64_set_tests): Likewise.
6648 (d128_set_tests): Likewise.
6649 Add tests for expressions with decimal float variables. Add tests for
6650 conversions to and from decimal float types.
6651
f9c11282
JB
66522008-01-05 Joel Brobecker <brobecker@adacore.com>
6653
6654 * gdb.ada/packed_tagged/comp_bug.adb: New file.
6655 * gdb.ada/packed_tagged.exp: New testcase.
6656
0ecbca72
JB
66572008-01-04 Joel Brobecker <brobecker@adacore.com>
6658
6659 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
6660 gdb.ada/homonym/homonym_main.adb: New files.
6661 * gdb.ada/homonym.exp: New testcase.
6662
c18d3d89
JB
66632008-01-04 Joel Brobecker <brobecker@adacore.com>
6664
6665 * gdb.ada/packed_array.exp: Add testing of references to
6666 a packed array.
6667
ecc7085b
JB
66682008-01-04 Joel Brobecker <brobecker@adacore.com>
6669
6670 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
6671 New files.
6672 * gdb.ada/type_coercion.exp: New testcase.
6673
c474c922
JB
66742008-01-04 Joel Brobecker <brobecker@adacore.com>
6675
6676 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
6677 gdb.ada/tagged/foo.adb: New file.
6678 * gdb.ada/tagged.exp: New testcase.
6679
9005b927
JB
66802008-01-04 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
6683 gdb.ada/ptype_field/foo.adb: New files.
6684 * gdb.ada/ptype_field.exp: New testcase.
6685
1a6aaad8
JB
66862008-01-03 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.ada/print_pc.exp: New testcase.
6689
0ef22f53
JB
66902008-01-03 Joel Brobecker <brobecker@adacore.com>
6691
6692 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
6693 gdb.ada/taft_type/p.adb: New files.
6694 * gdb.ada/taft_type.exp: New testcase.
6695
1689ecf8
JB
66962008-01-03 Joel Brobecker <brobecker@adacore.com>
6697
6698 * gdb.ada/array_bounds/bar.adb: New file.
6699 * gdb.ada/array_bounds.exp: New testcase.
6700
a4d0b9c3
JB
67012008-01-03 Joel Brobecker <brobecker@adacore.com>
6702
6703 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
6704 gdb.ada/arrayptr/foo.adb: New files.
6705 * gdb.ada/arrayptr.exp: New testcase.
6706
a31ace00
JB
67072008-01-03 Joel Brobecker <brobecker@adacore.com>
6708
6709 * gdb.base/set-lang-auto.exp: New testcase.
6710
a97fced3
JB
67112008-01-03 Joel Brobecker <brobecker@adacore.com>
6712
6713 * gdb.ada/fun_addr/foo.adb: New file.
6714 * gdb.ada/fun_addr.exp: New testcase.
6715
ef29ce1a
JK
67162008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6717
6718 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
6719 New files
6720
0fafefe3
JB
67212008-01-02 Joel Brobecker <brobecker@adacore.com>
6722
6723 * array_subscript_addr/p.adb: New file.
a9c64011 6724 * array_subscript_addr.exp: New testcase.
0fafefe3 6725
c4359f8d
JB
67262008-01-02 Joel Brobecker <brobecker@adacore.com>
6727
a9c64011 6728 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
6729 New files.
6730 * gdb.ada/str_cmp_ref.exp: New testcase.
6731
1aa1b15b
JB
67322008-01-01 Joel Brobecker <brobecker@adacore.com>
6733
6734 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
6735 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 6736 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 6737
81c9b2cf
JB
67382008-01-01 Joel Brobecker <brobecker@adacore.com>
6739
6740 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
6741 gdb.ada/ref_param/pck.ads: New files.
6742 * gdb.ada/ref_param.exp: New testcase.
6743
319e4674
JB
67442008-01-01 Joel Brobecker <brobecker@adacore.com>
6745
6746 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
6747 gdb.ada/interface/foo.adb: New files.
6748 * gdb.ada/interface.exp: New testcase.
6749
ef682c56
JB
67502007-12-31 Jim Blandy <jimb@codesourcery.com>
6751
6752 * gdb.base/multi-forks.exp: Consume all output from child
6753 processes before proceeding to next test.
6754
f6f3eb6c
JB
67552007-12-29 Jim Blandy <jimb@codesourcery.com>
6756
6757 * configure: Regenerated.
6758
f652e42f
JB
67592007-12-27 Joel Brobecker <brobecker@adacore.com>
6760
6761 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
6762 gdb.ada/fixed_cmp/fixed.adb: New files.
6763 * gdb.ada/fixed_cmp.exp: New testcase.
6764
6943e596
JB
67652007-12-27 Joel Brobecker <brobecker@adacore.com>
6766
6767 * gdb.ada/boolean_expr.exp: New testcase.
6768
aad9a193
JB
67692007-12-26 Jim Blandy <jimb@codesourcery.com>
6770
6771 * gdb.base/multi-forks.exp: Doc fix.
6772
fb5f3683
JB
67732007-12-26 Joel Brobecker <brobecker@adacore.com>
6774
6775 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6776 * gdb.ada/char_param.exp: Do not compile our test program with
6777 -gnata, this is unnecessary.
6778 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
6779
384e4a9c
JB
67802007-12-24 Joel Brobecker <brobecker@adacore.com>
6781
6782 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
6783 gdb.ada/print_chars/foo.adb: New files.
6784 * gdb.ada/print_chars.exp: New testcase.
6785
01e044f7
JB
67862007-12-24 Joel Brobecker <brobecker@adacore.com>
6787
6788 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
6789 gdb.ada/char_param/foo.adb: New files.
6790 * gdb.ada/char_param.exp: New testcase.
6791
0ce17860
JB
67922007-12-22 Jim Blandy <jimb@codesourcery.com>
6793
6794 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
6795 hard-coding source line numbers into the test.
6796 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
6797 gdb_get_line_number to find.
6798
919809b9
JB
67992007-12-22 Joel Brobecker <brobecker@adacore.com>
6800
6801 * gdb.base/ptype.c (highest): New struct type.
6802 (the_highest): New variable of that type.
6803 (main): Add dummy assignment to a field of variable the_highest.
6804 * gdb.base/ptype.exp: Test type printing of our new variable.
6805
abc8a88d
PM
68062007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
6807
6808 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 6809 and record first explicitly generated thread number.
abc8a88d
PM
6810 Use that thread number for thread specific watchpoint test.
6811 Add iteration number to repetitive tests.
6812
5158f3e3
CES
68132007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6814 Jim Blandy <jimb@codesourcery.com>
6815
6816 * gdb.base/expand-psymtabs.c: New testcase
6817 source file.
6818 * gdb.base/expand-psymtabs.exp: New testcase
6819 expect file.
6820
37e4754d
LM
68212007-12-17 Luis Machado <luisgpm@br.ibm.com>
6822
6823 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
6824 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
6825
551e5d04
JB
68262007-12-17 Joel Brobecker <brobecker@adacore.com>
6827
6828 * gdb.ada/frame_args/foo.adb: New file.
6829 * gdb.ada/frame_args/pck.ads: New file.
6830 * gdb.ada/frame_args/pck.adb: New file.
6831 * gdb.ada/frame_args.exp: New testcase.
6832
a05ee097
JB
68332007-12-17 Joel Brobecker <brobecker@adacore.com>
6834
6835 * gdb.base/frame-args.c: New file.
6836 * gdb.base/frame-args.exp: New testcase.
6837
c162e8c9 68382007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 6839 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
6840
6841 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
6842
afe8ab22 68432007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6844
afe8ab22
VP
6845 * gdb.mi/mi-pending.exp: New.
6846 * gdb.mi/mi-pending.c: New.
6847 * gdb.mi/mi-pendshr.c: New.
6848
dfdfb3ca
JB
68492007-12-06 Jim Blandy <jimb@codesourcery.com>
6850
6851 * gdb.base/default.exp: Update expected output for 'info catch'.
6852
b7fca990
JK
68532007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6854
6855 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
6856 must be set to binary.
6857
6a1afc1e
PA
68582007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
6859
6860 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
6861
a6b151f1
DJ
68622007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
6863
6864 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
6865 gdb.mi/mi-file-transfer.exp: New.
6866
43039443
JK
68672007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6868
6869 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
6870
0ef2251b
MR
68712007-11-22 Maciej W. Rozycki <macro@mips.com>
6872
6873 * gdb.trace/backtrace.exp: Fix a typo.
6874 * gdb.trace/circ.exp: Likewise.
6875 * gdb.trace/collection.exp: Likewise.
6876 * gdb.trace/limits.exp: Likewise.
6877 * gdb.trace/report.exp: Likewise.
6878 * gdb.trace/tfind.exp: Likewise.
6879 * gdb.trace/while-dyn.exp: Likewise.
6880
5443631e
NR
68812007-11-21 Nick Roberts <nickrob@snap.net.nz>
6882
6883 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
6884 objects of pointers that can't be dereferenced are now
6885 "noneditable".
6886
a4ce5b0d
UW
68872007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6888
6889 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
6890 (target_cpu): Remove.
6891
d6e956e5
VP
68922007-10-15 Vladimir Prus <vladimir@codesourcery.com>
6893
6894 * gdb.base/ending-run.exp: Expect the list of cleared
6895 breakpoint to come in natural order, not the reversed one.
a9c64011 6896
214270ab
VP
68972007-11-07 Vladimir Prus <vladimir@codesourcery.com>
6898
6899 * gdb.mi/mi-var-child.c (do_child_deletion): New.
6900 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 6901
1a619819
LM
69022007-11-05 Luis Machado <luisgpm@br.ibm.com>
6903
6904 * gdb.base/printcmds.exp: New function
6905 test_printf_with_dfp.
6906
5b01a6fa
DE
69072007-11-02 Doug Evans <dje@google.com>
6908
6909 * gdb.disasm/t01_mov.s: Remove carriage returns.
6910 * gdb.disasm/t02_mova.s: Ditto.
6911 * gdb.disasm/t03_add.s: Ditto.
6912 * gdb.disasm/t04_sub.s: Ditto.
6913 * gdb.disasm/t05_cmp.s: Ditto.
6914 * gdb.disasm/t06_ari2.s: Ditto.
6915 * gdb.disasm/t07_ari3.s: Ditto.
6916 * gdb.disasm/t08_or.s: Ditto.
6917 * gdb.disasm/t09_xor.s: Ditto.
6918 * gdb.disasm/t10_and.s: Ditto.
6919 * gdb.disasm/t11_logs.s: Ditto.
6920 * gdb.disasm/t12_bit.s: Ditto.
6921 * gdb.disasm/t13_otr.s: Ditto.
6922
ec33ab7f
JK
69232007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6924
6925 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
6926
ae0d01ff
UW
69272007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6928
6929 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
6930 provide DFP support.
6931
55eddb0f
DJ
69322007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
6933
6934 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
6935 Test "set powerpc vector-abi". Skip auto-detection tests for old
6936 toolchains.
6937
7020f05c
PA
69382007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6939
6940 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
6941 with [string compare].
6942
84bc3db9
PA
69432007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
6944
6945 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
6946 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
6947
5876dc88
LM
69482007-10-25 Luis Machado <luisgpm@br.ibm.com>
6949
6950 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
6951 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
6952 * gdb.opt/Makefile.in: New makefile.
6953 * Makefile.in: Create new directory "gdb.opt".
6954 * configure.ac: Add "gdb.opt" directory.
6955 * configure: Regenerated.
a9c64011 6956
c3ea9a14
DE
69572007-10-25 Doug Evans <dje@google.com>
6958
6959 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
6960 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
6961
a9c64011 69622007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
6963 Thiago Jung Bauermann <bauerman@br.ibm.com>
6964
6965 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
6966 Floating Point expressions.
6967 * gdb.base/dfp-test.exp: new file adding tests for Decimal
6968 Floating Point variables.
6969 * gdb.base/dfp-test.c: new file containing program with Decimal
6970 Floating variables, used by gdb.base/dfp-test.exp.
6971
62a24a2b
DJ
69722007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
6973
6974 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
6975
e7b1eae6
UW
69762007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6977
6978 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
6979 compiling test case with GCC.
6980 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
6981
c641edcc
UW
69822007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6983
6984 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6985 format changes.
6986
5e5ebfe6
MS
69872007-10-18 Michael Snyder <msnyder@specifix.com>
6988
6989 * gdb.base/dbx.exp: Add missing "-re " operator.
6990
e831e7b6
GM
69912007-10-16 Gaius Mulley <gaius@glam.ac.uk>
6992
6993 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
6994 * configure.ac: Removed trailing spaces after backslash.
6995 * gdb.modula2: New directory.
6996 * gdb.modula2/Makefile.in: New file.
6997 * gdb.modula2/unbounded-array.exp: New file.
6998 * gdb.modula2/unbounded1.c: New file.
6999
7cc46491
DJ
70002007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7001
7002 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7003
70042007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
7005
7006 * gdb.base/sigstep.c (main): Add checks for
7007 return values for setitimer call.
7008 Call setitimer again with itimer = ITIMER_REAL
7009 if first call to setitimer fails.
7010
e91528f0
KH
70112007-10-11 Kazu Hirata <kazu@codesourcery.com>
7012
7013 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7014 of $timeout.
7015
2ec9a4f8
DJ
70162007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7017
7018 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7019
70202007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
7021
7022 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7023 of gdb_expect call, to avoid interruption.
7024
64b2fa04
PA
70252007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7026
7027 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7028 (v_unsigned_long_long, v_long_long_array)
7029 (v_signed_long_long_array, v_unsigned_long_long_array)
7030 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7031 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7032 [!NO_LONG_LONG]: New.
7033 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7034 v_long_long_member.
7035
7036 (v_long_long_func, v_signed_long_long_func)
7037 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7038 (main) [!NO_LONG_LONG]: Initialize long long variants.
7039
7040 * gdb.base/whatis.exp: If board file requests no_long_long, build
7041 test with NO_LONG_LONG defined. Test long long, signed long long,
7042 and unsigned long long variants but only if board file doesn't
7043 disable it.
7044
a912286e 70452007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 7046 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
7047
7048 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7049 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7050 * configure: Regenerated.
7051 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7052 gdb.pascal/types.exp, lib/pascal.exp: New files.
7053
471ba8c9
DJ
70542007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7055
7056 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7057 call.
7058 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7059 to return to the call.
7060 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7061 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7062 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7063 * gdb.mi/mi-until.exp (test_until): Likewise.
7064 * gdb.mi/mi2-until.exp (test_until): Likewise.
7065
fef8a650
DJ
70662007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7067
7068 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7069 two-char array.
7070 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7071
d983da9c
DJ
70722007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7073
7074 * gdb.threads/watchthreads.c (thread_function): Sleep between
7075 iterations.
7076 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7077 at once for S/390. Generate matching fails and passes.
7078
17f62551
VP
70792007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7080
7081 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7082 the 'struct_declarations' variable to zeros.
a9c64011 7083
ed0616c6
VP
70842007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7085
7086 * gdb.cp/mb-ctor.cc: New.
7087 * gdb.cp/mb-ctor.exp: New.
7088 * gdb.cp/mb-templates.cc: New.
7089 * gdb.cp/mb-templates.exp: New.
7090
41f1b697
DJ
70912007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7092
7093 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7094
3f213f78
PA
70952007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7096
7097 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7098 targets.
7099 * configure: Regenerate.
7100
0d381245 71012007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 7102
0d381245
VP
7103 * gdb.base/annota1.exp: Adjust for 'info break'
7104 format changes.
7105 * gdb.base/annota3.exp: Likewise.
7106 * gdb.base/break.exp: Likewise.
7107 * gdb.base/condbreak.exp: Likewise.
7108 * gdb.base/pending.exp: Likewise.
7109 * gdb.base/sepdebug.exp: Likewise.
7110 * gdb.base/unload.exp: Likewise.
7111 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 7112
fe3f5fa8
VP
71132007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7114
7115 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7116 messages.
7117 * gdb.base/chng-syms.exp: Likewise.
7118 * gdb.base/unload.exp: Likewise.
a9c64011 7119
a75cf6c0
DJ
71202007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7121
7122 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7123
18ecae38
DJ
71242007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7125
7126 * schedlock.c (NUM): Change to 1.
7127 (main): Use args[0] for the main thread.
7128 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7129 regardless of the number of threads.
7130
5509918f
MR
71312007-09-14 Maciej W. Rozycki <macro@mips.com>
7132
4a543daf
MR
7133 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7134 type down.
7135 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7136 test.
7137 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7138 watchpoint type down.
7139 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7140 test.
7141
71422007-09-14 Maciej W. Rozycki <macro@mips.com>
7143
5509918f
MR
7144 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7145 Move all the tests here and run them twice, once using software
7146 watchpoints and once using hardware watchpoints.
7147 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7148
40b53987
DJ
71492007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7150
7151 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7152 test.
7153
695e2681
MK
71542007-09-10 Mark Kettenis <kettenis@gnu.org>
7155
8b3fc8d8
MK
7156 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7157 build-id.
7158
695e2681
MK
7159 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7160 know about $ORIGIN. Calculate output dir from $dest instead of
7161 using ${objdir}/{$subdir}.
7162
58d69f29
MK
71632007-09-09 Mark Kettenis <kettenis@gnu.org>
7164
7165 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7166 gcore, before continuing with the test.
7167
3e347599
DJ
71682007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7169
7170 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7171 * gdb.mi/mi-watch.exp: Likewise.
7172
ea37ba09
DJ
71732007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7174 Jim Blandy <jimb@codesourcery.com>
7175
7176 * gdb.arch/i386-sse.exp: Do not expect character constants.
7177 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7178 * gdb.base/display.exp: Allow print/s.
7179 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7180 and unsigned char array changes.
7181
2025a643
DJ
71822007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7183
7184 * gdb.base/display.exp: Add tests for printf %p.
7185
26669a27
PA
71862007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7187
7188 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7189 the dll name to unicode.
7190
c8f021f8
JK
71912007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7192
7193 * gdb.base/default.exp (show version): Update the version text.
7194 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7195
4cf31eea
JK
71962007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7197
7198 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7199 New files.
7200
4935890f
JK
72012007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7202
7203 * lib/gdb.exp (build_id_debug_filename_get): New function.
7204 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7205 Remove the generate DEBUG file for the future testcase runs.
7206 New testcase for the NT_GNU_BUILD_ID retrieval.
7207 Move the final testing step to ...
7208 (test_different_dir): ... a new function.
7209 New parameter XFAIL to XFAIL all the tests performed.
7210 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7211 New parameter TYPE to PF_PREFIX all the tests performed.
7212
02142340
VP
72132007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7214
7215 * gdb.mi/mi-var-cp.cc (path_expression): New
7216 function.
7217 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7218
36acd84e
UW
72192007-08-27 Markus Deuling <deuling@de.ibm.com>
7220
7221 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7222 to fit into SPU Local Store memory.
7223
a896d121
JB
72242007-08-23 Joel Brobecker <brobecker@adacore.com>
7225
7226 * gdb.base/default.exp: Adjust the expected output of "info
7227 warranty" after the switch to GPLv3.
7228
7b433602
JB
72292007-08-23 Joel Brobecker <brobecker@adacore.com>
7230
7231 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7232 to 30000 (from 20000).
7233
e22f8b7c
JB
72342007-08-23 Joel Brobecker <brobecker@adacore.com>
7235
7236 Switch the license of all .exp files to GPLv3.
7237 Switch the license of all .f and .f90 files to GPLv3.
7238 Switch the license of all .s and .S files to GPLv3.
7239
5a0e3bd0
JB
72402007-08-23 Joel Brobecker <brobecker@adacore.com>
7241
7242 * configure.ac: Switch license to GPLv3.
7243
cc00619d
JB
72442007-08-23 Joel Brobecker <brobecker@adacore.com>
7245
7246 Switch the licensing to GPLv3 for all .ads and .adb files.
7247
8d26208a
DJ
72482007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7249
7250 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7251 and t_int_double.
7252 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7253
4fcb9948
JB
72542007-08-17 Joel Brobecker <brobecker@adacore.com>
7255
7256 * gdb.base/step-line.c: Switch license to GPL version 3, and
7257 update copyright year.
7258 * gdb.base/step-line.inp: Likewise.
7259
b9c34f67
JB
72602007-08-17 Joel Brobecker <brobecker@adacore.com>
7261
7262 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7263 changes inside gdb1555.c.
7264 * gdb.base/pending.exp: Likewise.
7265
2cc17678
DJ
72662007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7267
7268 * config/default.exp: New file.
7269
e48883f7
DJ
72702007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7271
7272 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7273 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7274
1ab80e5b
MR
72752007-07-30 Maciej W. Rozycki <macro@mips.com>
7276
7277 * gdb.base/dump.exp: Force the correct endianness for binary
7278 formats not carrying this information.
7279
aba471f5
DJ
72802007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7281
7282 * gdb.threads/staticthreads.exp: Match .*sem_post.
7283
d4e07204
DJ
72842007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7285
7286 * gdb.base/readline.exp (operate_and_get_next): Match the final
7287 prompt.
7288
2b97317d
KB
72892007-07-23 Kevin Buettner <kevinb@redhat.com>
7290
7291 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7292 to restarting SID.
7293
44efa07a
KB
72942007-07-18 Kevin Buettner <kevinb@redhat.com>
7295
7296 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7297 prior to `gdb_start'.
7298
7b5ebade
KB
72992007-07-18 Kevin Buettner <kevinb@redhat.com>
7300
7301 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7302 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7303 Remove call to gdb_unload.
7304
255e7678
DJ
73052007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7306 Daniel Jacobowitz <dan@codesourcery.com>
7307
7308 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7309 for __WIN32__.
7310 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7311 * gdb.base/unload.exp: Use shared library test routines.
7312
3a40aaa0
UW
73132007-07-03 Markus Deuling <deuling@de.ibm.com>
7314
7315 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7316 * gdb.base/solib-symbol-lib.c: Likewise.
7317 * gdb.base/solib-symbol-main.c: Likewise.
7318
b0f4b84b
DJ
73192007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7320
7321 * config/gdbserver.exp (gdb_reconnect): New.
7322 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7323 gdb.base/solib-disc.exp: New files.
7324 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7325 remote debugging".
7326 (gdb_compile): Add shlib_load flag.
7327 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7328 port.
7329 (gdbserver_reconnect): New.
7330
1b05479a
DJ
73312007-07-01 Nick Roberts <nickrob@snap.net.nz>
7332 Daniel Jacobowitz <dan@codesourcery.com>
7333
7334 * gdb.base/annota3.exp: Test for if construct.
7335
86f78eb2
DJ
73362007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
7337
7338 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
7339
6a2eb474 73402007-06-21 Chris Dearman <chris@mips.com>
a9c64011 7341 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
7342
7343 * gdb.base/display.exp: Allow a newline after display/i.
7344 * gdb.base/pc-fp.exp: Likewise.
7345 * gdb.base/sigbpt.exp: Likewise.
7346
f8b73d13
DJ
73472007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7348
7349 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
7350 required features to be included.
7351
4339e69e
DJ
73522007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7353
7354 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
7355 in info threads output.
7356
23d964e7
UW
73572007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7358 Markus Deuling <deuling@de.ibm.com>
7359
7360 * gdb.arch/spu-info.exp: New testcase.
7361 * gdb.arch/spu-info.c: New file.
7362
fd20f75b
DJ
73632007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
7364
7365 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
7366 tpcs_offset. Restore lr after the call.
7367 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
7368
2226f861
DJ
73692007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
7370
7371 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
7372 (gdbserver_run): Kill any running gdbserver.
7373 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
7374
d12371a9
MR
73752007-05-17 Maciej W. Rozycki <macro@mips.com>
7376
7377 * gdb.base/sigbpt.exp: Preset segv_addr.
7378
93f02886
DJ
73792007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
7380
7381 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
7382 (gdb_compile_shlib): Likewise.
7383 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
7384 (default_gdb_init): Clear cleanfiles.
7385 (gdb_finish): Delete recorded cleanfiles.
7386 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
7387
7388 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
7389 Do not use isnative.
7390 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
7391 gdb.base/so-impl-ld.exp: Likewise.
7392 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
7393 * gdb.base/unload.exp: Likewise. Do not pass empty option to
7394 gdb_compile.
7395
b04e06d7
VP
73962007-05-15 Vladimir Prus <vladimir@codesourcery.com>
7397
7398 * config/unknown.exp: Remove.
7399
069ed931
UW
74002007-05-15 Markus Deuling <deuling@de.ibm.com>
7401
7402 * gdb.base/info-proc.exp: Check is_remote.
7403
09db0d03
UW
74042007-05-14 Markus Deuling <deuling@de.ibm.com>
7405
7406 * gdb.base/gcore.exp: Initialize variable core_supported.
7407
af2cbe8c
DJ
74082007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7409
7410 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
7411
027c0295
DJ
74122007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7413
7414 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
7415 * gdb.threads/print-threads.exp (test_all_threads): Allow
7416 negative and hexadecimal thread IDs.
7417
dc5000e7
DJ
74182007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7419
7420 * gdb.java/jprint.java (public): Avoid invalid call to static
7421 method.
7422
2e74ed18
DP
74232007-05-14 Denis Pilat <denis.pilat@st.com>
7424
7425 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
7426 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
7427 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
7428 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
7429 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
7430
83547f02
UW
74312007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7432
7433 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 7434 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
7435 this mode.
7436 * gdb.base/ovlymgr.c: Provide stubs for spu target.
7437 * gdb.base/spu.ld: New file.
7438
b18be20d
DJ
74392007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
7440
7441 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
7442
be444858
DJ
74432007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
7444
7445 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
7446
b1d53152
DJ
74472007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7448
7449 * gdb.java/jmain.exp: Handle demangled names with and without method
7450 signatures.
7451
d084b331
DJ
74522007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7453
7454 * gdb.mi/mi-syn-frame.c (main, foo, bar)
7455 (have_a_very_merry_interrupt): Remove calls to puts.
7456 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
7457 inferior output.
7458 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
7459 test names.
7460
db9d7fc5
DJ
74612007-04-29 Markus Deuling <deuling@de.ibm.com>
7462 Daniel Jacobowitz <dan@codesourcery.com>
7463
7464 * gdb.base/auxv.exp (core_works): Also check is_remote.
7465 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
7466
ef783a7d 74672007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 7468
ef783a7d
VP
7469 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
7470 message, not the undefined 'module' variable.
7471 * gdb.base/siginfo.exp: Likewise.
7472 * gdb.base/sigstep.exp: Likewise.
7473 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
7474 serialport.
7475 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
7476
b7b73cae
CV
74772007-04-25 Corinna Vinschen <vinschen@redhat.com>
7478
7479 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
7480 target sim fails. Return 0 otherwise.
7481 (gdb_load): Return prematurely if gdb_target_sim fails.
7482
7d90fdfa
DP
74832007-04-16 Denis Pilat <denis.pilat@st.com>
7484
7485 * gdb.base/setshow.exp: Reset height after having set it to 100.
7486
5d3e9c85
DP
74872007-04-16 Denis Pilat <denis.pilat@st.com>
7488
7489 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
7490
18e75969
DP
74912007-04-16 Denis Pilat <denis.pilat@st.com>
7492
7493 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
7494
25d5ea92
VP
74952007-04-14 Vladimir Prus <vladimir@codesourcery.com>
7496
7497 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
7498 tests. Run the frozen varobjs test.
7499 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 7500 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 7501
0b49cb80
JK
75022007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7503
7504 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
7505 gdb.base/type-opaque.exp: New files.
7506
a73bafbc 75072007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
7508
7509 * gdb.mi/mi-var-child.c
a73bafbc
VP
7510 (do_children_tests): User char[2] instead of
7511 char so that automatic printing of pointers to char
7512 don't give unpredicable result.
7513 * gdb.mi/var-cmd.c (do_locals_test): Initialize
7514 local variables.
7515 * gdb.mi/mi-var-child.exp: Step to right line
7516 of do_children_tests.
7517 * gdb.mi/mi2-var-child.exp: Likewise.
7518 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 7519 do_locals_tests.
a73bafbc
VP
7520 (do_children_tests): User char[2] instead of
7521 char so that automatic printing of pointers to char
a9c64011 7522 don't give unpredicable result.
a73bafbc 7523 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 7524 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
7525 Pass test name to mi_wait_for_stop.
7526
7ce59000
DJ
75272007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7528
7529 * gdb.asm/asm-source.exp: Remove d10v case.
7530 * lib/gdb.exp (skip_cplus_tests): Likewise.
7531 * gdb.asm/d10v.inc: Deleted.
7532
20389057
DJ
75332007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7534
7535 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
7536
8807d78b
DJ
75372007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7538
7539 * config/netware.exp: Delete file.
7540
aa3edb8e
JB
75412007-03-29 Joel Brobecker <brobecker@adacore.com>
7542
7543 * gdb.dwarf2/dw2-noloc.S: New file.
7544 * gdb.dwarf2/dw2-noloc.exp: New file.
7545
297561ac
PA
75462007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
7547
7548 * gdb.cp/method2.cc: New test.
7549 * gdb.cp/method2.exp: New test.
7550 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
7551
1f81bd39
DJ
75522007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7553
7554 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
7555
9453113a
DJ
75562007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
7557
7558 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
7559
b741e217
DJ
75602007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7561
7562 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
7563 (gdb_load): Delete, replace with...
7564 (gdb_reload): ...this.
7565 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
7566 * gdb.server/server-mon.exp: Likewise.
7567 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
7568 (gdb_start_cmd): New.
7569 (gdb_file_cmd): Save the last loaded file.
7570 (gdb_reload): New.
7571 (gdb_gnu_strip_debug): Use transform.
7572 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
7573 support here. Use new $last_loaded_file. Check mtime.
7574 (gdb_target_cmd): Handle ObjC failure case.
7575 (infer_host_exec): Delete.
7576 (gdbserver_load): Rename to...
7577 (gdbserver_run): ...this. Simplify.
7578 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
7579 (mi_gdb_load): Move most contents to a new function...
7580 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
7581 (mi_run_cmd): Use mi_gdb_target_load.
7582 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
7583 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
7584 Use gdb_run_cmd.
7585 * gdb.base/charsign.exp: Remove incorrect comment.
7586 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
7587 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
7588 gdb.base/start.exp: Use gdb_start_cmd.
7589
446ab585 75902007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 7591 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
7592
7593 * gdb.base/sigbpt.exp: Fix the message when skipping test.
7594 * gdb.base/signull.exp: Similarly.
7595
bbb88ebf
UW
75962007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7597
7598 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
7599 messages available to test cases (like chng-sym.exp).
7600
cb8c4a99
AS
76012007-03-14 Andreas Schwab <schwab@suse.de>
7602
7603 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7604 format changes.
7605
4e463ff5
DJ
76062007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
7607
7608 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
7609 (optimized_1): New.
7610 (main): Call optimized_1.
7611 (gdb2029): Correct typos. Call gdb2029_marker.
7612 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
7613 for gdb2029.
7614
b6db2c47
MK
76152007-03-12 Mark Kettenis <kettenis@gnu.org>
7616
7617 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
7618 as tabs. Remove redundant test pattern.
7619
70ed3737
UW
76202007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7621
7622 * gdb.base/long_long.exp: Accept optional symbol name in <...>
7623 for /a format output.
7624
47b67b60
DJ
76252007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
7626
7627 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
7628 collect output incrementally.
7629
b8953b0e
UW
76302007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7631
7632 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
7633 for -var-create lpcharacter test.
7634 * gdb.mi/mi2-var-cmd.exp: Likewise.
7635
7acd5c40
UW
76362007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7637
7638 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
7639 pass on targets where address zero is readable.
7640
9c6759c1
UW
76412007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7642
7643 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
7644 just a single architecture.
7645
a2f1aeb4
UW
76462007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7647
7648 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
7649 (fetch_all_registers): New function, uses gdb_test_multiple and
7650 exp_continue to fetch inferior output line-by-line.
7651 Replace all uses of do_get_all_registers by fetch_all_registers.
7652
46579ac2
UW
76532007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7654
7655 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
7656 in target_info.
7657
fc133f24
MS
76582007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7659
a9c64011 7660 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
7661 consistancy; add a default (timeout) case.
7662
7646a51d
MS
76632007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7664
7665 * gdb.base/watchpoint.exp: Fix truncated comment.
7666
dcfff61f
MS
76672007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7668
7669 * Makefile.in: Remove spurious single-quotes from sed command.
7670
664e3ee9
DJ
76712007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7672
7673 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
7674 func.
7675 * gdb.mi/mi2-var-cmd.exp: Likewise.
7676
d7cc6f2f
JB
76772007-02-27 Joel Brobecker <brobecker@adacore.com>
7678
a9c64011
AS
7679 * gdb.dwarf2/dw2-producer.S: New file.
7680 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
7681
76822007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
7683
7684 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7685 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7686 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7687 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7688 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
7689 Revert tests to use mi_gdb_test and include value field in output
7690 of -var-create.
7691
93d42b30
DJ
76922007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7693
7694 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
7695
c499ed39
DJ
76962007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7697
7698 * gdb.base/maint.exp: Remove full paths from test names.
7699 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
7700 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
7701
9836f81b
JB
77022007-02-27 Joel Brobecker <brobecker@adacore.com>
7703
7704 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
7705
c74d0ad8
DJ
77062007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7707
7708 * gdb.server/server-mon.exp: New test.
7709
2711e456
DJ
77102007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7711
7712 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
7713
ff6f572f
DJ
77142007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7715
7716 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
7717 register capitalization.
7718
fada3feb
DP
77192007-02-13 Denis Pilat <denis.pilat@st.com>
7720
7721 * gdb.mi/mi-var-invalidate.exp: New file.
7722
fb1e4ffc
DJ
77232007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7724
7725 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
7726
3da939d7
DJ
77272007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7728
7729 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
7730
123dc839
DJ
77312007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7732
7733 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
7734 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
7735
877e3645 77362007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
7737
7738 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7739 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7740 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7741 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7742 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 7743 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 7744 Update tests to include value field in output of -var-create.
a9c64011 7745
3c0a2960
AS
77462007-02-08 Andreas Schwab <schwab@suse.de>
7747
7748 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
7749
108546a0
DJ
77502007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7751
7752 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
7753 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
7754
d701dcab
DP
77552007-02-02 Denis Pilat <denis.pilat@st.com>
7756
7757 * gdb.threads/threadapply.exp: check that frame is not changed by
7758 the thread apply all command.
7759
783e3e2f
AS
77602007-01-31 Andreas Schwab <schwab@suse.de>
7761
6d9c3a87
AS
7762 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7763
3c50d7b9
AS
7764 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
7765 in the dwarf sections.
7766 * gdb.dwarf2/mac-fileno.S: Likewise.
7767
783e3e2f
AS
7768 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
7769 bspstore register on ia64.
7770
78ff580e
AS
77712007-01-29 Andreas Schwab <schwab@suse.de>
7772
cc8e9b12
AS
7773 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
7774 "frame-begin" annotation.
7775
78ff580e
AS
7776 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
7777 number of "frames-invalid" annotations.
7778
704a4f78
DJ
77792007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7780
7781 * gdb.base/commands.exp: Call if_commands_test.
7782 (gdb_test_no_prompt, if_commands_test): New.
7783
e741bf94
MK
77842007-01-28 Mark Kettenis <kettenis@gnu.org>
7785
7786 * gdb.threads/sigthread.c (NSIGS): Make bigger.
7787
474d0ad3
AS
77882007-01-27 Andreas Schwab <schwab@suse.de>
7789
7790 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
7791 .short/.int/.quad in the dwarf sections.
7792 * gdb.dwarf2/dw2-intercu.S: Likewise.
7793 * gdb.dwarf2/dw2-intermix.S: Likewise.
7794
e784b426
JK
77952007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7796
7797 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
7798 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
7799 array.
e784b426
JK
7800 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
7801 * gdb.base/setvar.exp: Likewise.
7802
37f08e04
AS
78032007-01-26 Andreas Schwab <schwab@suse.de>
7804
9a01813a
AS
7805 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
7806 test.
7807
37f08e04
AS
7808 * gdb.base/multi-forks.exp ("restart $i"): Also match
7809 __kernel_syscall_via_break.
7810
6e2a9270
VP
78112007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7812
7813 * lib/mi-support.exp (mi_delete_varobj): New.
7814 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
7815 testcase.
7816 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
7817 (main): Call the above.
7818 (reference_update_test, base_in_reference_test)
7819 (reference_to_pointer): Delete the created varobjs.
a9c64011 7820
e515b470
DJ
78212007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
7822
7823 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
7824 * configure: Regenerated.
7825 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
7826 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
7827 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
7828 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
7829 * lib/gdb.exp (gdb_skip_xml_test): New function.
7830
08d8bcd7
DJ
78312007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
7832
7833 * gdb.base/sigrepeat.exp: Correct error message.
7834
78352007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
7836 Daniel Jacobowitz <dan@codesourcery.com>
7837
7838 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
7839 gdb.arch/i386-gnu-cfi-asm.S: New files.
7840
97c3f1f3
JK
78412007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7842
7843 * lib/gdb.exp: Abort on missing `site.exp'.
7844
cb1df416
DJ
78452007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7846 Daniel Jacobowitz <dan@codesourcery.com>
7847
7848 * gdb.base/included.c, gdb.base/included.exp,
7849 gdb.base/included.h: New files.
7850
35990120
DJ
78512007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7852
7853 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
7854 (maximize_rlimit): Reduce limits on 64-bit systems.
7855
6e81a116 78562007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
7857
7858 From Marcus Deuling <deuling@de.ibm.com>:
7859 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
7860 every case.
7861
6c3c41f3
NR
78622007-01-13 Nick Roberts <nickrob@snap.net.nz>
7863
7864 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
7865 (test_path_specification): Use objdir instead of srcdir to always
7866 get an absolute filename.
7867
2f12c312
DJ
78682007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
7869
7870 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
7871
81121995
VP
78722007-01-11 Vladimir Prus <vladimir@codesourcery.com>
7873
7874 * gdb.mi/mi-var-cp.cc (reference_update_tests):
7875 Make sure the variable we're using is in scope.
7876 (reference_to_pointer): Likewise.
7877
4741b737
DJ
78782007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7879
7880 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
7881 has no debug information.
7882
054410c3
DJ
78832007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7884
7885 * gdb.base/annota1.exp: Remove extra send_gdb.
7886
818f79f6
DJ
78872007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7888
7889 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
7890
f7a6bb70
DJ
78912007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7892
7893 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
7894
57e66780
DJ
78952007-01-08 Nick Roberts <nickrob@snap.net.nz>
7896 Daniel Jacobowitz <dan@codesourcery.com>
7897
7898 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
7899 lcharacter or linteger change. Correct duplicated test name.
7900 * gdb.mi/mi2-var-cmd.exp: Likewise.
7901
3d799a95
DJ
79022007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7903
7904 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
7905
79062007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 7907
a9c64011
AS
7908 * gdb.base/nofield.c: New file.
7909 * gdb.base/nofield.exp: New testcase.
51679ba9 7910
eafb94e8
NR
79112007-01-05 Nick Roberts <nickrob@snap.net.nz>
7912
7913 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
7914
7915 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
7916 test.
7917
5e572bb4
DJ
79182007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7919
7920 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
7921
74a44383
DJ
79222007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7923
7924 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
7925 when continuing.
7926
1b572db9
DJ
79272007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7928
7929 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
7930 Expect ".exe" extension.
7931
381bc39b
DJ
79322007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7933
7934 * gdb.base/charset.exp: Add explicit filename to break.
7935 * gdb.base/dbx.exp: Add explicit filename to breaks.
7936
2b70e4c6
DJ
79372007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
7938
7939 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
7940 * gdb.mi/mi2-file.exp: Likewise.
7941
303b6f5d
DJ
79422007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7943
7944 Implement specification of MI tests as comments
7945 in C and C++ sources.
7946 * lib/mi-support.exp (mi_autotest_data): New variable.
7947 (mi_autotest_source): New variable.
7948 (count_newlines, mi_prepare_inline_tests)
7949 (mi_get_inline_test, mi_continue_to_line)
7950 (mi_run_inline_test, mi_tbreak)
7951 (mi_send_resuming_command, mi_wait_for_stop): New functions.
7952 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
7953 Run inline tests.
7954 * gdb.mi/mi-var-cp.cc: Define tests here.
7955
23da0d94
VP
79562007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7957
7958 Simplify usage of mi_continue_to.
7959 * lib/mi-support.exp (mi_runto_helper): Renamed
7960 from mi_runto, added new parameter 'run_or_continue'.
7961 (mi_runto): Use mi_runto_helper.
7962 (mi_continue_to): Accept just function name as parameter.
7963 Use mi_runto_helper.
7964 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
7965 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 7966
f9e18282
JB
79672006-01-04 Joel Brobecker <brobecker@adacore.com>
7968
7969 Make this testcase a bit more realistic. The current code
7970 is too simplistic, and allows the compiler to optimize out
7971 some of the entities we need for this testcase.
7972 * gdb.ada/null_record/bar.ads (Void_Star): New type.
7973 (Do_Nothing): Add extra parameter.
7974 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
7975 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
7976 by using a variable of type Void_Star.
7977
fd678c65
JB
79782006-01-04 Joel Brobecker <brobecker@adacore.com>
7979
7980 * gdb.ada/catch_ex/foo.adb: New file.
7981 * gdb.ada/catch_ex.exp: New testcase.
7982
05cfdb42
DJ
79832007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
7984
7985 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
7986 pass --image-base to linker.
7987
2e03ee74
DJ
79882007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7989 Daniel Jacobowitz <dan@codesourcery.com>
7990
7991 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
7992 secondary prompts.
7993
0d5de010
DJ
79942007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7995
7996 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
7997 output. Test the types of members and member pointers.
7998 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
7999 gdb/2092.
8000 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8001 statement. Enable for GCC. Update expected output for some tests
8002 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8003 layout.
8004 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8005 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8006 (Diamond::vget_base): New.
8007 (main): Add new tests.
8008 * gdb.cp/printmethod.exp: Update expected output for member functions.
8009 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8010 print pEe->D::vg().
8011
61a771aa
DJ
80122007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8013
8014 * gdb.threads/tls.exp: Allow stops in sem_post.
8015
2fa63963
DJ
80162006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8017
8018 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8019 * gdb.base/annota3.exp: Likewise.
8020 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8021 again (instead of timing out).
8022 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8023 GCC bug 26475.
8024 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8025 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8026 test from jmisc1.exp.
8027 * gdb.java/jmisc1.exp: Delete.
8028 * gdb.java/jprint.exp: Adjust to work with method signatures including
8029 return types.
8030 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8031 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8032 * lib/java.exp (compile_java_from_source): Pass the correct type
8033 to target_compile.
8034
5eefc2b7
JB
80352006-12-31 Joel Brobecker <brobecker@adacore.com>
8036
8037 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8038 (stack_align_edx): New function.
8039 (stack_align_eax): New function.
8040 (main): Add calls to stack_align_edx and stack_align_eax.
8041 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8042 Add testing for the cases where the register used during a stack
8043 realignment is edx. Same for eax.
8044
227c54da
DJ
80452006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8046
8047 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8048 and generic PE targets.
8049
cab8ac94
JB
80502006-12-29 Joel Brobecker <brobecker@adacore.com>
8051
8052 * gdb.ada/array_return.exp: Update copyright date list.
8053
ba54f318
JB
80542006-12-27 Joel Brobecker <brobecker@adacore.com>
8055
8056 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8057 (Create_Small_Float_Vector): New function.
8058 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8059 function body.
8060 * gdb.ada/array_return/p.adb: Use new type and function from
8061 package Pck.
8062 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8063 able to print the value returned by a function returning an
8064 array of float.
8065
6b7a35dd
JB
80662006-12-20 Joel Brobecker <brobecker@adacore.com>
8067
8068 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8069 The associated tests should be PASSing.
8070
038224f6
VP
80712006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8072
8073 Test for base in references.
8074 * gdb.mi/mi-var-cp.cc: Add test code.
8075 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8076 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8077 * gdb.mi/mi2-watch.exp: Likewise.
8078 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8079 (mi_list_varobj_children): New function.
8080
b26ed50d
VP
80812006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8082
8083 * lib/mi-support.exp
8084 (mi_runto): Accept "()" after function name.
8085 (mi_create_varobj): New function.
8086 (mi_varobj_update): New function.
8087 (mi_Check_varobj_value): New function.
8088 * gdb.mi/mi-var-cp.exp: New file.
8089 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 8090
08232497
DJ
80912006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8092
8093 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8094 gdb.base/weaklib2.c: New files.
8095
d394c993 80962006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 8097
ac6c2fba
NS
8098 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8099 info. Adjust test names.
8100
8ec659a0 8101 * gdb.base/break.c (main): Move position of malloc.
d394c993 8102 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 8103
acd65feb
VP
81042006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8105
8106 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8107 assignement of arrays and function pointers.
8108 * gdb.mi/var-cmd.c: Add declaration necessary for above
8109 tests.
8110
f556d5e5
NS
81112006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8112
8113 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
8114
8115 * gdb.threads/linux-dp.exp: Read thread table before and after
8116 creating each philosopher and verify it.
8117
697bc68d
NS
81182006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8119 Paul Brook <paul@codesourcery.com>
8120 Daniel Jacobowitz <dan@codesourcery.com>
8121
8122 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 8123 main to remove duplication. Add start function of the form
697bc68d
NS
8124 '_*start[1-9]*'. Add RVDS start function.
8125
29d73ae4
DJ
81262006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8127
8128 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8129
c1d88655
UW
81302006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8131
8132 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8133 * gdb.asm/spu.inc: New file.
8134 * gdb.base/term.exp: Disable if [target_info exists noargs].
8135 * gdb.gdb/complaints.exp: Disable if ![isnative].
8136 * gdb.gdb/selftest.exp: Likewise.
8137 * gdb.gdb/observer.exp: Likewise.
8138 * gdb.gdb/xfullpath.exp: Likewise.
8139 * gdb.base/attach.exp: Disable on SPU target.
8140 * gdb.cp/bs145503.exp: Likewise.
8141 * gdb.cp/exception.exp: Likewise.
8142 * gdb.cp/userdef.exp: Likewise.
8143
32a13b1a
DJ
81442006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8145
8146 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8147
d8295fe9
VP
81482006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8149
8150 * gdb.base/completion.exp: Fix completion tests for
8151 'info' and 'info '.
8152 * gdb.base/help.exp (help_test_raw, test_class_help)
8153 (test_prefix_command_help): Move...
8154 * lib/gdb.exp: Here.
8155 * gdb.base/main.exp: Adjust.
8156 * gdb.cp/maint.exp: Adjust.
8157 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 8158
8c394015
VP
81592006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8160
8161 * gdb.stabs/weird.exp (print_weird_var): Use
8162 gdb_test_multiple instead of gdb_expect.
8163
027fc1bc
VP
81642006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8165
8166 * gdb.base/help.exp (help_test_raw): New.
8167 (test_class_help): New.
8168 (test_prefix_command_help): New.
8169 Adjust testcases.
8170
67609209
FR
81712006-11-09 Christophe Lyon <christophe.lyon@st.com>
8172
8173 * gdb.base/constvars.c (main): Write to crass and crips, so that
8174 they are allocated by the compiler.
8175
f73adfeb
AS
81762006-10-27 Andreas Schwab <schwab@suse.de>
8177
8178 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8179 "detach-fork".
8180
2f83a18e
DJ
81812006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8182
8183 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8184 of patterns.
8185
94277a38
DJ
81862006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8187
8188 * gdb.base/sepdebug.exp: Remove debug format test.
8189 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8190 Handle no-symtab.
8191 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8192
5bd2f6e2
DJ
81932006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8194
8195 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8196 int to pointer or pointer to int.
8197 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8198
8c008720
DJ
81992006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8200
8201 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8202
9e35dae4
DJ
82032006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8204
8205 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8206
d9639e13
DJ
82072006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8208
8209 PR c++/2116
8210 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8211
390a1bd0
JB
82122006-10-06 Joel Brobecker <brobecker@adacore.com>
8213
8214 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8215 the corresponding bug has been fixed in GDB (PR/2018).
8216
dd920c33
JB
82172006-10-06 Joel Brobecker <brobecker@adacore.com>
8218
8219 * gdb.base/subst.exp: New testcase.
8220
53bbefe9
JB
82212006-10-06 Joel Brobecker <brobecker@adacore.com>
8222
8223 * gdb.ada/array_return/pck.ads: Add copyright notice.
8224 * gdb.ada/array_return/pck.adb: Likewise.
8225 * gdb.ada/array_return/p.adb: Likewise.
8226 * gdb.ada/exec_changed/first.adb: Likewise.
8227 * gdb.ada/exec_changed/second.adb: Likewise.
8228
09851417
JB
82292006-10-06 Joel Brobecker <brobecker@adacore.com>
8230
8231 * gdb.ada/watch_arg/watch.adb: New file.
8232 * gdb.ada/watch_arg.exp: New testcase.
8233
041bf30d
VP
82342006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8235
8236 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 8237 via string_to_regexp.
041bf30d 8238 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 8239
f286fbdd 82402006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
8241
8242 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8243 Remove unused / obsolete files.
8244
7c07f349
NR
82452006-09-19 Nick Roberts <nickrob@snap.net.nz>
8246
8247 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8248
cd5ff84a
VP
82492006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8250
8251 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8252 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 8253 the number of frames.
cd5ff84a 8254
ae018d1a
DJ
82552006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8256
8257 * gdb.base/args.c (main): Add breakpoint marker.
8258 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8259 really test empty arguments.
8260 (args_load): Delete.
8261 (args_test): New.
8262
b399c549
NR
82632006-09-13 Nick Roberts <nickrob@snap.net.nz>
8264
8265 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 8266 check for one file.
b399c549 8267
2ab1eb7a
VP
82682006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8269
8270 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8271 HIGH_FRAME argument to -stack-list-locals can be larger than
8272 the number of frames.
a9c64011 8273
476308bf
FF
82742006-08-18 Fred Fish <fnf@specifix.com>
8275
8276 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8277 '$' in front of skip_vmx_tests_saved when setting that.
8278
8625200f
AS
82792006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8280
8281 * gdb.base/trace-commands.exp: New file.
8282
089ec8f1
DJ
82832006-08-10 Joel Brobecker <brobecker@adacore.com>
8284 Daniel Jacobowitz <dan@codesourcery.com>
8285
8286 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8287 expected output of the backtrace commands.
8288
b60f0898
JB
82892006-08-09 Joel Brobecker <brobecker@adacore.com>
8290
8291 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8292 untested followed by return combination.
8293 * gdb.arch/altivec-regs.exp: Likewise.
8294 * gdb.arch/e500-abi.exp: Likewise.
8295 * gdb.arch/e500-regs.exp: Likewise.
8296 * gdb.arch/gdb1291.exp: Likewise.
8297 * gdb.arch/gdb1431.exp: Likewise.
8298 * gdb.arch/gdb1558.exp: Likewise.
8299 * gdb.arch/i386-prologue.exp: Likewise.
8300 * gdb.arch/i386-unwind.exp: Likewise.
8301 * gdb.asm/asm-source.exp: Likewise.
8302 * gdb.base/a2-run.exp: Likewise.
8303 * gdb.base/advance.exp: Likewise.
8304 * gdb.base/all-bin.exp: Likewise.
8305 * gdb.base/annota1.exp: Likewise.
8306 * gdb.base/annota3.exp: Likewise.
8307 * gdb.base/args.exp: Likewise.
8308 * gdb.base/arithmet.exp: Likewise.
8309 * gdb.base/assign.exp: Likewise.
8310 * gdb.base/async.exp: Likewise.
8311 * gdb.base/attach.exp: Likewise.
8312 * gdb.base/bang.exp: Likewise.
8313 * gdb.base/bigcore.exp: Likewise.
8314 * gdb.base/bitfields.exp: Likewise.
8315 * gdb.base/bitfields2.exp: Likewise.
8316 * gdb.base/break.exp: Likewise.
8317 * gdb.base/call-sc.exp: Likewise.
8318 * gdb.base/call-strs.exp: Likewise.
8319 * gdb.base/callfuncs.exp: Likewise.
8320 * gdb.base/checkpoint.exp: Likewise.
8321 * gdb.base/chng-syms.exp: Likewise.
8322 * gdb.base/code-expr.exp: Likewise.
8323 * gdb.base/commands.exp: Likewise.
8324 * gdb.base/completion.exp: Likewise.
8325 * gdb.base/cond-expr.exp: Likewise.
8326 * gdb.base/condbreak.exp: Likewise.
8327 * gdb.base/consecutive.exp: Likewise.
8328 * gdb.base/constvars.exp: Likewise.
8329 * gdb.base/corefile.exp: Likewise.
8330 * gdb.base/cvexpr.exp: Likewise.
8331 * gdb.base/dbx.exp: Likewise.
8332 * gdb.base/define.exp: Likewise.
8333 * gdb.base/detach.exp: Likewise.
8334 * gdb.base/display.exp: Likewise.
8335 * gdb.base/dump.exp: Likewise.
8336 * gdb.base/ena-dis-br.exp: Likewise.
8337 * gdb.base/ending-run.exp: Likewise.
8338 * gdb.base/environ.exp: Likewise.
8339 * gdb.base/eval-skip.exp: Likewise.
8340 * gdb.base/exprs.exp: Likewise.
8341 * gdb.base/fileio.exp: Likewise.
8342 * gdb.base/finish.exp: Likewise.
8343 * gdb.base/float.exp: Likewise.
8344 * gdb.base/foll-exec.exp: Likewise.
8345 * gdb.base/foll-fork.exp: Likewise.
8346 * gdb.base/foll-vfork.exp: Likewise.
8347 * gdb.base/freebpcmd.exp: Likewise.
8348 * gdb.base/funcargs.exp: Likewise.
8349 * gdb.base/gcore.exp: Likewise.
8350 * gdb.base/gdb1090.exp: Likewise.
8351 * gdb.base/gdb1250.exp: Likewise.
8352 * gdb.base/huge.exp: Likewise.
8353 * gdb.base/info-proc.exp: Likewise.
8354 * gdb.base/interrupt.exp: Likewise.
8355 * gdb.base/jump.exp: Likewise.
8356 * gdb.base/langs.exp: Likewise.
8357 * gdb.base/lineinc.exp: Likewise.
8358 * gdb.base/list.exp: Likewise.
8359 * gdb.base/logical.exp: Likewise.
8360 * gdb.base/long_long.exp: Likewise.
8361 * gdb.base/macscp.exp: Likewise.
8362 * gdb.base/maint.exp: Likewise.
8363 * gdb.base/mips_pro.exp: Likewise.
8364 * gdb.base/miscexprs.exp: Likewise.
8365 * gdb.base/multi-forks.exp: Likewise.
8366 * gdb.base/opaque.exp: Likewise.
8367 * gdb.base/overlays.exp: Likewise.
8368 * gdb.base/pc-fp.exp: Likewise.
8369 * gdb.base/pointers.exp: Likewise.
8370 * gdb.base/printcmds.exp: Likewise.
8371 * gdb.base/psymtab.exp: Likewise.
8372 * gdb.base/ptype.exp: Likewise.
8373 * gdb.base/recurse.exp: Likewise.
8374 * gdb.base/relational.exp: Likewise.
8375 * gdb.base/relocate.exp: Likewise.
8376 * gdb.base/remote.exp: Likewise.
8377 * gdb.base/reread.exp: Likewise.
8378 * gdb.base/restore.exp: Likewise.
8379 * gdb.base/return.exp: Likewise.
8380 * gdb.base/return2.exp: Likewise.
8381 * gdb.base/scope.exp: Likewise.
8382 * gdb.base/sect-cmd.exp: Likewise.
8383 * gdb.base/sep.exp: Likewise.
8384 * gdb.base/sepdebug.exp: Likewise.
8385 * gdb.base/setshow.exp: Likewise.
8386 * gdb.base/setvar.exp: Likewise.
8387 * gdb.base/sigall.exp: Likewise.
8388 * gdb.base/sigbpt.exp: Likewise.
8389 * gdb.base/signals.exp: Likewise.
8390 * gdb.base/signull.exp: Likewise.
8391 * gdb.base/sizeof.exp: Likewise.
8392 * gdb.base/solib.exp: Likewise.
8393 * gdb.base/step-line.exp: Likewise.
8394 * gdb.base/step-test.exp: Likewise.
8395 * gdb.base/structs.exp: Likewise.
8396 * gdb.base/structs2.exp: Likewise.
8397 * gdb.base/term.exp: Likewise.
8398 * gdb.base/twice.exp: Likewise.
8399 * gdb.base/until.exp: Likewise.
8400 * gdb.base/varargs.exp: Likewise.
8401 * gdb.base/volatile.exp: Likewise.
8402 * gdb.base/watchpoint.exp: Likewise.
8403 * gdb.base/whatis-exp.exp: Likewise.
8404 * gdb.base/whatis.exp: Likewise.
8405 * gdb.cp/ambiguous.exp: Likewise.
8406 * gdb.cp/annota2.exp: Likewise.
8407 * gdb.cp/annota3.exp: Likewise.
8408 * gdb.cp/bool.exp: Likewise.
8409 * gdb.cp/breakpoint.exp: Likewise.
8410 * gdb.cp/casts.exp: Likewise.
8411 * gdb.cp/class2.exp: Likewise.
8412 * gdb.cp/classes.exp: Likewise.
8413 * gdb.cp/cplusfuncs.exp: Likewise.
8414 * gdb.cp/ctti.exp: Likewise.
8415 * gdb.cp/derivation.exp: Likewise.
8416 * gdb.cp/exception.exp: Likewise.
8417 * gdb.cp/gdb1355.exp: Likewise.
8418 * gdb.cp/hang.exp: Likewise.
8419 * gdb.cp/inherit.exp: Likewise.
8420 * gdb.cp/local.exp: Likewise.
8421 * gdb.cp/m-data.exp: Likewise.
8422 * gdb.cp/m-static.exp: Likewise.
8423 * gdb.cp/member-ptr.exp: Likewise.
8424 * gdb.cp/method.exp: Likewise.
8425 * gdb.cp/misc.exp: Likewise.
8426 * gdb.cp/namespace.exp: Likewise.
8427 * gdb.cp/overload.exp: Likewise.
8428 * gdb.cp/ovldbreak.exp: Likewise.
8429 * gdb.cp/pr-1023.exp: Likewise.
8430 * gdb.cp/pr-1210.exp: Likewise.
8431 * gdb.cp/pr-574.exp: Likewise.
8432 * gdb.cp/printmethod.exp: Likewise.
8433 * gdb.cp/psmang.exp: Likewise.
8434 * gdb.cp/ref-params.exp: Likewise.
8435 * gdb.cp/ref-types.exp: Likewise.
8436 * gdb.cp/rtti.exp: Likewise.
8437 * gdb.cp/templates.exp: Likewise.
8438 * gdb.cp/try_catch.exp: Likewise.
8439 * gdb.cp/userdef.exp: Likewise.
8440 * gdb.cp/virtfunc.exp: Likewise.
8441 * gdb.disasm/am33.exp: Likewise.
8442 * gdb.disasm/h8300s.exp: Likewise.
8443 * gdb.disasm/mn10300.exp: Likewise.
8444 * gdb.disasm/sh3.exp: Likewise.
8445 * gdb.disasm/t01_mov.exp: Likewise.
8446 * gdb.disasm/t02_mova.exp: Likewise.
8447 * gdb.disasm/t03_add.exp: Likewise.
8448 * gdb.disasm/t04_sub.exp: Likewise.
8449 * gdb.disasm/t05_cmp.exp: Likewise.
8450 * gdb.disasm/t06_ari2.exp: Likewise.
8451 * gdb.disasm/t07_ari3.exp: Likewise.
8452 * gdb.disasm/t08_or.exp: Likewise.
8453 * gdb.disasm/t09_xor.exp: Likewise.
8454 * gdb.disasm/t10_and.exp: Likewise.
8455 * gdb.disasm/t11_logs.exp: Likewise.
8456 * gdb.disasm/t12_bit.exp: Likewise.
8457 * gdb.disasm/t13_otr.exp: Likewise.
8458 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
8459 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
8460 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8461 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
8462 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
8463 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
8464 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
8465 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
8466 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
8467 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
8468 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
8469 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
8470 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
8471 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
8472 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
8473 * gdb.mi/gdb701.exp: Likewise.
8474 * gdb.mi/gdb792.exp: Likewise.
8475 * gdb.mi/mi-basics.exp: Likewise.
8476 * gdb.mi/mi-break.exp: Likewise.
8477 * gdb.mi/mi-cli.exp: Likewise.
8478 * gdb.mi/mi-console.exp: Likewise.
8479 * gdb.mi/mi-disassemble.exp: Likewise.
8480 * gdb.mi/mi-eval.exp: Likewise.
8481 * gdb.mi/mi-file.exp: Likewise.
8482 * gdb.mi/mi-read-memory.exp: Likewise.
8483 * gdb.mi/mi-regs.exp: Likewise.
8484 * gdb.mi/mi-return.exp: Likewise.
8485 * gdb.mi/mi-simplerun.exp: Likewise.
8486 * gdb.mi/mi-stack.exp: Likewise.
8487 * gdb.mi/mi-stepi.exp: Likewise.
8488 * gdb.mi/mi-syn-frame.exp: Likewise.
8489 * gdb.mi/mi-until.exp: Likewise.
8490 * gdb.mi/mi-var-block.exp: Likewise.
8491 * gdb.mi/mi-var-child.exp: Likewise.
8492 * gdb.mi/mi-var-cmd.exp: Likewise.
8493 * gdb.mi/mi-var-display.exp: Likewise.
8494 * gdb.mi/mi-watch.exp: Likewise.
8495 * gdb.mi/mi2-basics.exp: Likewise.
8496 * gdb.mi/mi2-break.exp: Likewise.
8497 * gdb.mi/mi2-cli.exp: Likewise.
8498 * gdb.mi/mi2-console.exp: Likewise.
8499 * gdb.mi/mi2-disassemble.exp: Likewise.
8500 * gdb.mi/mi2-eval.exp: Likewise.
8501 * gdb.mi/mi2-file.exp: Likewise.
8502 * gdb.mi/mi2-read-memory.exp: Likewise.
8503 * gdb.mi/mi2-regs.exp: Likewise.
8504 * gdb.mi/mi2-return.exp: Likewise.
8505 * gdb.mi/mi2-simplerun.exp: Likewise.
8506 * gdb.mi/mi2-stack.exp: Likewise.
8507 * gdb.mi/mi2-stepi.exp: Likewise.
8508 * gdb.mi/mi2-syn-frame.exp: Likewise.
8509 * gdb.mi/mi2-until.exp: Likewise.
8510 * gdb.mi/mi2-var-block.exp: Likewise.
8511 * gdb.mi/mi2-var-child.exp: Likewise.
8512 * gdb.mi/mi2-var-cmd.exp: Likewise.
8513 * gdb.mi/mi2-var-display.exp: Likewise.
8514 * gdb.mi/mi2-watch.exp: Likewise.
8515 * gdb.stabs/exclfwd.exp: Likewise.
8516 * gdb.stabs/weird.exp: Likewise.
8517 * gdb.threads/gcore-thread.exp: Likewise.
8518 * gdb.trace/actions.exp: Likewise.
8519 * gdb.trace/backtrace.exp: Likewise.
8520 * gdb.trace/circ.exp: Likewise.
8521 * gdb.trace/collection.exp: Likewise.
8522 * gdb.trace/deltrace.exp: Likewise.
8523 * gdb.trace/infotrace.exp: Likewise.
8524 * gdb.trace/limits.exp: Likewise.
8525 * gdb.trace/packetlen.exp: Likewise.
8526 * gdb.trace/passc-dyn.exp: Likewise.
8527 * gdb.trace/passcount.exp: Likewise.
8528 * gdb.trace/report.exp: Likewise.
8529 * gdb.trace/save-trace.exp: Likewise.
8530 * gdb.trace/tfind.exp: Likewise.
8531 * gdb.trace/tracecmd.exp: Likewise.
8532 * gdb.trace/while-dyn.exp: Likewise.
8533 * gdb.trace/while-stepping.exp: Likewise.
8534
f4b618d1
JB
85352006-08-08 Joel Brobecker <brobecker@adacore.com>
8536
8537 * gdb.base/step-bt.c: New file.
8538 * gdb.base/step-bt.exp: New testcase.
8539
3d00d119
DJ
85402006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
8541
8542 * config/monitor.exp (gdb_load): Remove support for obsolete
8543 download-write-size.
8544 * gdb.base/remote.exp: Likewise. Update all callers of
8545 gdb_timed_load.
8546
017b5bd4
DJ
85472006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * cursal.exp: Pass binfile to gdb_load.
8550
837c599d
DJ
85512006-08-01 Nathan Sidwell <nathan@codesourcery.com>
8552
8553 * gdb.base/cursal.exp: Add "" to gdb_load call.
8554
8dd4540b
MK
85552006-07-29 Mark Kettenis <kettenis@gnu.org>
8556
8557 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
8558 NetBSD/ELF targets.
8559
ab5c9f60
DJ
85602006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
8561
8562 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
8563 operator*.
8564
4c42eaff
DJ
85652006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
8566
8567 * gdb.base/completion.exp: Update for change in "file" behavior.
8568 * gdb.stabs/weird.exp: Likewise.
8569 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
8570 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
8571
0155cc76
NS
85722006-07-24 Nathan Sidwell <nathan@codesourcery.com>
8573
8574 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
8575 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
8576
16026cd7
AS
85772006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
8578
8579 * gdb.base/default.exp: Update source command error message.
8580 * gdb.base/help.exp: Update 'help source' message.
8581
16963cb6
DJ
85822006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
8583
8584 * gdb.cp/bs15503.exp: Update comment for no longer crashing
8585 test.
8586
6d7fd486
AS
85872006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
8588
8589 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
8590
29e8a844
DJ
85912006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8592
8593 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
8594
6afcfa39
DJ
85952006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8596
8597 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
8598
267a692b
MK
85992006-07-17 Mark Kettenis <kettenis@gnu.org>
8600
8601 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
8602 *-*-openbsd* from targets for wich we expect ARM FPA floating
8603 point format.
8604
85d2fec4
NR
86052006-07-17 Nick Roberts <nickrob@snap.net.nz>
8606
8607 * gdb.cp/annota3.exp: Expect frame-begin annotation.
8608
86092006-07-17 Mark Kettenis <kettenis@gnu.org>
8610
8611 * gdb.base/annota3.exp: Expect frame-begin annotation.
8612
85b4c6e8
JB
86132006-07-14 Joel Brobecker <brobecker@adacore.com>
8614
8615 * gdb.base/help.exp: Adjust "help unset" test to accept
8616 any list of unset commands.
8617
fb933624
DJ
86182006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
8619 Daniel Jacobowitz <dan@codesourcery.com>
8620
8621 * gdb.cp/ref-params.exp: New test.
8622 * gdb.cp/ref-params.cc: New source file.
8623 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
8624
1dff4b64
MK
86252006-07-08 Mark Kettenis <kettenis@gnu.org>
8626
8627 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
8628 spaces/tabs in regular expressions since they might not be there.
8629
40d2e0e3
AS
86302006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
8631
8632 * gdb.base/ifelse.exp: New file.
8633
f6c957d2
NS
86342006-07-04 Nathan Sidwell <nathan@codesourcery.com>
8635
8636 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
8637 line.
8638 * gdb.base/huge.exp: Loop over compilation to find a size that
8639 is acceptable.
8640 * gdb.base/remote.exp: Correct expected strings.
8641 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
8642
b9c5a23d
DJ
86432006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8644
8645 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
8646
9af2e58d
DJ
86472006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8648
8649 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
8650 native.
8651
30930ca5
DJ
86522006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8653
8654 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
8655 enable stabs testing.
8656
aa32fa1d
DJ
86572006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8658
bd4a4c80 8659 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
8660 gdb_test_multiple does.
8661
321fef15
DJ
86622006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8663
8664 * Makefile.in (host_alias): Remove.
8665 (target_alias): Use @target_noncanonical@.
8666 (site.exp): Don't set host_alias.
8667 * aclocal.m4: Remove contents. Include acx.m4.
8668 * configure: Regenerated.
8669 * configure.ac: Use ACX_NONCANONICAL_TARGET.
8670
e1c2defa
NS
86712006-06-13 Nathan Sidwell <nathan@codesourcery.com>
8672
e63b55d1
NS
8673 * lib/gdb.exp (gdb_load_cmd): New.
8674
5600ea19
NS
8675 * gdb.base/fileio.c: Add system(NULL) test.
8676 * gdb.base/fileio.exp: Check it.
8677
e1c2defa
NS
8678 * gdb.base/break.c: Add 10a breakpoint at }
8679 * gdb.base/break.exp: Add test for breakpoint at }
8680 * gdb.cp/anon-union.cc: Add code at end of function.
8681 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
8682 * gdb.mi/var-cmd.c: Add code at end of function.
8683 * gdb.mi/mi-var-display.exp: Adjust end of next.
8684 * gdb.mi/mi2-var-display.exp: Likewise.
8685 * gdb.base/fileio.c: Add stop function and insert calls at
8686 stopping places.
8687 * gdb.base/fileio.exp: Breakpoint stop function and remove
8688 explicit line number references.
8689
6c0112ec
JB
86902006-05-19 Joel Brobecker <brobecker@adacore.com>
8691
a9c64011
AS
8692 * gdb.base/del.exp (test_delete_alias): New function.
8693 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 8694
154189a4
FF
86952006-05-18 Fred Fish <fnf@specifix.com>
8696
8697 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
8698 required. Check for spurious output after program exits normally.
8699
582e64c2
FF
87002006-05-17 Fred Fish <fnf@specifix.com>
8701
8702 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
8703 gdb_load, so it works in the simulator.
8704
8ef6493a
FF
87052006-05-11 Fred Fish <fnf@specifix.com>
8706
8707 * gdb.base/bang.exp: Ignore unexpected output between the
8708 "program exited normally" and the gdb prompt, as many other
8709 tests do.
8710
692b141c
MK
87112006-05-07 Mark Kettenis <kettenis@gnu.org>
8712
8713 * gdb.base/help.exp: Make "delete checkpoint" part option for
8714 "help d" and "help delete" tests.
8715
540b8a30
UW
87162006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8717
a9c64011 8718 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
8719 expected output in some mi_gdb_test statements.
8720 * gdb.mi/mi2-basics.exp: Likewise.
8721
9b6462d9
JB
87222006-05-05 Joel Brobecker <brobecker@adacore.com>
8723
8724 * gdb.base/del.c: New file.
8725 * gdb.base/del.exp: New testcase.
8726
954de43b
DM
87272006-05-05 David S. Miller <davem@sunset.davemloft.net>
8728
8729 * gdb.base/break.exp: Do not assume a breakpoint on
8730 main will actually be in $srcfile when optimizing.
1303f75e
DM
8731 * gdb.base/savedregs.exp: Do not require that the dummy
8732 frame location match up to a symbol and source file location.
c3242428
DM
8733 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
8734 will get printed without a mi_cmd_data_list_register_values prefix.
8735 (*-data-list-register-*): Correct regular expressions to expect the new
8736 pseudo d? floating point registers.
8737 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 8738
c7e64c9a
DJ
87392006-05-05 Christophe Lyon <christophe.lyon@st.com>
8740
8741 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
8742 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
8743 is allocated by the compiler.
8744 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
8745 anons, e, anone to force their allocation by the compiler.
8746
87472006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
8748
8749 * gdb.base/help.exp: Update expected text for help d and
8750 help delete.
8751
27ce9a6d
MK
87522006-05-02 Mark Kettenis <kettenis@gnu.org>
8753
8754 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
8755 NetBSD/ELF targets.
8756
8608915f
MK
87572006-04-30 Mark Kettenis <kettenis@gnu.org>
8758
8759 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
8760 single-step breakpoint fails; make this a KFAIL on
8761 sparc*-*-openbsd*.
8762 * gdb.base/siginfo.exp: Likewise.
8763 * gdb.base/sigstep.exp (advance, advancei): Likewise.
8764
b8db102d
MS
87652006-04-26 Michael Snyder <msnyder@redhat.com>
8766
8767 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
8768 which may have to consume output from other forks.
8769 Add tests to make sure that "delete fork" succeeded.
8770
c702009a
MS
87712006-04-20 Michael Snyder <msnyder@redhat.com>
8772
8773 * 2006-03-22 Jim Blandy <jimb@redhat.com>
8774 Add support for the Renesas M32C and M16C.
8775
8776 * gdb.asm/asm-source.exp: Add m32c target.
8777 * gdb.asm/m32c.inc: Support for m32c target.
8778
e28493f2
AS
87792006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
8780
8781 * gdb.base/commands.exp (recursive_source_test): New test.
8782
880da185
DM
87832006-04-04 David S. Miller <davem@sunset.davemloft.net>
8784
8785 * gdb.base/float.exp: Add pattern for sparc targets.
8786
61d9b92f
DJ
87872006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8788
8789 * gdb.base/commands.exp (stray_arg0_test): New test.
8790
bd717df8
PB
87912006-03-30 Paul Brook <paul@codesourcery.com>
8792
8793 * gdb.mi/mi-until.exp: kfail broken until command.
8794 * gdb.mi/mi2-until.exp: Ditto.
8795
ec793d3c
NR
87962006-03-27 Nick Roberts <nickrob@snap.net.nz>
8797
8798 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
8799
831004b7
AO
88002006-03-08 Alexandre Oliva <aoliva@redhat.com>
8801
8802 * gdb.base/prelink.exp: Anchor tested-for regular expression
8803 on gdb prompt.
8804
effe49a0
PB
88052006-03-07 Paul Brook <paul@codesourcery.com>
8806
8807 * gdb.base/assign.exp: Correct fail message.
8808
e5461016
PB
88092006-03-07 Paul Brook <paul@codesourcery.com>
8810
8811 * lib/compiler.c: Extract armcc version number.
8812 * lib/compiler.cc: Ditto.
8813
fc91c6c2
PB
88142006-03-07 Paul Brook <paul@codesourcery.com>
8815
8816 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
8817 additional_flags=-w.
8818 * gdb.arch/altivec-regs.exp: Ditto.
8819 * gdb.arch/e500-abi.exp: Ditto.
8820 * gdb.arch/e500-regs.exp: Ditto.
8821 * gdb.base/all-bin.exp: Ditto.
8822 * gdb.base/annota1.exp: Ditto.
8823 * gdb.base/annota3.exp: Ditto.
8824 * gdb.base/args.exp: Ditto.
8825 * gdb.base/arithmet.exp: Ditto.
8826 * gdb.base/assign.exp: Ditto.
8827 * gdb.base/async.exp: Ditto.
8828 * gdb.base/bang.exp: Ditto.
8829 * gdb.base/break.exp: Ditto.
8830 * gdb.base/call-rt-st.exp: Ditto.
8831 * gdb.base/completion.exp: Ditto.
8832 * gdb.base/cond-expr.exp: Ditto.
8833 * gdb.base/condbreak.exp: Ditto.
8834 * gdb.base/consecutive.exp: Ditto.
8835 * gdb.base/define.exp: Ditto.
8836 * gdb.base/display.exp: Ditto.
8837 * gdb.base/ena-dis-br.exp: Ditto.
8838 * gdb.base/environ.exp: Ditto.
8839 * gdb.base/eval-skip.exp: Ditto.
8840 * gdb.base/info-proc.exp: Ditto.
8841 * gdb.base/jump.exp: Ditto.
8842 * gdb.base/logical.exp: Ditto.
8843 * gdb.base/long_long.exp: Ditto.
8844 * gdb.base/maint.exp: Ditto.
8845 * gdb.base/miscexprs.exp: Ditto.
8846 * gdb.base/pc-fp.exp: Ditto.
8847 * gdb.base/pointers.exp: Ditto.
8848 * gdb.base/relational.exp: Ditto.
8849 * gdb.base/reread.exp: Ditto.
8850 * gdb.base/sect-cmd.exp: Ditto.
8851 * gdb.base/sep.exp: Ditto.
8852 * gdb.base/sepdebug.exp: Ditto.
8853 * gdb.base/until.exp: Ditto.
8854 * gdb.base/whatis-exp.exp: Ditto.
8855 * gdb.cp/annota2.exp: Ditto.
8856 * gdb.cp/annota3.exp: Ditto.
8857 * gdb.trace/actions.exp: Ditto.
8858 * gdb.trace/backtrace.exp: Ditto.
8859 * gdb.trace/circ.exp: Ditto.
8860 * gdb.trace/collection.exp: Ditto.
8861 * gdb.trace/deltrace.exp: Ditto.
8862 * gdb.trace/infotrace.exp: Ditto.
8863 * gdb.trace/limits.exp: Ditto.
8864 * gdb.trace/packetlen.exp: Ditto.
8865 * gdb.trace/passc-dyn.exp: Ditto.
8866 * gdb.trace/passcount.exp: Ditto.
8867 * gdb.trace/report.exp: Ditto.
8868 * gdb.trace/save-trace.exp: Ditto.
8869 * gdb.trace/tfind.exp: Ditto.
8870 * gdb.trace/tracecmd.exp: Ditto.
8871 * gdb.trace/while-dyn.exp: Ditto.
8872 * gdb.trace/while-stepping.exp: Ditto.
8873 * lib/gdb.exp: Ditto.
8874 (gdb_compile): Handle nowarning option.
8875
5f4a23d9
AO
88762006-03-07 Alexandre Oliva <aoliva@redhat.com>
8877
8878 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
8879 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
8880 Rename executable to prelinkt. Don't re-prelink if we didn't
8881 get a core file. Test prelink -u exit status to tell whether
8882 prelinking failed. Use gdb_test_multiple.
8883
9733fc94
DJ
88842006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8885
8886 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
8887 (do_tests): Call it.
8888
cc10cae3
AO
88892006-02-28 Alexandre Oliva <aoliva@redhat.com>
8890
8891 * gdb.base/prelink.exp: New test.
8892 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
8893
15c46491
WZ
88942006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
8895
8896 * gdb.fortran/derived-type.f90: New file.
8897 * gdb.fortran/derived-type.exp: New testcase.
8898
5c9f7ded
DJ
88992006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
8900
8901 * gdb.base/default.exp: Allow ';' as a directory separator.
8902
5b96932b
AS
89032006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8904
8905 * gdb.base/help.exp (help add-symbol-file): Update.
8906
1986bccd
AS
89072006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
8908
8909 * gdb.base/help.exp (help load): Update expected results.
8910
a8b7528f
FF
89112006-02-19 Fred Fish <fnf@specifix.com>
8912
8913 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
8914 specifix hex value as part of results.
8915 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 8916
f8261448
FF
89172006-02-16 Fred Fish <fnf@specifix.com>
8918
8919 * gdb.base/whatis.c: Define variables using typedefs char_addr,
8920 ushort_addr, and slong_addr, so the typedefs are not optimized
8921 away.
8922 * gdb.base/whatis.exp: Add tests using type name for struct type,
8923 union type, enum type, and typedef.
a9c64011 8924
31d8bdd2
MK
89252006-02-13 Mark Kettenis <kettenis@gnu.org>
8926
8927 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
8928
34e41e63
JB
89292006-02-13 Jim Blandy <jimb@redhat.com>
8930
8931 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
8932 case where it takes two "next" commands to skip past the init
8933 call.
8934
ac6e4f31
FF
89352006-02-12 Fred Fish <fnf@specifix.com>
8936
8937 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
8938 to handle cases where it takes two "next" commands to skip
8939 past the init call.
8940
2db2d571
JB
89412006-02-07 Joel Brobecker <brobecker@adacore.com>
8942
8943 * gdb.ada/array_return.exp: Mark the last test as expected to fail
8944 on hppa32 targets.
8945
38fcd64c
DJ
89462006-02-06 Vladimir Prus <ghost@cs.msu.su>
8947
8948 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
8949 field.
8950
1315ad46
MK
89512006-01-29 Mark Kettenis <kettenis@gnu.org>
8952
8953 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
8954
5625b943
DJ
89552006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8956
8957 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
8958 files.
8959
80df1bbe
DJ
89602006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8961
8962 * gdb.cp/maint.exp: Set complaints to a positive value.
8963
9078e690
DJ
89642006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8965
8966 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
8967 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
8968 function name.
8969
9c903399
DJ
89702006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8971
8972 * gdb.base/checkpoint.c: Update copyright notice. Include
8973 <stdlib.h>.
8974
761ae4d6
JB
89752006-01-04 Jim Blandy <jimb@redhat.com>
8976
8977 * gdb.asm/asm-source.exp: Independently provide default values for
8978 asm-flags and debug-flags. Use 'string equal' to do the
8979 comparison, not the implicit expr's '==' operator. Remove
8980 now-unneeded assignments to asm-flags. In h8300 case, place
8981 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
8982
099ac3dd
MS
89832006-01-04 Michael Snyder <msnyder@redhat.com>
8984
8985 * gdb.base/checkpoint.c: New file.
8986 * gdb.base/checkpoint.exp: New file.
8987 * gdb.base/multi-fork.c: New file.
8988 * gdb.base/multi-fork.exp: New file.
8989 * gdb.base/pi.txt: New file (data for checkpoint.c test).
8990
f4d85314
FF
89912006-01-04 Fred Fish <fnf@specifix.com>
8992
8993 * gdb.base/ptype.c (foo): Add typedef.
8994 (intfoo): Add function.
8995 * gdb.base/ptype1.c: New file.
8996 * gdb.base/ptype.exp: Handle compilation and linking with two
8997 source files. Test that proper type for "foo" is found based
8998 on source context rather than first match found in symtabs.
8999
a1b06f35
MK
90002005-12-28 Mark Kettenis <kettenis@gnu.org>
9001
9002 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9003 * gdb.asm/openbsd.inc: Indent commands.
9004
d082a1e2
MK
90052005-12-26 Mark Kettenis <kettenis@gnu.org>
9006
c65016bd
MK
9007 * gdb.base/freebpcmd.exp: Increase timeout.
9008
d082a1e2
MK
9009 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9010
d3c32a0e
DJ
90112005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9012
9013 * gdb.base/default.exp: Update check for "show version".
9014
9fdb1f50
RC
90152005-12-09 Randolph Chung <tausq@debian.org>
9016
9017 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9018 * gdb.asm/pa64.inc: New file.
9019
5f2c56f7
RC
90202005-12-09 Randolph Chung <tausq@debian.org>
9021
9022 * gdb.asm/common.inc: Indent commands.
9023 * gdb.asm/asmsrc1.s: Likewise.
9024 * gdb.asm/asmsrc2.s: Likewise.
9025
8117349c
RC
90262005-12-09 Randolph Chung <tausq@debian.org>
9027
9028 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9029 (get_addr_of_sym): Remove duplicate print.
9030 (gen_core): xfail hppa*-*-hpux*, update expected output.
9031 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9032 * gdb.arch/pa64-nullify.s: New file.
9033
8f07f25a
RC
90342005-12-09 Randolph Chung <tausq@debian.org>
9035
9036 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9037
55b39184
DJ
90382005-12-07 Christophe Lyon <christophe.lyon@st.com>
9039
9040 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9041 code generation for these functions.
9042 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9043 error message.
9044
31e2b00f
AS
90452005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9046
9047 * gdb.base/help.exp (help b, help br, help bre, help brea)
9048 (help break): Update the expected message.
9049
c3d0b56e
SC
90502005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9051
9052 * gdb.asm/m68hc11.inc: Setup the data section.
9053 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9054 script for this test.
9055 (m6812-*-*): Likewise.
9056
36ae0ea9
RC
90572005-11-09 Randolph Chung <tausq@debian.org>
9058
9059 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9060
9d6f42e9
WZ
90612005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9062
9063 * gdb.base/break.exp: Fix a comment typo.
9064
e2126a14
EZ
90652005-11-03 Jim Blandy <jimb@redhat.com>
9066
a9c64011
AS
9067 Checked in by Elena Zannoni <ezannoni@redhat.com>
9068
889bf7c5 9069 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 9070
e0ac7199
CV
90712005-11-02 Corinna Vinschen <vinschen@redhat.com>
9072
9073 * gdb.arch/gdb1558.c: Include stdio.h.
9074
31d3fb18
MK
90752005-10-31 Mark Kettenis <kettenis@gnu.org>
9076
9077 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9078
e52b687c
MK
90792005-10-31 Mark Kettenis <kettenis@gnu.org>
9080
9081 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9082
f4711d79
PG
90832005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9084
a9c64011
AS
9085 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9086 vscr" tests to better match output.
f4711d79 9087
987a9106
JB
90882005-10-12 Jim Blandy <jimb@redhat.com>
9089
9090 * gdb.base/structs.exp (any): New function.
9091 (test_struct_returns): Don't make any assumptions at all about
9092 what value the function returns when GDB can't set the return
9093 value.
9094
2336bb58
JB
90952005-10-09 Joel Brobecker <brobecker@adacore.com>
9096
9097 * gdb.ada/arrayidx/p.adb: New file.
9098 * gdb.ada/arrayidx.exp: New testcase
9099
91002005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
9101
9102 * gdb.ada/array_return/pck.ads: New file.
9103 * gdb.ada/array_return/pck.adb: New file.
9104 * gdb.ada/array_return/p.adb: New file.
9105 * gdb.ada/array_return.exp: New testcase.
9106
705335ea
JB
91072005-10-03 Joel Brobecker <brobecker@adacore.com>
9108
a9c64011
AS
9109 * gdb.base/arrayidx.c: New file.
9110 * gdb.base/arrayidx.exp: New testcase.
705335ea 9111
11ee9940
NR
91122005-09-29 Nick Roberts <nickrob@snap.net.nz>
9113
9114 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9115 frames-invalid and breakpoints-invalid are no longer generated
9116 with level 3 so don't expect them in the output.
9117
39fb8e9e
BR
91182005-09-27 Bob Rossi <bob@brasko.net>
9119
a9c64011 9120 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
9121 from test. Escape the | in mi_gdb_test call.
9122 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9123 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9124 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9125 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9126 expected regex's in mi_gdb_test calls.
9127 * lib/mi-support.exp: Remove arbitrary .* from tests.
9128 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9129 Fully anchor GDB/MI expected results in mi_gdb_test.
9130 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9131 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9132
2af48f68
PB
91332005-09-26 Paul Brook <paul@codesourcery.com>
9134
9135 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9136
f34502bc
WZ
91372005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9138
9139 * bfp-test.c: New file.
9140 * bfp-test.exp: New testcase.
9141
ca929517
WZ
91422005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9143
9144 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9145 of subarray and substring variable.
9146 * gdb.fortran/subarray.f: New source file for the test of subarray
9147 and substring variable evaluation.
9148 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9149 of string constant.
9150
c761af65
DJ
91512005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9152
9153 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9154 copyright dates.
9155
561d7a1d
PG
91562005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9157
9158 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9159 powerpc altivec' test with an almost identical 'info vector' test.
9160
b2b64cc9
PG
91612005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9162
a9c64011
AS
9163 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9164 vscr" tests to match output.
b2b64cc9 9165
6ac4d15a
PG
91662005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9167
a9c64011
AS
9168 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9169 output.
6ac4d15a 9170
40e55bef
BR
91712005-09-11 Bob Rossi <bob@brasko.net>
9172
889bf7c5
PA
9173 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9174 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9175 commands that return an MI output command and an asyncronous MI output
9176 command.
40e55bef
BR
9177 * gdb.mi/mi-console.exp: Ditto.
9178
3c7385ec
BR
91792005-09-11 Bob Rossi <bob@brasko.net>
9180
9181 * gdb.mi/mi-var-child.c: Include <string.h>.
9182
a6cd0eb3
DJ
91832005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9184
9185 * killed.exp: Correct gdb_expect syntax.
9186
2f168eed
CV
91872005-08-09 Corinna Vinschen <vinschen@redhat.com>
9188
9189 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9190
ecd3fd0f
BR
91912005-08-02 Bob Rossi <bob@brasko.net>
9192
9193 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9194 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9195 Change tests to inferior-tty-set/show.
9196 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9197 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9198 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9199 inferior. Use mi_gdb_test to get GDB and Inferior output.
9200 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9201 descriptor.
9202 (mi_inferior_tty_name): Add inferior PTY file name.
9203 (mi_gdb_start): Add INFERIOR_PTY parameter.
9204 (mi_gdb_test): Add IPATTERN parameter.
9205
f1ea48cb 92062005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 9207
f1ea48cb
BR
9208 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9209 parameter to mi_gdb_test.
9210 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9211
6e650a67
DJ
92122005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9213
9214 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9215 struct_declarations.
9216 * gdb.mi/mi-var-child.exp: Step over the initialization of
9217 struct_declarations.
9218
8be260b6
DJ
92192005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9220
9221 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9222 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9223 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9224 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9225 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9226 file.
9227
4e660f07
NR
92282005-07-27 Nick Roberts <nickrob@snap.net.nz>
9229
9230 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9231 (do_children_tests): Assign values to the extra elements.
9232
9233 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9234 them for tests for "-var-update --no-values" and
a9c64011 9235 "-var-update --all-values".
4e660f07
NR
9236 Add test for "-var-list-children --simple-values".
9237
9238 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9239
9240 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9241 "-stack-list-locals --simple-values" Improve doc strings and
9242 comments.
9243
6bdae935
MK
92442005-07-18 Mark Kettenis <kettenis@gnu.org>
9245
598b7a6f
MK
9246 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9247 *-*-openbsd*.
9248 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9249
6bdae935
MK
9250 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9251 sigaltsatck'.
9252
1323e929 92532005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 9254
1323e929
BR
9255 * gdb.base/default.exp (tty): Changed output of command.
9256 * gdb.base/help.exp (help tty): Ditto.
9257
b1a9c082
MK
92582005-07-12 Mark Kettenis <kettenis@gnu.org>
9259
9260 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9261
10a844a2
MK
92622005-07-10 Mark Kettenis <kettenis@gnu.org>
9263
9264 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9265 -stack-select-frame without arguments.
9266 (test_stack_frame_listing): Add test for newly implemented command
9267 -stack-info-frame.
9268
3cb3b8df
BR
92692005-07-06 Bob Rossi <bob@brasko.net>
9270
9271 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9272 command.
9273 (Copyright): Update copyright.
9274
a0c5fbcf
WZ
92752005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9276
9277 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9278 tests to evaluate exponentiation expression.
9279
984971d0
AS
92802005-06-29 Andreas Schwab <schwab@suse.de>
9281
9282 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9283 main to avoid warnings.
9284
9285 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9286
fe03833f
NR
92872005-06-20 Nick Roberts <nickrob@snap.net.nz>
9288
9289 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9290 -stack-select-frame without arguments.
9291 (test_stack_frame_listing): Add test for newly implemented command
9292 -stack-info-frame.
a9c64011 9293
7a55f279
WZ
92942005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9295
0ffa0ea5
DJ
9296 * gdb.fortran/array-element.f: New file.
9297 * gdb.fortran/array-element.exp: New testcase.
7a55f279 9298
26585198
DJ
92992005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9300
9301 * gdb.base/bigcore.exp: Correct checks for systems which can
9302 not dump a large core file.
9303
c1bd25fd
DJ
93042005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9305
9306 * gdb.base/relocate.c: Add a copyright notice.
9307 (dummy): Remove.
9308 * gdb.base/relocate.exp: Test printing the values of variables
9309 from a relocatable file.
9310
589e074d
DJ
93112005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9312
9313 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9314 excess MI output after an error.
9315
0915f927
JB
93162005-05-29 Joel Brobecker <brobecker@adacore.com>
9317
9318 * gdb.arch/alpha-step.c: New file.
9319 * gdb.arch/alpha-step.exp: New testcase.
9320
76ff342d
DJ
93212005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9322 Dennis Brueni <dennis@slickedit.com>
9323
9324 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9325 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9326 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9327 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9328 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9329 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
9330 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
9331
96b0c7ac
DJ
93322005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9333 Wu Zhou <woodzltc@cn.ibm.com>
9334
9335 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
9336 IBM's xlc compiler.
9337 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
9338 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
9339
f21565d2
JB
93402005-05-13 Jim Blandy <jimb@redhat.com>
9341
9342 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
9343 calling gdb_suppress_entire_file.
9344 * gdb.base/charset.exp: Same.
9345 * gdb.base/call-rt-st.exp: Same.
9346
6006a3a1
BR
93472005-05-05 Bob Rossi <bob_rossi@cox.net>
9348
9349 * lib/gdb.exp (fullname_syntax): Added global regex.
9350 (fullname_syntax_POSIX): Ditto.
9351 (fullname_syntax_UNC): Ditto.
9352 (fullname_syntax_DOS_CASE): Ditto.
9353 (fullname_syntax_DOS): Ditto.
9354 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
9355 fullname_syntax variable to scope and use it.
9356 (test_file_list_exec_source_files): Ditto.
9357 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
9358
c3b69c04
DJ
93592005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9360
9361 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9362
3c95e6af
PG
93632004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
9364
a9c64011
AS
9365 * lib/gdb.exp (skip_altivec_tests): New function, based on
9366 check_vmx_hw_available from the GCC testsuite.
9367 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
9368 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 9369
78df6c56
JB
93702005-05-02 Jim Blandy <jimb@redhat.com>
9371
9372 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9373 calling gdb_suppress_entire_file.
9374
1690f9cf
DJ
93752005-04-30 Randolph Chung <tausq@debian.org>
9376
9377 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9378 Slightly relax "sem_post" name checking.
9379
5ea106f7
PG
93802005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9381
9382 * gdb.base/unload.exp: Use new shared library infrastructure.
9383
bf7234cf
PG
93842005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9385
9386 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 9387 infrastructure.
bf7234cf 9388
547b869a
CV
93892005-04-29 Corinna Vinschen <vinschen@redhat.com>
9390
9391 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
9392 * gdb.asm/h8300.inc: New file.
9393
f07e55f0
PG
93942005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9395
9396 * gdb.base/shlib-call.exp: Change to use new shared library
9397 infrastructure.
9398
3cbba3d1
PG
93992005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9400
a9c64011
AS
9401 * gdb.base/pending.exp: Change to use new shared library
9402 infrastructure.
3cbba3d1 9403
ed6df200
PG
94042005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9405
a9c64011
AS
9406 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
9407 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 9408
8c8f4ebe
PG
94092005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
9410
a9c64011
AS
9411 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
9412 shared objects being adjusted and update copyright years.
8c8f4ebe 9413
607fbc54
DJ
94142005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
9415
9416 * ChangeLog: Correct some 2003-01-13 dates.
9417 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
9418 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
9419 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
9420 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
9421 gdb.trace/tfind.exp: Update copyright years.
9422
57bf0e56
DJ
94232005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
9424 Daniel Jacobowitz <dan@codesourcery.com>
9425
9426 * lib/gdb.exp (gdb_compile): Handle shlib=.
9427 (gdb_compile_shlib): New function.
9428
9b593790
PG
94292005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
9430
a9c64011 9431 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 9432
9494c6a5
DJ
94332005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9434
9435 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
9436 gdb.server.
9437 * configure.ac: Likewise.
9438 * configure: Regenerated.
9439 * gdb.gdbserver/Makefile.in: Moved to...
9440 * gdb.server/Makefile.in: ... here.
9441 * gdb.gdbserver/server.c: Moved to...
9442 * gdb.server/server.c: ... here.
9443 * gdb.gdbserver/server-run.exp: Moved to...
9444 * gdb.server/server-run.exp: ... here.
9445
6f8eac0e
DJ
94462005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9447
9448 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
9449 * configure.ac: Create gdb.gdbserver/Makefile.
9450 * configure: Regenerated.
9451 * lib/gdbserver-support.exp: New file, derived from
9452 config/gdbserver.exp.
9453 * config/gdbserver.exp: Use gdbserver-support.exp.
9454 * gdb.gdbserver/Makefile.in: New file.
9455 * gdb.gdbserver/server.c: New file.
9456 * gdb.gdbserver/server-run.exp: New file.
9457
6e87504d
PG
94582005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
9459
a9c64011
AS
9460 * lib/gdb.exp (test_compiler_info): Return compiler_info
9461 if no arguments are given.
6e87504d 9462
d1779be4
PG
94632005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
9464
9465 * gdb.arch/altivec-abi.exp: Check for compiler and set
9466 use altivec' flag accordingly.
9467 * gdb.arch/altivec-regs.exp: Likewise.
9468
88750304
DJ
94692005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
9470
9471 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
9472
f3fb768d
AS
94732005-03-27 Andreas Schwab <schwab@suse.de>
9474
9475 * gdb.base/bigcore.c (main): Add missing mode argument in open
9476 call.
9477
7e813ac5
DJ
94782005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
9479
9480 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
9481 downloads.
9482 * config/gdbserver.exp (gdb_load): Likewise.
9483
8e3049aa
PB
94842005-03-14 Paul Brook <paul@codesourcery.com>
9485
9486 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
9487 targets.
9488
a9df7c44
JB
94892005-03-09 Joel Brobecker <brobecker@adacore.com>
9490
9491 * gdb.dwarf2/dup-psym.S: New file.
9492 * gdb.dwarf2/dup-psym.exp: New testcase.
9493
9f0d94e8
JB
94942005-03-09 Joel Brobecker <brobecker@adacore.com>
9495
9496 * gdb.ada/exec_changed/first.adb: New file.
9497 * gdb.ada/exec_changed/second.adb: New file.
9498 * gdb.ada/exec_changed.exp: New testcase.
9499
5f579bc5
NS
95002005-03-08 Nathan Sidwell <nathan@codesourcery.com>
9501
36e9969c
NS
9502 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
9503 (A2): New class.
9504 (main): Test operator+.
9505 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
9506 breakpoint test.
9507
5f579bc5
NS
9508 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
9509 * gdb.base/signull.exp: Disable if gdb,nosignals.
9510 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
9511 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
9512 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
9513 * gdb.mi/mi2-console.exp: Likewise.
9514 * gdb.trace/collection.exp (run_trace_experiment): Consume the
9515 continue output at start.
9516 (gdb_collect_locals_test): Robustify regexp.
9517 * gdb.trace/passc-dyn.exp: Fix comment typo.
9518 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
9519
be46087e
CV
95202005-03-08 Corinna Vinschen <vinschen@redhat.com>
9521
9522 * gdb.asm/asm-source.exp: Add iq2000 case.
9523 * gdb.asm/iq2000.inc: New file.
9524
384e1a61 95252005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 9526
384e1a61
MI
9527 * gdb.base/command.exp: Change hardcoded value to regular expression.
9528 * gdb.base/float.exp: Add powerpc to the list of targets checked.
9529
584b6e9e
DJ
95302005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
9531
9532 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
9533 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
9534 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
9535 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
9536 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
9537
ab5b5d61
MK
95382005-03-05 Mark Kettenis <kettenis@gnu.org>
9539
9540 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
9541 changes.
9542
ae051c1b
PG
95432004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
9544
a9c64011
AS
9545 * lib/compiler.c: Add test for IBM's xlc compiler.
9546 * lib/compiler.cc: Likewise.
ae051c1b 9547
3f0f6ed2
JB
95482004-02-24 Joel Brobecker <brobecker@adacore.com>
9549
9550 * gdb.ada/fixed_points.exp: Create compilation object directory
9551 before running the test.
9552 * gdb.ada/null_record.exp: Likewise.
9553 * gdb.ada/packed_array.exp: Likewise.
9554 * gdb.ada/start.exp: Likewise.
9555
724f452b
JB
95562005-02-15 Joel Brobecker <brobecker@adacore.com>
9557
9558 * gdb.ada/packed_array/pa.adb: New file.
9559 * gdb.ada/packed_array.exp: New testcase.
9560
57f5cdfb 95612005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 9562
1f393151
MK
9563 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
9564 files.
9565
ebdda337
MK
9566 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
9567 on *-*-openbsd*. Correctly match whitespace in regukar
9568 expressions.
9569
cf309262
DJ
95702005-02-10 Daniel Jacobowitz <dan@debian.org>
9571
9572 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
9573 PR exp/1821
9574 * gdb.base/gdb1821.c: New test file.
9575 * gdb.base/gdb1821.exp: New test file.
9576
3be49e7a
JB
95772005-02-09 Joel Brobecker <brobecker@adacore.com>
9578
9579 * gdb.base/start.c: New file.
9580 * gdb.base/start.exp: New testcase.
9581
e292e67d
JB
95822005-02-09 Joel Brobecker <brobecker@adacore.com>
9583
9584 * gdb.ada/start/dummy.adb: New file.
9585 * gdb.ada/start.exp: New testcase.
9586
dbdfa66c
CV
95872005-02-09 Corinna Vinschen <vinschen@redhat.com>
9588
9589 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
9590 for printing symbols and statistics.
9591 Add test for using relative pathnames in "maint print msymbols" test.
9592 Mark "maint info sections DATA" XFAIL on Cygwin.
9593 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
9594 tests.
9595
d7941671
AC
95962005-02-09 Andreas Schwab <schwab@suse.de>
9597
9598 Committed by Andrew Cagney <cagney@gnu.org>
9599 * gdb.base/remotetimeout.exp: New file.
9600
74e5ef44
MK
96012005-02-07 Mark Kettenis <kettenis@gnu.org>
9602
9603 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
9604
464dd14d
JB
96052005-02-03 Joel Brobecker <brobecker@adacore.com>
9606
9607 * gdb.ada/gnat_ada.gpr: New file.
9608 * gdb.ada/gnat_ada.gin: Delete, no longer used.
9609 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
9610 * configure.ac: No longer generate gnat_ada.gpr.
9611 * configure: Regenerate.
9612 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
9613 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
9614 * gdb.ada/null_record/bar.ads: Likewise.
9615 * gdb.ada/null_record/bar.adb: Likewise.
9616 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
9617 * gdb.ada/null_record.exp (testdir): New variable.
9618 (testfile): executable is now in testdir subdirectory.
9619 (srcfile): Use full path to the main compilation unit.
9620 * gdb.ada/fixed_points.exp: Same changes as above.
9621
30d756ae
NR
96222005-02-03 Nick Roberts <nickrob@snap.net.nz>
9623
9624 * gdb.base/interp.exp: New test.
9625
9d799f85
AC
96262005-01-24 Andrew Cagney <cagney@gnu.org>
9627
9628 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
9629
15656118
AC
96302005-01-19 Andrew Cagney <cagney@gnu.org>
9631
a892c31b
AC
9632 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
9633 configure.ac not configure.in.
9634
15656118
AC
9635 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
9636 of powerpc*-*-*.
9637 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 9638 * gdb.base/list.exp (test_list_function)
15656118
AC
9639 (test_list_filename_and_function): Ditto.
9640 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
9641
a7b01baf
AC
96422005-01-16 Andrew Cagney <cagney@gnu.org>
9643
17d92a02
AC
9644 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
9645
a7b01baf
AC
9646 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
9647
bc8332bb
AC
96482005-01-14 Andrew Cagney <cagney@gnu.org>
9649
9650 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
9651 * gdb.mi/mi2-var-cmd.exp: Ditto.
9652
4d074752
CV
96532005-01-10 Corinna Vinschen <vinschen@redhat.com>
9654
9655 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
9656
bec39cab
AC
96572005-01-07 Andrew Cagney <cagney@gnu.org>
9658
9659 * configure.ac: Rename configure.in, require autoconf 2.59.
9660 * configure: Re-generate.
9661 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
9662 * gdb.stabs/configure: Re-generate.
9663 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
9664 * gdb.hp/configure: Re-generate.
9665 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
9666 autoconf 2.59.
9667 * gdb.hp/gdb.objdbg/configure: Re-generate.
9668 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
9669 autoconf 2.59.
9670 * gdb.hp/gdb.defects/configure: Re-generate.
9671 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
9672 autoconf 2.59.
9673 * gdb.hp/gdb.compat/configure: Re-generate.
9674 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
9675 autoconf 2.59.
9676 * gdb.hp/gdb.base-hp/configure: Re-generate.
9677 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
9678 autoconf 2.59.
9679 * gdb.hp/gdb.aCC/configure: Re-generate.
9680
f10b16d4
JB
96812004-12-15 Jim Blandy <jimb@redhat.com>
9682
9683 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
9684 under NPTL when there is debugging info available for libpthread.
9685
fb6e1814
JG
96862004-12-13 Jerome Guitton <guitton@gnat.com>
9687
9688 * gdb.ada/fixed_points.c: New file.
9689 * gdb.ada/fixed_points.exp: New file.
9690
fe46cd3a
RC
96912004-12-03 Randolph Chung <tausq@debian.org>
9692
9693 * gdb.arch/pa-nullify.exp: New file.
9694 * gdb.arch/pa-nullify.s: New file.
9695
8de0841b
RC
96962004-11-30 Randolph Chung <tausq@debian.org>
9697
9698 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
9699 instead of "tbug". Fix regexp to work properly with gdb_test.
9700
c8170782
PH
97012004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
9702
9703 * gdb.base/bitfields2.exp: New test.
9704 * gdb.base/bitfields2.c: New file.
9705
954269c2
RE
97062004-11-28 Richard Earnshaw <rearnsha@arm.com>
9707
9708 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
9709
0107feed
RC
97102004-11-16 Randolph Chung <tausq@debian.org>
9711
9712 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
9713
f073ae8c
DJ
97142004-11-14 Daniel Jacobowitz <dan@debian.org>
9715
9716 * gdb.threads/threadapply.exp: Correct "macro details" test.
9717
19ad59e7
JJ
97182004-11-11 Jeff Johnston <jjohnstn@redhat.com>
9719
9720 * gdb.threads/threadapply.exp: New test.
9721 * gdb.threads/threadapply.c: New file.
9722
9cf0961b
MK
97232004-11-07 Mark Kettenis <kettenis@gnu.org>
9724
9725 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
9726 frames.
9727
c789492a
FL
97282004-11-05 Felix Lee <felix+log1@specifixinc.com>
9729
9730 * gdb.base/cursal.exp: New file.
9731 * gdb.base/cursal.c: New file.
9732
a1e167bb
AC
97332004-11-03 Andrew Cagney <cagney@gnu.org>
9734
9735 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
9736
b7cbf173
MK
97372004-10-30 Mark Kettenis <kettenis@gnu.org>
9738
9739 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
9740 NetBSD/ELF targets.
9741
88f9d34f
JB
97422004-10-29 Joel Brobecker <brobecker@gnat.com>
9743
9744 * gdb.threads/bp_in_thread.c: New file, copied from
9745 pthread_cond_wait.c.
9746 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
9747 file, rather than reusing the .c file from another testcase.
9748
ca7d6a0c
JB
97492004-10-20 Joel Brobecker <brobecker@gnat.com>
9750
9751 * gdb.ada/null_record.exp: Check where we stopped after
9752 sending the start command, instead of where the associated
9753 temporary breakpoint was inserted.
9754
0d863d03
AC
97552004-10-14 Andrew Cagney <cagney@gnu.org>
9756
9757 * gdb.mi/gdb701.c (main): Return 0.
9758
d11e72cb
DJ
97592004-10-13 Daniel Jacobowitz <dan@debian.org>
9760
d40539a4 9761 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 9762
e1923096
JJ
97632004-10-12 Jeff Johnston <jjohnstn@redhat.com>
9764
9765 * gdb.threads/schedlock.c: Add comment markers to use to find
9766 line numbers.
9767 * gdb.threads/schedlock.exp: Adjust regex to handle the new
9768 comments.
9769 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
9770 breakpoint lines.
9771
ec8ba2c9
DJ
97722004-10-12 Daniel Jacobowitz <dan@debian.org>
9773
9774 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
9775
0eb3658b
DJ
97762004-10-12 Daniel Jacobowitz <dan@debian.org>
9777
9778 * configure.in: Add gdb.dwarf2.
9779 * configure: Regenerated.
9780 * Makefile.in: Add gdb.dwarf2.
9781 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
9782 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
9783 gdb.dwarf2/file1.txt: New files.
9784
a271cc33
OF
97852004-10-11 Orjan Friberg <orjanf@axis.com>
9786
a9c64011 9787 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
9788 of "run", since the latter doesn't work with remote targets. Adjust
9789 the breakpoint numbering accordingly.
9790 * gdb.threads/pthread_cond_wait.exp: Ditto.
9791
895ce074
MC
97922004-10-08 Michael Chastain <mec.gnu@mindspring.com>
9793
9794 * gdb.base/overlays.exp: Update copyright years.
9795
6be3092d
KI
97962004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
9797
9798 * gdb.base/overlays.exp: Disable if target is Linux.
9799
e05389b8
FL
98002004-10-06 Felix Lee <felix+log1@specifixinc.com>
9801
9802 * config/gdbserver.exp (gdb_load): Use right filename on remote.
9803
73cb587d
KI
98042004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
9805
9806 * gdb.asm/asm-source.exp: Add m32r-linux target.
9807 * gdb.asm/m32r-linux.inc: New file.
9808
3c0edcdc
AC
98092004-09-24 Andrew Cagney <cagney@redhat.com>
9810 David Anderson <anderson@redhat.com>
9811
9812 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
9813 command fails, assume things will work.
9814 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
9815 (_GNU_SOURCE): Define.
9816 (print_unsigned, print_hex): Change parameter to "long long".
9817 (print_byte_count): New function, use to print byte counts.
9818 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
9819 O_LARGEFILE.
9820 (main): Compute an upper bound on a corefile in max_core_size.
9821 Limit memory chunk size to max_core_size. Limit total memory
9822 allocated to max_core_size.
9823
4bb3667f
AC
98242004-09-23 Andrew Cagney <cagney@gnu.org>
9825
9826 * gdb.base/bigcore.exp: Replace the code that creates a corefile
9827 from a separate process with code that creates a corefile by
9828 making the inferior dump core.
9829
60fe1a51
MK
98302004-09-23 Mark Kettenis <kettenis@gnu.org>
9831
9832 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
9833 block.
9834
8e937346
MC
98352004-09-23 Michael Chastain <mec.gnu@mindspring.com>
9836
9837 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
9838 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
9839 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
9840 Likewise.
9841
7213f6d6
JJ
98422004-09-20 Jeff Johnston <jjohnstn@redhat.com>
9843
9844 * gdb.java/jprint.exp: New test case for java inferior call.
9845 * gdb.java/jprint.java: Ditto.
9846
eac69dca
JB
98472004-09-15 Joel Brobecker <brobecker@gnat.com>
9848
9849 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
9850
22227696
MC
98512004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9852
9853 * gdb.threads/killed.c: Include <stdlib.h>.
9854 * gdb.threads/pthreads.c: Likewise.
9855
7dd403a4
MC
98562004-09-14 Michael Chastain <mec.gnu@mindspring.com>
9857
9858 * gdb.threads/killed.c: Add copyright notice.
9859
33f2d567
JM
98602004-09-10 Jason Molenda (jmolenda@apple.com)
9861
a9c64011
AS
9862 * gdb.base/define.exp: Two new tests to verify zero space chars
9863 after 'if' and 'while' commands in a user-defined command is correctly
9864 parsed.
33f2d567 9865
e05b62ac
AC
98662004-09-08 Andrew Cagney <cagney@gnu.org>
9867
9868 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
9869 delivery test with duplicate at end of file.
9870
9cbe82da
MK
98712004-09-06 Mark Kettenis <kettenis@jive.nl>
9872
9873 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
9874
564803d9
MC
98752004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9876
9877 * config/hppro.exp: Removed.
9878
7c6807ce
MC
98792004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9880
9881 * config/sparclet.exp: Removed.
9882
bf7e26dd
MC
98832004-09-05 Michael Chastain <mec.gnu@mindspring.com>
9884
9885 * config/udi.exp: Removed.
9886
714e341b
MC
98872004-09-02 Michael Chastain <mec.gnu@mindspring.com>
9888
9889 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
9890 of "exp_continue".
9891 (advancei): Likewise.
9892
1236e623
JJ
98932004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9894
9895 * gdb.base/unload.exp: Fix so messages aren't duplicated.
9896
3bdcad15
MI
98972004-09-01 Manoj Iyer <manjo@austin.ibm.com>
9898
228af206 9899 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
9900 to check for nodebug in executable.
9901 * gdb.gdb/observer.exp (setup_test): Likewise.
9902 * gdb.gdb/selftest.exp (test_with_self): Likewise.
9903 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
9904
c72b934c
AC
99052004-09-01 Andrew Cagney <cagney@gnu.org>
9906
9907 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9908 files.
9909
edd9b715
JJ
99102004-09-01 Jeff Johnston <jjohnstn@redhat.com>
9911
9912 * gdb.base/unload.exp: Fix expected warning message to match
9913 latest format.
9914
fb4ce06b
CV
99152004-09-01 Corinna Vinschen <vinschen@redhat.com>
9916
9917 * gdb.base/call-rt-st.exp: Fix typos.
9918
ce78e7c3
MI
99192004-08-31 Manoj Iyer <manjo@austin.ibm.com>
9920
9921 * gdb.threads/thread_check.exp: New testcase.
9922 * gdb.threads/thread_check.c: New testcase.
9923
2dedb159
AC
99242004-08-31 Andrew Cagney <cagney@gnu.org>
9925
9926 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
9927 (skip_to_handler_entry): New procedures. Test stepping into a
9928 handler when the breakpoint is at the handler's entry point.
9929
68f53502
AC
99302004-08-30 Andrew Cagney <cagney@gnu.org>
9931
9932 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
9933 gdb/1757.
9934
3e3ffd2b
MC
99352004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9936
9937 With code from Manoj Iyer <manjo@austin.ibm.com>:
9938 * lib/gdb.exp (gdb_file_cmd): Return more information in the
9939 return value. Add an arm for "no debugging symbols found".
9940 Change a stray "error" to "perror".
9941 (gdb_run_cmd): Adapt to new return value.
9942 * gdb.base/remote.exp: Adapt to new return value.
9943 * gdb.gdb/complaints.exp: Likewise.
9944 * gdb.gdb/observer.exp: Likewise.
9945 * gdb.gdb/selftest.exp: Likewise.
9946 * gdb.gdb/xfullpath.exp: Likewise.
9947
4b6f5fd2
JB
99482004-08-27 Joel Brobecker <brobecker@gnat.com>
9949
9950 * gdb.threads/bp_in_thread.exp: New testcase.
9951
e5b25496
MC
99522004-08-27 Michael Chastain <mec.gnu@mindspring.com>
9953
9954 Fix PR testsuite/1735.
9955 * gdb.threads/schedlock.c (thread_function): Add a cast
9956 to suppress a gcc warning.
9957 * gdb.threads/thread-specific.c (thread_function): Likewise.
9958
934353d6
MC
99592004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9960
9961 * gdb.base/unload.c: Include <stdlib.h>.
9962
f98a0aef 99632004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 9964
f98a0aef 9965 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
9966 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
9967 synchronized after the "return".
9968
5a2e8882
MC
99692004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9970
9971 * gdb.mi/basics.c: Include <stdio.h>.
9972 * gdb.mi/pthreads.c: Include <stdlib.h>.
9973 * gdb.mi/var-cmd.c: Include <stdlib.h>.
9974
a9640423
MC
99752004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9976
9977 * gdb.threads/schedlock.c: Add copyright notice.
9978
b04e311d
AC
99792004-08-25 Andrew Cagney <cagney@gnu.org>
9980
9981 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
9982 (skip_over_handler, breakpoint_over_hander): New test procedures.
9983 (advance, advancei): Add a proper prefix, do not use
9984 rerun_to_main.
9985 * gdb.base/sigstep.c (main): Change to use an infinite loop.
9986
7c27f15b
MC
99872004-08-24 Michael Chastain <mec.gnu@mindspring.com>
9988
9989 * gdb.mi/basics.c: Add copyright notice.
9990 * gdb.mi/var-cmd.c: Add copyright notice.
9991
fffc87ae
MC
99922004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9993
9994 * lib/gdb.exp: Remove signed_keyword_not_used.
9995 * lib/compiler.c: Likewise.
9996 * lib/compiler.cc: Likewise.
9997
d782e0bf
MC
99982004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9999
10000 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10001 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10002
96033e83
MC
100032004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10004
10005 * gdb.base/whatis.c: Add copyright notice.
10006
cf38c229
MK
100072004-08-20 Mark Kettenis <kettenis@gnu.org>
10008
10009 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10010 it to skip the breakpoints encoded in the inline assembly.
10011
f4b49756
MC
100122004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10013
10014 * Makefile.in: Add gdb.fortran.
10015
2f193b69
MC
100162004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10017
10018 * gdb.base/call-sc.exp (test_scalar_returns):
10019 Fix cut-and-paste glitch in "Make fun return now".
10020
89a237cb
MC
100212004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10022
10023 * configure.in: Add gdb.fortran.
10024 * configure: Regenerate.
10025 * gdb.fortran/Makefile.in: New file.
10026 * lib/gdb.exp (skip_fortran_tests): New procedure.
10027
469aff8e
MC
100282004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10029
10030 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10031 reference to bug-gnu@prep.ai.mit.edu.
10032 * gdb.mi/mi-var-child.exp: Likewise.
10033 * gdb.mi/mi-var-cmd.exp: Likewise.
10034 * gdb.mi/mi-var-display.exp: Likewise.
10035 * gdb.mi/mi2-var-block.exp: Likewise.
10036 * gdb.mi/mi2-var-child.exp: Likewise.
10037 * gdb.mi/mi2-var-cmd.exp: Likewise.
10038 * gdb.mi/mi2-var-display.exp: Likewise.
10039
00b51b9f
MK
100402004-08-15 Mark Kettenis <kettenis@gnu.org>
10041
10042 * gdb.base/unload.c (main): Make local variable msg const.
10043
45f07fef
MC
100442004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10045
10046 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10047 to bug-gnu@prep.ai.mit.edu.
10048 * gdb.mi/mi-disassemble.exp: Likewise.
10049 * gdb.mi/mi-eval.exp: Likewise.
10050 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10051 default line number.
10052 * gdb.mi/mi-return.exp: Likewise.
10053 * gdb.mi/mi-simplerun.exp: Likewise.
10054 * gdb.mi/mi-stack.exp: Likewise.
10055 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10056 number with explicit range test.
10057 * gdb.mi/mi-watch.exp: Likewise.
10058 * gdb.mi/mi2-break.exp: Likewise.
10059 * gdb.mi/mi2-cli.exp: Likewise.
10060 * gdb.mi/mi2-disassemble.exp: Likewise.
10061 * gdb.mi/mi2-eval.exp: Likewise.
10062 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10063 default line number.
10064 * gdb.mi/mi2-return.exp: Likewise.
10065 * gdb.mi/mi2-simplerun.exp: Likewise.
10066 * gdb.mi/mi2-stack.exp: Likewise.
10067 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10068 number with explicit range test.
10069 * gdb.mi/mi2-watch.exp: Likewise.
10070
dd8c8ee7
MC
100712004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10072
10073 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10074 * gdb.cp/m-static.exp: Likewise.
10075 * gdb.cp/rtti.exp: Likewise.
10076
4e838464
MK
100772004-08-14 Mark Kettenis <kettenis@gnu.org>
10078
10079 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10080
8d8cb839
EZ
100812004-08-14 Eli Zaretskii <eliz@gnu.org>
10082
10083 * ChangeLog: Prefix Local Variables with semi-colons and indent
10084 the reference to older ChangeLog files, to fix fontification in
10085 Emacs.
10086
deea8bb0
MC
100872004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10088
10089 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10090 * gdb.mi/mi2-break.exp: Likewise.
10091
c3297504
MC
100922004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10093
10094 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10095
25808999
MC
100962004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10097
10098 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10099
226a8d71
MC
101002004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10101
10102 * gdb.cp/classes.exp: Remove unused declarations. Just let
10103 test names default instead of providing special names. Remove
10104 extraneous demangler test.
10105
37fdf854
JJ
101062004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10107
10108 * gdb.base/unload.exp: New test for breakpoints in dynamically
10109 loaded libraries.
10110 * gdb.base/unload.c: Ditto.
10111 * gdb.base/unloadshr.c: Ditto.
10112
2d3a7986
MC
101132004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10114
10115 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10116 cp_test_ptype_class.
10117 (test_enums): Likewise.
10118
c72b934c
AC
101192004-08-10 Andrew Cagney <cagney@gnu.org>
10120
10121 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10122 files.
10123
cc503c8a
AC
101242004-08-10 Andrew Cagney <cagney@gnu.org>
10125
10126 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10127 init_malloc call.
10128
902f2ccb
MC
101292004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10130
10131 * ChangeLog: Add copyright notice. The notice is copied
10132 from emacs 21.3 top level ChangeLog.
10133
78c90502
MC
101342004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10135
10136 * lib/cp-support.exp: New file.
10137 * lib/cp-support.exp (cp_test_type_class): New function.
10138 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10139 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10140 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10141 cp_test_ptype_class.
10142
88e5ea78
MC
101432004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10144
10145 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10146 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10147 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10148 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10149 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10150 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10151 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10152 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10153 gdb.mi/mi2-watch.exp: Update copyright years.
10154
6a89fc9c
MK
101552004-08-09 Mark Kettenis <kettenis@gnu.org>
10156
10157 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10158
1482e0de
MC
101592004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10160
10161 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10162 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10163 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10164 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10165 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10166 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10167 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10168 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10169 gdb.mi/mi-watch.exp: Update copyright years.
10170
1a5ce3f3
DJ
101712004-08-08 Daniel Jacobowitz <dan@debian.org>
10172
10173 PR gdb/1738
10174 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10175 from a breakpoint with a pending signal.
10176
04f6ecf2
DJ
101772004-08-08 Daniel Jacobowitz <dan@debian.org>
10178
10179 PR gdb/1736
10180 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10181 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10182 the prompt.
10183 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10184
54d90d35
DJ
101852004-08-08 Daniel Jacobowitz <dan@debian.org>
10186
10187 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10188
d2f6abb0
DJ
101892004-08-08 Daniel Jacobowitz <dan@debian.org>
10190
10191 PR gdb/1736
10192 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10193 for i?86-*-linux*.
10194
5598c03d
DJ
101952004-08-08 Daniel Jacobowitz <dan@debian.org>
10196
10197 * gdb.arch/i386-prologue.exp: Compile without debug information.
10198
c6fee705
MC
101992004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10200
10201 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10202 rather than asking gdb to search.
10203
dd90efdb
MC
102042004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10205
10206 * gdb.base/gcore.c: Include <string.h>.
10207
1e84bec1
MC
102082004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10209
10210 * gdb.base/gcore.c: Add copyright notice.
10211
e425eb2b
MC
102122004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10213
10214 * gdb.base/freebpcmd.c: Include <stdio.h>.
10215 * gdb.base/long_long.c: Include <string.h>.
10216 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10217 * gdb.base/siginfo.c: Include <string.h>.
10218 * gdb.base/sigstep.c: Include <string.h>.
10219
cb9aaed5
MC
102202004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10221
10222 * gdb.base/complex.c: Include <stdlib.h>.
10223
55944f3d
MC
102242004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10225
10226 * gdb.base/complex.c: Add copyright notice.
10227
7b2953d9
MC
102282004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10229
10230 * gdb.base/charset.c: Include <stdlib.h>.
10231
c9133d23
MC
102322004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10233
10234 * gdb.base/auxv.c: Include <stdlib.h>.
10235
0a8490ad
MC
102362004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10237
10238 * gdb.base/auxv.c: Add copyright notice.
10239
3426d5ec
MC
102402004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10241
10242 * gdb.base/coremaker.c: Add copyright notice.
10243 * gdb.base/coremaker2.c: Add copyright notice.
10244
8da195dd
AC
102452004-08-04 Andrew Cagney <cagney@gnu.org>
10246
10247 * gdb.base/store.exp: Update copyright.
10248 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10249 names, do not import gdb_prompt.
10250
8d394f98
AC
102512004-08-01 Andrew Cagney <cagney@gnu.org>
10252
10253 Fix PR testsuite/1729.
10254 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10255 not use capture_value with value 4.
10256 (capture_value): Add optional test name parameter.
10257 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10258 the prefix, pass to capture_value.
10259
b6702b23
MK
102602004-08-01 Mark Kettenis <kettenis@gnu.org>
10261
10262 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10263 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10264 (main): Call new function.
10265
c203e0ca
MC
102662004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10267
10268 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10269
a7995a30
MC
102702004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10271
10272 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10273
9366563b
MC
102742004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10275
b6eeaf26 10276 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
10277 Accept more values of vtbl pointer. Remove some messages
10278 about "obsolete gcc or gdb".
10279
2fc1f950
MC
102802004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10281
10282 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10283
c724d49b
MC
102842004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10285
10286 * gdb.base/asm-source.exp: Properly convert target board
10287 debug flags from gcc format to binutils format.
10288
736b0fce
MK
102892004-07-28 Mark Kettenis <kettenis@gnu.org>
10290
10291 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10292 gdb1718". PR backtrace/1718 partially fixed.
10293
5633ea5c
JJ
102942004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10295
10296 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10297
575eebb1
NC
102982004-07-26 Nick Clifton <nickc@redhat.com>
10299
10300 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10301 good default value for a specific architecture is available then
10302 set it to that value. Otherwise default to the -gstabs switch.
10303 Remove the -g... switches from the asm-flags variable. Allow the
10304 target board info to override the value if it wants to. Pass the
10305 switch on the assembler command line.
10306
62104619
MK
103072004-07-23 Mark Kettenis <kettenis@gnu.org>
10308
10309 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10310 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10311 (main): Call new function.
10312
4a1135b8
MC
103132004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10314
10315 Test for PR exp/1715.
10316 * gdb.base/radix.exp: Refactor common procedures. Make all
10317 test names unique. Change XFAIL to KFAIL.
10318
8a12c1f0
MC
103192004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10320
10321 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10322 * gdb.ada/gnat_ada.gin: ... to here.
10323 * configure.in: Use gnat_ada.gin.
10324 * configure: Regenerate.
10325
23b451cf
AC
103262004-07-20 Andrew Cagney <cagney@gnu.org>
10327
10328 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
10329 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
10330 XFAILs. Clean up test messages and comments. Check backtraces.
10331 Delete re-sync code.
10332
ab618a02
MC
103332004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10334
10335 Fix PR cli/740.
10336 * gdb.base/annota1.exp: Honor gdb,nosignals.
10337 * gdb.base/annota3.exp: Likewise.
10338
46dad340
MC
103392004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10340
10341 * lib/java.exp: Update copyright notice.
10342
756d8c70
AC
103432004-07-19 Andrew Cagney <cagney@gnu.org>
10344
10345 * gdb.base/selftest.exp: Copy file from here ...
10346 * gdb.gdb/selftest.exp: ... to here.
10347
586027e6
AC
103482004-07-16 Andrew Cagney <cagney@redhat.com>
10349
10350 * lib/insight-support.exp: Delete file.
10351 * lib/java.exp (java_init): Fix copyright.
10352
029d2200
AC
103532004-07-16 Andrew Cagney <cagney@gnu.org>
10354
10355 * gdb.base/restore.c: Append "prologue" to comments marking the a
10356 function's prologue.
10357 * gdb.base/restore.exp: Update copyright, re-indent.
10358 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
10359 callerN" prefix where needed. Update patterns that match a
10360 function's prologue.
10361
653b62c5
MC
103622004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10363
10364 * gdb.base/restore.c: Add copyright notice.
10365
f7d690e5
AC
103662004-07-16 Andrew Cagney <cagney@gnu.org>
10367
10368 * gdb.base/logical.exp: Update copyright.
10369 (evaluate): New procedure. Use to re-implement tests using
10370 several tables.
10371
d629a7cb
MH
103722004-07-14 Martin Hunt <hunt@redhat.com>
10373
10374 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10375 which fixes some problems where init.tcl was not found.
10376
9c7bb332
AC
103772004-07-13 Andrew Cagney <cagney@gnu.org>
10378
6bf46641
AC
10379 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
10380 (check_sizeof, check_valueof): Do not include the output in the
10381 test name. Use gdb_test.
10382 (get_valueof): Use gdb_test_multiple.
10383
c4ffd4c0
AC
10384 * gdb.base/step-test.exp: Update copyright. Use
10385 gdb_test_multiple. Ensure that test names do not include
10386 architecture dependent output.
10387
ab89363a
AC
10388 * gdb.gdb/observer.exp: Update copyright.
10389 (setup_test): Use gdb_test_multiple.
10390 (attach_first_observer, attach_second_observer)
10391 (attach_third_observer, detach_first_observer)
10392 (detach_second_observer, detach_third_observer)
10393 (reset_counters, check_counters): Make $message a prefix.
10394 (test_normal_stop_notifications): Add "args" parameter - a list of
10395 init functions to be called. Make $message a prefix,
10396 (test_observer_normal_stop): Change the message prefixes so that
10397 they are unique, pass the attach / detach procedures to
10398 test_normal_stop_notifications.
10399
ec58997a
AC
10400 * gdb.base/signull.exp (test_segv): Prefix all tests with
10401 "${name}". Clean up test messages.
10402
b475183b
AC
10403 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
10404
9c7bb332
AC
10405 * gdb.base/ena-dis-br.exp: Update copyright.
10406 (break_at): New function. Replace send_gdb with gdb_test,
10407 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
10408 ignore count, not stopped at bpt", with KFAIL.
10409
2dd95497
CV
104102004-07-13 Corinna Vinschen <vinschen@redhat.com>
10411
10412 * gdb.base/attach.exp: Remove cleanupfile handling.
10413
419e626b
AC
104142004-07-12 Andrew Cagney <cagney@gnu.org>
10415
10416 * gdb.base/annota1.exp: Cleanup corefile test name.
10417 * gdb.base/annota3.exp: Ditto.
10418
8b1b3228
AC
104192004-07-12 Andrew Cagney <cagney@gnu.org>
10420
78650829
AC
10421 * gdb.base/signals.exp: Clean up copyright, re-indent.
10422
8b1b3228
AC
10423 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
10424 gdb_test and gdb_test_multiple.
10425
935c2760
JJ
104262004-07-08 Jeff Johnston <jjohnstn@redhat.com>
10427
10428 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 10429 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
10430 provide line number info for first statement in main.
10431
1544280f
AC
104322004-07-08 Andrew Cagney <cagney@gnu.org>
10433
1279f4ff
AC
10434 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
10435
1544280f
AC
10436 * gdb.base/sigbpt.exp: Make the common part of each test name a
10437 prefix instead of suffix.
10438
bcc82369
BR
104392004-07-07 Bob Rossi <bob_rossi@cox.net>
10440
10441 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
10442 test from test_tbreak_creation_and_listing to
10443 test_file_list_exec_source_file
10444 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
10445 Changed name of test from test_tbreak_creation_and_listing to
10446 test_file_list_exec_source_file
10447
23f4b0aa
JJ
104482004-07-07 Jeff Johnston <jjohnstn@redhat.com>
10449
10450 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
10451 the jmisc() constructor instead of <init>.
10452 * gdb.java/jmisc1.exp: Ditto.
10453
56401cd5
AC
104542004-07-07 Andrew Cagney <cagney@gnu.org>
10455
10456 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
10457 corrupting the PC.
10458
44ae2f6a
MC
104592004-07-06 Michael Chastain <mec.gnu@mindspring.com>
10460
10461 * gdb.cp/templates.exp: Accept whitespace change in demangler
10462 output.
10463
45a83408
AC
104642004-07-06 Andrew Cagney <cagney@gnu.org>
10465
10466 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
10467
d205ad70
MC
104682004-07-02 Michael Chastain <mec.gnu@mindspring.com>
10469
10470 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
10471 * lib/compiler.cc: Likewise.
10472
06ea1a61
MC
104732004-06-30 Michael Chastain <mec.gnu@mindspring.com>
10474
10475 * lib/compiler.cc: Work around string preprocessing problem
10476 with old hp c++ compiler.
10477 * lib/compiler.c: Likewise.
10478
daab1251
CV
104792004-06-29 Corinna Vinschen <vinschen@redhat.com>
10480
10481 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
10482 directives to conditionalize symbol prefixing.
10483 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
10484 additional_flags handling. Add underscore prefix for Cygwin.
10485 * gdb.arch/i386-unwind.c: Use preprocessor directives to
10486 conditionalize symbol prefixing.
10487 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
10488 additional_flags handling. Add underscore prefix for Cygwin.
10489
cc984116
CV
104902004-06-29 Corinna Vinschen <vinschen@redhat.com>
10491
10492 * gdb.base/bigcore.exp: Skip test on Cygwin.
10493
c279b077
MC
104942004-06-28 Michael Chastain <mec.gnu@mindspring.com>
10495
10496 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
10497 formats for "info register". Use gdb_test_multiple. Fix
10498 the "invalid register" test.
10499
0e915747
CV
105002004-06-28 Corinna Vinschen <vinschen@redhat.com>
10501
10502 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
10503 PID for Cygwin. Add Cygwin specific strings to check for in some
10504 tests.
10505 (do_attach_tests): Add a test for user interaction when attaching
10506 to a process with no matching symbol table already loaded.
10507
11422c86
AC
105082004-06-26 Andrew Cagney <cagney@gnu.org>
10509
10510 Test PR java/1567 and PR java/1565.
10511 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
10512 * gdb.java/jmisc2.exp: Delete file.
10513
cefbce26
MC
105142004-06-26 Michael Chastain <mec.gnu@mindspring.com>
10515
10516 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
10517
e19f872c
CV
105182004-06-25 Corinna Vinschen <vinschen@redhat.com>
10519
10520 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
10521 attach process.
10522
d931ba3b
MC
105232004-06-23 Michael Chastain <mec.gnu@mindspring.com>
10524
10525 * gdb.cp/pr-1553.exp: Remove.
10526
aef68c48
MC
105272004-06-22 Michael Chastain <mec.gnu@mindspring.com>
10528
10529 * gdb.cp/pr-1553.cc: Remove.
10530 * gdb.cp/pr-1553.exp: Disable this test.
10531
8d5df71a
JB
105322004-06-20 Jim Blandy <jimb@redhat.com>
10533
a9c64011 10534 Fix PR testsuite/1680.
8d5df71a
JB
10535 * gdb.arch/i386-sse.exp: Properly quote curly braces in
10536 regular expressions.
10537
4ac6f39d
MC
105382004-06-19 Michael Chastain <mec.gnu@mindspring.com>
10539
10540 Fix PR testsuite/1679.
10541 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
10542 Issue an UNSUPPORTED result instead.
10543
1b413552
JB
105442004-06-18 Jim Blandy <jimb@redhat.com>
10545
10546 * gdb.base/charset.exp: Only send a control-C if we see a new
10547 prompt and incomplete command.
10548
6daa6ebd
MC
105492004-06-18 Michael Chastain <mec.gnu@mindspring.com>
10550
10551 * gdb.cp/pr-574.cc: Add copyright notice.
10552
51fa4ae0
JB
105532004-06-17 Jim Blandy <jimb@redhat.com>
10554
10555 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
10556 cases where the regexp has no groups; this grabs random text from
10557 the previous test suite, whatever that was.
10558
8fea26c5
MC
105592004-06-17 Michael Chastain <mec.gnu@mindspring.com>
10560
10561 * gdb.cp/printmethod.cc: Add copyright notice.
10562
1e3aeb41
MC
105632004-06-16 Michael Chastain <mec.gnu@mindspring.com>
10564
10565 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
10566
9d9030bc
AC
105672004-06-16 Andrew Cagney <cagney@gnu.org>
10568
10569 * gdb.base/signull.c: Update copyright. Include <string.h>.
10570 (bowler): Replace data_pointer with data_read
10571 and data_write cases. Add code_descriptor case.
10572 (zero, desc): New array and pointer.
10573 (data, code): Change to simple pointers.
10574 * gdb.base/signull.exp: Fix probe pattern matching a function
10575 descriptor SIGSEGV. Replace data_pointer with data_read and
10576 data_write tests.
10577
acd4ad44
AC
105782004-06-16 Andrew Cagney <cagney@gnu.org>
10579
10580 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
10581
08fd625c
MC
105822004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10583
10584 * gdb.base/long_long.c: Add copyright notice.
10585
1903502c
MC
105862004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10587
10588 * gdb.base/long_long.exp: Remove reference to
10589 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
10590 to gdb_breakpoint and gdb_continue_to_breakpoint.
10591
83313cb1
JB
105922004-06-14 Jim Blandy <jimb@redhat.com>
10593
10594 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10595 endian case.
10596
1bf404ef
AC
105972004-06-14 Andrew Cagney <cagney@gnu.org>
10598
10599 * gdb.base/gcore.exp (capture_command_output): Delete the always
10600 passing tests containing inferior values.
10601 * gdb.base/ending-run.exp: Do not include the breakpoint address
10602 in the test message. Update copyright.
10603 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
10604 size in the test name, use gdb_test_multiple. Update copyright.
10605
ef220b33
MC
106062004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10607
10608 * gdb.cp/ref-types.cc: Add copyright notice.
10609
4f70a4c9
MC
106102004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10611
10612 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
10613 hp_aCC_compiler.
10614 * lib/compiler.cc: Likewise.
10615 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
10616 'set' commands. Log diagnostics for other lines. Set
10617 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
10618
335928ac
MC
106192004-06-13 Michael Chastain <mec.gnu@mindspring.com>
10620
10621 * gdb.cp/try_catch.cc: Add copyright notice.
10622
2efb12e8
MC
106232004-06-12 Michael Chastain <mec.gnu@mindspring.com>
10624
10625 * gdb.cp/userdef.cc: Add copyright notice.
10626
0bbed51a
MC
106272004-06-11 Michael Chastain <mec.gnu@mindspring.com>
10628
10629 * gdb.cp/virtfunc.cc: Add copyright notice.
10630
e12a46c9
RC
106312004-06-11 Randolph Chung <tausq@debian.org>
10632
10633 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
10634 problem.
10635
338e05af
AC
106362004-06-10 Andrew Cagney <cagney@gnu.org>
10637
10638 * lib/compiler.cc, lib/compiler.c: Append either
10639 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
10640 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
10641 instead of gcc-3-3.
10642
dc3f10cb
AC
106432004-06-09 Andrew Cagney <cagney@gnu.org>
10644
b4d946af
AC
10645 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
10646 gdb/1455, bug is specific to "long long" and "double".
a9c64011 10647
dc3f10cb
AC
10648 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
10649 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
10650 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
10651 fixed.
10652
b5c0bfa2
AC
106532004-06-09 Andrew Cagney <cagney@gnu.org>
10654
10655 * gdb.base/structs.exp (test_struct_returns): Replace
10656 "return_value_unknown" and "finish_value_unknown" by
10657 "return_value_known" and "finish_value_known". Instead of
10658 "return_value_unknown" iff "finish_value_unknown", check
10659 "return_value_known" implies "finish_value_known".
10660
caeb605f
MH
106612004-06-08 Martin Hunt <hunt@redhat.com>
10662
10663 * gdb.base/float.exp: Add pattern for mips targets.
10664
c892bb64
RC
106652004-06-08 Randolph Chung <tausq@debian.org>
10666
10667 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
10668 message for unknown architectures more clear.
10669
48306d3e
JB
106702004-06-08 Joel Brobecker <brobecker@gnat.com>
10671
10672 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
10673 start the execution of the program.
10674
83ecb59f
JB
106752004-06-07 Jim Blandy <jimb@redhat.com>
10676
10677 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
10678 * gdb.arch/i386-cpuid.h: New helper file.
10679
55264cb4
RC
106802004-06-07 Randolph Chung <tausq@debian.org>
10681
10682 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
10683 has started.
10684
23cadb28
RM
106852004-06-04 Roland McGrath <roland@redhat.com>
10686
10687 Fix PR gdb/1647.
10688 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
10689 differently to be robust to output buffering differences.
10690
51d01eda
MC
106912004-06-04 Michael Chastain <mec.gnu@mindspring.com>
10692
10693 * gdb.threads/pthreads.exp: Update copyright years.
10694 (check_control_c): Change asynchronous 'after' to synchronous.
10695
f4fc3b93
RM
106962004-06-04 Roland McGrath <roland@redhat.com>
10697
10698 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
10699 next gdb prompt.
10700
4013522b
MC
107012004-06-02 Michael Chastain <mec.gnu@mindspring.com>
10702
10703 Fix PR gdb/1636.
10704 * gdb.threads/manythreads.exp: Change asynchronous 'after'
10705 calls to synchronous.
10706
7a8f1e6b
JB
107072004-05-26 Jim Blandy <jimb@redhat.com>
10708
10709 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
10710
81bb3443
RC
107112004-05-24 Randolph Chung <tausq@debian.org>
10712
10713 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
10714 * gdb.asm/pa.inc: New file.
10715
8f5a3103
MK
107162004-05-22 Mark Kettenis <kettenis@gnu.org>
10717
10718 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
10719
734b8fe8 107202004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 10721 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
10722
10723 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
10724 GDB prompt.
10725
725603e1
UW
107262004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10727
f4fc3b93 10728 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
10729 setjmp/longjmp. Use sigaction instead of signal.
10730
8b923272 107312004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 10732 Michael Snyder <msnyder@redhat.com>
8b923272
JB
10733
10734 * gdb.threads/pthread_cond_wait.c: New file.
10735 * gdb.threads/pthread_cond_wait.exp: New testcase.
10736
8bfabb04
AC
107372004-05-13 Andrew Cagney <cagney@redhat.com>
10738
10739 * gdb.base/signull.exp, gdb.base/signull.c: New files.
10740 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
10741
42edda50
AC
107422004-05-11 Andrew Cagney <cagney@redhat.com>
10743
10744 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
10745 fixed but revealed gdb/1639.
10746
d303a6c7
AC
107472004-05-10 Andrew Cagney <cagney@redhat.com>
10748
10749 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
10750 func1" and "next to 2nd alarm", kernel bug avoided.
10751
bf08c2a1
DJ
107522004-05-10 Daniel Jacobowitz <dan@debian.org>
10753
10754 PR external/1568
10755 * gdb.base/bigcore.exp: Check the size of the dumped core file.
10756 XFAIL if it is smaller than bytes_allocated.
10757 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
10758 (main): Make chunks_allocated unsigned. Correct comment.
10759
c0586a34
JB
107602004-05-07 Joel Brobecker <brobecker@gnat.com>
10761
10762 * gdb.arch/powerpc-aix-prologue.c: New file.
10763 * gdb.arch/powerpc-aix-prologue.exp: New file.
10764
f2785d12
JB
107652004-05-07 Jim Blandy <jimb@redhat.com>
10766
10767 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
10768 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
10769
bd7f6e30
JB
107702004-05-06 Joel Brobecker <brobecker@gnat.com>
10771
10772 * gdb.base/sep.exp: No longer setup_kfail when the program was
10773 built with dwarf2.
10774
0a5e7efe
JI
107752004-05-05 Jim Ingham <jingham@apple.com>
10776
10777 * gdb.base/pending.exp: Make sure pending breakpoints
10778 preserve the ignore count.
f4fc3b93 10779
a8958849
MK
107802004-04-27 Jerome Guitton <guitton@gnat.com>
10781
10782 * i386-prologue.exp: Add testcase for jump instruction as first
10783 instruction of the real code.
10784 * i386-prologue.c (jump_at_beginning): New function.
10785
7e103f5b
MK
107862004-04-28 Mark Kettenis <kettenis@gnu.org>
10787
10788 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
10789 x86_64-*-*.
10790
5d38b224
MK
107912004-04-28 Mark Kettenis <kettenis@gnu.org>
10792
10793 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
10794 i*86-*-*.
10795
0ef32fd9
MK
107962004-04-25 Mark Kettenis <kettenis@gnu.org>
10797
10798 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
10799 expression that checks the return type.
10800
71d7dd7c
AC
108012004-04-23 Andrew Cagney <cagney@redhat.com>
10802
10803 * gdb.base/call-sc.exp: New test of scalar call/return values.
10804 * gdb.base/call-sc.c: Ditto.
10805
1e9f977e
JJ
108062004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10807
10808 * gdb.threads/manythreads.c: Reduce thread stack size.
10809
899d9e3a
JJ
108102004-04-23 Jeff Johnston <jjohnstn@redhat.com>
10811
10812 * gdb.threads/manythreads.c: Add copyright notice.
10813
61bcae62
AC
108142004-04-23 Andrew Cagney <cagney@redhat.com>
10815
10816 * gdb.base/siginfo.exp: Better handle step out of signal.
10817 * gdb.base/sigstep.exp: Ditto.
10818
7339a42e 108192004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 10820 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
10821
10822 * gdb.threads/manythreads.c: New testcase.
10823 * gdb.threads/manythreads.exp: Ditto.
10824
5c98409b
JB
108252004-04-22 Jim Blandy <jimb@redhat.com>
10826
10827 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
10828 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
10829
3b611f1a
MC
108302004-04-21 Michael Chastain <mec.gnu@mindspring.com>
10831
10832 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
10833
f0fd9238
AC
108342004-04-21 Andrew Cagney <cagney@redhat.com>
10835
10836 * gdb.base/sigstep.c: New file.
10837 * gdb.base/sigstep.exp: New file.
10838
90990674
JB
108392004-04-16 Joel Brobecker <brobecker@gnat.com>
10840
10841 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
10842 call to observer_notify_normal_stop.
10843
78cef34b
AC
108442004-04-15 Andrew Cagney <cagney@redhat.com>
10845
10846 * gdb.base/siginfo.c: New file.
10847 * gdb.base/siginfo.exp: New file.
10848
d2343407
JB
108492004-04-12 J. Brobecker <brobecker@gnat.com>
10850
10851 * gdb.base/sep.exp: Fix typo in comment.
10852
a2dba3c8
JB
108532004-04-12 J. Brobecker <brobecker@gnat.com>
10854
10855 * gdb.base/sep.c: New file.
10856 * gdb.base/sep-proc.c: New file.
10857 * gdb.base/sep.exp: New testcase.
10858
15f7b60e
MK
108592004-04-09 Mark Kettenis <kettenis@gnu.org>
10860
10861 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
10862 support.
10863
44f4de1a
AC
108642004-04-05 Andrew Cagney <cagney@redhat.com>
10865
10866 * gdb.base/sigaltstack.c: New file.
10867 * gdb.base/sigaltstack.exp: New file.
10868
ef04f396
JB
108692004-04-04 Joel Brobecker <brobecker@gnat.com>
10870
10871 * gdb.base/foll-fork.exp: Update the expected output for
10872 "help set follow-fork-mode", to match a change that was made
10873 to the help of this variable on 2004-01-13.
10874
d40d2c92
JB
108752004-04-01 Joel Brobecker <brobecker@gnat.com>
10876
10877 * lib/ada.exp: Add copyright notice.
10878 * bar.ads: Likewise.
10879 * bar.adb: Likewise.
10880 * null_record.adb: Likewise.
10881 * null_record.exp: Likewise.
10882 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
10883
f86ef5a3
JB
108842004-04-01 Joel Brobecker <brobecker@gnat.com>
10885
10886 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
10887 * configure: Regenerate.
10888
414e70e3
JB
108892004-04-01 Joel Brobecker <brobecker@gnat.com>
10890
10891 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
10892 to build the application. Remove the message printed when in
10893 verbose mode, redundant with the UNSUPPORTED message above.
10894
f0aaee49
JB
108952004-03-31 Joel Brobecker <brobecker@gnat.com>
10896
10897 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
10898 * gdb.ada (null_record.exp): New testcase.
10899
ac81cb54
JB
109002004-03-31 Joel Brobecker <brobecker@gnat.com>
10901
10902 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
10903
854af2f7
JB
109042004-03-31 Joel Brobecker <brobecker@gnat.com>
10905
10906 * gdb.ada: New subdirectory.
10907 * gdb.ada/Makefile.in: New file.
10908 * gdb.ada/gnat_ada.gpr.in: New file.
10909
034cb681
JB
109102004-03-31 Joel Brobecker <brobecker@gnat.com>
10911
10912 * lib/ada.exp: New file.
10913
78a1a894
DJ
109142004-03-24 Daniel Jacobowitz <drow@mvista.com>
10915
10916 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
10917 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
10918
4b2b3b3e
AC
109192004-03-22 Andrew Cagney <cagney@redhat.com>
10920
10921 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
10922 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
10923 Problem identified by Ulrich Weigand.
10924
23c73aa3
DC
109252004-03-17 David Carlton <carlton@kealia.com>
10926
10927 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
10928 PR c++/826.
10929
d63a86f8
RM
109302004-03-16 Roland McGrath <roland@redhat.com>
10931
10932 * gdb.base/auxv.exp: New file.
10933 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
10934
0e02aa50
DC
109352004-03-12 David Carlton <carlton@kealia.com>
10936
10937 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
10938 * gdb.cp/pr-1553.cc: Ditto.
10939 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
10940 pass branch.
10941
c20b71be
MC
109422004-03-12 Michael Chastain <mec.gnu@mindspring.com>
10943
10944 * gdb.cp/templates.exp: Accept more template types.
10945
c7414a01
MC
109462004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10947
10948 From Corinna Vinschen with modifications.
10949 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
10950 local variable obj_with_enum.
10951 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
10952 results with obj_with_enum.
10953
ed69573c
MC
109542004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10955
10956 * gdb.cp/classes.cc: New file, copied from misc.cc.
10957 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
10958
28301461
MC
109592004-03-09 Michael Chastain <mec.gnu@mindspring.com>
10960
10961 * gdb.cp/misc.cc: Add copyright notice.
10962
1198ecbe
DC
109632004-03-05 David Carlton <carlton@kealia.com>
10964
10965 * gdb.cp/rtti.exp: Add 'print *obj3' test.
10966 * gdb.cp/rtti.h: Update copyright.
10967 (namespace n2::n3): New.
10968 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
10969 (n2::n3::func3): New.
10970 (main): Call n2::n3::func3.
10971 * gdb.cp/rtti2.cc: Update copyright.
10972 (n2::create3): New.
10973
9e08c470
MK
109742004-03-04 Mark Kettenis <kettenis@gnu.org>
10975
10976 * gdb.asm/openbsd.inc: Fix typo.
10977
4bebc3aa
FF
109782004-03-03 Fred Fish <fnf@redhat.com>
10979
10980 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
10981 "val" instead of unused "size". Update copyright year.
10982
6ea9fb37
DJ
109832004-02-29 Daniel Jacobowitz <drow@mvista.com>
10984
10985 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
10986 to use unsigned char.
10987 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
10988 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
10989
23b23974
DJ
109902004-02-29 Daniel Jacobowitz <drow@mvista.com>
10991
10992 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
10993 line of output.
10994
7574fd53
DJ
109952004-02-28 Daniel Jacobowitz <drow@mvista.com>
10996
10997 * gdb.base/relocate.c (dummy): Initialize.
10998
a195357f
DJ
109992004-02-28 Daniel Jacobowitz <drow@mvista.com>
11000
11001 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11002 a breakpoint at exit.
11003
72fd54a9
FF
110042004-02-27 Fred Fish <fnf@redhat.com>
11005
11006 * gdb.base/chng-syms.exp: Add expect condition to match failing
11007 case that isn't a timeout.
11008
b9d23137
AC
110092004-02-27 Andrew Cagney <cagney@redhat.com>
11010
11011 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11012 support.
11013
15d208f6 110142004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 11015
15d208f6
FF
11016 * gdb.arch/gdb1431.c: Remove.
11017 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11018 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11019 of "until" incorrectly.
11020
98f9cd2d
JB
110212004-02-26 J. Brobecker <brobecker@gnat.com>
11022
11023 * gdb.cp/class2.cc (empty): New class.
11024 (refer): New function.
11025 (main): Declare an object of type empty and use it.
11026 * gdb.cp/class2.exp: Print the value of an object of type empty.
11027
9b50c11b
JJ
110282004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11029
11030 * gdb.base/langs.exp: Update query string to match the
11031 new nquery format used for pending breakpoints.
11032
0dcd613f
AC
110332004-02-26 Andrew Cagney <cagney@redhat.com>
11034
11035 Fix PR i18n/1570.
11036 * gdb.base/charset.c: Update copyright notice.
11037 (main, init_string): Remove the escape character '\e' tests.
11038 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11039 * gdb.base/charset.exp (valid_host_charset): Ditto.
11040 * gdb.base/setvar.exp: Ditto.
11041
b8a56647
AC
110422004-02-24 Andrew Cagney <cagney@redhat.com>
11043
90d59e34
AC
11044 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11045 mmapped data in core file" PASS and FAIL messages consistent.
11046
b8a56647
AC
11047 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11048 setting a breakpoint. Work around PR java/1565.
11049
9f27c604
JJ
110502004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11051
11052 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11053 new nquery format.
11054 * gdb.base/pending.exp: Ditto.
11055
3224a706
MK
110562004-02-22 Mark Kettenis <kettenis@gnu.org>
11057
11058 * configure.in: Run stabs tests on *BSD.
11059 * configure: Regenerated.
11060
41e0a9ca
MK
110612004-02-21 Mark Kettenis <kettenis@gnu.org>
11062
11063 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11064
1e1b3428
FF
110652004-02-20 Fred Fish <fnf@redhat.com>
11066
11067 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11068 blank in test for "returns short", for consistency with other
11069 "returns xxx" tests. Update copyright year.
11070
f9a7572a
FF
110712004-02-19 Fred Fish <fnf@redhat.com>
11072
11073 New testcase for PR breakpoint/1558.
11074 * gdb.arch/gdb1558.exp: New file.
11075 * gdb.arch/gdb1558.c: New file.
11076
b2ce2854
EZ
110772004-02-19 Elena Zannoni <ezannoni@redhat.com>
11078
11079 * gdb.base/nodebug.exp: Fix typo.
11080
e7c9ff01
JB
110812004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11082
11083 Committed by Jim Blandy <jimb@redhat.com>.
11084
62f4b920
JB
11085 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11086
2db536a1
JB
11087 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11088
e7c9ff01
JB
11089 * gdb.base/float.exp: Support s390*-*-* targets.
11090
f3205b34
AF
110912004-02-17 Adam Fedor <fedor@gnu.org>
11092
11093 * gdb.base/gdb1555.exp: New file.
11094 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11095
9d62932d
EZ
110962004-02-17 Elena Zannoni <ezannoni@redhat.com>
11097
11098 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11099
344c9711
FF
111002004-02-16 Fred Fish <fnf@redhat.com>
11101
11102 * gdb.arch/gdb1291.c: Remove
11103 * gdb.arch/gdb1291.s: New test input file.
11104 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11105 fail. Test for correct result, known incorrect result, other
11106 failures and timeouts.
11107
2d822687
AC
111082004-02-16 Andrew Cagney <cagney@redhat.com>
11109
11110 * gdb.base/bigcore.exp: New file.
11111 * gdb.base/bigcore.c: New file.
11112
dac15b66
AC
111132004-02-13 Andrew Cagney <cagney@redhat.com>
11114
11115 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11116 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11117 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11118 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11119 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11120 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11121 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11122 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11123 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11124 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11125
6bdfc2c4
JJ
111262004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11127
11128 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11129 executed is an alloc instruction.
11130
87b3ede8
DC
111312004-02-11 David Carlton <carlton@kealia.com>
11132
11133 * gdb.cp/breakpoint.exp: New.
11134 * gdb.cp/breakpoint.cc: New.
11135
6e19e2bf
MC
111362004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11137
11138 Partial fix for PR gdb/1543.
11139 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11140 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11141 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11142 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11143 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11144 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11145 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11146 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11147 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11148 to bug-gdb@prep.ai.mit.edu .
11149 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11150 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11151 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11152 Likewise.
11153
5c5455dc
AC
111542004-02-10 Andrew Cagney <cagney@redhat.com>
11155
11156 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11157 using gdb_internal_error_resync.
11158
9cf689d7
DJ
111592004-02-09 Daniel Jacobowitz <drow@mvista.com>
11160
11161 * gdb.threads/thread-specific.exp: Stop early if no threads are
11162 found.
11163
d2dc51db
MC
111642004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11165
11166 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11167
14b1a056
DJ
111682004-02-08 Daniel Jacobowitz <drow@mvista.com>
11169
11170 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11171 breakpoints.
11172
83f66e8f
DJ
111732004-02-07 Daniel Jacobowitz <drow@mvista.com>
11174
11175 * config/sim.exp (gdb_load): Handle $arg == "".
11176 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11177 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11178
30fc0091
EZ
111792004-02-07 Elena Zannoni <ezannoni@redhat.com>
11180
a9c64011
AS
11181 * gdb.base/maint.exp: Update test to reflect
11182 obstack changes.
30fc0091 11183
4d806929
JJ
111842004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11185
11186 * gdb.base/pendshr.c (pendfunc): New function that calls
11187 pendfunc1.
11188 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11189
7bfdd688
FF
111902004-02-04 Fred Fish <fnf@redhat.com>
11191
11192 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11193 function symbols and update copyright years.
11194 * gdb.arch/gdb1291.c: Ditto.
11195
aaa08ee4
MC
111962004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11197
11198 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11199
dbad7755
MC
112002004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11201
11202 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11203
ec4646ef
MC
112042004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11205
11206 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11207
1b802196
FF
112082004-02-02 Fred Fish <fnf@redhat.com>
11209
11210 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11211 remote targets. Update copyright years.
11212
18fe2033
JJ
112132004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11214
11215 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11216 support.
11217 * gdb.base/langs.exp: Fix test which attempts to create
11218 breakpoint on non-existent function to handle new pending
11219 support.
11220 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11221 a breakpoint.
11222 * gdb.base/pending.exp: New test.
11223 * gdb.base/pending.c: New file.
11224 * gdb.base/pendshr.c: Ditto.
11225
8d577d32
DC
112262004-02-02 David Carlton <carlton@kealia.com>
11227
11228 * gdb.cp/overload.exp: Add overloadNamespace tests.
11229 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11230 (overloadNamespace, XXX): New.
11231 (main): Call XXX::marker2.
11232
3ad13771
FF
112332004-02-01 Fred Fish <fnf@redhat.com>
11234
11235 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11236 * gdb.base/finish.exp: Ditto.
11237 * gdb.base/gcore.exp: Ditto.
11238 * gdb.base/huge.exp: Ditto.
11239 * gdb.base/info-proc.exp: Ditto.
11240 * gdb.base/return2.exp: Ditto.
11241 * gdb.threads/gcore-thread.exp: Ditto.
11242
44c75849
DJ
112432004-02-01 Daniel Jacobowitz <drow@mvista.com>
11244
11245 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11246
005bc093
MK
112472004-02-01 Mark Kettenis <kettenis@gnu.org>
11248
11249 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11250 that opening the file succeeds on OpenBSD.
11251
c47cebdb
DJ
112522004-02-01 Daniel Jacobowitz <drow@mvista.com>
11253
11254 * gdb.threads/thread-specific.c: New file.
11255 * gdb.threads/threads-specific.exp: New test script.
11256 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11257 to expect_out.
11258
5a01311c
MK
112592004-02-01 Mark Kettenis <kettenis@gnu.org>
11260
11261 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11262 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11263 only on the "print_small_structs from print_long_arg_list" test.
11264
ce22a4f1
DJ
112652004-02-01 Daniel Jacobowitz <drow@mvista.com>
11266
11267 * gdb.base/completion.exp: Kill a stray backslash.
11268
11269 From Jim Ingham <jingham@apple.com>:
11270 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11271 agrees with the result from sending a tab.
11272
abbab9d3
DJ
112732004-01-31 Daniel Jacobowitz <drow@mvista.com>
11274
11275 * gdb.base/chng-syms.exp: Remove stray newline.
11276
53904d1e
MK
112772004-01-31 Mark Kettenis <kettenis@gnu.org>
11278
11279 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11280 *-*-openbsd*.
11281 * gdb.asm/openbsd.inc: New file.
11282
3a4b3aac
MK
112832004-01-30 Mark Kettenis <kettenis@gnu.org>
11284
11285 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11286 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11287 *-*solaris2*. Remove commented out default settings for
11288 asm-flags. Replace gdb_compile with target_link.
11289
ebac27b4
MC
112902004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11291
11292 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11293 for all tests. Remove old hp-ux and cygnus xfail cases.
11294
d8679d84
PH
112952004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11296
11297 * gdb.base/chng-syms.exp: New file.
11298 * gdb.base/chng-syms.c: New file.
11299
0a55bc22
MC
113002004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11301
11302 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11303 Provide arms for current output in all my configurations.
11304
94b8e876
MC
113052004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11306
11307 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11308 * lib/compiler.cc: Likewise.
11309 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11310 get the right preprocessor. Eval the output directly. Remove
11311 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11312 hp_f77_compiler and hp_f90_compiler completely.
11313 (gdb_preprocess): Delete.
11314 (get_compiler): Delete.
11315
7cf03d44
MK
113162004-01-24 Mark Kettenis <kettenis@gnu.org>
11317
11318 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11319 <string.h>.
11320
68b6dce9
NR
113212004-01-24 Nick Roberts <nick@nick.uklinux.net>
11322
11323 * gdb.mi/mi-stack.exp: Update copyright.
11324
b368761e
DC
113252004-01-23 David Carlton <carlton@kealia.com>
11326
11327 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11328 test for cp_lookup_transparent_type.
11329 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
11330 call them.
11331
f2061b53
DJ
113322004-01-23 Daniel Jacobowitz <drow@mvista.com>
11333
11334 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11335 after -var-update.
11336
37fc574a
DC
113372004-01-23 David Carlton <carlton@kealia.com>
11338
11339 * gdb.cp/namespace.cc (C::ensureRefs): New.
11340 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
11341
8e94b928
NR
113422004-01-20 Nick Roberts <nick@nick.uklinux.net>
11343
11344 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
11345 case "-stack-list-locals 2".
11346 * gdb.mi/mi-var-child.exp: Test for case
11347 "-var-list-children --all-values NAME".
11348
997b0952
MC
113492004-01-18 Michael Chastain <mec.gnu@mindspring.com>
11350
11351 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
11352
52470da3
MK
113532004-01-18 Mark Kettenis <kettenis@gnu.org>
11354
7049b4b8
MK
11355 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
11356 used with gdb_test_multiple.
11357
52470da3
MK
11358 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
11359 read at address 0. This fixes PR testsuite/1504.
11360
da6012e5
DJ
113612004-01-18 Daniel Jacobowitz <drow@mvista.com>
11362
11363 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
11364 Remove downloading, guessing the host executable, the calls to
11365 gdb_file_cmd and gdb_target_cmd, and "load" support.
11366 (infer_host_exec): New function broken out from gdb_load.
11367 (gdb_load): New wrapper for gdbserver_gdb_load.
11368 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
11369 gdb_target_cmd. Use -target-select.
11370 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
11371 Download binaries to the host. Clear last_mi_remote_file when
11372 we load a new binary.
11373 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
11374 call gdbserver_gdb_load and mi_gdb_target_cmd.
11375
32c70722
MC
113762004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11377
11378 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
11379 type patterns.
11380
b0cecf36
MC
113812004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11382
11383 * gdb.cp/templates.exp: Fix typo in test name of
11384 "print Foo<volatile char*>::foo".
11385
4120d7e6
MC
113862004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11387
11388 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
11389
f679e530
BE
113902004-01-16 Ben Elliston <bje@wasabisystems.com>
11391
11392 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
11393 (clean mostlyclean): Remove empty rm.
11394
091c48f6
MC
113952004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11396
11397 * gdb.base/setvar.exp: Add copyright years.
11398
3e5fc8d2
DC
113992004-01-14 David Carlton <carlton@bactrian.org>
11400
11401 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
11402 PR c++/1511 and update coment.
11403 * gdb.cp/templates.exp: Update patterns to match current output.
11404 If changes involve something other than whitespace, KFAIL
11405 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
11406
63d06c5c
DC
114072004-01-14 David Carlton <carlton@kealia.com>
11408
11409 * gdb.cp/namespace.exp: Add tests involving classes defined within
11410 namespaces.
11411 * gdb.cp/namespace.cc (C::CClass): New.
11412 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
11413
a51dab88
EZ
114142004-01-14 Elena Zannoni <ezannoni@redhat.com>
11415
11416 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
11417 what debug info we have. Print a better message if something goes
11418 wrong while producing the separate debug info file.
11419
a476ccc9
MC
114202004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11421
11422 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
11423
f453692c
MC
114242004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11425
11426 * gdb.base/callfuncs.c: Add copyright notice.
11427
f40063a5
MC
114282004-01-13 Michael Chastain <mec.gnu@mindspring.com>
11429
11430 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
11431 inheritance. PR gdb/1498, PR gcc/13539.
11432
19ac3974
EZ
114332004-01-13 Elena Zannoni <ezannoni@redhat.com>
11434
a9c64011
AS
11435 * gdb.threads/gcore-thread.exp: Prefix name of binary with
11436 test specific name.
11437 * gdb.mi/gdb669.exp: Ditto.
11438 * gdb.mi/mi-pthreads.exp: Ditto.
11439 * gdb.mi/mi1-pthreads.exp: Ditto.
11440 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 11441
56c97c6e
MC
114422004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11443
11444 * gdb.cp/member-ptr.cc: Add copyright notice.
11445
a0644324
MC
114462004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11447
11448 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
11449 some patterns for recent versions of gcc and hpacc. Delete
11450 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
11451 Delete tests that access a NULL pointer-to-member-data. This
11452 script is still disabled for gcc.
11453
32fabe09
EZ
114542004-01-12 Elena Zannoni <ezannoni@redhat.com>
11455
11456 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 11457 escaped correctly.
32fabe09 11458
1f8a6abb
EZ
114592004-01-12 Elena Zannoni <ezannoni@redhat.com>
11460
11461 * gdb.base/sepdebug.exp: New file.
11462 * gdb.base/sepdebug.c: New file.
11463 * lib/gdb.exp (separate_debug_filename): New procedure.
11464 (gdb_gnu_strip_debug): New procedure.
11465
48efe704
AC
114662004-01-12 Andrew Cagney <cagney@redhat.com>
11467
11468 * gdb.mi/ChangeLog: Delete file. Renamed to ...
11469 * gdb.mi/ChangeLog-1999-2003: New file.
11470
a9415475
AC
114712004-01-12 Andrew Cagney <cagney@redhat.com>
11472
11473 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
11474 "Renaming a directory to a non-empty directory returns ENOTEMPTY
11475 or EEXIST", treat EBUSY as an XFAIL.
11476
83b8cf9d
MC
114772004-01-11 Michael Chastain <mec.gnu@mindspring.com>
11478
11479 * gdb.base/scope.exp: Remove obsolete setup_xfail for
11480 hp_cc_compiler.
11481
9939d2a8
MC
114822004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11483
11484 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
11485 decorations.
11486
1ff8cadf
MC
114872004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11488
11489 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
11490 and "(aCC)" decorations. Remove obsolete doco about old
11491 test results.
11492
6fa9022e
MC
114932004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11494
11495 * gdb.cp/exception.exp: Fix typo in doco.
11496
209721fe
MK
114972004-01-09 Mark Kettenis <kettenis@gnu.org>
11498
11499 * gdb.base/gdb1476.exp: Fix typo.
11500
ef11303e
MC
115012004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11502
11503 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
11504 file.
11505
041ab88c
MC
115062004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11507
11508 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
11509 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
11510 Use gdb_compile. Remove restriction on gcc. Add some patterns
11511 for recent version of gdb. Delete second half, which was a copy
11512 of the first half with different build flags. This test is
11513 still disabled because it is still not ready for production.
11514
e36d075a
MC
115152004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11516
11517 * gdb.cp/exception.cc: Add copyright notice.
11518 * gdb.cp/exception.exp: Add a notice that this file is broken
11519 because of line number changes caused by addition of copyright
11520 notice.
11521
42b190ad
MC
115222004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11523
11524 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
11525 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
11526
8f25f06b
MC
115272004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11528
11529 * gdb.cp/classes.exp: Accept gnu abi 2.
11530 * gdb.cp/derivation.exp: Likewise.
11531 * gdb.cp/overload.exp: Likewise.
11532 * gdb.cp/virtfunc.exp: Likewise.
11533
06ded8b8
MC
115342004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11535
11536 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
11537 semicolon after end of function.
11538
77c26ae3
MC
115392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11540
11541 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
11542 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
11543 boilerplate code for compiling and running the program under
11544 test. Add some string method tests.
11545
20757486
MC
115462004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11547
11548 * gdb.cp/bs15503.cc: Add copyright notice.
11549 * gdb.cp/bs15503.exp: Adjust line number.
11550
0fd3b503
MC
115512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11552
11553 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
11554 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
11555
10d1bea8
MC
115562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11557
11558 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
11559 hp_cc_compiler.
11560
2789202a
MC
115612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11562
11563 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
11564 * gdb.cp/ctti.exp: Use the marker instead of "next".
11565 With gcc, run further before bailing.
11566
b862f14c
MC
115672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11568
11569 * gdb.cp/cttiadd.cc: Add copyright notice.
11570 * gdb.cp/cttiadd1.cc: Likewise.
11571 * gdb.cp/cttiadd2.cc: Likewise.
11572 * gdb.cp/cttiadd3.cc: Likewise.
11573
96da2469
MC
115742004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11575
11576 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
11577 Use gdb_test, gdb_test_multiple. Use floating-point values that
11578 have exact representations in IEEE-ish formats.
11579
053248ff
MC
115802004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11581
11582 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
11583 compilers. Delete duplicate call to get_compiler_info.
11584 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
11585 * gdb.base/volatile.exp: Likewise.
11586
84acecdd
MK
115872004-01-07 Mark Kettenis <kettenis@gnu.org>
11588
11589 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
11590 memory at address 0.
11591
fe11a27f
MC
115922004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11593
11594 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
11595 to test for hp-ux assembler. Fix copyright years.
11596
60ad077b
AC
115972004-01-07 Andrew Cagney <cagney@redhat.com>
11598
11599 * gdb.base/fileio.c (strerrno): Add "EBUSY".
11600
1c9b8f33
AC
116012004-01-07 Andrew Cagney <cagney@redhat.com>
11602
11603 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
11604 when creating the read-only file. From analysis by Roland McGrath
11605 and Elena Zannoni.
11606
753ccc7a
MC
116072004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11608
11609 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
11610
eca3e36b
MC
116112004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11612
11613 * gdb.base/cvexpr.c: Be type-safe with function pointers and
11614 data pointers.
11615
f8d4bac4
MC
116162004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11617
11618 * gdb.cp/m-static.exp: Compile one source file at a time.
11619 Delete unused call to get_compiler_info.
11620
9b4e0f94
MC
116212004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11622
11623 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
11624 * gdb.base/call-rt-st.exp: Likewise.
11625 * gdb.base/nodebug.exp: Likewise.
11626 * gdb.base/volatile.exp: Likewise.
11627 * gdb.cp/ref-types.exp: Likewise.
11628 * gdb.cp/templates.exp: Likewise.
11629
023c1024
MK
116302004-01-05 Mark Kettenis <kettenis@gnu.org>
11631
11632 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
11633
19703c4a
MC
116342004-01-05 Michael Chastain <mec.gnu@mindspring.com>
11635
11636 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
11637 hppa*-hp-hpux*.
11638
18b67037
MK
116392004-01-04 Mark Kettenis <kettenis@gnu.org>
11640
ba6219c8
MK
11641 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11642 x86_64-*-*.
11643
18b67037
MK
11644 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11645 sparc64-*-* and sparc*-solaris2*.
11646
1bfbbb9d
MK
116472004-01-04 Mark Kettenis <kettenis@gnu.org>
11648
11649 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
11650 return ${tests}" test. The ${tests} already mentions the
11651 filename.
11652
06846494
MC
116532004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11654
11655 * gdb.cp/local.exp: Accept gcc abi 2.
11656
3b0cb202
MC
116572004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11658
11659 * gdb.cp/templates.exp: Accept gcc abi 2.
11660
0643ec3f
MC
116612004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11662
11663 * lib/compiler.cc: Remove supports_template_debugging.
11664 * gdb.cp/templates.exp: Do not test supports_template_debugging.
11665
d231d0b1
MC
116662004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11667
11668 * gdb.cp/namespace.exp: Accept gcc abi 2.
11669
44ffb27c
MC
116702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11671
11672 * gdb.cp/method.exp: Accept gcc abi 2.
11673
184ad485
MC
116742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11675
11676 * gdb.cp/classes.exp: Generate identical results as old version.
11677 * gdb.cp/derivation.exp: Likewise.
11678 * gdb.cp/overload.exp: Likewise.
11679 * gdb.cp/virtfunc.exp: Likewise.
11680
116f09e7
MC
116812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11682
11683 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11684 mysterious bug with sourceware version of expect.
11685
b1379776
MC
116862004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11687
11688 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
11689 current versions of gcc, including gcc abi 2. Remove gratuitous
11690 restart of test program. Use gdb_test_multiple and gdb_test for
11691 all tests. Add patterns to xfail missing "const" in "const char *"
11692 and kfail PR gdb/1155.
11693
6b7a4c0e
MC
116942004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11695
11696 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
11697 current versions of gcc, including gcc abi 2. Remove gratuitous
11698 restart of test program. Use gdb_test_multiple and gdb_test for
11699 all tests. Add patterns to kfail PR gdb/1498.
11700
51615d72
MC
117012003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11702
11703 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
11704 current versions of gcc, including gcc abi 2. Use "breakpoint"
11705 and "continue" instead of restarting the target program. Use
11706 gdb_test_multiple and gdb_test for all tests.
11707
7b79a9d7
MK
117082004-01-01 Mark Kettenis <kettenis@gnu.org>
11709
11710 * gdb.asm/asm-source.exp: Update copyright year. Link statically
11711 for *-*-solaris2*.
11712
1cd3489f
MC
117132003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11714
11715 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
11716 current versions of gcc, including gcc abi 2. Use "breakpoint"
11717 and "continue" instead of restarting the target program several
11718 times. Use gdb_test_multiple and gdb_test for all tests.
11719
850742db
MC
117202003-12-18 Michael Chastain <mec.gnu@mindspring.com>
11721
11722 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
11723 source files.
11724
eb4bbda8
MC
117252003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11726
11727 * gdb.base/environ.exp: Handle compiling test case from multiple
11728 source files.
11729
e42c7771
MC
117302003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11731
11732 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
11733
80e4b428
JB
117342003-12-17 Jim Blandy <jimb@redhat.com>
11735
5f06973a
JB
11736 * gdb.base/freebpcmd.c: Add copyright notice.
11737
80e4b428
JB
11738 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
11739
0ab84fb7
MC
117402003-12-16 Michael Chastain <mec.gnu@mindspring.com>
11741
11742 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
11743
1b3bb3d0
JB
117442003-12-13 Jim Blandy <jimb@redhat.com>
11745
11746 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
11747
3a4c9371
KB
117482003-12-12 Kevin Buettner <kevinb@redhat.com>
11749
11750 * gdb.asm/frv.inc: New file.
11751 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
11752
a1dea79a
FF
117532003-12-09 Fred Fish <fnf@redhat.com>
11754
11755 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
11756 functions to break1.c and leave prototypes behind. Add more
11757 "set breakpoint NN here" comments.
11758 * gdb.base/break1.c: New file.
11759
11760 * gdb.base/break.exp: Handle compiling test case from multiple
11761 source files and change source file references as needed.
11762 * gdb.base/completion.exp: Ditto.
11763 * gdb.base/condbreak.exp: Ditto.
11764 * gdb.base/define.exp: Ditto.
11765 * gdb.base/ena-dis-br.exp: Ditto.
11766 * gdb.base/info-proc.exp: Ditto.
11767 * gdb.base/maint.exp: Ditto.
11768 * gdb.base/until.exp: Ditto.
11769
11770 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
11771 hardcoded line numbers.
11772 * gdb.base/define.exp: Ditto.
11773 * gdb.base/ena-dis-br.exp: Ditto.
11774 * gdb.base/maint.exp: Ditto.
11775 * gdb.base/until.exp: Ditto.
11776
11777 * gdb.base/completion.exp: Use "break1" for completion tests since
11778 "break" is no longer a unique prefix.
11779
5266b69c
AC
117802003-12-06 Andrew Cagney <cagney@redhat.com>
11781
11782 * gdb.base/structs.exp (test_struct_returns): When applicable, set
11783 "return_value_unimplemented". When an unimplemented struct return
11784 architecture, report incorrect values as a KFAIL
11785
374451f0
MC
117862003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11787
11788 * gdb.cp/rtti.exp: Accept new wording of warning from
11789 cp_lookup_rtti_type.
11790
ba9b20a7
MC
117912003-12-05 Michael Chastain <mec.gnu@mindspring.com>
11792
11793 Partial fix for PR testsuite/1456.
11794 * gdb.base/scope.exp (test_at_main): Replace references to
11795 gcc_compiled with calls to test_compiler_info.
11796 (test_at_foo): Likewise.
11797 (test_at_bar): Likewise.
11798
b74b6d0b
MC
117992003-12-04 Michael Chastain <mec.gnu@mindspring.com>
11800
11801 Partial fix for PR testsuite/1456.
11802 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
11803 to test_compiler_info.
11804
ccfa3402
MC
118052003-12-03 Michael Chastain <mec.gnu@mindspring.com>
11806
11807 * gdb.base/so-impl-ld.exp: Update copyright notice.
11808
f6246aba
MC
118092003-12-02 Michael Chastain <mec.gnu@mindspring.com>
11810
11811 Partial fix for PR testsuite/1456.
11812 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
11813 to test_compiler_info.
11814
13ae734a
MC
118152003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11816
11817 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
11818 from current versions of gdb. Clean up regular expressions.
11819 Delete redundant timeout case.
11820
d8e1cdee
MC
118212003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11822
11823 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
11824 from current versions of gdb. Clean up regular expressions.
11825 Delete redundant timeout case.
11826
96457b64
MC
118272003-12-01 Michael Chastain <mec.gnu@mindspring.com>
11828
11829 Partial fix for PR testsuite/1456.
11830 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
11831 gcc_compiled with call to test_compiler_info.
11832
f35309fc
MC
118332003-11-30 Michael Chastain <mec.gnu@mindspring.com>
11834
11835 Partial fix for PR testsuite/1456.
11836 * gdb.base/list.exp (test_list_function): Delete unused declaration
11837 of gcc_compiled.
11838
d7afdf9b
MC
118392003-11-29 Michael Chastain <mec.gnu@mindspring.com>
11840
11841 Partial fix for PR testsuite/1456.
11842 * gdb.base/complex.exp: Replace reference to gcc_compiled with
11843 call to test_compiler_info.
11844
71507b56
MK
118452003-11-29 Mark Kettenis <kettenis@gnu.org>
11846
11847 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
11848 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
11849 it to create the appropriate note.inc.
11850 * gdb.asm/asmsrc1.s: Include "note.inc".
11851 * gdb.asm/netbsd.inc: New file.
11852 * gdb.asm/empty.inc: New file.
11853
f81f93f7
MC
118542003-11-28 Michael Chastain <mec.gnu@mindspring.com>
11855
11856 Partial fix for PR testsuite/1456.
11857 * gdb.base/constvars.exp: Replace references to gcc_compiled with
11858 calls to test_compiler_info.
11859
9a77938e
MC
118602003-11-27 Michael Chastain <mec.gnu@mindspring.com>
11861
11862 Partial fix for PR testsuite/1456.
11863 * gdb.base/volatile.exp: Replace references to gcc_compiled with
11864 calls to test_compiler_info.
11865
e8367dc7
MK
118662003-11-27 Mark Kettenis <kettenis@gnu.org>
11867
11868 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
11869 pattern for the KFAILs.
11870
526c61ee
AF
118712003-11-25 Adam Fedor <fedor@gnu.org>
11872
11873 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
11874 * gdb.objc/objcdecode.m: New file.
11875
28f2d600
AF
118762003-11-25 Adam Fedor <fedor@gnu.org>
11877
11878 * gdb.objc/nondebug.exp: Test for PR objc/1236.
11879 * gdb.objc/nondebug.m: New file.
11880
a3895cee
BE
118812003-11-26 Ben Elliston <bje@wasabisystems.com>
11882
11883 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11884 NetBSD as it does on FreeBSD. Modelled on a similar change by
11885 Mark Kettenis on 2003-05-30.
11886 (link-flags): Set to "--entry _start" regardless of target.
11887 Special linker flags are to be appended to $link-flags.
11888 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
11889
c9f2c8a3
MC
118902003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11891
11892 * gdb.cp/method.exp: Accept output of new demangler.
11893
15a0587a 118942003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
11895
11896 * gdb/class2.exp: New file.
11897 * gdb/class2.cc: New file.
11898
3c00b570
MC
118992003-11-25 Michael Chastain <mec.gnu@mindspring.com>
11900
11901 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
11902 of new demangler.
11903
7027acc7
MK
119042003-11-23 Mark Kettenis <kettenis@gnu.org>
11905
11906 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
11907 of gdb_test "run".
11908
b0e1598a
MK
119092003-11-23 Mark Kettenis <kettenis@gnu.org>
11910
11911 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
11912 "continue" into "run".
11913
4d9eda44
MC
119142003-11-23 Michael Chastain <mec.gnu@mindspring.com>
11915
11916 Partial fix for PR testsuite/1456.
11917 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
11918 call to test_compiler_info.
11919 * gdb.cp/ctti.exp: Likewise.
11920 * gdb.cp/derivation.exp: Likewise.
11921 * gdb.cp/member-ptr.exp: Likewise.
11922 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
11923 reference to gcc_compiled.
11924
119252003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
11926
11927 Fix PR testsuite/1463.
11928 * gdb.base/structs.exp (start_structs_test): Call
11929 get_debug_format before using the debug format.
11930
d422fe19
AC
119312003-11-22 Andrew Cagney <cagney@redhat.com>
11932
11933 * lib/gdb.exp (gdb_test_multiple): Add simple example.
11934 * gdb.base/structs.exp: Use gdb_test_multiple.
11935
039cf96d
AC
119362003-11-20 Andrew Cagney <cagney@redhat.com>
11937
6882279b
AC
11938 * gdb.base/structs.exp: Handle and recover from internal errors.
11939 Replace "foo${n}" with "foo<n>" in test messages.
11940
e53890ae
AC
11941 * gdb.base/structs.exp: Update copyright. Rewrite.
11942 * gdb.base/structs.c: Update copyright. Rewrite.
11943
2b211c59
AC
11944 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
11945 resync count exceeded.
d63a86f8 11946
039cf96d
AC
11947 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
11948 from the internal error.
11949 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
11950 Original from Jim Blandy.
11951 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 11952
eac98b22
AC
119532003-11-19 Andrew Cagney <cagney@redhat.com>
11954
11955 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
11956 KFAIL.
11957
67455b2a
MK
119582003-11-17 Mark Kettenis <kettenis@gnu.org>
11959
11960 New testcase for PR backtrace/1435.
11961 * gdb.arch/i386-unwind.exp: New file.
11962 * gdb.arch/i386-unwind.c: New file.
11963
853d6e5b
AC
119642003-11-17 Andrew Cagney <cagney@redhat.com>
11965
11966 * lib/gdb.exp (compiler_info): New global.
11967 (test_compiler_info): New function.
11968 (get_compiler_info): Set compiler_info.
11969 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
11970 "compiler_info" to gcc-<major>-<minor>.
11971
38cf6e11
MC
119722003-11-15 Michael Chastain <mec.gnu@mindspring.com>
11973
11974 * gdb.trace/configure: Remove.
11975
a50d3602
EZ
119762003-11-13 Elena Zannoni <ezannoni@redhat.com>
11977
11978 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 11979 breakpoints.
a50d3602
EZ
11980 * gdb.base/break.exp: Remove all references to explicit line
11981 numbers.
11982
d9407aaa
NC
119832003-11-11 Nick Clifton <nickc@redhat.com>
11984
11985 * gdb.base/shreloc.exp: Do not run for targets which do not
11986 support shared objects.
11987
db488fc1
CV
119882003-11-10 Corinna Vinschen <vinschen@redhat.com>
11989
11990 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
11991 Don't run tests if nofileio flag is given.
11992
6a90a18e
EZ
119932003-11-07 Elena Zannoni <ezannoni@redhat.com>
11994
11995 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 11996 as well as 'Watchpoint'.
6a90a18e 11997
0b915e9c
EZ
119982003-11-06 Elena Zannoni <ezannoni@redhat.com>
11999
12000 Reported by Jim Ingham <jingham@apple.com>:
12001 * gdb.base/annota1.exp: Match at least one occurrence of the
12002 signal handler annotation.
12003
d7e4b55f
EZ
120042003-11-06 Elena Zannoni <ezannoni@redhat.com>
12005
a9c64011
AS
12006 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12007 as well as 'Watchpoint'.
d7e4b55f 12008
2fe4e8d0
MC
120092003-11-05 Michael Chastain <mec@shout.net>
12010
12011 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12012
6ef88553
KW
120132003-11-03 Kris Warkentin <kewarken@qnx.com>
12014
12015 * gdb.arch/gdb1291.c: New test file.
12016 * gdb.arch/gdb1291.exp: New test script.
12017 * gdb.arch/gdb1431.c: New test file.
12018 * gdb.arch/gdb1431.exp: New test script.
12019
ae7dc4d8
MC
120202003-10-22 Michael Chastain <mec@shout.net>
12021
12022 * gdb.mi/pthreads.c: Add copyright notice.
12023
c39d7427
MC
120242003-10-22 Michael Chastain <mec@shout.net>
12025
12026 * gdb.threads/pthreads.c: Add copyright notice.
12027
8b7d96c1
MC
120282003-10-20 Michael Chastain <mec@shout.net>
12029
12030 * gdb.base/gdb1056.exp: New test script.
12031
d1d69fdd
DJ
120322003-10-13 Daniel Jacobowitz <drow@mvista.com>
12033
12034 * gdb.threads/killed.exp: Use gdb_run_cmd.
12035
7d605576
DJ
120362003-10-13 Daniel Jacobowitz <drow@mvista.com>
12037
12038 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12039 create a core file.
12040 * gdb.threads/gcore-thread.exp: Likewise.
12041
618ec112
CV
120422003-10-13 Corinna Vinschen <vinschen@redhat.com>
12043
12044 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12045 type, based on char type.
12046 (struct bit_flags_short_t): New bitfield type, based on short type.
12047 (init_bit_flags_char): New fuction.
12048 (init_bit_flags_short): Ditto.
12049 (print_bit_flags_char): Ditto.
12050 (print_bit_flags_short): Ditto.
12051 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12052
9367a73c
MC
120532003-10-11 Michael Chastain <mec@shout.net>
12054
12055 * gdb.base/call-rt-st.exp: Update copyright year.
12056
1decf120
KI
120572003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12058
12059 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12060 * gdb.disasm/sh3.s: Ditto.
12061
5445b2ae
DJ
120622003-10-07 Daniel Jacobowitz <drow@mvista.com>
12063
12064 * gdb.threads/switch-threads.exp: New test.
12065 * gdb.threads/switch-threads.c: New source file.
12066
aec24853
CV
120672003-10-07 Corinna Vinschen <vinschen@redhat.com>
12068
12069 * gdb.base/ending-run.exp: Add sh specific case.
12070
adc7428d
AC
120712003-10-06 Andrew Cagney <cagney@redhat.com>
12072
12073 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12074 * gdb.disasm/mn10200.exp: Delete obsolete file.
12075
c9d37158
DJ
120762003-09-29 Daniel Jacobowitz <drow@mvista.com>
12077
12078 * ChangeLog: Correct an entry command.exp -> commands.exp.
12079 * gdb.base/commands.exp (bp_deleted_in_command_test)
12080 (temporary_breakpoint_commands): Check noargs.
12081
79c2c32d
DC
120822003-09-25 David Carlton <carlton@kealia.com>
12083
12084 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12085 of some print tests, where appropriate. Add tests for C::D::cd,
12086 E::ce, F::cXfX, G::XgX.
12087 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12088
594e6d67
RE
120892003-09-25 Richard Earnshaw <rearnsha@arm.com>
12090
12091 * lib/java.exp (java_init): Import target_alias before using it.
12092
10f0d451
DC
120932003-09-25 David Carlton <carlton@kealia.com>
12094
12095 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12096
274bcba0
EZ
120972003-09-23 Elena Zannoni <ezannoni@redhat.com>
12098
d63a86f8 12099 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 12100 weirdness.
274bcba0 12101
cdbf20f7
MC
121022003-09-17 Michael Chastain <mec@shout.net>
12103
12104 * gdb.cp/gdb1355.exp: New file.
12105 * gdb.cp/gdb1355.c: New file.
12106
71e06f80
CV
121072003-09-15 Corinna Vinschen <vinschen@redhat.com>
12108
12109 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12110 * gdb.asm/sh.inc: New file.
12111
5c4e30ca
DC
121122003-09-11 David Carlton <carlton@kealia.com>
12113
bd45b7af
DC
12114 * gdb.cp/namespace.exp: Add tests for namespace types.
12115 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
12116 (test_namespace): New.
12117
1c199746
EZ
121182003-09-11 Elena Zannoni <ezannoni@redhat.com>
12119
a9c64011 12120 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 12121 * gdb.stabs/weird.exp: Ditto.
1c199746 12122
04ed252f
MC
121232003-09-08 Michael Chastain <mec@shout.net>
12124
12125 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12126
d8a2d9e7
MC
121272003-09-07 Michael Chastain <mec@shout.net>
12128
12129 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12130 'parse error'.
12131
161afb24
MK
121322003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12133
12134 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12135
49f2741a
MC
121362003-08-30 Michael Chastain <mec@shout.net>
12137
12138 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12139 * gdb.gdb/observer.exp: Ditto.
12140 * gdb.gdb/xfullpath.exp: Ditto.
12141
8afa723e
MK
121422003-08-29 Mark Kettenis <kettenis@gnu.org>
12143
12144 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12145 *-*-*bsd*.
12146
f31dfe3b
JJ
121472003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12148
12149 * gdb.base/dump.exp: Skip for ia64.
12150
4630e498
JJ
121512003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12152
12153 * gdb.asm/asm-source.exp: Add ia64 support.
12154 * gdb.asm/ia64.inc: New file.
12155
1105b7ef
MC
121562003-08-22 Michael Chastain <mec@shout.net>
12157
12158 * gdb.cp: New directory.
12159 * gdb.cp/*: Copy from gdb.c++/*.
12160 * gdb.c++/*: Remove.
12161 * Makefile.in: Change gdb.c++ to gdb.cp.
12162 * configure.in: Ditto.
12163 * configure: Regnerate.
12164
c945b932
MK
121652003-08-18 Mark Kettenis <kettenis@gnu.org>
12166
12167 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12168 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12169
2b66634b
DJ
121702003-08-17 Daniel Jacobowitz <drow@mvista.com>
12171
12172 * mi-var-display.exp (-var-list-children weird): Accept function
12173 pointers with argument types.
12174 * mi1-var-display.exp (-var-list-children weird): Likewise.
12175 * mi2-var-display.exp (-var-list-children weird): Likewise.
12176
a356f73b
DJ
121772003-08-17 Daniel Jacobowitz <drow@mvista.com>
12178
12179 * gdb.base/annota3.exp: Add missing newline.
12180
483417b8
MC
121812003-08-06 Michael Chastain <mec@shout.net>
12182
12183 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12184
c99c59c3
MS
121852003-08-12 Michael Snyder <msnyder@redhat.com>
12186
12187 * gdb.base/float.exp: Add test for SH.
12188
55ed7501
MK
121892003-08-10 Mark Kettenis <kettenis@gnu.org>
12190
12191 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12192
1a371f2e
EZ
121932003-08-07 Elena Zannoni <ezannoni@redhat.com>
12194
12195 * gdb.base/completion.exp: Remove reduntant completion test
12196 on filename.
12197
e0f353ce
EZ
121982003-08-07 Elena Zannoni <ezannoni@redhat.com>
12199
a9c64011
AS
12200 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12201 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12202 gdb.trace/save-trace.exp: Make sure that full pathnames are
12203 escaped correctly.
e0f353ce 12204
5710a1af 122052003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 12206
a9c64011
AS
12207 * configure.in: Don't generate config.h from config.hin.
12208 * configure: Regenerate.
12209 * config.hin: Remove file.
12210 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12211 * gdb.threads/pthreads.c: Ditto.
5710a1af 12212
dcd81ce9
DJ
122132003-08-07 Daniel Jacobowitz <drow@mvista.com>
12214
12215 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12216 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12217 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12218 Replace ld24 with seth/add3.
12219
6009d884
AC
122202003-08-02 Andrew Cagney <cagney@redhat.com>
12221
12222 * gdb.base/annota3.exp: New file.
12223 * gdb.base/annota3.c: New file.
12224 * gdb.c++/annota3.exp: New file.
12225 * gdb.c++/annota3.cc: New file.
12226
51514e06
MC
122272003-07-29 Michael Chastain <mec@shout.net>
12228
12229 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12230 actually failed.
12231 (do_pass): Likewise.
12232 * gdb.threads/tls.exp: Always initialize no_of_threads.
12233
4ee6625b
DJ
122342003-07-27 Daniel Jacobowitz <drow@mvista.com>
12235
12236 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12237 pattern.
12238 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12239 * gdb.threads/tls.exp: Recognize one case of the host library not
12240 supporting TLS.
12241
225f2bf6
AC
122422003-07-27 Andrew Cagney <cagney@redhat.com>
12243
12244 * gdb.base/fileio.exp: Use SH when running commands using
12245 remote_exec.
12246
bcb27c9f
DJ
122472003-07-24 Daniel Jacobowitz <drow@mvista.com>
12248
12249 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12250 * gdb.base/relocate.c (dummy): New padding array.
12251
3d67be83
MS
122522003-07-22 Michael Snyder <msnyder@redhat.com>
12253
d63a86f8 12254 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
12255
12256 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12257 patterns to be more general, accepting old and new output.
12258 Some output chars (such as '+') also must be quoted.
d63a86f8 12259 Some addresses are displayed numerically instead of
3d67be83
MS
12260 symbolically.
12261
57ba3b85
MS
122622003-07-23 Michael Snyder <msnyder@redhat.com>
12263
686d097c
MS
12264 * gdb.base/return2.exp: Don't test long-long return.
12265
57ba3b85
MS
12266 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12267 * gdb.disasm/t01_mov.exp: Ditto.
12268 * gdb.disasm/t02_mova.s: Ditto.
12269 * gdb.disasm/t02_mova.exp: Ditto.
12270 * gdb.disasm/t03_add.s: Ditto.
12271 * gdb.disasm/t03_add.exp: Ditto.
12272 * gdb.disasm/t04_sub.s: Ditto.
12273 * gdb.disasm/t04_sub.exp: Ditto.
12274 * gdb.disasm/t05_cmp.s: Ditto.
12275 * gdb.disasm/t05_cmp.exp: Ditto.
12276 * gdb.disasm/t06_ari2.s: Ditto.
12277 * gdb.disasm/t06_ari2.exp: Ditto.
12278 * gdb.disasm/t07_ari3.s: Ditto.
12279 * gdb.disasm/t07_ari3.exp: Ditto.
12280 * gdb.disasm/t08_or.s: Ditto.
12281 * gdb.disasm/t08_or.exp: Ditto.
12282 * gdb.disasm/t09_xor.s: Ditto.
12283 * gdb.disasm/t09_xor.exp: Ditto.
12284 * gdb.disasm/t10_and.s: Ditto.
12285 * gdb.disasm/t10_and.exp: Ditto.
12286 * gdb.disasm/t11_logs.s: Ditto.
12287 * gdb.disasm/t11_logs.exp: Ditto.
12288 * gdb.disasm/t12_bit.s: Ditto.
12289 * gdb.disasm/t12_bit.exp: Ditto.
12290 * gdb.disasm/t13_otr.s: Ditto.
12291 * gdb.disasm/t13_otr.exp: Ditto.
12292
e00759ef
EZ
122932003-07-22 Elena Zannoni <ezannoni@redhat.com>
12294
12295 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12296
8bc2021f
EZ
122972003-07-22 Elena Zannoni <ezannoni@redhat.com>
12298
a9c64011
AS
12299 * gdb.threads/tls.c : New file.
12300 * gdb.threads/tls.exp : New file.
12301 * gdb.threads/tls-main.c : New file.
12302 * gdb.threads/tls-shared.c : New file.
12303 * gdb.threads/tls-shared.exp : New file.
8bc2021f 12304
89320c4c
AS
123052003-07-22 Andreas Schwab <schwab@suse.de>
12306
12307 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12308
180dea7c
AS
123092003-07-20 Andreas Schwab <schwab@suse.de>
12310
12311 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12312 due to insn reordering.
12313
0714963c
AC
123142003-07-15 Andrew Cagney <cagney@redhat.com>
12315
12316 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12317
98a23b3f
MC
123182003-07-15 Michael Chastain <mec@shout.net>
12319
12320 * gdb.base/gdb1250.exp: New file.
12321 * gdb.base/gdb1250.c: New file.
12322
27e417a2
ML
123232003-07-09 Michal Ludvig <mludvig@suse.cz>
12324
12325 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12326 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12327
8bc2021f
EZ
123282003-07-09 Elena Zannoni <ezannoni@redhat.com>
12329
a9c64011
AS
12330 * gdb.threads/tls.c: New file.
12331 * gdb.threads/tls.exp: New file.
12332 * gdb.threads/tls-main.c: New file.
12333 * gdb.threads/tls-shared.c: New file.
12334 * gdb.threads/tls-shared.exp: New file.
8bc2021f 12335
d99968dc
EZ
123362003-07-09 Elena Zannoni <ezannoni@redhat.com>
12337
12338 * gdb.base/annota1.exp: Make sure that we properly escape the
12339 full path of the source file. Xfail more permissive patterns,
d63a86f8 12340 due to a compiler debug info problem.
d99968dc 12341
83876b3b
AS
123422003-07-07 Andreas Schwab <schwab@suse.de>
12343
2705e972
AS
12344 * gdb.asm/m68k.inc: New file.
12345 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
12346
83876b3b
AS
12347 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
12348 arguments"): Also match negative number.
12349
12350 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
12351
3a871b37
DJ
123522003-07-03 Daniel Jacobowitz <drow@mvista.com>
12353
12354 * gdb.base/store.c (charest): New typedef.
12355 (add_char): Rename to add_charest, update.
12356 (wack_char): Rename to wack_charest, update types. Return l + r
12357 to keep r live across the call.
12358 (wack_short, wack_int, wack_long, wack_longest, wack_float)
12359 (wack_double, wack_doublest): Return l + r to keep r live across
12360 the call.
12361 * gdb.base/store.exp: Accomodate store.c changes.
12362
b2a7f303
DC
123632003-06-30 David Carlton <carlton@kealia.com>
12364
12365 * gdb.c++/maint.exp (test_invalid_name): New.
12366 (test_first_component): Add tests for invalid names.
12367
3c6cb4a1
MC
123682003-06-29 Michael Chastain <mec@shout.net>
12369
12370 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12371 output of '<VTT for class>' for virtual base classes.
12372
f1c2644b
DJ
123732003-06-29 Daniel Jacobowitz <drow@mvista.com>
12374
12375 * gdb.base/completion.exp: Tab-complete "complet" instead of
12376 "compl".
12377 * gdb.base/complex.exp, gdb.base/complex.c: New files.
12378
18080350
DJ
123792003-06-29 Daniel Jacobowitz <drow@mvista.com>
12380
12381 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
12382 * gdb.base/volatile.exp: Likewise.
12383
f56973f8
DJ
123842003-06-29 Daniel Jacobowitz <drow@mvista.com>
12385
12386 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
12387 gdb/1265.
12388
123892003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
12390 Daniel Jacobowitz <drow@mvista.com>
12391
12392 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
12393 initial line count of 'captured_main' from 26 to 32.
12394 (test_with_self): Allow xmalloc call to be interleaved with the
12395 preceding two lines.
12396
e766d4d6
JB
123972003-06-24 Joel Brobecker <brobecker@gnat.com>
12398
12399 * gdb.base/bang.exp: New testcase.
12400
f125c9a4
JB
124012003-06-23 Joel Brobecker <brobecker@gnat.com>
12402
12403 * gdb.base/langs.exp: Add some tests for the "minimal" language
12404 support.
12405
6e25beaf
EZ
124062003-06-23 Elena Zannoni <ezannoni@redhat.com>
12407
12408 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
12409 the testcase.
12410
2f816dda
DJ
124112003-06-22 Daniel Jacobowitz <drow@mvista.com>
12412
12413 * gdb.base/relocate.exp: Test add-symbol-file with a variable
12414 offset.
12415
db5a5748
DJ
124162003-06-22 Daniel Jacobowitz <drow@mvista.com>
12417
12418 * gdb.c++/pr-1210.cc: New file.
12419 * gdb.c++/pr-1210.exp: New file.
12420
1df0c130
DJ
124212003-06-21 Daniel Jacobowitz <drow@mvista.com>
12422
12423 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
12424 000-exec-continue.
12425
a92feac0
MK
124262003-06-15 Mark Kettenis <kettenis@gnu.org>
12427
12428 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
12429 on *-*-*bsd* instead of *-*-freebsd*.
12430
81a58f5b
AC
124312003-06-14 Andrew Cagney <cagney@redhat.com>
12432
12433 * gdb.base/store.exp: Test longest and doublest. Test all
12434 parameters. Weaken return statement match.
12435 * gdb.base/store.c: Add longest and doublest - aka long long and
12436 long double functions. Put all parameters into local register
12437 variables. Use negative values.
12438
b257a0d3
AC
124392003-06-14 Andrew Cagney <cagney@redhat.com>
12440
12441 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
12442 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
12443 exit status.
12444 * gdb.base/fileio.exp: Disable target when nointerrupts and
12445 noinferiorio, instead of limiting it to remote. Use remote_exec
12446 instead of system.
d63a86f8 12447
21c38304
JJ
124482003-06-12 Jeff Johnston <jjohnstn@redhat.com>
12449
12450 * gdb.base/float.exp: Add ia64 support.
12451
1bcdb424
CV
124522003-06-12 Corinna Vinschen <vinschen@redhat.com>
12453
12454 * gdb.base/fileio.exp: Run only on remote targets.
12455
6aeb981f
CV
124562003-06-10 Corinna Vinschen <vinschen@redhat.com>
12457
12458 * gdb.base/fileio.c: New file, testing File-I/O.
12459 * gdb.base/fileio.exp: Ditto.
12460
53df362e
RG
124612003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
12462
12463 * gdb.base/shreloc.exp: New file, check symbol values obtained from
12464 shared objects after relocation at load time (gdb PR/1132).
12465 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 12466 as above, part of the shared object relocation test.
53df362e 12467
ffee1b46
MK
124682003-06-08 Mark Kettenis <kettenis@gnu.org>
12469
b5ca3722
MK
12470 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
12471 fully filled history list.
12472 * gdb.base/gdb_history: New file.
12473
03ed860d
MK
12474 * gdb.base/signals.exp: XFAIL "continue to func1" on
12475 i*86-*-freebsd*.
12476
ffee1b46
MK
12477 * gdb.base/attach.exp: When trying to attach to a nonexistent
12478 process, make it possible to specify the PID based on the target,
12479 and do so for *-*-freebsd*.
12480
d80dbb52
RH
124812003-06-02 Richard Henderson <rth@redhat.com>
12482
12483 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
12484
6dd77b81
RH
124852003-06-02 Richard Henderson <rth@redhat.com>
12486
12487 * gdb.base/selftest.exp: Next over lim_at_start initialization.
12488
f6347e16
RH
124892003-06-02 Richard Henderson <rth@redhat.com>
12490
12491 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
12492
2c161407
DJ
124932003-06-01 Daniel Jacobowitz <drow@mvista.com>
12494
12495 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
12496 of globalvar.
12497
572eb746
MK
124982003-06-01 Mark Kettenis <kettenis@gnu.org>
12499
12500 * gdb.asm/asm-source.exp: Check for memory read errors in
12501 disassembler test on *BSD too.
12502
9e9617a5
RH
125032003-06-01 Richard Henderson <rth@redhat.com>
12504
12505 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
12506 for .frame.
12507 (gdbasm_call): Lose ldgp.
12508 (gdbasm_startup): Add frame information.
12509 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
12510
7b34ad4e
MK
125112003-05-31 Mark Kettenis <kettenis@gnu.org>
12512
12513 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
12514 i?86-*-*.
12515
10059fdf
MK
125162003-05-30 Mark Kettenis <kettenis@gnu.org>
12517
12518 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12519 FreeBSD.
12520
acf4b816
RH
125212003-05-29 Richard Henderson <rth@redhat.com>
12522
12523 * gdb.asm/alpha.inc: New file.
12524 * gdb.asm/asm-source.exp: Use it.
12525
e9ecd949
JB
125262003-05-29 Jim Blandy <jimb@redhat.com>
12527
12528 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
12529 'core.PID'.
12530
e3e5a4f3
JB
125312003-05-22 Jim Blandy <jimb@redhat.com>
12532
12533 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
12534 backtrace.
d63a86f8 12535
72fe3d25
DC
125362003-05-20 David Carlton <carlton@math.stanford.edu>
12537
12538 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
12539 this time.
12540
58da2eb2
DC
125412003-05-19 David Carlton <carlton@bactrian.org>
12542
12543 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
12544 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
12545
1fcb5155
DC
125462003-05-19 David Carlton <carlton@bactrian.org>
12547
12548 * gdb.c++/namespace.exp: Add namespace scope and anonymous
12549 namespace tests.
12550 Bump copyright date.
12551 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
12552 (main): Call C::D::marker2.
12553 * gdb.c++/namespace1.cc: New file.
12554
85e85163
JJ
125552003-05-14 Jeff Johnston <jjohnstn@redhat.com>
12556
12557 Roland McGrath <roland@redhat.com>
d63a86f8 12558 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
12559 there is no manager thread.
12560
a25fbfec
JJ
125612003-05-08 Jeff Johnston <jjohnstn@redhat.com>
12562
d63a86f8
RM
12563 * gdb.threads/schedlock.exp: Remove assumption that all threads
12564 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
12565 in one of the child threads rather than the main thread.
12566
be375bae
JB
125672003-05-07 Jim Blandy <jimb@redhat.com>
12568
09bf6082
JB
12569 Add support for assembly source testing on the s390x.
12570 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
12571 architecture.
12572 * gdb.asm/s390x.inc: New file.
12573
be375bae
JB
12574 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
12575 succession of 'if' statements.
12576
00905d52
AC
125772003-05-05 Andrew Cagney <cagney@redhat.com>
12578
12579 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
12580
b1e29e33
AC
125812003-05-05 Andrew Cagney <cagney@redhat.com>
12582
12583 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
12584 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
12585
e33d66ec
EZ
125862003-05-02 Elena Zannoni <ezannoni@redhat.com>
12587
12588 * gdb.base/charset.exp: Update based on new behavior of set/show
12589 charset commands.
12590
2b6fd0d8
AC
125912003-05-01 Andrew Cagney <cagney@redhat.com>
12592
12593 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
12594 variable do not give memory errors.
12595
130cacce
AF
125962003-04-30 Adam Fedor <fedor@gnu.org>
12597
12598 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
12599 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
12600 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
12601 gdb.objc/basicclass.m: : New files
12602
12603 * lib/gdb.exp (gdb_compile_objc): New procedure.
12604
bea71854
DJ
126052003-04-27 Daniel Jacobowitz <drow@mvista.com>
12606
12607 * gdb.base/signals.exp: Make backtrace tests more specific.
12608
0f20eeea
DC
126092003-04-23 David Carlton <carlton@bactrian.org>
12610
12611 * gdb.c++/maint.exp (test_first_component): Add tests for
12612 'operator' in more locations.
12613
c8c4d8dc
KB
126142003-04-16 Kevin Buettner <kevinb@redhat.com>
12615
12616 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
12617
3fe60e3c
EZ
126182003-04-16 Elena Zannoni <ezannoni@redhat.com>
12619
12620 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 12621 func marke' instead. Update test name.
3fe60e3c 12622
9219021c
DC
126232003-04-15 David Carlton <carlton@math.stanford.edu>
12624
12625 * gdb.c++/maint.exp: New file.
12626
5dd55bdd
EZ
126272003-04-14 Elena Zannoni <ezannoni@redhat.com>
12628
12629 * gdb.threads/schedlock.c: Change type of thread function argument
12630 to long, to avoid warnings on 64-bit platforms.
12631
00890572
EZ
126322003-04-14 Elena Zannoni <ezannoni@redhat.com>
12633
a9c64011
AS
12634 * gdb.base/attach.exp: Add new message from ptrace in case of
12635 attaching to nonexistent process.
d63a86f8 12636
93201743
JB
126372003-04-11 Jim Blandy <jimb@redhat.com>
12638
12639 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12640 gdb.c++/userdef.cc: Place comments on the lines to which the
12641 marker function might return.
12642 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12643 gdb.c++/userdef.exp: Look for those comments to check that we've
12644 returned to the right place, instead of checking line numbers.
12645
2a11c64d
EZ
126462003-04-11 Elena Zannoni <ezannoni@redhat.com>
12647
a9c64011
AS
12648 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
12649 match on sourcefile name, instead of directory name.
2a11c64d 12650
68ab8fc5
EZ
126512003-04-10 Elena Zannoni <ezannoni@redhat.com>
12652
d63a86f8 12653 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
12654 working directory name.
12655
5624293a
JB
126562003-04-09 Jim Blandy <jimb@redhat.com>
12657
12658 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12659 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
12660 after an inferior function call, report the failure, but allow the
12661 test to continue.
12662
f1f02ee4
SC
126632003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12664
12665 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12666 with -DPROTOTYPES.
12667
6eb79af0
SC
126682003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12669
12670 * gdb.base/break.exp: Revert last patch.
12671
8dfb4cf0
SC
126722003-04-04 Stephane Carrez <stcarrez@nerim.fr>
12673
12674 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12675 with -DPROTOTYPES.
12676
ed4c619a
AC
126772003-04-02 Andrew Cagney <cagney@redhat.com>
12678
12679 * gdb.base/callfuncs.exp: Make "print add" messages unique.
12680 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
12681 matching directories by the name breakpoint.
12682 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
12683 Make "continue to marker1" consistent.
12684 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
12685 message consistent.
12686 * lib/gdb.exp: Put "the program is no longer running", and "the
12687 program exited" in parenthesis.
12688 * lib/mi-support.exp: Ditto.
d63a86f8 12689
4e35d5f0 126902003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 12691
4e35d5f0
BR
12692 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
12693
71900fe8
AC
126942003-03-29 Andrew Cagney <cagney@redhat.com>
12695
12696 * gdb.base/sizeof.c (main): Print the value of '\377'.
12697 * gdb.base/sizeof.exp: Check the sign of '\377'.
12698
c0655a16
MC
126992003-03-27 Michael Chastain <mec@shout.net>
12700
12701 * gdb.base/gdb1090.exp: New file.
12702 * gdb.base/gdb1090.cc: New file.
12703
5b2a3989
JB
127042003-03-27 J. Brobecker <brobecker@gnat.com>
12705
12706 * gdb.gdb/observer.exp: New regression test.
12707
79876890
MC
127082003-03-27 Michael Chastain <mec@shout.net>
12709
12710 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
12711 * gdb.base/ptype.exp: Likewise.
12712
6eac95e3
CV
127132003-03-27 Corinna Vinschen <vinschen@redhat.com>
12714
12715 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
12716
e8c71839
MC
127172003-03-26 Michael Chastain <mec@shout.net>
12718
12719 * gdb.base/ptype.exp: Actually use some typedef'd types.
12720
71b10041
SC
127212003-03-21 Stephane Carrez <stcarrez@nerim.fr>
12722
12723 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
12724 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
12725
2512cf80
CV
127262003-03-20 Corinna Vinschen <vinschen@redhat.com>
12727
12728 * gdb.base/default.exp: Fix regular expression.
12729
0d195a4f
CV
127302003-03-20 Corinna Vinschen <vinschen@redhat.com>
12731
12732 * gdb.base/args.exp: Fix regular expression.
12733
8a2dbca8
CV
127342003-03-20 Corinna Vinschen <vinschen@redhat.com>
12735
12736 * gdb.base/help.exp: Allow Win32 child process.
12737
bf028682
CV
127382003-03-20 Corinna Vinschen <vinschen@redhat.com>
12739
12740 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
12741 when stepping out of main().
12742
182dbe85
CV
127432003-03-20 Corinna Vinschen <vinschen@redhat.com>
12744
12745 * gdb.base/default.exp: Check for win32 specific message when calling
12746 "run" without executable.
12747
d67a6ba5
CV
127482003-03-20 Corinna Vinschen <vinschen@redhat.com>
12749
12750 * gdb.base/args.exp: Expect .exe in output.
12751
a955b5bb
CV
127522003-03-20 Corinna Vinschen <vinschen@redhat.com>
12753
12754 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
12755 Cygwin native.
12756
bf6bad4b
AC
127572003-03-17 Andrew Cagney <cagney@redhat.com>
12758
12759 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
12760 vector registes.
12761 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
12762 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
12763
293e9a31
DC
127642003-03-17 David Carlton <carlton@math.stanford.edu>
12765
12766 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
12767 test, for PR breakpoints/38.
12768 Call test_watchpoint_and_breakpoint.
12769 * gdb.base/watchpoint.c (func3): New function.
12770 (main): Call func3.
12771
5330f2db
DC
127722003-03-04 David Carlton <carlton@math.stanford.edu>
12773
12774 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
12775 Garply<Garply<char> >:: garply".
12776 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
12777 with respect to PR c++/1111; note also PR c++/1113.
12778 (test_template_breakpoints): KFAIL "constructor breakpoint" with
12779 respect to PR c++/1062.
12780 KFAIL "destructor breakpoint" with respect to PR c++/1112.
12781
6ece72da
DC
127822003-03-03 David Carlton <carlton@math.stanford.edu>
12783
12784 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
12785 with respect to PR c++/57.
12786 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
12787 c++/826.
12788 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
12789 respect to PR c++/57.
12790
85ca1584
DC
127912003-03-03 David Carlton <carlton@math.stanford.edu>
12792
12793 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
12794 respect to PR c++/33 into FAILs.
12795
98e9c5b8
MC
127962003-03-03 Michael Chastain <mec@shout.net>
12797
7bedbf27
MC
12798 * configure.in: Update copyright years.
12799
128002003-03-03 Michael Chastain <mec@shout.net>
12801
12802 * Makefile.in: Update copyright years.
98e9c5b8 12803
f683e100
DC
128042003-02-28 David Carlton <carlton@math.stanford.edu>
12805
12806 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
12807 print class instead of struct and/or superfluous protection
12808 specifiers, as long as the resulting output is equivalent to the
12809 source code.
12810 Delete FIXME from end of messages on tests that don't need
12811 fixing.
12812
a9e0cf2c
DC
128132003-02-28 David Carlton <carlton@math.stanford.edu>
12814
12815 * gdb.c++/templates.exp (do_tests): Allow const in the two
12816 Foo<volatile char *>::foo tests.
12817
e8d359df
MS
128182003-02-27 Michael Snyder <msnyder@redhat.com>
12819
d63a86f8 12820 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
12821 will be consistant.
12822
0b71dc91
DC
128232003-02-26 David Carlton <carlton@math.stanford.edu>
12824
12825 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
12826 char *>::foo" test with respect to PR c++/33. Create a new test
12827 which is identical to that one except that it doesn't put the
12828 space between the "char" and the "*"; KFAIL it, too.
12829
dd14ab43
DC
128302003-02-26 David Carlton <carlton@math.stanford.edu>
12831
12832 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
12833 template types into either PASSes or KFAILs (corresponding to PR
12834 c++/57). Tweak indentation. Update copyright.
12835
1146c7f1
SC
128362003-02-23 Stephane Carrez <stcarrez@nerim.fr>
12837
12838 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
12839
74641dfb
MC
128402003-02-13 Michael Chastain <mec@shout.net>
12841
12842 * gdb.base/exprs.exp: Remove i960 remnants.
12843 * gdb.base/funcargs.exp: Likewise.
12844 * gdb.base/list.exp: Likewise.
12845 * gdb.base/ptype.exp: Likewise.
12846
559cd2d0
DC
128472003-02-14 David Carlton <carlton@math.stanford.edu>
12848
12849 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
12850 pEe->D::vg()" from XFAIL to KFAIL.
12851
c4f90d87
JM
128522003-02-13 Jason Molenda (jmolenda@apple.com)
12853
12854 * gdb.base/maint.exp: Update maint print statistics regexp to include
12855 new entries.
12856
cbc4d97c
MC
128572003-02-13 Michael Chastain <mec@shout.net>
12858
12859 * gdb.c++/inherit.exp: Remove call to get_debug_format.
12860
40f235b7
MC
128612003-02-12 Michael Chastain <mec@shout.net>
12862
12863 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
12864 * gdb.c++/inherit.exp: Likewise.
12865 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
12866 * gdb.c++/templates.exp: Likewise.
12867 * gdb.c++/virtfunc.exp: Likewise.
12868
c56716b0
JM
128692003-02-06 Jason Molenda (jason-cl@molenda.com)
12870
12871 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
12872 why the code is written that way.
12873
070afcf8
MC
128742003-02-05 Michael Chastain <mec@shout.net>
12875
12876 * gdb.base/dump.exp: Add missing copyright line.
12877
5d0331e5
JM
128782003-02-05 Jason Molenda (jason-cl@molenda.com)
12879
f7ae6d3e 12880 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
12881 at the beginning so the breakpoint doesn't get set on the loop.
12882
92851186
MC
128832003-02-05 Michael Chastain <mec@shout.net>
12884
12885 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
12886 output for configurations with gcc 2.95.3.
12887
cbf1e085
AC
128882003-02-05 Keith Seitz <keiths@redhat.com>
12889 Andrew Cagney <ac131313@redhat.com>
12890
12891 * gdb.mi/mi-cli.exp: New file.
d63a86f8 12892
29518e1e
MC
128932003-02-04 Michael Chastain <mec@shout.net>
12894
12895 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
12896 Call perror and then continue.
12897
5af1d5f3
MC
128982003-02-03 Michael Chastain <mec@shout.net>
12899
12900 * gdb.c++/pr-1023.cc: New file.
12901 * gdb.c++/pr-1023.exp: New file.
12902
6b549786
JB
129032003-02-05 Jim Blandy <jimb@redhat.com>
12904
12905 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
12906 it's local to foobar. Check for it there, and check that it's not
12907 present in main.
12908 * gdb.c++/local.cc (marker2): New function.
12909 (foobar): Call marker1.
12910 (main): Call marker2 instead of marker1.
12911
67f16606
AC
129122003-02-04 Andrew Cagney <ac131313@redhat.com>
12913
12914 * gdb.disasm/mn10200.exp: Obsolete file.
12915 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
12916 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
12917 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
12918
1c5cb38e
DC
129192003-02-04 David Carlton <carlton@math.stanford.edu>
12920
12921 * gdb.c++/overload.exp: Test intToChar(1).
12922 * gdb.c++/overload.cc (intToChar): New.
12923 (main): Call intToChar.
12924
d1fe6965
DC
129252003-02-03 David Carlton <carlton@math.stanford.edu>
12926
12927 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
12928 'might_kfail' arg.
12929 KFAIL some of the continue_to_bp_overloaded calls, according to
12930 PR c++/1025.
12931
9ba61c5d
MC
129322003-02-01 Michael Chastain <mec@shout.net>
12933
12934 * gdb.base/advance.c (marker1): New marker function.
12935 * gdb.base/advance.exp: When the 'advance' command lands on the
12936 return breakpoint, it can legitimately stop on either the
12937 current line or the next line. Accommodate both outcomes.
12938 * gdb.base/until.exp: Likewise.
12939
e7494ffb
AC
129402003-02-02 Andrew Cagney <ac131313@redhat.com>
12941
12942 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
12943 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
12944 now a list, not a tuple.
12945 * gdb.mi/mi-var-display.exp: Ditto.
12946 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 12947
075559bc
AC
129482003-02-01 Andrew Cagney <ac131313@redhat.com>
12949
12950 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
12951 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
12952 stack backtraces.
12953 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 12954
2bd4c7b1
MK
129552003-02-01 Mark Kettenis <kettenis@gnu.org>
12956
12957 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12958 gdb.mi/mi1-pthreads.exp: Return instead of calling
12959 gdb_suppress_entire_file.
12960
eabd8992
MS
129612003-02-01 Mark Salter <msalter@redhat.com>
12962
12963 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
12964
71469e2f
MS
129652003-01-31 Mark Salter <msalter@redhat.com>
12966
12967 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
12968 Support empty arg.
12969
38a94d44
MC
129702003-01-30 Michael Chastain <mec@shout.net>
12971
12972 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
12973 This was a workaround for a UTF-8 bug in readline 4.3. The bug
12974 has been fixed in gdb/readline on 2003-01-09.
12975
19ea9e73
MS
129762003-01-29 Michael Snyder <msnyder@redhat.com>
12977
e8d359df
MS
12978 * gdb.base/maint.exp: Allow for leading underscore in symbol.
12979 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
12980 * gdb.base/args.exp: Skip if target does not support args passing.
12981
2307bd6a
DJ
129822003-01-22 Daniel Jacobowitz <drow@mvista.com>
12983
19ea9e73 12984 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
12985 gdb_test. Accept a list of expect arguments as the third
12986 parameter.
12987 (gdb_test): Use it.
12988
f2dd3617
EZ
129892003-01-20 Elena Zannoni <ezannoni@redhat.com>
12990
12991 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
12992 allow for different test tree configurations. Update some
12993 tescases accordingly.
12994 * gdb.arch/altivec-regs.exp: Ditto.
12995 * gdb.asm/asm-source.exp: Ditto.
12996 * gdb.base/advance.exp: Ditto.
12997 * gdb.base/display.exp: Ditto.
d63a86f8 12998 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
12999 * gdb.base/mips_pro.exp: Ditto.
13000 * gdb.base/overlays.exp: Ditto.
13001 * gdb.base/relocate.exp: Ditto.
13002 * gdb.base/setshow.exp: Ditto.
13003 * gdb.base/step-line.exp: Ditto.
13004 * gdb.base/step-test.exp: Ditto.
13005 * gdb.base/until.exp: Ditto.
13006 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13007
c71cdefd
DC
130082003-01-17 David Carlton <carlton@math.stanford.edu>
13009
13010 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13011 corresponding to PR c++/945.
13012 Update copyright.
13013
fdba05d7
DC
130142003-01-17 David Carlton <carlton@math.stanford.edu>
13015
13016 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13017 corresponding to PR c++/68.
13018
130192003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
13020
13021 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13022 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13023 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13024
c362c33a
EZ
130252003-01-15 Elena Zannoni <ezannoni@redhat.com>
13026
0fbc361c
EZ
13027 * gdb.base/break.exp: Fix change of default location, because of
13028 removal of until tests.
13029 * gdb.base/help.exp: Update test for new 'until' help message.
13030 Add test for help on 'advance'.
a9c64011 13031 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 13032
dabf8a35
MK
130332003-01-15 Mark Kettenis <kettenis@gnu.org>
13034
13035 * gdb.base/default.exp: Adapt "info float" test for recent changes
13036 to that command. Add test for "info vector".
13037 * gdb.base/float.exp: New file. Add test for "info float" that
13038 resembles the old test in gdb.base/default.exp.
13039
a1769aca
DC
130402003-01-15 David Carlton <carlton@math.stanford.edu>
13041
13042 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13043
82025e13
EZ
130442003-01-15 Elena Zannoni <ezannoni@redhat.com>
13045
13046 * gdb.base/break.exp: Move the tests of until command from here...
13047 * gdb.base/until.exp: ... to here. New file. Add other tests.
13048 * gdb.base/advance.c: New file.
13049 * gdb.base/advance.exp: New file.
13050
8f9ab801
EZ
130512003-01-14 Elena Zannoni <ezannoni@redhat.com>
13052
a9c64011
AS
13053 * gdb.base/args.c: New file.
13054 * gdb.base/args.exp: New file.
8f9ab801 13055
9ae66589
DJ
130562003-01-14 Daniel Jacobowitz <drow@mvista.com>
13057
13058 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13059
8d77e5c3
DJ
130602003-01-14 Daniel Jacobowitz <drow@mvista.com>
13061
13062 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13063
12d2f0a1
DJ
130642003-01-14 Daniel Jacobowitz <drow@mvista.com>
13065
13066 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13067 dates.
13068
6ca37014
DJ
130692003-01-13 Daniel Jacobowitz <drow@mvista.com>
13070
13071 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13072
b0023472
DJ
130732003-01-13 Daniel Jacobowitz <drow@mvista.com>
13074
13075 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13076 (ptype &*"foo").
13077 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13078
607fbc54 130792003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
13080
13081 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13082 * gdb.mi/mi1-console.exp: Likewise.
13083
607fbc54 130842003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
13085
13086 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13087 * gdb.mi/mi1-console.exp: Likewise.
13088
a1fb14a2
DJ
130892003-01-13 Daniel Jacobowitz <drow@mvista.com>
13090
13091 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13092
c4cf40b7
DJ
130932003-01-09 Daniel Jacobowitz <drow@mvista.com>
13094
13095 * gdb.base/detach.exp: New test.
13096
696d5a5b
DJ
130972003-01-09 Daniel Jacobowitz <drow@mvista.com>
13098
13099 * Makefile.in (ALL_SUBDIRS): New variable.
13100 (subdirs, clean, distclean): Use it.
13101 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13102 regenerating Makefile, since it is generated from the top level.
13103 * gdb.asm/Makefile.in: Likewise.
13104 * gdb.base/Makefile.in: Likewise.
13105 * gdb.c++/Makefile.in: Likewise.
13106 * gdb.disasm/Makefile.in: Likewise.
13107 * gdb.java/Makefile.in: Likewise.
13108 * gdb.mi/Makefile.in: Likewise.
13109 * gdb.threads/Makefile.in: Likewise.
13110 * gdb.trace/Makefile.in: Likewise.
13111
754533e4
DC
131122003-01-09 David Carlton <carlton@math.stanford.edu>
13113
13114 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13115 Add copyright year 2003.
13116
d8b3e9ee
MC
131172003-01-06 Michael Chastain <mec@shout.net>
13118
13119 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13120 When selecting a thread, 'line' and 'file' are optional.
13121 * gdb.mi/mi1-pthreads.exp: Likewise.
13122
8e9e0fe6
AS
131232003-01-06 Andreas Schwab <schwab@suse.de>
13124
13125 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13126 failures.
13127
b5ab8ff3
DJ
131282003-01-04 Daniel Jacobowitz <drow@mvista.com>
13129
13130 Fix PR gdb/844
13131 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13132 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13133
13134 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13135 instead of calling gdb_suppress_entire_file.
13136 * gdb.threads/print-threads.exp: Likewise.
13137 * gdb.threads/schedlock.exp: Likewise.
13138
13139 * gdb.threads/killed.exp: Return instead of calling
13140 gdb_suppress_entire_file.
13141 * gdb.threads/linux-dp.exp: Likewise.
13142 * gdb.threads/pthreads.exp: Likewise.
13143
1e698235
DJ
131442003-01-04 Daniel Jacobowitz <drow@mvista.com>
13145
13146 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13147 stabs.
13148 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13149 * gdb.base/whatis.exp: Always allow (void) after function names.
13150
147ff08c
DJ
131512003-01-04 Daniel Jacobowitz <drow@mvista.com>
13152
13153 * gdb.c++/casts.exp: Correct regexp.
13154
dc62bfc2
MK
131552003-01-04 Mark Kettenis <kettenis@gnu.org>
13156
13157 * configure.in: Call AC_CONFIG_HEADER. Don't call
13158 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13159 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13160 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13161 aforementioned directories in the AC_OUPUT call.
13162 * config.hin: New file.
13163 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13164 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13165 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13166 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13167 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13168 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13169 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13170 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13171 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13172 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13173 gdb.threads/configure.in, gdb.threads/configure,
13174 gdb.threads/config.in, gdb.trace/configure.in,
13175 gdb.trace/configure: Removed.
13176
77afa639
MC
131772003-01-03 Michael Chastain <mec@shout.net>
13178
13179 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13180 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13181
7634bb6e
DJ
131822003-01-03 Daniel Jacobowitz <drow@mvista.com>
13183
13184 * gdb.base/store.exp: Fix regular expressions.
13185
b39c905e
MK
131862002-12-28 Mark Kettenis <kettenis@gnu.org>
13187
13188 * configure.in: Rewrite.
13189 * configure: Regenerated.
13190
0a8551dd
DC
131912003-01-03 David Carlton <carlton@math.stanford.edu>
13192
13193 * gdb.base/psymtab.exp: New file.
13194 * gdb.base/psymtab1.c: Ditto.
13195 * gdb.base/psymtab2.c: Ditto.
13196
c60b7188
AF
131972002-12-23 Adam Fedor <fedor@gnu.org>
13198
13199 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13200
ee73db83
DC
132012002-12-23 David Carlton <carlton@math.stanford.edu>
13202
13203 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13204 and current_directory initialization.
13205
d6c1774e
JB
132062002-12-22 Jim Blandy <jimb@redhat.com>
13207
f0a847b8
JB
13208 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13209 rather than as part of the output file name.
13210
d6c1774e
JB
13211 * gdb.base/attach.exp: There's no need to copy the test program to
13212 /tmp; that was only ever necessary on HP/UX, and this test is
13213 entirely disabled there anyway.
13214
f0708dbb
JB
132152002-12-21 Jim Blandy <jimb@redhat.com>
13216
4c2acfea
JB
13217 * gdb.c++/psmang.exp: Doc fix.
13218
f0708dbb
JB
13219 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13220 test.
13221
9579e000
DC
132222002-12-20 David Carlton <carlton@math.stanford.edu>
13223
13224 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13225
d1810171
MC
132262002-12-18 Michael Chastain <mec@shout.net>
13227
13228 * gdb.c++/annota2.exp: Add copyright year 2002.
13229
76565097
DC
132302002-12-17 David Carlton <carlton@math.stanford.edu>
13231
13232 * gdb.c++/try_catch.cc: Add marker comments.
13233 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13234 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13235 * gdb.c++/m-static.cc: Ditto.
13236 * gdb.c++/m-static1.cc: Ditto.
13237 * gdb.c++/try_catch.cc: Ditto.
13238
da81390b
JJ
132392002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13240
13241 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13242 to see whether we are using the new -environment-directory
13243 command which resets via -r or the old version of the command
13244 which may prompt the user. Part of fix for gdb/741.
13245
b304d130
AC
132462002-12-13 Andrew Cagney <ac131313@redhat.com>
13247
13248 * gdb.fortran/types.exp: Update obsolete comment.
13249 * gdb.fortran/exprs.exp: Ditto.
13250 * lib/gdb.exp: Delete obsolete code.
13251 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13252 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13253 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13254 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13255 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13256 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13257 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13258 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13259 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13260 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13261 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13262 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13263 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13264 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13265 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13266 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13267 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13268 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13269 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13270 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13271 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13272 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13273 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13274 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13275 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13276 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13277 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13278 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13279 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13280 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13281 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13282 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13283 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13284 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13285 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13286 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13287 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13288
a23b6e6a
DC
132892002-12-11 David Carlton <carlton@math.stanford.edu>
13290
13291 * gdb.c++/m-data.exp: Add test for members that shadow global
13292 variables: see PR gdb/804.
13293 * gdb.c++/m-data.cc: Ditto.
13294
6604731b
DJ
132952002-12-10 Daniel Jacobowitz <drow@mvista.com>
13296
13297 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13298
de46ecd7
DC
132992002-12-06 David Carlton <carlton@math.stanford.edu>
13300
13301 * gdb.base/store.c: Don't declare functions static.
13302
27e829d0
AC
133032002-12-04 Andrew Cagney <ac131313@redhat.com>
13304
13305 * gdb.base/store.exp, gdb.base/store.c: New files.
13306
92806416
DJ
133072002-12-03 Daniel Jacobowitz <drow@mvista.com>
13308
13309 * gdb.base/selftest.exp: Update for current gdb.
13310
3bcbaac5
DJ
133112002-12-03 Daniel Jacobowitz <drow@mvista.com>
13312
13313 * gdb.base/maint.exp: Only dump symbols from one source file
13314 or objfile.
13315
f4f00b1f
DJ
133162002-12-03 Daniel Jacobowitz <drow@mvista.com>
13317
13318 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13319 function call.
13320
f1c8a949
JB
133212002-11-25 Jim Blandy <jimb@redhat.com>
13322
13323 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13324 function appearing in error message.
13325
9e297a97
DJ
133262002-11-21 Daniel Jacobowitz <drow@mvista.com>
13327
13328 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13329
1f312e79
JJ
133302002-11-08 Jeff Johnston <jjohnstn@redhat.com>
13331
d63a86f8
RM
13332 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
13333 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
13334 should be in mi console format. This is part of fix for PR gdb/604.
13335
83c31e7d
FN
133362002-09-18 Fernando Nasser <fnasser@redhat.com>
13337
13338 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
13339 which explicitly prints the zero offset as "+0".
13340
322b3f65
DJ
133412002-10-22 Daniel Jacobowitz <drow@mvista.com>
13342
13343 * gdb.threads/schedlock.c (args): Make unsigned.
13344
133452002-10-21 Daniel Jacobowitz <drow@mvista.com>
13346
13347 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
13348 numbers. Allow "foo2|selected stack frame".
13349 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
13350 * gdb.asm/asmsrc2.s: Likewise.
13351 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
13352 comments.
13353 * gdb.asm/mips.inc: New file.
13354
5e2fe5b8
AF
133552002-10-18 Adam Fedor <fedor@gnu.org>
13356
13357 * gdb.base/default.exp: Update expected output to include 'ObjC'.
13358 * gdb.base/help.exp: Likewise.
13359
abe1a5d0
KB
133602002-10-17 Kevin Buettner <kevinb@redhat.com>
13361
13362 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13363 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13364
10abb1d4
JB
133652002-10-02 Jim Blandy <jimb@redhat.com>
13366
13367 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13368
1f609b42
AC
133692002-10-01 Andrew Cagney <ac131313@redhat.com>
13370
13371 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
13372 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
13373 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
13374 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
13375 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
13376 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
13377 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
13378
0aee02e4
AC
133792002-09-29 Andrew Cagney <ac131313@redhat.com>
13380
13381 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
13382 * mi0-disassemble.exp, mi0-eval.exp: Delete.
13383 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
13384 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
13385 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
13386 * mi0-var-block.exp, mi0-var-child.exp: Delete.
13387 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 13388
6fde09ad
KB
133892002-09-27 Kevin Buettner <kevinb@redhat.com>
13390
13391 * gdb.base/annota1.exp (info break): Make directory components of
13392 path optional since not all compilers emit this debug information.
13393
889bf7c5
PA
13394 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
13395 step ends up stepping out of the function instead of stopping on
13396 the epilogue.
6fde09ad 13397
9e8aab75
KS
133982002-09-26 Keith Seitz <keiths@redhat.com>
13399
13400 * lib/insight-support.exp (gdbtk_start): Figure out where
13401 the insight executable is based on where gdb is. Use this
13402 executable to start insight instead of gdb.
13403
e36180d7
AC
134042002-09-25 Andrew Cagney <cagney@redhat.com>
13405
13406 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
13407
9dd34b2b
AC
134082002-09-24 Andrew Cagney <ac131313@redhat.com>
13409
13410 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
13411 test_isolated_complaints.
13412 (test_empty_complaint): New function.
13413 (test_empty_complaints): New function. Check no output when no
13414 complaints.
d63a86f8 13415
dea97812
KB
134162002-09-19 Jim Blandy <jimb@redhat.com>
13417
a9c64011 13418 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 13419
54951bd7
AC
134202002-09-19 Andrew Cagney <ac131313@redhat.com>
13421
13422 * gdb.gdb/complaints.exp: New file.
13423
dec43320
AC
134242002-09-18 Andrew Cagney <ac131313@redhat.com>
13425
13426 * gdb.base/maint.exp: Check `help maint internal-warning'.
13427
e70d6e3f
DC
134282002-09-18 David Carlton <carlton@math.stanford.edu>
13429
13430 * gdb.c++/m-static.exp: Remove breakpoints depending on line
13431 numbers, and replace them by a single breakpoint after the
13432 constructors are all finished.
13433 Add test 4.
13434 * gdb.c++/m-static.cc: Add test 4.
13435 * gdb.c++/m-static.h: New file.
13436 * gdb.c++/m-static1.cc: New file.
13437
13438 * gdb.c++/printmethod.exp: New file.
13439 * gdb.c++/printmethod.cc: New file.
13440
13441 * gdb.c++/pr-574.exp: New file.
13442 * gdb.c++/pr-574.cc: New file.
13443
afb5c968
CV
134442002-09-18 Corinna Vinschen <vinschen@redhat.com>
13445
13446 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
13447 embedded targets which never actually exit.
13448
31e45dee
FN
134492002-09-18 Fernando Nasser <fnasser@redhat.com>
13450
13451 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
13452 "don't step after run" as unresolved or unsupported, instead of xfail.
13453
a283c5a1
CV
134542002-09-18 Corinna Vinschen <vinschen@redhat.com>
13455
13456 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
13457 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
13458 Add newline to expected string in "step out of main (status wrapper)"
13459 case.
13460
11350d2a
CV
134612002-09-18 Corinna Vinschen <vinschen@redhat.com>
13462
13463 * lib/gdb.exp (rerun_to_main): Allow restarting application.
13464 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
13465
0deec7d6
TT
134662002-09-17 Tom Tromey <tromey@redhat.com>
13467
13468 * gdb.base/printcmds.exp (test_print_string_constants): Expect
13469 \000, not \0, in double-quoted string.
13470
b2b4a1b5
CV
134712002-09-14 Corinna Vinschen <vinschen@redhat.com>
13472
c9d37158 13473 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
13474 string after running the commands execution on breakpoint tests.
13475
1c56143a
CV
134762002-09-13 Corinna Vinschen <vinschen@redhat.com>
13477
13478 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
13479
37f8da45
JB
134802002-09-12 Joel Brobecker <brobecker@gnat.com>
13481
13482 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
13483
08b468e0
KS
134842002-09-10 Keith Seitz <keiths@redhat.com>
13485
13486 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
13487 runto proc.
13488 (mi_run_to_main): Use mi_runto.
13489 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
13490
dc360f58
KS
134912002-09-10 Keith Seitz <keiths@redhat.com>
13492
13493 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
13494 regexp for stopping at main. Could have multiple event notifications.
13495 Don't assume that main was declared with no parameters.
13496 (mi_next): Use mi_step_to.
13497 (mi_step): Use mi_next_to.
13498
ce3abcfb
CV
134992002-09-09 Corinna Vinschen <vinschen@redhat.com>
13500
13501 * gdb.base/default.exp: Fix expected string in `info float' test.
13502
d1f5b980
BE
135032002-09-09 Ben Elliston <bje@redhat.com>
13504
13505 * config/mips.exp: Update comments.
13506 * config/mips-idt.exp: Likewise.
13507 * config/nind.exp: Likewise.
13508 * config/slite.exp: Likewise.
13509 * config/sparclet.exp: Likewise.
13510 * config/udi.exp: Likewise.
13511 * config/vx.exp: Likewise.
13512 * config/vxworks29k.exp: Likewise.
13513
2f71430b
JB
135142002-09-05 Jim Blandy <jimb@redhat.com>
13515
13516 * gdb.threads/killed.exp: Fix test failure message.
13517
7ddebc7e
KS
135182002-09-04 Keith Seitz <keiths@redhat.com>
13519
13520 * lib/mi-support.exp: Update copyright.
13521 (mi_gdb_test): Increase the priority of the expected pattern
13522 so that it matches gdb_test.
13523
0ae67eb3
KS
135242002-09-03 Keith Seitz <keiths@redhat.com>
13525
13526 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
13527 Use integer comparison instead of string comparison for testing
13528 whether binary was built.
13529
38fc42c8
JB
135302002-09-03 Jim Blandy <jimb@redhat.com>
13531
13532 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
13533
b6ff0e81
JB
135342002-08-29 Jim Blandy <jimb@redhat.com>
13535
13536 * gdb.threads/pthreads.exp: Move the portable thread compilation
13537 code into a function in lib/gdb.exp, and call that from here.
13538 * lib/gdb.exp (gdb_compile_pthreads): New function.
13539
07c98896
KS
135402002-08-29 Keith Seitz <keiths@redhat.com>
13541
13542 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
13543 expect_out so that callers can get at it.
13544
0312286c
DJ
135452002-08-23 Daniel Jacobowitz <drow@mvista.com>
13546
13547 * gdb.threads/print-threads.c: New file.
13548 * gdb.threads/print-threads.exp: New file.
13549 * gdb.threads/schedlock.c: New file.
13550 * gdb.threads/schedlock.exp: New file.
13551
dd039bc4
EZ
135522002-08-22 Elena Zannoni <ezannoni@redhat.com>
13553
a9c64011
AS
13554 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
13555 not altivec.c.
dd039bc4 13556
1f36144c
MK
135572002-08-17 Mark Kettenis <kettenis@gnu.org>
13558
13559 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
13560 targets. The problem should be fixed now.
13561
16057ec7 135622002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
13563
13564 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
13565 2002-07-24 change that removes final dots from error messages.
13566
3c1499ad
TT
135672002-08-13 Tom Tromey <tromey@redhat.com>
13568
13569 * gdb.base/readline.exp: New file.
13570
a20ce2c3
AC
135712002-08-01 Andrew Cagney <ac131313@redhat.com>
13572
13573 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
13574 supress message.
13575
db034ac5
AC
135762002-08-01 Andrew Cagney <cagney@redhat.com>
13577
13578 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
13579 CHILL_FOR_TARGET and CHILL_LIB.
13580 * configure.in (configdirs): Remove gdb.chill.
13581 * configure: Regenerate.
13582 * lib/gdb.exp: Obsolete references to chill.
13583 * gdb.fortran/types.exp: Ditto.
13584 * gdb.fortran/exprs.exp: Ditto.
13585
3e000b18
KB
135862002-07-30 Kevin Buettner <kevinb@redhat.com>
13587
13588 * gdb.base/shlib-call.exp (additional_flags): Conditionally
13589 set Irix-specific compile and link flags.
13590
28f4966b
KB
135912002-07-29 Kevin Buettner <kevinb@redhat.com>
13592
13593 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
13594 source files. The ``-o'' option doesn't work with the ``-E'' option
13595 when using the Irix compiler.
13596
46c0d5a6
DJ
135972002-07-19 Daniel Jacobowitz <drow@mvista.com>
13598
13599 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
13600 Improve support for reusing an exec file. Copy exec file
13601 to target, and run gdbserver on the target instead of on the host.
13602
eecf4bed
JB
136032002-07-18 Jim Blandy <jimb@redhat.com>
13604
0f815cdf
JB
13605 * gdb.base/ending-run.exp: Don't expect to see the program end in
13606 some orderly fashion when we're running on a real stand-alone
13607 board.
13608
eecf4bed
JB
13609 * gdb.base/interrupt.exp: Correct logic for skipping tests on
13610 targets that don't support interrupts.
13611
52d309e4
JB
136122002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
13613
13614 * gdb.base/attach.exp: Add patterns to match output from /proc-based
13615 systems.
13616 Move comments in expect statements to inside the actions, so that they
13617 don't get matched against.
13618
ff683d9e
MK
136192002-07-10 Mark Kettenis <kettenis@gnu.org>
13620
13621 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
13622 function when asleep" test.
13623
b5356753
AC
136242002-07-10 Andrew Cagney <ac131313@redhat.com>
13625
13626 * gdb.base/page.exp: Rewrite to handle problems with very long
13627 `info set' output. Update copyright.
13628
6aa4d13a
AC
136292002-06-26 Andrew Cagney <ac131313@redhat.com>
13630
13631 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
13632 gdb.threads-hp.
13633 * gdb.hp/configure: Regenerate.
13634 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
13635 * gdb.hp/gdb.threads-hp/configure: Delete file.
13636 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
13637
8cf8c2b8
AC
136382002-06-22 Andrew Cagney <ac131313@redhat.com>
13639
13640 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
13641 setlocale, bindtextdomain and textdomain.
13642
6827a8f8
JB
136432002-06-11 Jim Blandy <jimb@redhat.com>
13644
919d772c
JB
13645 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
13646 preprocessor macro information is present.
13647
6827a8f8
JB
13648 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
13649 tests.
13650
c15b0d21
MS
136512002-06-06 Michael Snyder <msnyder@redhat.com>
13652
c5984d70
MS
13653 * gdb.base/overlays.exp: Record addresses of overlay
13654 functions in TCL variables rather than in GDB variables,
13655 to avoid having GDB convert them to pointers (with loss
13656 of information).
13657
d63a86f8 13658 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 13659 default linker script changes.
c15b0d21
MS
13660 * gdb.base/long_long.exp: Add check for sizeof (long double).
13661
be26fe0d
ML
136622002-06-06 Michal Ludvig <mludvig@suse.cz>
13663
13664 * gdb.asm/asm-source.exp: Add x86-64 target.
13665 * gdb.asm/x86_64.inc: New.
d63a86f8 13666
258093ca 136672002-05-30 Michael Chastain <mec@shout.net>
258093ca 13668
4b3153f1 13669 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
13670 * gdb.c++/m-static.cc: New file.
13671 * gdb.c++/m-static.exp: New file.
13672
241264c6
MS
136732002-05-28 Michael Snyder <msnyder@redhat.com>
13674
13675 * gdb.base/call-ar-st.exp: Allow for reduced floating point
13676 precision.
13677
9bba8c8f 136782002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 13679
4b3153f1 13680 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
13681 * gdb.c++/m-data.cc: New file.
13682 * gdb.c++/m-data.exp: New file.
13683
136842002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 13685
4b3153f1 13686 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 13687 * gdb.c++/try_catch.cc: New file.
d63a86f8 13688 * gdb.c++/try_catch.exp: New file.
9bba8c8f 13689
def1b996
MC
136902002-05-27 Michael Chastain <mec@shout.net>
13691
13692 * gdb.c++/local.exp: Accept more nested types in output.
13693
522ba268
MC
136942002-05-26 Michael Chastain <mec@shout.net>
13695
13696 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
13697
277254ba
MS
136982002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
13699
13700 * lib/gdb.exp (gdb_wrapper_init): Just because
13701 gdb_wrapper_file exists, this does not mean that the file
13702 should not be rebuilt. That is what gdb_wrapper_initialized
13703 is for.
13704 (default_gdb_init): Reset gdb_wrapper_initialized.
13705
b61a8733
MS
137062002-05-23 Michael Snyder <msnyder@redhat.com>
13707
d63a86f8 13708 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
13709 the precision of the floating point test results.
13710 * gdb.base/call-rt-st.exp: Ditto.
13711
b61a8733
MS
13712 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
13713 * gdb.base/call-rt-st.exp: Ditto.
13714
56f6e910
MC
137152002-05-19 Michael Chastain <mec@shout.net>
13716
13717 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
13718
ad0b0016
EZ
137192002-05-19 Elena Zannoni <ezannoni@redhat.com>
13720
a9c64011
AS
13721 * configure.in (configdirs): Add gdb.arch.
13722 * configure: Regenerate.
ad0b0016 13723
f617d2b6
JB
137242002-05-17 Jim Blandy <jimb@redhat.com>
13725
13726 * gdb.base/completion.exp: Recognize the more detailed error
13727 messages produced by the macro expander's lexical analyzer.
13728
eac2a696
EZ
137292002-05-14 Elena Zannoni <ezannoni@redhat.com>
13730
a9c64011
AS
13731 * gdb.arch/altivec-abi.c: New file.
13732 * gdb.arch/altivec-abi.exp: New file.
13733 * gdb.arch/altivec-regs.c: New file.
13734 * gdb.arch/altivec-regs.exp: New file.
eac2a696 13735
2fdde8f8
DJ
137362002-05-14 Daniel Jacobowitz <drow@mvista.com>
13737
13738 * gdb.base/maint.exp (maint print type): Update for new type
13739 structure.
d63a86f8 13740
e31f1a7c
EZ
137412002-05-14 Elena Zannoni <ezannoni@redhat.com>
13742
13743 * gdb.arch: New directory.
13744 * gdb.arch/configure.in: New file.
13745 * gdb.arch/configure: New file.
13746 * gdb.arch/Makefile.in: New file.
13747
db589741
CV
137482002-05-13 Corinna Vinschen <vinschen@redhat.com>
13749
13750 * gdb.asm/asm-source.exp: Add v850 as supported target.
13751 * gdb.asm/v850.inc: New file.
13752
8ce2a7dc
DJ
137532002-05-13 Daniel Jacobowitz <drow@mvista.com>
13754
13755 * gdb.c++/annota2.exp (annotate-quit): Add comment.
13756
df763c7f
DJ
137572002-05-12 Daniel Jacobowitz <drow@mvista.com>
13758
13759 * gdb.base/break.exp: Check 'break "marker2"'.
13760
377daeed
MS
137612002-05-10 Michael Snyder <msnyder@redhat.com>
13762
13763 * gdb.base/long_long.exp: Fix typo.
13764
c4b7bc2b
JB
137652002-05-10 Jim Blandy <jimb@redhat.com>
13766
ecac9a4e
JB
13767 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
13768 a bug.
13769
c4b7bc2b
JB
13770 * gdb.base/printcmds.exp (test_integer_literals_rejected):
13771 Recognize more detailed error message produced by the macro
13772 expander's lexical analyzer.
13773 * lib/gdb.exp (test_print_reject): Same.
13774
e71019a1
MK
137752002-05-09 Mark Kettenis <kettenis@gnu.org>
13776
13777 * gdb.c++/method.exp: Fix typo.
13778
fedfc8e6
MS
137792002-05-08 Michael Snyder <msnyder@redhat.com>
13780
166a1957
MS
13781 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
13782 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 13783 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
13784 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
13785 Add iftarget clause for strongarm.
d63a86f8 13786
f1c47eb2
MS
137872002-05-06 Michael Snyder <msnyder@redhat.com>
13788
cb9a9d3e
MS
13789 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
13790 (gdb_continue_to_end): Accept output from status wrapper.
13791 * gdb.base/ending-run.exp: Add case for output from status wrapper.
13792 Clean up fail messages to match pass messages.
13793
f1c47eb2
MS
13794 Enable the "needs_status_wrapper" testsuite feature.
13795 * lib/gdb.exp (gdb_wrapper_init): New procedure.
13796 (gdb_compile): Conditionally call gdb_wrapper_init.
13797 * gdb.base/a2-run.exp: Recognize output from status wrapper.
13798 * gdb.c++/method.exp: Recognize output from status wrapper.
13799
6079c749
BE
138002002-05-06 Ben Elliston <bje@redhat.com>
13801From Graydon Hoare <graydon@redhat.com>
13802
13803 * config/sid.exp: Include support for "rawsid" protocol.
13804
188baff3
JB
138052002-05-03 Jim Blandy <jimb@redhat.com>
13806
13807 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
13808 * gdb.c++/hang3.C: New file.
13809
b9c07f0f
AC
138102002-05-04 Andrew Cagney <ac131313@redhat.com>
13811
13812 * gdb.base/default.exp: Remove obsolete code.
13813 * gdb.c++/misc.exp: Ditto. Update copyright.
13814 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
13815 * gdb.base/whatis.exp: Ditto. Update copyright.
13816 * gdb.base/scope.exp: Ditto. Update copyright.
13817 * gdb.base/ptype.exp: Ditto. Update copyright.
13818 * gdb.base/printcmds.exp: Ditto. Update copyright.
13819 * gdb.base/opaque.exp: Ditto. Update copyright.
13820 * gdb.base/list.exp: Ditto.
13821 * gdb.base/funcargs.exp: Ditto. Update copyright.
13822 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
13823 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
13824 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
13825 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
13826 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
13827 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
13828
5c7a0397
MS
138292002-05-02 Michael Snyder <msnyder@redhat.com>
13830
d6dcc264 13831 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
13832 * gdb.base/long_long.exp: Add xscale target.
13833 * gdb.base/default.exp: Add xscale target.
13834
eb7f1c48
JB
138352002-05-01 Jim Blandy <jimb@redhat.com>
13836
13837 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
13838 gdb.c++/hang.exp: New test.
13839
a6befae8
FF
138402002-05-01 Fred Fish <fnf@redhat.com>
13841
13842 * gdb.base/completion.exp: Handle completions of "./Make" for
13843 more than one completion possibility, as is the case when we
13844 build and test in the source tree.
13845
0a310277
AG
138462002-04-29 Anthony Green <green@redhat.com>
13847
13848 * gdb.java/jmisc1.exp: New file.
13849 * gdb.java/jmisc2.exp: New file.
13850
6ff9af88
DJ
138512002-04-24 Daniel Jacobowitz <drow@mvista.com>
13852
13853 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
13854
96b3d632
EZ
138552002-04-23 Elena Zannoni <ezannoni@redhat.com>
13856
13857 * gdb.base/help.exp: Change 'help status' to allow for target
13858 dependent output differences.
13859
5019bb54
MC
138602002-04-22 Michael Chastain <mec@shout.net>
13861
13862 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
13863
a805a116
MC
138642002-04-22 Michael Chastain <mec@shout.net>
13865
13866 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
13867
a1706bfd
DM
138682002-04-17 David S. Miller <davem@redhat.com>
13869
13870 * gdb.asm/sparc64.inc: New file.
13871 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
13872
a73a20a2
EZ
138732002-04-19 Elena Zannoni <ezannoni@redhat.com>
13874
13875 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
13876 instruction file directly into the build tree. Clean up at end of
13877 test.
13878
ba678339
DM
138792002-04-18 David S. Miller <davem@redhat.com>
13880
13881 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
13882 handle 64-bit platforms correctly.
13883 * gdb.base/maint.exp: Likewise.
13884
b03399da
KB
138852002-04-18 Kevin Buettner <kevinb@redhat.com>
13886
13887 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
13888 ``-fpic'' when compiling files comprising a shared library, but
13889 it does need additional linker flags in order to find shared
13890 libraries at run time.
13891
e2004992
KB
138922002-04-18 Kevin Buettner <kevinb@redhat.com>
13893
13894 * gdb.base/cvexpr.c (use): New function.
13895 (main): Invoke use() on all global variables to prevent
13896 some linkers from deleting these otherwise unused symbols.
13897
d8937120
MC
138982002-04-17 Michael Chastain <mec@shout.net>
13899From David S. Miller <davem@redhat.com>
13900
13901 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
13902 handle 64-bit platforms correctly.
13903
ffd61a58
MS
139042002-04-12 Michael Snyder <msnyder@redhat.com>
13905From Jim Blandy <jimb@redhat.com>
a9c64011 13906 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
13907 script can handle this instead.
13908 * gdb.base/bar.c (barx): Same.
13909 * gdb.base/baz.c (bazx): Same.
13910 * gdb.base/grbx.c (grbxx): Same.
13911
13912 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
13913 manager doesn't automatically unmap overlays unnecessarily.
13914
6b8426a6
MH
139152002-04-10 Martin M. Hunt <hunt@redhat.com>
13916
13917 * gdb.base/ending-run.exp: Fix pattern for Mips targets
13918 stepping out of main.
13919
34af4875
MC
139202002-04-09 Michael Chastain <mec@shout.net>
13921
13922 * gdb.c++/local.cc (main): Move call to marker1() inside nested
13923 scope so that the nested scope tests will make sense.
13924 * gdb.c++/local.exp: Write patterns that actually work with gcc
13925 (the HP patterns "were never known to work with gcc").
13926 Keep the old aCC patterns too.
13927
2d1676a0
DJ
139282002-04-09 Daniel Jacobowitz <drow@mvista.com>
13929
13930 * gdb.base/attach.exp: Correct target board test.
13931
3a63e3f9
MC
139322002-04-08 Michael Chastain <mec@shout.net>
13933
13934 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
13935 in a const method. Add some xfail and fail cases for configurations
13936 that do not emit the "const ...".
13937
f18dabd2
MC
139382002-04-07 Michael Chastain <mec@shout.net>
13939
13940 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
13941 Accept "A * const" and "const A * const" as type of "this".
13942 Fix spelling of getFunky throughout. Make messages uniform.
13943
0fcddd82
EZ
139442002-04-07 Elena Zannoni <ezannoni@redhat.com>
13945
a9c64011 13946 Work around for PR gdb/285:
0fcddd82
EZ
13947 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
13948
16a8534a
EZ
139492002-04-07 Elena Zannoni <ezannoni@redhat.com>
13950
13951 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
13952 instructions file at run time instead of configure time.
13953 Sometimes we run the test in a directory that is not the one we
13954 configured in.
13955 * gdb.asm/configure.in: Delete creation of symlink.
13956 * gdb.asm/configure: Regenerate.
13957
24181d81
JB
139582002-04-05 J. Brobecker <brobecker@gnat.com>
13959
13960 * gdb.gdb/xfullpath.exp: New test, to exercise the new
13961 xfullpath () function.
13962
7cdb7107
DJ
139632002-04-04 Daniel Jacobowitz <drow@mvista.com>
13964
13965 * gdb.asm/Makefile.in: Correct dependencies.
13966
13967 * gdb.asm/powerpc.inc: New file.
13968 * gdb.asm/asm-source.exp: Add PowerPC.
13969 * gdb.asm/configure.in: Likewise.
13970 * gdb.asm/configure: Regenerated.
13971
a7d17088
DJ
139722002-04-04 Daniel Jacobowitz <drow@mvista.com>
13973
13974 * gdb.base/relocate.exp: New file.
13975 * gdb.base/relocate.c: New file.
13976
cd721503
FF
139772002-04-04 Fred Fish <fnf@redhat.com>
13978
13979 * gdb.base/step-test.exp: Update comment regarding stopping in
13980 memcpy/bcopy calls inserted as part of the compiler runtime.
13981
b22ad7a7
MS
139822002-04-04 Michael Snyder <msnyder@redhat.com>
13983
13984 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
13985
5f279fa6
DJ
139862002-04-03 Daniel Jacobowitz <drow@mvista.com>
13987
13988 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
13989 (gdb_expect): Remove $notransfer hack.
13990
dd0fd3ce
DJ
139912002-04-02 Daniel Jacobowitz <drow@mvista.com>
13992
13993 * gdb.c++/classes.exp ("calling method for small class"): Match
13994 updated register output.
13995
1e50cda1
DJ
139962002-03-30 Daniel Jacobowitz <drow@mvista.com>
13997
13998 Fix PR gdb/452
13999 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14000 when finished. Make gdb_file_cmd send "exec-file" when
14001 appropriate.
14002
24015922
DJ
140032002-03-30 Daniel Jacobowitz <drow@mvista.com>
14004
14005 * gdb.base/attach.exp: Remove extra setup_xfail.
14006
dd7dfd64
MS
140072002-03-26 Michael Snyder <msnyder@redhat.com>
14008
14009 * gdb.base/default.exp: Add tests for dump, append, and restore.
14010 * gdb.base/help.exp: Add tests for dump, append, and restore.
14011 * gdb.base/dump.exp: New file, test dump, append and restore.
14012 * gdb.base/dump.c: New file.
14013
48b2f8d7
MS
140142002-03-27 Michael Snyder <msnyder@redhat.com>
14015
d63a86f8 14016 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
14017 clean-ups in help messages.
14018
05b4d525
FF
140192002-03-26 Fred Fish <fnf@redhat.com>
14020
14021 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14022 have debugging info for those functions and the compiler uses them
14023 internally to copy structs around.
14024
d7679631
FF
140252002-03-26 Fred Fish <fnf@redhat.com>
14026
14027 * gdb.base/list.exp: Revert the change made yesterday and add note
14028 about why we don't list the default lines for remote targets.
14029
523ac3f9
MS
140302002-03-25 Michael Snyder <msnyder@redhat.com>
14031
14032 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14033
754b2b8d
FF
140342002-03-25 Fred Fish <fnf@redhat.com>
14035
14036 * gdb.base/list.exp: This test works on remote targets so remove
14037 the short circuit for remote targets. Update copyright.
14038
33c3e192
FF
140392002-03-25 Fred Fish <fnf@redhat.com>
14040
14041 * gdb.base/attach.exp: Fix logic error that was suppressing this
14042 test for all non hppa*-*-hpux* targets, instead of the hp target.
14043 Move comments closer to the suppression point. Also now need to
14044 check that we are running natively.
14045
d43e73ee
MS
140462002-03-22 Michael Snyder <msnyder@redhat.com>
14047
882c8f02
MS
14048 * gdb.base/default.exp: Add test for gcore. Update copyright.
14049 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 14050
04c12f60
FF
140512002-03-06 Fred Fish <fnf@redhat.com>
14052
14053 * gdb.base/funcargs.c: Remove extraneous ';' character.
14054 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14055
b43df995
MC
140562002-03-04 Michael Chastain <mec@shout.net>
14057
14058 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14059 accommodate gcc v3 function signature.
14060 * gdb.mi/mi0-var-cmd-exp: Ditto.
14061
92362027
AC
140622002-02-24 Andrew Cagney <ac131313@redhat.com>
14063
14064 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14065 ``GNU/Linux'' or ``Linux kernel''
14066 * testsuite/gdb.threads/pthreads.c: Ditto.
14067
258ad32d
MC
140682002-02-24 Michael Chastain <mec@shout.net>
14069
14070 * gdb.threads/pthreads.c (thread1): Add a return statement.
14071 (thread2): Likewise.
14072 (foo): Likewise.
14073
04c3b3d4
MC
140742002-02-23 Michael Chastain <mec@shout.net>
14075
14076 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14077 to placate gcc.
14078
5a2a0a20
MC
140792002-02-23 Michael Chastain <mec@shout.net>
14080
14081 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14082 test "ptype bint". The test passes on all my stabs configurations.
14083
a640f7fc
JB
140842002-02-21 Jim Blandy <jimb@redhat.com>
14085
27924826
JB
14086 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14087 filename at a time, and watch for the ones we want to see.
14088
a640f7fc
JB
14089 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14090 types of pointers to prototyped functions.
14091
edcc8c75
AC
140922002-02-20 Andrew Cagney <ac131313@redhat.com>
14093
14094 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14095 signed, unsigned and straight char.
14096 (padding_char, padding_short, padding_int, padding_long,
14097 padding_long_long, padding_float, padding_double,
14098 padding_long_double): New global variables.
14099 (fill, fill_structs): New functions.
14100
14101 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14102 for correctly sized writes. Update copyright.
14103 (get_valueof): New procedure.
14104 (get_sizeof): Call get_valueof.
14105 (check_valueof): New procedure.
14106 (check_padding): New procedure.
14107
ac57ea44
MC
141082002-02-20 Michael Chastain <mec@shout.net>
14109
14110 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14111 to setup_xfail. Document some of the remaining calls.
14112
7a10c941
MC
141132002-02-18 Michael Chastain <mec@shout.net>
14114
14115 * gdb.c++/userdef.exp: Update copyright year.
14116
fb8acdcc
DJ
141172002-02-18 Daniel Jacobowitz <drow@mvista.com>
14118
14119 * gdb.c++/userdef.exp: Test overloaded operators properly.
14120 Remove xfails.
14121
fda6ae12
MS
141222002-02-14 Michael Snyder <msnyder@redhat.com>
14123
14124 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14125
676a0442
DJ
141262002-02-14 Daniel Jacobowitz <drow@mvista.com>
14127
14128 * gdb.base/a2-run.exp: Check for a remote target properly.
14129 * gdb.base/annota1.exp: Likewise.
14130 * gdb.base/list.exp: Likewise.
14131 * gdb.base/reread.exp: Likewise.
14132 * gdb.base/scope.exp: Likewise.
14133 * gdb.base/shlib-call.exp: Likewise.
14134 * gdb.base/term.exp: Likewise.
14135 * gdb.c++/annota2.exp: Likewise.
14136
78b4f468
RE
141372002-02-13 Richard Earnshaw <rearnsha@arm.com>
14138
14139 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14140
9a81ba51
MC
141412002-02-10 Michael Chastain <mec@shout.net>
14142
14143 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14144 (call_after_alloca): Ditto.
14145
004af6c7
DJ
141462002-02-10 Daniel Jacobowitz <drow@mvista.com>
14147
14148 * gdb.base/ending-run.exp: Guard "cont" test with
14149 gdb_skip_stdio_test.
14150
37225f62
JB
141512002-02-06 Jim Blandy <jimb@redhat.com>
14152
14153 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14154 from here...
14155 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14156 To here. Disable this test on non-HP platforms. Add big comment.
14157
fe6fdd96
MS
141582002-02-04 Michael Snyder <msnyder@redhat.com>
14159
14160 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14161 other than d10v and m32r.
14162
036fad3f
RE
141632002-02-02 Richard Earnshaw <rearnsha@arm.com>
14164
14165 * gdb.base/default.exp: Rewrite test patterns to reduce time
14166 taken to match them.
14167
7148ab62
DJ
141682002-01-30 Daniel Jacobowitz <drow@mvista.com>
14169
14170 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14171 Allow a start function above main.
14172 * gdb.threads/linux-dp.exp: Fix copyright date.
14173
396cc255
DJ
141742002-01-30 Daniel Jacobowitz <drow@mvista.com>
14175
a9c64011
AS
14176 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14177 (check_philosopher_stack): Check for manager thread before checking
14178 for a just-starting thread.
396cc255 14179
f038d31b
DJ
141802002-01-30 Daniel Jacobowitz <drow@mvista.com>
14181
14182 From Neil Booth <neil@daikokuya.demon.co.uk>:
14183 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14184 warnings.
14185
b3ff9d9a
FF
141862002-01-21 Fred Fish <fnf@redhat.com>
14187
14188 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14189 not caller.
14190
39ad761d
JB
141912002-01-21 Jim Blandy <jimb@redhat.com>
14192
14193 * gdb.base/reread.exp: Check that GDB properly re-reads the
14194 executable file when it changes while no inferior is running.
14195
aaf320fa
FF
141962002-01-21 Fred Fish <fnf@redhat.com>
14197
a9c64011
AS
14198 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14199 optionally accept the "shlib events" variation.
aaf320fa 14200
808a31f5
JB
142012002-01-21 Jim Blandy <jimb@redhat.com>
14202
14203 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14204 call `fflush' after every `printf', so that the output is produced
14205 at predictable points, regardless of whatever buffering does (or
14206 doesn't) take place.
14207 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14208 at different points.
14209
4420d5e2
DJ
142102002-01-20 Daniel Jacobowitz <drow@mvista.com>
14211
14212 * gdb.c++/inherit.exp: Update copyright years.
14213 * gdb.c++/method.exp: Likewise.
14214
3e36a0f4
DJ
142152002-01-20 Daniel Jacobowitz <drow@mvista.com>
14216
14217 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14218 artificial methods/arguments.
14219 * gdb.c++/derivation.exp: Likewise.
14220 * gdb.c++/inherit.exp: Likewise.
14221 * gdb.c++/method.exp: Likewise.
14222 * gdb.c++/virtfunc.exp: Likewise.
14223
b4ceaee6
AC
142242002-01-18 Andrew Cagney <ac131313@redhat.com>
14225
14226 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14227 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14228 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14229 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14230 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14231 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14232
ecace851
JB
142332002-01-17 Jim Blandy <jimb@redhat.com>
14234
14235 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14236 anchoring the pattern matching the entry point symbol's name.
14237
375fc983
AC
142382002-01-17 Andrew Cagney <ac131313@redhat.com>
14239
14240 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14241 continue/quit query. Update copyright.
14242
fe6fdd96
MS
142432002-01-14 Michael Snyder <msnyder@redhat.com>
14244
14245 * gdb.base/gcore.exp: Remove extra debugging output.
14246
e017c81f
DJ
142472002-01-13 Daniel Jacobowitz <drow@mvista.com>
14248
14249 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14250 for slightly dubious v2 mangled string.
14251
37ab3bf8
DJ
142522002-01-13 Daniel Jacobowitz <drow@mvista.com>
14253
14254 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14255
1bc05c3a 142562002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 14257
1bc05c3a 14258 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 14259
1bc05c3a
JM
14260 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14261 constructors.
14262 * gdb.c++/derivation.exp: Likewise.
14263 * gdb.c++/templates.exp: Likewise.
14264 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 14265
1bc05c3a
JM
142662002-01-10 Michael Snyder <msnyder@redhat.com>
14267
14268 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 14269
a911c360
MS
142702002-01-08 Michael Snyder <msnyder@redhat.com>
14271
14272 * gdb.base/gcore.exp: New test for generate-core-file command.
14273 * gdb.base/gcore.c: Testcase for above.
14274 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14275
ea2119ec
JM
142762002-01-08 Jason Merrill <jason@redhat.com>
14277
14278 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14279
68203136
FF
142802002-01-07 Fred Fish <fnf@redhat.com>
14281
14282 * gdb.c++/overload.exp: Remove unconditional xfails for:
14283 print foo_instance1.overloadargs(1)
14284 print foo_instance1.overloadargs(1, 2)
14285 print foo_instance1.overloadargs(1, 2, 3)
14286 print foo_instance1.overloadargs(1, 2, 3, 4)
14287 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14288 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14289 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14290 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14291 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14292 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14293 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14294 print foo_instance1.overload1arg()
14295 print foo_instance1.overload1arg((char)arg2)
14296 print foo_instance1.overload1arg((signed char)arg3)
14297 print foo_instance1.overload1arg((unsigned char)arg4)
14298 print foo_instance1.overload1arg((int)arg7)
14299 print foo_instance1.overload1arg((unsigned int)arg8)
14300 print foo_instance1.overload1arg((float)arg11)
14301 print foo_instance1.overload1arg((double)arg12)
d63a86f8 14302
21b9b5b1
MS
143032002-01-07 Michael Snyder <msnyder@redhat.com>
14304
14305 * gdb.base/huge.exp: New test. Print a very large target data object.
14306 (skip_huge_test): New test variable. Define if you want to skip this
14307 test. The test reads an 8 megabyte data object from the target, so it
14308 might be very time consuming on remote targets with a slow connection.
14309 * gdb.base/huge.c: New file. Test case for above.
14310
725f922e
FF
143112002-01-07 Fred Fish <fnf@redhat.com>
14312
14313 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14314 g_instance.bfoo, and g_instance.cfoo.
14315
889bf7c5 143162002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 14317
889bf7c5
PA
14318 * gdb.base/break.c (multi_line_if_conditional): New function.
14319 (multi_ilne_while_conditional): Likewise.
14320 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14321 IF or WHILE condition puts the breakpoint at the start of
14322 the condition.
f286b2c3 14323
634d57ec
JL
14324 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14325 hppa*-*-hpux* expected failure.
14326 * gdb.base/structs.exp (do_function_calls): Similarly.
14327
14328 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14329 watchpoints.
14330
9fbfe2dc
AC
143312002-01-06 Andrew Cagney <ac131313@redhat.com>
14332
14333 Fix PR gdb/66.
14334 * gdb.base/structs.exp: Replace skip for a29k with skip for
14335 gdb,cannot_call_functions.
14336 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
14337 * gdb.base/callfuncs.exp: Ditto.
14338 * gdb.base/call-rt-st.exp: Ditto.
14339 * gdb.base/call-strs.exp: Ditto.
14340 * gdb.base/callfwmall.exp: Ditto.
14341 * gdb.base/scope.exp: Obsolete xfail a29k.
14342 * gdb.c++/misc.exp: Ditto.
14343 * gdb.c++/cplusfuncs.exp: Ditto.
14344 * gdb.base/ptype.exp: Ditto.
14345 * gdb.base/printcmds.exp: Ditto.
14346 * gdb.base/opaque.exp: Ditto.
14347 * gdb.base/list.exp: Ditto.
14348 * gdb.base/funcargs.exp: Ditto.
14349 * gdb.base/default.exp: Ditto.
14350
8ddad156
MS
143512002-01-04 Michael Snyder <msnyder@redhat.com>
14352
ca4976a6 14353 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
14354 * gdb.base/maint.exp: Add tests for maint info sections options.
14355
1b074332
JL
14356Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
14357
14358 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
14359
7d159115
CV
143602001-12-20 Corinna Vinschen <vinschen@redhat.com>
14361
14362 * gdb.asm/arm.inc: New file.
14363 * gdb.asm/asm-source.exp: Add arm targets.
14364 * gdb.asm/configure.in: Ditto.
14365 * gdb.asm/configure: Recreated from configure.in.
14366
8fb87725
JL
14367Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
14368
afabe08c
JL
14369 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
14370 with HP's compiler.
14371 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14372 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14373 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14374 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14375
14376 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14377 either HP's compilers or GCC.
14378
db521deb
JL
14379 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
14380 a SIGBUS or SIGSEGV.
14381
14382 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
14383
14384 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
14385 can be compiled with either HP's compiler or GCC.
14386
cfa88ab7
JL
14387 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
14388 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
14389 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
14390
ca344dff
JL
14391 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
14392 to match current gdb output. Update due to using auto-solib-limit
14393 for limiting instead of overloading auto-solib-add.
14394 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
14395 test program.
14396
3f3c6e55 14397 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
14398 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
14399 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14400 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14401 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14402 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14403 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
14404 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
14405 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
14406 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
14407 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
14408 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
14409 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 14410
8fb87725
JL
14411 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
14412 a SIGTRAP to the inferior.
14413
cf599fa7
CV
144142001-12-19 Corinna Vinschen <vinschen@redhat.com>
14415
14416 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
14417 Substitute call to target_link by call to gdb_compile.
14418
2cd045cd
JL
14419Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
14420
a9c64011
AS
14421 * gdb.base/break.exp: Fix HP specific search string when testing
14422 backtracing in a called function.
2cd045cd 14423
a9c64011
AS
14424 * gdb.base/constvars.exp: Only set lang to C++ if we're
14425 compiling the test with HP's compilers.
14426 * gdb.base/volatile.exp: Similarly.
2cd045cd 14427
99ebe9ac
JB
144282001-12-19 Jim Blandy <jimb@redhat.com>
14429
14430 * gdb.base/printcmds.exp: Expect the null character to be printed
14431 as '\0', and the '\013' to be printed as '\v'.
14432 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
14433 * gdb.base/setvar.exp: Same.
14434
b9891b29
JB
144352001-12-17 Jim Blandy <jimb@redhat.com>
14436
0eba65ab
JB
14437 * gdb.base/completion.exp: Rather than completing very long
14438 filenames, which can make the readline library produce output we
14439 don't recognize, cd to the directory first, and then complete
14440 using nice, short relative paths.
14441
6970b5b1
JB
14442 * gdb.base/completion.exp: On some systems, there is, in fact, a
14443 variable named `b' in scope, since GDB treats all static
a9c64011
AS
14444 variables as being in scope. So use `no_var_named_this'
14445 instead of `b'.
6970b5b1 14446
b9891b29 14447 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 14448 can't find the core file's registers as a failure.
b9891b29 14449
e6ccd35f
JSC
144502001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
14451
a9c64011
AS
14452 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
14453 test expect string more specific.
e6ccd35f 14454
105ba819
CV
144552001-12-13 Corinna Vinschen <vinschen@redhat.com>
14456
14457 * gdb.asm/asm-source.exp: Add support for xstormy16.
14458 * gdb.asm/configure.in: Ditto.
14459 * gdb.asm/configure: Rebuild.
14460 * gdb.asm/xstormy16.inc: New file.
14461
e9e79dd9
FF
144622001-12-10 Fred Fish <fnf@redhat.com>
14463
14464 * gdb.base/maint.exp: Update to match changes in type dumping code.
14465
347dc97d
JB
144662001-12-10 Jim Blandy <jimb@redhat.com>
14467
14468 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
14469 matching the entry point symbol's name at the beginning of the
14470 line.
347dc97d 14471
5178b9d6
DJ
144722001-12-07 Daniel Jacobowitz <drow@mvista.com>
14473
14474 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
14475 gdb.c++/inherit.exp, gdb.c++/method.exp,
14476 gdb.c++/namespace.exp, gdb.c++/templates.exp,
14477 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
14478 and class layout support.
14479
af890c52
DJ
144802001-12-07 Daniel Jacobowitz <drow@mvista.com>
14481
14482 * gdb.c++/classes.exp: Add test for static member function.
14483 * gdb.c++/misc.cc: Add class with static member function.
14484
7a345fb3
JB
144852001-12-07 Jim Blandy <jimb@redhat.com>
14486
f2e54a80 14487 If GDB says it can't find the struct the function returned, report
8032bf31
JB
14488 those tests as `unsupported'.
14489 * gdb.base/call-rt-st.exp (print_struct_call): New function.
14490 Rewrite subsequent tests to use it.
14491
14492 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
14493 those tests as `unsupported'.
14494 * gdb.base/structs.exp (call_struct_func): New function.
14495 (do_function_calls): Use call_struct_func to call the functions
14496 returning structs.
14497
0bc69509
JB
14498 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
14499 whether functions are prototyped or not, so we can't possibly pass
14500 arguments to t_float_values2 properly.
14501
7a345fb3
JB
14502 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
14503 value of `timeout' for targets other than the mips*tx39-*.
14504
edb6ede1
MS
145052001-12-06 Michael Snyder <msnyder@redhat.com>
14506
d63a86f8 14507 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
14508 and detect whether the start symbol has a leading underscore.
14509
2d842f13
JB
145102001-12-04 Jim Blandy <jimb@redhat.com>
14511
14512 * gdb.base/completion.exp: Clarify indentation.
14513
68550daf
JB
145142001-12-03 Jim Blandy <jimb@redhat.com>
14515
14516 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
14517 variables on the S/390, not `.word'.
14518
cd5195a8
JB
145192001-11-30 Jim Blandy <jimb@redhat.com>
14520
14521 Add assembly-source tests for s390-ibm-linux.
14522 * gdb.asm/s390.inc: New file.
14523 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
14524 the S/390 architecture.
a9c64011 14525 * gdb.asm/configure: Regenerated.
cd5195a8 14526
ca9efc90
MS
145272001-11-30 Michael Snyder <msnyder@redhat.com>
14528
14529 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
14530 next, info source, info sources, info line, global and static
14531 variables, and static functions.
14532 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
14533 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
14534 * gdb.asm/asmsrc1.s: Add a static function and some variables.
14535 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
14536 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
14537 (gdbasm_leave): Restore frame pointer.
14538 (gdbasm_startup): Copy stack set-up from crt0.S.
14539
d0e66976
FN
145402001-11-26 Fernando Nasser <fnasser@redhat.com>
14541
14542 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
14543 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
14544 to a local (non-static) variable. Copy tstruct.a to a static buffer
14545 and return a pointer to that buffer.
14546 * gdb.base/callfwmall.c (t_structs_a): Ditto.
14547
e2334072
MK
145482001-11-24 Mark Kettenis <kettenis@gnu.org>
14549
14550 * gdb.asm/configure.in: Fix recognition of ix86 target.
14551 * gdb.asm/configure: Regenerate.
14552
756caa3d
MS
145532001-11-21 Michael Snyder <msnyder@redhat.com>
14554
14555 * gdb.asm/sparc.inc: New file.
14556 * gdb.asm/asm-source.exp: Recognize sparc target.
14557 * gdb.asm/configure.in: Recognize sparc target.
14558 * gdb.asm/configure: Regenerate.
d63a86f8 14559
9a4d72d5
MS
145602001-11-21 Michael Snyder <msnyder@redhat.com>
14561
14562 * gdb.asm/m32r.inc: New file.
14563 * gdb.asm/asm-source.exp: Recognize m32r target.
14564 * gdb.asm/configure.in: Recognize m32r target.
14565 * gdb.asm/configure: Regenerate.
14566
a773d1cd
MS
145672001-11-20 Michael Snyder <msnyder@redhat.com>
14568
017ac23d
MS
14569 * gdb.asm/i386.inc: New file.
14570 * gdb.asm/asm-source.exp: Recognize ix86 target.
14571 * gdb.asm/configure.in: Recognize ix86 target.
14572 * gdb.asm/configure: Regenerate.
14573
a773d1cd
MS
14574 * gdb.c++/namespace.exp: Fix quotes in output messages.
14575
bb632afb
MS
145762001-11-14 Michael Snyder <msnyder@redhat.com>
14577
25d559ca 14578 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
14579 qualifier in a type cast expression, to designate an address
14580 in the instruction space (Harvard architecture).
14581
4749e309
MS
145822001-11-13 Michael Snyder <msnyder@redhat.com>
14583
14584 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
14585 Tests for expressions using 'const' and 'volatile'.
14586
25050984
CV
145872001-11-13 Corinna Vinschen <vinschen@redhat.com>
14588
14589 * gdb.asm/asm-sources.exp: Allow defining linker flags.
14590
1902c51f
DJ
145912001-11-12 Daniel Jacobowitz <drow@mvista.com>
14592
14593 * lib/mi-support.exp (mi_run_to_helper): Move comments
14594 outside of gdb_expect.
14595
dcf95b47
DJ
145962001-11-11 Daniel Jacobowitz <drow@mvista.com>
14597
14598 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
14599 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
14600 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
14601 mi0_run_to): New functions.
14602 * gdb.mi/mi-simplerun.exp: Use them.
14603 * gdb.mi/mi0-simplerun.exp: Likewise.
14604 * gdb.mi/mi-var-cmd.exp: Likewise.
14605 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 14606
45b074e1
AC
146072001-11-10 Andrew Cagney <ac131313@redhat.com>
14608
14609 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
14610 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
14611
bf50d346
AC
146122001-11-09 Andrew Cagney <ac131313@redhat.com>
14613
14614 * gdb.base/restore.exp: Include $expected value in restored test
14615 message.
14616
9383332c
AC
146172001-11-09 Andrew Cagney <ac131313@redhat.com>
14618
14619 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
14620 implemented.
14621
db62520a
MS
146222001-11-08 Michael Snyder <msnyder@redhat.com>
14623
14624 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
14625 Add pass/fail message for stop at breakpoint in call dummy function.
14626
b5703437
MS
146272001-11-07 Michael Snyder <msnyder@redhat.com>
14628
d63a86f8
RM
14629 * gdb.c++/templates.exp (test_template_breakpoints):
14630 If we get an overload menu, but it does not match what
760f6330 14631 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
14632 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
14633 making the whitespace optional. Argument for "new" may be
14634 "unsigned" as well as "unsigned int/long".
d63a86f8 14635 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
14636 making the whitespace optional. Also replace "(void) with
14637 "((void|)), making the keyword "void" optional.
d63a86f8 14638 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
14639 making the whitespace optional. Also replace "(void) with
14640 "((void|)), making the keyword "void" optional.
3bf40917
MS
14641 * gdb.base/callfuncs.c (t_float_values): This function must
14642 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 14643 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
14644 can be tested against both cases. Usually one case involves
14645 promotion of float to double, while the other does not.
14646 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
14647 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
14648 includes a stack frame for "start".
14649
c8ab4e6d
JB
146502001-11-05 Jim Blandy <jimb@redhat.com>
14651
14652 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
14653 pointers are 32 bits long, and that offsets of relocs are always
14654 stored in the data (REL-style), and not in the reloc entry itself
14655 (RELA-style).
14656 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
14657 stabs.
14658
3f08ced9
MS
146592001-11-01 Michael Snyder <msnyder@redhat.com>
14660
14661 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
14662 and regular expression operators by using quoting.
14663
cbfa24cd
MS
146642001-10-31 Michael Snyder <msnyder@redhat.com>
14665
14666 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
14667 depending on what the symbol table contains.
14668 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
14669 the output of the ptype command. Similarly, accept both "const &"
14670 and "const&".
14671
aaa68313
CV
146722001-10-31 Corinna Vinschen <vinschen@redhat.com>
14673
14674 * gdb.base/miscexprs.c (main): Add usage of preprocessor
14675 symbol `STORAGE' to allow to choose the storage class of
14676 the local datastructures.
14677 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
14678 compiler directive.
14679
91740388
MS
146802001-10-30 Michael Snyder <msnyder@redhat.com>
14681
14682 * gdb.base/jump.exp: Allow it to run for all targets.
14683
1b7c05e7
CV
146842001-10-29 Corinna Vinschen <vinschen@redhat.com>
14685
14686 * gdb.base/call-ar-st.c (print_double_array): Match for loop
14687 with new double_array size.
14688 (main): Change storage class of all local variables to static.
14689 Reduce size of double_array to 9.
14690 * gdb.base/call-ar-st.exp: Increase timeout value.
14691 Change expected output for double array to match new size in
14692 call-ar-st.c.
14693
36a22261
CV
146942001-10-29 Corinna Vinschen <vinschen@redhat.com>
14695
14696 * gdb.base/ending-run.exp: Create identical output when passing
14697 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 14698 Stormy16 target.
36a22261 14699
92b8ae91
MK
147002001-10-28 Mark Kettenis <kettenis@gnu.org>
14701
14702 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
14703 that we catch the expected failure under Linux/x86.
14704
cb135b83
OF
147052001-10-29 Orjan Friberg <orjanf@axis.com>
14706
14707 * gdb.base/setvar.exp: Escape curly braces.
14708 * gdb.stabs/weird.exp: Ditto.
14709
6884aa54
DJ
147102001-10-27 Daniel Jacobowitz <drow@mvista.com>
14711
14712 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
14713 * gdm.mi/mi0-hack-cli.exp: Likewise.
14714
0398c9aa
AC
147152001-10-25 Andrew Cagney <ac131313@redhat.com>
14716
14717 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
14718 messages.
14719
d20bf2e8
AC
147202001-10-21 Andrew Cagney <ac131313@redhat.com>
14721
14722 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
14723 checking MI enabled.
14724
03dd63aa
CV
147252001-10-09 Corinna Vinschen <vinschen@redhat.com>
14726
14727 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
14728
1d9d99f3
FCE
147292001-10-04 Frank Ch. Eigler <fche@redhat.com>
14730
14731 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
14732 if gdb child process crashes, just signal an error.
14733
838ae6c4
JB
147342001-10-02 Jim Blandy <jimb@redhat.com>
14735
14736 * lib/gdb.exp (test_xfail_format): Simplify.
14737
14738 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
14739 front of the variable name `format'. Simplify `if'.
14740
8f0cbc1c
DJ
147412001-10-01 Daniel Jacobowitz <drow@mvista.com>
14742
14743 * gdb.threads/pthreads.exp: Wait for output and delay
14744 before sending ^C.
14745
1f08dafd
DJ
147462001-10-01 Daniel Jacobowitz <drow@mvista.com>
14747
14748 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
14749 some incorrect output instead of timing out.
14750 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
14751
674f90ff
CV
147522001-09-28 Corinna Vinschen <vinschen@redhat.com>
14753
14754 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
14755 check to allow additional `int'.
14756
9b284272
DJ
147572001-09-27 Daniel Jacobowitz <drow@mvista.com>
14758
14759 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
14760 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
14761
b55a4771
MS
147622001-09-27 Michael Snyder <msnyder@redhat.com>
14763
14764 * lib/gdb.exp (test_debug_format): New proc.
14765 (setup_xfail_format): Use new proc test_debug_format.
14766 * gdb.base/constvars.exp (local_compiler_xfail_check): New
14767 proc; use new service proc test_debug_format.
14768 Replace all other "gcc_compiled" tests with this test.
14769 * gdb.base/volatile.exp (local_compiler_xfail_check): New
14770 proc; use new service proc test_debug_format.
14771 Replace all other "gcc_compiled" tests with this test.
14772
147732001-09-27 Michael Snyder <msnyder@redhat.com>
14774
14775 * gdb.base/cvexpr.exp: New file.
14776 * gdb.base/cvexpr.c: New file
14777 Test for expressions using const and volatile keywords.
14778
4e6667ac
CV
147792001-09-26 Corinna Vinschen <vinschen@redhat.com>
14780
14781 * gdb.base/constvars.exp: Check for different orders of keywords
14782 and additional "int" strings in output.
14783
4f337972
AC
147842001-09-22 Andrew Cagney <ac131313@redhat.com>
14785
14786 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
14787 responses from "help maint".
14788
2015650d
FCE
147892001-09-19 Frank Ch. Eigler <fche@redhat.com>
14790
14791 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
14792 to localhost:NNN instead of :NNN, in case Xvfb is listening
14793 only on TCP.
14794
f3bcedc1
CV
147952001-09-19 Corinna Vinschen <vinschen@redhat.com>
14796
14797 * gdb.base/recurse.exp: When checking leaving the watchpoint
14798 scope, recognize when gdb is in function's epilogue and pass.
14799
6b819c92
KS
148002001-09-18 Keith Seitz <keiths@redhat.com>
14801
14802 * lib/insight-support.exp (_gdbtk_export_target_info): Add
14803 support for running tests against sid targets.
14804 (gdbtk_done): Ditto.
14805
a10c9419
CV
148062001-09-18 Corinna Vinschen <vinschen@redhat.com>
14807
14808 * gdb.base/ending-run.c (main): Set stdout buffersize
14809 to the same reasonable value for any target.
14810 * gdb.base/ending-run.exp: Add a regular expression
14811 to make testsuite happy on Sanyo Stormy16 target.
14812
739d0d99
CV
148132001-09-17 Corinna Vinschen <vinschen@redhat.com>
14814
14815 * gdb.base/display.c (do_loops): Add float variable `f'.
14816 Increment f in loop.
14817 * gdb.base/display.exp: Increment timeout by 60 seconds.
14818 Change float display test to use variable `f'.
14819
1b8947f0
JB
148202001-09-17 Jim Blandy <jimb@redhat.com>
14821
14822 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
14823 overflowing the limited breakpoint tables on some ROM monitors
14824 (like the ROM68K).
14825
9890ac81
FCE
148262001-09-15 Frank Ch. Eigler <fche@redhat.com>
14827
14828 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
14829 the "-ac" (disable access control) flag.
14830
6db765ea
JH
148312001-08-30 Jeff Holcomb <jeffh@redhat.com>
14832
14833 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
14834 ints.
14835
4c32cc04
KS
148362001-08-30 Keith Seitz <keiths@redhat.com>
14837
14838 * lib/gdb.exp: Move all insight-related functionality into
14839 separate file.
14840 * lib/insight-support.exp: New file.
14841
8d6e6f81
FCE
148422001-08-29 Frank Ch. Eigler <fche@redhat.com>
14843
14844 * config/sid.exp (sid_start): Never set sid verbosity; disable
14845 expect_background {} that consumed its stdout; tolerate </dev/null.
14846 Attempt to set endianness override in "sid" protocol mode. Cleanup.
14847
6a90e1d0
AC
148482001-08-18 Andrew Cagney <ac131313@redhat.com>
14849
14850 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
14851 CLI jump command to start it.
14852 (mi_run_to_main): Fail immediatly when unexpected output.
14853
1759b3c3
AC
148542001-08-18 Andrew Cagney <ac131313@redhat.com>
14855
14856 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
14857 beginning of function. Fix PR gdb/191.
14858
61d11d80
FCE
148592001-08-16 Frank Ch. Eigler <fche@redhat.com>
14860
14861 * config/sid.exp (sid_start): Don't warn if we cannot figure out
14862 what to force sid endianness to.
14863
942a4df2
KS
148642001-08-15 Keith Seitz <keiths@redhat.com>
14865
14866 * lib/gdb.exp (gdbtk_start): Don't set environment
14867 variables for TCL_LIBRARY and friends. Insight will
14868 now figure these out for itself.
14869
0521c418
MS
148702001-08-02 Michael Snyder <msnyder@redhat.com>
14871
14872 * gdb.base/completion.exp: Remove the symbol "a64l" from
14873 the expect string; this is target-specific, and not related
14874 to what is being tested.
14875
74a9a58a
DB
148762001-08-02 Dave Brolley <brolley@redhat.com>
14877
14878 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
14879
c70819fa
MS
148802001-07-25 Michael Snyder <msnyder@redhat.com>
14881
c2b8fa57
MS
14882 * gdb.base/consecutive.exp: New file. Test stepping over
14883 breakpoints on consecutive instructions.
14884 * gdb.base/consecutive.c: New file.
14885
c70819fa
MS
14886 * gdb.base/call-rt-st.exp: Use double-backslash to quote
14887 curly braces in regular expressions.
14888
2b1a1355
MS
148892001-07-25 Michael Snyder <msnyder@redhat.com>
14890
14891 * gdb.base/ending-run.exp: Accept "Program exited normally" as
14892 legitimate output from stepping out of main.
14893
413eca6f
KS
148942001-07-22 Keith Seitz <keiths@redhat.com>
14895
14896 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
14897 the empty string, do not run the tests.
14898
7e5a9322
SC
148992001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14900
14901 * gdb.base/long_long.exp: Detect size of pointer. Take into
14902 account 2-byte pointers when testing for p/a results.
14903
de58f10f
SC
149042001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14905
d63a86f8 14906 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
14907 and defined to 1K for m68hc11.
14908 (random_data): Reduce table to 1K for embedded platforms (68hc11).
14909 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
14910 (sizeof_random_data): New variable to tell the size of the data table;
14911 don't test past this size; always run to main.
14912
d6f5fea1
SC
149132001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14914
14915 * gdb.base/return2.exp: return of long long and double fails for
14916 68HC11; don't execute these tests on that platform.
14917 * gdb.base/return.exp: Return of a double fails for 68hc11.
14918
c477543d
SC
149192001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
14920
14921 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
14922 tests that print a float.
14923 * call-rt-st.exp: Likewise.
14924
63cf1c79
MK
149252001-07-12 Mark Kettenis <kettenis@gnu.org>
14926
14927 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
14928 running this test on Linux.
14929
112f9ab5
MC
149302001-06-24 Michael Chastain <chastain@redhat.com>
14931
14932 * gdb.base/arithmet.exp: Remove some tests to make all test names
14933 unique.
14934
4970cb0f
MS
149352001-07-03 Michael Snyder <msnyder@redhat.com>
14936
14937 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
14938 the output of the ptype command.
14939
d85da69f
MS
149402001-07-02 Michael Snyder <msnyder@redhat.com>
14941
4c8a82de
MS
14942 * gdb.base/completion.exp: Don't assume that break.c is the only
14943 source file that may contain functions named "marker".
d85da69f
MS
14944 * gdb.base/corefile.exp: Quote the curly braces in regexp.
14945
8afc772b
AC
149462001-06-28 Andrew Cagney <ac131313@redhat.com>
14947
14948 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
14949 of files to delete.
14950
14951 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
14952 * gdb.disasm/h8300s.exp: New file.
14953 gdb.disasm/h8300s.s: Likewise.
14954
cff22675
AC
149552001-06-27 Andrew Cagney <ac131313@redhat.com>
14956
14957 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
14958 empty breakpoint tables.
14959
68c81b54
AC
149602001-06-25 Andrew Cagney <ac131313@redhat.com>
14961
14962 * lib/mi-support.exp: Update args=... part of stop-reason
14963 patterns. Accept either a list or a tuple.
14964
2dd62704
AC
149652001-06-23 Andrew Cagney <ac131313@redhat.com>
14966
14967 * lib/mi-support.exp: Remove local emacs variable defining
14968 change-log-default-name.
14969
b4127474
MC
149702001-06-22 Michael Chastain <chastain@redhat.com>
14971
14972 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
14973 This is operationally compatible with the previous version.
14974
8dbfb380
JB
149752001-06-13 Jim Blandy <jimb@redhat.com>
14976
14977 * lib/gdb.exp (gdb_test): Doc fix.
14978
f2d8c86d
MC
149792001-06-10 Michael Chastain <chastain@redhat.com>
14980
14981 * gdb.base/exprs.exp: Remove a duplicate test.
14982
81564d34
JB
149832001-06-06 Jim Blandy <jimb@redhat.com>
14984
14985 * gdb.base/return2.exp (main): Use values to test float and double
14986 returns that are not NaN's, to avoid being confused by IEEE
14987 comparison rules.
14988
da55addb
MS
149892001-06-04 Michael Snyder <msnyder@redhat.com>
14990
14991 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 14992 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
14993 rather than wait for 12 more tests to time out.
14994
42c65987
JB
149952001-06-06 Jim Blandy <jimb@redhat.com>
14996
b18bced9 14997 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 14998 Don't forget to match the GDB prompt.
b18bced9 14999
42c65987
JB
15000 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15001
5b41e5f0
JB
150022001-06-04 Jim Blandy <jimb@redhat.com>
15003
15004 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15005 command.
15006
015e046f
KB
150072001-05-31 Kevin Buettner <kevinb@redhat.com>
15008
15009 * gdb.base/annota1.exp (info break): Match four or more spaces
15010 after "Address".
15011
fb1ffbbe
MC
150122001-05-31 Michael Chastain <chastain@redhat.com>
15013
15014 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15015 (dm_type_int_star): Likewise.
15016 (dm_type_long_star): Likewise.
15017 (dm_type_void_star): Likewise.
15018
5ea2a32c
KB
150192001-05-29 Kevin Buettner <kevinb@redhat.com>
15020
15021 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15022 to a known value in order to get consistent results regardless
15023 of the setting of INPUTRC or the presence or contents of .inputrc.
15024
ae23c492
MS
150252001-05-24 Michael Snyder <msnyder@redhat.com>
15026
ac55707e
MS
15027 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15028 Don't require that the main thread and the manager thread are the
15029 first in the list.
15030
ae23c492
MS
15031 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15032 debugging. If test fails, issue an "unsupported" not a "fail".
15033
400071f1
JB
150342001-05-24 Jim Blandy <jimb@redhat.com>
15035
15036 Don't assume that short is shorter than int.
15037 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15038 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 15039 this isn't true.
400071f1
JB
15040 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15041 an int, is not equal to ~0 stored in an unsigned char. This tests
15042 the same thing that the previous test meant to, but works on
15043 16-bit machines, too.
15044 ("print unsigned char != (~0)"): Same test, complemented.
15045
0816a3e5
MS
150462001-05-24 Michael Snyder <msnyder@redhat.com>
15047
15048 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 15049 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
15050 and prevents dejagnu getting out of step.
15051
f6dc23a9
KB
150522001-05-23 Kevin Buettner <kevinb@redhat.com>
15053
15054 * gdb.base/finish.exp (finish_void): Revise pattern for
15055 stopping on the call statement to not permit stopping at
15056 the start of the instructions comprising the call sequence.
15057
7dbd117d
MC
150582001-05-19 Michael Chastain <chastain@redhat.com>
15059
15060 * gdb.base/callfuncs.exp: Make all test names unique.
15061 * gdb.base/commands.exp: Make all test names unique.
15062 * gdb.base/condbreak.exp: Make all test names unique.
15063 * gdb.base/dbx.exp: Make all test names unique.
15064 * gdb.base/default.exp: Make all test names unique.
15065 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15066 and TIMEOUT messages to their corresponding PASS message.
15067 * gdb.base/ending-run.exp: Make all test names unique.
15068 * gdb.base/long_long.exp: Remove duplicate test.
15069
6b0b0a9e
KB
150702001-05-21 Kevin Buettner <kevinb@redhat.com>
15071
15072 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15073 stop on the call statement as well as the statement after the
15074 call.
15075
2caa35cb
MS
150762001-05-21 Michael Snyder <msnyder@redhat.com>
15077
15078 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15079
40713331
EZ
150802001-05-10 Elena Zannoni <ezannoni@redhat.com>
15081
a9c64011
AS
15082 * gdb.base/completion.exp: Revamp test. Make it execute on all
15083 platforms.
40713331 15084
c2c1be8d
EZ
150852001-05-10 Elena Zannoni <ezannoni@redhat.com>
15086
a9c64011
AS
15087 * config/gdbserver.exp (gdb_load): Handle the case
15088 in which the arguments to gdbserver are given in the
15089 baseboard configuration file.
15090 Also handle the case in which the server needs to do a
15091 load.
2c9cd303 15092
9671de48
KS
150932001-05-07 Keith Seitz <keiths@cygnus.com>
15094
a9c64011
AS
15095 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15096 set up the display for testing.
15097 (gdbtk_start): Convert all paths to paths that tcl will like.
15098 Export target information to environment.
15099 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15100 necessary.
15101 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15102 (to_tcl_path): New proc to convert a given pathname into
15103 a path acceptible as an argument to a tcl command.
15104 (_gdbtk_export_target_info): New proc to export target info
15105 into the environment for gdbtk testing.
15106 (gdbtk_done): New proc to signal end-of-test.
9671de48 15107
5a360f47
JB
151082001-05-06 Jim Blandy <jimb@redhat.com>
15109
15110 * restore.c: Make the code of caller0 correspond to its comment.
15111
66c756c6
MS
151122001-05-03 Michael Snyder <msnyder@redhat.com>
15113
15114 * config/sid.exp (gdb_target_sid): Check for error messages.
15115 On error or timeout, don't make expect exit (which will terminate
15116 all subsequent tests); instead just make gdb exit.
d63a86f8 15117 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
15118 return a negative value.
15119
a966fde5
JB
151202001-04-24 Jim Blandy <jimb@redhat.com>
15121
851c18e0
JB
15122 * gdb.c++/templates.exp: If we see the prompt for the overload
15123 list, but we haven't recognized any of the longer patterns,
15124 arrange for this test to fail, not hang.
15125
a966fde5
JB
15126 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15127 variations.
15128
db144853
MC
151292001-04-22 Michael Chastain <chastain@redhat.com>
15130
15131 * gdb.c++/local.exp: Use the 'runto' library function.
15132 * gdb.c++/namespace.exp: Likewise.
15133 * gdb.c++/overload.exp: Likewise.
15134
3207ec21
KB
151352001-03-26 Kevin Buettner <kevinb@redhat.com>
15136
15137 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15138 * gdb.base/step-line.exp: New file. Test step/next in presence of
15139 #line directives.
15140 * gdb.base/step-line.c: New file. Test program for the above.
15141 * gdb.base/step-line.inp: New file. We pretend that this file has
15142 been transformed by some other tool into step-line.c.
15143
13b57657
JB
151442001-03-21 Jim Blandy <jimb@redhat.com>
15145
15146 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15147 unmangled operator names.
15148
754cbe1c
JB
151492001-03-20 Jim Blandy <jimb@redhat.com>
15150
15151 * gdb.threads/linux-dp.exp: Recognize an additional message
15152 generated by GDB when it doesn't understand how to debug threads
15153 on the target system.
15154
177495c9
AC
151552001-03-19 Andrew Cagney <ac131313@redhat.com>
15156
15157 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15158
f266096b
MC
151592001-03-12 Michael Chastain <chastain@redhat.com>
15160
15161 * gdb.c++/derivation.exp: Use the 'runto' library function.
15162
cac3c2ff
MC
151632001-03-12 Michael Chastain <chastain@redhat.com>
15164
15165 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15166
b6c11a24
MC
151672001-02-24 Michael Chastain <chastain@redhat.com>
15168
15169 * gdb.c++/ref-types.exp: Change handwritten code to library
15170 function 'runto'.
15171
6bae5bce
OF
151722001-03-16 Orjan Friberg <orjanf@axis.com>
15173
15174 * gdb.base/signals.exp: Set count to 0 explicitly.
15175
0015fd9a
MS
151762001-03-15 Mark Salter <msalter@redhat.com>
15177
15178 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15179 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
15180 (gdb_load): Add support for additional target_info: gdb_download_size
15181 and gdb_load_timeout.
0015fd9a 15182
fc33412a
DT
15183Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15184
15185 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
15186 file -- to prevent failing when the compile fails but we have no
15187 intention of running the tests anyway.
fc33412a
DT
15188
15189 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15190 tests if set.
15191
15192 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 15193 integers.
fc33412a
DT
15194
15195 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15196 * gdb.c++/namespace.exp: Ditto.
15197
115f06de
OF
151982001-03-07 Orjan Friberg <orjanf@axis.com>
15199
15200 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15201 * gdb.base/pointers.exp: Relax pattern match of decimals.
15202
b6ba6518
KB
152032001-03-06 Kevin Buettner <kevinb@redhat.com>
15204
15205 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15206 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15207 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15208 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15209 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15210 config/sh.exp, config/sid.exp, config/slite.exp,
15211 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15212 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15213 config/vxworks.exp, config/vxworks29k.exp,
15214 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15215 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15216 gdb.base/arithmet.exp, gdb.base/assign.exp,
15217 gdb.base/async.exp, gdb.base/attach.exp,
15218 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15219 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15220 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15221 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15222 gdb.base/commands.exp, gdb.base/completion.exp,
15223 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15224 gdb.base/constvars.exp, gdb.base/corefile.exp,
15225 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15226 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15227 gdb.base/ending-run.exp, gdb.base/environ.exp,
15228 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15229 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15230 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15231 gdb.base/funcargs.exp, gdb.base/help.exp,
15232 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15233 gdb.base/logical.exp, gdb.base/long_long.exp,
15234 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15235 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15236 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15237 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15238 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15239 gdb.base/regs.exp, gdb.base/relational.exp,
15240 gdb.base/remote.exp, gdb.base/reread.exp,
15241 gdb.base/restore.exp, gdb.base/return2.exp,
15242 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15243 gdb.base/selftest.exp, gdb.base/setshow.exp,
15244 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15245 gdb.base/sigall.exp, gdb.base/signals.exp,
15246 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15247 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15248 gdb.base/step-test.exp, gdb.base/structs.c,
15249 gdb.base/structs.exp, gdb.base/structs2.exp,
15250 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15251 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15252 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15253 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15254 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15255 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15256 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15257 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15258 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15259 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15260 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15261 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15262 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15263 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15264 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15265 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15266 gdb.trace/circ.exp, gdb.trace/collection.exp,
15267 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15268 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15269 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15270 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15271 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15272 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15273 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15274 notices.
15275
dc96c6c7 152762001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
15277
15278 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15279 first arg is int not float.
15280
dc96c6c7 152812001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
15282
15283 * gdb.base/reread.exp: Unsupported for non-native targets;
15284 doesn't work for remote debugging.
15285
9b0c4aeb
FN
152862001-02-19 Fernando Nasser <fnasser@redhat.com>
15287
15288 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
15289 * gdb.base/ending-run.exp: Properly handle the BSP state when
15290 stepping past the end of main.
9b0c4aeb 15291
02aa71d5
MC
152922001-02-19 John Moore <jmoore@redhat.com>
15293
15294 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15295 Converted HPUX fix for non-expected items following multiple
15296 step commands into general solution for all platforms.
15297
1fa449a4
MC
152982001-02-18 Michael Chastain <chastain@redhat.com>
15299
15300 * gdb.c++/classes.exp (do_tests): Change runto statements
15301 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15302 statements demangler agnostic.
15303 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15304 (gdb_virtfunc_restart): Likewise.
15305
b2f9ec70
MC
153062001-02-14 Michael Chastain <chastain@redhat.com>
15307
15308 * gdb.c++/inherit.exp (do_tests): Change runto statements
15309 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15310 statements demangler agnostic.
15311
cf74b8ca
AC
15312Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15313
15314 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
15315 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15316 before calling common_routine 15 times'' tests.
cf74b8ca 15317
99f78f56
MC
153182001-02-11 Michael Chastain <chastain@redhat.com>
15319
15320 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15321 Helps the test script figure out which demangler is in use.
15322 (dm_type_foo_ref): Ditto.
15323 (dm_type_int_star): Ditto.
15324 (dm_type_long_star): Ditto.
15325 (dm_type_unsigned_int): Ditto.
15326 (dm_type_void): Ditto.
15327 (dm_type_void_star): Ditto.
99707966 15328 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
15329 Probe the gdb demangler and set variables to accommodate
15330 formatting differences.
15331 (info_func_regexp): New function. Same as info_func, but
15332 matches against a regexp.
15333 (info_func): Match against a literal string.
15334 (print_addr_2): New function. Match against a literal string,
15335 which can be different from the input to gdb.
15336 (print_addr): Simply call print_addr_2 with the same argument twice.
15337 (test_lookup_operator_functions): Use demangler formatting variables.
15338 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
15339 the tests in the same order as the C++ class declaration.
15340 (test_paddr_operator_functions): Ditto.
15341 (test_paddr_overloaded_functions): Ditto.
15342 (test_paddr_hairy_functions): Use demangler formatting variables.
15343 Add reference to gdb/19 for related tests.
15344 (do_tests): Call probe_demangler.
15345
1de8f023
KB
153462001-01-30 Kevin Buettner <kevinb@redhat.com>
15347
15348 * gdb.c++/templates.cc (printf): Remove unused function definition.
15349
ca3f91ed
MS
153502001-01-26 Felix Lee <flee@redhat.com>
15351
15352 * sid.exp (sid_exit): Pass host, not target, to remote_close.
15353
153542001-01-25 matthew green <mrg@redhat.com>
15355
15356 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
15357 up sid.
15358 (sid_exit): Call `remote_pop_conn' after GDB is gone.
15359
153602001-01-25 matthew green <mrg@redhat.com>
15361
15362 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 15363 Deprecate $sid_spawn_id.
ca3f91ed
MS
15364 (sid_exit): Remove code necessary only for `spawn.'
15365
153662001-01-25 matthew green <mrg@redhat.com>
15367
15368 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15369
fb18ec4a
MC
153702001-01-28 Michael Chastain <chastain@redhat.com>
15371
15372 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
15373 to call when tests fail. It takes gdb out of the overloaded
15374 function choice menu back to the main prompt, so that the test
15375 program stays synchronized.
15376 (set_bp_overloaded): New proc to collect all the common
15377 code for setting a breakpoint on an overloaded name. Calls
15378 take_gdb_out_of_choice_menu when needed.
15379 (menu_overload1arg): New variable to collect the repeated
15380 instances of the expected menu for an overloaded name. Change
15381 the regular expression to handle changes in g++ type encoding:
15382 "void" can be either "void" or "", and "unsigned int" can be
15383 either "unsigned int" or "unsigned".
15384 (continue_to_bp_overloaded): Change regular expressions to handle
15385 changes in g++ type encoding.
15386 (no proc): Call take_gdb_out_of_choice_menu when needed.
15387 Remove redundant calls to "info break". Accept either "canceled"
15388 or "cancelled". Change regular expressions in "info break"
15389 calls to handle changes in g++ type encoding. Give all tests
15390 unique strings.
15391
9c646a6e
BE
153922001-01-17 Ben Elliston <bje@redhat.com>
15393
15394 * config/sid.exp: New file.
15395
9549d9c1
AC
15396Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
15397
15398 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
15399
dc96c6c7 154002000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
15401
15402 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
15403 Add a RE to accept a non-ascii char if one is ever presented.
15404
b4df4f68
FN
154052000-12-20 Fernando Nasser <fnasser@redhat.com>
15406
297dd0fd 15407 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 15408
dc96c6c7 154092000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 15410
d63a86f8 15411 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
15412 in regexp. One '\' does not suffice on Linux.
15413
4a7bddb6
MC
154142000-12-09 Michael Chastain <chastain@redhat.com>
15415
15416 * gdb.base/break.exp (test_clear_command): Use a marker function
15417 rather than 'main' for the test function. Also move this
15418 test to an execution point where the marker function names are
15419 guaranteed to be bound to functions. (Executing tests after a
15420 'finish' from main runs into name conflicts with local names
15421 in __libc_start_main).
15422
dc96c6c7 154232000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
15424
15425 * gdb.base/finish.exp: New test for gdb's "finish" command.
15426 * gdb.base/return2.exp: New test for gdb's "return" command.
15427 * gdb.base/return2.c: New source file for above.
15428
dc96c6c7 154292000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
15430
15431 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
15432 * gdb.base/miscexprs.exp: Ditto.
15433 * gdb.base/pointers.exp: Ditto.
15434 * gdb.c++/derivation.exp: Ditto.
15435 * gdb.c++/local.exp: Ditto.
15436 * gdb.c++/namespace.exp: Ditto.
15437 * gdb.c++/overload.exp: Ditto.
15438 * gdb.c++/ref-types.exp: Ditto.
15439
dc96c6c7 154402000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
15441
15442 * gdb.base/constvars.exp: Test result of "up" command.
15443 * gdb.base/miscexprs.exp: Ditto.
15444 * gdb.base/pointers.exp: Ditto.
15445 * gdb.base/scope.exp: Ditto.
15446 * gdb.c++/derivation.exp: Ditto.
15447 * gdb.c++/local.exp: Ditto.
15448 * gdb.c++/namespace.exp: Ditto.
15449 * gdb.c++/overload.exp: Ditto.
15450 * gdb.c++/ref-types.exp: Ditto.
15451
44097287
FN
154522000-11-22 Michael Chastain <chastain@redhat.com>
15453
15454 * mips_pro.exp: Accept either "middle -> top -> main" or
15455 "middle -> main" in the backtrace, because gcc can optimize
15456 tail calls to jumps. Remove setup_xfail for the hppa case.
15457 Add a comment with the original warning messages from PR 3016,
15458 which was filed in 1993, to preserve them for posterity.
15459
9d2e1bab
ND
154602000-11-17 Nick Duffek <nsd@redhat.com>
15461
15462 * lib/gdb.exp (gdb_test): Override timeout with board info.
15463
1aca8eb7
ND
154642000-11-17 Nick Duffek <nsd@redhat.com>
15465
15466 * gdb.base/display.exp: Don't kill running stub. Add "again" to
15467 the second kill and detach messages.
15468
93076499
ND
154692000-11-17 Nick Duffek <nsd@redhat.com>
15470
15471 * configure.in: Add AC_EXEEXT.
15472 * configure: Regenerate.
15473 * Makefile.in (just-check): Export EXEEXT.
15474 * lib/gdb.exp ($EXEEXT): Import from environment.
15475 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
15476 expect "maint dump-me" on Cygwin.
15477 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
15478 $EXEEXT.
15479
30e87cd3
ND
154802000-11-17 Nick Duffek <nsd@redhat.com>
15481
15482 * gdb.base/break.exp: Test backtrace and finish from called
15483 function on all platforms, not just HP-UX.
15484
dc96c6c7 154852000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
15486
15487 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
15488 code from gdb_target_monitor, so it can be used independantly
15489 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 15490
dc96c6c7 154912000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
15492
15493 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
15494 * gdb.base/corefile.exp: Expect the message "Program is being
15495 debugged already" when we send the "corefile" command, since
15496 the preceeding gdb_load may have connected gdb to a remote target.
15497 * gdb.base/display.exp: Disable hardware watchpoints if new
15498 board info variable "no_hardware_watchpoints" is true.
15499 Replace single-letter commands with more readable ones.
15500 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
15501 if new board info variable "no_hardware_watchpoints" is true.
15502 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
15503 to see if stdio (printf) testing is possible.
15504 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
15505 board info variable "no_hardware_watchpoints" is true. Use new
15506 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
15507
39124dea
FN
155082000-11-13 Fernando Nasser <fnasser@redhat.com>
15509
15510 From Orjan Friberg <orjanf@axis.com>:
15511 * gdb.base/printcmds.exp: Escape curly braces followed by a number
15512 in array print pattern match.
15513
a9e2e984
FN
155142000-11-09 Fernando Nasser <fnasser@redhat.com>
15515
15516 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
15517 spelling "cancelled" to U.S. spelling "canceled" to match changes
15518 made to gdb.
15519 * gdb.c++/ovldbreak.exp: Ditto.
15520
c7db355b
PS
155212000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15522
15523 * gdb.base/callfuncs.c (main): Moved to end of file, call
15524 t_double_values to initialize the FPU before inferior calls are made.
15525 * gdb.base/callfuncs.exp: Test for register preservation after calling
15526 inferior functions. Add tests for continuining, finishing and
15527 returning from a stop in a call dummy.
15528
dc96c6c7 155292000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
15530
15531 * gdb.base/commands.exp: Break up long lines, and re-indent.
15532
dc96c6c7 155332000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
15534
15535 * config/gdbserver.exp: Rewritten from the ground up, to make it
15536 compatible with the current dejagnu tree, and to make it work with
15537 the new "gdbserver" in libremote.
15538
dc96c6c7 155392000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
15540
15541 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
15542 * gdb.base/varargs.exp: Skip entire test if no printf support.
15543 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
15544 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
15545
dc96c6c7 155462000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
15547
15548 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
15549 no floating point support.
15550 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
15551 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
15552 * gdb.base/call-rt-st.exp: Ditto.
15553 * gdb.base/call-strs.exp: Ditto.
15554
bac5fc66
JG
155552000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
15556
15557 * gdb.base/sizeof.c: include <stdio.h>.
15558
15559 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
15560 'finish', otherwise uncaptured gdb_prompt would potentially
15561 throw remaining test points out of sync.
bac5fc66 15562
b22a6027
SB
155632000-07-26 Scott Bambrough <scottb@netwinder.org>
15564
15565 * gdb.base/recurse.exp: Run tests for all targets.
15566 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
15567 gnu-oldld case on ARM.
15568 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
15569 for ARM targets.
d63a86f8 15570
d8231941
AG
15571Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15572
15573 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
15574 * gdb.java/configure: Rebuild.
15575
8caabe69
AG
15576Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
15577
15578 * gdb.java/jv-exp.exp: New file.
15579
9d273ca3
AG
15580Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
15581
15582 * configure: Rebuilt.
15583 * configure.in (configdirs): Add gdb.java.
15584 * gdb.java/jmisc.java: New file.
15585 * gdb.java/jmisc.exp: New file.
15586 * gdb.java/Makefile.in: New file.
15587 * gdb.java/configure: Rebuilt.
15588 * gdb.java/configure.in: New file.
15589 * lib/java.exp: New file.
15590
4f823a66
AC
15591Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
15592
15593 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 15594 underflow.
4f823a66 15595
2391e11d
AC
15596Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
15597
15598 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 15599 and the compilers sizes.
2391e11d 15600
54602222
ND
156012000-07-09 Nick Duffek <nsd@redhat.com>
15602
15603 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
15604 (use_methods): New function.
15605 (main): Call use_methods().
15606 * gdb.c++/classes.exp (test_method_param_class): New procedure.
15607 (do_tests): Call test_method_param_class.
15608
2bec0572
ND
156092000-07-09 Nick Duffek <nsd@redhat.com>
15610
15611 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
15612 spelling.
15613 (test_enums): New procedure. Move enum tests from end of script
15614 to here. Set breakpoint on function name instead of line number.
15615 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
15616 (enums2): New marker function.
15617 (enums1): New function.
15618 (main): Call enums1(). Move enum tests to enums1().
15619
78492fde
AC
15620Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
15621
15622 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 15623 compile/link program. Update line numbers.
78492fde
AC
15624 * gdb.asm/d10v.inc: Define ``startup''.
15625 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 15626
49a2cef8
AC
15627Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
15628
15629 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
15630
3e6c8688
EZ
156312000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15632
15633 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 15634 of 'help maint print' command.
3e6c8688 15635
9ff5cbe9
AC
15636Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
15637
15638 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 15639 they use gdb_expect_list.
9ff5cbe9 15640
17c579bd
AC
15641Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
15642
15643 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
15644 memory-read-packet-size'' instead of ``set endian big'' to test
15645 long commands.
17c579bd 15646
e6d71bf3
DB
156472000-06-03 Daniel Berlin <dan@cgsoftware.com>
15648
15649 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 15650 g++, and stop skipping them.
e6d71bf3
DB
15651
15652 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
15653 work under g++.
15654
d63a86f8 15655 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
15656 initialization.
15657
dc96c6c7 156582000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
15659
15660 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
15661 the regular expression: accept an (almost) arbitrary sequence of
15662 "frames-invalid" and "breakpoints-invalid" messages both before
15663 and after the "starting" message.
15664
dc96c6c7 156652000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
15666
15667 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 15668
dc96c6c7 156692000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
15670
15671 * gdb.base/annota1.exp (annotate-signal-handler-caller):
15672 Relax the regular expression a little, make it pass on Solaris 8.
15673
8216cda9
KB
156742000-05-12 Kevin Buettner <kevinb@redhat.com>
15675
15676 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 15677 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
15678 Instead, it is permissible for gdb to stop on the line of the
15679 call itself.
15680
1a570b2f
MS
156812000-05-12 Michael Snyder <msnyder@.cygnus.com>
15682
15683 * gdb.base/break.exp (bp on small function, optimized file):
15684 Add a second pass pattern. The behavior differs here between stabs
15685 and dwarf for one-line functions. Stabs preserves two line symbols
15686 (one before the prologue and one after) with the same line number,
15687 but dwarf regards these as duplicates and discards one of them.
15688 Therefore the address after the prologue (where the breakpoint is)
15689 has no exactly matching line symbol, and GDB reports the breakpoint
15690 as if it were in the middle of a line rather than at the beginning.
15691
dc96c6c7 156922000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 15693
d63a86f8 15694 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
15695 rather than "send_gdb" (for consistancy).
15696
7d418785
AC
15697Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
15698
15699 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
15700 * gdb.c++/templates.cc: Properly check for GCC version number.
15701 * lib/compiler.cc: Likewise
15702
dc96c6c7 157032000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 15704
d63a86f8 15705 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
15706 gdb may not stop at the first line of main, due to code motion.
15707
dc96c6c7 157082000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
15709
15710 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
15711 This test depends on parsing the printf output from the target.
15712 Since the sparclet stub doesn't do stdio, this will never work.
15713 * gdb.base/call-rt-st.exp: ditto.
15714 * gdb.base/call-strs: ditto.
15715
dc96c6c7 157162000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
15717
15718 * gdb.base/miscexprs.exp: make sizeof long array test portable.
15719
15720 * gdb.base/ending-run.exp: After connecting to a remote target,
15721 but before running, the target will appear to be in a random
15722 location. Specify both a file and a line for breakpoints.
15723 Also, the function that calls main may be called 'init'
15724 rather than 'start'.
15725
a5a51225
EZ
157262000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15727
15728 * gdb.base/help.exp: Update output for add-symbol-file command.
15729
7930cc7c
FN
157302000-04-10 Fernando Nasser <fnasser@cygnus.com>
15731
15732 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15733 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
15734
23e37ab1
C
157352000-04-07 J.T. Conklin <jtc@redback.com>
15736
e93c542c
C
15737 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
15738
23e37ab1
C
15739 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
15740
591b8fa3
PDM
15741Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
15742
15743 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 15744 values that can be represented exactly.
591b8fa3
PDM
15745 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
15746 above change, and to not check against the directory part of the source
15747 file name.
15748 (step into print_long_arg_list): Likewise.
15749 (print print_small_structs from print_long_arg_list): Likewise.
15750 (print print_long_arg_list): Likewise.
15751
7a495180
EZ
157522000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15753
30b53638 15754 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 15755
beb998c6
AC
15756Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
15757
15758 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
15759
1c689132
DB
157602000-03-25 Daniel Berlin <dan@cgsoftware.com>
15761
15762 * gdb.base/commands.exp (deprecated_command_test): Add test for
15763 deprecate with no arguments.
15764
c1790a9d
JL
157652000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
15766
15767 * gdb.base/break.exp: Add new test for setting breakpoints on
15768 optimized code so we can test breakpoints work even when function
15769 prologues may be optimized away
15770
003ba290
FN
157712000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
15772
15773 From David Whedon <dwhedon@gordian.com>
a9c64011 15774 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 15775
6837a0a2
DB
157762000-03-22 Daniel Berlin <dan@cgsoftware.com>
15777
15778 * gdb.base/help.exp: Added test for new apropos command.
15779
b9593231
KB
157802000-03-21 Kevin Buettner <kevinb@redhat.com>
15781
15782 * gdb.base/pointers.c (usevar): New function.
15783 (main): Make sure that global variables v_int_pointer2, rptr,
15784 and y are all referenced someplace in the program by calling
15785 usevar() on them. [Some linkers delete symbols which are
15786 never referenced. The space remains, but there's no way to
15787 get a (symbolic) handle on the variable from the debugger.]
15788
751a959b
EZ
157892000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15790
15791 * gdb.base/printcmds.c: Add typedeffed arrays.
15792
15793 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 15794 procedure to test arrays that are typedef'd.
751a959b 15795
73a93a32
JI
157962000-03-13 James Ingham <jingham@leda.cygnus.com>
15797
15798 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 15799 the library directories.
73a93a32 15800
fb40c209
AC
15801Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
15802
15803 * configure.in (configdirs): Add sub directory gdb.mi.
15804 * configure: Re-generate.
15805
15806 * gdb.mi: New directory.
d63a86f8 15807
ee4dd2c9
AC
158082000-02-25 Scott Bambrough <scottb@netwinder.org>
15809
15810 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 15811 a long long value as a double on ARM platforms.
ee4dd2c9 15812
70f0cc22
JB
158132000-02-16 Jim Blandy <jimb@redhat.com>
15814
15815 * gdb.base/break.exp ("breakpoint line number"): Make sure the
15816 default source file is set properly before running this test.
15817
853819b8
EZ
158182000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15819
15820 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 15821 gdbtk/library directory, not in gdbtcl2.
853819b8 15822
dfcd3bfb
JM
158232000-02-04 Jim Blandy <jimb@redhat.com>
15824
15825 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
15826 backslash from regexp pattern.
15827
15828 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
15829 procedure. Use it to run all the "continue to bp overloaded"
15830 tests. Note that this changes the names of the tests slightly.
15831 If the breakpoint hit message includes a hex PC value, because
15832 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
15833 from the real source code, still consider that a pass.
15834
15835 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
15836 XFAIL here if the breakpoint message contains a hex address. Note
15837 similar change on 1999-11-02.
15838
15839 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
15840
15841 * gdb.base/ptype.exp: Establish a default source file before
15842 calling get_debug_format.
15843
158442000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
15845
15846 * gdb.base/watchpoint.exp: Remove duplication of test messages.
15847
8b93c638
JM
158482000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15849
15850 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
15851 of successive stepi commands -- while in the prologue we should see
15852 the function entry bracket.
15853
158542000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
15855
15856 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
15857 reach __change_mode() when stepping through the end of main().
15858
c5394b80
JM
158592000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
15860
15861 * gdb.base/default.exp: Fix expected pattern.
15862 * gdb.base/help.exp: Same.
15863
0d06e24b
JM
158642000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15865
15866 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 15867 Don't use xfail's because that affects only the following test.
d63a86f8 15868
0d06e24b 15869 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 15870 solaris or linux.
0d06e24b
JM
15871
15872 * gdb.base/selftest.exp: Update to reflect changes to main.c.
15873
dc96c6c7 158742000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 15875
d63a86f8 15876 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
15877 "A syntax error" rather than "A parse error". Accept both.
15878
158792000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
15880
15881 * gdb.base/default.exp: Remove OS dependent string from "target
15882 remote" test.
15883 * gdb.base/help.exp: Same for "help target remote" test.
15884
c3f6f71d
JM
158852000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15886
15887 From Jim Kingdon <kingdon@redhat.com>:
15888
15889 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
15890 prompt (cleanup rather than necessity, but still might keep output
15891 from spilling to next test).
c3f6f71d
JM
15892
158932000-01-02 Fred Fish <fnf@cygnus.com>
15894
15895 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
15896 AIX, which defines them in <sys/types.h>.
15897
ed9a39eb 158981999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 15899
ed9a39eb 15900 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 15901 float" test.
ed9a39eb
JM
15902
159031999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 15904
ed9a39eb 15905 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
15906
15907 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
15908 outermost frame disallowed".
15909
159101999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
15911
15912 * gdb.base/setvar.exp: New tests for setting the value of a struct
15913 with a constant list.
15914
159151999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15916
15917 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
15918 require the user to type a cast before setting the value of a struct.
15919
de57eccd
JM
159201999-12-06 Jim Blandy <jimb@cygnus.com>
15921
15922 * gdb.base/default.exp: Expect the new 'info float' command on
15923 all i386 platforms.
15924
15925 * gdb.threads/linux-dp.exp: Expand our ability to recognize
15926 LinuxThreads libraries that don't support debugging.
15927
c2d11a7d
JM
15928Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15929
15930 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
15931 Change the buffer type to ``unsigned char'' to simplify size
15932 arithmetic.
c2d11a7d
JM
15933
15934 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
15935 stub only handles 400-1 byte packets. Verify that the download
15936 worked.
c2d11a7d
JM
15937
159381999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
15939
15940 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
15941 tests, using UNRESOLVED for the untested cases. Also, does not wait
15942 for a timeout if the prompt was received before a recognizable pattern.
15943
159441999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
15945
15946 * lib/gdb.exp (gdb_expect_list): Fix spelling.
15947
159481999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15949
15950 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 15951 watchpoints.
c2d11a7d
JM
15952
159531999-11-24 Jason Merrill <jason@casey.cygnus.com>
15954
15955 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
15956
15957 * gdb.c++/local.exp: Be more flexible in recognizing local class
15958 name mangling. Don't allow horribly truncated method names.
15959 * gdb.c++/derivation.exp: Expect protected inheritance.
15960 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
15961 * gdb.c++/virtfunc.exp: Likewise.
15962 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
15963 when printing a nested enum.
15964
159651999-11-22 Jim Blandy <jimb@cygnus.com>
15966
15967 * gdb.base/step-test.exp: Properly await GDB's response to setting
15968 a breakpoint on the call to large_struct_by_value.
15969
15970 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
15971 just because we have debug info for the `start' function.
15972
159731999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
15974
15975 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
15976 "Unknown signal" messages, which indicate (on LinuxThreads) that
15977 GDB doesn't know how to debug threads on this system. This is
15978 better than hanging while philosopher 0 dumps chatter into gdb.log.
15979
159801999-11-18 Tom Tromey <tromey@cygnus.com>
15981
15982 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
15983
159841999-11-18 Fred Fish <fnf@cygnus.com>
15985
15986 * gdb.base/coremaker2.c: Add sample program for generating
15987 cores that is more self contained than coremaker.c. Eventually
15988 I'll add more code to this and tie it into the testsuite.
15989
4ce44c66
JM
159901999-11-12 Stan Shebs <shebs@andros.cygnus.com>
15991
15992 * gdb.base/dollar.exp: Remove, now in gdb.hp.
15993
159941999-11-10 Jimmy Guo <guo@cup.hp.com>
15995
15996 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 15997 from $srcdir/lib/.
4ce44c66 15998 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 15999 and gdb.c++/.
4ce44c66
JM
16000
16001 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16002
d63a86f8 16003 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
16004 'continue with watch' test point.
16005
160061999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16007
16008 Merged from p2linux-990323-branch:
d63a86f8 16009
4ce44c66
JM
16010 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16011
11cf8741
JM
16012Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16013
16014 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 16015 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
16016
16017Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16018
16019 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 16020 gdb_expect_list.
11cf8741
JM
16021
16022Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16023
16024 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16025
160261999-11-03 Mark Salter <msalter@cygnus.com>
16027
16028 * gdb.base/break.exp: Fix "stub continue" pattern.
16029
160301999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16031
16032 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16033
160341999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16035
16036 * gdb.base/display.exp ("finish"): Add timeout clause.
16037
16038 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16039 plain prompt clause, so this doesn't have to time out in order to
16040 fail.
16041
16042 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 16043 breakpoint hit messages include an address.
11cf8741
JM
16044
16045 * gdb.base/display.exp: Don't forget to escape parens in regular
16046 expressions. Unix regexp notatation sucks.
16047
160481999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16049
16050 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 16051 order for 'signalled' message.
11cf8741 16052
5c44784c
JM
160531999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16054
16055 From Jimmy Guo <guo@cup.hp.com>:
16056 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16057 * gdb.base/annota1.c: Add code for tests to work with.
16058
160591999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16060
16061 * gdb.base/remote.exp: New test for remote downloading settings.
16062 * gdb.base/remote.c: New file with large .data.
16063
917317f4
JM
160641999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16065
16066 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16067 for LinuxThreads support, merged from the Code Fusion branch.
16068
16069Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16070
16071 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
16072 containing exp_continue into a while within an expect. Don't
16073 attempt a start more than three times. Check return value from
16074 gdb_load.
d63a86f8 16075
2df3850c
JM
16076Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16077
16078 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 16079 a pass case.
2df3850c 16080
2acceee2
JM
160811999-10-01 Kevin Buettner <kevinb@cygnus.com>
16082
16083 * gdb.base/break.c (main): Added a statement that we can step
16084 off of.
16085 * gdb.base/break.exp: Added tests for setting a breakpoint
16086 at an offset and stepping onto a breakpoint.
16087
160881999-10-01 Fred Fish <fnf@cygnus.com>
16089
d63a86f8 16090 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
16091 gdb output.
16092
c2c6d25f
JM
160931999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16094
16095 * gdb.base/break.exp: Code locations are in hex, don't forget!
16096 (For HP-UX.)
16097
160981999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16099
16100 * condbreak.exp: Use break.c as test program.
16101 * condbreak.c: Remove, redundant with break.c.
16102
161031999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16104
16105 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 16106 Z-packets if the target needs it.
c2c6d25f
JM
16107
161081999-09-13 James Ingham <jingham@leda.cygnus.com>
16109
16110 * gdb.c++/overload.exp: Added tests for listing overloaded
16111 functions with function pointers in the arg, explicitly calling
16112 out the version you want.
16113
cff3e48b
JM
161141999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16115
16116 * long_long.exp: Add variations of test cases that work for
16117 targets with 16-bit ints and 32-bit doubles.
16118
d4f3574e
SS
161191999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16120
16121 * break.c (main): Compare a possibly-uninitialized argc with an
16122 unlikely value that fits in 16 bits.
16123
161241999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16125
16126 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16127 0xfeeb, don't want negative numbers if ints are 16 bits.
16128
16129 * lib/gdb.exp (skip_cplus_tests): New proc.
16130 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
16131 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16132 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16133 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16134 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16135 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16136 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16137 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
16138
16139 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16140
16141Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16142
16143 * gdb.base/corefile.exp (up): Allow a parameter to appear
16144 in the frame that we're going up to.
16145
16146 From Jim Blandy <jimb@cygnus.com>:
16147
16148 * gdb.base/default.exp (info float): Expect some output now.
16149
16150 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16151 returning floating-point values to fail on the x86.
16152 * gdb.base/callfwmall.exp (do_function_calls): Same.
16153
16154 * gdb.base/list.exp (test_listsize): Correct expectations for
16155 listing line 1 with listsize 2. Also, listing a single line
16156 works now, as does listing three lines. [Kevin's note: There
16157 were a number of other cases fixed too where the expectations
16158 differed...]
16159
161601999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16161
16162 * gdb.base/selftest.exp: Add case for when version prints as
16163 constant string instead of char pointer.
16164
104c1213
JM
161651999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16166
16167 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 16168 stepping out of main.
104c1213
JM
16169
16170 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16171 G++ used.
16172
16173 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 16174 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
16175
16176 * gdb.c++/ovldbreak.exp: Update match string in test that
16177 includes a warning of multiple breakpoints.
16178
161791999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16180
16181 * gdb.base/display.exp: Improve precision of step-after-finish
16182 added yesterday.
16183
16184 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 16185 test.
104c1213
JM
16186
16187 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16188 configs when using G++, not just hppa*.
16189
161901999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16191
16192 * gdb.base/async.c: New file.
16193 * gdb.base/async.exp: New file.
16194
16195Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16196
16197 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16198 PA64.
16199
53a5351d
JM
16200Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16201
104c1213
JM
16202 * gdb.base/display.exp: "finish" can leave us mid-line on many
16203 targets, deal with it. Add a small constant to main, instead of
16204 1000 since main+1000 may not be a valid address in the target.
16205
53a5351d
JM
16206 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16207 on hpux11.
16208
16209 * gdb.base/attach.exp: Handle another hpux11 error message variant
16210 when attaching to a process that does not exist.
16211
162121999-08-19 J.T. Conklin <jtc@redback.com>
16213
16214 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 16215 characters in 'continue to 1241' test.
53a5351d
JM
16216
162171999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16218
16219 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16220 stop in print_long_arg_list, define and use a whitespace
16221 variable in print_small_structs test, add an XFAIL for Solaris.
16222 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16223 interested enough to fix.
16224
7be570e7
JM
162251999-08-13 Keith Seitz <keiths@cygnus.com>
16226
16227 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16228 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16229 proc knows about targets other than the natives.
16230 (test_assign): Use "gdb_run_cmd" to "run" the target.
16231 Check that we've actually hit the breakpoint at main.
16232 When we attempt to assign a value to a local variable, check
16233 that the variable is in the current scope, i.e., don't use
16234 a test with an empty result.
16235
16236Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16237
16238 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 16239 command.
7be570e7
JM
16240
162411999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16242
16243 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16244 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16245 gdb.compat, gdb.threads-hp.
16246 gdb.hp/configure, gdb.hp/configure.in: New files.
16247 gdb.hp/Makefile.in: Recurse into new subdirs.
16248 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16249 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16250 in object files.
16251 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16252
96baa820
JM
162531999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16254
16255 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 16256 funky printf, remove a bogus p/a test.
96baa820
JM
16257
162581999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16259
16260 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
16261 connected to the target. This is necessary when running not
16262 natively.
96baa820
JM
16263
162641999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16265
16266 * gdb.base/step-test.exp: Removed some extraneous messages.
16267
16268 * gdb.base/long_long.exp: Don't run memory examination tests
16269 on little-endian targets (they will need a different set of
16270 results to match).
16271
162721999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16273
16274 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16275 until somebody decides to fix GDB.
16276
16277 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 16278 constant as "ULL".
96baa820
JM
16279 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16280 matches for a couple x/2 commands.
16281
a0b3c4fd
JM
162821999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16283
16284 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16285 by merging in ref-types2 tests.
16286 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16287
16288 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16289 * gdb.c++/Makefile.in: Add standard actions.
16290 (EXECUTABLES): Rename from PROGS, update list.
16291 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16292 from gdb.hp.
16293 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16294 foo and bar locals.
16295 * gdb.c++/anon-union.exp: Fix tests to match.
16296 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16297 expect matches to handle output variations.
16298 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16299 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 16300 output, add HP alternatives for new and delete prints.
a0b3c4fd 16301 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 16302 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
16303 * gdb.c++/demangle.exp: Use $style when reporting failure.
16304 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16305 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16306 match alternatives.
16307 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 16308 compilers.
a0b3c4fd
JM
16309 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16310 * gdb.c++/method.exp: Add match alternatives.
16311 * gdb.c++/misc.cc: Add bool types.
16312 * gdb.c++/misc.exp: Add tests for bool types.
16313 * gdb.c++/overload.exp: Add xfails.
16314 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16315 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16316 add some more template parameter tests (only for HP currently).
16317 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16318 * gdb.c++/virtfunc.cc: Add return type and value for main.
16319 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16320 match alternatives.
d63a86f8 16321
a0b3c4fd
JM
163221999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16323
16324 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16325
163261999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16327
16328 * gdb.base/signals.exp: Don't expect getting a backtrace from
16329 within a signal handler to fail on Linux.
16330
163311999-07-29 Stan Shebs <shebs@andros.cygnus.com>
16332
16333 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16334 * lib/gdb.exp: Remove some gratuitious semicolons.
16335 (delete_breakpoints): Increase timeout.
16336 (gdb_expect): Add -notransfer option.
16337 (gdb_test): Use -notransfer option.
16338 (get_compiler_info): Add f77 case.
16339 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 16340 case.
a0b3c4fd
JM
16341 (gdb_preprocess): Call get_compiler.
16342
16343 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
16344 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
16345 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
16346 gdb.base/long_long.exp, gdb.base/printcmds.exp,
16347 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
16348 third arg to gdb_test.
a0b3c4fd
JM
16349 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
16350 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 16351 HP-UX xfails, add others.
a0b3c4fd
JM
16352 * gdb.base/completion.exp: Reflect name change of self-test.
16353 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
16354 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
16355 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
16356 HP failure number.
a0b3c4fd
JM
16357 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
16358 useless HP-UX 10.30 references.
16359 * gdb.base/maint.exp: Loosen matches.
16360 * gdb.base/pointers.c (main): Declare more_code.
16361 * gdb.base/pointers.exp: Match on output of a `next'.
16362 * gdb.base/structs.c: Add prototypes.
16363 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
16364 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
16365
163661999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16367
16368 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 16369 command.
a0b3c4fd
JM
16370
163711999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16372
16373 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16374 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
16375
16376 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
16377 debug info. Deal with lack of signal hanlder info in stack.
16378
a9c64011 16379 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
16380 * gdb.base/annota1.exp: If printf has debug info, deal with it.
16381
5a2468f5
JM
163821999-07-19 Stan Shebs <shebs@andros.cygnus.com>
16383
16384 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 16385 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 16386
adf40b2e
JM
16387Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16388
16389 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 16390 a1-selftest.exp.
adf40b2e
JM
16391 * gdb.base/configure: Re-generate.
16392
163931999-07-12 Stan Shebs <shebs@andros.cygnus.com>
16394
16395 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
16396 in trying to run first and name is too long.
16397
16398 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
16399 pointers2.c and pointers2.exp, respectively.
16400 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
16401 doschk happier.
16402
43e526b9
JM
164031999-07-08 Stan Shebs <shebs@andros.cygnus.com>
16404
16405 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
16406 callfuncs2.c and callfuncs2.exp.
16407
16408 * gdb.base/list.exp: Remove mistaken xfails.
16409 * gdb.base/list0.h: Add optional prototypes.
16410
9846de1b
JM
16411Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
16412
a9c64011 16413 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 16414 calling malloc.
a9c64011
AS
16415 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
16416 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 16417 use.
9846de1b
JM
16418
164191999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16420
16421 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
16422 * gdb.base/annota2.cc, annota2.exp: Move from here.
16423 * gdb.c++/annota2.cc, annota2.exp: To here.
16424 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
16425
43ff13b4
JM
16426Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
16427
16428 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 16429 a consistent format.
43ff13b4 16430
085dd6e6
JM
164311999-06-25 Stan Shebs <shebs@andros.cygnus.com>
16432
16433 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16434 * lib/gdb.exp (get_compiler_info): Add detection for assorted
16435 HP compilers, also set the globals $true and $false.
16436
16437 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
16438 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
16439 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
16440 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
16441 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
16442 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
16443 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
16444 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
16445 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
16446 whatis.c} Add C++ compatible function definitions and return
16447 types, add includes for library functions.
085dd6e6
JM
16448 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
16449 * gdb.base/step-test.c (myglob): Rename from glob.
16450 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
16451 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
16452 files, move here from gdb.hp.
085dd6e6 16453 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
16454 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
16455 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
16456 Adjust line numbers in regexps.
085dd6e6
JM
16457
16458 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
16459 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
16460 instead of 0/1.
16461
16462 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
16463 foll-vfork.exp: New files, move here from gdb.hp.
16464 * gdb.base/page.exp: New file, test of pagination command.
16465
16466 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
16467 recursion test.
16468 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
16469
16470 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 16471 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
16472
16473 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 16474 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 16475 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 16476 watchpoint test.
085dd6e6
JM
16477 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
16478 them work.
16479 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
16480 expressions properly.
16481 * gdb.base/corefile.exp: Loosen the match slightly.
16482 * gdb.base/default.exp: Allow "Error accessing memory" message
16483 also.
16484 * gdb.base/display.exp: Skip over x/0 j if PA64.
16485 * gdb.base/funcargs.exp: Add xfails for HP-UX.
16486 * gdb.base/interrupt.exp: Ditto.
16487 * gdb.base/langs.exp: Add symbolic matches governed by compiler
16488 in use.
16489 * gdb.base/list.exp: Add xfails for HP-UX.
16490 * gdb.base/long_long.exp: Refine some of the numeric matches.
16491 * gdb.base/mips_pro.exp: Xfail on HP-UX.
16492 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
16493 * gdb.base/nodebug.exp: Succeed on more varieties of output.
16494 * gdb.base/opaque.exp: Remove some HP-UX xfails.
16495 * gdb.base/ptype.exp: Succeed on more varieties of output.
16496 * gdb.base/scope.exp: Add xfails for HP-UX.
16497 * gdb.base/sect-cmd.exp: Add more cases.
16498 * gdb.base/setvar.exp: Add xfails for HP-UX.
16499 * gdb.base/shlib-call.exp: Loosen some matches slightly.
16500 * gdb.base/signals.exp: Match on void symbolically.
16501 * gdb.base/step-test.exp: Add case for PA64.
16502 * gdb.base/term.exp: Add exit and restart.
16503 * gdb.base/twice.exp: Clean up after self.
16504 * gdb.base/varargs.exp: Disable overload resolution explicitly.
16505 * gdb.base/whatis.exp: Allow more ways to pass tests.
16506
16507 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 16508 no longer useful.
085dd6e6
JM
16509
16510Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
16511
16512 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 16513 list of patterns.
085dd6e6 16514 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
16515 print_double_array(double_array)", "continuing to breakpoint
16516 1018", "print print_double_array(array_d)" and "continuing to
16517 1034" tests.
d63a86f8 16518
085dd6e6
JM
165191999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
16520
a9c64011 16521 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
16522
165231999-06-24 Stan Shebs <shebs@andros.cygnus.com>
16524
16525 * config/mt-*: Remove, these haven't been used since 1996.
16526
165271999-06-22 Stan Shebs <shebs@andros.cygnus.com>
16528
16529 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 16530 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
16531 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
16532
9e0b60a8
JM
165331999-06-18 Stan Shebs <shebs@andros.cygnus.com>
16534
16535 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
16536 simpler match case for the ptype of the big class.
16537
165381999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16539
16540 * gdb.exp: Fix test for gdb_prompt existence.
16541
165421999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16543
16544 * gdb.exp (gdb_test): Add fail after calls to perror.
16545
165461999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16547
16548 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
16549
165501999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16551
16552 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
16553
0f71a2f6
JM
16554Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
16555
16556 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 16557 malloc() is linked in.
0f71a2f6
JM
16558
165591999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16560
16561 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
16562 step at end.
16563
16564 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
16565
165661999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
16567
16568 * gdb.java/jv-print.exp: New file. (Our first Java test!)
16569
cce74817
JM
16570Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
16571
16572 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
16573 * gdb.base/mips_pro.exp: Likewise.
16574
165751999-06-02 Keith Seitz <keiths@cygnus.com>
16576
16577 * gdb.c++/templates.cc: Change all "new" operators to throw
16578 an exception.
16579 * gdb.c++/cplusfuncs.cc: Likewise.
16580
16581 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
16582
16583Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
16584
16585 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
16586 * gdb.base/ending-run.exp: When stepping out of main, accept a
16587 step into an arbitrary assembler file.
cce74817 16588
392a587b
JM
165891999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16590
d63a86f8 16591 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 16592 "breakpoint-invalid" to be printed.
d63a86f8 16593 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
16594 number of "frames-invalid" and "breakpoint-invalid" to be printed.
16595 * gdb.base/annota2.cc: Initialize a.x to 0.
16596
9e086581
JM
165971999-05-17 Keith Seitz <keiths@cygnus.com>
16598
16599 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
16600 when "skip_float_tests" set.
16601 Ditto for "print print_double_array(array_d)", "print print_small_structs",
16602 "print print_ten_doubles", and "step into print_long_arg_list".
16603 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
16604 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
16605 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
16606 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
16607 "skip_float_tests" is set.
16608 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
16609 when "skip_float_tests" set.
d63a86f8 16610
cd0fc7c3
SS
166111999-05-06 Keith Seitz <keiths@cygnus.com>
16612
16613 * gdb.base/annota2.cc: Include stdio.h.
16614
16615Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
16616
16617 * gdb.base/crossload.exp: Remove, this has been disabled ever
16618 since BFD stopped including all targets, and cross-GDB gets
16619 plenty of testing anyway.
16620 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
16621 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
16622 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
16623 * gdb.base/README: Remove, was doc for this.
16624 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 16625 needed.
cd0fc7c3 16626
b83266a0
SS
166271999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16628
16629 * gdb.base/call-ar-st.exp: Fix one regular expression in test
16630 output.
16631
16632 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
16633 * gdb.base/annota2.exp: New file. More annotation tests.
16634 * gdb.base/annota1.c: New file. Source file for annota1.exp.
16635 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
16636
166371999-04-23 Angela Marie Thomas <angela@cygnus.com>
16638
16639 * config/cfdbug.exp: New file.
16640
7a292a7a
SS
166411999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
16642
16643 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
16644 Marcus Daniel's and Dale Hawkins's demangler crashes.
16645
16646 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
16647 test_lucid_style_demangling, test_arm_style_demangling,
16648 test_hp_style_demangling): Try Tom Tromey's core-dumping
16649 identifier under each demangling style.
7a292a7a
SS
16650
166511999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
16652
16653 * gdb.c++/demangle.exp: Include the current demangling style
16654 in all test names.
16655 (current_demangling_style): New global variable.
16656 (set_demangling_style, test_demangling_core, test_demangling,
16657 test_demangling_exact): New functions.
16658 (test_gnu_style_demangling, test_lucid_style_demangling,
16659 test_arm_style_demangling, test_hp_style_demangling): Use those,
16660 instead of calling gdb_test and gdb_test_exact directly.
16661 (catch_demangling_errors): New function, which reports errors
16662 signalled by the demangling test functions in an orderly way.
16663 (do_tests): Use catch_demangling_errors.
16664
166651999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
16666
16667 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 16668 grouping in expressions, not {}.
7a292a7a
SS
16669
16670 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 16671 initialized yet.
7a292a7a
SS
16672
166731999-04-01 Stan Shebs <shebs@andros.cygnus.com>
16674
16675 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
16676 are listed.
16677
166781999-03-26 Stan Shebs <shebs@andros.cygnus.com>
16679
16680 * gdb.stabs/weird.exp: Test for CC being defined before
16681 looking at its value.
16682
166831999-03-25 Stan Shebs <shebs@andros.cygnus.com>
16684
16685 * gdb.base/call-ar-st.exp: Remove stray '#'.
16686 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
16687 "short int" and "long int".
16688 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 16689 change, to mollify finicky HP compiler.
7a292a7a
SS
16690 * gdb.hp/reg-test.exp (testfile): Fix file name.
16691 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 16692
7a292a7a
SS
16693 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
16694 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
16695 alternate form of enum ptype.
16696
c906108c
SS
166971999-03-23 Stan Shebs <shebs@andros.cygnus.com>
16698
7a292a7a
SS
16699 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
16700 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
16701 passing skip_hp_tests, so as not to waste time on guaranteed
16702 failure.
7a292a7a 16703
c906108c
SS
16704 * gdb.c++/overload.cc: Pass string instead of char addr, always
16705 init ccpfoo.
16706 * gdb.c++/templates.cc: Fix syntax error.
16707
7a292a7a
SS
16708Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16709
16710 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 16711 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
16712 command.
16713
167141999-03-18 James Ingham <jingham@cygnus.com>
16715
16716 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
16717
16718 * gdb.c++/method.exp: It was testing an uninitialized int on the
16719 stack and assuming it was positive.
16720
16721 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
16722
16723 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 16724 keep it from killing the rest of the tests.
7a292a7a
SS
16725 Use gdb_continue_to_end.
16726
16727 * gdb.base/sigall.exp: use gdb_continue_to_end.
16728
16729 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
16730
16731 * gdb.base/display.exp: use runto_main, not run.
16732
d63a86f8
RM
16733 * gdb.base/default.exp: Check for the current error message in the
16734 r abbreviation test.
7a292a7a
SS
16735 Add strongarm to the targets that know info float.
16736
d63a86f8 16737 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
16738 run which doesn't work with monitors.
16739
16740 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
16741
16742 * gdb.base/break.exp: use the gdb_continue_to_end proc.
16743
16744 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
16745 program. Traps the case (in Cygmon) when the program never really
16746 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
16747 more places, so I used my name. Sorry Mark...
16748
16749 * config/monitor.exp (gdb_target_monitor): added another
16750 target_info parameter: remotebinarydownload. This will set the
16751 remotebinarydownload flag if this is causing some boards trouble.
16752
167531999-03-18 Mark Salter <msalter@cygnus.com>
16754
16755 * lib/gdb.exp (continue_to_exit): New function.
16756
16757 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
16758 * gdb.base/ending-run.exp: Ditto.
16759 * gdb.base/step-test.exp: Ditto.
16760
167611999-03-16 Stan Shebs <shebs@andros.cygnus.com>
16762
16763 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
16764 (suggested by Art Haas <ahaas@neosoft.com>).
16765
167661999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
16767
889bf7c5 16768 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
16769
16770Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
16771
16772 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 16773 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
16774
167751999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
16776
16777 * gdb.base/call-strs.exp: Don't assume that `step' will step over
16778 a call to strlen; sometimes we do have sources.
16779
167801999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
16781
16782 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 16783 character, so GDB won't print garbage after its end.
d63a86f8 16784
c906108c
SS
16785 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
16786 breakpoint there instead. Sometimes GCC emits memcpy to handle
16787 the large structures being passed by value, so we step into that
16788 instead of sum_array_print, which obscures what we're really testing.
16789 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
16790 the bizarre steps into memcpy, so do that here. Add check for
16791 stepping into function calls that pass large structures by value.
16792 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
16793 Remove all references to specific line numbers.
16794 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
16795 New type and function.
16796 (main): Call large_struct_by_value, passing it a large struct by value.
16797 * lib/gdb.exp (gdb_get_line_number): New function.
16798
16799 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
16800 more portable.
16801
7a292a7a
SS
168021999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
16803
c906108c
SS
16804 * lib/gdb.exp: Doc fixes.
16805
7a292a7a
SS
168061999-03-05 Nick Clifton <nickc@cygnus.com>
16807
d63a86f8 16808 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
16809
168101999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
16811
c906108c 16812 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
16813 commands. They're not germane to this test, and they don't work
16814 that way on remote targets.
c906108c 16815
3fc11d3e
JM
168161999-03-01 James Ingham <jingham@cygnus.com>
16817
16818 * Changelog entries merged over from gdb development branch.
16819
3fc11d3e
JM
16820 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
16821
16822 * lib/gdb.exp (gdbtk_analyze_results): Generic function
16823 for outputting results of test run.
16824
2d4a1622 16825 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
16826
16827 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 16828
7a292a7a
SS
168291999-02-25 Felix Lee <flee@cygnus.com>
16830
16831 * lib/gdb.exp (debug_format): initialize
16832
c906108c
SS
168331999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
16834
16835 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
16836 * gdb.base/call-rt-st.c: Ditto.
16837
c906108c
SS
168381999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
16839
16840 * gdb.threads/pthreads.exp (horiz): New variable.
16841 (test_startup): Fix regexps that capture thread numbers.
16842
168431999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
16844
16845 * gdb.base/smoke.exp: Disambiguate two test case names (both
16846 called ``print'').
16847
16848Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16849
16850 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 16851 compilation.
c906108c
SS
16852
168531999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16854
16855 * gdb.base/miscexprs.exp: Change patterns to match GDB's
16856 actual output formatting.
16857 * gdb.base/smoke.exp: GDB removes leading 0's.
16858 * gdb.base/volatile.exp: Don't check type of remuneration;
16859 that variable is no longer defined in constvars.c.
16860 * gdb.base/step-test.c (main): Exit with explicit exit code.
16861 * gdb.base/step-test.exp: Remove two nexti checks--they are
16862 not portable.
16863
168641999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
16865
16866 * gdb.base/help.exp ("help delete display"): Fix test to match
16867 gdb's output.
16868
16869 * gdb.base/long_long.c (known_types): Initialize values to zero.
16870 * gdb.base/long_long.exp: Step one more line
16871 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
16872 leading zeros. Explicitly ask for hex formatting. Use
16873 unique test case names.
c906108c
SS
16874
16875Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16876
d63a86f8 16877 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
16878
16879 * gdb.c++/method.exp: Add missing close brace.
16880
168811999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
16882
16883 * gdb.base/maint.exp: Use 'set height 0' to disable page
16884 prompting, not 'set height 400'.
16885
16886 Fix a bunch of timeouts.
16887 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
16888 four separate tests, so expect doesn't take forever to match a ton
16889 of text against a regexp with lots of .* forms.
16890 ("maint print psymbols", "maint print symbols"): Make some of
16891 these greps more selective, so that expect doesn't try to wade
16892 through huge piles of output and time out.
16893
16894 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
16895
16896 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
16897 tests: one which doesn't expect shlib events to be reported, and
16898 another which does, but is XFAIL for all platforms other than
16899 HP/UX.
c906108c
SS
16900
16901 * gdb.base/break.exp: Teach the test suite that the `catch
16902 fork', `catch vfork', and `catch exec' commands produce error
16903 messages on platforms that don't provide these features.
16904
16905Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
16906
16907 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
16908 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
16909 (shortening names from solib_threshold.exp etc), won't run on
16910 anything but HP-UX for the foreseeable future.
c906108c 16911 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 16912 reflect move.
c906108c
SS
16913
16914Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
16915
16916 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 16917 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
16918
16919Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
16920
16921 * gdb.base/shlib-call.exp: add test cases to verify that gdb
16922 successfully re-sets breakpoints in shared libraries.
16923 * gdb.base/shmain.c (main): return 0, don't fall off the end.
16924
16925Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16926
d63a86f8
RM
16927 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
16928 and compiled w/o GCC.
c906108c
SS
16929
16930 * gdb.hp/watch-cmd.exp: ditto.
16931
16932 * gdb.hp/watch-hp.exp: ditto.
16933
16934 * gdb.hp/xdb1.exp: ditto.
16935
16936 * gdb.hp/xdb2.exp: ditto.
16937
16938 * gdb.hp/dbx.exp: ditto.
16939
16940Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
16941
16942 * constvars.c: Remove C++-isms.
16943 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 16944 with GCC.
c906108c
SS
16945
16946Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
16947
16948 The following changes are part of the HP merge.
16949
16950 * gdb.base/break.exp: new tests to verify that catchpoints for
16951 fork, vfork, and exec don't trigger inappropriately.
16952
16953 * gdb.base/opaque.exp: compile one file at a time, then link.
16954
16955 * gdb.base/signals.exp: be more restrictive about which hppa
16956 systems receive a setup_xfail. new tests.
16957
16958 * gdb.base/solib_threshold.build: new file.
16959 * gdb.base/solib_threshold.exp: new file.
16960 * gdb.base/solib_threshold.link_opts: new file.
16961 * gdb.base/solib_threshold.mk: new file.
16962 * gdb.base/gen_solib_threshold.c: new file.
16963
16964 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
16965 tests. New tests for enums inside classes.
16966
16967 * gdb.c++/compiler.cc: indicate support of template debugging.
16968
16969 * gdb.c++/demangle.exp: run hp style demangling tests.
16970
16971 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
16972 tests.
16973
16974 * gdb.c++/misc.cc: changes to support new tests.
16975
16976 * gdb.c++/templates.cc: changes to support HP's compiler; changes
16977 to support new tests.
16978
16979 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
16980 gcc, then skip these tests.
16981
16982Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
16983
16984 The following files are part of the HP merge; some had longer
16985 names at HP, but have been renamed to be no more than 14
16986 characters in length.
16987
16988 * gdb.hp/ambiguous.cc: new file.
16989 * gdb.hp/ambiguous.exp: new file.
16990 * gdb.hp/attach.exp: new file.
16991 * gdb.hp/attach2.exp: new file.
16992 * gdb.hp/classes-hp.exp: new file.
16993 * gdb.hp/ctti.exp: new file.
16994 * gdb.hp/ctti-add.cc: new file.
16995 * gdb.hp/ctti-add1.cc: new file.
16996 * gdb.hp/ctti-add2.cc: new file.
16997 * gdb.hp/ctti-add3.cc: new file.
16998 * gdb.hp/dbx.exp: new file.
16999 * gdb.hp/exception.cc: new file.
17000 * gdb.hp/exception.exp: new file.
17001 * gdb.hp/foll-exec.c: new file.
17002 * gdb.hp/foll-exec.exp: new file.
17003 * gdb.hp/foll-fork.c: new file.
17004 * gdb.hp/foll-fork.exp: new file.
17005 * gdb.hp/foll-vfork.c: new file.
17006 * gdb.hp/foll-vfork.exp: new file.
17007 * gdb.hp/inherit-hp.exp: new file.
17008 * gdb.hp/more-steps.exp: new file.
17009 * gdb.hp/namespace.cc: new file.
17010 * gdb.hp/namespace.exp: new file.
17011 * gdb.hp/optimize.exp: new file.
17012 * gdb.hp/pxdb.c: new file.
17013 * gdb.hp/pxdb.exp: new file.
17014 * gdb.hp/quicksort.exp: new file.
17015 * gdb.hp/reg-test.exp: new file.
17016 * gdb.hp/reg-test.s: new file.
17017 * gdb.hp/sized-enum.c: new file.
17018 * gdb.hp/sized-enum.exp: new file.
17019 * gdb.hp/start-stop.exp: new file.
17020 * gdb.hp/templ-hp.cc: new file.
17021 * gdb.hp/templ-hp.exp: new file.
17022 * gdb.hp/thr-lib.c: new file.
17023 * gdb.hp/thr-lib.exp: new file.
17024 * gdb.hp/thr-lib.h: new file.
17025 * gdb.hp/thr-liblib.c: new file.
17026 * gdb.hp/virtfun-hp.c: new file.
17027 * gdb.hp/virtfun-hp.exp: new file.
17028 * gdb.hp/watch-cmd.exp: new file.
17029 * gdb.hp/watch-hp.exp: new file.
17030 * gdb.hp/xdb1.exp: new file.
17031 * gdb.hp/xdb2.exp: new file.
17032 * gdb.hp/xdb3.exp: new file.
17033
17034Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17035
17036 The following files are part of the HP merge; some had longer
17037 names at HP, but have been renamed to be no more than 14
17038 characters in length.
17039
17040 * gdb.base/ss.h: new file.
17041 * gdb.base/call-ar-st.c: new file.
17042 * gdb.base/call-ar-st.exp: new file.
17043 * gdb.base/call-rt-st.c: new file.
17044 * gdb.base/call-rt-st-exp: new file.
17045 * gdb.base/call-strs.exp: new file.
17046 * gdb.base/ena-dis-br.exp: new file.
17047 * gdb.base/environ.exp: new file.
17048 * gdb.base/long_long.exp: new file.
17049 * gdb.base/sect-cmd.exp: new file.
17050 * gdb.base/shlib-cl2.exp: new file.
17051 * gdb.base/smoke.exp: new file.
17052 * gdb.base/so-impl-ld.c: new file.
17053 * gdb.base/so-impl-ld.exp: new file.
17054 * gdb.base/so-indr-cl.c: new file.
17055 * gdb.base/so-indr-cl.exp: new file.
17056 * gdb.base/varargs.exp: new file.
17057 * gdb.base/volatile.exp: new file.
17058 * gdb.base/whatis-exp.exp: new file.
7a292a7a 17059 * gdb.base/display.exp: new file.
c906108c
SS
17060 * gdb.c++/derivation.exp: new file.
17061 * gdb.c++/local.exp: new file.
17062 * gdb.c++/member-ptr.exp: new file.
17063 * gdb.c++/overload.exp: new file.
17064 * gdb.c++/ovldbreak.exp: new file.
17065 * gdb.c++/ref-types.exp: new file.
17066 * gdb.c++/ref-types2.exp: new file.
17067 * gdb.c++/userdef.exp: new file.
d63a86f8 17068
c906108c
SS
17069Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17070
17071 * gdb.base/default.exp: Reflect wording change in remote.c.
17072
dc96c6c7 17073Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17074
17075 * gdb.base/help.exp: Update to reflect current text.
17076
17077Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17078
17079 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17080 they're stack variables and contain garbage.
17081 * gdb.c++/anon-union.exp: new file.
17082
17083 The following changes were made by David Taylor
889bf7c5
PA
17084 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17085 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17086 in changes by HP.
c906108c
SS
17087
17088 * gdb.base/bitops.exp: new file.
17089 * gdb.base/default.exp: change expected messages for catch and
17090 info catch tests to reflect HP merge changes.
17091 * gdb.base/enable-disable-break.exp
17092 * gdb.base/ending-run.c: new file.
17093 * gdb.base/long_long.c: new file.
17094 * gdb.base/maint.exp: new file.
17095 * gdb.base/pointers2.exp: new file.
17096 * gdb.base/shlib-call2.exp: new file.
17097 * gdb.base/solib.exp: new file.
17098 * gdb.base/step-test.c: new file.
17099 * gdb.c++/anon-union.cc: new file.
17100 * gdb.c++/local.cc: new file.
17101 * gdb.c++/member-pointer.cc: new file.
17102 * gdb.c++/method.cc: new file.
17103 * gdb.c++/ref-types.cc: new file.
17104 * gdb.c++/ref-types2.cc: new file.
17105 * gdb.c++/userdef.cc: new file.
d63a86f8 17106
c906108c
SS
17107 * gdb.base/scope.exp: compile one file at a time, then link.
17108 * gdb.base/langs.exp: ditto.
17109 * gdb.base/list.exp: ditto.
d63a86f8 17110
c906108c
SS
17111Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17112
17113 The following changes were made by David Taylor
889bf7c5
PA
17114 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17115 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17116 in changes by HP.
d63a86f8 17117
c906108c
SS
17118 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17119 skip tests. When compiling pass c++ flag to gdb_compile.
17120 * gdb.c++/
d63a86f8 17121
c906108c
SS
17122 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17123 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17124 (skip_hp_tests): new function.
17125 (gdb_preprocess): new function.
17126
17127 * configure.in (hpdir): decide whether to configure gdb.hp.
17128 * configure: regenerated.
17129
17130 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17131 to delete on clean.
17132 (EXECUTABLES): update to reflect new additions.
17133 * gdb.base/commands.exp: update message expected.
17134 * gdb.base/default.exp: add copyright notice.
17135 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17136 * gdb.base/help.exp: update messages to reflect current text.
17137 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17138 targets for recurse tests.
17139 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17140 skip this file.
17141
17142 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17143 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17144 compilation.
17145 * gdb.c++/misc.exp: ditto.
17146 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17147 run the tests. tell gdb_compile that it's a c++ compilation.
17148
17149 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 17150
c906108c
SS
17151 * gdb.base/all-bin.exp: new file.
17152 * gdb.base/arithmet.exp: new file.
17153 * gdb.base/assign.exp: new file.
17154 * gdb.base/completion.exp: new file.
17155 * gdb.base/cond-expr.exp: new file.
17156 * gdb.base/condbreak.exp: new file.
17157 * gdb.base/define.exp: new file.
17158 * gdb.base/dollar.exp: new file.
17159 * gdb.base/environment.exp: new file.
17160 * gdb.base/eval-skip.exp: new file.
17161 * gdb.base/jump.exp: new file.
17162 * gdb.base/logical.exp: new file.
17163 * gdb.base/pointers.exp: new file.
17164 * gdb.base/relational.exp: new file.
17165 * gdb.base/section_command.exp: new file.
17166 * gdb.base/whatis-expr.exp: new file.
17167
17168 * gdb.base/all-types.c: new file.
17169 * gdb.base/call-array-struct.c: new file.
17170 * gdb.base/call-return-struct.c: new file.
17171 * gdb.base/call-strings.c: new file.
17172 * gdb.base/callfuncs2.c: new file.
17173 * gdb.base/condbreak.c: new file.
17174 * gdb.base/constvars.c: new file.
17175 * gdb.base/display.c: new file.
17176 * gdb.base/int-type.c: new file.
17177 * gdb.base/jump.c: new file.
17178 * gdb.base/miscexprs.c: new file.
17179 * gdb.base/pointers.c: new file.
17180 * gdb.base/pointers2.c: new file.
17181 * gdb.base/shmain.c: new file.
17182 * gdb.base/shr1.c: new file.
17183 * gdb.base/shr2.c: new file.
17184 * gdb.base/solib.c: new file.
17185 * gdb.base/solib1.c: new file.
17186 * gdb.base/solib2.c: new file.
17187 * gdb.base/varargs.c: new file.
17188 * gdb.c++/derivation.cc: new file.
17189 * gdb.c++/overload.cc: new file.
17190 * gdb.c++/ovldbreak.cc: new file.
17191 * gdb.hp/attach.c: new file.
17192 * gdb.hp/attach2.c: new file.
17193 * gdb.hp/average.c: new file.
17194 * gdb.hp/compiler.c: new file.
17195 * gdb.hp/compiler.cc: new file.
17196 * gdb.hp/execd-program.c: new file.
17197 * gdb.hp/follow-exec.c: new file.
17198 * gdb.hp/follow-fork.c: new file.
17199 * gdb.hp/follow-vfork-and-exec.c: new file.
17200 * gdb.hp/misc-hp.cc: new file.
17201 * gdb.hp/more-steps.c: new file.
17202 * gdb.hp/optimize.c: new file.
17203 * gdb.hp/quicksort.c: new file.
17204 * gdb.hp/run-hp.c: new file.
17205 * gdb.hp/start-stop.c: new file.
17206 * gdb.hp/sum.c: new file.
17207 * gdb.hp/templates-hp.cc: new file.
17208 * gdb.hp/thread-local-in-lib.c: new file.
17209 * gdb.hp/thread-local-in-lib.h: new file.
17210 * gdb.hp/thread-local-in-lib.lib.c: new file.
17211 * gdb.hp/vforked-program.c: new file.
17212 * gdb.hp/virtfunc-hp.cc: new file.
17213 * gdb.hp/watchpoint-hp.c: new file.
17214 * gdb.hp/xdb.c: new file.
17215 * gdb.hp/xdb0.c: new file.
17216 * gdb.hp/xdb0.h: new file.
17217 * gdb.hp/xdb1.c: new file.
17218
17219Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17220
17221 The following change was made by Edith Epstein
889bf7c5
PA
17222 <eepstein@cygnus.com> as part of a project to merge in changes
17223 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
17224
17225 * gdb.c++/demangle.exp: changed the expected output for some
17226 ARM-style mangling -- removed second reference to datatype.
889bf7c5 17227 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 17228 T1<char>::~T1<char>(void)
c906108c 17229 becomes,
a9c64011
AS
17230 maint demangle __dt__11T1__pt__2_cFv
17231 T1<char>::~T1(void)
c906108c 17232
889bf7c5 17233 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 17234
c906108c
SS
17235Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17236
17237 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17238 * gdb.trace/backtrace.exp: Likewise.
17239 * gdb.trace/circ.exp: Likewise.
17240 * gdb.trace/collection.exp: Likewise.
17241 * gdb.trace/deltrace.exp: Likewise.
17242 * gdb.trace/infotrace.exp: Likewise.
17243 * gdb.trace/limits.exp: Likewise.
17244 * gdb.trace/packetlen.exp: Likewise.
17245 * gdb.trace/passc-dyn.exp: Likewise.
17246 * gdb.trace/passcount.exp: Likewise.
17247 * gdb.trace/report.exp: Likewise.
17248 * gdb.trace/save-trace.exp: Likewise.
17249 * gdb.trace/tfind.exp: Likewise.
17250 * gdb.trace/tracecmd.exp: Likewise.
17251 * gdb.trace/while-dyn.exp: Likewise.
17252 * gdb.trace/while-stepping.exp: Likewise.
17253
172541998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17255
17256 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17257
17258Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17259
17260 From Brendan Kehoe:
17261 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17262 int return types.
17263
17264Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17265
17266 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 17267 remote dos host testing right.
c906108c
SS
17268
17269Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17270
17271 * gdb.base/corefile.exp: remove some xfails.
17272
17273Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17274
17275 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 17276 have different timestamps.
c906108c
SS
17277
17278Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17279
17280 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 17281 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
17282
17283Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17284
17285 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 17286 delta.
c906108c
SS
17287
17288Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17289
17290 * gdb.base/default.exp: Add brace missing from previous delta.
17291
17292Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17293
17294 * gdb.base/default.exp: Support test for info float for all
17295 varieties of arm toolchain.
17296
dc96c6c7 17297Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17298
17299 * gdb.trace/*.exp: remove "remote_download" command.
17300
dc96c6c7 17301Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17302
17303 * gdb.trace/*.exp: remove -gdwarf from compile.
17304
17305Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17306
17307 * gdb.trace/configure.in(AC_INIT): typo
17308 * gdb.trace/configure: regenerated
17309
dc96c6c7 17310Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17311
17312 * config/m68k-emc.exp: New file.
17313 * lib/<emc-support.exp trace-support.exp}: New files.
17314 * configure.in: add new test directory gdb.trace.
17315 * gdb.trace/{configure configure.in Makefile.in}: New files.
17316 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17317 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17318 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17319 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17320 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17321 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17322 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 17323
dc96c6c7 17324Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17325
17326 * gdb.c++/classes.exp: Change all regular expressions to match
17327 arbitrary combinations of newline/carriage-return, so that they
17328 will work equally well on Unix and Windows.
17329 * gdb.c++/inherit.exp: ditto.
17330 * gdb.c++/virtfunc.exp: ditto.
17331
173321998-08-11 Dawn Perchik <dawn@cygnus.com>
17333
17334 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17335
c2d11a7d
JM
17336Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
17337
17338 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
17339 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
17340 to use a0-a3/d0-d3 as needed.
17341
17342Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
17343
17344 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
17345 * gdb.disasm/am33.exp: Corresponding changes.
17346
c906108c
SS
173471998-07-11 Felix Lee <flee@cygnus.com>
17348
17349 * gdb.base/callfuncs.exp: add cmp10 test.
17350 * gdb.base/callfuncs.c (cmp10): new function.
17351
17352Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
17353
d63a86f8 17354 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
17355 into two parts to get around a synchronization problem in expect.
17356
3fc11d3e
JM
17357Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
17358
17359 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17360
17361 * configure.in: Add options for gdbtk testsuite.
17362
17363 * configure: Regenerate.
17364
17365 * gdb.gdbtk: New directory to hold gdbtk tests.
17366
c906108c
SS
17367Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17368
17369 * gdb.fortran/types.exp: Escape brackets in expect patterns
17370 for test_float_literal_types_accepted tests.
17371 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
17372 before run test.
17373
c2d11a7d
JM
17374Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17375
17376 * am33.exp: Just compile, do not link the testcase.
17377 * am33.s: Add ".am33" pseudoop to force am33 mode.
17378
c906108c
SS
173791998-06-25 Felix Lee <flee@cygnus.com>
17380
17381 * gdb.base/setshow.exp: make sure $pc is sane.
17382
17383 * gdb.stabs/weird.exp: split expect patterns properly.
17384
c2d11a7d
JM
17385Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
17386
17387 * gdb.disasm/am33.s: New disassembler testfile for the am33.
17388 * gdb.disasm/am33.exp: Run it.
17389
dc96c6c7 17390Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17391
17392 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
17393 match processing (and eliminate spurious timeouts when running).
17394
dc96c6c7 17395Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17396
17397 * gdb.base/signals.exp (test_handle_all_print): put back Mach
17398 exception test, but conditionalize it on target [mach | gnu].
17399
dc96c6c7 17400Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17401
17402 * gdb.base/overlays.exp: fixup compile line for linker script.
17403
17404Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
17405
17406 * gdb.fortran/types.exp: don't guess at float size.
17407
17408Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
17409
17410 * gdb.base/exprs.exp: delete test that depends on int size.
17411
17412Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
17413
17414 * config/sim.exp: Removed checks for target triplets.
17415 (gdb_target_sim): Use gdb,target_sim_options.
17416
17417Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
17418
17419 * gdb.base/reread.exp: New file.
17420 * gdb.base/reread1.c: New file.
17421 * gdb.base/reread2.c: New file.
17422
17423Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
17424
17425 * config/sim.exp: Use 'target sim -sparclite' when running
17426 SPARClite programs.
17427
17428Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
17429
17430 * gdb.base/structs2.exp: New file.
17431 * gdb.base/structs2.c: New file.
17432
17433Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
17434
17435 * gdb.asm/common.inc: New file.
17436 * gdb.asm/d10v.inc: New file.
17437 * asm-source.exp: Pass -I's to gas to find .inc files.
17438 Update line numbers in expected output.
17439 * asmsrc1.s: Rewrite.
17440 * asmsrc2.s: Rewrite.
17441 * configure.in: Create arch.inc symlink.
17442 * configure: Regenerate.
17443 * Makefile.in (distclean): Delete arch.inc.
17444
17445Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
17446
17447 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
17448 (t_enum_value2): ditto
17449 (t_enum_value3): ditto
17450 (main): ditto
c906108c
SS
17451Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17452
17453 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
17454 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
17455 change.
17456 Use gdb_test instead of send_gdb/gdb_expect sequences.
17457
17458Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
17459
17460 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
17461 not void.
17462
17463Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
17464
17465 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
17466 subroutines. Used to test gdbs ability to single step through PC
17467 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
17468
17469Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
17470
17471 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
17472 more rigorous EGCS C++ error checking.
17473
17474Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17475
a9c64011
AS
17476 * gdb.base/help.exp: Clean up `help set args' and `help show args'
17477 tests.
17478 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
17479 function when asleep.
17480 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
17481 for i*86 Linux and SVR4 signal handling problems.
17482 Remove linux xfail for `next to handler in signals_tests_1', fixed
17483 by recent infrun.c change.
17484 Limit backtrace to 10 frames to avoid timeout problems with infinite
17485 stack backtraces.
17486 Adjust expect pattern in `handle all print' test to match Apr 28 1997
17487 target.[ch] change.
c906108c
SS
17488
17489Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
17490
17491 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
17492 for a newline from gdb before continuing.
17493 (default_gdb_exit): Just look for y or n.
17494 (gdb_test): Detect abnormal exit from GDB running on DOS; if
17495 it does, fail the rests of the tests in the file.
17496
17497Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
17498
17499 * config/cygmon.exp: New file.
17500
17501Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
17502
17503 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 17504 main" test on remote targets.
c906108c
SS
17505
17506 * gdb.base/scope.exp: Fix problem with filelocal_bss before
17507 run test on remote targets.
17508
17509Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
17510
17511 * gdb.asm: New directory.
17512 * configure.in: Configure it.
17513 * configure: Regenerate.
17514 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
17515 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
17516
17517Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
17518
17519 * config/mn10300-eval.exp: New file to support MN10300 eval board.
17520
dc96c6c7 17521Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 17522
a9c64011
AS
17523 * gdb.base/overlays (several files): Merge the two overlay
17524 managers into one. Change variables (foox, barx, bazx, grbxx)
17525 back into ints but force them to load in their proper sections.
c906108c
SS
17526
17527Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
17528
17529 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 17530 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
17531 (D10VCopy): Handle memory regions crossing 16k boundaries.
17532 (D10VCopy): Transfer data in 32 bit chunks.
17533
17534Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
17535
17536 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 17537 correct.
c906108c
SS
17538
17539 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 17540 map. Include space for printf in .text segment.
c906108c
SS
17541
17542 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 17543 updated d10v memory VMA/LMA map.
c906108c 17544 (D10VCopy): Call D10VTranslate.
d63a86f8 17545
c906108c
SS
17546Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
17547
17548 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
17549
17550 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
17551 that it won't be put into the .sdata - small data -
17552 section. Update reference.
c906108c
SS
17553 * gdb.base/baz.c (bazx, baz): Ditto.
17554 * gdb.base/foo.c (foox, foo): Ditto.
17555 * gdb.base/grbx.c (grbxx, grbx): Ditto.
17556
17557 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 17558 to be arrays.
d63a86f8 17559
dc96c6c7 17560Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 17561
a9c64011
AS
17562 * gdb.base/overlays.exp: fix up and get working again.
17563 Add tests for backtraces from an overlay function.
d63a86f8 17564
c906108c
SS
17565Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
17566
17567 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
17568 "calling function with watchpoint enabled".
17569
17570Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
17571
17572 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 17573 gdb_suppress_tests for d10v-*-*.
c906108c
SS
17574 * lib/gdb.exp (gdb_suppress_tests): Disable this function
17575 pending review of whether it is useful or not.
17576
17577Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
17578
17579 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
17580
17581Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
17582
17583 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
17584 * config/dve.exp: New file to support Densan boards.
17585
17586Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
17587
17588 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 17589 reads and BSD.
c906108c
SS
17590
17591Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
17592
17593 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
17594 response.
17595
17596 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
17597
17598Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
17599
17600 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 17601 test.
c906108c
SS
17602
17603 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 17604 target_sizeof_long and target_bigendian_p.
c906108c 17605 (structs_by_value, structs_by_reference): Check values according
889bf7c5 17606 to targets word size and endianess.
d63a86f8 17607
c906108c
SS
17608Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
17609
17610 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 17611 output.
c906108c
SS
17612
17613Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
17614
17615 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 17616 Update test of set args help to match source change.
c906108c
SS
17617
17618Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
17619
17620 * gdb.base/default.exp: Expect help system output to be in
17621 alphabetical order.
17622 * gdb.base/help.exp: Ditto.
17623
17624Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
17625
17626 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
17627 "i*86-pc-linux-gnu*".
17628 * gdb.base/interrupt.exp: Ditto.
17629 * gdb.base/corefile.exp: Ditto.
17630
17631 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 17632 define vxworks when building the testcase.
c906108c
SS
17633
17634 * gdb.base/ptype.exp: Fix testnames to be unique.
17635 * gdb.base/radix.exp: Ditto.
17636 * gdb.base/term.exp: Ditto.
17637 * gdb.base/whatis.exp: Ditto.
17638 * gdb.c++/classes.exp: Ditto.
17639
17640Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
17641
17642 * gdb.base/callfuncs.exp: Fix indentation.
17643
17644 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
17645 suppress_flag has been set.
17646 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
17647 target feature.
17648
17649Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
17650
17651 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
17652 the testcase.
17653
17654 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 17655 set_debug_traps() and breakpoint().
c906108c
SS
17656 * gdb.c++/misc.cc (main): Ditto.
17657 * gdb.c++/templates.cc (main): Ditto.
17658 * gdb.c++/virtfunc.cc (main): Ditto.
17659
17660Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
17661
17662 * lib/gdb.exp(gdb_step_for_stub): New function.
17663 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
17664 exists, reload the executable and do a "continue" instead of
17665 doing a jump.
17666 (runto_main): Use gdb_step_for_stub.
d63a86f8 17667
c906108c 17668 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 17669 tests to have unique names.
c906108c
SS
17670 * gdb.base/callfuncs.exp: Ditto.
17671 * gdb.base/commands.exp: Ditto.
17672 * gdb.base/default.exp: Ditto.
17673 * gdb.base/help.exp: Ditto.
17674 * gdb.base/list.exp: Ditto.
17675 * gdb.base/opaque.exp: Ditto.
17676 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
17677 similar tests.
d63a86f8 17678
c906108c
SS
17679 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
17680 * gdb.c++/cplusfuncs.cc: Ditto.
17681 * gdb.c++/virtfunc.cc: Ditto.
17682
17683 * config/monitor.exp: Keep track of the last file we saw, rather
17684 than trying to get the info from gdb.
17685
17686 * gdb.fortran/types.exp: Move comment to previous line.
17687
17688Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
17689
17690 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 17691 target mode.
c906108c
SS
17692
17693Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
17694
17695 From Bob Manson:
17696 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 17697 string from GDB when it connects.
c906108c
SS
17698
17699 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
17700
17701Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
17702
17703 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
17704 if we can't get a debug format from GDB (we may be testing an
17705 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
17706
17707 * gdb.stabs/weird.exp: Fix quoting.
17708
17709 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
17710
17711Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
17712
17713 * config/arm-ice.exp: New file.
17714
17715Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
17716
17717 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 17718 until it has been modified to work with the new testsuite.
c906108c 17719
99707966 17720 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
17721 testcase won't compile, cause all of the testcases in the file to
17722 fail instead.
c906108c
SS
17723
17724 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
17725 (gdb_clear_suppressed): New procedure.
17726 (gdb_stop_suppressing_tests): Only clear suppress_flag if
17727 it contains a positive value.
17728
17729Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
17730
17731 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
17732
17733 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
17734
17735Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
17736
17737 * lib/gdb.exp (setup_xfail_format): New function.
17738 (get_debug_format): New function to get debug format.
17739 (debug_format): New global variable to hold last value set
17740 by get_debug_format.
17741 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 17742 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
17743 * gdb.c++/ptype.exp: Ditto.
17744 * gdb.c++/classes.exp: Ditto.
17745 * gdb.c++/cplusfuncs.exp: Ditto.
17746 * gdb.c++/inherit.exp: Ditto.
17747 * gdb.c++/templates.exp: Ditto.
17748 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 17749
c906108c
SS
17750Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
17751
17752 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
17753 host doesn't have a currently-open connection.
17754
17755 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
17756 any gdb stub target. Handle cases where gdb doesn't respond when
17757 interrupted in a sane fashion.
c906108c
SS
17758
17759 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 17760 same thing in a totally different way.
c906108c
SS
17761
17762 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 17763 setting "timeout".
c906108c 17764 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 17765 default_gdb_init now.
c906108c
SS
17766
17767Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
17768
17769 * gdb.base/printcmds.exp: Fix "check for floating addition"
17770 regexp to accept results within approx +/- .01 of exact value.
17771 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
17772
17773Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
17774
17775 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 17776 properly.
c906108c
SS
17777 (gdb_expect): Add optional timeout parameter, and add timeout
17778 value to various calls.
17779 (gdb_suppress_tests): Only give one warning message per group.
17780
17781Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
17782
17783 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
17784 global variables. Handle getting a value for $timeout more
17785 gracefully.
c906108c
SS
17786
17787Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17788
17789 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 17790 initialize.
c906108c 17791 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 17792 by a target configuration file.
c906108c
SS
17793 (gdb_expect): Pass the timeout to remote_expect.
17794
17795 * config/monitor.exp(gdb_load): Fix typo in regexp.
17796
17797Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
17798
17799 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
17800
17801Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
17802
17803 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
17804 here. Call gdb_target_exec before rebooting the target, to make
17805 sure the connection to the target is closed.
c906108c
SS
17806 (gdb_load): Pass the name of the executable to gdb_target_monitor.
17807 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
17808 Also detect "Timeout reading from remote" error.
17809
17810 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
17811 gdb_target_monitor. Don't call gdb_file_cmd here; let
17812 gdb_target_monitor do it.
c906108c
SS
17813
17814 * gdb.disasm/hppa.exp: Don't use exec_output.
17815
17816Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
17817
17818 * gdb.base/list.exp: If we're debugging a non-native target,
17819 try to set the pc register to point to the start of the
17820 program before doing the first list command.
17821
17822 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 17823 test_calls after restarting.
c906108c
SS
17824
17825 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 17826 reloading.
c906108c
SS
17827
17828 * gdb.base/watchpoint.exp: Fix typo.
17829
17830 * gdb.base/setshow.exp: Check for use_gdb_stub.
17831
17832 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 17833 stub case.
c906108c
SS
17834 * gdb.base/langs.exp: Ditto.
17835
17836 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
17837 gdb_load_offset. If we weren't given a file to load, figure out
17838 what the current file is and use it.
c906108c
SS
17839
17840 * config/i386-bozo.exp: New file.
17841
17842Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
17843
17844 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
17845 feature.
17846
17847 * config/proelf.exp: New entry.
17848
17849Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
17850
17851 * lib/gdb.exp: Remove spurious .* patterns at the beginning
17852 of regexps.
17853
17854 * gdb.base/watchpoint.exp: Don't run the test_stepping
17855 tests if gdb can't call functions on the target.
17856
17857 * gdb.base/setshow.exp: Don't run the set prompt tests if
17858 the board has gdb_prompt set.
17859
17860Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
17861
17862 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
17863 * gdb.base/commands.exp: Likewise.
17864 * gdb.base/setshow.exp: Likewise.
17865
17866Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
17867
17868 * config/monitor.exp(gdb_start): Look for gdb_prompt target
17869 feature.
17870
17871 * config/i960.exp: New file.
17872
17873Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
17874
17875 * gdb.base/funcargs.exp: Check for gdb,short_int target
17876 feature instead of looking for explicit target triplets.
17877
dc96c6c7 17878Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 17879
d63a86f8 17880 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
17881 "p 123DEADBEEF", to check parse_number.
17882 * top.c: change "to enable to enable" to "to enable" in a couple
17883 of help strings.
17884
17885Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
17886
17887 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
17888 on the mn10300.
d63a86f8 17889
c906108c
SS
17890Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
17891
17892 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
17893 where the test executable is run with explicit args.
17894 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
17895
17896Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
17897
17898 * gdb.base/run.c: Use FAKEARGV to build test executable that
17899 does not require a command line arg, since most simulators
17900 don't currently support passing such an arg into the simulated
17901 program.
17902 * gdb.base/commands.exp: Change tests to insert the proper
17903 value as the arg to the first recursive factorial call. Change
17904 compilation line to define FAKEARGV at compile time.
17905
17906Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
17907
17908 * gdb.base/recurse.exp: Enable these tests for the mn10300.
17909 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
17910 function with watchpoint enabled" test.
17911
17912Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
17913
17914 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 17915 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
17916
17917 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 17918 "Tests restarted" messages.
c906108c
SS
17919
17920Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
17921
17922 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
17923
dc96c6c7 17924Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17925
17926 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
17927 for INFO SYMBOL; add help tests for OVERLAY commands.
17928 * gdb.base/default.exp: add tests for INFO SYMBOL command;
17929 add tests for OVERLAY commands
17930 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
17931 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
17932 * gdb.base/sigall.c: add usestubs code frag
17933 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 17934
c906108c
SS
17935Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
17936
17937 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
17938 failures.
17939 (gdb_stop_suppressing_tests): Note that tests have restarted.
17940
17941Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
17942
17943 * config/h8300.exp: New file.
17944
17945Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
17946
17947 * gdb.base/setshow.exp: Check for the existence of a
17948 feature, not its value.
17949
17950Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
17951
17952 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
17953
17954 * gdb.base/scope.exp: It's now init0(), not init().
17955
17956 * gdb.base/scope0.c: For now, change init() to be init0().
17957
17958 * config/monitor.exp: Use gdb_serial in preference to serial
17959 or netport.
17960
17961 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 17962 and it's not already set.
c906108c
SS
17963
17964Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
17965
17966 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 17967 isn't using a stub and if it supports argument passing.
c906108c
SS
17968
17969Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
17970
17971 * config/udi.exp(gdb_start): Make sure UDICONF is set
17972 properly before starting gdb.
17973
17974Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
17975
17976 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
17977 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
17978 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
17979
17980Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
17981
17982 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 17983 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
17984
17985 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
17986
17987 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
17988
17989 * config/monitor.exp: Make sure we disconnect from the target.
17990 Also, try a reboot/reload cycle instead of failing if the
17991 load fails.
17992
17993Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
17994
17995 * gdb.base/default.exp: Don't set match_max.
17996 * gdb.base/help.exp: Ditto.
17997 * gdb.base/list.exp: Ditto.
17998 * gdb.base/signals.exp: Ditto.
17999
18000 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18001 set, use remote_ld to download the testcase instead of
18002 the GDB loader.
18003
18004Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18005
18006 * config/vr5000.exp: New file.
18007
18008 * config/monitor.exp(gdb_target_monitor): Add pattern for
18009 "Ending remote" to detect errors in connecting.
18010
18011 * gdb.base/setshow.exp: Add .* within auto language test.
18012
18013 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18014 target feature.
18015
18016 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 18017 and reboot the board if necessary.
c906108c
SS
18018
18019 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18020 a set of tests. Remove print.* from the patterns being checked.
18021
18022Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18023
18024 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18025 refer to gdb_spawn_id.
18026
18027 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18028 longer used.
18029 * config/sparclet.exp: Ditto.
18030 * config/sparclet-old.exp: Ditto.
18031 * config/slite.exp: Ditto.
18032 * config/sim.exp: Ditto.
18033 * gdb.base/funcargs.exp: Ditto.
18034
18035 * lib/gdb.exp:Remove references to gdb_spawn_id.
18036 (gdb_expect): Move to remote.exp.
18037
18038Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18039
18040 * config/monitor.exp: Detect the "Couldn't establish connection"
18041 message from GDB.
18042
18043Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18044
18045 * gdb.base/bitfields.exp: Use runto instead of explicit
18046 gdb_run_cmd/gdb_expect sequences.
18047
18048 * gdb.base/break.exp(text_next_with_recursion): Add match for
18049 gdb_expect call.
18050
18051 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18052 We also need to handle the "A program is being debugged already"
18053 prompt from gdb. Use gdb_test to set the baud rate.
18054
18055 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18056 to 20000. Really. I mean it.
18057
18058Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18059
18060 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
18061 fails. If suppress_flag is set, skip perror message about not
18062 being able to send to GDB.
c906108c 18063 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 18064 GDB.
c906108c
SS
18065 (gdb_expect): If suppress_flag is set, always fail immediately.
18066 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18067 (gdb_init): Call gdb_stop_suppressing_tests.
18068 (default_gdb_exit): Ditto.
18069 (default_gdb_start): Ditto.
18070
18071 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 18072 gdb_stop_suppressing_tests as appropriate.
c906108c 18073 * gdb.base/break.exp: Ditto.
889bf7c5 18074 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
18075 * gdb.base/commands.exp: Ditto.
18076 * gdb.base/exprs.exp: Ditto.
889bf7c5 18077 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
18078 * gdb.base/list.exp: Ditto.
18079 * gdb.base/recurse.exp: Ditto.
889bf7c5 18080 * gdb.base/scope.exp: Ditto.
c906108c
SS
18081 * gdb.base/structs.exp: Ditto.
18082 * gdb.c++/inherit.exp: Ditto.
18083
18084Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18085
18086 * config/vr4300.exp: New file.
18087
99707966 18088 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 18089
99707966 18090 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
18091
18092Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18093
18094 * lib/gdb.exp(gdb_init): New function.
18095
18096 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 18097 for each individual variable set.
c906108c
SS
18098
18099 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18100 name.
18101
18102 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18103
18104 * gdb.base/scope.exp: Use gdb_test.
18105
18106 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18107 aborting; the testsuite driver will do that for us (see
18108 gdb_finish). Also, use gdb_test in a few more places.
18109
18110Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18111
18112 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18113
18114Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18115
18116 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18117 and "add_tests" are not at the same address.
18118
18119Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18120
18121 * gdb.base/ptype.exp: Use gdb_test.
18122
18123Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18124
18125 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18126 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18127 left in. No longer expect them to fail.
18128
18129 * gdb.stabs/*.mt; Deleted, no longer used.
18130 * gdb.stabs/configure.in: Remove references to target makefile
18131 frags.
18132 * gdb.stabs/configure: Rebuilt.
18133
18134 * gdb.disasm/*.mt: Deleted, no longer used.
18135 * gdb.disasm/configure.in: Remove references to target makefile
18136 frags. Use "sh3.s" as the unique filename for this directory.
18137 * gdb.disasm/configure: Rebuilt.
18138
18139 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18140 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18141 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18142
18143Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18144
18145 * config/udi.exp: Use mondfe,name instead of remote_host.
18146
18147Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18148
18149 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18150 a function with a watchpoint enabled on the mn10200.
18151
18152 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18153 before trying to create it!
18154
18155Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18156
18157 * config/vx.exp: Use hostname instead of netport.
18158
18159 * config/vxworks.exp: New file.
18160
18161 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18162
18163 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 18164 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
18165 occurs.
18166
18167 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18168 $gdb_spawn_id directly.
18169 (gdb_run_cmd): Try _start as well as start. Use the target feature
18170 gdb,start_symbol as the symbol to start from when jumping.
18171
18172Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18173
18174 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18175 redundant) test.
18176
18177 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18178 it doesn't lose for 16bit integer systems.
18179
18180Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18181
18182 * gdb.fortran/types.exp: If the target doesn't support "double"
18183 data types, then expect "real" types to only be 4 bytes.
18184
18185 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18186 call tests if the target doesn't support inferior function calls.
18187
18188 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18189 in printf tests.
18190
18191Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18192
18193 * gdb.base/help.exp: Disable "help set", "help show", and
18194 "help support". Simplify regexp for "help stack".
18195
18196 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18197 to 60 seconds. Temporarily set match_max to 15000 around the
18198 "info copying" test.
18199
18200 * gdb.base/nodebug.exp: Don't try to do an inferior function
18201 call if the target doesn't support them.
18202 * gdb.base/printcmds.exp: Likewise.
18203 * gdb.base/setvar.exp: Likewise.
18204 * gdb.base/structs.exp: Likewise.
18205 * gdb.c++/templates.exp: Likewise.
18206 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18207
18208 * gdb.base/recurse.exp: Enable for the mn10200.
18209
18210 * configure.in: Do configure gdb.stabs directory for *-*-elf
18211 targets.
18212 * configure: Rebuilt.
18213
18214 * gdb.base/break.exp: Check for gdb,noresults before testing
18215 exit status and/or results from the target.
18216 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18217 * lib/gdb.exp: Remove old (now bogus) initialization of
18218 noinferior, noargs, noresults and nosignals.
18219
18220Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18221
18222 * config/sh.exp: New file.
18223
18224 * config/slite.exp: Try to connect multiple times to the board
18225 before rebooting. Only send a "monitor run" if need_monitor_run
18226 is set.
18227
18228 * gdb.base/break.exp: Don't do the "stub continue" test if
18229 the target has gdb_stub set.
18230
18231 * gdb.base/callfuncs.exp: Increase the timeout.
18232
18233 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18234 if the target has gdb,noinferiorio set.
18235
18236 * gdb.base/list.exp: Increase match_max to 10000 characters.
18237
18238 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18239
18240 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18241 target.
18242
18243 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18244
18245Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18246
18247 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
18248 trying to delete the copy of gdb. Catch the file delete so we
18249 don't die if the delete fails; also, the file should be copied to
18250 the host, not to the build.
c906108c
SS
18251
18252Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18253
18254 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 18255 parenthesis in case it contains multiple regexps separated
c906108c
SS
18256 with |.
18257
18258 * gdb.base/watchpoint.exp: Use gdb_test.
18259 * gdb.base/default.exp: Ditto.
18260
18261Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18262
99707966 18263 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 18264
c906108c
SS
18265 * gdb.base/scope.exp: Use gdb_test.
18266 * gdb.c++/classes.exp: Ditto.
18267 * gdb.c++/inherit.exp: Ditto.
18268
18269Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18270
18271 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18272 remote_exec instead.
18273 * gdb.base/corefile.exp: Don't be ridiculous.
18274 * gdb.base/*.c: Add missing stub invocations.
18275
18276Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18277
18278 * config/slite.exp: Miscellaneous fixes.
18279
18280 * lib/gdb.exp: Fix runto.
18281
18282 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18283 the target.
18284
18285 * gdb.base/watchpoint.exp: Fix regexp.
18286
18287 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18288 close and wait commands, as the descriptor may now be
18289 invalid. Always call "remote_close host".
18290
18291Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18292
18293 Major rewrite for testsuite revision.
d63a86f8 18294
c906108c
SS
18295 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18296 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18297 instead of relying on spawn_id to always contain a valid
18298 spawn id.
18299 (get_compiler_info): New procedure to build the ${binfile}.ci
18300 file, instead of replicating this in N different places.
18301 (gdb_compile): New procedure.
d63a86f8 18302
c906108c 18303 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
18304 appropriate arguments) instead of compile. Use gdb_test in a lot
18305 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
18306 at the start of a testcase, as this is no longer done magically.
18307
18308 config/*-gdb.exp: Rename without the -gdb suffix.
18309
18310 config/mips.exp: Use remote_close instead of exit_remote_shell.
18311 config/monitor.exp: Use target_info instead of looking at
18312 baud, timeout, etc.
18313 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18314
18315Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18316
18317 * gdb.c++/templates.exp (test_ptype_of_templates),
18318 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18319 Update expect patterns for destructors and assignment operators
18320 to match corresponding c-typeprint.c changes.
18321 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18322 to destructor breakpoint test, GDB should be able to set the
18323 destructor breakpoint without specifying arguments.
18324
18325Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18326
18327 * gdb.threads/pthreads.exp: Change result for failure to compile due
18328 to lack of pthreads runtime support from an error to simply an
18329 unsupported test, per dejagnu standards.
18330
18331Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18332
18333 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
18334 where GDB exits to reduce pattern match time.
18335 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
18336
18337 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
18338
dc96c6c7 18339Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18340
18341 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
18342 * gdb.base/default.exp: ditto.
18343 * gdb.base/nodebug.exp: ditto.
18344 * gdb.base/printcmds.exp: ditto.
18345 * gdb.base/ptype.exp: ditto.
18346 * gdb.base/setvar.exp: ditto.
18347 * gdb.base/structs.exp: ditto.
18348 * gdb.base/setshow.c: Guard against uninitialized values of argc.
18349
18350Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
18351
18352 * configure, */configure: Rebuild with autoconf 2.12.
18353
18354Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
18355
18356 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
18357 use new i*86-pc-linux*-gnu quads.
18358 * gdb.base/corefile.exp: Ditto.
18359 * gdb.base/signals.exp: Ditto.
18360 * gdb.base/sigall.exp: Ditto.
18361 * gdb.base/interrupt.exp: Ditto.
18362
18363 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18364 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
18365 RedHat 4.0.
d63a86f8 18366
c906108c 18367 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
18368 linux. This allows the test case to at least compile on latest
18369 linux, but still not run due to missing the threads runtime library.
c906108c
SS
18370
18371Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18372
18373 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
18374 directory to search gdb directory. Accept and step over conditional
18375 stack alignment code. Consume $prompt in failure cases.
18376 Reset timeout to $oldtimeout instead of some arbitrary value.
18377 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
18378 timeout problems with infinite stack backtraces.
18379 * gdb.base/ptype.exp (ptype struct link, union tu_link):
18380 Accept function parameters for linkfunc member.
18381
18382Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
18383
18384 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
18385 (CXXFLAGS): Remove, unreferenced.
18386 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
18387 previous -B options and also add -B option to pick up cross compiled
18388 runtime.
c906108c
SS
18389 (TARGET_INCLUDES): Add for -I options and add code to initialize when
18390 doing cross compiles.
18391 (target_alias): Declare global.
18392 (xgcc): Set variable to full path of gcc in build tree. Use findfile
18393 to verify that gcc exists in build tree, and if so set CC to that
18394 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 18395
c906108c
SS
18396Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
18397
18398 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
18399 ptype test for anonymous union. Fixup testcase to match
18400 current gcc debug output.
18401
18402Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
18403
18404 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
18405 force argument to an unsigned long type.
18406
18407Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
18408
18409 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 18410 tests and anonymous union print/ptype tests.
c906108c
SS
18411 * gdb.base/list.exp (test_forward-search): Increase timeout by
18412 5 minutes for the "search extremely long line" case.
18413 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
18414 completely optional and that the pass/fail messages use the command as
18415 the message if that third arg is a null string.
18416 (gdb_test_exact): Arrange that a null string pattern means match a
18417 null string output rather than any output, which might include random
889bf7c5 18418 errors.
c906108c
SS
18419 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
18420 backtrace test.
18421 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
18422 always failing and failure is now exposed by gdb.exp changes.
18423
18424Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
18425
18426 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
18427 weren't being noted.
18428
18429Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18430
18431 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
18432 * gdb.stabs/weird.exp: Remove v_comb xfails.
18433
dc96c6c7 18434Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18435
18436 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 18437 list.exp scope.exp watchpoint.exp]
c906108c 18438 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 18439
dc96c6c7 18440Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18441
18442 * config/monitor.exp: Increase download timeout to 1000 seconds.
18443
dc96c6c7 18444Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18445
18446 * config/m32r.exp: Increase timeout to 120 seconds.
18447
18448Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
18449
18450 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
18451 and accept older ordering as obsolescent gcc or gdb.
18452 * gdb.c++/templates.exp: Ditto.
18453 * gdb.c++/virtfunc.exp: Ditto.
18454
18455Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
18456
18457 * gdb.base/coremaker.c: Add code to mmap some data so we
18458 can check that it ends up in the core file.
18459 * gdb.base/corefile.exp: Add test to read mmapped data
18460 from core file.
18461
dc96c6c7 18462Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18463
18464 * config/m32r.exp: New file.
18465
18466Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
18467
18468 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
18469 that cflags can contains -gstabs, and work correctly for other tests.
18470
dc96c6c7 18471Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18472
18473 * gdb.base/setshow.exp: New file, tests show and set.
18474 * gdb.base/setshow.c: New file, tests show and set.
18475 * gdb.base/help.exp: Add test for help set|show annotate.
18476 * gdb.base/default.exp: Add test for set|show annotate.
18477
18478Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
18479
18480 * testsuite/gdb.base/break.exp: Make backtrace from factorial
18481 errors unique.
18482 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
18483 explicitly.
18484
18485Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
18486
18487 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
18488 and width commands. This is done elsewhere.
18489 * (gdb_start): Don't call gdb_start_sim here. That's already
18490 done in gdb_load. This fixes lots of failures in default.exp.
18491
18492Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
18493
18494 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
18495 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
18496 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
18497 in the same we we treat other failures (since it may be an expected
889bf7c5 18498 condition), rather than as an error.
c906108c
SS
18499 * gdb.base/signals.exp (test_handle_all_print): Revert back to
18500 old test format.
18501
18502Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
18503
18504 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
18505 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 18506 twice. Nuke the duplicates.
c906108c 18507 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 18508 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
18509 Remove config.h along with other config files.
18510
18511Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
18512
18513 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
18514 "p func1 ()" and note that rests of tests are skipped.
18515 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 18516 setup_xfails for "print func2::coremaker_local".
c906108c
SS
18517 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
18518 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
18519 affected by the previous run test.
18520 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
18521 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
18522 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
18523 "pass int powerset tuple" and "pass modeless int powerset tuple".
18524 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
18525 "real write 4" and "real write 8".
18526 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 18527 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
18528 "print \$i after tuple assign 2", and
18529 "print vs2 after tuple assign 2".
18530 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
18531 meaningful error message and return -1 so the caller can
18532 suppress further tests and avoid a cascade of errors.
d63a86f8 18533
c906108c
SS
18534Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
18535
18536 * gdb.base/a1-selftest.exp: Tweak tests to account for new
18537 format for printing version.
18538 * gdb.base/default.exp: Ditto.
18539 * gdb.base/interrupt.exp: Fix problem with cascade of
18540 errors if child process dies while calling a function.
d63a86f8 18541
c906108c
SS
18542Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
18543
18544 * Makefile.in (VPATH): Add
18545 * Makefile.in (Makefile, config.status): Fix rules so things get
18546 remade when necessary.
18547
18548Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
18549
18550 * Makefile.in (just-check): Add path to sibling expect dir
18551 to environment variable specified by RPATH_ENVVAR.
18552
18553Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
18554
18555 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
18556 (just-check): Add shared library paths for libstdc++, tk,
18557 tcl, bfd, and opcodes to the environment variable specified
18558 in RPATH_ENVVAR.
18559 * configure.in: Add support to recognize --enable-shared flag
18560 and generate correct value for RPATH_ENVVAR.
18561 * configure: Regenerated with autoconf.
18562
18563Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
18564
18565 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 18566 include all osf versions.
c906108c
SS
18567 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
18568 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
18569 when target is linux. When failing to build pthreads test
18570 executable, give more meaningful message.
18571 * gdb.threads/pthreads.c: Hpux also uses old definition of second
18572 arg for pthread_create.
d63a86f8 18573
c906108c
SS
18574Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
18575
18576 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 18577 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 18578 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 18579 and -lpthreads (everybody else).
c906108c
SS
18580 (test_startup): Fail gracefully if threads are not supported.
18581 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
18582 "p/c array_index("abcdef",2)" when not gcc compiled.
18583 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
18584 "print func2::coremaker_local" when not gcc compiled.
18585 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
18586 "ptype on opaque struct tagname (statically)",
18587 "ptype on opaque struct tagname (dynamically) 1", and
18588 "ptype on opaque struct tagname (dynamically) 2"
18589 for not compiled with gcc.
18590 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
18591 backtrace when compiled with gcc.
d63a86f8 18592 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
18593 than always return success.
18594
18595Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
18596
18597 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
18598
18599Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
18600
18601 * gdb.base/structs.exp: Undo last change.
18602
18603Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
18604
18605 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
18606 encapsulate all the steps/nexts done during self test, starting
18607 at main, and makes them less sensitive to optimization issues.
18608 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
18609 signal handler" test.
18610 * gdb.threads/pthreads.exp: Only run this for native configs.
18611 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
18612 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
18613 tests.
18614 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
18615 for "runto test_calls(void)" test.
d63a86f8 18616
c906108c
SS
18617Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
18618
18619 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
18620 and don't expect address info in breakpoint confirmations.
18621
18622Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
18623
18624 * gdb.base/list.exp (test_forward_search): Increase timeout
18625 temporarily by 60 seconds for searching extremely long line,
889bf7c5 18626 and then reset to old value when done. Increase expect input
c906108c
SS
18627 buffer to 10000.
18628
18629Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
18630
18631 * gdb.base/list.exp (test_forward_search): Fix to handle very
18632 long source line without overflowing expect's input buffer.
18633
18634Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
18635
18636 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
18637 "buffer_full".
18638
18639 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
18640 "buffer_full".
18641
18642 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
18643 "buffer_full".
18644
18645 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
18646 "buffer_full".
18647
18648Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
18649
18650 * configure.in (configdirs): Add gdb.threads.
18651 * configure: Regenerated with autoconf.
18652 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
18653 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
18654 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 18655
c906108c
SS
18656Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
18657
18658 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
18659
18660Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
18661
18662 * gdb.base/signals.exp (test_handle_all_print): Test separately for
18663 each signal's status in the output of "handle all print".
18664 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
18665 the \r\n sequence that immediately precedes the gdb prompt.
18666 * gdb.base/a1-selftest.exp: Save original timeout and restore
18667 after test.
18668
18669Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
18670
18671 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
18672 symbol.
18673
18674Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
18675
18676 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
18677
18678Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
18679
18680 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
18681 timeout by 60 seconds.
18682
18683Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
18684
18685 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
18686 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
18687 error return.
18688
18689Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
18690
18691 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
18692 gdb initialization, also report how long dejagnu waited. Restore
18693 old timeout before doing error return. Temporarily increase timeout
889bf7c5 18694 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
18695
18696Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
18697
18698 * lib/gdb.exp: Report timeout value for verbosity level 2.
18699 * config/gdbserver.exp: Ditto.
18700 * config/hppro.exp: Ditto.
18701 * config/mips-gdb.exp: Ditto.
18702 * config/monitor.exp: Ditto.
18703 * config/netware.exp: Ditto.
18704 * config/sim-gdb.exp: Ditto.
18705 * config/slite-gdb.exp: Ditto.
18706 * config/udi-gdb.exp: Ditto.
18707 * config/unix-gdb.exp: Ditto.
18708 * config/vx-gdb.exp: Ditto.
18709 * gdb.base/a1-selftest.exp: Ditto.
18710 * gdb.base/a2-run.exp: Ditto.
18711 * gdb.base/break.exp: Ditto.
18712 * gdb.base/corefile.exp: Ditto.
18713 * gdb.base/list.exp: Ditto.
18714 * gdb.base/recurse.exp: Ditto.
18715 * gdb.base/scope.exp: Ditto.
18716 * gdb.base/signals.exp: Ditto.
18717
18718Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18719
18720 * gdb.threads/Makefile.in (docdir): Removed.
18721
18722Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18723
18724 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 18725 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 18726 @srcdir@.
d63a86f8 18727 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
18728 autoconf 2.5 or higher.
18729 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
18730
18731Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
18732
18733 * configure: Regenerated.
18734 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
18735 avoid name clashes with SunOS headers.
18736
18737Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
18738
18739 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
18740
18741Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
18742
18743 * gdb.base/callfuncs.exp: Finish last change -- make sure the
18744 prototype information ends up in the compiler info file.
18745
18746Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
18747
18748 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
18749 attempting to regenerate it. Eliminate use of a temporary file
18750 and just generate the info file directly. Source it immediately,
18751 for consistency of use.
18752 * gdb.base/corefile.exp: Ditto
18753 * gdb.base/exprs.exp: Ditto.
18754 * gdb.base/funcargs.exp: Ditto.
18755 * gdb.base/langs.exp: Ditto.
18756 * gdb.base/list.exp: Ditto.
18757 * gdb.base/mips_pro.exp: Ditto.
18758 * gdb.base/nodebug.exp: Ditto.
18759 * gdb.base/opaque.exp: Ditto.
18760 * gdb.base/ptype.exp: Ditto.
18761 * gdb.base/scope.exp: Ditto.
18762 * gdb.base/setvar.exp: Ditto.
18763 * gdb.base/signals.exp: Ditto.
18764 * gdb.base/whatis.exp: Ditto.
18765 * gdb.c++/templates.exp: Ditto.
18766 * gdb.c++/virtfunc.exp: Ditto.
18767 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 18768 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
18769
18770Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18771
18772 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
18773 it got fixed by the recent lookup_minimal_symbol_by_pc change.
18774 Increase timeout, a lot of single stepping might be needed if the
18775 target has no hardware watchpoints.
18776
18777Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
18778
18779 * gdb.base/break.exp: Ignore compiler warnings when compiling
18780 break.c.
18781 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
18782 * gdb.base/default.exp: Add h8300 xfails. Handle messages
18783 from remote-sim.
18784 * gdb.base/exprs.exp: Add h8300 xfails.
18785 * gdb.base/funcargs.exp: Likewise.
18786 * gdb.base/nodebug.exp: Likewise.
18787 * gdb.base/printcmds.exp: Likewise.
18788 * gdb.base/ptype.exp: Likewise.
18789 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
18790 h8300 xfails.
d63a86f8 18791 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
18792 on the h8300.
18793 * gdb.base/funcargs.c: Explicitly make last constant argument to
18794 call_after_alloca_subr an unsigned long type.
18795 * gdb.base/return.c: Include stdio.h.
18796
18797Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
18798
18799 * config/abug.exp: New file for the older Motorola Bug monitor
18800 that runs on the mvme13x series VME boards.
18801 * config/monitor.exp: Use the new config array for target settings
18802 if they exist.
18803
18804Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
18805
18806 * sim-gdb.exp: Make the SH simulator allocate less space when
18807 it is targeted.
18808
18809Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
18810
18811 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
18812 test.
18813
18814Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
18815
18816 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
18817 "rs6000-*-*" for "list function in include file" when gcc compiled.
18818 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
18819 for "p ctable1[120]".
18820 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
18821 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
18822 Remove setup_xfail for "rs6000-*-*" for
18823 "print 'scope0.c'::filelocal before run".
18824 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
18825 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
18826 since some compilers don't allow both options to be given
18827 on the same command line. Create object file and move it.
d63a86f8 18828
c906108c
SS
18829Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
18830
18831 * gdb.base/corefile.exp: Always regenerate the core file, since
18832 we always regenerate the coremaker program. Detect special case
18833 where registers cannot be read from core file.
d63a86f8 18834
c906108c
SS
18835Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
18836
18837 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
18838 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
18839 * gdb.c++/templates.exp: Only match on basename of file since
18840 some formats like xcoff don't encode directory information.
18841 * gdb.stabs/weird.exp: Use the right sed script for powerpc
18842 and rs6000 AIX xcoff targets.
18843 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
18844 * configure: Regenerate.
18845 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
18846 here, rather than in distclean.
d63a86f8 18847
c906108c
SS
18848Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
18849
18850 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
18851 defined, and use it to compile the test case with -O2. The
18852 native compilation still uses no optimization.
18853 * gdb.base/mips_pro.c: Remove inline assembly code since
18854 it is compiled PIC by default, which results in assembler
18855 warnings that make the testsuite think the compilation
18856 was unsuccessful.
18857
18858Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
18859
18860 * gdb.c++/misc.exp: Add note to message for
18861 "print s.a for foo struct" that this is a known gcc 2.7.2
18862 and earlier bug.
18863
18864Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
18865
18866 * gdb.base/break.exp: Fix pattern for matching "Delete all
18867 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
18868 setup_xfail for deleting all breakpoints test. Fix various
18869 timeout messages to include "(timeout)".
18870 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
18871 for "p t_float_values2(3.14159,float_val2)".
18872 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
18873 for "continue to call2g" when gcc compiled.
18874 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
18875 "up to foo in langs.exp", "show language at foo in langs.exp",
18876 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
18877 and "show language at fsub in langs.exp".
18878 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
18879 "list line 1 in include file", "list message for lines past EOF",
18880 "list function in include file", "list list0.h:foo", and
18881 "list filename:function; nonexistant function".
18882 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
18883 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
18884 and "ptype t_char_array" to be for native cc only.
d63a86f8 18885
c906108c
SS
18886Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
18887
d63a86f8 18888 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 18889 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 18890 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
18891
18892Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
18893
18894 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
18895 "bt in signals.exp". This problem only appears when running
18896 the testsuite, and then only intermittently.
18897
18898Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
18899
18900 * gdb.base/return.exp (return_tests): Differentiate between
18901 two tests of continuing.
18902
18903Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
18904
18905 * */Makefile.in (maintainer-clean): Remove config.log.
18906 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
18907 * gdb.c++/Makefile.in (PROGS): Add inherit.
18908 (clean): Remove *.ci.
18909
18910Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
18911
18912 * gdb.c++/misc.cc: Add test code from Mike Stump.
18913 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
18914
18915Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
18916
18917 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
18918 to "alpha-*-osf2*" and add comment.
18919 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
18920 setup_xfail for "step over execarg initialization" and
18921 "step over corearg initialization".
c906108c
SS
18922 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
18923 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
18924 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 18925 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
18926 "print func2::coremaker_local", and "backtrace in corefile.exp".
18927 * gdb.base/signals.exp: Build and source signals.ci.
18928 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
18929 to be for gcc only.
18930 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 18931
c906108c
SS
18932Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18933
18934 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
18935 Feb 3 procfs.c change.
18936
18937Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
18938
18939 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
18940
18941Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
18942
18943 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
18944 from dejagnu's apparent default of 10 seconds, which gives random
18945 results when running the tests over NFS on moderately loaded systems.
18946 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
18947
18948Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
18949
18950 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
18951 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 18952 result reports.
c906108c
SS
18953
18954Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
18955
18956 * configure.in (CY_AC_PATH_TCLH): Remove.
18957 * configure: Regenerate.
18958
18959Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
18960
18961 * gdb.c++/Makefile.in (clean): Add missing '{'.
18962
18963Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
18964
18965 * lib/gdb.exp: Provide a default value for noinferior.
18966
18967 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
18968 Load libgloss.exp.
18969
18970Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
18971
18972 * gdb.disasm/hppa.exp: Compile directly into an executable, use
18973 the executable, not the .o to run the tests from.
18974
18975Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
18976
18977 * gdb.base/break.exp: Don't test for program exit or exit status
18978 if $noresults if nonzero.
18979 * gdb.base/langs.exp: Likewise.
18980 * gdb.base/watchpoint.exp: Likewise.
18981
18982 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
18983 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
18984 trying to compile the testcase.
18985
18986Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
18987
18988 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
18989 * gdb.base/signals.exp (continue to handler): Likewise.
18990
18991Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
18992
18993 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
18994
18995 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
18996
18997Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
18998
18999 * gdb.base/corefile.exp: Recognize "not found" as failure
19000 when trying to determine if a core file was generated.
19001 If no core file was generate the first time, try again without
19002 the ulimit -c to work around braindamaged shells.
19003
19004Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19005
19006 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19007 [] tests with "test" and enclose string in quotes.
19008 * gdb.stabs/configure: Rebuild
d63a86f8 19009
c906108c
SS
19010Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19011
19012 Changes in sync with expect:
19013 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19014 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19015 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19016 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19017 argument to AC_REQUIRE.
19018 * configure: Regenerated.
19019
19020Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19021
19022 * gdb.base/corefile.exp: When generating a core, discard any
19023 error messages about ulimit not found and the "core dumped"
19024 message from the shell that runs the coredumper.
19025
19026Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19027
19028 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19029
19030 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19031 which sed script to run. Expect failure for v_comb test
19032 on PA targets too.
d63a86f8 19033
c906108c
SS
19034Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19035
19036 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 19037 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
19038
19039Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19040
19041 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19042 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 19043 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
19044 * lib/gdb.exp (default_gdb_start): Fix typo.
19045 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19046 messages to not include the full program name that caused
19047 the core dump since some systems (such as solaris) apparently
19048 truncate this path to about 80 characters.
19049 When generating a core file first try increasing the core file
19050 size limit to unlimited since some systems may default it to
19051 zero, and it is harmless to try it. Move the test for failing
19052 to generate a core file to where it will actually get executed.
19053 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19054 new gdb result from g++ debug info improvements and make old
19055 pattern obsolescent. Also account for size_t differences
19056 (may be int or long).
19057 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19058 initialization before function call is placed in the delay slot
19059 and thus appears to be skipped over by commands such as "next".
19060
19061Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19062
19063 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19064
19065Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19066
19067 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19068 input source file; fix code to compile test to deal with this
19069 convention.
19070 * gdb.c++/*.exp: Likewise.
19071
19072Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19073
19074 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19075 "bt in signals.exp".
19076
19077Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19078
19079 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19080 "step over execarg initialization" and
889bf7c5 19081 "step over corearg initialization".
c906108c
SS
19082
19083Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19084
19085 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19086 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19087
19088Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19089
19090 From Rob Savoye (rob@poseidon.cygnus.com)
19091 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19092 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
19093 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19094 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19095 configure.in}: Major reworking for autoconfig.
c906108c
SS
19096 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19097 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 19098 New files.
c906108c
SS
19099 * config/unix-gdb.exp: Make GDB global.
19100 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
19101 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19102 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19103 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19104 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19105 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 19106 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
19107 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19108 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19109 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19110 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 19111 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
19112 to returns as necessary, arrange for test to compile own testcase
19113 executable.
c906108c 19114 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 19115
c906108c
SS
19116Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19117
19118 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 19119 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
19120 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19121 "backtrace through signal handler".
19122
19123Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19124
19125 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19126 continuing from a job control stop signal.
19127 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19128
19129Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19130
19131 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19132 * gdb.base/corefile.exp: Likewise.
19133 * gdb.base/funcargs.exp: Likewise.
19134
19135Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19136
19137 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19138 * config/monitor.exp: Add support for setting baud rate.
19139
19140Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19141
19142 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19143 i*86-*-linux* xfails for "backtrace through signal handler".
19144 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19145 "print func2::coremaker_local".
19146 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 19147 alpha-dec-osf2* xfail for
c906108c
SS
19148 "delete all breakpoints when none".
19149
19150Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19151
19152 * gdb.base/break.exp: Change test that deletes all breakpoints
19153 when no user breakpoints are installed. A post 4.15 change
19154 causes gdb to no longer prompt in this case.
19155
19156Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19157
19158 * gdb.base/return.exp (return_tests): Change xfail for test
19159 "correct value returned double test" to stop xfailing at
19160 Solaris 2.5. Apparently the bug has been fixed.
19161
19162Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19163
19164 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19165 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19166
19167Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19168
19169 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19170 * gdb.disasm/hppa.s: Corresponding changes.
19171
19172Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19173
19174 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19175 makefile fragment.
19176 * config/mt-hpux: Deleted.
19177
19178Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19179
d63a86f8 19180 * Many files: When warning about suppressed tests due to a
c906108c
SS
19181 nonexistant test binary, avoid incrementing the warning count.
19182
19183Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19184
19185 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 19186
c906108c
SS
19187Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19188
19189 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19190 "sparc-*-solaris2*".
19191
19192Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19193
19194 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19195 Add global and local variables and initialize them.
19196 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19197 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19198 extracts the file name and terminating signal from the core file.
19199 * TODO: Remove note about tests for correct mapping of corefile.
19200 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19201 from optimizing it away.
19202 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19203 handles common blocks.
19204
19205Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19206
19207 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19208 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19209
19210Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19211
19212 * Makefile.in (maintainer-clean): New target, synonym for
19213 realclean.
19214 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19215 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19216 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19217 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19218 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19219 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19220
19221Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19222
19223 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19224 xfails when not gcc compiled for "print foo::funclocal".
19225 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19226 "print foo::funclocal at foo",
19227 "print 'scope1.c'::foo::funclocal at foo",
19228 "print foo::funclocal_bss at foo",
19229 "print 'scope1.c'::foo::funclocal_bss at foo",
19230 "print foo::funclocal_ro at foo",
19231 "print 'scope1.c'::foo::funclocal_ro at foo",
19232 "print bar::funclocal at foo" and
19233 "print 'scope1.c'::bar::funclocal at foo".
19234 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19235 gcc compiled for "print foo::funclocal at bar".
19236 Expand all messages to ensure that they identify that
19237 the test is at bar().
19238 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19239 gcc compiled for:
19240 "ptype on opaque struct pointer (statically)",
19241 "ptype on opaque struct tagname (statically)",
19242 "ptype on opaque struct pointer (dynamically) 1",
19243 "ptype on opaque struct tagname (dynamically) 1",
19244 "ptype on opaque struct pointer (dynamically) 2" and
19245 "ptype on opaque struct tagname (dynamically) 2
19246 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19247 gcc compiled for:
19248 "p datalocal"
19249 "whatis datalocal",
19250 "ptype datalocal",
19251 "p bsslocal",
19252 "whatis bsslocal", and
19253 "ptype bsslocal".
19254 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19255 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19256 when not gcc compiled.
19257 * gdb.base/funcargs.exp (float_and_integral_args): Add
19258 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19259 compiled.
19260 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19261 "backtrace from call6a" when not gcc compiled.
19262 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19263 "backtrace from call7a" when not gcc compiled.
19264 * gdb.base/callfuncs.exp (do_function_calls):
19265 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19266 "p t_char_array_values(char_array_val2,char_array_val1)",
19267 "p t_char_array_values(char_array_val1,char_array_val2)",
19268 "p t_char_array_values("carray 1","carray 2")",
19269 "p t_char_array_values("carray 1",char_array_val2)",
19270 "p t_char_array_values(char_array_val1,"carray 2")",
19271 "p sum_args(1,{2})",
19272 "p sum_args(2,{2,3})",
19273 "p sum_args(3,{2,3,4})",
19274 "p sum_args(4,{2,3,4,5})"
19275 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19276 "backtrace in corefile.exp" when not gcc compiled.
19277
19278Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19279
19280 * gdb.base/signals.exp: Rewrite `handle all print' test as
19281 a procedure. Accept blanks or TABs as whitespace, increase
19282 timeout and expect input buffer size for the large output
19283 from the command. Remove "i*86-*-bsdi2.0" xfail.
19284
19285Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19286
19287 * gdb.base/setvar.exp: Add new testcases for truncation when
19288 assigning invalid values to bitfields.
19289
19290Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19291
d63a86f8 19292 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
19293 mips-sgi-irix* xfail for
19294 "call inferior func with struct - returns char *"
19295 and fix test so that an optional (unsigned char *) cast is
889bf7c5 19296 accepted in the result.
c906108c
SS
19297
19298Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19299
19300 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19301 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19302 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19303 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19304 that accidentally got checked in.
19305
19306Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19307
d63a86f8 19308 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
19309 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19310 compiled test.
19311 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19312 Add mips-sgi-irix5* xfail for not gcc compiled.
19313 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19314 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19315 "p top", "whatis top", "p middle", and "whatis middle".
19316 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19317 "whatis signed char" for not gcc compiled.
19318 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19319 "set variable signed char=-1 (-1)" and
19320 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19321 * gdb.base/funcargs.exp (float_and_integral_args):
19322 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19323 Add mips-sgi-irix* xfail when not gcc compiled for
19324 "continue to call2b".
19325 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19326 "continue to call2g".
19327 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19328 "backtrace from call6a"
19329 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
19330 "backtrace from call7k".
19331 Add mips-sgi-irix5* xfail when not gcc compiled for
19332 "backtrace from call7a".
19333 (localvars_after_alloca): Fix gdb_test cmds for
19334 "print * after runto ...".
19335 Remove rs6000-*-* xfails for
19336 "print i after runto localvars_after_alloca" and
19337 "print l after runto localvars_after_alloca"
19338 for all compilers.
19339 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 19340 when not compiled with gcc, for:
c906108c
SS
19341 "print signed char == (minus)",
19342 "print signed char != (minus)",
19343 "print signed char < (minus)",
19344 "print signed char > (minus)".
19345 * gdb.base/callfuncs.exp (do_function_calls):
19346 Add mips-sgi-irix* xfail, when compiled with native compiler, for
19347 "call inferior func with struct - returns char *".
d63a86f8 19348 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
19349 "correct value returned double test" to include Solaris 2.4.
19350 * gdb.base/funcargs.exp (float_and_integral_args):
19351 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 19352
c906108c
SS
19353Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19354
19355 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
19356 enumeration bitfields if compiling with GNU C.
19357 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
19358 to empty' prompt.
19359
19360Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19361
19362 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19363 test for PRO targets.
19364
19365 * gdb.base/funcargs.exp: Avoid ever setting more than 8
19366 breakpoints in the inferior at any given time by making
19367 two groups of breakpoints for call2*, call6* and call7*
19368 tests.
19369
19370Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19371
19372 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
19373 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
19374 from optimizing it away.
19375 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
19376 "call inferior func with struct".
19377
19378Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
19379
19380 * configure.in: Only configure gdb.chill for particular targets.
19381
19382Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
19383
19384 * gdb.base/Makefile.in: Add action to .c.o transformation
19385 rule that generates a .ci file for each .o file and remove
19386 explicit .c.o rules except for callfuncs.o.
19387 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
19388 generates a .ci file for each .o file and remove explicit
19389 .cc.o rules.
19390 (clean): Remove *.tmp *.ci files.
19391 (EXECUTABLES): Remove templ-info.exp.
19392 * gdb.base/compiler.c: New file.
19393 * gdb.c++/compiler.cc: New file
19394 * gdb.base/scope.exp: Source gdb.base/scope.ci.
19395 Change rs6000-*-* xfail for
19396 "print 'scope0.c'::filelocal_ro" and
19397 "print 'scope1.c'::filelocal" and
19398 "print 'scope1.c'::filelocal_bss" and
19399 "print 'scope1.c'::filelocal_ro" and
19400 "print 'scope1.c'::foo::funclocal" and
19401 "print 'scope1.c'::foo::funclocal_ro" and
19402 "print 'scope1.c'::bar::funclocal" and
19403 "print 'scope0.c'::filelocal_ro" and
19404 "print 'scope1.c'::filelocal at foo" and
19405 "print 'scope1.c'::filelocal_bss at foo" and
19406 "print 'scope1.c'::filelocal_ro at foo" and
19407 "print 'scope1.c'::foo::funclocal at foo" and
19408 "print 'scope1.c'::foo::funclocal_bss at foo" and
19409 "print 'scope1.c'::foo::funclocal_ro at foo" and
19410 "print 'scope1.c'::bar::funclocal at foo" and
19411 "print 'scope0.c'::filelocal_ro" and
19412 "print 'scope1.c'::filelocal" and
19413 "print 'scope1.c'::filelocal_bss" and
19414 "print 'scope1.c'::filelocal_ro" and
19415 "print 'scope1.c'::foo::funclocal" and
19416 "print 'scope1.c'::foo::funclocal_bss" and
19417 "print 'scope1.c'::foo::funclocal_ro" and
19418 "print 'scope1.c'::bar::funclocal" and
19419 "print 'scope1.c'::bar::funclocal_bss"
19420 to only be xfail'd when not compiled with gcc.
d63a86f8 19421 Add rs6000-*-* xfail for
c906108c
SS
19422 "print 'scope0.c'::filelocal_bss before run"
19423 when compiled with gcc.
19424 (test_at_main): Add rs6000-*-* xfail for
19425 "print filelocal_ro in test_at_main"
19426 when compiled with gcc.
19427 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 19428 Add rs6000-*-aix* xfail for
c906108c
SS
19429 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
19430 "ptype t_char_array", not compiled with gcc.
19431 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
19432 xfail for "list foo (in include file)" when gcc compiled.
19433 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 19434 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
19435 "run to call0a" if not compiled with gcc.
19436 (unsigned_integral_args): Add rs6000-*-* xfail for
19437 "run to call1a" if not compiled with gcc.
19438 (float_and_integral_args): Add rs6000-*-* xfail for
19439 "run to call2a" if not compiled with gcc and for
19440 "continue to call2b" for any compiler.
19441 Add rs6000-*-* xfail to
19442 "print f1 after run to call2a" for gcc compiled.
19443 (discard_and_shuffle): Add rs6000-*-* xfail for
19444 "run to call6a".
19445 (shuffle_round_robin): Add rs6000-*-* xfail for
19446 "backtrace from call7a" if not compiled with gcc.
19447 Add rs6000-*-* xfail for
19448 "backtrace from call7b" if compiled with gcc.
19449 (call_after_alloca): Add rs6000-*-* xfail for
19450 "print c in call_after_alloca" and
19451 "print s in call_after_alloca" and
19452 "backtrace from call_after_alloca_subr"
19453 if not compiled with gcc.
19454 (localvars_in_indirect_call): Add rs6000-*-* xfail for
19455 "print c in localvars_in_indirect_call" and
19456 "print c in localvars_in_indirect_call" and
19457 "backtrace in indirectly called function" and
19458 "stepping into indirectly called function"
19459 if not compiled with gcc.
19460 (localvars_after_alloca): Add rs6000-*-* xfail for
19461 "print c after runto localvars_after_alloca" and
19462 "print s after runto localvars_after_alloca" and
19463 "print i after runto localvars_after_alloca" and
19464 "print l after runto localvars_after_alloca"
19465 for all compilers.
19466 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
19467 than whatis-info.exp.
19468 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
19469 than opaque-info.exp.
19470 Setup rs6000-*-* xfail for
d63a86f8 19471 "ptype on opaque struct pointer (statically)" and
c906108c
SS
19472 "ptype on opaque struct pointer (dynamically)" when
19473 not compiled with gcc.
19474 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
19475 rather than callf-info.exp.
19476 (do_function_calls): Add clear_xfail for rs6000-*-* for
19477 "p t_float_values2(3.14159,float_val2)". Seems to work
19478 fine there, both with xlc and gcc. Need to find out what
19479 it is doing right and fix other platforms.
19480 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
19481 "call inferior func with struct - returns int",
19482 "call inferior func with struct - returns long",
19483 "call inferior func with struct - returns float",
19484 "call inferior func with struct - returns double",
19485 "call inferior func with struct - returns char *",
19486 but only if not gcc compiled (presumes xlc compiled).
19487 Change rs6000-*-* xfails for
19488 "call inferior func with struct - returns char" and
19489 " call inferior func with struct - returns short" to only
19490 xfail if not using gcc.
19491 (clean mostlyclean): Remove *.ci and *.tmp files.
19492 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
19493 than templ-info.exp.
19494 * gdb.base/langs.exp: Source gdb.base/langs.ci.
19495 Add rs6000-*-* xfail for "up to foo in langs.exp"
19496 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 19497 when not gcc compiled.
d63a86f8 19498
c906108c
SS
19499Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19500
19501 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
19502 * gdb.base/corefile.exp: Likewise.
19503 * gdb.base/list.exp: Likewise.
19504 * gdb.base/scope.exp: Likewise.
19505 * gdb.base/siganls.exp: Likewise.
19506
19507 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
19508 compiler output.
19509 * gdb.base/whatis.exp: Likewise.
19510
19511Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
19512
19513 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
19514 failure (opcode table has been fixed to match reality).
19515
19516Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
19517
19518 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
19519 "call inferior func with struct - returns char",
19520 "call inferior func with struct - returns short"
19521
19522 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
19523 "print 'scope0.c'::filelocal at main",
19524 "print 'scope0.c'::filelocal_bss in test_at_main",
19525 "print 'scope0.c'::filelocal at foo",
19526 "print 'scope0.c'::filelocal_bss in test_at_foo",
19527 "print 'scope0.c'::filelocal at bar",
19528 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 19529
c906108c
SS
19530 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
19531 in source file 1". This bug seems to have been fixed with both
19532 gcc and native cc (was native assembler bug?).
19533
19534Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
19535
19536 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
19537 "backtrace through signal handler" to "i*86-*-sysv4*".
19538 * gdb.base/signals.exp: Add xfail for "'next' behaved as
19539 continue" case. Add "known SVR4 bug" to fail message.
19540 Add "i*86-*-bsdi2.0" xfail for "handle all print".
19541 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
19542 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
19543 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
19544 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
19545 "up to foo in langs.exp", "show language at foo in
19546 langs.exp", "up to cppsub_ in langs.exp", "show
19547 language at cppsub_ in langs.exp", "up to fsub in
19548 langs.exp", and "show language at fsub in langs.exp".
19549 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
19550 "bactrace in corefile.exp".
19551 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
19552 "call inferior function with struct - returns float" and
19553 "call inferior function with struct - returns double".
d63a86f8 19554
c906108c
SS
19555Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
19556
19557 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
19558 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
19559 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
19560 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
19561
19562Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
19563
19564 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
19565 (or overriden) "CHILL" macro rather then bare "gcc".
19566 Also look for ../../gcc/xgcc since that is what we will
19567 actually need, not "Makefile". Remove following assignment
19568 of CHILL to CHILL_FOR_TARGET because that results in
19569 recursive definition.
19570
19571Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
19572
19573 * gdb.base/corefile.exp: Change xfail for backtrace in
19574 corefile.exp from linuxaout to all linux.
19575 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
19576 cases where we miss the breakpoint at the signal handler
19577 for some reason. Setup xfail for linuxoldld/linuxaout and
19578 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
19579 hitting SIGURG breakpoint.
19580 * gdb.base/signals.exp: Setup xfail for "next" acting like
19581 continue to add linuxoldld. Setup xfail for all linux for
19582 "next to handler in signals_tests_1", "backtrace in
19583 signals_tests_1", "continue to func1", "pass SIGUSR1",
19584 and continue to handler".
19585
19586Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
19587
19588 * Update all FSF addresses except those in COPYING* files.
19589
19590Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
19591
19592 * gdb.base/a2-run.exp: Change messages to be more explicit about
19593 the status of args, and quote binfile in results.
19594
19595Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
19596
19597 * gdb.base/callfuncs.exp: Add tests for passing structs to
19598 inferior functions and return various types.
19599 * gdb.base/callfuncs.c: Add functions to receive a struct
19600 and return a member of the struct, in various types.
19601
19602Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19603
19604 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
19605
19606Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
19607
19608 * config/vxworks29k.exp: New file, sources vxworks.exp.
19609
19610Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19611
19612 * config/gdbremote.exp: New file. Testing framework using
19613 gdbserver.
19614
19615Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
19616
19617 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
19618 "call function when asleep" and "send end of file".
19619 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
19620 for "backtrace in corefile.exp".
19621 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
19622 for "backtrace through signal handler".
19623 * gdb.base/corefile.exp: Make sure we actually generate a core file
19624 before trying the core tests. Some systems allow the user to suppress
19625 generation of core files and default to that (linux for example).
19626 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
19627 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
19628
19629Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19630
19631 * gdb.threads: New directory with some crude multi-threaded
19632 gdb tests (step.exp and step2.exp).
19633 * config/mt-lynx (STEP_EXECUTABLE): Define.
19634 (THREADFLAGS): Define.
19635
19636Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
19637
19638 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
19639
19640 * gdb.base/signals.exp: Disable whole file for lynx until
19641 further notice.
19642
19643 * gdb.base/signals.exp: xfail test where "next" acts like
19644 "continue" for lynx.
19645
19646 * gdb.base/interrupt.exp: xfail test for calling function while
19647 inferior is asleep for lynx.
19648
19649 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
19650 than one cr-lf after each command.
19651
19652Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19653
19654 * configure.in: Reinstate setting of stabsdirs variable, fix
19655 typo in setting up configdirs for native builds.
19656
19657 * gdb.base/return.exp: Fix typo in return double test.
19658 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
19659 compiler from optimizing them away.
19660
19661Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
19662
19663 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
19664 sequences to be echo'd by gdb when using gdb_test.
19665 * gdb.chill/chexp.exp: Likewise.
19666 * gdb.fortran/exprs.exp: Likewise
19667
19668Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19669
19670 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
19671 after the inferior gdb has started.
19672
19673 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
19674 after each command.
19675 * gdb.base/funcargs.exp: Likewise.
19676 * gdb.base/gdbvars.exp: Likewise.
19677 * gdb.base/interrupt.exp: Likewise.
19678 * gdb.base/list.exp: Likewise.
19679 * gdb.base/watchpoint.exp: Likewise.
19680 * gdb.c++/demangle.exp: Likewise.
19681 * gdb.c++/inherit.exp: Likewise.
19682 * gdb.chill/chexp.exp: Likewise.
19683 * gdb.fortran/exprs.exp: Likewise.
19684
19685 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
19686 test if we can't handle IO to/from the inferior.
19687
19688 * gdb.c++/misc.exp: Always check for a program already being
19689 started after sending a "run" command to gdb.
19690
19691 * gdb.base/twice.exp: Start with a fresh gdb.
19692
19693 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
19694 only depend on gdb's expression code, not the chill runtime.
19695
19696 * gdb.base/return.c: Put return values into variables so we
19697 can have gdb print them rather than depending on the program
19698 to print them.
19699 * gdb.base/return.exp: Corresponding changes.
19700
19701 * lib/gdb.exp: Provide default value for noinferiorio.
19702 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
19703 the inferior.
19704
19705 * gdb.base/break.exp: Always check for a program already being
19706 started after sending a "run" command to gdb.
19707 (text_next_with_recursion): Don't check the output from the
19708 program's printf statement. Instead just make sure the program
19709 exited.
19710
19711 * gdb.base/commands.exp: Protect tests which need arguments with
19712 $noargs conditionals.
19713
19714Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19715
19716 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
19717 of structure member arrays to match gdb/valops.c:value_addr change.
19718
19719Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
19720
19721 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
19722 cases.
19723
19724Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
19725
19726 * configure.in (configdirs): Remove gdb.chill from default list
19727 of subdirs and then add it back in only if doing a native build.
19728 The current chill compiler does not yet work in any cross build.
19729 * Revert all signal changes from Jul 6.
19730 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
19731 for sh-hms targets, allowing these tests to link, with no other
19732 changes. Testing is suppressed by setting "nosignals" in site.exp.
19733
19734Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
19735
19736 * configure.in (signaldirs): Define and add to configdirs for all
19737 targets except some specific ones that are known to not support signals.
19738 Also clean up formatting.
19739 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
19740 (signals, sigall): Remove rules to build.
19741 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
19742 Moved to new gdb.signals directory.
19743 * gdb.signals: New test directory.
19744 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
19745 signals.c signals.exp}: New or moved files.
19746
19747Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
19748
19749 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
19750
19751Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
19752
19753 * gdb.base/return.exp: Xfail `return double' test failure
19754 on at least Solaris 2.3 and handle future/past versions on
19755 a case by case basis as appropriate. Also update message
19756 to include i*86 failures.
19757
19758Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19759
19760 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
19761
19762 * lib/gdb.exp: Fix comment which erroneously identified
19763 gdb_file_cmd as gdb_load (the 19 May change was in fact to
19764 gdb_file_cmd not gdb_load).
19765 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
19766
19767 * gdb.base/setvar.exp: Make test names consistent between pass and
19768 fail cases. Use gdb_test more.
19769
19770Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19771
19772 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
19773
19774Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19775
19776 * gdb.base/help.exp: Fix expected help string for `show commands'.
19777
19778Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
19779
19780 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
19781
19782 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
19783 of a text section.
19784
19785Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
19786
19787 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
19788 that loop eventually terminates. Fix Connection refused logic so
19789 that testsuite will expire nicely.
19790
19791Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
19792
19793 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
19794 config/rom68k.exp: New tcl glue for the appropriate monitors.
19795 These all just end up calling monitor.exp.
19796 * config/monitor.exp (gdb_target_monitor): Handle `Connection
19797 refused' by retrying. Cleanup some timeout issues.
19798 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
19799 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
19800 callers don't have to set/restore global timeout variable.
19801
19802 * The following set of changes centralizes management of the global
19803 timeout variable. This way, it can be set in one target dependent
19804 place instead of dozens of places scattered throughout the test suite.
19805 If you need to lengthen a timeout, then you should either set timeout
19806 in one of the config/{target}.exp files, or multiply it by a factor.
19807 Setting it to an absolute value is always going to lose for some
19808 targets.
19809 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
19810 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
19811 * gdb.base/funcargs.exp: Don't set timeout.
19812 * gdb.base/list.exp (test_forward_search): Only use local timeout.
19813 * gdb.base/printcmds.exp (test_print_string_constants
19814 test_print_array_constants): Don't set timeout.
19815 * gdb.base/ptype.exp: Don't set timeout.
19816 * gdb.base/recurse.exp: Don't set timeout.
19817 * gdb.base/return.exp: Don't set timeout.
19818 * gdb.base/watchpoint.exp: Don't set timeout.
19819 * gdb.c++/classes.exp (do_tests): Don't set timeout.
19820 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
19821
19822Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
19823
19824 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
19825
19826Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19827
19828 * lib/gdb.exp: Disable chill tests for irix5.
19829
19830Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19831
19832 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
19833 each test pass or fail.
19834
19835Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19836
19837 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
19838 xlc not gcc.
19839
19840Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
19841
19842 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
19843
19844Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
19845
19846 * config/est.exp: Fix copyright and comments. Remove dead code.
19847 Use targetname, serialport and baud variables instead of fixed
19848 constants.
19849 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
19850 * config/cpu32bug.exp: New file to support cpu32bug monitors.
19851
19852Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19853
19854 * gdb.base/watchpoint.exp: Don't run
19855 test_watchpoint_triggered_in_syscall for sunos.
19856
19857Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19858
19859 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
19860 they don't seem to exist. Do include stdio.h.
19861
19862Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19863
19864 * gdb.base/a1-selftest.exp: Add alpha xfail.
19865
19866Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19867
19868 * gdb.base/watchpoint.c (main): Prompt before calling read().
19869 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
19870 Revise accordingly. Remove cruft about sending "123" several
19871 times, until it gets noticed. Clean up the "print buf[0]" stuff
19872 so that it passes or fails, and waits for prompts in the usual way.
19873
19874Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19875
19876 * gdb.base/recurse.exp: Fix comment.
19877
19878 * TODO: Remove item about printing variables in nodebug.exp. Add
19879 item about enabling tests which are only run on some targets.
19880
19881 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
19882 fail, make test names unique, use new gdb_test convention
19883 regarding pattern, use gdb_test more, etc.).
19884
19885 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
19886 fail, make test names unique, etc.).
19887
19888Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19889
19890 * gdb.base/nodebug.c: Change return type of top and middle to
19891 short.
19892 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
19893 are fixed by the recent mdebugread.c changes. Allow `short ()'
19894 as type for top and middle.
19895
19896Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19897
19898 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
19899 nearly as I can tell, the whole thing was an accident in Stu's
19900 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
19901 to replace a send/expect pair with gdb_test, but ended up only
19902 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
19903 of 30 Mar 1995 took care of it, but left this vestigial comment
19904 which I am now nuking.
19905
19906Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19907
19908 * gdb.base/break.exp: Look for different line number for
19909 breakpoint at main depending on usestubs.
19910
19911Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19912
19913 * gdb.base/list.exp: Adjust some alternate expect patterns to
19914 match recent list0.c change. Add alternate expect pattern for
19915 output from `list default lines around main' for optimizing
19916 compilers.
19917
19918Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19919
19920 * lib/gdb.exp: If nosignals is not set, set it to 0.
19921
19922Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
19923
19924 * config/slite-gdb.exp: Responds to load symbol table prompt.
19925 * gdb.base/break.exp: Adjust line number, fix rerun.
19926 * gdb.base/langs0.c: Add #ifdef usestubs.
19927
19928Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
19929
19930 * gdb.base/list.exp: Adjust line contents after adding new lines in
19931 list0.c. Also fix a syntax error.
19932
19933 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
19934 * gdb.base/break.exp: ditto.
19935 * gdb.base/list.exp: ditto.
19936 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
19937 * gdb.base/run.c: ditto.
19938 * gdb.base/list0.c: ditto.
19939 * gdb.base/funcargs.c: ditto.
19940
19941Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
19942
19943 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
19944 $targetname, $serialport and $baud instead of hardwired variables.
19945 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
19946 target doesn't support signals.
19947
19948Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
19949
19950 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
19951
19952Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19953
19954 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
19955 Don't rely on the value of an auto variable before it has been
19956 initialized. Use gdb_test more.
19957
19958Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19959
19960 * lib/gdb.exp (default_gdb_version): A version number must start
19961 with a digit, but other than that contains all characters up to
19962 the first whitespace character.
19963
19964Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19965
19966 * gdb.base/commands.exp (breakpoint_command_test): New tests.
19967
19968Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19969
19970 * gdb.c++/*.exp: Warn if executable does not exist. The original
19971 reason for skipping the warning was that configure.in sometimes
19972 intentionally skipped building the executables but the tcl code
19973 had no way of knowing. That (a) was always bogus with respect to
19974 error handling, (b) is no longer true (right now there is no way
19975 to skip C++ tests).
19976
19977 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
19978
19979Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19980
19981 * gdb.base/list.exp: Add expect patterns for output from
19982 SunPRO compiled executables.
19983 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
19984 types.
19985
19986Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19987
19988 * gdb.base/break.exp (test_next_with_recursion): Accept any line
19989 number (we are already testing that the correct source line text
19990 gets printed).
19991
19992 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
19993 that is what is intended, but something needed to be done to get
19994 sunos4 native working again.
19995
19996 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
19997
19998 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
19999 apparently went with a (very) old xfail.
20000
20001Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20002
20003 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20004 runto_main is a proc in gdb.exp that will do 'step' for target use
20005 stubs.
20006 * gdb.base/exprs.exp: ditto.
20007 * gdb.base/interrupt.exp: ditto.
20008 * gdb.base/opaque.exp: ditto.
20009 * gdb.base/printcmds.exp: ditto.
20010 * gdb.base/ptype.exp: ditto.
20011 * gdb.base/scope.exp: ditto.
20012 * gdb.base/setvar.exp: ditto.
20013 * gdb.base/signals.exp: ditto.
20014 * gdb.base/twice.exp: ditto.
20015 * gdb.c++/classes.exp: ditto.
20016 * gdb.c++/inherit.exp: ditto.
20017 * gdb.c++/templates.exp: ditto.
20018 * gdb.base/break.exp: no run and hit main for stubs. Change line
20019 numbers for breakpoints and info breakpoint.
20020 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20021 breakpoint().
20022 * gdb.base/callfuncs.c: ditto.
20023 * gdb.base/exprs: ditto.
20024 * gdb.base/interrupt.c: ditto.
20025 * gdb.base/opaque0.c: ditto.
20026 * gdb.base/printcmds.c: ditto.
20027 * gdb.base/ptype.c: ditto.
20028 * gdb.base/scope0.c: ditto.
20029 * gdb.base/setvar.c: ditto.
20030 * gdb.base/signals.c: ditto.
20031 * gdb.base/twice.c: ditto.
20032 * gdb.c++/misc.cc: ditto.
20033 * gdb.c++/templates.cc: ditto.
20034
20035Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20036
20037 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20038
20039 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20040 somewhere between `read' and `main.c'. I'm pretty sure the
20041 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20042 and it isn't particularly useful.
20043
20044 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20045
20046Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20047
20048 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20049
20050Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20051
20052 * config/mt-slite: add LIBS and -nostdlib.
20053 * config/slite-gdb.exp: add this new file to support sparclite target.
20054
20055Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20056
20057 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20058
20059 * gdb.base/a2-run.exp: Change argument to istarget from
20060 "*-*-vxworks" to "*-*-vxworks*".
20061 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20062
20063Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20064
20065 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20066 will not runto main but do a 'step' to step out of breakpoint().
20067 * config/mt-slite: add -Dusestubs.
20068
20069Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20070
20071 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20072 instead of just @.
20073
20074 * gdb.base/signals.exp: Add test for "handle all print".
20075 * TODO: Remove "handle all print". Also remove item about
20076 checking copyright date (I don't like the idea of a spurious FAIL
20077 based on when we run the tests).
20078
20079 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20080 for SunOS4 (reason for failure not investigated). Remove
20081 redundant test for $binfile.
20082
20083 * gdb.base/nodebug.c (array_index): Call malloc.
20084
20085 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20086
20087Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20088
20089 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20090 conventions and slightly simplify the matching regexp.
20091
20092Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20093
20094 * gdb.base/break.exp: Update gdb_test invocation to use new
20095 convention.
20096
20097 * lib/gdb.exp: If noargs is not set, set it to 0.
20098
20099 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20100 tests unique.
20101
20102 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20103
20104Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20105
20106 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20107 one argument of type "<non-float parameter>".
20108
20109Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20110
20111 * config/rom68k.exp: New file to support Motorola IDP board.
20112 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20113 * gdb.base/break.c: Change things around so that this program
20114 doesn't depend upon args. This is necessary to make remote
20115 targets work (in general, they can't take args).
20116 * gdb.base/break.exp: Don't try to send args to program. Don't
20117 expect output. Also, replace lots of code with gdb_test.
20118
20119Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20120
20121 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20122 printing of '\'' (which is what the comment says we are testing,
20123 even though we were not), not '''.
20124 (test_integer_literals_rejected): Test that printing ''' is an error.
20125
20126 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20127 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20128 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20129 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20130 Use gdb_test not test_print_accept.
20131 * lib/gdb.exp: Remove test_print_accept.
20132
20133 * gdb.base/signals.exp (signal_tests_1): Make pass message
20134 consistent with fail message.
20135
20136 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20137 unsigned char; the bug (PR 1821) is fixed.
20138
20139 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20140
20141 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20142 successful tests--makes xfailing them work right.
20143
20144Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20145
20146 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20147 only \r\n, not .*. The test can pass .* as the last thing in
20148 $pattern if that is what it wants. In addition to providing this
20149 flexibility, this change should speed up pattern matching in cases
20150 where the pattern already ended with .* (there were a number of
20151 them). This change also helps catch bad patterns--in the old
20152 scheme the typo "char \*" instead of "char \\*" would pass. Now
20153 it is caught.
20154 * Many .exp files: Update callers.
20155
20156 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20157 clearer and does not spuriously match multiple ('s. Likewise for
20158 ) and *.
20159
20160 * gdb.base/nodebug.exp: Test ability to call a function and pass
20161 it a string (even with no debugging info).
20162
20163 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20164 "p '\'", which is the same as "p ''" once tcl gets done with
20165 quoting, to "p '\\'", which I suspect is what is intended (one
20166 backslash gets sent to GDB).
20167
20168 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20169
20170Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20171
20172 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20173 1817) was fixed literally years ago.
20174
20175Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20176
20177 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20178 test, it causes stepping out of call_after_alloca_subr with
20179 optimizing compilers.
20180 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20181 fails.
20182
20183 * gdb.c++/templates.exp: Source templ-info.exp only if
20184 the templates executable exists.
20185
20186 * gdb.c++/misc.cc (class Contains_static_instance,
20187 class Contains_nested_static_instance),
20188 gdb.c++/classes.exp (test_static_members): Test printing of
20189 a class that contains a static instance of the class.
20190
20191Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20192
20193 * gdb.base/langs2.c (cppsub_): Don't prototype.
20194 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20195 only, I believe).
20196
20197Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20198
20199 * lib/gdb.exp (skip_chill_tests): New procedure.
20200
20201 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20202
20203Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20204
20205 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20206 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20207
20208Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20209
20210 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20211
20212 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20213 disassemble 8, not 16, instructions for part 4.
20214
20215 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20216 support the latter anymore.
20217
20218 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20219 -DNO_PROTOTYPES.
20220 * gdb.base/callfuncs.c: Control use of prototypes based on
20221 NO_PROTOTYPES, not __STDC__.
20222 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20223 t_float_values2 tests if prototypes in use.
20224
20225 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20226 t_double_values): When checking differences against DELTA, check
20227 that difference is within the range (-DELTA,DELTA), not just
20228 (-infinity,DELTA).
20229
20230Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20231
20232 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20233 'file' command firts, then 'target', then 'load', this is due to gdb
20234 target set up.
20235 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20236
20237Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20238
20239 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20240 FP load/store variants.
20241 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20242
20243Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20244
20245 * gdb.base/term.exp: Do not give a warning if not native, it is
20246 not an abnormal condition.
20247
20248Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20249
20250 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20251 t_char_array".
20252
20253Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20254
20255 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20256 are getting the version number.
20257
20258 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20259 if not native, it is not an abnormal condition.
20260
20261Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20262
20263 * lib/gdb.exp: Just use "file exists", rather than undocumented
20264 dejagnu procedure "findfile".
20265
20266Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20267
20268 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20269 (LDFLAGS): Set to -Xlinker -Ur.
20270
20271 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20272 Removed, these values are set by lib/gdb.exp.
20273
20274 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20275
20276Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20277
20278 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20279 of replicating gdb startup code.
20280
20281 * config/mt-vxworks (LDFLAGS): Set to -r.
20282 (CFLAGS_FOR_TARGET): Removed.
20283
20284 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20285 (gdb) and gdb for vxworks uses (vxgdb).
20286
20287 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20288 executable is not in the tree and host != target, use sed and
20289 program_transform_name to determine the gdb name used by the
20290 target.
20291
20292 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20293 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20294
20295Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20296
20297 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20298 floats, chars, and shorts where there are ANSI-style function
20299 definitions.
20300
20301 * gdb.base/langs.exp, gdb.base/langs*: New test.
20302 * gdb.base/Makefile.in: Build it.
20303 * TODO: Remove item about checking that C names don't get C++
20304 demangling applied; this test tests it.
20305
20306Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20307
20308 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20309 went with the const70 xfail. The xfail went away a year ago.
20310
20311 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20312
20313 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20314 for hp300.
20315
20316 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20317
20318 * gdb.base/a1-selftest.exp: Don't run on hp300.
20319
20320Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20321
20322 * Makefile.in (site.exp): Set host_alias and target_alias as well
20323 as host_triplet and target_triplet.
20324
20325Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20326
20327 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20328
20329 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20330 places as other ecoff systems).
20331
20332 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20333 ultrix.
20334
20335Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20336
20337 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
20338 remove them.
20339 * gdb.base/nodebug.exp: Accept "function" in addition to "text
20340 variable and "variable" in addition to "data variable".
20341 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
20342
20343 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
20344 2.
20345 * gdb.base/list1.c (long_line): Add additional statement at start
20346 of function.
20347 * gdb.base/list.exp (test_forward_search): Update line number to
20348 reflect new statement.
20349
20350Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20351
20352 * gdb.base/signals.exp: Reinitialize searched source directories
20353 after gdb_start call.
20354
20355Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
20356
20357 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
20358 * gdb.stabs/Makefile.in: Likewise.
20359
20360 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
20361 change. Instead split the tests into smaller pieces.
20362 * gdb.disasm/hppa.s: Corresponding changes.
20363
20364Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20365
20366 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20367 Quote ^C when passing it to stty. For some shells ^ is a pipe.
20368
20369 * gdb.base/funcargs.exp: Modify many tests so that every test
20370 either passes or fails. Make some test names unique.
20371
20372Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20373
20374 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20375 Call stty to set interrupt character.
20376
20377 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
20378 for HP assembler versus GNU assembler based on actual behavior of
20379 $(CC), rather than assuming that $(AS) is always the GNU assembler.
20380
20381 * TODO: Suggest a few more stepping tests.
20382
20383Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
20384
20385 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
20386 restart GDB for h8300 after a continue.
20387 (return): Add pattern to match a29k-udi behavior.
20388 * gdb.base/nodebug.exp: Remove obsolete comment.
20389 * gdb.base/regs.exp: New file, testing of register displays.
20390 * gdb.base/return.exp: Fix typo in reference to $objdir.
20391 * gdb.base/whatis.exp: Always start with a fresh GDB.
20392
20393Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20394
20395 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
20396 higher, these tests generate a lot of output.
20397
20398Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20399
20400 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
20401 code following the catch silently ignored some errors; without the
20402 catch they should be thrown like any other tcl error. Also, the
20403 catch used "" instead of {} which meant all the callers who wanted
20404 to include one of the characters "[]$ had to quote it an extra time.
20405 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
20406 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
20407 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
20408 Remove extra quoting.
20409
20410Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
20411
20412 * gdb.base/commands.exp: Make test names unique; every test either
20413 passes or fails. Update some comments.
20414
20415 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
20416
20417Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20418
20419 The following fixes a FAIL caused by the fact that the alpha stabs
20420 configuration didn't use the ".if alpha" code in weird.def.
20421 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
20422 bit pointer, so the 32 bit version works even on the alpha.
20423 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
20424 Remove the stuff which allowed us to have separate versions for
20425 alpha and everything else.
20426
20427 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
20428 regexp which "info func operator\[\](" is supposed to match. Fix
20429 string to send to GDB. Note that GDB still doesn't work right. Add a
20430 new test for "info func .perator\[\](" which GDB does handle correctly.
20431
20432 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
20433
20434Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20435
20436 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
20437 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
20438 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
20439 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
20440 it makes the tests harder to understand and confuses test-o-matic.
20441 The preferred style is that each test provides a PASS or a FAIL,
20442 and has a unique message (e.g. "continue #54" not just "continue")
20443 which is the same for the pass and the fail.
20444 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20445 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
20446 to lib/gdb.exp.
20447 * gdb.base/printcmds.exp: Use test_print_accept. Remove
20448 prt_accept which was basically the same thing. Likewise for
20449 test_print_reject and prt_reject.
20450 * lib/gdb.exp (test_print_reject): Add some more error message
20451 patterns to match from the former printcmds.exp (prt_reject).
20452 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
20453 One defect of the passcount stuff is that some of it failed to
20454 report XPASS where appropriate.
20455 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
20456 stuff before and after arg in expected pattern.
20457 (test_paddr_operator_functions): Re-do test without print_addr_of;
20458 this is the only test which seems to want extra stuff there.
20459
20460Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20461
20462 * gdb.base/nodebug.exp: Update new tests to reflect improved
20463 wording of gdb output.
20464
20465 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
20466 and "ptype" work on variables in files compiled without -g.
20467 Replaces commented out "maint print msymbol" tests.
20468
20469Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20470
20471 * gdb.base/setvar.c (dummy): Call malloc.
20472
20473 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
20474 losing with the irix4 sed.
20475
20476 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
20477 ALRM" on irix4.
20478
20479Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20480
20481 * TODO: Remove items about corefile.exp testing new exec-file and
20482 backtrace; both are now done. Add items about printing enums.
20483
20484Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20485
20486 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
20487 "get signal $thissig" test fails.
20488
20489 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
20490
20491Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20492
20493 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
20494 compiler warning with dec alpha compiler.
20495
20496 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
20497 extra \n from gdb_test call (this explains why the prompt test
20498 that I removed yesterday was there).
20499 (user_defined_command_test): Remove extra \n and prompt test.
20500
20501 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
20502 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
20503 doesn't exist.
20504 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
20505 Also remove alpha workaround, which turns out to be because
20506 SIGABRT == SIGLOST.
20507
20508 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
20509
20510 * gdb.base/help.exp: Don't test "help show".
20511
20512Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20513
20514 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
20515 "set print address" is on.
20516 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
20517 pass prompt to gdb_test; gdb_test already looks for the prompt.
20518
20519 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
20520
20521 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
20522 was a vestige of the manual TESTSTRATEGY, and the purpose of it
20523 was to make sure that gdb can read a core file. But (a) the "read
20524 the corefile" part didn't make it to a1-selftest.exp, we just
20525 delete the corefile after creating it, and (b) we test reading
20526 corefiles in corefile.exp anyway. Also, this test left around a
20527 xgdb process on Solaris.
20528
20529 * gdb.base/corefile.exp: Also test backtrace.
20530
20531Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
20532
20533 * gdb.base/commands.exp: Test a simple user defined command with
20534 arguments and if/while statements; verify the full user command is
20535 printed by "show user".
20536
20537 * gdb.base/commands.exp: Test if/while commands as part of a
20538 breakpoint command list; verify they appear in breakpoint
20539 information.
20540
20541Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20542
20543 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
20544 than by dividing by zero.
20545
20546Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
20547
20548 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
20549 performing an inferior call with watchpoints enabled.
20550 * gdb.base/watchpoint.c (main): Delete second unnecessary read
20551 call.
20552
20553Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20554
20555 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
20556 of "file" command.
20557
20558 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
20559 Add additional pattern for when "int operator int(void);" appears
20560 in a different order.
20561
20562Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20563
20564 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
20565
20566 * gdb.base/help.exp: Replace most of docstrings for "info signals"
20567 and "signal" with ".*".
20568
20569Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20570
20571 * TODO: Add note about "handle all nostop".
20572
20573 * gdb.base/{sigall.c, sigall.exp}: New test.
20574 * gdb.base/Makefile.in: Add it.
20575
20576Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
20577
20578 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
20579 when invoking GDB, suppresses any windowing interface.
20580
20581Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
20582
20583 * config/sim-gdb: New file, simulator testing support.
20584
20585Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
20586
20587 * gdb.base/interrupt.exp: Test calling func1 twice.
20588
20589Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
20590
20591 * gdb.base/list.exp (test_forward_search): Set timeout higher
20592 when we'll be getting lots of output from gdb.
20593
20594 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
20595 "init_malloc" to after the expect statement. Run it if that
20596 regexp is taken, but also for two others which happen if source
20597 cannot be found.
20598
20599Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20600
20601 * gdb.base/printcmds.exp: New test, for printing register before
20602 program is running.
20603
20604Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20605
20606 * gdb.base/list.exp: Correct some alternate expect patterns
20607 to reflect changes in list1.c.
20608
20609Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20610
20611 * TODO: Add item regarding large frames.
20612
20613 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
20614
20615 * TODO: Remove item about enabling return.exp; it
20616 is enabled. Suggest a few more "return" tests.
20617
20618Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20619
20620 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
20621 anonymous unions.
20622
20623Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20624
20625 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
20626 and pr-5646.o, so "make" is the same as "make all", not "make
20627 pr-4975.o".
20628
20629Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
20630
20631 * gdb.base/list.exp: Adjust expectations to reflect changes in
20632 list1.c.
20633 (test_forward_search): New test proc.
20634 * gdb.base/list1.c (long_line): New function, has long source line.
20635
20636Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
20637
20638 * gdb.base/a1-selftest.exp: Change initial stepping to know about
20639 additional line of code that was added.
20640
20641Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
20642
20643 * gdb.disasm/hppa.s: Break the large branching tests into smaller
20644 tests so as not to overflow expect's input buffers.
20645 * gdb.disasm/hppa.exp: Corresponding changes.
20646
20647Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20648
20649 Beginnings of template debugging tests.
20650 * gdb.c++/templ-info.cc: New file to test for template
20651 debugging capability of the compiler.
20652 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
20653 templ-info.cc.
20654 * gdb.c++/templates.cc: Add explicit template instantiations
20655 to enable compiling with -fno-implicit-templates. Add destructor
20656 and 'value' method to T5 class for template tests.
20657 * gdb.c++/templates.exp: Add testcases for printing of template
20658 types, setting breakpoints on template methods and calling a
d63a86f8 20659 template method.
c906108c
SS
20660
20661Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
20662
20663 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
20664 branch target since some assemblers (gas-2.5) may emit a
20665 relocation for the branch instead of resolving it in the
20666 assembler.
20667
20668Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20669
20670 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
20671 through signal handler.
20672
20673Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20674
20675 * configure.in (*-*-netware): Use config/mt-netware.
20676
20677 * config/mt-netware: New file.
20678 * config/mt-i386-netware: Removed, separate configs for different
20679 netware architectures are no longer needed now that we have
20680 --with-headers.
20681
20682Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20683
20684 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
20685 by the recent changes to use ANSI C arithmetic conversions.
20686
20687Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20688
20689 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
20690 bug involving using inferior_pid to figure out whether to select a
20691 frame.
20692
20693Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
20694
20695 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
20696 match the current disassembler output.
20697
20698Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
20699
20700 * gdb.fortran/exprs.exp: Expect VOID instead of void.
20701 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
20702 types, expect "int" as type of integer values (for now).
20703
20704Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
20705
20706 * gdb.base/commands.exp: New tests for if/while commands.
20707
20708Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
20709
20710 * lib/gdb.exp (runto): Replace sub-pattern for hex value
20711 by .*, since hex values have different syntax in Chill mode.
20712
20713Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20714
20715 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
20716 linefeed from expect pattern for repeated types with indices > 9.
20717
20718Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
20719
20720 First part of Fortran test suite.
20721 * gdb.fortran: New directory.
20722 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
20723
20724Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20725
20726 * gdb.base/default.exp: Update expect pattern for load command
20727 without arguments.
20728
20729Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
20730
20731 * configure.in: Change i386 to i[345]86.
20732 * gdb.base/configure.in: Likewise.
20733 * gdb.c++/configure.in: Likewise.
20734 * gdb.chill/configure.in: Likewise.
20735
20736Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
20737
20738 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
20739 patterns, since that is not a valid context for comments.
20740
20741Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
20742
20743 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
20744 repeated types and repeated types with indices > 9.
20745
20746Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
20747
20748 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
20749 2417; old bug has been fixed.
20750
20751Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
20752
20753 * gdb.base/interrupt.exp: When trying to wake up the inferior,
20754 send the newline ourselves instead of assuming gdb_test will do
20755 so when passed an empty input string.
20756
20757 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
20758 stabs testcode.
20759
20760Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20761
20762 * lib/gdb.exp (gdb_test): Don't send anything if the first
20763 argument is an empty string. This makes cases where we want to
20764 match output that is already in expect's buffers (for example,
20765 matching a breakpoint after gdb_run_cmd has been called) work
20766 reliably.
20767
20768Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20769
20770 * config/netware.exp: New file.
20771
20772Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20773
20774 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
20775 the -B and -L prefixes so we can find the debugging stub.
20776
20777 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
20778 there and we are using the gcc from the tree.
20779
20780 * gdb.base/types.c: Removed.
20781
20782 * gdb.base/configure.in: Look for makefile fragments in ../config.
20783 Recognize i386-*-netware.
20784 * gdb.c++/configure.in: Likewise.
20785
20786Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20787
20788 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
20789 the correct TCL syntax.
20790
20791Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20792
20793 * gdb.base/opaque.exp: use runto instead of messing around with
20794 breakpoints. Simplify by using gdb_test.
20795
20796 * gdb.base/bitfields.exp: restart between tests on netware targets
20797 because breakpoints aren't relocated after target death. Run
20798 processes to completion.
20799
20800 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
20801
20802Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
20803
20804 * Makefile.in: Remove extra tabs that confuse some versions
20805 of "make". Use the newly built gdb to test with by default,
20806 rather than the first one in the tester's search path.
20807
20808Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
20809
20810 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
20811
20812 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
20813 condition help.
20814
20815Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20816
20817 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
20818
20819 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
20820 running.
20821 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
20822 * gdb.base/funcargs.exp: Likewise.
20823
20824 * gdb.base/bitfields.exp: Simplify by using gdb_test.
20825 * gdb.base/funcargs.exp: Likewise.
20826
20827 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
20828 message is "".
20829
20830Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20831
20832 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
20833 return,signals,twice}.exp: Handle non-existant binaries
20834 consistantly.
20835
20836 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
20837 * gdb.base/Makefile.in: Don't try to generate a core dump, we
20838 might testing a cross development system.
20839
20840Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20841
20842 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
20843 runtest script is relative to ${srcdir}, not ${rootdir}.
20844
20845Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
20846
20847 * gdb.base/signals.exp: Allow for optionality of breakpoint
20848 address.
20849
20850Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20851
20852 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
20853
20854Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20855
20856 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
20857 for size_t definition.
20858 * gdb.c++/templates.cc: Likewise
20859
20860 * config/mt-i386-netware: New file.
20861
20862 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
20863 defined.
20864
20865 * gdb.base/Makefile.in: Added support for systems that name core
20866 files by appending "core" to the program name.
20867 * gdb.base/a1-selftest.exp: Likewise.
20868
20869Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20870
20871 * gdb.base/return.exp: Add comment and message for `return double'
20872 test failure on Sparc Solaris.
20873
20874Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
20875
20876 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
20877
20878Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20879
20880 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
20881 from optimizing them away.
20882 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
20883 patterns to include default constructors and assignment operators,
20884 to match gcc versions beyond 2.5.8. Accept any cplus demangling
20885 character in the output of the virtual base pointer.
20886
20887Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20888
20889 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
20890 expression match in print_addr_of to avoid unintented matches.
20891 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
20892 versions up to 2.5.8.
20893
20894Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20895
20896 * gdb.base/list.exp: Tweak alternate pattern for listing of an
20897 included file to run under newer versions of expect.
20898 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
20899 consecutive >'s in templates to accomodate recent cplus-dem.c change.
20900 Remove xfail for the virtual table of BDDHookV.
20901
20902Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
20903
20904 * lib/gdb.exp (string_to_regexp): Set a default result.
20905 (default_gdb_start): Fix misleading message.
20906
20907Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
20908
20909 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
20910 Remove all CC, etc definitions.
20911 * config/mt-hpux: New file.
20912 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
20913 (CFLAGS, LDFLAGS): Define.
20914 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
20915
20916 * Makefile.in (site.exp): Don't insert host_os, etc.
20917 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
20918 (distclean): Check existence of subdir.
20919 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
20920 * gdb.base/Makefile.in: General cleanup and simplification.
20921 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20922 to build executables. Use default rule to build .o files.
20923 (EXPECT, RUNTEST, CC): Fix relative pathname.
20924 (site.exp): Don't insert host_os, etc.
20925 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
20926 and/or SIGUSR1 defined.
20927 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
20928 * gdb.c++/Makefile.in: General cleanup and simplification.
20929 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
20930 (CFLAGS): Remove.
20931 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
20932
20933Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
20934
20935 * gdb.base/recurse.exp: Misc changes to get tests running again
20936 after Kung's changes to the watchpoint code.
20937 * gdb.base/watchpoint.exp: Likewise.
20938
20939Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
20940
20941 * lib/gdb.exp (string_to_regexp): Convert {\} also.
20942
20943Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
20944
20945 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
20946 * lib/gdb.exp (default_gdb_start): Define.
20947 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
20948 gdb.base/funcargs.exp, gdb.base/opaque.exp,
20949 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
20950 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
20951 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
20952 Don't call gdb_target_udi in between tests.
20953
20954Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20955
20956 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
20957 (which was basically just a local version of the same thing). In
20958 addition to avoiding duplication, gdb_test_exact is faster.
20959 * lib/gdb.exp (gdb_test_exact): Fix typo.
20960
20961 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
20962 don't give an error.
20963
20964 * gdb.base/term.exp: Call delete_breakpoints before starting.
20965
20966 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
20967 (t10): Add comment.
20968
20969Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20970
20971 Reorganization of the GDB Test Suite.
20972
20973 * gdb.base: New directory, contains all the basic tests.
20974 * gdb.c++: New directory, tests specific to C++.
20975 * gdb.chill: New directory, tests specific to Chill.
20976 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
20977 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
20978 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
20979 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
20980 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
20981 t30-31 to chill).
20982 * */gdbme.*: Rename to match appropriate expect scripts.
20983 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
20984 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
20985 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
20986 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
20987 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
20988 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
20989 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
20990 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
20991 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
20992 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
20993 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
20994 gdb.c++/virtfunc.cc: New names of C++ files.
20995 * gdb.chill/chillvars.ch: New name of Chill file.
20996 * gdb.base/configure.in, gdb.c++/configure.in,
20997 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
20998 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20999 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21000 * configure.in (configdirs): Update to reflect directory changes.
21001 (target_abbrev): No longer define for any configuration.
21002 * Makefile.in: Cosmetic improvements to header comments.
21003
21004Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21005
21006 Various changes to gdb.t31:
21007
21008 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21009 * gdbme.ch: Make all key-words and predefineds be upper-case.
21010 * chillvars.exp: Expect key-words and predefinds in upper-case.
21011
21012 * chillvars.exp: Use gdb_test_exact many places.
21013 Change expected output for arrays (which now includes index labels).
21014
21015 * pr-5020.exp, gdme.ch (module PR_5020):
21016 New test, for PR-5020.
21017
21018Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21019
21020 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21021 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21022
21023Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21024
21025 * Makefile.in: Fix bit-rot in definitions of CHILL,
21026 CHILL_FOR_TARGET and Chill_LIB.
21027 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21028 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21029 CHILL, and CHILL_LIB.
21030
21031Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21032
21033 * Revert the previous changes. Please see Rob's directory
21034 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21035
21036Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21037
21038 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
21039 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21040 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21041 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
21042 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21043 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21044 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21045 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21046 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21047 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21048 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21049 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21050 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21051 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21052 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21053 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21054 changes from 94Q1.
21055
21056Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21057
21058 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21059 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21060 Rob's new testing fragments.
21061
21062Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21063
21064 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 21065 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
21066
21067Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21068
21069 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21070 version also, match on casted version strings, and match on
21071 gdb startup case where the line numbers might be messed up.
21072
21073Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21074
21075 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 21076 (CFLAGS): Delete it from here.
c906108c
SS
21077
21078Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21079
21080 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21081
21082Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21083
21084 * Makefile.in (RUNTEST): Default to just "runtest".
21085
21086Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21087
21088 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21089 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21090 the code has been restructured.
21091
21092Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21093
21094 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21095 \n, not just one of each.
21096
21097 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21098 /bin/cc gives a warning if you do.
21099
21100Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21101
d63a86f8 21102 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
21103 __t10ListS_link1ZUiRCUiPT0
21104
21105Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21106
21107 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21108 on local variables in recursive functions.
21109
21110 * gdb.t07/Makefile.in: Build the new test.
21111
21112Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21113
21114 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21115 directly. Instead compare the return values from actual calls.
21116
21117Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21118
21119 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21120
21121Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21122
21123 * From Peter Schauer with minor modifications.
a9c64011
AS
21124 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21125 stops in mid-line in the caller. Add xfail for returning a float
21126 value on X86 targets.
c906108c
SS
21127
21128Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21129
21130 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21131 to avoid expect lossage.
21132 (fmem_LRbug_tests): Likewise.
21133 * gdb.disasm/hppa.s: Corresponding changes.
21134
21135 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21136 conditions to work with latest dejagnu/expect.
21137
21138 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21139 expected to fail on the PA.
21140 (backtrace in call with trampolines): Explicitly require main
21141 to be frame #1 (no trampolines should show up in backtrace).
21142
21143 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21144 "continue -expect".
21145 * gdb.t06/break.exp: Likewise.
21146 * gdb.t07/watchpoint.exp: Likewise.
21147 * gdb.t13/bitfields.exp: Likewise.
21148 * gdb.t15/{funcargs,return}.exp: Likewise.
21149 * gdb.stabs/weird.exp: Likewise.
21150 * config/{mips,udi}-gdb.exp: Likewise.
21151
21152 * hppa.sed: Enclose comments within a sed command to avoid
21153 losing with the old OSF1 sed.
21154
21155Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21156
21157 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21158 sequent dynix.
21159 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21160 * gdb.t15/funcargs.exp: Conditionally step again to really
21161 finish from marker_call_with_trampolines. Handle the case where
21162 the first step from within call_with_trampolines already steps
21163 us back to main.
21164 * gdb.t15/gdbme.c: Add comment to closing brace of
21165 call_with_trampolines for funcargs.exp.
21166
21167Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21168
d63a86f8 21169 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
21170 Fix typo(s).
21171
21172Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21173
21174 * gdb.t07/gdbme.c: More code for watchpoint testing.
21175
21176 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21177 "Hardware watchpoint" throughout file.
21178 (test_watchpoint_triggered_in_syscall): New test.
21179 (test_complex_watchpoint): New test.
21180
21181Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21182
21183 * gdbme.c (call_with_trampolines): New function to try and step
21184 into. Tests trampoline problems on the PA.
21185
21186 * funcargs.exp (localvars_in_indirect_call): No longer expect
21187 stepping into indirect call to fail on PAs.
21188 (test_stepping_over_trampolines): New test.
21189
21190Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21191
21192 * TODO: Add suggestions for static member function tests, and
21193 completion tests.
21194
21195Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21196
21197 * TODO: Add suggestions for "p/a" tests.
21198
21199 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21200 (default_gdb_exit): Replace all the hair with sending "quit" to
21201 the process with a simple close.
21202
21203Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21204
21205 * TODO: Add suggestions for shared library tests.
21206
21207Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21208
21209 * TODO: Add suggestions for x/s tests.
21210
21211Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21212
21213 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21214 "enable once", and "enable breakpoints once" with ".*".
21215
21216Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21217
21218 * TODO: Add suggestions about structure passing tests.
21219
21220Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21221
21222 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21223 the primary1 test, use work around if __GNUC__ < 2.
21224 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21225 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21226 Test for bad output rather than waiting for timeout. Issue
21227 second continue only if first continue failed.
21228
21229Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21230
21231 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21232 operator[] test with gdb_test because the old code didn't seem to
21233 be getting the quoting right with the new dejagnu.
21234
21235Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21236
21237 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21238 one from the path.
21239 * Makefile.in: Use a fresh expect if there is one, use runtest
21240 from the src tree if there is one.
d63a86f8 21241
c906108c
SS
21242Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21243
21244 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21245 next over recursive call. Revise the tests from that point on
21246 (which had been skipped) to match GDB's actual (correct) output.
21247
21248 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21249 with next over a breakpoint whose condition is false.
21250
21251 * gdb.t00/help.exp: Comment out "help set print" tests just like
21252 (and for same reason as) "help set" test.
21253
21254Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21255
21256 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21257 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21258
21259Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21260
21261 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21262 necessary gdb_target_udi.
21263
21264 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21265
21266 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21267 1838 and 2417; they are fixed.
21268
21269 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21270 gdb.t03/ptype.exp (ptype structure, ptype union):
21271 Remove xfails; the test is looser than when the xfails were added.
21272
21273 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21274 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21275
21276 * gdb.t01/run.exp: Only run shell test if isnative.
21277
21278 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21279 since "run" automatically loads if necessary. Call gdb_target_udi
21280 after the "file" since "file" kills any execution target.
21281
21282 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21283 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21284 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21285 argument for UDI.
21286
21287Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21288
21289 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21290
21291 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21292
21293Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21294
21295 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21296 properly quoting regexps. This makes the second argument to
21297 demangle a fixed string, which matches the callers, instead of a
21298 shell-style pattern which is what the previous implementation
21299 used. Update some of the callers.
21300
21301Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21302
21303 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21304 (comib_nullified_tests): Fix typo.
21305 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21306 strings. No longer expected to fail.
21307
21308 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21309 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21310 strings. No longer expected to fail.
21311
21312 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21313 string. No longer expected to fail.
21314
21315Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21316
21317 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21318 No longer expected to fail.
21319
21320 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21321 string. No longer expected to fail.
21322
21323Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21324
21325 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21326 only in the names (I probably got most of them). I was even
21327 generous with some which differed in underscores in names, and
21328 probably missed a few, and I *still* was able to remove almost a
21329 third of the file with almost no impact on testsuite coverage.
21330
21331Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21332
21333 * gdb.t00/default.exp: Match udi_attach error message as well as
21334 the one from child_attach.
21335
21336 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
21337
21338 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
21339
21340 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
21341 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
21342
21343 * Move test with enums and partial symbols back to
21344 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
21345 Reverts the change of 26 May 93. Per today's change to
21346 stabs.texinfo, the behavior that weird.exp was expecting was
21347 unreasonable; what is important is that the compiler+gdb get
21348 things right, which happens with a recent gcc. Also fix the test
21349 to deal with native compilers which put out the stab gdb can't
21350 deal with.
21351
21352Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21353
21354 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
21355 in the names. The main thing these accomplish is to slow things down.
21356 Many more such duplicates surely remain.
21357
21358 * gdb.t00/help.exp: Comment out "help support" test just like
21359 (and for same reason as) "help set" test.
21360
21361Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
21362
21363 * gdb.t06/break.exp: Remove setup_xfails for
21364 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
21365 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
21366 about known bug in gcc to include up through 2.5.8.
21367 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
21368 well as "_vb$".
21369 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
21370 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
21371 with latest gcc and gdb.
21372 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
21373 well as "_vb$".
21374
21375Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21376
21377 * configure.in (hppa*-*-*): Also configure and build stabs-only
21378 tests.
21379
21380Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21381
21382 * gdb.t10/hppa.mt: A makefile fragment for the PA.
21383 * gdb.t10/configure.in (hppa*-*-*): Use it.
21384
21385Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21386
21387 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
21388
21389Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21390
21391 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
21392 versions prior to 1.13.5.
21393
21394Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21395
21396 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
21397 the prompt is at the start of a line.
21398
21399Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21400
21401 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
21402 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
21403 in the copr tests now.
21404 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
21405 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
21406 expected to fail.
21407
21408Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
21409
21410 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
21411 gdb.t31/chillvars.exp, lib/gdb.exp:
21412 Tweak to run under either version of expect.
21413 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
21414 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
21415 * gdb.t11/list.exp: Remove extraneous whitespace.
21416
21417Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21418
21419 * gdb.t16/printcmds.exp (test_print_strings): Accept
21420 "(unsigned char *) " before the string.
21421
21422 * TODO: Add notes about printing of fancy types and GDB expressions.
21423
21424Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
21425
21426 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
21427 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 21428 if doing mips-idt-ecoff.
c906108c
SS
21429
21430Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
21431
21432 * Most .exp files: Tweak to run under either version of expect.
21433
21434Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21435
21436 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
21437 xfails; I'm not sure why they are failing, but not because of PR 1806.
21438
21439Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
21440
21441 * config/unix-gdb.exp: Remove gdb_unload cause it's already
21442 defined in lib/gdb.exp.
21443
21444Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21445
21446 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
21447 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
21448 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
21449 have to be typeless.
21450
21451Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21452
21453 * TODO: Add suggestion for copyright year test.
21454
21455Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
21456
21457 * configure.in (*-*-lynxos*): Add stabs tests.
21458
21459Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21460
21461 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
21462 so insert a tab before any assembler directive in column zero.
21463
21464 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
21465 stores.
21466 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
21467 stores.
21468 (fpu_short_memory_tests): Likewise.
21469
21470Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21471
21472 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
21473 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
21474 .stabs directives in comments.
21475
21476Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21477
21478 * TODO: New file, describing tests we could write.
21479 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
21480
21481Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21482
21483 * gdb.t06/signals.exp: Add kludge to force re-sync.
21484
21485 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
21486 to xgdb instead of gdb, get out of gdb.
21487
21488Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
21489
21490 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
21491 for info.
21492
21493Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21494
21495 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
21496 * gdb.stabs/configure.in (hppa*-*-*): Use it.
21497 * gdb.stabs/hppa.sed: New sed script for the PA.
21498
21499Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21500
21501 * gdb.stabs: Re-write weird.def and configuration to use sed
21502 instead of cpp. sed is portable and POSIX; cpp is neither.
21503
21504Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21505
21506 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
21507
21508Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21509
21510 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
21511
21512Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21513
21514 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
21515 "_vb$".
21516 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
21517 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
21518
21519Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21520
21521 * lib/gdb.exp: Comment out code which depends on non-existent
21522 `transform' procedure.
21523
21524Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
21525
21526 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
21527 * lib/gdb.exp: Transform tool name.
21528 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
21529 1.1's new error handling system.
21530
21531Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21532
21533 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
21534
21535Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21536
21537 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
21538 They made pattern matching so slow that timeouts happened on
21539 heavily loaded systems. Now any output from "show print" which
21540 gets us back to the GDB prompt is a PASS.
21541
21542Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
21543
21544 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
21545
21546Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21547
21548 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
21549
21550 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
21551 It is not from PR 3220.
21552
21553Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21554
21555 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
21556 just started failing because they depended on the order the
21557 subcommands are presented, or exact docstring text. This kind of
21558 test is a pain and has minimal benefit.
21559
21560Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21561
21562 * gdb.t09/corefile.exp: At end of test, use "core" command with
21563 no arguments.
21564
21565Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
21566
21567 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
21568 17}/Makefile.in: Make it possible to run the testsuite with Sun
21569 make and CC = cross gcc by adding explicit build rules for .o
21570 files.
21571
21572Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21573
21574 * gdb.t15/funcargs.exp: Don't put comments on same line as
21575 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 21576
c906108c
SS
21577Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21578
21579 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
21580
21581Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
21582
21583 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
21584 * gdb.t20/inherit.exp: remove three dumplicate entries.
21585
21586Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21587
21588 * gdb.t06/break.exp: For "next over recursive call", fail on any
21589 incorrect output, not just on "factorial (value=2)".
21590
21591Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21592
21593 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
21594 working now. Add an xfail if accesing a bss variable causes
21595 a memory error if the target is not yet run.
21596
21597Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21598
21599 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
21600 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
21601 name of __st* demangling (2 strings). Did Kung really get the
21602 more than 95 others right without testing them?
21603
21604Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
21605
21606 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
21607
21608Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
21609
21610 * configure.in (configdirs): Add gdb.disasm
21611 * gdb.disasm: New directory for GDB disassembler tests.
21612 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
21613
21614Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21615
21616 * gdb.t00/help.exp: Don't test "help set".
21617
21618 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
21619 from within expect statements. None of these happen anymore and
21620 they cause regressions to be silently unnoticed.
21621
21622 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
21623 messages) about known failures with gcc cygnus-2.4.5-930417.
21624
21625 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
21626 comp-info.exp so it gets built if it doesn't exist.
21627
21628 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
21629 it is no longer used.
21630 * gdb.t13/comp-info.c: Removed.
21631
21632Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21633
21634 * gdb.t06/signals.exp: Add xfail for sun3.
21635
21636Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21637
21638 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
21639 relevant because ^C doesn't get sent but failure can be reproduced
21640 interactively).
21641
21642Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21643
21644 * gdb.stabs/alpha.mt: New configuration file for alpha.
21645 * gdb.stabs/configure.in: Use it.
21646 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
21647 sharing with alpha.mt, redefine long to word via preprocessor.
21648 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
21649 for alpha.
21650 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
21651 native cc.
21652 * gdb.t00/teststrategy.exp: Change expect string so that we
21653 consume the `(xgdb)' from the command echo and from the gdb prompt.
21654 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
21655 gdb currently compares all values as long, so this failure probably
21656 applies to any configuration where LONGEST is bigger than a target int.
21657 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
21658 with gcc.
21659 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
21660 to handle opaque pointers, gcc is.
21661 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
21662 as first argument. Include <sys/types.h> and change all operator
21663 new definitions to use size_t.
21664 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
21665 now that we use size_t.
21666
21667Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21668
a9c64011 21669 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 21670 a long or float array cast all array members to the same type.
a9c64011 21671 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 21672 with 64 bit longs.
a9c64011 21673 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 21674 on alpha.
a9c64011 21675 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
21676
21677Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21678
21679 * gdb.t24 (demangle.exp): Constructors of templates have names like
21680 vector<int>::vector(int) not vector<int>::vector<int>(int). See
21681 section 14.6 of the ARM.
21682
21683 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
21684 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
21685 accomplish little and slow down the testsuite.
21686
21687 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
21688 Accept spaces various places.
21689
21690Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21691
21692 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
21693 with watchpoint enabled.
21694
21695 * Makefile.in: Remove definition of CC and remove the second
21696 definition of CXX (the "CXX = gcc" one remains). These definitions
21697 were causing backquotes to be expanded within backquotes, which
21698 doesn't work.
21699
21700Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
21701
21702 * gdb.t17/callfuncs.exp: Add "return 0" to end.
21703
21704Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21705
a9c64011
AS
21706 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
21707 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
21708 by mips cc and contains no stabs entries.
21709
21710Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
21711
21712 * config/vx-gdb.exp: Use fake device to load files rather than
21713 NFS.
21714 * lib/gdb.exp: New proc to do "file" command.
21715 * config/unix-gdb.exp: Use new "file" proc.
21716
21717Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
21718
21719 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
21720 Rework board rebooting slightly.
21721 (gdb_exit): Don't exit from the remote shell; there isn't one.
21722 * gdb.stabs/weird.exp: If a program is being debugged already,
21723 kill it.
21724 * gdb.t04/setvar.exp: Stop and restart gdb.
21725 * gdb.t05/expr.exp: Likewise.
21726 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
21727 restart gdb and reload the program.
21728 * gdb.t08/opaque.exp: Likewise.
21729 * gdb.t12/scope.exp: Likewise.
21730 * gdb.t13/bitfields.exp: Likewise.
21731 * gdb.t15/funcargs.exp: Likewise.
21732 * gdb.t20/classes.exp: Likewise.
21733 * gdb.t03/ptype.exp: Increase timeout.
21734 * gdb.t16/printcmds.exp (test_print_string_constants,
21735 test_print_array_constants): Likewise.
21736 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
21737 * gdb.t20/classes.exp (do_tests): Likewise.
21738 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
21739
21740Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
21741
21742 * gdb.stabs: Renamed *wierd* to *weird*.
21743
21744Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21745
21746 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
21747 for timeout. Add "known gcc 2.4.5 bug" to failure message.
21748
21749Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
21750
21751 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
21752 (do_tests): Remove xfail for whatis on one_var and two_var.
21753
21754Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
21755
21756 * Makefile.in: Made cross building work better by adding
21757 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
21758
21759Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21760
21761 * gdb.t15/{return.c,return.exp,Makefile.in}:
21762 New test, currently commented out.
21763
21764Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
21765
21766 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
21767 still running and removes the leftover named socket so GDb can do
21768 clean restarts.
21769
21770Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
21771
21772 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
21773 console, not GDB.
21774 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
21775 cross testing works better with "make check"
21776 * config/unix-gdb: Use default procedures for exit and version.
21777 * config/vx-gdb.exp: Cleaned up and massaged back to working order
21778 with the newest VxWorks.
21779
21780Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21781
21782 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
21783 old form.
21784
21785 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
21786 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
21787
21788 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
21789
21790 * config/unix-gdb.exp: Remove this version of gdb_exit
21791 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
21792 Rob says he'll look at it when he gets back to testing boards.
21793
21794Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
21795
21796 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
21797 an expected fail for certain ptype commands.
21798
21799 * gdb.t20/classes.exp: Update expected results of "ptype class
21800 Base1" to account for the constructor that now appears in the type.
21801
21802Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
21803
21804 * configure.in (configdirs): Restore gdb.t04, which mysteriously
21805 disappeared from list.
21806 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
21807 "alldone" proc with call to cleanup and exit.
21808 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
21809 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
21810 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
21811 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
21812 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
21813 "alldone" proc with simple returns that suppress remaining
21814 tests. The alldone proc went away many months ago.
21815
21816Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21817
21818 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
21819
21820 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
21821
21822Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21823
21824 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
21825 as vax gdb will display them.
21826
21827Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21828
21829 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
21830 optimizers.
21831
21832 * scope.exp: Change "bad value for localval" messages so each one
21833 is unique.
21834
21835 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
21836 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
21837
21838 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
21839
21840Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21841
21842 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
21843 doesn't exist (due to optimization).
21844
21845Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21846
21847 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
21848 contains \r because the filename is long.
21849
21850 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
21851 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
21852
21853Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21854
21855 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
21856 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
21857 Ultrix.
21858 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
21859 int tests.
21860 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
21861
21862Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
21863
21864 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
21865
21866 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 21867 to match does not match the passing case but still matches the
c906108c
SS
21868 failing case.
21869
21870Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21871
21872 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
21873
21874Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
21875
21876 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
21877 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
21878 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
21879 Remove various versions of gdb_exit.
21880 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
21881 gdb_exit.
21882 * config/unix-gdb.exp: gdb_exit remains here, and should override
21883 the generic version, since it's doing a lot of wierd stuff that
21884 the other versions aren't. FIXME, fold it in, or abandon this
21885 version.
21886
21887Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21888
21889 * gdb.t24/demangle.exp: Add tests for PR 3220.
21890
21891Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21892
21893 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
21894
21895Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
21896
21897 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
21898 "i386-*-*". Works for i486 as well.
21899
21900 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
21901 bug, and expand domain of xfail to all SVR4 systems, since the
21902 actual problem is likely to be in generic SVR4 /proc support.
21903
21904Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21905
21906 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
21907
21908Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
21909
21910 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
21911 xfails for other systems. Match a missing 'Continuing.' as an
21912 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
21913
21914 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
21915 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
21916 Only issue warning for missing executables if -all option is used.
21917
21918 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
21919 file if -all option is used. It's like an unpredictable XFAIL.
21920
21921Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21922
21923 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
21924 for dynamically linked binaries.
21925
21926 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
21927
21928Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21929
21930 * gdb.t20/inherit.exp: Change message for "print tagless struct"
21931 to state that this is a known bug in old versions of g++.
21932
21933Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21934
21935 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
21936 while waiting for `Continuing'.
21937
21938Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
21939
21940 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
21941 in text, data, and bss.
21942 * gdb.t10/nodebug.c: Add local and global test variables for
21943 initialized and uninitialized data.
21944
21945Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21946
21947 * config/unix-gdb.exp (gdb_exit): Add "wait".
21948
21949Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21950
21951 * gdb.t06/signals.exp: xfail the continue from the handler for all
21952 targets.
21953
21954 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
21955 function with watchpoints enabled, the i386 call dummy starts with
21956 a call.
21957
21958 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
21959 386 bsd names its corefiles.
21960
21961Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
21962
21963 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
21964 compilers don't grok it.
21965 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
21966 with small octal ints rather than character constants, which
21967 are signed and might not fit if first promoted to int.
21968
21969Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
21970
21971 * gdb.t09/Makefile.in (clean): Remove corefile.
21972
21973Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21974
21975 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
21976
21977Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21978 and Jim Kingdon (kingdon@cygnus.com)
21979
21980 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
21981 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
21982 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
21983
21984Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21985
21986 * gdb.t17/interrupt.exp: Add xfail for hppa.
21987
21988Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21989
21990 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
21991 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
21992 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
21993 to determine signed-ness of bitfields and use the result to setup
21994 the xfail.
21995 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
21996 * gdb.t15/funcargs.exp: Use them to step until the second indirect
21997 call line is reached if necessary.
21998
21999Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22000
22001 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22002
22003Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22004
22005 * gdb.t06/break.exp: Also test `clear' command.
22006
22007Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22008
22009 * gdb.t00/teststrategy.exp: Remove extra quote.
22010
22011 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22012 watchpoint enabled to be for all non-68k machines.
22013
22014 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22015
22016Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22017
22018 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22019 targets use aout.mt instead of ecoff.mt as gas understands
22020 standard aout format.
22021
22022Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22023
22024 * lib/gdb.exp (runto): Don't insist that function we are running to
22025 was compiled with -g.
22026
22027 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22028
22029 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22030 to get back into the read system call.
22031 Accept leading newline in case where we woke it up.
22032
22033Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22034
22035 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22036 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22037 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22038 enable ecoff configuration.
22039
22040Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22041
22042 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22043
22044Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22045
22046 * gdb.t16/printcmds.exp: Add another printf test.
22047
22048Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22049
22050 * configure.in: If configured -with-stabs on any target, add
22051 stabsdirs to configdirs.
22052
22053Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22054
22055 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22056 fun" so pattern does not match the command itself.
22057
22058Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22059
22060 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22061
22062Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22063
22064 * gdb.t17/interrupt.exp: Test for more things.
22065
22066Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22067
22068 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22069 compiler arranges the code and line numbers.
22070
22071 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22072
22073Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22074
22075 * gdb.t00/help.exp: Increase expect input buffer size.
22076
22077Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22078
22079 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22080
22081 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22082
22083 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22084
22085 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22086 [0-9]*, not just [0-9].
22087
22088Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22089
22090 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22091
22092 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22093
22094Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22095
22096 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22097
22098Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22099
22100 * gdb.t06/signals.c: Add xfails for sun3.
22101
22102 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22103
22104 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22105 test_stepping tests.
22106
22107Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22108
22109 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22110
22111 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22112
22113 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22114 rather than actually putting it through cpp twice.
22115
22116 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22117
22118Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22119
22120 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22121 no longer needed.
22122
22123Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22124
22125 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22126
22127 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22128 C++ features prints as "struct", make it a pass, not an xfail.
22129
22130Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22131
22132 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22133 Don't require VA to print as "class" rather than "struct".
22134
22135Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22136
22137 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22138
22139Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22140
22141 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22142
22143Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22144
22145 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22146 order.
22147
22148Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22149
22150 * gdb.t16/printcmds.exp: Add printf tests.
22151
22152 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22153
22154 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22155
22156Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22157
22158 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22159 pass counts, to counteract any existing or future setup_xfails.
22160
22161Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22162
22163 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22164 {BEGIN,END}_COMMON for common block instead of STAB.
22165 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22166
22167 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22168 intp_var should be N_GSYM not N_LSYM.
22169 wierd-aout.S: Use a label for the value of the N_SO.
22170 wierd.def: Remove all backslashes.
22171 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22172
22173Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22174
22175 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22176 get the expected next to inheritance3.
22177
22178Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22179
22180 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22181 now that gcc-2.4 gets it right.
22182
22183Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22186
22187 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22188 generating comp-info.exp which works for cross-compilation.
22189
22190Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22191
22192 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22193 "*-*-sysv4.*".
22194
22195Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22196
22197 * gdb.t01/run.exp: Start with a fresh gdb.
22198 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22199 SVR4.x.
22200
22201Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22202
22203 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22204 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22205 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22206 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22207 things to remove.
22208
22209Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22210
22211 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22212 test cases from bug reports.
22213
22214Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22215
22216 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22217 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22218 avoid spurious xfails.
22219 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22220 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22221 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22222
22223Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22224
22225 * gdb.t00/teststrategy.exp: Rework to provide more useful
22226 description of each test, fix problem with systems that define
22227 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22228 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22229 results for "next over recursive call" so timeouts aren't taken
22230 by error.
22231
22232Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22233
22234 * gdb.t12/scope.exp: Test printing of variables before run.
22235
22236 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22237 printed in wrong order due to sorting.
22238
22239Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22240
22241 * gdb.t00/teststrategy.exp: Fix expected results for printing
22242 user entered string constant. Is array of char, prints with no
22243 address.
22244
22245 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22246 commands.
22247 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22248 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22249 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22250 of struct of char arrays.
22251 * gdb.t00/radix.exp: New tests for radix commands.
22252
22253Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22254
22255 * gdb.t16/printcmd.exp: Print a variable before running program
22256 (with xfail for AIX).
22257
22258Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22259
22260 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22261
22262 * gdb.t16/printcmd.exp: Don't print variables before running program.
22263
22264 * gdb.t06/break.exp: Don't require envp argument to main.
22265
22266 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22267
22268 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22269 Add xfails for rs6000.
22270
22271 * gdb.t02/whatis.exp: Change other tests not to re-test something
22272 we already tested.
22273
22274 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22275 each type used has a variable of that type.
22276
22277Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22278
22279 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22280
22281Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22282
22283 * configure.in: change srctrigger to be a file, not a directory
22284
22285Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22286
22287 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22288
22289 * gdb.t11/list.exp: Fixed a couple of typos.
22290
22291Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22292
22293 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22294 is fixed and PR is closed.
22295 * gdb.t16 (gdbme.c): Add simple test string variable.
22296 * gdb.t16 (printcmds.exp): Add tests with simple test string
22297 variable, primarily for boundaries on "set print elements".
22298
22299Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22300
22301 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22302 Make leading 0's optional and don't expect a tab in the middle
22303 of the number.
22304
22305 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22306
22307 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22308 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22309 don't end command passed to gdb_test with newline.
22310
22311 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22312 signed keyword away, don't expect signed bitfields to be signed.
22313
22314 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22315 printing with only as many 1's as are in the field as well as printing
22316 with 32 1's (see comment).
22317
22318Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22319
22320 * gdb.t00/default.exp: Start with a fresh gdb.
22321 * configure.in (configdirs): Remove gdb.t31 until the chill
22322 compiler works again. It no longer is able to find chillrt0
22323 since it isn't in libchill.a anymore.
22324 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22325 wierd.o, make more modular.
22326 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22327 spurious newlines that caused problems.
22328
22329Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22330
22331 * Move test with enums and partial symbols from gdb.t03/ptype.exp
22332 to gdb.stabs/wierd.exp since GCC has worked around the bug.
22333 gdb.stabs/wierd.{exp,def}: Many new tests.
22334
22335 * gdb.t00/default.exp: update info line for new message.
22336
22337 * gdb.t02/{whatis.exp,gdbme.c}:
22338 Test that "char *" doesn't print as "caddr_t".
22339
22340Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22341
22342 * gdb.t00/help.exp: Use .* in place of some help messages which
22343 just changed.
22344 gdb.t00/default.exp: Update "info frame" test for new message.
22345 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
22346 Remove some xfails
22347
22348Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22349
22350 * gdb.t03/{gdbme.c,ptype.exp}:
22351 Add tests for typedef'd struct and union without tags.
22352 Also check "whatis" on a variable of a typedef'd enum without a tag.
22353
22354 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
22355 PRMS 1823; the bug still exists but isn't reproduced by this test
22356 anymore), and remove rs6000 XFAIL (the bug is fixed).
22357
22358 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
22359 duplicated from whatis.exp. For those that are left, accept
22360 "long", "long int", or "int" for long variables (whatis.exp already
22361 has an XFAIL for "int", so no need to fail it here).
22362
22363 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
22364 Deal with GCC's names for types now that GDB uses the compiler's names.
22365
22366 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
22367 setup_xfail's for sunos4. If we #defined the signed keyword away,
22368 don't expect GDB to know that char it is signed.
22369
22370 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22371
22372Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
22373
22374 * configure.in (configdirs): Add gdb.t24 for C++ tests that
22375 should work on any system, regardless of debugging format.
22376 * gdb.t21/demangle.exp: Move to gdb.t24.
22377 * gdb.t24/demangle.exp: Move from gdb.t21.
22378 * gdb.t24/{Makefile.in, configure.in}: New files.
22379
22380Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22381
22382 * configure.in: Do gdb.stabs and C++ tests only for stabs.
22383 * gdb.stabs: New directory.
22384
22385Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22386
22387 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
22388 not just "Quit anyway?".
22389
22390Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
22391
22392 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
22393 that all setup_xfails are immediately followed by clear_xfails.
22394
22395Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
22396
22397 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
22398 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
22399 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
22400 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
22401 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
22402 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22403 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22404 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
22405 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
22406 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
22407 gdb.t31/chillvars.exp, lib/gdb.exp:
22408 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
22409 bug-gdb@prep.ai.mit.edu.
22410
22411Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
22412
22413 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
22414 with 0.0, not integer 0.
22415
22416Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
22417
22418 * gdb.t06/break.exp: Update for "Kill the program" message change.
22419
22420Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
22421
22422 * Makefile.in (GDBFLAGS): Set to -nx.
22423 * Makefile.in (site.exp): Use GDBFLAGS.
22424
22425Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22426
22427 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
22428 Makefiles.
22429 (check): depend on just-check.
22430 (just-check): added so that tests can be run without a noop
22431 build pass.
22432
22433Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22434
22435 Switch to using configure's configdirs.
22436 * Makefile.in (Makefile): add configure.in dependency.
22437 (SUBDIRS): removed redundant assignment.
22438 * configure.in: switch subdirs assignment to configdirs.
22439 * gdb.t*/configure.in: new files.
22440
22441Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
22442
22443 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
22444 works.
22445
22446Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
22447
22448 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
22449 in explicit rules. Apparently this is not supported by some makes.
22450
22451Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
22452
22453 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
22454
22455Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22456
22457 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
22458 disappeared.
22459
22460Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
22461
22462 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
22463
22464Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
22465
22466 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
22467 watchpoint problem that is now fixed.
22468 * gdb.t30/chexp.exp: Remove setup_xfail for printing
22469 uninitialized convenience variables.
22470 * gdb.t31/chillvars.exp: Fix expected patterns for printing
22471 structures.
22472
22473Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22474
22475 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
22476 which causes expect to get out of sync with gdb on long output
22477 from help set.
22478 * gdb.t09/corefile.exp: Make expected pattern for core file
22479 failing signal and frame output format less sun specific.
22480
22481Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
22482
22483 * gdb.t31/chillvars.exp: Add and remove initial dummy
22484 breakpoint, so that symbol table is forced in.
22485 (Needed at least on Sunos4, though it seems not SVR4.)
22486 * gdb.t31/chillvars.exp: Update for changed output format.
22487
22488Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
22489
a9c64011 22490 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
22491
22492Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
22493
22494 * Makefile.in: Added --srcdir when invoking runtest, removed the
22495 need for a local config file. (optional now)
22496
22497Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
22498
22499 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
22500 failure count used to force early termination. Add some more
22501 expected failures for gnu style demangling.
22502
22503Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22504
22505 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
22506 pmi variable from gdb.t20/gdbme to get optimized away.
22507 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
22508 Check for written corefile upon timeout _and_ eof.
22509
22510Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22511
22512 * config/unix-gdb.exp: Add missing return 0.
22513
22514Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22515
22516 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
22517 test termination.
22518
22519Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
22520
22521 * configure.in (subdirs): Put back gdb.t17 which mysteriously
22522 disappeared.
22523
22524Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
22525
22526 * gdb.t10/crossload.exp: Disable the i860-elf test until such
22527 time as i860 support works.
22528
d63a86f8 22529 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
22530 "backtrace 100\r" rather than just "backtrace\r", to match last
22531 change.
22532
22533Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
22534
22535 * config/udi-gdb.exp (gdb_exit): Remove close command.
22536 (gdb_target_udi): New procedure to set the UDI target.
22537 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
22538 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
22539 Added waits for prompts after several question responses. Added
22540 some more responses used by a29k-amd-udi-gdb.
22541 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
22542 pass different arguments, restart UDI connection after program
22543 completion.
22544 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
22545 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22546 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
22547 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
22548 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
22549 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
22550 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22551 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
22552 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
22553 after program completion.
22554 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
22555 compiled with a SELECT_VECS setting.
22556 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
22557 infinite recursion.
22558
22559 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
22560 Added checks for COFF results, and made them expected failures for
22561 all targets. It would be better to make them expected failures
22562 for COFF targets only.
22563
22564Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
22565
22566 * Makefile.in: add null dvi target, don't bother to recurse
22567 through test directories for info and install-info; rename
22568 $(datadir) to be dejagnu instead of deja-gnu
22569
22570Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
22571
22572 * gdb.t31/gdbme.ch: Re-enable code that previously caused
22573 compiler to coredump.
22574 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
22575 code.
22576
22577Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
22578
22579 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
22580 coredump.
22581 * gdb.t31/chillvars.exp: Comment out tests that depend on that
22582 code.
22583
22584Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
22585
22586 * gdb.t03/ptype.exp: tests for return code from gdb_test.
22587 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
22588 which in a shell. Deletes xgdb when done.
22589 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
22590 Tests the return from the "set height" or "set width" commands.
22591 Added a few return codes where needed.
22592
22593Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
22594
22595 * Makefile.in (SUBDIRS): Add gdb.t17.
22596 * configure.in (subdirs): Add gdb.t17.
22597 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
22598 files to test gdb's calling of functions in the inferior with
22599 the correct arguments and gdb's ability to retrieve any
22600 result returned.
22601
22602Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
22603
22604 * config/unix-gdb.exp (gdb_exit): Remove close commands that
22605 may be called after gdb goes away. Previous versions of expect
22606 needed these to avoid file descriptor leaks, but they cause
22607 errors with the current revision of expect.
22608 * gdb.t00/gdbvars.exp: Use -re on expected output after
22609 setting sevenbit-strings.
22610 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
22611 to set sevenbit-strings consistent across tests.
22612 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
22613 set sevenbit-strings consistent across tests.
22614
22615Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
22616
22617 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
22618 expected output to match current "expect" expectations.
22619
22620Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
22621
22622 * gdb.t00/default.exp: Change expected output for default "source"
22623 command, to match new gdb behavior which requires a filename to
22624 source.
22625
22626Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
22627
22628 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
22629 expected fail for i486-*-* that misses the marker2 function.
22630 * gdb.t10/crossload.exp (bfddefault): Allow successful
22631 recognition of a format to pass even if no symbols are found.
22632 Explicitly catch failures where the format is not recognized
22633 or is ambiguous, and add the reason to the fail message.
22634 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
22635 the cause is and invalid target and add reason to failure message.
22636 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
22637 elf32-i386, elf32-sparc, and elf32-i860.
22638 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
22639 Set up expected failure for 'filename'::variable scope resolution,
22640 which is now apparently broken on all targets.
22641 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
22642 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
22643 gdb.t23/templates.exp: Change failure for missing binfile into
22644 just a warning.
22645 gdb.t21/demangle.exp: Change all cfront references to 'arm'
22646 references.
22647
22648Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
22649
22650 * gdb.t00/default.exp: Add expected output for default "source"
22651 command, to match new gdb behavior.
22652 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
22653
22654Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
22655
22656 * config/*-gdb.exp: returns an error, rather than exiting on
22657 internal errors.
22658
22659Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
22660
22661 * gdb.t03/gdbme.c: Add pointer to struct variable.
22662 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
22663 referencing struct members.
22664
22665Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
22666
22667 * configure.in (mips-idt-ecoff): New target.
22668 * config/mips-gdb.exp: New file for remote board using MIPS remote
22669 debugging protocol.
22670
22671 * Redid configuration scheme. Removed gdb.t*/configure.in.
22672 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
22673 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
22674 distclean targets. Built executables via .o files. Adjusted
22675 tests to account for source files in $(srcdir) rather than
22676 $(objdir).
22677 * lib/gdb.exp (runto): Don't expect () after the function name,
22678 because it may have arguments.
22679
22680Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
22681
22682 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
22683 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
22684 expected failures for mips-idt-* and mips-sgi-*.
22685 * gdb.t00/default.exp (attach): Kill process if requested.
22686 * gdb.t00/help.exp (help target core, help target): Accept a gdb
22687 that does not read core files.
22688 * gdb.t01/run.exp: Removed checks for exit status code.
22689 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
22690 it is linked in.
22691 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
22692 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
22693 appropriate, rather than doing it by hand.
22694 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
22695 execution.
22696 * gdb.t10/crossload.exp: Kill existing program if needed.
22697 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
22698 appropriate, rather than doing it by hand. Always increase
22699 timeout for this test, not just for VxWorks.
22700
22701Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
22702
22703 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
22704 of Chill STRUCT types and STRUCT values.
22705 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
22706 than "char".
22707 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 22708 struct2): New struct definitions and initializations to test
c906108c
SS
22709 simple Chill STRUCT types.
22710
22711Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
22712
22713 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
22714 the null byte at the end of strings.
22715 * gdb.t00/default.exp: Make show version insensitive to copyright
22716 date.
22717 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
22718 to avoid dependencies on target char signedness.
22719 * gdb.t16/printcmds.exp: Update expected results for explicitly
22720 unsigned char.
22721 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
22722 now work.
22723 * gdb.t21/demangle.exp: Add many more patterns for template
22724 demangling, most of them being expected failures.
22725 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
22726 string we are matching for, to match on the whole string.
22727 * gdb.t21/demangle.exp: Add many new test strings to demangle,
22728 and fix a whole bunch that had incorrect expected output but were
22729 passing anyway because of the bug in "proc demangle".
22730 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
22731 type.
22732 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
22733
22734Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
22735
a9c64011
AS
22736 * gdb/testsuite: made modifications to testcases, etc., to allow
22737 them to work properly given the reorganization of deja-gnu and the
22738 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
22739
22740Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
22741
22742 * gdb/testsuite: Initial creation of gdb/testsuite.
22743 Migrated dejagnu testcases and support files for testing nm to
22744 gdb/testsuite from deja-gnu. These files were moved "as is"
22745 with no modifications. This migration is part of a major overhaul
22746 of dejagnu. The modifications to these testcases, etc., which
22747 will allow them to work with the new version of dejagnu will be
22748 made in a future update.
48efe704 22749
8d8cb839 22750 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 22751\f
8d8cb839
EZ
22752;; Local Variables:
22753;; mode: change-log
22754;; left-margin: 8
22755;; fill-column: 74
22756;; version-control: never
22757;; End:
902f2ccb
MC
22758
22759 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 22760 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
22761 Copying and distribution of this file, with or without modification,
22762 are permitted provided the copyright notice and this notice are preserved.