2011-02-16 Pedro Alves <pedro@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-02-16 Pedro Alves <pedro@codesourcery.com>
2
3 * collection.c (globalarr2): New global.
4 (main): Initialize it before collecting, and and clear it
5 afterwards.
6 * collection.exp (gdb_collect_globals_test): Test collecting
7 overlapping memory ranges.
8
9 2011-02-15 Michael Snyder <msnyder@vmware.com>
10
11 * gdb.base/default.exp: Add tests for thread commands.
12 * gdb.base/help.exp: Add tests for thread commands.
13 * gdb.threads/thread-find.exp: New test for thread find command.
14
15 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
16
17 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
18
19 2011-02-15 Yao Qi <yao@codesourcery.com>
20
21 PR tdep/12352
22 * gdb.arch/arm-disp-step.S : New test for str instruction.
23 * gdb.arch/arm-disp-step.exp : Likewise.
24
25 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
26
27 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
28 "vector_register2_vr" test strings. Test the extended floating
29 point registers (F32~F63).
30 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
31 IBM XL C compiler. Make the test program use a register provided
32 by the compiler for the lxvd2x instruction.
33
34 2011-02-14 Pedro Alves <pedro@codesourcery.com>
35
36 * gdb.trace/unavailable.cc (class Base, class Middle, class
37 Derived): New types.
38 (derived_unavail, derived_partial, derived_whole): New globals.
39 (virtual_partial): New global.
40 (virtualp): Point at virtual_partial.
41 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
42 related to unavailable vptr.
43
44 2011-02-14 Pedro Alves <pedro@codesourcery.com>
45
46 * gdb.trace/unavailable.cc (a, b, c): New globals.
47 (main): Set and clear them.
48 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
49 `a' and `c', and check that `b' isn't collected, although `a' and
50 `c' are.
51
52 2011-02-14 Pedro Alves <pedro@codesourcery.com>
53
54 * gdb.trace/unavailable.cc (struct Virtual): New.
55 (virtualp): New global pointer.
56 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
57 printing a pointer to an object whose type has a vtable, with
58 print object on.
59
60 2011-02-14 Pedro Alves <pedro@codesourcery.com>
61
62 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
63 value repeat handles unavailableness.
64
65 2011-02-14 Pedro Alves <pedro@codesourcery.com>
66
67 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
68 tests for building arrays from unavailable values, subscripting
69 non-memory rvalue unvailable arrays, and accessing fields or
70 baseclasses of non-lazy unavailable values,
71 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
72 struct types.
73 (g_smallstruct, g_smallstruct_b): New globals.
74
75 2011-02-14 Pedro Alves <pedro@codesourcery.com>
76
77 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
78
79 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 Fix const/volatile qualifiers of C++ types, PR c++/12328.
82 * gdb.cp/overload-const.exp: New file.
83 * gdb.cp/overload-const.cc: New file.
84
85 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
86
87 * gdb.opencl/callfuncs.cl: New file.
88 * gdb.opencl/callfuncs.exp: New test.
89 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
90
91 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
92
93 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
94 when computing result.
95 * gdb.arch/altivec-abi.exp: Update expected results.
96
97 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
98
99 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
100 * gdb.base/jit.exp: Likewise.
101 * gdb.base/pie-execl.exp: Likewise.
102 * gdb.base/solib-nodir.exp: Likewise.
103 * gdb.base/solib-overlap.exp: Likewise.
104
105 2011-02-07 Pedro Alves <pedro@codesourcery.com>
106
107 * gdb.trace/collection.c (global_pieces): New.
108 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
109 New procedure.
110 (gdb_trace_collection_test): Call it.
111
112 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
113
114 * gdb.python/py-evthreads.c: New file.
115 * gdb.python/py-evthreads.exp: New file.
116 * gdb.python/py-events.py: New file.
117 * gdb.python/py-events.exp: New file.
118 * gdb.python/py-events.c: New file.
119
120 2011-02-04 David Daney <ddaney@caviumnetworks.com>
121
122 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
123
124 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
125
126 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
127 gdb.base/disasm-end-cu.exp: New test for disassembling over the
128 boundary between two compilation units.
129
130 2011-02-02 Pedro Alves <pedro@codesourcery.com>
131
132 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
133 (Virtual): New structs.
134 (virtual_o, virtual_middle_b): New globals.
135 * gdb.cp/virtbase.exp: New tests.
136
137 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
138
139 * gdb.base/jit.exp: New file.
140 * gdb.base/jit-main.c: New file.
141 * gdb.base/jit-solib.c: New file.
142
143 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
144
145 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
146 proceed to initial kernel entry point.
147 * gdb.opencl/datatypes.exp: Likewise.
148 * gdb.opencl/operators.exp: Likewise.
149 * gdb.opencl/vec_comps.exp: Likewise.
150
151 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
152
153 * gdb.cp/nsnested.cc: New.
154 * gdb.cp/nsnested.exp: New.
155 * gdb.cp/nsnoimports.exp: New.
156 * gdb.cp/nsnoimports.cc: New.
157
158 2011-01-31 Joel Brobecker <brobecker@adacore.com>
159
160 * gdb.base/interact.exp: Add extra tests that verify that
161 the value of the interactive-mode setting does not change
162 after the script is sourced.
163
164 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 * gdb.cp/noparam.exp: New file.
167 * gdb.cp/noparam.cc: New file.
168
169 2011-01-28 Pedro Alves <pedro@codesourcery.com>
170
171 * gdb.trace/tfile.exp: Test that with no traceframe selected,
172 there's no stack or registers.
173
174 2011-01-26 Tom Tromey <tromey@redhat.com>
175
176 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
177 space before string output. Add test for "set print pretty off"
178 case.
179
180 2011-01-25 Pedro Alves <pedro@codesourcery.com>
181
182 * gdb.base/frame-args.exp: Adjust.
183 * gdb.dwarf2/dw2-noloc.exp: Adjust.
184 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
185 * gdb.dwarf2/pieces.exp: Adjust.
186 * gdb.opt/clobbered-registers-O2.exp: Adjust.
187 * gdb.opt/inline-locals.exp: Adjust.
188 * gdb.threads/fork-child-threads.exp: Adjust.
189
190 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
191
192 * gdb.opencl/convs_casts.cl: Move program scope variables into the
193 OpenCL kernel function. Add a comment as marker. Add address space
194 qualifiers for the remaining program scope variables.
195 * gdb.opencl/datatypes.cl: Likewise.
196 * gdb.opencl/operators.cl: Likewise.
197 * gdb.opencl/vec_comps.cl: Likewise.
198 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
199 Add breakpoint at the marker comment.
200 * gdb.opencl/datatypes.exp: Likewise.
201 * gdb.opencl/operators.exp: Likewise.
202 * gdb.opencl/vec_comps.exp: Likewise.
203
204 2011-01-24 Pedro Alves <pedro@codesourcery.com>
205
206 * gdb.base/printcmds.c (some_struct): New struct and instance.
207 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
208 procedure.
209 <global scope>: Call it.
210
211 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
212
213 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
214 argument to the gdb_compile_opencl_hostapp call.
215
216 2011-01-19 Yao Qi <yao@codesourcery.com>
217
218 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
219 positve list.
220
221 2011-01-19 Yao Qi <yao@codesourcery.com>
222
223 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
224 canonical form.
225 Remove "xscale-*-*"
226 * gdb.xml/tdesc-regs.exp: Likewise.
227 * gdb.python/py-section-script.exp: Replace ARM target triplet
228 with canonical form.
229 Match arm*-*-symbianelf*.
230 * gdb.base/dup-sect.exp: Likewise.
231 * lib/dwarf.exp: New.
232 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
233 dwarf2_support.
234 * gdb.dwarf2/dup-psym.exp: Likewise.
235 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
237 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
238 * gdb.dwarf2/dw2-basic.exp: Likewise.
239 * gdb.dwarf2/dw2-compressed.exp: Likewise.
240 * gdb.dwarf2/dw2-const.exp: Likewise.
241 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
242 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
243 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
244 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
245 * gdb.dwarf2/dw2-filename.exp: Likewise.
246 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
247 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
248 * gdb.dwarf2/dw2-intercu.exp: Likewise.
249 * gdb.dwarf2/dw2-intermix.exp: Likewise.
250 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
251 * gdb.dwarf2/dw2-noloc.exp: Likewise.
252 * gdb.dwarf2/dw2-op-call.exp: Likewise.
253 * gdb.dwarf2/dw2-producer.exp: Likewise.
254 * gdb.dwarf2/dw2-ranges.exp: Likewise.
255 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
256 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
257 * gdb.dwarf2/dw2-strp.exp: Likewise.
258 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
259 * gdb.dwarf2/implptr.exp: Likewise.
260 * gdb.dwarf2/mac-fileno.exp: Likewise.
261 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
262 * gdb.dwarf2/pieces.exp: Likewise.
263 * gdb.dwarf2/pr11465.exp: Likewise.
264 * gdb.dwarf2/valop.exp: Likewise.
265 * gdb.dwarf2/watch-notconst.exp: Likewise.
266 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
267
268 2011-01-19 Tom Tromey <tromey@redhat.com>
269
270 * gdb.python/py-infthread.exp: Add thread tests.
271
272 2011-01-14 Joel Brobecker <brobecker@adacore.com>
273
274 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
275
276 2011-01-14 Joel Brobecker <brobecker@adacore.com>
277
278 * gdb.ada/widewide: New testcase.
279
280 2011-01-13 Joel Brobecker <brobecker@adacore.com>
281
282 * gdb.base/interact.exp: New testcase.
283
284 2011-01-12 Tom Tromey <tromey@redhat.com>
285
286 * gdb.mi/gdb2549.exp: Update for error message changes.
287 * gdb.mi/mi-cli.exp: Likewise.
288 * gdb.mi/mi-disassemble.exp: Likewise.
289 * gdb.mi/mi-pthreads.exp: Likewise.
290 * gdb.mi/mi-regs.exp: Likewise.
291 * gdb.mi/mi-stack.exp: Likewise.
292 * gdb.mi/mi-var-block.exp: Likewise.
293 * gdb.mi/mi-var-cmd.exp: Likewise.
294 * gdb.mi/mi2-cli.exp: Likewise.
295 * gdb.mi/mi2-disassemble.exp: Likewise.
296 * gdb.mi/mi2-pthreads.exp: Likewise.
297 * gdb.mi/mi2-regs.exp: Likewise.
298 * gdb.mi/mi2-stack.exp: Likewise.
299 * gdb.mi/mi2-var-block.exp: Likewise.
300 * gdb.mi/mi2-var-cmd.exp: Likewise.
301
302 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
303 Jan Kratochvil <jan.kratochvil@redhat.com>
304
305 PR fortran/11104 and DWARF unbound arrays detection.
306 * gdb.fortran/multi-dim.exp: New file.
307 * gdb.fortran/multi-dim.f90: New file.
308
309 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
310
311 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
312 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
313 add new tests for opcode dumping.
314
315 2011-01-11 Tom Tromey <tromey@redhat.com>
316
317 * gdb.python/py-infthread.exp: Load gdb-python.exp.
318
319 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
320
321 Convert hardware watchpoints to use breakpoint_ops.
322 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
323 type is not supported.
324 * gdb.base/foll-fork.exp: Likewise.
325 * gdb.base/foll-vfork.exp: Likewise.
326
327 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
328
329 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
330 Use load_lib gdb-python.exp.
331 * gdb.python/python.exp: Ditto.
332 * gdb.python/py-function.exp: Ditto.
333
334 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
335
336 * gdb.threads/tls.exp ("info address me"): Fix expected output.
337
338 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
339
340 * configure: Regenerate.
341
342 2011-01-06 Tom Tromey <tromey@redhat.com>
343
344 * gdb.python/py-frame.exp: Test gdb.newest_frame.
345
346 2011-01-06 Joel Brobecker <brobecker@adacore.com>
347
348 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
349 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
350 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
351 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
352 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
353 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
354 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
355 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
356 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
357 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
358 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
359 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
360 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
361 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
362 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
363 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
364 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
365 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
366 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
367 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
368 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
369 gdb.ada/uninitialized_vars.exp,
370 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
371 Simplify by using clean_restart.
372
373 2011-01-06 Joel Brobecker <brobecker@adacore.com>
374
375 Add marker to be used as anchor for inserting breakpoints.
376 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
377 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
378 Likewise.
379
380 Remove uses of gdb_start_cmd.
381 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
382 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
383
384 Do not run testcase if testing with GDBserver.
385 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
386 if testing with GDBserver.
387
388 2011-01-06 Joel Brobecker <brobecker@adacore.com>
389
390 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
391 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
392 copyright header.
393
394 2011-01-05 Joel Brobecker <brobecker@adacore.com>
395
396 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
397 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
398 testsuite/gdb.fortran/complex.f,
399 testsuite/gdb.fortran/derived-type.f90,
400 testsuite/gdb.fortran/library-module-lib.f90,
401 testsuite/gdb.fortran/library-module-main.f90,
402 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
403 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
404 Copyright year update.
405
406 2011-01-05 Joel Brobecker <brobecker@adacore.com>
407
408 * gdb.base/langs1.f: Add copyright header.
409
410 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
411
412 * gdb.base/morestack.exp: New file.
413 * gdb.base/morestack.c: New file.
414
415 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
416
417 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
418
419 2010-12-29 Joel Brobecker <brobecker@adacore.com>
420
421 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
422 * gdb.ada/arrayptr.exp: Add test printing that new variable.
423
424 2010-12-29 Joel Brobecker <brobecker@adacore.com>
425
426 * gdb.ada/lang_switch.exp: Correct expected parameter value.
427
428 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
429
430 * gdb.threads/tls.exp: Fix typo.
431
432 * gdb.threads/thread-specific.exp (get_thread_list): Update.
433 * gdb.threads/execl.exp: Update.
434
435 2010-12-23 Yao Qi <yao@codesourcery.com>
436
437 * gdb.arch/arm-disp-step.exp: New.
438 * gdb.arch/arm-disp-step.S: New.
439
440 2010-12-21 Tom Tromey <tromey@redhat.com>
441
442 * gdb.threads/execl.exp: Update.
443 * gdb.threads/linux-dp.exp: Update.
444 * gdb.threads/manythreads.exp: Update.
445 * gdb.threads/tls.exp: Update.
446
447 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
450 (NextOverThrowDerivates) <resumebpt>: New.
451 (resumebpt_test): New.
452 (main): Call resumebpt_test.
453 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
454
455 2010-12-12 Stan Shebs <stan@codesourcery.com>
456
457 * gdb.trace/tsv.exp: Test print command on trace state variables.
458
459 2010-12-09 Tom Tromey <tromey@redhat.com>
460
461 * gdb.base/interp.exp: Add regression test.
462
463 2010-12-09 Tom Tromey <tromey@redhat.com>
464
465 * gdb.java/jnpe.java: New file.
466 * gdb.java/jnpe.exp: New file.
467 * gdb.cp/nextoverthrow.exp: New file.
468 * gdb.cp/nextoverthrow.cc: New file.
469
470 2010-12-07 Doug Evans <dje@google.com>
471
472 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
473 of data-directory.
474 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
475 updated.
476 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
477
478 2010-11-29 Michael Snyder <msnyder@vmware.com>
479
480 * gdb.base/callfuncs.exp: Test for skip_float_tests.
481 * gdb.base/call-sc.exp: Ditto.
482 * gdb.base/finish.exp: Ditto.
483 * gdb.base/return.exp: Ditto.
484 * gdb.base/return2.exp: Ditto.
485
486 2010-11-30 Doug Evans <dje@google.com>
487
488 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
489 (gdb_expect_list): Fix spelling errors in comments.
490 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
491 send_gdb/gdb_expect_list where applicable.
492 * gdb.base/call-ar-st.exp: Ditto.
493 * gdb.base/funcargs.exp: Ditto.
494 * gdb.base/gcore.exp: Ditto.
495 * gdb.base/page.exp: Ditto.
496 * gdb.base/sigaltstack.exp: Ditto.
497 * gdb.base/siginfo.exp: Ditto.
498 * gdb.base/sigstep.exp: Ditto.
499 * gdb.base/trace-commands.exp: Ditto.
500
501 2010-11-29 Doug Evans <dje@google.com>
502
503 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
504 printer-name;subprinter-name.
505
506 2010-11-29 Tom Tromey <tromey@redhat.com>
507
508 * gdb.dwarf2/implptr.exp: New file.
509 * gdb.dwarf2/implptr.c: New file.
510 * gdb.dwarf2/implptr.S: New file.
511
512 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
513
514 PR python/12199
515
516 * gdb.python/py-breakpoint.exp: Test the delete method.
517
518 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
519
520 Fix step_resume_breakpoint unsaved during an infcall.
521 * gdb.base/step-resume-infcall.exp: New file.
522 * gdb.base/step-resume-infcall.c: New file.
523
524 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
525
526 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
527
528 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
529
530 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
531 on ppc64's symbols; "finish" and "return" commands must accept to
532 show the caller line again as well as the line after.
533 * gdb.asm/powerpc64.inc: New file.
534
535 2010-11-23 Doug Evans <dje@google.com>
536
537 * lib/gdb.exp (gdb_test_sequence): New function.
538 (gdb_expect_list): Add verbose -log call for each pattern.
539 * gdb.base/signals.exp (test_handle_all_print): Call it.
540 Reduce timeout increment from 6 minutes to 1 minute.
541 * gdb.server/ext-run.exp: Call it.
542
543 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
544
545 PR python/12212
546
547 * gdb.python/python.exp: Check that selected_thread raises an
548 error when no inferior is loaded.
549
550 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
551
552 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
553 * gdb.dwarf2/dw2-stack-boundary.S: New file.
554
555 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
556
557 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
558 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
559
560 2010-11-18 Doug Evans <dje@google.com>
561
562 * gdb.server/ext-run.exp: Fix intermittent failures.
563
564 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
565
566 * gdb.stabs/gdb11479.exp: Use runto_main.
567
568 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
569
570 * gdb.base/break-entry.exp: Skip if using a stub.
571
572 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
573
574 * gdb.python/py-inferior.exp: Pack values in target endianness.
575
576 2010-11-12 Tom Tromey <tromey@redhat.com>
577
578 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
579 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
580 MemoryError.
581 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
582 type.
583 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
584 MemoryError.
585 (test_subscript_regression): Update exception type.
586
587 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
588
589 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
590 breakpoint tests.
591
592 2010-11-09 Pedro Alves <pedro@codesourcery.com>
593
594 * gdb.base/watchpoint.exp: Test "watch -location" with an
595 innacessible location.
596
597 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
598 Luis Machado <luisgpm@br.ibm.com>
599
600 * gdb.base/maint.exp: Expect "." prefix.
601 * gdb.base/nodebug.exp: Expect "." Likewise.
602 * gdb.base/sepsymtab.exp: Expect "." Likewise.
603 * gdb.base/watchpoint-cond-gone.exp: Likewise.
604 * gdb.base/watchpoint.exp: Expect a software watch to be created for
605 POWER server processors.
606
607 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
608 Luis Machado <luisgpm@br.ibm.com>
609
610 * gdb.base/break-entry.exp: convert entry point for
611 ppc64 and expect leading `.' on ppc64's symbols
612
613 2010-11-05 Doug Evans <dje@google.com>
614
615 * gdb.base/help.exp: Update expected output.
616 * gdb.python/py-param.exp: Delete, contents moved to ...
617 * gdb.python/py-parameter.exp: ... here. New file.
618 Add test for gdb.parameter ("directories").
619
620 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
621
622 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
623 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
624 * configure: Regenerate.
625 * gdb.opencl/Makefile.in: New File.
626 * gdb.opencl/datatypes.exp: Likewise.
627 * gdb.opencl/datatypes.cl: Likewise.
628 * gdb.opencl/operators.exp: Likewise.
629 * gdb.opencl/operators.cl: Likewise.
630 * gdb.opencl/vec_comps.exp: Likewise.
631 * gdb.opencl/vec_comps.cl: Likewise.
632 * gdb.opencl/convs_casts.exp: Likewise.
633 * gdb.opencl/convs_casts.cl: Likewise.
634 * lib/opencl.exp: Likewise.
635 * lib/opencl_hostapp.c: Likewise.
636 * lib/opencl_kernel.cl: Likewise.
637 * lib/cl_util.c: Likewise.
638 * lib/cl_util.c: Likewise.
639 * gdb.base/default.exp (set language): Add "opencl" to the list of
640 languages.
641
642 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
643
644 * gdb.cp/overload.exp: Added test for inheritance overload.
645 * gdb.cp/overload.cc: Ditto.
646 * gdb.cp/oranking.exp: Removed releveant kfails.
647
648 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
649 Joel Brobecker <brobecker@adacore.com>
650
651 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
652 check test_compiler_info.
653
654 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
655
656 * gdb.base/gnu_vector.exp: Adjust expect messages.
657
658 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
659
660 * gdb.base/gnu_vector.exp: Add unary operator tests.
661
662 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
663
664 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
665
666 2010-11-02 Doug Evans <dje@google.com>
667
668 * gdb.python/py-pp-maint.c: New file.
669 * gdb.python/py-pp-maint.exp: New file.
670 * gdb.python/py-pp-maint.py: New file.
671
672 2010-11-02 Tom Tromey <tromey@redhat.com>
673
674 * gdb.base/default.exp: Remove "scheme" from language list.
675
676 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
677
678 Revert:
679 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
680 * gdb.threads/sigstep-threads.exp: New file.
681 * gdb.threads/sigstep-threads.c: New file.
682
683 2010-10-20 Michael Snyder <msnyder@vmware.com>
684
685 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
686
687 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
688
689 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
690 Skip test completely if gdb,no_hardware_watchpoints.
691
692 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
693
694 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
695 strict, but do not check for any particular function name within libc.
696
697 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
698
699 * gdb.cp/smartp.exp: New test.
700 * gdb.cp/smartp.cc : New test.
701
702 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
703
704 * gdb.cp/converts.exp: Test pointer to bool conversion.
705 Test pointer to long conversion.
706 * gdb.cp/oranking.exp: Removed relevant kfail.
707
708 2010-10-18 Tom Tromey <tromey@redhat.com>
709
710 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
711 argument to lazy_string.
712 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
713 (pp_ls.to_string): Use it.
714 * gdb.python/py-prettyprint.c (main): Move declarations to top.
715 Add "estring2" local.
716
717 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
718
719 Fix s390x compatibility.
720 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
721 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
722
723 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
724
725 * gdb.threads/sigstep-threads.exp: New file.
726 * gdb.threads/sigstep-threads.c: New file.
727
728 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
729
730 * gdb.base/pie-execl.exp: New file.
731 * gdb.base/pie-execl.c: New file.
732
733 2010-10-13 Doug Evans <dje@google.com>
734 Jan Kratochvil <jan.kratochvil@redhat.com>
735
736 PR exp/12117
737 * gdb.cp/ptype-cv-cp.cc: New file.
738 * gdb.cp/ptype-cv-cp.exp: New file.
739
740 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
741
742 * gdb.cp/converts.cc: New test program.
743 * gdb.cp/converts.exp: New test.
744 * gdb.cp/overload.exp: Added test for void* vs int*.
745 * gdb.cp/overload.exp: Ditto.
746 * gdb.cp/oranking.exp: Removed related kfail.
747
748 2010-10-13 Doug Evans <dje@google.com>
749
750 * lib/gdb-python.exp (gdb_check_python_config): New function.
751 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
752 * gdb.python/lib-types.cc: New file.
753 * gdb.python/lib-types.exp: New file.
754
755 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 * gdb.python/py-error.exp: New file.
758 * gdb.python/py-error.py: New file.
759
760 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
761
762 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
763 gdb_test_multiple.
764
765 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
766
767 * gdb.base/break-interp.exp: Use ldlags for linking flags.
768 * gdb.base/prelink.exp: Likewise.
769 * gdb.base/solib-nodir.exp: Likewise.
770 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
771 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
772 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
773
774 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
775
776 * break-interp.exp (test_ld): Use two separate gdb_expect statements
777 for the "info files" test to avoid timeouts on slow machines.
778
779 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
780
781 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
782 (main): Make openlib dummy call.
783
784 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
785
786 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
787 * break-interp.exp (reach): Move the core body ...
788 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
789 (test_ld): Provide always real argument, even to the linker. Replace
790 dl_main by _dl_debug_state.
791
792 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 Fix results of prelinked PIEs on ppc*.
795 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
796 Accept also DISPLACEMENT "PRESENT".
797 (main): Replace "ZERO" displacements by "PRESENT".
798
799 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
800
801 * gdb.cp/oranking.exp: New test.
802 * gdb.cp/oranking.cc: New test program.
803
804 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
805
806 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
807 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
808
809 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
810
811 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
812 lush, lynx) New constant.
813 * gdb.base/constvars.exp: Test const array types.
814 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
815
816 2010-10-06 Doug Evans <dje@google.com>
817
818 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
819 of syscall staging area.
820
821 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
822
823 * gdb.base/gnu_vector.c: Add variable c4.
824 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
825 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
826
827 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
828
829 * gdb.arch/altivec-abi.exp: Fix a typo.
830
831 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
832
833 * lib/mi-support.exp (thread_selected_re): Correct pattern used
834 to match a thread ID.
835
836 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
837
838 Fix s390x testcase compatibility.
839 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
840
841 2010-10-01 Doug Evans <dje@google.com>
842
843 * lib/gdb-python.exp: New file.
844 * gdb.python/py-block.exp: Use it.
845 * gdb.python/py-breakpoint.exp: Ditto.
846 * gdb.python/py-frame.exp: Ditto.
847 * gdb.python/py-inferior.exp: Ditto.
848 * gdb.python/py-param.exp: Ditto.
849 * gdb.python/py-prettyprint.exp: Ditto.
850 * gdb.python/py-shared.exp: Ditto.
851 * gdb.python/py-symbol.exp: Ditto.
852 * gdb.python/py-symtab.exp: Ditto.
853 * gdb.python/py-type.exp: Ditto.
854 * gdb.python/py-value.exp: Ditto.
855 * gdb.python/python.exp: Ditto.
856
857 2010-09-30 Tom Tromey <tromey@redhat.com>
858
859 * gdb.base/anon.exp: New file.
860 * gdb.base/anon.c: New file.
861
862 2010-09-30 Tom Tromey <tromey@redhat.com>
863
864 * gdb.base/completion.exp: Test completion through anonymous
865 union.
866 * gdb.base/break1.c (struct some_struct): Add anonymous union.
867
868 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
869
870 Fix printing parameters of inlined functions.
871 * gdb.dwarf2/dw2-inline-param.exp: New file.
872 * gdb.dwarf2/dw2-inline-param-main.c: New file.
873 * gdb.dwarf2/dw2-inline-param.S: New file.
874
875 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
876
877 PR corefiles/12071.
878 * gdb.base/corefile.exp (quit with a process, no question: load core)
879 (quit with a core file): New tests.
880
881 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
882
883 Fix GDB crash on inferior calls with self-referencing classes.
884 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
885 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
886 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
887
888 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 Fix lost siginfo_t for inferior calls.
891 * gdb.base/siginfo-infcall.exp: New file.
892 * gdb.base/siginfo-infcall.c: New file.
893
894 2010-09-22 Joel Brobecker <brobecker@adacore.com>
895
896 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
897
898 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
899
900 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
901 New test.
902 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
903
904 2010-09-22 Joel Brobecker <brobecker@adacore.com>
905
906 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
907 type of our const type.
908
909 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
910
911 * gdb.cp/pr12028.cc: New.
912 * gdb.cp/pr12028.exp: New.
913
914 2010-09-22 Joel Brobecker <brobecker@adacore.com>
915
916 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
917
918 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
919 Jan Kratochvil <jan.kratochvil@redhat.com>
920
921 PR mi/11407
922 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
923 * gdb.mi/dw2-ref-missing-frame-main.c New File.
924 * gdb.mi/dw2-ref-missing-frame.S New File.
925 * gdb.mi/dw2-ref-missing-frame.exp New File.
926
927 2010-09-14 Tom Tromey <tromey@redhat.com>
928
929 PR symtab/8399:
930 * gdb.threads/tls.exp: Remove kfail. Update expected output.
931
932 2010-09-14 Tom Tromey <tromey@redhat.com>
933
934 PR exp/11803:
935 * gdb.threads/tls.exp: Use C++.
936 (check_thread_local): Use K::another_thread_local.
937 * gdb.threads/tls.c (class K): New.
938 (another_thread_local): Now a member of K.
939 (spin): Update. No longer K&R C.
940
941 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
942
943 * gdb.cp/koenig.cc: created class for testing member lookup.
944 * gdb.cp/koenig.exp: Added test for member lookup.
945
946 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 Fix false FAILs on sourcetree topdir directory containing "kill".
949 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
950 source line matching regexp.
951
952 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
953
954 * gdb.python/python.exp (set height 0, collect help from uiout)
955 (verify help to uiout): New tests.
956
957 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
958
959 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
960 is_lp64_target to check 64bit target.
961
962 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
963
964 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
965 (test_ld) <powerpc64-*>: New.
966
967 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
968
969 * gdb.cp/templates.exp (test_template_args): Allow "struct".
970
971 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
972
973 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
974 (FunctionArg::method): New function.
975 (empty, arg): New variables.
976 (main): Call arg.method.
977 * gdb.cp/templates.exp (test_template_args): New function.
978 (do_tests): Call it.
979
980 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
981
982 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
983 of "next" to proceed over pthread_exit call.
984
985 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
986
987 * gdb.base/maint.exp: Avoid wildcards against potentially very long
988 "maint print statistics" output to prevent expect timeouts.
989
990 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
991
992 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
993 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
994 (test_float_rejected): ... here.
995 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
996 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
997 (test_float_rejected): ... here.
998 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
999 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1000 (test_float_rejected): ... here.
1001 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1002 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1003 (test_float_rejected): ... here.
1004
1005 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1006
1007 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1008 before disabling hardware watchpoints.
1009 (test_inaccessible_watchpoint): Check that hardware watchpoints
1010 are used. Test for watchpoints on a constant address.
1011
1012 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1013
1014 * gdb.base/ui-redirect.exp: New file.
1015
1016 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1017 Joel Brobecker <brobecker@adacore.com>
1018
1019 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1020
1021 2010-08-31 Doug Evans <dje@google.com>
1022
1023 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1024
1025 2010-08-30 Tom Tromey <tromey@redhat.com>
1026
1027 PR python/11792:
1028 * gdb.python/py-value.exp (test_subscript_regression): Add
1029 dynamic_type test.
1030
1031 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1032
1033 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1034 instead of running to main. Do not test the main function.
1035 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1036 Add new main.
1037
1038 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1039
1040 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1041 one test.
1042
1043 2010-08-24 Doug Evans <dje@google.com>
1044
1045 PR symtab/11942
1046 * gdb.dwarf2/dw4-sig-types.cc: New file.
1047 * gdb.dwarf2/dw4-sig-types.h: New file.
1048 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1049 * gdb.dwarf2/dw4-sig-types.exp: New file.
1050
1051 2010-08-23 Tom Tromey <tromey@redhat.com>
1052
1053 PR python/11145:
1054 * gdb.python/py-value.c (Base, Derived): New types.
1055 (base): New global.
1056 * gdb.python/py-value.exp (test_subscript_regression): Add
1057 dynamic_cast test.
1058
1059 2010-08-23 Tom Tromey <tromey@redhat.com>
1060
1061 PR python/10676:
1062 * gdb.python/py-type.exp (test_fields): Add tests for type
1063 equality.
1064
1065 2010-08-23 Tom Tromey <tromey@redhat.com>
1066
1067 PR python/11915:
1068 * gdb.python/py-type.exp (test_fields): Add tests for array.
1069
1070 2010-08-23 Keith Seitz <keiths@redhat.com>
1071
1072 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1073 have any children. Create a new abbrev for it.
1074 Add missing terminal sequence to .debug_abbrev.
1075
1076 2010-08-20 Keith Seitz <keiths@redhat.com>
1077
1078 PR symtab/11465:
1079 * gdb.dwarf2/pr11465.exp: New test.
1080 * gdb.dwarf2/pr11465.S: New file.
1081 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1082 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1083
1084 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1085
1086 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1087 registers. Update data sets with the new v2_double element in the
1088 VSX register union. Add vector_register3_vr data set for the AltiVec
1089 registers. Use gdb_test_no_output instead of send_gdb.
1090
1091 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1092
1093 * gdb.python/py-shared.exp: New file, factored out from
1094 python.exp.
1095 * gdb.python/py-shared.c: New file.
1096 * gdb.python/py-shared-sl.c: New file.
1097 * gdb.python/python-1.c: New file.
1098 * gdb.python/python-sl.c: Delete.
1099 * gdb.python/python.c: Mention python-1.c.
1100 * gdb.python/python.exp: Move shared library tests to
1101 py-shared.exp.
1102 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1103 (MISCELLANEOUS): New.
1104 (clean mostlyclean): Also remove $MISCELLANEOUS.
1105
1106 2010-08-19 Doug Evans <dje@google.com>
1107
1108 PR exp/11926
1109 * gdb.base/printcmds.exp (test_float_accepted): New function.
1110 Move existing float tests there. Add tests for floats with suffixes.
1111 (test_float_rejected): New function.
1112 * gdb.java/jv-print.exp (test_float_accepted): New function.
1113 (test_float_rejected): New function.
1114 * gdb.objc/print.exp: New file.
1115 * gdb.pascal/print.exp: New file.
1116 * lib/objc.exp: New file.
1117
1118 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1119
1120 * gdb.base/default.exp (info set): Avoid full buffer error and force
1121 reading up to final gdb prompt.
1122 (show): Likewise.
1123
1124 2010-08-18 Tom Tromey <tromey@redhat.com>
1125
1126 PR symtab/11919:
1127 * gdb.base/completion.exp: Add test.
1128
1129 2010-08-18 Doug Evans <dje@google.com>
1130
1131 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1132 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1133 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1134 Simplify, early exit if runto_main fails.
1135 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1136 (set_lang_fortran): Moved to lib/fortran.exp.
1137 * gdb.fortran/types.exp: load_lib fortran.exp.
1138 (set_lang_fortran): Moved to lib/fortran.exp.
1139 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1140 * gdb.java/jprint.exp (set_lang_java): Ditto.
1141 * gdb.java/jv-exp.exp: load_lib java.exp.
1142 If set_lang_java fails, issue a warning instead of failure to be
1143 consistent with other set_lang_foo uses.
1144 (set_lang_java): Moved to lib/java.exp.
1145 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1146 If set_lang_java fails, issue a warning instead of failure to be
1147 consistent with other set_lang_foo uses.
1148 * gdb.pascal/types.exp: load_lib pascal.exp.
1149 (set_lang_pascal): Moved to lib/pascal.exp.
1150 * lib/fortran.exp: New file.
1151 * lib/java.exp (set_lang_java): New function.
1152 * lib/pascal.exp (set_lang_pascal): New function.
1153
1154 2010-08-18 Yao Qi <yao@codesourcery.com
1155
1156 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1157 func_nofb_start and func_loopfb_start, so that address of functions
1158 is equal to these labels on Thumb.
1159
1160 2010-08-18 Yao Qi <yao@codesourcery.com>
1161
1162 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1163 to reflect latest c source file.
1164
1165 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1166
1167 * gdb.cp/infcall-dlopen.exp: New file.
1168 * gdb.cp/infcall-dlopen.cc: New file.
1169 * gdb.cp/infcall-dlopen-lib.cc: New file.
1170
1171 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1172 Pedro Alves <pedro@codesourcery.com>
1173
1174 PR breakpoints/11371
1175
1176 * gdb.base/watch-cond-infcall.exp: New file.
1177 * gdb.base/watch-cond-infcall.c: New file.
1178
1179 2010-08-16 Tom Tromey <tromey@redhat.com>
1180
1181 * gdb.base/help.exp: Update.
1182 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1183 watchpoint.
1184 (test_watch_location): New proc.
1185 (test_watchpoint_in_big_blob): Delete watchpoint.
1186 * gdb.base/watchpoint.c (func5): New function.
1187 (main): Call it.
1188
1189 2010-08-16 Doug Evans <dje@google.com>
1190
1191 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1192
1193 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1194
1195 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1196 tests.
1197
1198 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1199
1200 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1201 * gdb.base/gnu_vector.c: New File.
1202 * gdb.base/gnu_vector.exp: Likewise.
1203
1204 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1205
1206 * gdb.python/python.c: New File.
1207 * gdb.python/python-sl.c: New File.
1208 * gdb.python/python.exp: Test solib_address and decode_line
1209 * functions.
1210
1211 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.python/python.exp (show height, set height 10)
1214 (verify pagination beforehand, verify pagination beforehand: q)
1215 (gdb.execute does not page, verify pagination afterwards)
1216 (verify pagination afterwards: q): New.
1217
1218 2010-08-02 Doug Evans <dje@google.com>
1219
1220 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1221 because of an older gcc, change test2
1222 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1223 to unsupported.
1224
1225 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1226
1227 * gdb.base/break-always.exp: Do not expect full paths to file
1228 names.
1229 * gdb.base/commands.exp: Likewise.
1230
1231 2010-07-30 Doug Evans <dje@google.com>
1232
1233 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1234 xfail them when run with older gccs.
1235
1236 * lib/gdb.exp (build_executable): Forward "c++" option to
1237 get_compiler_info.
1238
1239 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1240 "python print ttype.template_argument(1)" and
1241 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1242 if using gcc 4.4 or earlier.
1243
1244 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1245 attach-to-debugger handling.
1246
1247 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1248
1249 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1250 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1251 (main): Use copyreloc.
1252 * gdb.base/prelink.exp (split debug of executable)
1253 (.dynbss vs. .bss address shift): New tests.
1254
1255 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1256
1257 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1258 in gdb_test_multiple.
1259
1260 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1261
1262 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1263 environment.
1264
1265 2010-07-28 Tom Tromey <tromey@redhat.com>
1266
1267 PR python/11060:
1268 * gdb.python/py-type.c (Temargs): New template.
1269 (temvar): New variable.
1270 * gdb.python/py-type.exp (test_template): New proc.
1271
1272 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1273
1274 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1275 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1276
1277 2010-07-28 Tom Tromey <tromey@redhat.com>
1278
1279 PR c++/9946:
1280 * gdb.cp/temargs.exp: New file.
1281 * gdb.cp/temargs.cc: New file.
1282
1283 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1284
1285 * gdb.base/help.exp (help disassemble): Update the content.
1286
1287 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1288
1289 * gdb.threads/ia64-sigill.exp: New file.
1290 * gdb.threads/ia64-sigill.c: New file.
1291
1292 2010-07-27 Tom Tromey <tromey@redhat.com>
1293
1294 * gdb.opt/inline-cmds.c (ATTR): New define.
1295 (func1): Use it.
1296 (func2): Likewise.
1297 (func3): Likewise.
1298 (outer_inline1): Likewise.
1299 (outer_inline2): Likewise.
1300 * gdb.opt/inline-bt.c (ATTR): New define.
1301 (func1): Use it.
1302 (func2): Likewise.
1303 * gdb.opt/inline-locals.c (ATTR): New define.
1304 (func1): Use it.
1305 (func2): Likewise.
1306
1307 2010-07-27 Tom Tromey <tromey@redhat.com>
1308
1309 * gdb.stabs/gdb11479.c (hack): New function.
1310 (test): Use it.
1311 (test2): Use it.
1312 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1313 (int32_search_buf, int64_search_buf): No longer static.
1314 (x): Remove.
1315 * gdb.base/relocate.c (hack): New function.
1316
1317 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1318
1319 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1320 * gdb.python/py-value.c (func1): New function.
1321 (func2): Likewise.
1322
1323 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1324
1325 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1326 as not to clash with .data section.
1327
1328 2010-07-26 Jerome Guitton <guitton@adacore.com>
1329
1330 * gdb.base/code_elim.exp: New file.
1331 * gdb.base/code_elim1.c: New file.
1332 * gdb.base/code_elim2.c: New file.
1333
1334 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1335
1336 PR symtab/11827
1337
1338 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1339 (some_volatile_enum): New variable.
1340 * gdb.base/printcmds.exp (test_print_enums): New.
1341 <top level>: Call it.
1342
1343 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1344
1345 * gdb.cp/fpointer.cc: New test.
1346 * gdb.cp/fpointer.exp: New test.
1347
1348 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.base/solib-nodir.exp: New file.
1351 * lib/gdb.exp (runto): New case for a GDB internal error.
1352
1353 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 Ulrich Weigand <uweigand@de.ibm.com>
1355 Tom Tromey <tromey@redhat.com>
1356
1357 * gdb.base/charset-malloc.c: New file.
1358 * gdb.base/charset.c (malloc_stub): New prototype.
1359 (main): Call it instead of malloc itself.
1360 * gdb.base/charset.exp: Use only prepare_for_testing.
1361 (binfile): Remove the variable.
1362
1363 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1364
1365 Make core files the process_stratum.
1366 * gdb.base/corefile.exp (run: load core again)
1367 (run: sanity check we see the core file, run: with core)
1368 (run: core file is cleared, attach: load core again)
1369 (attach: sanity check we see the core file, attach: with core)
1370 (attach: core file is cleared): New tests.
1371 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1372
1373 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1374
1375 * gdb.arch/altivec-abi.exp: New tests.
1376
1377 2010-07-13 Tom Tromey <tromey@redhat.com>
1378
1379 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1380 (main): Use it.
1381 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1382
1383 2010-07-13 Tom Tromey <tromey@redhat.com>
1384
1385 * gdb.base/label.exp: New file.
1386 * gdb.base/label.c: New file.
1387
1388 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1389 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * lib/gdb.exp (is_ilp32_target): New.
1392 (is_lp64_target): Likewise.
1393
1394 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1395 target.
1396 * gdb.arch/amd64-disp-step.exp: Likewise.
1397 * gdb.arch/amd64-dword.exp: Likewise.
1398 * gdb.arch/amd64-i386-address.exp: Likewise.
1399 * gdb.arch/amd64-word.exp: Likewise.
1400
1401 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1402 target.
1403 * gdb.arch/i386-bp_permanent.exp: Likewise.
1404 * gdb.arch/i386-byte.exp: Likewise.
1405 * gdb.arch/i386-disp-step.exp: Likewise.
1406 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1407 * gdb.arch/i386-prologue.exp: Likewise.
1408 * gdb.arch/i386-size-overlap.exp: Likewise.
1409 * gdb.arch/i386-size.exp: Likewise.
1410 * gdb.arch/i386-sse.exp: Likewise.
1411 * gdb.arch/i386-unwind.exp: Likewise.
1412 * gdb.arch/i386-word.exp: Likewise.
1413
1414 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1415 test only when building 64-bit executables. Do not hard-code
1416 -m64 option.
1417
1418 2010-07-07 Doug Evans <dje@google.com>
1419
1420 * lib/gdb.exp (gdb_test_list_exact): New function.
1421 * gdb.base/default.exp (show convenience): Call it, add tests for
1422 $_sdata = void, $_thread = 0.
1423
1424 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1425 Joel Brobecker <brobecker@adacore.com>
1426
1427 Fix re-run of PIE executable, PR shlibs/11776.
1428 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1429 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1430 and re-"run" of the inferior.
1431
1432 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1433 Joel Brobecker <brobecker@adacore.com>
1434
1435 Cope with missing /usr/sbin/prelink.
1436 * lib/prelink-support.exp (prelink_no):
1437 <result == 1 && $output is "no such file or directory">: New.
1438 (prelink_yes): Likewise. Return on failed prelink_no.
1439
1440 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1441 Joel Brobecker <brobecker@adacore.com>
1442
1443 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1444 build_executable by build_executable_own_libs. Replace "prelink -R"
1445 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1446 change.
1447 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1448 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1449 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1450 Replace build_executable by build_executable_own_libs's function
1451 build_executable_own_libs.
1452 (prelinkNO): Create new stub to call prelink_no.
1453 (prelinkYES): Create new stub to call prelink_yes.
1454 (test_attach): Rename calls of copy to file_copy.
1455 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1456 (copy): Move to ...
1457 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1458 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1459 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1460 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1461 special flags by gdb_compile_shlib. Replace second gdb_compile by
1462 build_executable_own_libs. Replace "prelink -R" execution by a call of
1463 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1464 a second call of prelink_yes. Replace restart commands by
1465 clean_restart.
1466 (prelink): Rename to ...
1467 (seen displacement message): ... this test. Extend its expectation
1468 strictness.
1469
1470 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1471
1472 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1473 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1474 displacement message exactly once.
1475
1476 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1477 Joel Brobecker <brobecker@adacore.com>
1478
1479 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1480 its restore after the <$relink_args != ""> loop. new comment.
1481
1482 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1483 Joel Brobecker <brobecker@adacore.com>
1484
1485 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1486 code for it. New variable relink_args.
1487 (prelinkYES): Call prelinkNO.
1488 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1489 in such case. Move the core code to ...
1490 (test_attach_gdb): ... a new function. Send GDB command "file".
1491 Extend expected "Attaching to " string.
1492
1493 2010-07-02 Tom Tromey <tromey@redhat.com>
1494
1495 * gdb.base/bitops.exp: Remove extraneous "pass".
1496
1497 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1498
1499 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1500
1501 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1502
1503 * gdb.base/help.exp: Adjust expected output.
1504
1505 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1506
1507 * gdb.base/help.exp: Adjust expected output.
1508
1509 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1512 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1513 c++/11702.
1514
1515 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1516 Doug Evans <dje@google.com>
1517
1518 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1519 add .dynamic entry'.
1520
1521 2010-06-29 Doug Evans <dje@google.com>
1522
1523 Test PR c++/11702.
1524 * gdb.cp/m-static.exp: Add testcase.
1525 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1526
1527 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1528 Tom Tromey <tromey@redhat.com>
1529 Thiago Jung Bauermann <bauerman@br.ibm.com>
1530
1531 * gdb.python/py-inferior.c: New File.
1532 * gdb.python/py-infthread.c: New File.
1533 * gdb.python/py-inferior.exp: New File.
1534 * gdb.python/py-infthread.exp: New File.
1535
1536 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1537
1538 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1539 (ptype ::C::OtherFileClass typedefs): New.
1540 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1541 (C::OtherFileClass::cOtherFileClassVar2): New.
1542 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1543 cOtherFileClassVar2.
1544 (C::cOtherFileType2, C::cOtherFileVar2): New.
1545 (C::cOtherFileVar_use): use also cOtherFileVar2.
1546 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1547
1548 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1549
1550 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1551 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1552 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1553 (print ::C::cOtherFileVar)
1554 (whatis C::OtherFileClass::cOtherFileClassType)
1555 (whatis ::C::OtherFileClass::cOtherFileClassType)
1556 (print C::OtherFileClass::cOtherFileClassVar)
1557 (print ::cOtherFileClassVar)
1558 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1559 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1560 trailing content.
1561 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1562 (C::OtherFileClass::cOtherFileClassVar)
1563 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1564 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1565
1566 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1567
1568 Test PR c++/11703 and PR gdb/1448.
1569 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1570 gdb/1448.
1571
1572 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1573
1574 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1575 (main) <rtti_data>: New.
1576 * gdb.cp/virtbase.exp (print rtti_data): New.
1577
1578 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1579 Joel Brobecker <brobecker@adacore.com>
1580
1581 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1582
1583 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1584
1585 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1586
1587 2010-06-28 Doug Evans <dje@google.com>
1588
1589 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1590
1591 2010-06-27 Doug Evans <dje@google.com>
1592
1593 * gdb.cp/m-static.exp: Update expected test output.
1594
1595 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1596
1597 * gdb.gdb/selftest.exp: Adjust expected message for
1598 capturing start-up runtime.
1599
1600 2010-06-25 Tom Tromey <tromey@redhat.com>
1601
1602 PR python/10808:
1603 * gdb.python/python.exp: Add new tests.
1604
1605 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1606
1607 * gdb.cp/operator.cc: Created an import loop.
1608 * gdb.cp/operator.exp: Added testcase for import loop.
1609
1610 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1611
1612 Test PR python/11407.
1613 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1614 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1615 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1616 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1617 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1618 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1619 binfile. Call gdb_compile with clean_restart twice.
1620 (func_nofb print, func_nofb backtrace, func_loopfb print)
1621 (func_loopfb backtrace): New.
1622
1623 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1626 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1627 by a hand made one.
1628 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1629 i?86 requirement. Remove variables srcfile and binfile. New variable
1630 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1631
1632 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1633
1634 * gdb.cell/dwarfaddr.exp: New file.
1635 * gdb.cell/dwarfaddr.S: New file.
1636
1637 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 Test PR 9436.
1640 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1641
1642 2010-06-24 Hui Zhu <teawater@gmail.com>
1643
1644 * gdb.base/eval.exp: New file.
1645
1646 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1647
1648 * gdb.cell/fork.exp: New file.
1649 * gdb.cell/fork.c: Likewise.
1650 * gdb.cell/fork-spu.c: Likewise.
1651
1652 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1653
1654 * lib/gdb.exp (banned_variables_traced): New global variable.
1655 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1656 (gdb_init): Use `trace add variable' instead of obsolete
1657 `trace variable'.
1658
1659 2010-06-21 Doug Evans <dje@google.com>
1660
1661 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1662
1663 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1664
1665 * gdb.arch/spu-ls.exp: New file.
1666 * gdb.arch/spu-ls.c: Likewise.
1667
1668 2010-06-18 Stan Shebs <stan@codesourcery.com>
1669
1670 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1671
1672 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1673
1674 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1675 * gdb.base/watch-cond.exp: Likewise.
1676 * gdb.python/py-breakpoint.exp: Likewise.
1677
1678 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1679
1680 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1681 clean_restart, make sure every test has a distinct message, and
1682 that messages don't include the executable' full path.
1683
1684 2010-06-17 Doug Evans <dje@google.com>
1685
1686 * gdb.arch/i386-size.exp: Updated expected output for
1687 DISASSEMBLY_OMIT_FNAME.
1688
1689 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Sergio Durigan Junior <sergiodj@redhat.com>
1691
1692 * gdb.base/watch-notconst.c: New file.
1693 * gdb.base/watch-notconst.S: New file.
1694 * gdb.base/watch-notconst2.c: New file.
1695 * gdb.base/watch-notconst2.S: New file.
1696 * gdb.base/watch-notconst.exp: New file.
1697 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1698 (func4): Add operations on `global_ptr_ptr'.
1699 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1700 routine to test watchpoints created with a constant expression.
1701 (test_inaccessible_watchpoint): Include tests for watchpoints
1702 created with a constant expression.
1703
1704 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1705
1706 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1707 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1708 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1709 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1710 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1711 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1712 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1713 of `_start'.
1714
1715 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1716
1717 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1718 not supported on the target.
1719 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1720 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1721 * gdb.mi/mi-nsintrall.exp: Likewise.
1722 * gdb.mi/mi-nsmoribund.exp: Likewise.
1723 * gdb.mi/mi-nsthrexec.exp: Likewise.
1724
1725 2010-06-11 Stan Shebs <stan@codesourcery.com>
1726
1727 * gdb.base/permissions.exp: New file.
1728
1729 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1730
1731 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1732 does not support ELF executable class.
1733
1734 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1735
1736 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1737
1738 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1739
1740 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1741 (runto): Catch "The target does not support running in non-stop mode.".
1742
1743 2010-06-11 Michael Snyder <msnyder@vmware.com>
1744
1745 * gdb.base/setshow.exp (set language asm): Don't use
1746 gdb_test_no_output, fails on some targets.
1747
1748 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1749
1750 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1751 * gdb.cp/pr9167.exp: Likewise.
1752
1753 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1754
1755 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1756
1757 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1758
1759 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1760
1761 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1762
1763 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1764
1765 2010-06-11 Tom Tromey <tromey@redhat.com>
1766
1767 PR gdb/9977, PR exp/11636::
1768 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1769 (pieces_test_f6): Update expected output.
1770
1771 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1772
1773 * gdb.base/moribund-step.exp: New.
1774
1775 2010-06-08 Michael Snyder <msnyder@vmware.com>
1776
1777 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1778 * gdb.ada/boolean_expr.exp:
1779 * gdb.ada/frame_args.exp: Ditto.
1780 * gdb.ada/lang_switch.exp: Ditto.
1781 * gdb.ada/ptype_arith_binop.exp: Ditto.
1782 * gdb.ada/ref_param.exp: Ditto.
1783 * gdb.ada/type_coercion.exp:Ditto.
1784
1785 * gdb.asm/asm-source.exp: Ditto.
1786
1787 * gdb.base/attach.exp: Ditto.
1788 * gdb.base/bitfields2.exp: Ditto.
1789 * gdb.base/call-signal-resume.exp: Ditto.
1790 * gdb.base/callfuncs.exp: Ditto.
1791 * gdb.base/commands.exp: Ditto.
1792 * gdb.base/dbx.exp: Ditto.
1793 * gdb.base/default.exp: Ditto.
1794 * gdb.base/dump.exp: Ditto.
1795 * gdb.base/exprs.exp: Ditto.
1796 * gdb.base/freebpcmd.exp: Ditto.
1797 * gdb.base/interrupt.exp: Ditto.
1798 * gdb.base/list.exp: Ditto.
1799 * gdb.base/long_long.exp: Ditto.
1800 * gdb.base/maint.exp: Ditto.
1801 * gdb.base/ptype.exp: Ditto.
1802 * gdb.base/return.exp: Ditto.
1803 * gdb.base/setshow.exp: Ditto.
1804 * gdb.base/sigbpt.exp: Ditto.
1805 * gdb.base/sigrepeat.exp: Ditto.
1806
1807 * gdb.cp/classes.exp: Ditto.
1808
1809 * gdb.dwarf2/dw2-restore.exp: Ditto.
1810
1811 * gdb.gdb/selftest.exp: Ditto.
1812
1813 * gdb.multi/base.exp: Ditto.
1814 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1815
1816 * gdb.python/py-block.exp: Ditto.
1817 * gdb.python/py-prettyprint.exp: Ditto.
1818 * gdb.python/py-template.exp: Ditto.
1819
1820 * gdb.server/ext-attach.exp: Ditto.
1821 * gdb.server/ext-run.exp: Ditto.
1822 * gdb.server/server-mon.exp: Ditto.
1823
1824 * gdb.threads/fork-thread-pending.exp: Ditto.
1825 * gdb.threads/hand-call-in-threads.exp: Ditto.
1826 * gdb.threads/interrupted-hand-call.exp: Ditto.
1827 * gdb.threads/linux-dp.exp: Ditto.
1828 * gdb.threads/manythreads.exp: Ditto.
1829 * gdb.threads/print-threads.exp: Ditto.
1830 * gdb.threads/pthreads.exp: Ditto.
1831 * gdb.threads/schedlock.exp: Ditto.
1832 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1833 * gdb.threads/threadapply.exp: Ditto.
1834
1835 2010-06-08 Michael Snyder <msnyder@vmware.com>
1836
1837 * gdb.ada/exec_changed.exp:
1838 Use ".*" instead of "" as wildcard regexp.
1839
1840 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1841 * gdb.base/call-ar-st.exp: Ditto.
1842 * gdb.base/checkpoint.exp: Ditto.
1843 * gdb.base/default.exp: Ditto.
1844 * gdb.base/dump.exp: Ditto.
1845 * gdb.base/ending-run.exp: Ditto.
1846 * gdb.base/fileio.exp: Ditto.
1847 * gdb.base/miscexprs.exp: Ditto.
1848 * gdb.base/pointers.exp: Ditto.
1849 * gdb.base/readline.exp: Ditto.
1850 * gdb.base/reread.exp: Ditto.
1851 * gdb.base/restore.exp: Ditto.
1852 * gdb.base/shlib-call.exp: Ditto.
1853 * gdb.base/valgrind-db-attach.exp: Ditto.
1854 * gdb.base/volatile.exp: Ditto.
1855 * gdb.base/watchpoints.exp: Ditto.
1856
1857 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1858
1859 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1860 * gdb.python/py-value.exp: Ditto.
1861
1862 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1863 * gdb.trace/circ.exp: Ditto.
1864 * gdb.trace/collection.exp: Ditto.
1865 * gdb.trace/packetlen.exp: Ditto.
1866 * gdb.trace/passc-dyn.exp: Ditto.
1867 * gdb.trace/report.exp: Ditto.
1868 * gdb.trace/tfile.exp: Ditto.
1869 * gdb.trace/tfind.exp: Ditto.
1870 * gdb.trace/while-dyn.exp: Ditto.
1871
1872 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1873
1874 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1875
1876 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1877
1878 Test PR 10640.
1879 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1880
1881 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1882
1883 * gdb.cp/koenig.exp: Test for ADL operators.
1884 * gdb.cp/koenig.cc: Added ADL operators.
1885 * gdb.cp/operator.exp: New test.
1886 * gdb.cp/operator.cc: New test.
1887
1888 2010-06-04 Michael Snyder <msnyder@vmware.com>
1889
1890 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1891 * gdb.base/pending.exp: Ditto.
1892
1893 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1894
1895 2010-06-04 Doug Evans <dje@google.com>
1896
1897 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1898 disabled printers.
1899 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1900 (enable_lookup_function): New function.
1901
1902 2010-06-04 Tom Tromey <tromey@redhat.com>
1903
1904 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1905 of hash and id.
1906
1907 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1908
1909 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1910 newline.
1911 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1912 (empty verbose non-noisy clear, empty verbose noisy clear)
1913 (empty non-verbose noisy clear): Likewise.
1914
1915 2010-06-03 Michael Snyder <msnyder@vmware.com>
1916
1917 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1918 * gdb.base/display.exp: Ditto.
1919 * gdb.base/find.exp: Ditto.
1920 * gdb.base/ifelse.exp: Ditto.
1921 * gdb.base/multi-forks.exp: Ditto.
1922 * gdb.base/recurse.exp: Ditto.
1923 * gdb.base/setshow.exp: Ditto.
1924 * gdb.base/value-double-free.exp: Ditto.
1925 * gdb.base/watch-vfork.exp: Ditto.
1926 * gdb.base/watch_thread_num.exp: Ditto.
1927 * gdb.base/watchpoint-solib.exp: Ditto.
1928 * gdb.base/watchpoint.exp: Ditto.
1929 * gdb.base/watchpoints.exp: Ditto.
1930
1931 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1932 * gdb.cp/overload.exp: Ditto.
1933 * gdb.cp/virtfunc.exp: Ditto.
1934
1935 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1936
1937 * gdb.reverse/watch-precsave.exp:
1938 Replace gdb_test with gdb_test_no_output.
1939
1940 * gdb.threads/attach-into-signal.exp:
1941 Replace gdb_test with gdb_test_no_output.
1942 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1943 * gdb.threads/watchthreads.exp: Ditto.
1944 * gdb.threads/watchthreads2.exp: Ditto.
1945
1946 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
1947 * gdb.trace/tfind.exp: Ditto.
1948
1949 2010-06-03 Joel Brobecker <brobecker@adacore.com>
1950
1951 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
1952 successful test if message is the empty string.
1953
1954 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1955
1956 * gdb.fortran/module.exp (stopped language detection): New test.
1957
1958 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1959
1960 Support DW_TAG_module as separate namespaces.
1961 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
1962 gdb.fortran/library-module-lib.f90: New.
1963 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
1964 (print i): Remove.
1965 (continue to breakpoint: i-is-1, print var_i value 1)
1966 (continue to breakpoint: i-is-2, print var_i value 2)
1967 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
1968 (print var_d, print var_i value 14, ptype modmany, complete `modm)
1969 (complete `modmany, complete `modmany`, complete `modmany`var)
1970 (show language, setting breakpoint at module): New tests.
1971 * gdb.fortran/module.f90 (module mod): Remove.
1972 (module mod1, module mod2, module modmany, subroutine sub1)
1973 (subroutine sub2, program module): New.
1974
1975 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1976
1977 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
1978 (print value of rUC, print value of rI, print value of UI): ... here.
1979 * gdb.cp/anon-union.exp (pass): Rename to ...
1980 (print z 2): ... here.
1981
1982 2010-06-02 Michael Snyder <msnyder@vmware.com>
1983
1984 * gdb.trace/actions.exp: Use gdb_test_no_output.
1985 * gdb.trace/circ.exp: Ditto.
1986 * gdb.trace/packetlen.exp: Ditto.
1987 * gdb.trace/save-trace.exp: Ditto.
1988 * gdb.trace/tracecmd.exp: Ditto.
1989 * gdb.trace/tsv.exp: Ditto.
1990
1991 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
1992 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
1993 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1994 * gdb.threads/manythreads.exp: Ditto.
1995 * gdb.threads/print-threads.exp: Ditto.
1996 * gdb.threads/pthreads.exp: Ditto.
1997 * gdb.threads/schedlock.exp: Ditto.
1998 * gdb.threads/staticthreads.exp: Ditto.
1999 * gdb.threads/thread-specific.exp: Ditto.
2000 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2001 * gdb.threads/threadapply.exp: Ditto.
2002 * gdb.threads/watchthreads.exp: Ditto.
2003 * gdb.threads/watchthreads2.exp: Ditto.
2004
2005 * gdb.python/py-block.exp: Use gdb_test_no_output.
2006 * gdb.python/py-prettyprint.exp: Ditto.
2007 * gdb.python/py-template.exp: Ditto.
2008 * gdb.python/py-value.exp: Ditto.
2009
2010 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2011 * gdb.reverse/watch-reverse.exp: Ditto.
2012
2013 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2014 * gdb.server/ext-run.exp: Ditto.
2015
2016 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2017 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2018 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2019 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2020 * gdb.dwarf2/dw2-producer.exp: Ditto.
2021 * gdb.dwarf2/mac-fileno.exp: Ditto.
2022
2023 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2024 * gdb.gdb/selftest.exp: Ditto.
2025
2026 * gdb.multi/base.exp: Use gdb_test_no_output.
2027
2028 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2029
2030 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2031
2032 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2033
2034 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2035
2036 * gdb.cp/class2.exp: Use gdb_test_no_output.
2037 * gdb.cp/classes.exp: Ditto.
2038 * gdb.cp/extern-c.exp: Ditto.
2039 * gdb.cp/inherit.exp: Ditto.
2040 * gdb.cp/maint.exp: Ditto.
2041 * gdb.cp/mb-inline.exp: Ditto.
2042 * gdb.cp/mb-templates.exp: Ditto.
2043 * gdb.cp/method2.exp: Ditto.
2044 * gdb.cp/misc.exp: Ditto.
2045 * gdb.cp/ovldbreak.exp: Ditto.
2046 * gdb.cp/punctuator.exp: Ditto.
2047 * gdb.cp/templates.exp: Ditto.
2048 * gdb.cp/virtbase.exp: Ditto.
2049
2050 * gdb.threads/attach-stopped.exp:
2051 Replace uses of send_gdb / gdb_expect.
2052 * gdb.threads/attachstop-mt.exp:
2053 Replace uses of send_gdb / gdb_expect.
2054 * gdb.threads/gcore-thread.exp:
2055 Replace uses of send_gdb / gdb_expect.
2056 * gdb.threads/hand-call-in-threads.exp:
2057 Replace uses of send_gdb / gdb_expect.
2058 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2059 * gdb.threads/print-threads.exp:
2060 Replace uses of send_gdb / gdb_expect.
2061 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2062 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2063 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2064
2065 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2066 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2067 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2068 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2069 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2070 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2071 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2072 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2073 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2074 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2075 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2076
2077 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2078
2079 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2080
2081 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2082
2083 * gdb.cp/koenig.exp: Added new test case.
2084 * gdb.cp/koenig.cc: Ditto.
2085
2086 2010-06-01 Michael Snyder <msnyder@vmware.com>
2087
2088 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2089 * gdb.base/arrayidx.exp: Ditto.
2090 * gdb.base/attach.exp: Ditto.
2091 * gdb.base/auxv.exp: Ditto.
2092 * gdb.base/bigcre.exp: Ditto.
2093 * gdb.base/break-always.exp: Ditto.
2094 * gdb.base/break-interp.exp: Ditto.
2095 * gdb.base/break.exp: Ditto.
2096 * gdb.base/breakpoint-shadow.exp: Ditto.
2097 * gdb.base/call-ar-st.exp: Ditto.
2098 * gdb.base/call-sc.exp: Ditto.
2099 * gdb.base/call-signal-resume.exp: Ditto.
2100 * gdb.base/callfuncs.exp: Ditto.
2101 * gdb.base/catch-syscall.exp: Ditto.
2102 * gdb.base/charset.exp: Ditto.
2103 * gdb.base/code-expr.exp: Ditto.
2104 * gdb.base/commands.exp: Ditto.
2105 * gdb.base/cond-expr.exp: Ditto.
2106 * gdb.base/condbreak.exp: Ditto.
2107 * gdb.base/cursal.exp: Ditto.
2108 * gdb.base/cvexpr.exp: Ditto.
2109 * gdb.base/default.exp: Ditto.
2110 * gdb.base/del.exp: Ditto.
2111 * gdb.base/detach.exp: Ditto.
2112 * gdb.base/display.exp: Ditto.
2113 * gdb.base/ena-dis-br.exp: Ditto.
2114 * gdb.base/eval-skip.exp: Ditto.
2115 * gdb.base/foll-fork.exp: Ditto.
2116 * gdb.base/foll-vfork.exp: Ditto.
2117 * gdb.base/frame-args.exp: Ditto.
2118 * gdb.base/funcargs.exp: Ditto.
2119 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2120 * gdb.base/gdbvars.exp: Ditto.
2121 * gdb.base/help.exp: Ditto.
2122 * gdb.base/ifelse.exp: Ditto.
2123 * gdb.base/included.exp: Ditto.
2124 * gdb.base/list.exp: Ditto.
2125 * gdb.base/macscp.exp: Ditto.
2126 * gdb.base/maint.exp: Ditto.
2127 * gdb.base/multi-fork.exp: Ditto.
2128 * gdb.base/overlays.exp: Ditto.
2129 * gdb.base/page.exp: Ditto.
2130 * gdb.base/pending.exp: Ditto.
2131 * gdb.base/pointers.exp: Ditto.
2132 * gdb.base/pr11022.exp: Ditto.
2133 * gdb.base/prelink.exp: Ditto.
2134 * gdb.base/printcmds.exp: Ditto.
2135 * gdb.base/psymtab.exp: Ditto.
2136 * gdb.base/randomize.exp: Ditto.
2137 * gdb.base/relational.exp: Ditto.
2138 * gdb.base/relocate.exp: Ditto.
2139 * gdb.base/remote.exp: Ditto.
2140 * gdb.base/sepdebug.exp: Ditto.
2141 * gdb.base/set-lang-auto.exp: Ditto.
2142 * gdb.base/setshow.exp: Ditto.
2143 * gdb.base/setvar.exp: Ditto.
2144 * gdb.base/signals.exp: Ditto.
2145 * gdb.base/signull.exp: Ditto.
2146 * gdb.base/sigstep.exp: Ditto.
2147 * gdb.base/sizeof.exp: Ditto.
2148 * gdb.base/solib-disc.exp: Ditto.
2149 * gdb.base/store.exp: Ditto.
2150 * gdb.base/structs.exp: Ditto.
2151 * gdb.base/structs2.exp: Ditto.
2152 * gdb.base/subst.exp: Ditto.
2153 * gdb.base/term.exp: Ditto.
2154 * gdb.base/trace-commands.exp: Ditto.
2155 * gdb.base/unwindonsignal.exp: Ditto.
2156 * gdb.base/valgrind-db-attach.exp: Ditto.
2157 * gdb.base/varargs.exp: Ditto.
2158 * gdb.base/watch-cond.exp: Ditto.
2159 * gdb.base/watch_thread_num.exp: Ditto.
2160 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2161 * gdb.base/watchpoint.exp: Ditto.
2162 * gdb.base/whatis-exp.exp: Ditto.
2163
2164 2010-06-01 Michael Snyder <msnyder@vmware.com>
2165
2166 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2167 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2168 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2169 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2170 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2171 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2172 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2173 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2174 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2175 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2176 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2177 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2178 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2179 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2180 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2181
2182 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2183
2184 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2185 trailing newline.
2186 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2187 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2188 (p *args): ... here and remove excessive trailing newline.
2189
2190 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2191
2192 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2193
2194 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2195
2196 Accept the new Linux kernel "t (tracing stop)" string.
2197 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2198 Update comment.
2199 (state_wait) <T (tracing stop)>: New.
2200 (main): Update the state_wait expect string.
2201
2202 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2203
2204 * limits.c, limits.exp: Delete files.
2205 * Makefile.in (clean mostlyclean): Adjust.
2206 * tracecmd.exp: Adjust.
2207
2208 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2209
2210 * gdb.base/tui-layout.exp: New.
2211
2212 2010-05-28 Michael Snyder <msnyder@vmware.com>
2213
2214 * gdb.reverse/break-precsave.exp:
2215 Replace uses of send_gdb / gdb_expect.
2216 * gdb.reverse/break-reverse.exp:
2217 Replace uses of send_gdb / gdb_expect.
2218 * gdb.reverse/consecutive-precsave.exp:
2219 Replace uses of send_gdb / gdb_expect.
2220 * gdb.reverse/consecutive-reverse.exp:
2221 Replace uses of send_gdb / gdb_expect.
2222 * gdb.reverse/finish-precsave.exp:
2223 Replace uses of send_gdb / gdb_expect.
2224 * gdb.reverse/finish-reverse.exp:
2225 Replace uses of send_gdb / gdb_expect.
2226 * gdb.reverse/i386-precsave.exp:
2227 Replace uses of send_gdb / gdb_expect.
2228 * gdb.reverse/i386-reverse.exp:
2229 Replace uses of send_gdb / gdb_expect.
2230 * gdb.reverse/i386-sse-reverse.exp:
2231 Replace uses of send_gdb / gdb_expect.
2232 * gdb.reverse/i387-env-reverse.exp:
2233 Replace uses of send_gdb / gdb_expect.
2234 * gdb.reverse/i387-stack-reverse.exp:
2235 Replace uses of send_gdb / gdb_expect.
2236 * gdb.reverse/machinestate-precsave.exp:
2237 Replace uses of send_gdb / gdb_expect.
2238 * gdb.reverse/machinestate.exp:
2239 Replace uses of send_gdb / gdb_expect.
2240 * gdb.reverse/sigall-precsave.exp:
2241 Replace uses of send_gdb / gdb_expect.
2242 * gdb.reverse/sigall-reverse.exp:
2243 Replace uses of send_gdb / gdb_expect.
2244 * gdb.reverse/solib-precsave.exp:
2245 Replace uses of send_gdb / gdb_expect.
2246 * gdb.reverse/solib-reverse.exp:
2247 Replace uses of send_gdb / gdb_expect.
2248 * gdb.reverse/step-precsave.exp:
2249 Replace uses of send_gdb / gdb_expect.
2250 * gdb.reverse/step-reverse.exp:
2251 Replace uses of send_gdb / gdb_expect.
2252 * gdb.reverse/until-precsave.exp:
2253 Replace uses of send_gdb / gdb_expect.
2254 * gdb.reverse/until-reverse.exp:
2255 Replace uses of send_gdb / gdb_expect.
2256 * gdb.reverse/watch-precsave.exp:
2257 Replace uses of send_gdb / gdb_expect.
2258 * gdb.reverse/watch-reverse.exp:
2259 Replace uses of send_gdb / gdb_expect.
2260
2261 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2262
2263 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2264 excessive newline.
2265
2266 2010-05-27 Michael Snyder <msnyder@vmware.com>
2267
2268 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2269 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2270 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2271 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2272 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2273 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2274 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2275 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2276 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2277 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2278 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2279 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2280 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2281 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2282 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2283 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2284 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2285 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2286 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2287
2288 2010-05-26 Michael Snyder <msnyder@vmware.com>
2289
2290 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2291 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2292
2293 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2294 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2295 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2296
2297 * gdb.reverse/consecutive-reverse.exp:
2298 Replace uses of send_gdb / gdb_expect.
2299 * gdb.reverse/consecutive-precsave.exp:
2300 Replace uses of send_gdb / gdb_expect.
2301
2302 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2303 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2304 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2305 * gdb.mi/mi-ns-stale-regcache.exp:
2306 Replace uses of send_gdb / gdb_expect.
2307 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2308 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2309 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2310 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2311 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2312 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2313 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2314 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2315 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2316
2317 2010-05-26 Michael Snyder <msnyder@vmware.com>
2318
2319 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2320
2321 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2322
2323 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2324 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2325 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2326 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2327 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2328 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2329 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2330 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2331 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2332
2333 2010-05-25 Tom Tromey <tromey@redhat.com>
2334
2335 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2336
2337 2010-05-25 Tom Tromey <tromey@redhat.com>
2338
2339 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2340 argument order.
2341 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2342 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2343 order.
2344 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2345 order.
2346 * gdb.base/call-sc.exp (setup_kfails): Remove.
2347 (setup_compiler_kfails): Remove.
2348 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2349 argument order.
2350 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2351 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2352 (advancei): Fix setup_kfail argument order.
2353 * gdb.base/radix.exp: Fix setup_kfail argument order.
2354 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2355 order.
2356 * gdb.base/structs.exp (setup_kfails): Remove.
2357 (setup_compiler_kfails): Fix setup_kfail argument order.
2358 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2359 order.
2360 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2361 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2362 setup_kfail argument order.
2363 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2364
2365 2010-05-25 Tom Tromey <tromey@redhat.com>
2366
2367 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2368
2369 2010-05-25 Michael Snyder <msnyder@vmware.com>
2370
2371 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2372 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2373 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2374 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2375 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2376 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2377 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2378 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2379 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2380 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2381 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2382 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2383 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2384 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2385 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2386 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2387 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2388 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2389 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2390 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2391 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2392 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2393 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2394 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2395 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2396 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2397 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2398 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2399 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2400 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2401 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2402 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2403 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2404 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2405 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2406 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2407 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2408 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2409 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2410 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2411 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2412 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2413 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2414 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2415 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2416 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2417 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2418 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2419
2420 2010-05-25 Doug Evans <dje@google.com>
2421
2422 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2423 gdb.string_to_argv.
2424
2425 2010-05-21 Tom Tromey <tromey@redhat.com>
2426
2427 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2428 Call it.
2429 * gdb.dwarf2/pieces.S: Update.
2430 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2431
2432 2010-05-21 Tom Tromey <tromey@redhat.com>
2433
2434 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2435 Call it.
2436 * gdb.dwarf2/pieces.c (struct C): New.
2437 (f6): New function.
2438 * gdb.dwarf2/pieces.S: Replace.
2439
2440 2010-05-21 Tom Tromey <tromey@redhat.com>
2441
2442 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2443 Call it.
2444
2445 2010-05-21 Tom Tromey <tromey@redhat.com>
2446
2447 * gdb.dwarf2.pieces.exp: New file.
2448 * gdb.dwarf2.pieces.S: New file.
2449 * gdb.dwarf2.pieces.c: New file.
2450
2451 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2452 Joel Brobecker <brobecker@adacore.com>
2453
2454 * lib/gdb.exp (gdb_test_no_output): New function.
2455 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2456 when testing commands that should produce no output.
2457
2458 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2459
2460 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2461 parameter that we want to watch being a constant.
2462
2463 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2464
2465 * gdb.ada/cond_lang: New testcase.
2466
2467 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2468
2469 * lib/gdb.exp (banned_variables): New variable/constant.
2470 (gdb_init): Add write trace on variables listed in banned_variables.
2471 (gdb_finish): Remove write traces on variables listed in
2472 banned_variables.
2473
2474 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2475
2476 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2477 * gdb.cp/koenig.exp: Likewise.
2478
2479 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2480
2481 PR python/11482
2482
2483 * gdb.python/py-value.exp (test_value_hash): New function.
2484
2485 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2486
2487 PR exp/11530.
2488 * gdb.base/gdb11530.c: New file.
2489 * gdb.base/gdb11530.exp: New file.
2490
2491 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2492
2493 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2494 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2495
2496 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2497
2498 * gdb.cp/koenig.exp: New test.
2499 * gdb.cp/koenig.cc: New test program.
2500
2501 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2502
2503 Remove the use of prms_id and bug_id throughout the testsuite.
2504
2505 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2506
2507 PR exp/11349.
2508 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2509 use a reference local variable.
2510
2511 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2512
2513 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2514 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2515 variable different_dir. Move debugfile into a full directory pathname
2516 under DIFFERENT_DIR.
2517 * lib/gdb.exp (separate_debug_filename): Remove.
2518 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2519 variable debug_dir and mkdir of it. Update function comments.
2520
2521 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2522
2523 PR gdb/11557
2524
2525 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2526 files.
2527
2528 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2529
2530 * gdb.python/py-param.exp: New File.
2531
2532 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2533
2534 * gdb.base/default.exp: Fix "set language" test.
2535
2536 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2537
2538 PR breakpoints/11531.
2539 * gdb.base/gdb11531.c: New file.
2540 * gdb.base/gdb11531.exp: New file.
2541
2542 2010-04-26 Tom Tromey <tromey@redhat.com>
2543
2544 * gdb.base/completion.exp: Add tests for completion and deprecated
2545 commands.
2546
2547 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2550 (print /x char_array): Escape curly brackets.
2551
2552 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2553
2554 Fix deadlock on looped list of loaded shared objects.
2555 * gdb.base/solib-corrupted.exp: New.
2556
2557 2010-04-23 Doug Evans <dje@google.com>
2558
2559 * gdb.python/py-section-script.c: New file.
2560 * gdb.python/py-section-script.exp: New file.
2561 * gdb.python/py-section-script.py: New file.
2562
2563 2010-04-20 Chris Moller <cmoller@redhat.com>
2564
2565 PR 10179
2566
2567 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2568 * gdb.base/pr10179-a.c:
2569 * gdb.base/pr10179-b.c:
2570 * gdb.base/pr10179.exp: New files.
2571
2572 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2573
2574 Fix crashes on dangling display expressions.
2575 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2576 is SEP.
2577 (lib_flags): Remove the "debug" keyword.
2578 (libsepdebug): New variable for iterating new loop.
2579 (save_pf_prefix): New variable wrapping the loop.
2580 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2581 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2582
2583 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2584
2585 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2586
2587 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2588
2589 PR stabs/11479.
2590 * gdb.stabs/gdb11479.exp: New file.
2591 * gdb.stabs/gdb11479.c: New file.
2592
2593 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2594
2595 * gdb.base/charset.c (Strin16, String32): New variables.
2596 * gdb.base/charset.exp (gdb_test): Test correct display
2597 of 16 or 32 bit strings.
2598
2599 2010-04-21 Chris Moller <cmoller@redhat.com>
2600
2601 PR 9167
2602 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2603 * gdb.cp/pr9167.cc: New file.
2604 * gdb.cp/pr9167.exp: New file.
2605
2606
2607 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2608
2609 PR pascal/11492.
2610 * gdb.pascal/gdb11492.pas: New file.
2611 * gdb.pascal/gdb11492.exp: New file.
2612
2613 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2614
2615 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2616
2617 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2618
2619 * gdb.ada/dyn_loc: New testcase.
2620
2621 2010-04-20 Chris Moller <cmoller@redhat.com>
2622
2623 PR 10867
2624
2625 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2626 * gdb.cp/pr10687.cc: New file.
2627 * gdb.cp/pr10687.exp: New file.
2628
2629
2630 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2631 Sergio Durigan Junior <sergiodj@redhat.com>
2632
2633 * gdb.fortran/logical.exp: New testcase.
2634 * gdb.fortran/logical.f90: New file.
2635
2636 2010-04-19 Doug Evans <dje@google.com>
2637
2638 * gdb.base/help.exp (help source): Update expected output.
2639
2640 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2641
2642 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2643 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2644 gdb_exit and return.
2645 (executable): New variable.
2646 (binfile): Use it.
2647
2648 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2649
2650 PR breakpoints/8554.
2651
2652 * gdb.trace/save-trace.exp: Adjust.
2653
2654 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 PR corefiles/11511
2657 * gdb.arch/system-gcore.exp: New.
2658 * gdb.arch/gcore.c: Likewise.
2659
2660 2010-04-15 Doug Evans <dje@google.com>
2661
2662 * gdb.python/py-progspace.c: New file.
2663 * gdb.python/py-progspace.exp: New file.
2664
2665 * gdb.base/source.exp: Add tests for "source -s".
2666
2667 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2668
2669 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2670 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2671 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2672 * gdb.python/py-mi.exp: New test for to_string returning None.
2673
2674 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2675
2676 * gdb.python/py-breakpoint.c: Make result global.
2677
2678 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2679
2680 Fix non-GNU make compatibility.
2681 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2682
2683 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2684
2685 * gdb.python/py-breakpoint.exp: New File.
2686 * gdb.python/py-breakpoint.C: Ditto.
2687
2688 2010-04-08 Stan Shebs <stan@codesourcery.com>
2689
2690 * gdb.trace/actions.exp: Clear default-collect.
2691 * gdb.trace/save-trace.exp: Clear default-collect.
2692
2693 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2694
2695 * gdb.python/py-value: Add null string variable.
2696 (test_lazy_string): Test zero length, NULL address lazy
2697 strings.
2698
2699 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 * gdb.arch/i386-avx.c: New.
2702 * gdb.arch/i386-avx.exp: Likewise.
2703
2704 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2705
2706 2010-04-06 Doug Evans <dje@google.com>
2707
2708 * gdb.base/source-test.gdb: New file.
2709 * gdb.base/source.exp: Test source -v.
2710
2711 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2712
2713 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2714
2715 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2716
2717 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2718 within one line, unless it is followed by a double quote.
2719 * gdb.stabs/hppa.sed: Idem.
2720 * gdb.stabs/weird.def: Add char and String constants
2721 * gdb.stabs/weird.exp: Check for correct parsing of
2722 char and string constants.
2723 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2724 in .stabs to .stabx substitution.
2725
2726 2010-04-05 Stan Shebs <stan@codesourcery.com>
2727
2728 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2729 constant global.
2730 * gdb.trace/tfile.exp: Try to print them.
2731
2732 2010-04-04 Stan Shebs <stan@codesourcery.com>
2733
2734 * gdb.base/completion.exp: Update for new "info watchpoints".
2735 * gdb.base/default.exp: Ditto.
2736 * gdb.base/help.exp: Ditto.
2737 * gdb.base/watchpoint.exp: Ditto.
2738 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2739
2740 2010-04-04 Stan Shebs <stan@codesourcery.com>
2741
2742 * gdb.trace/tfile.exp: Sharpen tfind test.
2743
2744 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2745
2746 * gdb.base/break-entry.exp: New.
2747
2748 2010-04-02 Hui Zhu <teawater@gmail.com>
2749 Michael Snyder <msnyder@vmware.com>
2750
2751 * gdb.reverse/i386-sse-reverse.exp: New file.
2752 * gdb.reverse/i386-sse-reverse.c: New file.
2753
2754 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2755
2756 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2757
2758 2010-04-01 Stan Shebs <stan@codesourcery.com>
2759
2760 * gdb.trace/actions.exp: Tweak expected output.
2761 * gdb.trace/while-stepping.exp: Tweak expected output.
2762
2763 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2764
2765 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2766
2767 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2768
2769 * gdb.base/commands.exp: Adjust.
2770 * gdb.cp/extern-c.exp: Adjust.
2771
2772 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2773
2774 * gdb.trace/collection.c (local_test_func): Define a local struct,
2775 and instanciate it.
2776
2777 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2778
2779 * gdb.trace/collection.exp (gdb_collect_args_test)
2780 (gdb_collect_argarray_test): XFAIL the tests that assume the
2781 argarray argument's elements are collected.
2782
2783 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2784
2785 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2786 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2787
2788 2010-03-31 Stan Shebs <stan@codesourcery.com>
2789
2790 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2791 and tracepoint conditionals.
2792 (gdb_verify_tracepoints): Delete unused return.
2793
2794 2010-03-26 Keith Seitz <keiths@redhat.com>
2795
2796 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2797 appear in the output before main.
2798 Remove KFAIL for gdb/2215 aka bz 9320.
2799
2800 2010-03-30 Doug Evans <dje@google.com>
2801
2802 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2803 by dejagnu.
2804 * gdb.arch/amd64-dword.exp: Ditto.
2805
2806 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2807 match.
2808 (break printf): Ditto.
2809
2810 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2811
2812 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2813 gcc < 4.4.
2814 * gdb.cp/shadow.exp: Ditto.
2815
2816 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2817
2818 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2819 "tstart" is silent.
2820
2821 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2822
2823 * gdb.trace/collection.exp (executable): New.
2824 (binfile): Use it.
2825 (fpreg, spreg, pcreg): New.
2826 (test_register): Use gdb_test_multiple. Pass /x to print.
2827 (prepare_for_trace_test): New.
2828 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2829 (gdb_collect_args_test, gdb_collect_argstruct_test)
2830 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2831 prepare_for_trace_test.
2832 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2833 fpreg, spreg and pcreg.
2834 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2835 prepare_for_trace_test.
2836 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2837 try to detect tracing support here. Don't set breakpoints at
2838 `begin' or `end' here.
2839 <global scope>: Use clean_restart. Run to main before checking
2840 for tracing support. Check for for tracing support here.
2841
2842 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2843
2844 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2845 " as $displacement" to "seen displacement message".
2846
2847 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2848
2849 * gdb.trace/while-dyn.exp (executable): New variable.
2850 (binfile): Use it.
2851 (test_while_stepping): New function. Move most tests here. Call
2852 it once for each of the while-stepping, stepping and ws aliases.
2853
2854 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2855
2856 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2857 that do not provide the tagless_struct type name at all.
2858 (test_print_anon_union): Do not check value of uninitialized
2859 union member. Do not use cp_test_ptype_class, so we can accept
2860 "long" as well as "long int".
2861
2862 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2863
2864 * gdb.trace/tfile.c (tohex, bin2hex): New.
2865 (write_error_trace_file): Hexify error description.
2866
2867 2010-03-25 Stan Shebs <stan@codesourcery.com>
2868
2869 * gdb.trace/tfile.c: Generate an additional trace file, improve
2870 portability.
2871 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2872 files in a better way.
2873
2874 2010-03-25 Keith Seitz <keiths@redhat.com>
2875
2876 * gdb.java/jprint.exp: XFAIL printing of static class members
2877 because of GCC debuginfo problem.
2878
2879 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2880
2881 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2882
2883 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2884
2885 * gdb.base/completion.exp: Allow long instead of long int.
2886 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2887 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2888 variable p.
2889 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2890 * gdb.base/pointers.exp: Allow long instead of long int.
2891 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2892 * gdb.base/step-line.exp: Allow a directory before the source file name.
2893
2894 2010-03-24 Tom Tromey <tromey@redhat.com>
2895
2896 PR breakpoints/9352:
2897 * gdb.base/default.exp: Update.
2898 * gdb.base/commands.exp: Update.
2899 * gdb.cp/extern-c.exp: Test setting commands on multiple
2900 breakpoints at once.
2901
2902 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2903
2904 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2905 if gdb,nosignals.
2906 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2907 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2908 exited".
2909
2910 2010-03-24 Stan Shebs <stan@codesourcery.com>
2911
2912 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2913
2914 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2915
2916 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2917 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2918 argument. Handle "short" and "long".
2919 (Top level): Pass overprototyped output for old_fptr and xptr.
2920
2921 2010-03-23 Pedro Alves <pedro@codesourcery.com>
2922
2923 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2924 format strings and add casts to avoid compiler warnings.
2925
2926 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
2927
2928 * lib/trace-support.exp (gdb_trace_setactions):
2929 Don't expect whitespace after ">" prompt.
2930 * gdb.trace/actions.exp: Adjust for output changes.
2931 * gdb.trace/while-stepping.exp: Likewise.
2932
2933 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2934
2935 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2936 and r157645).
2937
2938 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2941 New.
2942
2943 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2944
2945 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
2946 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
2947
2948 2010-03-19 Stan Shebs <stan@codesourcery.com>
2949
2950 * gdb.trace/ax.exp: New file.
2951
2952 2010-03-19 Doug Evans <dje@google.com>
2953
2954 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
2955 output from gcc.
2956
2957 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
2958 named /usr/sbin/prelink<foo>.
2959
2960 2010-03-18 Stan Shebs <stan@codesourcery.com>
2961
2962 * gdb.trace/circ.exp: Test circular-trace-buffer.
2963 * gdb.trace/tfile.exp: Update tstatus test.
2964
2965 2010-03-18 Joel Brobecker <brobecker@adacore.com>
2966
2967 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2968 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2969
2970 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2971
2972 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2973
2974 2010-03-18 Pedro Alves <pedro@codesourcery.com>
2975
2976 * gdb.base/default.exp: Adjust the expected output of the finish
2977 and until commands when the inferior is not being run.
2978
2979 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2980
2981 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2982 * gdb.cp/nsusing.exp: Ditto.
2983
2984 2010-03-15 Tom Tromey <tromey@redhat.com>
2985
2986 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
2987 * gdb.cp/userdef.cc (operator==): New function.
2988 (main): New locals mem1, mem2.
2989
2990 2010-03-15 Jie Zhang <jie@codesourcery.com>
2991
2992 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
2993 Declare and use new loadtimeout variable.
2994
2995 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
2996
2997 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
2998 Use gdb_load later.
2999
3000 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3001
3002 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3003 literal. Add missing endlines to prints to stderr.
3004
3005 2010-03-12 Tom Tromey <tromey@redhat.com>
3006
3007 PR c++/9708:
3008 * gdb.cp/m-static.exp: Add regression test.
3009 * gdb.cp/m-static.cc (method): New method.
3010 (main): Call it.
3011
3012 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3013
3014 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3015 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3016
3017 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3018
3019 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3020
3021 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3022
3023 * lib/gdb.exp (skip_stl_tests): New.
3024 (gdb_compile): Symbian needs -ldl.
3025 (shlib_target_file): New.
3026 (shlib_symbol_file): New.
3027 (gdb_load_shlibs): Use shlib_target_file.
3028 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3029 * gdb.cp/exception.exp: Use skip_stl_tests.
3030 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3031 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3032 * gdb.cp/mb-templates.exp: Ditto.
3033 * gdb.base/commands.exp: Relax regexes.
3034 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3035 shlib_target_file and shlib_symbol_file.
3036 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3037 sections.
3038 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3039 * gdb.base/solib-disc.exp: Use
3040 shlib_target_file and shlib_symbol_file.
3041 * gdb.base/unload.exp: Don't skip on symbian. Use
3042 shlib_target_file and shlib_symbol_file.
3043 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3044
3045 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3046
3047 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3048 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3049 Issue a tfind end before looking for a tracepoint frame.
3050 * gdb.trace/tfind.exp: Adjust tstatus output.
3051 Adjust disassembly output.
3052 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3053
3054 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3055
3056 * gdb.base/break-interp.exp: Create new displacement parameter value
3057 for the test_ld calls.
3058 (reach): New parameter displacement, verify its content. New push of
3059 pf_prefix "reach-$func:". Import global expect_out.
3060 (test_core): New parameter displacement, verify its content. New push
3061 of pf_prefix "core:". New command "set verbose on". Import global
3062 expect_out.
3063 (test_attach): New parameter displacement, verify its content. New
3064 push of pf_prefix "attach:". New command "set verbose on". Import
3065 global expect_out.
3066 (test_ld): New parameter displacement, pass it to the reach, test_core
3067 and test_attach calls and verify its content in the "ld.so exit" test.
3068 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3069 (prelink): Update expected text, use gdb_test.
3070
3071 2010-03-10 Doug Evans <dje@google.com>
3072
3073 * gdb.base/checkpoint.exp: Fix comment.
3074 Lengthen timeout while doing >600 checkpoints test.
3075 Rename duplicate "kill all one" test to keep test names unique.
3076
3077 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3078
3079 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3080
3081 2010-03-08 Keith Seitz <keiths@redhat.com>
3082
3083 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3084 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3085 (dm_type_long): New function.
3086 (dm_type_unsigned_short): New function.
3087 (dm_type_unsigned_long): New function.
3088 (myint): New typedef.
3089 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3090 long, unsigned shor and long, operator char*, and typedef.
3091 (test_lookup_operator_functions): Add operator char* test.
3092 (test_paddr_operator_functions): Likewise.
3093 (test_paddr_overloaded_functions): Use probe values for
3094 short, long, and unsigned short and long.
3095 (test_paddr_hairy_functions): If the demangler probe detected
3096 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3097 demangler.
3098 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3099 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3100 and "print null_pmf".
3101 Add test "ptype a.*pmf".
3102 * gdb.cp/overload.exp: Allow optional "int" to appear with
3103 "short" and "long".
3104 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3105 long expect value for men_overload1arg.
3106 Allow "int" to appear with "short" and "long".
3107 When testing "info break", add argument for main (void).
3108 Also allow "int" to appear with "short" and "long".
3109 Ditto with "unsigned" and "long long".
3110 * gdb.java/jmain.exp: Do not enclose methods names in single
3111 quotes.
3112 * gdb.java/jmisc.exp: Likewise.
3113 * gdb.java/jprint.exp: Likewise.
3114 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3115
3116 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3117 * gdb.cp/exception.exp (backtrace after first throw)
3118 (backtrace after second throw): Allow a namespace before __cxa_throw.
3119 (backtrace after first catch, backtrace after second catch): Allow
3120 a namespace before __cxa_begin_catch.
3121
3122 * gdb.cp/cpexprs.exp: New file.
3123 * gdb.cp/cpexprs.cc: New file.
3124
3125 From Daniel Jacobowitz <dan@codesourcery.com>
3126 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3127 to use string_to_regexp.
3128 (ctor, dtor): New functions. Use them to match constructor
3129 and destructor function types.
3130 (Top level): Use runto_main.
3131
3132 2010-03-05 Tom Tromey <tromey@redhat.com>
3133
3134 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3135 gdb.target_charset.
3136 (pp_ns.to_string): Likewise.
3137
3138 2010-03-04 Keith Seitz <keiths@redhat.com>
3139
3140 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3141 can be quoted. Test that both the filename and function/line
3142 portions can be quoted at the same time.
3143
3144 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3145
3146 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3147
3148 2010-03-03 Doug Evans <dje@google.com>
3149
3150 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3151 libc contains libpthread.
3152
3153 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3154 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3155 of gdb_compile. Add another pattern to match android backtrace.
3156
3157 2010-03-03 Tom Tromey <tromey@redhat.com>
3158
3159 PR gdb/11345:
3160 * gdb.base/printcmds.exp (test_printf): Add test.
3161
3162 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3163
3164 * gdb.arch/amd64-byte.exp: New.
3165 * gdb.arch/amd64-dword.exp: Likewise.
3166 * gdb.arch/amd64-pseudo.c: Likewise.
3167 * gdb.arch/amd64-word.exp: Likewise.
3168 * gdb.arch/i386-byte.exp: Likewise.
3169 * gdb.arch/i386-pseudo.c: Likewise.
3170 * gdb.arch/i386-word.exp: Likewise.
3171
3172 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3173
3174 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3175 types. Add structreg, bitfields, and flags registers.
3176 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3177 registers.
3178
3179 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3180
3181 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3182 (load_description): Set architecture if defined.
3183
3184 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3185
3186 * gdb.python/py-frame.exp: Add read_var block tests.
3187 * gdb.python/py-frame.c (block): New function.
3188
3189 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3190 Daniel Jacobowitz <dan@codesourcery.com>
3191
3192 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3193
3194 2010-02-25 David S. Miller <davem@davemloft.net>
3195
3196 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3197 fix logic for setting all_syscalls_numbers.
3198
3199 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3200
3201 * Makefile.in: Add py-block and py-symbol.
3202 * gdb.python/py-symbol.exp: New File.
3203 * gdb.python/py-symtab.exp: New File.
3204 * gdb.python/py-block.exp: New File.
3205 * gdb.python/py-symbol.c: New File.
3206 * gdb.python/py-block.c: New File.
3207
3208 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3209
3210 PR python/11314
3211 * lib/gdb.exp (skip_python_tests): New function.
3212 * gdb.python/py-cmd.exp: Use skip_python_tests.
3213 * gdb.python/py-frame.exp: Likewise.
3214 * gdb.python/py-function.exp: Likewise.
3215 * gdb.python/py-prettyprint.exp: Likewise.
3216 * gdb.python/py-template.exp: Likewise.
3217 * gdb.python/py-type.exp: Likewise.
3218 * gdb.python/py-value.exp: Likewise.
3219
3220 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3221
3222 PR9605
3223
3224 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3225
3226 2010-02-19 Tom Tromey <tromey@redhat.com>
3227
3228 PR c++/8693, PR c++/9496:
3229 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3230 regression tests.
3231
3232 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 Fix compatibility with m68k as.
3235 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3236 Use only /* comments */.
3237
3238 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3239
3240 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3241 * configure: Regenerate.
3242
3243 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3244
3245 * gdb.python/py-type.exp: Check for Python support.
3246
3247 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3248
3249 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3250 `regsub' syntax available.
3251
3252 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3253
3254 * gdb.base/shmain.c (main): Remove printf call.
3255 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3256 * gdb.base/unload.c (main): Make format of fprintf a string
3257 literal. Add missing endlines to prints to stderr.
3258 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3259
3260 2010-02-17 Tom Tromey <tromey@redhat.com>
3261
3262 * gdb.java/jprint.java (jprint.props): New field.
3263 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3264
3265 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3266
3267 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3268 available.
3269
3270 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3271
3272 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3273 creation to support remote host testing.
3274
3275 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3276
3277 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3278 Recognize "command not found".
3279
3280 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3281
3282 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3283 single-stepping.
3284
3285 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3286
3287 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3288 if arguments are not supported.
3289
3290 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3291
3292 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3293 be const or non-const.
3294
3295 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3296
3297 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3298 mi_send_resuming_command to send -exec-continue.
3299
3300 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3301
3302 * gdb.base/list.exp (test_list_filename_and_function): Add test
3303 with single quotes.
3304 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3305 matching.
3306 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3307 Add KFAIL'd tests for PR gdb/11289.
3308
3309 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3310
3311 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3312
3313 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3314
3315 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3316 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3317 a temporary directory.
3318
3319 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3320
3321 * gdb.base/charset.exp: Use a single regular expression to match
3322 show host-charset and show target-charset output.
3323
3324 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3325
3326 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3327 "Illegal process-id" expect string more exact.
3328 (attach to digits-starting nonsense is prohibited): New.
3329
3330 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3331
3332 * gdb.base/prelink.exp (set verbose on): New.
3333
3334 2010-02-12 Tomas Holmberg <th@virtutech.com>
3335
3336 * mi-reverse.exp: New file. Test for reverse option to the
3337 following MI commands: exec-continue, exec-finish, exec-next,
3338 exec-step, exec-next-instruction, exec-step-instruction.
3339
3340 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3341
3342 * gdb.ada/ptype_tagged_param: New testcase.
3343
3344 2010-02-08 Tom Tromey <tromey@redhat.com>
3345
3346 PR c++/8017:
3347 * gdb.cp/overload.exp: Add tests.
3348 * gdb.cp/overload.cc (struct K): New.
3349 (namespace N): New.
3350 (main): Call new functions.
3351 (K::staticoverload): Define.
3352
3353 2010-02-08 Chris Moller <moller@mollerware.com>
3354
3355 PR gdb/10728
3356 * gdb.cp/pr10728-x.h: New file.
3357 * gdb.cp/pr10728-x.cc: New file.
3358 * gdb.cp/pr10728-y.cc: New file.
3359 * gdb.cp/pr10728.exp: New file.
3360 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3361
3362 2010-02-08 Chris Moller <moller@mollerware.com>
3363
3364 PR gdb/9067
3365 * gdb.cp/pr9067.exp: New
3366 * gdb.cp/pr9067.cc: New
3367 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3368
3369 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3370
3371 * lib/gdb.exp (gdb_test_timeout): New global variable.
3372 Set it to timeout if not already set.
3373 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3374
3375 2010-02-05 Doug Evans <dje@google.com>
3376
3377 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3378 user.
3379
3380 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3381
3382 PR c++/7935:
3383 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3384
3385 2010-02-04 Tom Tromey <tromey@redhat.com>
3386
3387 * gdb.cp/virtbase.exp: Make test case names unique.
3388
3389 2010-02-02 Tom Tromey <tromey@redhat.com>
3390
3391 * gdb.cp/virtbase.exp: Add regression tests.
3392 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3393 (main): Instantiate RHC.
3394
3395 2010-02-02 Tom Tromey <tromey@redhat.com>
3396
3397 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3398 type-printing change.
3399
3400 2010-02-02 Tom Tromey <tromey@redhat.com>
3401
3402 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3403 * gdb.cp/virtbase.cc: New file.
3404 * gdb.cp/virtbase.exp: New file.
3405 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3406
3407 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3408
3409 PR libc/11214:
3410 * gdb.threads/current-lwp-dead.c: Include features.h.
3411 (HAS_NOMMU): New.
3412 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3413
3414 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3415
3416 * gdb.base/symbol-without-target_section.exp,
3417 gdb.base/symbol-without-target_section.c: New.
3418
3419 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3420
3421 * gdb.base/bigcore.exp: Reset increased timeout.
3422 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3423
3424 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3425
3426 * gdb.base/gcore.exp (capture_command_output): Use
3427 gdb_test_multiple.
3428
3429 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3430
3431 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3432 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3433 (Top level): Call it.
3434
3435 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3436
3437 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3438
3439 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3440
3441 * gdb.base/call-strs.exp, gdb.base/default.exp,
3442 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3443 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3444 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3445 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3446 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3447 * gdb.base/ending-run.exp: Correct restore of timeout.
3448 * gdb.base/page.exp: Remove unnecessary timeout setting.
3449
3450 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3451
3452 * gdb.ada/rec_return: New testcase.
3453
3454 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3455
3456 * gdb.ada/call_pn: New testcase.
3457
3458 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3459
3460 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3461 (Top level): Use it to resume.
3462 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3463 the Thumb mode displaced stepping error as unsupported.
3464
3465 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3466
3467 * gdb.cp/nsusing.exp: Added more tests.
3468 * gdb.cp/nsrecurs.exp: Ditto.
3469 * gdb.cp/nsusing.cc: Added test functions.
3470 * gdb.cp/nsrecurs.cc: Ditto.
3471
3472 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3475 absolute directory pathnames in gdb.sum file.
3476
3477 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3478
3479 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3480 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3481
3482 2010-01-26 Tom Tromey <tromey@redhat.com>
3483
3484 PR exp/7643:
3485 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3486 setup_kfail.
3487
3488 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3489
3490 * gdb.cp/nsrecurs.exp: New test.
3491 * gdb.cp/nsrecurs.cc: New test program.
3492 * gdb.cp/nsstress.exp: New test.
3493 * gdb.cp/nsstress.cc: New test program.
3494 * gdb.cp/nsdecl.exp: New test.
3495 * gdb.cp/nsdecl.cc: New test program.
3496
3497 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3498
3499 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3500 imported into file scope.
3501 Marked test as xfail.
3502 * gdb.cp/namespace-using.cc (marker5): New function.
3503 * gdb.cp/shadow.exp: New test.
3504 * gdb.cp/shadow.cc: New test program.
3505 * gdb.cp/nsimport.exp: New test.
3506 * gdb.cp/nsimport.cc: New test program.
3507
3508 2010-01-25 Tom Tromey <tromey@redhat.com>
3509
3510 PR gdb/11049:
3511 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3512 with "set print null-stop on".
3513
3514 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3515
3516 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3517 Adjust it for DISASSEMBLY_OMIT_FNAME.
3518
3519 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 PR symtab/11199:
3522 * gdb.dwarf2/member-ptr-forwardref.exp,
3523 gdb.dwarf2/member-ptr-forwardref.S: New.
3524
3525 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3528 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3529 thread1_tid_mutex. Remove gdbstop_mutex handling.
3530 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3531 thread2_tid_mutex. Remove gdbstop_mutex handling.
3532 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3533 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3534 pthread_cond_wait conditionalizations by while loops.
3535
3536 2010-01-20 Tom Tromey <tromey@redhat.com>
3537
3538 PR backtrace/10770:
3539 * gdb.dwarf2/pr10770.exp: New file.
3540 * gdb.dwarf2/pr10770.c: New file.
3541 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3542
3543 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3544
3545 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3546 that target was removed, and the test always runs native anyway.
3547
3548 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3551 gdb.base/watchpoint-cond-gone-stripped.c: New.
3552
3553 2010-01-19 Tom Tromey <tromey@redhat.com>
3554
3555 PR c++/8000:
3556 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3557 existing tests.
3558 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3559 (main): Use AAA::SomeEnum.
3560
3561 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3562
3563 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3564 (test_ignore_count): Declare line_callme_body global.
3565 (run to breakpoint with ignore count): Use line_callme_body.
3566 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3567 (set line_main_hello, set line_main_return): Reindent.
3568 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3569 New.
3570 (continue to callee4): Use line_callee4_body.
3571 (check *stopped from CLI command): Use line_callee4_next.
3572 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3573 (set line_main_hello, set line_main_return): Reindent.
3574 (set line_callee4_head, set line_callee4_body): New.
3575 (continue to callee4): Use line_callee4_body.
3576
3577 2010-01-18 Tom Tromey <tromey@redhat.com>
3578
3579 PR c++/9680:
3580 * gdb.cp/casts.cc: Add new classes and variables.
3581 * gdb.cp/casts.exp: Test new operators.
3582
3583 2010-01-18 Tom Tromey <tromey@redhat.com>
3584 Thiago Jung Bauermann <bauerman@br.ibm.com>
3585
3586 * gdb.python/source2.py: New file.
3587 * gdb.python/source1: New file.
3588 * gdb.python/python.exp: Test "source" command.
3589
3590 2010-01-15 Stan Shebs <stan@codesourcery.com>
3591
3592 * gdb.trace/tfile.c: New file.
3593 * gdb.trace/tfile.exp: New file.
3594
3595 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3596
3597 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3598
3599 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3600
3601 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3602
3603 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3604
3605 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3606 (libfunc): New parameter action. Implement also selectable "sleep".
3607 * gdb.base/break-interp-main.c: Include assert.h.
3608 (libfunc): New parameter action.
3609 (main): New parameters argc and argv. Assert argc. Pass argv.
3610 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3611 (test_attach): New proc.
3612 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3613 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3614
3615 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3616
3617 * gdb.base/break-interp.exp (test_core): New proc.
3618 (test_ld): Call it.
3619
3620 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3621
3622 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3623 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3624 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3625 and gdb_compile_shlib. Use new -Wl compiler options.
3626 (dl bt, main bt): New tests.
3627
3628 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3629
3630 Support PIEs with no symfile_objfile.
3631 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3632 (test_ld): New parameter trynosym.
3633 (test_ld <$trynosym>): New block.
3634
3635 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3636
3637 * gdb.base/break-interp.exp: New file.
3638
3639 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3640
3641 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3642 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3643 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3644 test.
3645 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3646 * gdb.python/py-mi.exp: Add lazy string test.
3647
3648 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3649
3650 * lib/mi-support.exp (mi_check_thread_states): Handle
3651 core number in thread listing.
3652
3653 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3654
3655 * gdb.base/maint.exp: Adjust the expected output for the
3656 "maint print type" test. Use gdb_test_multiple instead of
3657 gdb_sent/gdb_expect.
3658
3659 2010-01-11 Doug Evans <dje@google.com>
3660
3661 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3662 from gdbserver_download. All callers updated.
3663
3664 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3665
3666 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3667
3668 Implement binary numbers parsing.
3669 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3670 (test_integer_literals_rejected): New binary tests.
3671
3672 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3673
3674 * gdb.cell/configure: Regenerate.
3675
3676 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 * gdb.base/corefile.exp: Move the core finding block out and call it as
3679 core_find, new variable $corefile, replace corefile by $corefile and
3680 [file tail $corefile] for usage vs. test names resp.
3681 * lib/gdb.exp (core_find): Move it as a new function here. New
3682 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3683 $destcore. Return "" on error.
3684
3685 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3686
3687 Workaround PR binutils/10802.
3688 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3689 (twice).
3690
3691 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3692
3693 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3694
3695 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3696
3697 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3698 call, to avoid interruption.
3699
3700 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3701
3702 * gdb.stabs/weird.def (args93): New.
3703
3704 2010-01-07 Doug Evans <dje@google.com>
3705
3706 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3707
3708 2010-01-07 Tom Tromey <tromey@redhat.com>
3709
3710 * gdb.base/source.exp: Use correct line number.
3711
3712 2010-01-05 Stan Shebs <stan@codesourcery.com>
3713
3714 * gdb.trace/tracecmd.exp: Test ftrace.
3715
3716 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3717
3718 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3719
3720 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3721
3722 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3723 "uint_for_mi_testing".
3724
3725 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3726
3727 Test indented comment in file being sourced.
3728 * gdb.base/commands.exp: Test indented comment in file being sourced.
3729
3730 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3731
3732 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3733 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3734 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3735 notice.
3736
3737 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3738
3739 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3740 notice.
3741
3742 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3743
3744 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3745 missing $after_stopped and comma (,) expectation.
3746
3747 2009-12-31 Stan Shebs <stan@codesourcery.com>
3748
3749 * gdb.trace/actions.exp: Test teval action.
3750
3751 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3752
3753 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3754 (top level): Call test_watchpoint_in_big_blob.
3755 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3756 watchpoints.
3757 (func3): Write to buf.
3758
3759 2009-12-29 Stan Shebs <stan@codesourcery.com>
3760
3761 * gdb.trace/actions.exp: Test default-collect.
3762
3763 2009-12-28 Stan Shebs <stan@codesourcery.com>
3764
3765 * gdb.trace/tsv.exp: New file.
3766 * gdb.base/completion.exp: Update ambiguous info output.
3767
3768 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3769
3770 * gdb.base/find.c (main): Reference search buffers.
3771 * gdb.base/included.c (main): Reference integer.
3772 * gdb.base/ptype.c (charfoo): Declare.
3773 (intfoo): Call charfoo.
3774 * gdb.base/scope0.c (useitp): New function.
3775 (usestatics): Use useitp.
3776 (useit): Add a type for val.
3777 * gdb.base/scope1.c (useit1): Take a pointer argument.
3778 (usestatics1): Update calls to useit1.
3779 * gdb.cp/call-c.cc: Declare foo.
3780 (main): Call foo.
3781 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3782 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3783 (main): Call C::ensureRefs and ensureOtherRefs.
3784 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3785 variables.
3786 (ensureOtherRefs): New function.
3787 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3788 * gdb.cp/templates.cc (main): Call t5i.value.
3789
3790 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3791
3792 Fix compatibility with G++-4.5.
3793 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3794 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3795 (uncaught return): Remove.
3796
3797 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3798 Phil Muldoon <pmuldoon@redhat.com>
3799
3800 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3801 (bp_location13, bp_location14, bp_location17, bp_location18)
3802 (marker3_proto, marker4_proto): New variables.
3803 (breakpoint info): Update output.
3804 (run until breakpoint at marker3, run until breakpoint at marker4): New
3805 tests.
3806
3807 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3810 Replace the printf call of Y by provided "y-set-1" label. New block
3811 for the second shared library.
3812 * gdb.base/unload.exp: Compile also the second library, call
3813 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3814 (single pending breakpoint info): Rename to ...
3815 (pending breakpoint info before run): ... this extended test.
3816 (libfile2, libname2, libsrcfile2, libsrc2)
3817 (lib_sl2): New variables.
3818 (exec_opts): Set also SHLIB_NAME2.
3819 (pending breakpoint info on first run at shrfunc1)
3820 (pending breakpoint info on second run at shrfunc1)
3821 (pending breakpoint info on second run at shrfunc2)
3822 (print y from libfile, print y from libfile2): New tests.
3823 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3824 * gdb.base/unloadshr2.c: New.
3825
3826 2009-12-22 Hui Zhu <teawater@gmail.com>
3827
3828 * gdb.reverse/sigall-reverse.exp: Adjust.
3829
3830 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3831
3832 PR gdb/10884
3833
3834 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3835 (main): Call do_bitfield_tests.
3836 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
3837
3838 2009-12-20 Joel Brobecker <brobecker@adacore.com>
3839
3840 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3841 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3842 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3843 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3844 gdb.modula2/unbounded1.c: Update copyright header.
3845
3846 2009-12-10 Chris Moller <moller@mollerware.com>
3847
3848 PR gdb/9399
3849 * gdb.cp/virtfunc2.exp: New tests
3850 * gdb.cp/virtfunc2.cc: New tests
3851 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3852
3853 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3854
3855 * gdb.reverse/i387-env-reverse.c: New file.
3856 * gdb.reverse/i387-env-reverse.exp: New file.
3857 * gdb.reverse/i387-stack-reverse.c: New file.
3858 * gdb.reverse/i387-stack-reverse.exp: New file.
3859
3860 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3861
3862 * gdb.python/py-type.exp (test_range): New test.
3863
3864 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3865
3866 PR python/10805
3867
3868 * gdb.python/py-type.exp: New file.
3869 * gdb.python/py-type.c: New file.
3870 * Makefile.in: Add py-type.
3871
3872 2009-12-03 Tom Tromey <tromey@redhat.com>
3873
3874 * gdb.python/py-value.exp (test_parse_and_eval): New
3875 function.
3876
3877 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3878
3879 PR gdb/11022
3880
3881 * gdb.base/pr11022.exp: New test.
3882 * gdb.base/pr11022.c: New test.
3883
3884 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3885
3886 Fix spurious false FAILs.
3887 * gdb.base/structs.c (chartest): New.
3888 (main): Fill-in chartest.
3889 * gdb.base/structs.exp (anychar_re, first): New.
3890 (start_structs_test): Import global anychar_re and first.
3891 New gdb_test call "set print elements 300; ${testfile}"
3892 (start_structs_test <$first>): New block.
3893 (any): Import global anychar_re. New variable ac. Use ${ac}.
3894
3895 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3896
3897 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3898
3899 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3900
3901 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3902 Force $srcfile file.
3903 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3904
3905 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3906
3907 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3908 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3909 * gdb.threads/watchthreads-reorder.exp: Likewise.
3910
3911 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3912
3913 PR gdb/8704
3914
3915 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3916 "if", and "thread". Correct matching in the previous test.
3917
3918 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3919
3920 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3921
3922 2009-11-23 Michael Snyder <msnyder@vmware.com>
3923
3924 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3925 * gdb.reverse-watch-precsave.exp: Ditto.
3926
3927 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3928
3929 * gdb.asm/asm-source.exp: Adjust.
3930 * gdb.base/help.exp: Adjust.
3931
3932 2009-11-22 Pedro Alves <pedro@codesourcery.com>
3933
3934 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
3935 (do_syscall_tests_without_xml): Set data-directory to
3936 /the/path/to/nowhere.
3937
3938 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3939
3940 * gdb.threads/local-watch-wrong-thread.c,
3941 gdb.threads/local-watch-wrong-thread.exp: New files.
3942
3943 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3944
3945 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
3946 assume new `regsub' syntax available.
3947
3948 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3949
3950 * gdb.base/watchpoint-hw-hit-once.exp,
3951 gdb.base/watchpoint-hw-hit-once.c: New.
3952
3953 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.threads/watchthreads-reorder.exp,
3956 gdb.threads/watchthreads-reorder.c: New.
3957
3958 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
3959
3960 * gdb.xml/tdesc-regs.exp: Use for m68k.
3961
3962 2009-11-15 Pedro Alves <pedro@codesourcery.com>
3963
3964 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
3965
3966 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3967
3968 * lib/gdb.exp (current_target_name): New procedure.
3969 (gdb_wrapper_target): New variable.
3970 (gdb_wrapper_init): Set gdb_wrapper_target.
3971 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
3972 wrapper.
3973
3974 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3975
3976 * gdb.base/remote.exp: Delete the slowest load test.
3977 Do not load with fixed packet sizes.
3978
3979 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3980
3981 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3982
3983 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3984
3985 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
3986 srcfile when setting a breakpoint.
3987
3988 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
3989
3990 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
3991 macros.
3992
3993 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3994
3995 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
3996 to be in memory.
3997 * gdb.base/display.c (force_mem): New.
3998 (do_loops): Use it. Add breakpoint comments.
3999 (do_vars): Add a breakpoint comment.
4000 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4001 line numbers.
4002
4003 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4004
4005 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4006 instead of a bare "run".
4007
4008 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4009
4010 * gdb.python/py-prettyprint.exp: Adjust.
4011
4012 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4013
4014 * lib/cell.exp (skip_cell_tests): Clean up test files before
4015 returning.
4016
4017 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4018
4019 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4020 and the breakpoint menu. Do not call perror if a prompt is seen.
4021 Consume the following GDB prompt.
4022 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4023 * gdb.cp/namespace.exp: Use gdb_test.
4024 * gdb.cp/templates.exp: Use gdb_test.
4025 (test_template_breakpoints): Use gdb_test_multiple.
4026
4027 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4028
4029 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4030 (marker4): Reference values.
4031
4032 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4033
4034 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4035 is missing.
4036
4037 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4038
4039 * gdb.base/break.c (need_malloc): New.
4040 * gdb.base/constvars.c (main): Reference crass and crisp.
4041 * gdb.base/gdb1821.c (main): Reference bar.
4042 * gdb.cp/gdb1355.cc (main): Reference s1.
4043 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4044 (main): Call them.
4045 * gdb.cp/hang2.cc (dummy2): Define.
4046 * gdb.cp/hang3.cc (dummy3): Define.
4047 * gdb.cp/m-data.cc (main): Reference shadow.
4048
4049 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4050 Nathan Froyd <froydnj@codesourcery.com>
4051
4052 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4053 remote host.
4054
4055 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4056
4057 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4058 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4059 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4060 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4061 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4062 * gdb.dwarf2/dw2-producer.exp: Likewise.
4063 * gdb.dwarf2/mac-fileno.exp: Likewise.
4064 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4065 py-prettyprint.py to the remote host.
4066 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4067
4068 2009-11-11 Keith Seitz <keiths@redhat.com>
4069
4070 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4071 use it instead of "Foo".
4072 * gdb.cp/classes.exp (do_tests): Add a test to access
4073 a method through a typedef'd class name.
4074
4075 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4076
4077 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4078 exponents.
4079 * gdb.base/pointers.exp: Likewise.
4080 * gdb.cp/ref-types.exp: Likewise.
4081
4082 2009-11-11 Keith Seitz <keiths@redhat.com>
4083
4084 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4085 new[] and delete[].
4086 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4087 "void".
4088 (probe_demangler): Remove all single-quoting of
4089 method and variable names.
4090 (info_func_regexp): Remove the word "void" from any
4091 occurrence of "(void)".
4092 (print_addr_2): Remove all single-quoting of
4093 method names.
4094 (print_addr_2_kfail): Likewise.
4095 (print_addr): Single-quote C function names before
4096 passing to print_addr_2.
4097 (test_paddr_operator_functions): Remove single-quoting
4098 for method names.
4099 Add tests for operator new[] and operator delete[].
4100
4101 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4104
4105 2009-11-09 Keith Seitz <keiths@redhat.com>
4106
4107 * gdb.cp/overload.exp: Add tests for resolving overloaded
4108 methods in expression parsing/evaluation.
4109
4110 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4111
4112 * lib/gdb.exp (default_gdb_version): Use --version instead of
4113 --command.
4114
4115 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4116
4117 * lib/gdb.exp (gdb_compile_test): New.
4118 (skip_ada_tests, skip_java_tests): New.
4119 (gdb_compile): Use gdb_compile_test for f77.
4120 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4121 * lib/java.exp (compile_java_from_source): Remove runtests check,
4122 use gdb_compile_test to record result.
4123 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4124 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4125 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4126 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4127 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4128 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4129 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4130 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4131 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4132 adjust gdb_compile invocations.
4133
4134 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4135
4136 * Makefile.in (abs_builddir): New.
4137 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4138 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4139 `$(abs_builddir)/site.exp'.
4140
4141 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4142
4143 * config/m68k-emc.exp, lib/emc-support.exp,
4144 gdb.trace/gdb_c_test.c: Delete.
4145 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4146 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4147 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4148 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4149 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4150 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4151 casing for m68k-*-elf.
4152
4153 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4154
4155 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4156 * gdb.arch/i386-prologue.exp: Likewise.
4157 * gdb.arch/i386-unwind.exp: Likewise.
4158
4159 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4160
4161 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4162
4163 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4164
4165 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4166
4167 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4168
4169 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4170
4171 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4174
4175 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4178 * gdb.base/sepdebug2.c: New file.
4179
4180 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4181
4182 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4183 the modified warnings for catch syscall. Verify if GDB was compiled
4184 with support for lib expat, and choose which tests to run depending
4185 on this.
4186
4187 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4188
4189 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4190 that composite commands are parsed OK. And also test
4191 that breakpoint commands do work.
4192
4193 2009-10-23 Michael Snyder <msnyder@vmware.com>
4194
4195 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4196 to allow for new disassembly style.
4197
4198 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4199
4200 * gdb.asm/asm-source.exp: Adjust.
4201
4202 2009-10-22 Michael Snyder <msnyder@vmware.com>
4203
4204 * gdb.reverse/break-precsave.exp: New test.
4205 * gdb.reverse/consecutive-precsave.exp: Ditto.
4206 * gdb.reverse/finish-precsave.exp: Ditto.
4207 * gdb.reverse/i386-precsave.exp: Ditto.
4208 * gdb.reverse/machinestate-precsave.exp: Ditto.
4209 * gdb.reverse/sigall-precsave.exp: Ditto.
4210 * gdb.reverse/solilb-precsave.exp: Ditto.
4211 * gdb.reverse/step-precsave.exp: Ditto.
4212 * gdb.reverse/until-precsave.exp: Ditto.
4213 * gdb.reverse/watch-precsave.exp: Ditto.
4214
4215 2009-10-22 Michael Snyder <msnyder@vmware.com>
4216
4217 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4218 for gdb_expect. Adjust one test's expect strings for the new
4219 format of disassemble.
4220 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4221 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4222 gdb_test_multiple.
4223 * gdb.reverse/step-reverse.exp: Delete 'return'.
4224 * gdb.reverse/until-reverse.exp: Delete blank lines.
4225 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4226
4227 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4228
4229 * gdb.base/consecutive.exp: Adjust.
4230 * gdb.base/display.exp: Likewise.
4231 * gdb.base/pc-fp.exp: Likewise.
4232 * gdb.base/sigbpt.exp: Likewise.
4233
4234 2009-10-19 Michael Snyder <msnyder@vmware.com>
4235
4236 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4237 * gdb.reverse/finish-reverse.c: Ditto.
4238 * gdb.reverse/sigall-reverse.c: Ditto.
4239 * gdb.reverse/solib-reverse.c: Ditto.
4240 * gdb.reverse/step-reverse.c: Ditto.
4241 * gdb.reverse/watch-reverse.c: Ditto.
4242
4243 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4244 Stan Shebs <stan@codesourcery.com>
4245
4246 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4247 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4248 "Executing new program".
4249 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4250 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4251 left listed after having been killed.
4252 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4253 * gdb.base/maint.exp: Adjust test.
4254
4255 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4256 * gdb.multi/Makefile.in: New.
4257 * gdb.multi/base.exp: New.
4258 * gdb.multi/goodbye.c: New.
4259 * gdb.multi/hangout.c: New.
4260 * gdb.multi/hello.c: New.
4261 * gdb.multi/bkpt-multi-exec.c: New.
4262 * gdb.multi/bkpt-multi-exec.exp: New.
4263 * gdb.multi/crashme.c: New.
4264
4265 2009-10-13 Tristan Gingold <gingold@adacore.com>
4266
4267 * gdb.base/sepdebug.exp: Check debug info are found.
4268
4269 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4270
4271 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4272 bits.
4273
4274 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4275
4276 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4277
4278 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4279
4280 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4281 of the comments.
4282
4283 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4284
4285 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4286 * gdb.base/annota3.exp: Idem.
4287 * gdb.base/maint.exp: Idem.
4288
4289 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4290
4291 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4292 to default.
4293
4294 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4295
4296 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4297 mingw and cygwin targets.
4298
4299 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4300 Pedro Alves <pedro@codesourcery.com>
4301
4302 * lib/gdb.exp (gdb_compile): Avoid adding
4303 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4304
4305 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4306
4307 * gdb.base/shr1.c: Use %p in format string.
4308 * gdb.base/unload.c: Avoid warning in fprintf.
4309 * gdb.base/watchpoint-solib.c: Idem.
4310
4311 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4312
4313 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4314 long type.
4315 (test_unlink): Correct printf string.
4316 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4317 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4318
4319 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4320
4321 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4322 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4323 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4324
4325 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4326
4327 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4328 * gdb.objc/nondebug.exp: Likewise.
4329
4330 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4331
4332 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4333 target_info setting.
4334
4335 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4336 that detect new threads during "info threads".
4337
4338 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4339
4340 * gdb.threads/manythreads.c (main): Increase thread stack size
4341 to 2*PTHREAD_STACK_MIN.
4342 * gdb.threads/multi-create.c (main): Likewise.
4343 (create_function): Likewise.
4344
4345 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4346
4347 * gdb.base/dump.exp: Pass difference of pointer types instead
4348 of integer types as offset to restore in intarr3.srec case.
4349
4350 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4351
4352 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4353
4354 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4355
4356 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4357
4358 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4359
4360 New test for two watchpoints, with disabling of
4361 the first inserted.
4362 * testsuite/gdb.base/watchpoints.c: New file.
4363 * testsuite/gdb.base/watchpoints.exp: New file.
4364
4365 2009-09-25 Tom Tromey <tromey@redhat.com>
4366
4367 * gdb.base/charset.exp: Test utf-16 strings with Python.
4368
4369 2009-09-25 Tom Tromey <tromey@redhat.com>
4370
4371 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4372 UCS-4.
4373 * gdb.base/charset.c (utf_32_string): Rename.
4374 (init_utf32): Rename.
4375 (main): Update.
4376
4377 2009-09-22 Tom Tromey <tromey@redhat.com>
4378
4379 * gdb.python/py-function.exp: Add regression tests.
4380
4381 2009-09-21 Keith Seitz <keiths@redhat.com>
4382
4383 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4384 with invalid operator.
4385
4386 2009-09-21 Keith Seitz <keiths@redhat.com>
4387
4388 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4389 and destructor using typedef name of class.
4390 * gdb.cp/classes.cc (class Base1): Add a destructor.
4391 (base1): New typedef.
4392 (use_methods): Instanitate an object of type base1.
4393 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4394 (do_tests): Call test_template_typedef.
4395 * gdb.cp/templates.cc (Baz::~Baz): New method.
4396 (intBazOne): New typedef.
4397 (main): Instantiate intBazOne.
4398
4399 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4400
4401 PR python/10633
4402
4403 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4404 Function.
4405 (run_lang_tests): Add print elements test.
4406
4407 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4408
4409 * gdb.python/py-value.exp (test_subscript_regression): New
4410 function. Test for invalid subscripts.
4411 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4412 (ptr_ref): New function.
4413
4414 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4415
4416 * gdb.base/default.exp: Fix "show convenience".
4417
4418 2009-09-15 Tom Tromey <tromey@redhat.com>
4419
4420 * lib/mi-support.exp (mi_create_varobj): Update.
4421 (mi_create_floating_varobj): Likewise.
4422 (mi_create_dynamic_varobj): New proc.
4423 (mi_varobj_update): Update.
4424 (mi_varobj_update_with_type_change): Likewise.
4425 (mi_varobj_update_kv_helper): New proc.
4426 (mi_varobj_update_dynamic_helper): Rewrite.
4427 (mi_varobj_update_dynamic): New proc.
4428 (mi_list_varobj_children): Update.
4429 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4430 * gdb.python/python-prettyprint.py (pp_outer): New class.
4431 (pp_nullstr): Likewise.
4432 (lookup_function): Register new printers.
4433 * gdb.python/python-prettyprint.c (struct substruct): New type.
4434 (struct outerstruct): Likewise.
4435 (substruct_test): New function.
4436 (struct nullstr): New type.
4437 (string_1, string_2): New globals.
4438 (main): Add new tests.
4439 * gdb.python/python-mi.exp: Added regression tests.
4440 * gdb.mi/mi2-var-display.exp: Update.
4441 * gdb.mi/mi2-var-cmd.exp: Update.
4442 * gdb.mi/mi2-var-child.exp: Update.
4443 * gdb.mi/mi2-var-block.exp: Update.
4444 * gdb.mi/mi-var-invalidate.exp: Update.
4445 * gdb.mi/mi-var-display.exp: Update.
4446 * gdb.mi/mi-var-cmd.exp: Update.
4447 * gdb.mi/mi-var-child.exp: Update.
4448 * gdb.mi/mi-var-block.exp: Update.
4449 * gdb.mi/mi-break.exp: Update.
4450 * gdb.mi/gdb701.exp: Update.
4451
4452 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4453
4454 * Makefile.in: Inclusion of catch-syscall object.
4455 * gdb.base/catch-syscall.c: New file.
4456 * gdb.base/catch-syscall.exp: New file.
4457
4458 2009-09-12 Michael Snyder <msnyder@vmware.com>
4459
4460 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4461 that can support reverse debuggnig.
4462
4463 2009-09-11 Tom Tromey <tromey@redhat.com>
4464
4465 * gdb.dwarf2/valop.S: New file.
4466 * gdb.dwarf2/valop.exp: New file.
4467
4468 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4469
4470 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4471
4472 2009-09-10 Doug Evans <dje@google.com>
4473
4474 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4475 Add $gdb_prompt to second breakpoint regexp.
4476
4477 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4478
4479 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4480 names, add missing ones.
4481 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4482 * gdb.python/py-frame.c: Rename from python-frame.c.
4483 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4484 testfile name.
4485 * gdb.python/py-function.exp: Rename from python-function.exp.
4486 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4487 testfile name.
4488 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4489 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4490 Adjust testfile name.
4491 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4492 * gdb.python/py-template.cc: Rename from python-template.cc.
4493 * gdb.python/py-template.exp: Rename from python-template.exp.
4494 Adjust testfile name.
4495 * gdb.python/py-value.c: Rename from python-value.c.
4496 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4497 testfile name.
4498
4499 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4500
4501 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4502 $bpt2address.
4503 (Second breakpoint address is valid on ia64)
4504 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4505
4506 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4507
4508 * gdb.base/ending-run.exp: Restrict regular expression matching
4509 line number to require closing brace following.
4510
4511 2009-09-03 Doug Evans <dje@google.com>
4512
4513 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4514
4515 2009-09-02 Tom Tromey <tromey@redhat.com>
4516
4517 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4518
4519 2009-09-02 Tom Tromey <tromey@redhat.com>
4520
4521 * gdb.dwarf2/callframecfa.exp: New file.
4522 * gdb.dwarf2/callframecfa.S: New file.
4523
4524 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4525
4526 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4527 gdb.base/solib-overlap-main.c: New.
4528
4529 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4530
4531 PR gdb/10565
4532
4533 * gdb.base/bitfields.c (struct container, container): New.
4534 (main): Initialize it and call break5.
4535 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4536
4537 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4538
4539 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4540 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4541
4542 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4543
4544 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4545
4546 2009-08-26 Michael Snyder <msnyder@vmware.com>
4547
4548 * gdb.base/i386-reverse.c: New file.
4549 * gdb.base/i386-reverse.exp: New file.
4550 * gdb.base/Makefile.in: Add new files to be removed.
4551
4552 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4553
4554 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4555 environment-pwd for remote host.
4556 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4557
4558 2009-08-24 Keith Seitz <keiths@redhat.com>
4559
4560 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4561 Add two new C++ completer tests which limit the output to a
4562 given class.
4563
4564 2009-08-24 Michael Snyder <msnyder@vmware.com>
4565
4566 * gdb.base/del.exp: Fix typo in comment.
4567 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4568
4569 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4570
4571 * configure: Regenerate.
4572 * gdb.hp/configure: Likewise.
4573 * gdb.hp/gdb.aCC/configure: Likewise.
4574 * gdb.hp/gdb.base-hp/configure: Likewise.
4575 * gdb.hp/gdb.compat/configure: Likewise.
4576 * gdb.hp/gdb.defects/configure: Likewise.
4577 * gdb.hp/gdb.objdbg/configure: Likewise.
4578 * gdb.stabs/configure: Likewise.
4579
4580 2009-08-19 Doug Evans <dje@google.com>
4581
4582 * gdb.base/gdbvars.c: New file.
4583 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4584
4585 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4586
4587 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4588 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4589
4590 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4591
4592 * gdb.base/default.exp: Adjust "set language test": it's now an
4593 enum command. Larger help string moved to "help set language".
4594 * gdb.base/help.exp: Adjust "help set language" expected output,
4595 now lists all known languages.
4596
4597 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4598
4599 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4600 all frame arguments.
4601 * gdb.arch/altivec-regs.exp: Likewise.
4602
4603 2009-08-07 Tom Tromey <tromey@redhat.com>
4604
4605 * gdb.base/setshow.exp: Add tests for changes to set language, set
4606 check range, and set check type.
4607
4608 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4609
4610 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4611 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4612 Call it.
4613
4614 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4615
4616 * configure.ac: Run gdb.cell tests when appropriate.
4617 * configure: Regenerate.
4618 * lib/cell.exp: New file.
4619 * gdb.cell: New directory.
4620 * gdb.cell/configure.ac: New file.
4621 * gdb.cell/configure: New file.
4622 * gdb.cell/Makefile.in: New file.
4623 * gdb.cell/arch.exp: New file.
4624 * gdb.cell/break.c: New file.
4625 * gdb.cell/break.exp: New file.
4626 * gdb.cell/break-spu.c: New file.
4627 * gdb.cell/bt.c: New file.
4628 * gdb.cell/bt2-spu.c: New file.
4629 * gdb.cell/bt-spu.c: New file.
4630 * gdb.cell/bt.exp: New file.
4631 * gdb.cell/coremaker.c: New file.
4632 * gdb.cell/coremaker-spu.c: New file.
4633 * gdb.cell/core.exp: New file.
4634 * gdb.cell/gcore.exp: New file.
4635 * gdb.cell/data.c: New file.
4636 * gdb.cell/data.exp: New file.
4637 * gdb.cell/data-spu.c: New file.
4638 * gdb.cell/ea-cache.exp: New file.
4639 * gdb.cell/ea-cache.c: New file.
4640 * gdb.cell/ea-cache-spu.c: New file.
4641 * gdb.cell/ea-standalone.c: New file.
4642 * gdb.cell/ea-standalone.exp: New file.
4643 * gdb.cell/ea-test.c: New file.
4644 * gdb.cell/ea-test.exp: New file.
4645 * gdb.cell/f-regs.exp: New file.
4646 * gdb.cell/mem-access.c: New file.
4647 * gdb.cell/mem-access.exp: New file.
4648 * gdb.cell/mem-access-spu.c: New file.
4649 * gdb.cell/ptype.exp: New file.
4650 * gdb.cell/registers.exp: New file.
4651 * gdb.cell/size.c: New file.
4652 * gdb.cell/sizeof.exp: New file.
4653 * gdb.cell/size-spu.c: New file.
4654 * gdb.cell/solib.exp: New file.
4655 * gdb.cell/solib-symbol.exp: New file.
4656
4657 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4658
4659 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4660
4661 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4662
4663 * gdb.base/float.exp: Handle VFP registers.
4664
4665 2009-07-14 Michael Snyder <msnyder@vmware.com>
4666
4667 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4668 to bring gdb to the beginning of the calling line.
4669
4670 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4671 confusing the i386 epilogue unwinder.
4672
4673 2009-07-14 Stan Shebs <stan@codesourcery.com>
4674
4675 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4676
4677 2009-07-14 Michael Snyder <msnyder@vmware.com>
4678
4679 * gdb.reverse/step-reverse.exp (stepi into function call):
4680 Call instruction may not be first instruction in the line.
4681 (reverse stepi from a function call): Used wrong line number.
4682
4683 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4684
4685 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4686
4687 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4688
4689 Fix gdb.base/macscp.exp when using custom inputrc.
4690 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4691 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4692 env(TERM) set.
4693 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4694 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4695
4696 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4697
4698 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4699 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4700 Change the compilation target to match the testcase name.
4701 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4702 testcase name.
4703 * a2-run.exp: Use for setup prepare_for_testing. Change the
4704 compilation target to match the testcase name.
4705 * gdb.base/commands.exp: Likewise.
4706 * gdb.base/finish.exp: Likewise.
4707 * gdb.base/float.exp: Likewise.
4708 * gdb.base/info-target.exp: Likewise.
4709 * gdb.base/relational.exp: Likewise.
4710 * gdb.base/term.exp: Likewise.
4711 * gdb.base/until.exp: Likewise.
4712 * gdb.base/volatile.exp: Likewise.
4713 * gdb.base/whatis-exp.exp: Likewise.
4714
4715 2009-07-11 Hui Zhu <teawater@gmail.com>
4716
4717 * gdb.base/help.exp (disassemble): Update expected help text.
4718
4719 2009-07-09 Tom Tromey <tromey@redhat.com>
4720
4721 * lib/gdb.exp: Handle TRANSCRIPT.
4722 (remote_spawn, remote_close, send_gdb): New procs.
4723
4724 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4725
4726 * gdb.python/python-prettyprint.c: Add counted null string
4727 structure.
4728 * gdb.python/python-prettyprint.exp: Print null string. Test for
4729 embedded nulls.
4730 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4731 * gdb.python/python-value.exp (test_value_in_inferior): Add
4732 variable length string fetch tests.
4733 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4734
4735 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4736
4737 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4738
4739 2009-07-07 Tom Tromey <tromey@redhat.com>
4740
4741 * gdb.base/call-rt-st.exp: Update for change to escape output.
4742 * gdb.base/callfuncs.exp: Likewise.
4743 * gdb.base/charset.exp: Likewise.
4744 * gdb.base/constvars.exp: Likewise.
4745 * gdb.base/long_long.exp: Likewise.
4746 * gdb.base/pointers.exp: Likewise.
4747 * gdb.base/printcmds.exp: Likewise.
4748 * gdb.base/setvar.exp: Likewise.
4749 * gdb.base/store.exp: Likewise.
4750 * gdb.cp/ref-types.exp: Likewise.
4751 * gdb.mi/mi-var-child.exp: Likewise.
4752 * gdb.mi/mi-var-display.exp: Likewise.
4753 * gdb.mi/mi2-var-display.exp: Likewise.
4754 * gdb.base/charset.exp: Test octal escape sequence length.
4755 Update for change to escape output.
4756
4757 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4758
4759 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4760
4761 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4762
4763 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4764
4765 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4766
4767 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4768 gdbserver increasing $portnum if "Can't bind address" has been seen.
4769
4770 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4771
4772 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4773 mingw32ce.
4774
4775 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4776
4777 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4778 VFP format.
4779
4780 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4781
4782 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4783 linux. Adjust to use "inferior", "info inferiors", "detach
4784 inferior" and "kill inferior" instead of "restart", "info fork",
4785 "detach fork" and "delete fork".
4786 * gdb.base/ending-run.exp: Spell out "info".
4787 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4788 the "kill" command.
4789
4790 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4791
4792 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4793 change to prefix TLS offset in hex with 0x.
4794
4795 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4796
4797 * gdb.base/default.exp: Update test case for "x" changes.
4798
4799 2009-07-01 Tristan Gingold <gingold@adacore.com>
4800
4801 * gdb.base/bigcore.exp: Make darwin untested.
4802
4803 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4804
4805 * gdb.base/completion.exp (directory completion): Create the directory.
4806 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4807 escapeuniquesub.
4808 (directory completion 2): Expect now ${escapeuniquesub}.
4809 (Glob remaining of directory test): Remove one excessive newline.
4810 Expect the real output.
4811
4812 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4813
4814 Fix `make check//%' target after `make check' has been ran.
4815 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4816 a mkdir call.
4817 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4818 (%/.dir): Remove.
4819
4820 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4823 the expected result record.
4824
4825 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4826
4827 Remove racy FAILs relying just on the timeouts.
4828 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4829 (annotation_level 2): Remove racy FAILs.
4830
4831 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4832
4833 gdb/10275
4834 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4835
4836 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4837
4838 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4839
4840 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4841
4842 * gdb.mi/mi-stack.exp: Testing symbolic options
4843 to -stack-list-locals and -stack-list-arguments.
4844
4845 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4848
4849 2009-06-29 Tom Tromey <tromey@redhat.com>
4850
4851 * dg-extract-results.sh: New file.
4852 * Makefile.in (FORCE_PARALLEL): New variable.
4853 (CHECK_TARGET): New conditional variable.
4854 (check): Use CHECK_TARGET.
4855 (DO_RUNTEST): New variable.
4856 (check-single): New target.
4857 (TEST_DIRS): New variable.
4858 (TEST_TARGETS): Likewise.
4859 (check-parallel): New target.
4860 (check-gdb.%): New pattern.
4861 (BASE1_FILES): New variable.
4862 (BASE2_FILES): Likewise.
4863 (check-gdb.base%): New pattern.
4864 (%/.dir): New pattern.
4865 * configure: Rebuild.
4866 * aclocal.m4 (AM_CONDITIONAL): New defun.
4867 * configure.ac: Check whether user is using GNU make.
4868 (GMAKE): New conditional.
4869
4870 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4871
4872 * gdb.cp/namespace-nested-import.cc: New test.
4873 * gdb.cp/namespace-nested-import.exp: New test.
4874
4875 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4876
4877 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4878 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4879 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4880 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4881 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4882 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4883 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4884 gdb.opt/inline-markers.c: New files.
4885 * lib/gdb.exp (skip_inline_frame_tests): New function.
4886 (skip_inline_var_tests): New function.
4887
4888 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4889
4890 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4891 backtrace.
4892
4893 2009-06-27 Michael Snyder <msnyder@vmware.com>
4894
4895 * gdb.reverse: New directory.
4896 * gdb.reverse/break-reverse.c: New test.
4897 * gdb.reverse/break-reverse.exp: New test.
4898 * gdb.reverse/consecutive-reverse.c: New test.
4899 * gdb.reverse/consecutive-reverse.exp: New test.
4900 * gdb.reverse/finish-reverse.c: New test.
4901 * gdb.reverse/finish-reverse.exp: New test.
4902 * gdb.reverse/machinestate.c: New test.
4903 * gdb.reverse/ms1.c: New test.
4904 * gdb.reverse/machinestate.exp: New test.
4905 * gdb.reverse/Makefile.in: New file.
4906 * gdb.reverse/shr2.c: New test.
4907 * gdb.reverse/solib-reverse.c: New test.
4908 * gdb.reverse/solib-reverse.exp: New test.
4909 * gdb.reverse/step-reverse.c: New test.
4910 * gdb.reverse/step-reverse.exp: New test.
4911 * gdb.reverse/until-reverse.c: New test.
4912 * gdb.reverse/ur1.c: New test.
4913 * gdb.reverse/until-reverse.exp: New test.
4914 * gdb.reverse/watch-reverse.c: New test.
4915 * gdb.reverse/watch-reverse.exp: New test.
4916 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4917 * configure: Regenerate.
4918
4919 2009-06-26 Doug Evans <dje@google.com>
4920
4921 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4922
4923 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4924
4925 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4926 windows problem for 'file delete $binfile'.
4927
4928 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4929
4930 * gdb.cp/namespace-using.exp: New test.
4931 * gdb.cp/namespace-using.cc: New test.
4932
4933 2009-05-20 Joel Brobecker <brobecker@adacore.com>
4934
4935 * gdb.ada/variant_record_packed_array: New testcase.
4936
4937 2009-06-23 Tom Tromey <tromey@redhat.com>
4938
4939 * gdb.base/charset.exp (test_combination): Regression test.
4940 * gdb.base/charset.c (my_wchar_t): New typedef.
4941 (myvar): New global.
4942 (main): Set myvar.
4943
4944 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
4945
4946 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
4947 target.
4948
4949 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4950
4951 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
4952
4953 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4954
4955 * gdb.mi/gdb680.exp: Update test for error message.
4956
4957 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4958
4959 * gdb.base/annota1.exp: Allow multiple occurrences of the
4960 frames-invalid annotation.
4961 * gdb.cp/annota2.exp: Likewise.
4962
4963 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
4964
4965 * gdb.cp/gdb2495.cc: New file.
4966 * gdb.cp/gdb2495.exp: New file.
4967
4968 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4969
4970 Report error on GDB crash during runto.
4971 * lib/gdb.exp (runto <eof>): New.
4972
4973 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
4974
4975 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
4976 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
4977 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
4978 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
4979 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
4980 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
4981 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
4982 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
4983 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
4984 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
4985 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
4986 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
4987 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
4988 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
4989 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
4990 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
4991 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
4992 gdb.server/server-mon.exp, gdb.server/server-run.exp,
4993 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4994 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4995 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
4996 gdb.trace/passcount.exp, gdb.trace/report.exp,
4997 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
4998 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
4999 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5000 executable.
5001
5002 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5003
5004 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5005 defined before referencing it.
5006
5007 2009-06-03 Doug Evans <dje@google.com>
5008
5009 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5010 * gdb.arch/i386-see.c: Ditto.
5011
5012 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5013
5014 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5015 (check_macro): Return 1 if undefined.
5016 If first test fails, check if macro debug information is available,
5017 and report unsupported test if no macro information is found.
5018
5019 2009-05-29 Doug Evans <dje@google.com>
5020
5021 * gdb.threads/hand-call-in-threads.exp: New.
5022 * gdb.threads/hand-call-in-threads.c: New.
5023
5024 2009-05-29 Michael Snyder <msnyder@vmware.com>
5025
5026 * gdb.base/break-always.exp: Change "1" to "on".
5027 Add confirmation check.
5028
5029 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5030
5031 * gdb.threads/threxit-hop-specific.c: New.
5032 * gdb.threads/threxit-hop-specific.exp: New.
5033 * gdb.threads/thread-execl.c: New.
5034 * gdb.threads/thread-execl.exp: New.
5035
5036 2009-05-27 Tom Tromey <tromey@redhat.com>
5037 Thiago Jung Bauermann <bauerman@br.ibm.com>
5038
5039 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5040 (mi_child_regexp): Likewise.
5041 (mi_list_varobj_children_range): Likewise.
5042 (mi_get_features): Likewise.
5043 (mi_list_varobj_children): Rewrite.
5044 * gdb.python/python-mi.exp: New file.
5045
5046 2009-05-27 Tom Tromey <tromey@redhat.com>
5047 Thiago Jung Bauermann <bauerman@br.ibm.com>
5048 Phil Muldoon <pmuldoon@redhat.com>
5049 Paul Pluzhnikov <ppluzhnikov@google.com>
5050
5051 * gdb.python/python-prettyprint.exp: New file.
5052 * gdb.python/python-prettyprint.c: New file.
5053 * gdb.python/python-prettyprint.py: New file.
5054 * gdb.base/display.exp: print/r is now valid.
5055
5056 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5057 Tom Tromey <tromey@redhat.com>
5058 Pedro Alves <pedro@codesourcery.com>
5059 Paul Pluzhnikov <ppluzhnikov@google.com>
5060
5061 * gdb.python/python-template.exp: New file.
5062 * gdb.python/python-template.cc: New file.
5063 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5064 tests.
5065 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5066 Call it.
5067 (test_value_after_death): New proc.
5068 * gdb.python/python-value.c (PTR): New typedef.
5069 (main): New variable 'x'.
5070
5071 2009-05-27 Tom Tromey <tromey@redhat.com>
5072
5073 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5074 tests.
5075 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5076 Call it.
5077
5078 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5079
5080 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5081
5082 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5083
5084 * gdb.threads/fork-thread-pending.c: New.
5085 * gdb.threads/fork-thread-pending.exp: New.
5086
5087 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5088
5089 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5090 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5091
5092 2009-05-18 Jon Beniston <jon@beniston.com>
5093
5094 * gdb.asm/asm-source.exp: Add lm32 target.
5095
5096 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5097
5098 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5099 `gdb_get_line_number'. Call `callee' in both parent and child.
5100 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5101 `gdb_get_line_number' instead of hardcoding line numbers.
5102 (catch_fork_unpatch_child): New procedure to test detaching
5103 breakpoints from child fork.
5104 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5105 hardcoding line numbers.
5106 (do_fork_tests): Run `catch_fork_unpatch_child'.
5107
5108 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5109
5110 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5111 of structure type enters or leaves the scope, it
5112 is reported by -var-update.
5113
5114 2009-05-11 Doug Evans <dje@sebabeach.org>
5115
5116 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5117 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5118 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5119
5120 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5121
5122 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5123
5124 2009-04-30 Doug Evans <dje@google.com>
5125
5126 * gdb.threads/watchthreads2.exp: New testcase.
5127 * gdb.threads/watchthreads2.c: New testcase.
5128
5129 2009-04-29 Doug Evans <dje@google.com>
5130
5131 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5132 * gdb.cp/mb-ctor.cc: Ditto.
5133 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5134 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5135 * gdb.cp/mb-inline1.cc: Call it.
5136 * gdb.cp/mb-inline2.cc: Ditto.
5137 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5138 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5139
5140 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5141
5142 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5143 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5144 Replace all uses of `decimal' by `nonzero'.
5145 (info macro FROM_COMMANDLINE): New test.
5146
5147 2009-04-27 Tom Tromey <tromey@redhat.com>
5148
5149 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5150
5151 2009-04-27 Doug Evans <dje@google.com>
5152
5153 * gdb.threads/watchthreads.c (main): Initialize args before starting
5154 the threads. Plus formatting cleanup.
5155 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5156 biased scheduling of one thread.
5157
5158 2009-04-27 Jerome Guitton <guitton@adacore.com>
5159
5160 * gdb.cp/templates.cc (GetMax): New template.
5161 (main): Declare two instances of GetMax.
5162 * gdb.cp/templates.exp: Add new test.
5163
5164 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5167
5168 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5169
5170 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5171
5172 2009-04-15 Tom Tromey <tromey@redhat.com>
5173
5174 * gdb.base/charset.exp: Add regression test.
5175
5176 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5177
5178 * gdb.base/exe-lock.exp: New testcase.
5179
5180 2009-04-13 Tom Tromey <tromey@redhat.com>
5181
5182 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5183 operator on Frame.
5184
5185 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5186
5187 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5188 * gdb.server/ext-attach.exp: Likewise.
5189
5190 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5191
5192 Eliminate some sleep usage.
5193
5194 * gdb.mi/basics.c (do_nothing): New.
5195 (main): Use do_nothing instead of printf, so that
5196 not to introduce race condition between output of
5197 inferiour and output of gdb. Do not use sleep as it
5198 is not generally available on embedded targets.
5199
5200 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5201
5202 * gdb.server/ext-attach.exp: Expect an optional process id after
5203 "Detached from remote process".
5204
5205 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5206
5207 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5208 gdb.dwarf2/dw2-unresolved.exp: New.
5209
5210 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5211
5212 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5213 mi_run_to_main.
5214
5215 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5216
5217 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5218 mi_run_to_main. Skip thread exit test on remote targets.
5219 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5220 mi_run_to_main.
5221 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5222 mi_run_to_main.
5223 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5224 when expecting ^connected. Detect when the target doesn't support
5225 non-stop mode.
5226 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5227 supported. Return -1 on error, 0 on success.
5228 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5229 (mi_runto): Return mi_runto_helper's result explicitly.
5230
5231 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5232
5233 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5234
5235 2009-04-01 Tom Tromey <tromey@redhat.com>
5236
5237 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5238 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5239 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5240 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5241
5242 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5243 Jan Kratochvil <jan.kratochvil@redhat.com>
5244
5245 PR gdb/931
5246 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5247 output.
5248 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5249 for gdb/931.
5250 * dw2-strp.S (DW_AT_language): Change to C++.
5251 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5252
5253 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5254
5255 * gdb.ada/tasks: New testcase.
5256
5257 2009-03-30 Stan Shebs <stan@codesourcery.com>
5258
5259 * gdb.trace/actions.exp: Update to match new info trace format.
5260 * gdb.trace/deltrace.exp: Ditto.
5261 * gdb.trace/infotrace.exp: Ditto.
5262 * gdb.trace/passcount.exp: Ditto.
5263 * gdb.trace/save-trace.exp: Ditto.
5264 * gdb.trace/while-stepping.exp: Ditto.
5265 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5266
5267 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5268
5269 * gdb.python/python-frame.c: New file.
5270 * gdb.python/python-frame.exp: New file.
5271
5272 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5273
5274 * gdb.python/python-value.exp: Add tests for the address
5275 attribute.
5276
5277 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5278
5279 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5280
5281 2009-03-26 Doug Evans <dje@google.com>
5282
5283 * gdb.mi/mi-nonstop-exit.exp: New file.
5284 * gdb.mi/non-stop-exit.c: New file.
5285
5286 2009-03-26 Tom Tromey <tromey@redhat.com>
5287
5288 Update for change to prologue skipping:
5289 * gdb.mi/mi2-simplerun.exp: Update.
5290 * gdb.mi/mi2-break.exp: Update.
5291 * gdb.mi/mi-simplerun.exp: Update.
5292 * gdb.mi/mi-break.exp: Update.
5293 * gdb.base/ending-run.exp: Update.
5294
5295 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5296
5297 * gdb.python/python-value.exp (test_value_in_inferior): Test
5298 gdb.Value.is_optimized_out attribute.
5299
5300 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5301
5302 * gdb.dwarf2/dw2-noloc-main.c: New file.
5303 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5304 (.text): Remove.
5305 (.data): New.
5306 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5307 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5308 (DW_TAG_subprogram func_cu1, noloc): Remove.
5309 (main): New.
5310 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5311 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5312 (file_symbols): New procedure.
5313
5314 2009-03-25 Tom Tromey <tromey@redhat.com>
5315
5316 * gdb.base/charset.exp (valid_target_charset): New proc.
5317 Use it to skip tests on invalid charsets.
5318
5319 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5320
5321 * gdb.base/completion.exp: Add a test for directory completion.
5322
5323 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5324
5325 Fix a racy FAIL.
5326 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5327 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5328
5329 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5330
5331 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5332 * gdb.python/python-function.exp: Add test for function returning
5333 a GDB value.
5334
5335 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5336
5337 * gdb.python/python-function.exp: New file.
5338
5339 2009-03-20 Tom Tromey <tromey@redhat.com>
5340
5341 * gdb.base/store.exp: Update for change to escape output.
5342 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5343 to escape output.
5344 * gdb.base/pointers.exp: Update for change to escape output.
5345 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5346 to escape output.
5347 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5348 escape output.
5349 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5350 to escape output.
5351 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5352 escape output.
5353 * gdb.base/setvar.exp: Update for change to escape output.
5354 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5355 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5356 to escape output.
5357 (test_print_string_constants): Likewise.
5358 * gdb.base/charset.exp (valid_host_charset): Check size of
5359 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5360 cases. Handle "auto"-related output.
5361 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5362 (uvar, Uvar): New globals.
5363
5364 2009-03-19 Jerome Guitton <guitton@adacore.com>
5365
5366 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5367 deltas.
5368 * gdb.ada/fixed_points.exp: Ditto.
5369
5370 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5371
5372 * return-nodebug.c: Don't include stdio.h.
5373 (init): Delete.
5374 (func): Delete definition and provide extern declaration.
5375 (t): New.
5376 (main): Don't call printf. Call func and store its result in t.
5377 * return-nodebug1.c: New.
5378 * return-nodebug.exp: Don't expect stdio output. Instead, print
5379 the global variable t. Drop printf formatters and cast types from
5380 foreach loop. Don't use prepare_for_testing. Compile
5381 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5382 define FORMAT or CAST.
5383
5384 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5385
5386 * gdb.base/solib-display.exp: Disable test for remote targers.
5387
5388 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5391
5392 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5393
5394 Fix a racy FAIL.
5395 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5396 code from `follow parent, print pids'.
5397 (`follow child, print pids', `follow parent, print pids'): Call it.
5398 Replace `gdb_test "break..."' by gdb_breakpoint.
5399
5400 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5401
5402 * gdb.mi/mi-cli.exp: Adjust for output difference in
5403 sync and async modes.
5404
5405 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5406
5407 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5408 that was checked in by mistake. Remove loading of ada.exp, since
5409 this is not necessary in this case.
5410
5411 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.ada/ptype_arith_binop.exp: New testcase.
5414
5415 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5416
5417 * gdb.ada/mod_from_name: New testcase.
5418
5419 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5420
5421 * gdb.ada/tick_last_segv: New testcase.
5422
5423 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5424
5425 * gdb.mi/mi-cli.exp: Remove debug print.
5426
5427 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5428
5429 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5430 include the token in ^running and frame info in *stopped.
5431
5432 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5433
5434 * solib-display.exp: New file.
5435 * solib-display-main.c: New file.
5436 * solib-display-lib.c: New file.
5437
5438 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5439
5440 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5441
5442 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5443
5444 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5445 (list_and_check_macro): Use more specific test name.
5446 (next to definition): Make the test names unique.
5447
5448 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5449
5450 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5451
5452 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5453
5454 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5455 notifications.
5456 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5457 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5458 * lib/mi-support.exp (library_loaded_re): New.
5459 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5460
5461 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5462
5463 * gdb.gdb/observer.exp: Use test_notification observer, not
5464 normal_stop, everywhere.
5465 (test_normal_stop_notifications): Rename to...
5466 (test_notifications): ...this.
5467 (test_observer_normal_stop): Rename to...
5468 (test_observer): ...this.
5469
5470 2009-02-16 Doug Evans <dje@google.com>
5471
5472 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5473 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5474 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5475 (test_prefixed_syscall,test_int3): New tests.
5476 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5477 (test_prefixed_syscall,test_int3): New tests.
5478
5479 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5480
5481 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5482 (mi_expect_interrupt): Likewise.
5483 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5484 response.
5485
5486 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5487
5488 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5489 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5490 Replace calls to get_valueofx by get_hexadecimal_valueof.
5491
5492 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5493
5494 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5495 (get_integer_valueof): New procedure.
5496 (get_sizeof): Use new get_integer_value_of.
5497 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5498 by get_integer_valueof.
5499
5500 2009-02-13 Tom Tromey <tromey@redhat.com>
5501
5502 * gdb.base/remote.exp (get_sizeof): Remove.
5503 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5504 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5505 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5506 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5507 (get_sizeof): Likewise.
5508
5509 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5510
5511 PR fortran/9806
5512 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5513
5514 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5515
5516 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5517
5518 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5519
5520 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5521
5522 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5523
5524 * gdb.python/python-cmd.exp: New file.
5525
5526 2009-02-06 Tristan Gingold <gingold@adacore.com>
5527
5528 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5529
5530 2009-02-05 Tristan Gingold <gingold@adacore.com>
5531
5532 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5533 pointer is dereferenced and use this signal name in regexp.
5534 * gdb.base/signull.exp: Ditto.
5535 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5536 * gdb.base/signull.c (main): Ditto.
5537
5538 2009-02-04 Tom Tromey <tromey@redhat.com>
5539 Thiago Jung Bauermann <bauerman@br.ibm.com>
5540
5541 * gdb.python/python-value.exp: Use `gdb.history' instead of
5542 `gdb.value_from_history'.
5543 (test_value_numeric_ops): Add test for conversion of enum constant.
5544 * gdb.python/python-value.c (enum e): New type.
5545 (evalue): New global.
5546 (main): Use argv.
5547
5548 2009-02-04 Jerome Guitton <guitton@adacore.com>
5549
5550 * gdb.ada/uninitialized_vars: New test program.
5551 * gdb.ada/uninitialized_vars.exp: New testcase.
5552
5553 2009-02-02 Tom Tromey <tromey@redhat.com>
5554
5555 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5556 * gdb.cp/pr2489.cc: Rename...
5557 * gdb.cp/pr9594.cc: ... to this.
5558
5559 2009-02-02 Tom Tromey <tromey@redhat.com>
5560
5561 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5562 * gdb.cp/pr2489.cc: New file.
5563 * gdb.cp/cpcompletion.exp: New file.
5564
5565 2009-02-02 Tom Tromey <tromey@redhat.com>
5566
5567 PR exp/9059:
5568 * gdb.cp/call-c.exp: Add regression test.
5569 * gdb.cp/call-c.cc (FooHandle): New typedef.
5570 (main): New variable 'handle'.
5571
5572 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5573
5574 * lib/mi-support.exp (et_mi_thread_list)
5575 (check_mi_and_console_threads): Adjust for current thread in
5576 -thread-list-ids output.
5577
5578 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5579
5580 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5581 Call it.
5582
5583 2009-01-28 Doug Evans <dje@google.com>
5584
5585 * gdb.arch/amd64-disp-step.S: New file.
5586 * gdb.arch/amd64-disp-step.exp: New file.
5587 * gdb.arch/i386-disp-step.S: New file.
5588 * gdb.arch/i386-disp-step.exp: New file.
5589
5590 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5591
5592 * gdb.base/find.exp: Set newline variable
5593 using quotes instead of braces to fix cygwin failures.
5594
5595 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5596
5597 * gdb.base/radix.exp: Add tests to ensure that that set
5598 input-radix 0 and set output-radix 0 are really rejected.
5599
5600 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5601
5602 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5603 copyright years.
5604
5605 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5606
5607 PR gdb/9664:
5608 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5609
5610 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5611
5612 PR c++/9631:
5613 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5614
5615 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5616
5617 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5618 binfile definition to fix Windows OS failure.
5619
5620 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5621
5622 PR gdb/9346
5623 * gdb.base/interrupt.c (sigint_handler): New.
5624 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5625 on error.
5626 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5627 Test "signal SIGINT".
5628
5629 2009-01-19 Doug Evans <dje@google.com>
5630
5631 * gdb.base/break.exp: Update expected gdb output.
5632 * gdb.base/sepdebug.exp: Ditto.
5633 * gdb.mi/mi-syn-frame.exp: Ditto.
5634 * gdb.mi/mi2-syn-frame.exp: Ditto.
5635 * gdb.base/call-signal-resume.exp: New file.
5636 * gdb.base/call-signals.c: New file.
5637 * gdb.base/unwindonsignal.exp: New file.
5638 * gdb.base/unwindonsignal.c: New file.
5639 * gdb.threads/interrupted-hand-call.exp: New file.
5640 * gdb.threads/interrupted-hand-call.c: New file.
5641 * gdb.threads/thread-unwindonsignal.exp: New file.
5642
5643 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5644
5645 * gdb.base/define.exp: Test defining and hooking prefix commands.
5646 * gdb.python/python.exp: Update test for "show user" output.
5647
5648 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5649
5650 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5651 now the output exactly, using less wildcards. Expect also the output
5652 of gfortran-4.3. Update for the f-valprint.c modification from
5653 2008-04-22.
5654 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5655 Remove gdb_test test names where matching the command.
5656
5657 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5658
5659 PR breakpoints/9681:
5660 * gdb.base/watchpoint.exp: Add regression test.
5661
5662 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5663
5664 * gdb.threads/attach-into-signal.exp: Don't use
5665 gdb_suppress_entire_file.
5666 * gdb.threads/attach-stopped.exp: Ditto.
5667 * gdb.threads/attachstop-mt.exp: Ditto.
5668
5669 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5670
5671 PR gdb/8812:
5672 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5673
5674 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5675
5676 PR gdb/7536:
5677 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5678 and unsupported output radices are really rejected.
5679
5680 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5681
5682 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5683
5684 2008-12-22 Tom Tromey <tromey@redhat.com>
5685
5686 * gdb.cp/punctuator.exp: New file.
5687
5688 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5689
5690 * gdb.base/completion.exp (Completing non-existing component): New test.
5691
5692 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 Fix for PR gdb/8648.
5695 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5696 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5697 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5698 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5699
5700 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5701
5702 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5703
5704 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5705
5706 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5707 compiler actually generate code at the expected line number.
5708
5709 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5710
5711 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5712
5713 2008-12-12 Tom Tromey <tromey@redhat.com>
5714
5715 * gdb.base/commands.exp (redefine_hook_test): New proc.
5716 Call it.
5717
5718 2008-12-11 Tom Tromey <tromey@redhat.com>
5719
5720 * gdb.base/macscp.exp: New regression test.
5721
5722 2008-12-11 Tom Tromey <tromey@redhat.com>
5723
5724 * gdb.base/macscp.exp: Print "address.addr".
5725 * gdb.base/macscp1.c (struct outer): New struct.
5726 (address): New global.
5727
5728 2008-12-09 Tom Tromey <tromey@redhat.com>
5729
5730 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5731 Call it.
5732
5733 2008-12-04 Doug Evans <dje@google.com>
5734
5735 * gdb.server/ext-run.exp: Relax regexp for init program.
5736
5737 2008-12-03 Tristan Gingold <gingold@adacore.com>
5738
5739 * gdb.base/macscp.exp: Generate an object file during compilation
5740 to work around Darwin dsymutil limitations.
5741
5742 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5743
5744 Test resolving external references to TLS variables.
5745 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5746 FILE2_THREAD_LOCAL.
5747 (testfile2, srcfile2): New variables.
5748 * gdb.threads/tls.c (file2_thread_local)
5749 (function_referencing_file2_thread_local): New.
5750 * gdb.threads/tls2.c: New file.
5751
5752 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5753
5754 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5755 rather than integer, as integer might not be big enough when
5756 on 64bit targets.
5757
5758 2008-11-27 Jerome Guitton <guitton@adacore.com>
5759
5760 * gdb.cp/formatted-ref.exp: Add equality test.
5761 * gdb.ada/formatted_ref.exp: Ditto.
5762
5763 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5764
5765 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5766 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5767
5768 2008-11-20 Andreas Schwab <schwab@suse.de>
5769
5770 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5771 matching syscall entry point.
5772 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5773 (tcatch_vfork_then_child_follow): Likewise. Finish through
5774 vfork even if we stopped at the syscall trampoline.
5775
5776 2008-11-20 Doug Evans <dje@google.com>
5777
5778 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5779
5780 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5781
5782 * gdb.arch/ppc-dfp.exp: New file.
5783 * gdb.arch/ppc-dfp.c: New file.
5784
5785 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5786
5787 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5788
5789 2008-11-17 Doug Evans <dje@google.com>
5790
5791 * gdb.mi/mi-syn-frame.exp: Update expected output.
5792 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5793
5794 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5795
5796 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5797 "thread N" results in =thread-selected.
5798 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5799 (mi_send_resuming_command_raw): Be prepared for
5800 =thread-selected.
5801
5802 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5803
5804 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5805 * lib/mi-support.exp: Likewise.
5806
5807 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5808
5809 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5810 commands from the expected output for "help catch".
5811
5812 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5813
5814 * gdb.ada/int_deref.exp: New testcase.
5815
5816 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5817
5818 * gdb.mi/gdb2549.exp: New file.
5819
5820 2008-11-11 Doug Evans <dje@google.com>
5821
5822 * gdb.base/callexit.exp: New file.
5823 * gdb.base/callexit.c: New file.
5824
5825 2008-11-10 Doug Evans <dje@google.com>
5826
5827 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5828 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5829 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5830 (default_gdb_start,default_gdb_exit): Ditto.
5831 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5832 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5833 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5834 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5835 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5836 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5837
5838 2008-11-03 Andreas Schwab <schwab@suse.de>
5839
5840 * gdb.base/hashline2.exp: Fix typo.
5841 * gdb.base/hashline3.exp: Likewise.
5842
5843 2008-10-30 Tom Tromey <tromey@redhat.com>
5844
5845 * gdb.base/pointers.exp: Add test.
5846 * gdb.base/pointers.c (k, S): New typedefs.
5847 (instance): New global.
5848
5849 2008-10-30 Andreas Schwab <schwab@suse.de>
5850
5851 * gdb.base/args.exp: Add tests for newlines.
5852
5853 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5854
5855 gdb.base/foll-exec.exp: Update the expected output of a couple
5856 of "info breakpoints" tests.
5857
5858 2008-10-28 Tom Tromey <tromey@redhat.com>
5859
5860 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5861
5862 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5863
5864 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5865 gdb_start_cmd.
5866 Use runto_main before any test that requires execution.
5867
5868 2008-10-23 Pedro Alves <pedro@codesourcery.com>
5869
5870 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5871 instead of SIGINT.
5872
5873 2008-10-22 Joel Brobecker <brobecker@adacore.com>
5874
5875 * gdb.base/completion.exp: Update expected output following
5876 the addition of the "info tasks" command.
5877
5878 2008-10-22 Tom Tromey <tromey@redhat.com>
5879
5880 * gdb.base/exprs.exp (test_expr): Add test for string
5881 concatenation.
5882
5883 2008-10-19 Pedro Alves <pedro@codesourcery.com>
5884
5885 * configure.ac: Output gdb.python/Makefile.
5886 * configure: Regenerate.
5887 * gdb.python/Makefile.in: New.
5888
5889 2008-10-16 Joel Brobecker <brobecker@adacore.com>
5890
5891 * gdb.base/foll-fork.exp: Adjust the expected output to match
5892 the new description for fork/vfork catchpoints in the "info
5893 breakpoints" output.
5894
5895 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5896
5897 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5898
5899 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5900
5901 * gdb.python/python-value.c: New file.
5902 * gdb.python/python-value.exp: New file.
5903
5904 2008-10-15 Pedro Alves <pedro@codesourcery.com>
5905
5906 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5907
5908 2008-10-15 Denis Pilat <denis.pilat@st.com>
5909
5910 * gdb.cp/mb-ctor.exp: Fix a typo.
5911
5912 2008-10-09 Tom Tromey <tromey@redhat.com>
5913
5914 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5915 'fprintf' and 'stderr'.
5916
5917 2008-10-07 Joel Brobecker <brobecker@adacore.com>
5918
5919 * gdb.ada/ref_tick_size.exp: New testcase.
5920
5921 2008-10-06 Doug Evans <dje@google.com>
5922
5923 * gdb.dwarf2/dw2-cu-size.exp: New file.
5924 * gdb.dwarf2/dw2-cu-size.S: New file.
5925
5926 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5927 .Ltype_int for clarity.
5928
5929 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5930
5931 PR gdb/2384:
5932 * gdb.cp/gdb2384.exp: Extended to test more cases.
5933 * gdb.cp/gdb2384.cc: Likewise.
5934 * gdb.cp/gdb2384-base.h: Likewise.
5935 * gdb.cp/gdb2384-base.cc: Likewise.
5936
5937 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5938
5939 * gdb.base/maint.exp (maint print type): Remove printing
5940 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5941
5942 2008-09-30 Tom Tromey <tromey@redhat.com>
5943
5944 * gdb.base/macscp.exp: Add completion tests.
5945 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
5946 (TWENTY_THREE): Likewise.
5947 (FORTY_EIGHT): Likewise.
5948
5949 2008-09-30 Tom Tromey <tromey@redhat.com>
5950
5951 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
5952 everywhere.
5953 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
5954
5955 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5956
5957 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
5958 testcase is derived from. Fix racy dependency on an expected PID
5959 number. No longer support the testcase on Linux kernel 2.4.x.
5960
5961 2008-09-27 Tom Tromey <tromey@redhat.com>
5962
5963 * gdb.base/macscp.exp: Add tests for stringification, splicing,
5964 and varargs.
5965
5966 2008-09-22 Pedro Alves <pedro@codesourcery.com>
5967
5968 * lib/mi-support.exp (mi_expect_interrupt): New.
5969 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
5970 from gdb.mi/mi-nonstop.exp.
5971 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
5972 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
5973 lib/mi-support.exp.
5974 Use mi_check_thread_states throughout. Avoid ".*" and do not
5975 require an anchor after -exec-run.
5976
5977 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
5978
5979 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
5980 stop is pending. Avoid ".*" when two stops are pending.
5981 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
5982 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
5983 newlines in fullnames.
5984 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
5985 (mi_expect_stop): Update comments. Only anchor in sync mode.
5986 Do not match newlines.
5987 (mi_send_resuming_command_raw): Always return status.
5988 (mi_get_stop_line): Do not match more than one line by accident.
5989 Only anchor in sync mode.
5990 (mi_run_inline_test): If -exec-next fails, give up.
5991
5992 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5993
5994 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
5995 on SPU.
5996
5997 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5998
5999 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6000
6001 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6002
6003 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6004 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6005 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6006 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6007 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6008 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6009 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6010 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6011 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6012 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6013 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6014 Include the "= " sequence in the expected output of print tests.
6015
6016 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6017
6018 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6019 description for boolean types.
6020
6021 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6022
6023 * gdb.base/hook-stop-continue.c: New.
6024 * gdb.base/hook-stop-continue.exp: New.
6025
6026 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6027
6028 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6029
6030 2008-09-08 Jerome Guitton <guitton@adacore.com>
6031
6032 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6033 (stack_check_probe_2, stack_check_probe_loop_1)
6034 (stack_check_probe_loop_2): New functions.
6035 (main): Add call to these new functions.
6036 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6037 functions, check that the breakpoint is inserted at the appropriate
6038 location.
6039 (insert_breakpoint): Slightly refine this procedure so that it can
6040 be called several times in the test.
6041
6042 2008-09-08 Jerome Guitton <guitton@adacore.com>
6043
6044 * gdb.base/stack-checking.c: New file.
6045 * gdb.base/stack-checking.exp: New file.
6046
6047 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6048
6049 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6050 * gdb.arch/altivec-regs.exp: Likewise.
6051 * gdb.arch/vsx-regs.exp: Likewise.
6052
6053 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6054
6055 * gdb.arch/ppc-fp.exp: New file.
6056 * gdb.arch/ppc-fp.c: New file.
6057
6058 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6059
6060 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6061 lest gcc-4.3.1 optimizes the whole thing away.
6062
6063 2008-09-04 Michael Snyder <msnyder@vmware.com>
6064
6065 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6066 as "at" (for non-debug functions such as _start).
6067
6068 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6069
6070 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6071 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6072 software watchpoints.
6073 * gdb.base/watch_thread_num.exp: Likewise.
6074
6075 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6076
6077 * gdb.arch/i386-bp_permanent.exp: New test.
6078
6079 2008-08-24 Tom Tromey <tromey@redhat.com>
6080
6081 * gdb.base/maint.exp: Update "maint print type".
6082
6083 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6084
6085 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6086 support. Adjust the order of "*running" notifications.
6087 * gdb.mi/non-stop.c: Don't cast from int to void* and
6088 back.
6089
6090 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6091
6092 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6093 expect to find it in the "info frame" output.
6094
6095 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6096
6097 * gdb.base/interp.exp: Always consume both prompts.
6098
6099 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6100
6101 * gdb.base/pending.exp: Test pending breakpoints without symbols
6102 loaded.
6103
6104 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6105
6106 * lib/mi-support.exp (mi_expect_stop): Produce
6107 more details on failures.
6108 * gdb.mi/mi-nonstop.exp: New.
6109 * gdb.mi/non-stop.c: New.
6110
6111 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6112
6113 * gdb.mi/mi-async.exp: Use 'set target-async'.
6114 * lib/mi-support.exp: Use 'set/show target-async'.
6115
6116 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6117
6118 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6119
6120 2008-08-17 Tom Tromey <tromey@redhat.com>
6121
6122 * gdb.base/help.exp (help catch): Rewrite.
6123
6124 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6125
6126 * gdb.base/define.exp: Test indented command documentation.
6127 * gdb.python/python.exp: Test indented multi-line command.
6128
6129 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6130
6131 * testsuite/gdb.arch/vsx-regs.c: New source file.
6132 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6133 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6134
6135 2008-08-14 Tom Tromey <tromey@redhat.com>
6136
6137 * gdb.base/macscp.exp: Add regression test for "macro define" or
6138 "macro undef" with no arguments.
6139
6140 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6141
6142 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6143
6144 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6145
6146 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6147
6148 2008-08-06 Tom Tromey <tromey@redhat.com>
6149
6150 * gdb.python/python.exp: New file.
6151
6152 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6153
6154 Fix for PR gdb/1543.
6155 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6156 $LOCATION.
6157 (location): New variable.
6158 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6159 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6160 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6161 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6162 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6163 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6164 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6165 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6166 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6167 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6168 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6169 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6170 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6171 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6172 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6173 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6174 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6175 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6176 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6177 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6178 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6179 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6180 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6181 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6182 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6183 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6184 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6185 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6186 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6187 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6188 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6189 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6190 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6191 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6192 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6193 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6194 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6195 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6196 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6197 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6198 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6199 gdb.base/type-opaque.exp, gdb.base/until.exp,
6200 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6201 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6202 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6203 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6204 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6205 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6206 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6207 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6208 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6209 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6210 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6211 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6212 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6213 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6214 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6215 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6216 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6217 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6218 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6219 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6220 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6221 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6222 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6223 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6224 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6225 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6226 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6227 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6228 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6229 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6230 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6231 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6232 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6233 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6234 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6235 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6236 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6237 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6238 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6239 to bug-gdb@prep.ai.mit.edu .
6240
6241 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6242
6243 * lib/mi-support.exp (mi_load_shlibs): New.
6244 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6245
6246 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6247
6248 * lib/mi-support.exp (get_mi_thread_list)
6249 (check_mi_and_console_threads): New, moved from ...
6250 * gdb.mi/mi-pthread.exp: ...here.
6251 * gdb.mi/gdb669.exp (get_mi_thread_list)
6252 (check_mi_and_console_threads): Delete.
6253 * gdb.mi/mi2-pthread.exp: Likewise.
6254
6255 2008-07-28 Tom Tromey <tromey@redhat.com>
6256
6257 * Makefile.in (just-check): Remove. Move body to...
6258 (check): ... here.
6259
6260 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6261
6262 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6263 Add a test for duplicated SIGINTs.
6264
6265 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6266
6267 * gdb.threads/schedlock.exp (get_args): Update to work for any
6268 value of NUM.
6269 (Top level): Report the number of threads that did not resume.
6270
6271 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6272
6273 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6274
6275 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6276
6277 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6278 non-MI prompt.
6279
6280 2008-07-26 Tom Tromey <tromey@redhat.com>
6281
6282 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6283 (function_struct, function_struct_ptr): New globals.
6284 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6285 function pointer in a struct.
6286
6287 2008-07-26 Tom Tromey <tromey@redhat.com>
6288
6289 * gdb.base/macscp.exp: Add test for macro lexing bug.
6290
6291 2008-07-18 Tom Tromey <tromey@redhat.com>
6292
6293 * gdb.base/macscp.exp: Add macro tests.
6294
6295 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6296
6297 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6298
6299 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6300
6301 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6302
6303 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6304
6305 * gdb.cp/class2.exp: fix for failure on spu-elf
6306
6307 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6308
6309 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6310
6311 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6314
6315 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6316
6317 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6318
6319 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6320
6321 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6322 of regexp to account for changes made to GDB in the printing of
6323 byte vectors.
6324
6325 2008-07-11 Tom Tromey <tromey@redhat.com>
6326
6327 * gdb.base/completion.exp: Add 'help' completion test.
6328
6329 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6330
6331 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6332
6333 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6334
6335 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6336
6337 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6338
6339 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6340
6341 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6342
6343 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6344
6345 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6346
6347 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6348
6349 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6350
6351 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6352 previous commit. Add a comment.
6353
6354 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6355
6356 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6357
6358 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6359
6360 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6361
6362 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6363
6364 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6365 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6366 compiling an executable, link in an object that forces unbuffered
6367 output.
6368 * lib/set_unbuffered_mode.c: New file.
6369
6370 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6371
6372 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6373
6374 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6375
6376 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6377 mi_expect_stop.
6378 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6379 Demand that *running is output.
6380 (detect_async): Perform checking every time.
6381 (mi_send_resuming_command): Extract everything into...
6382 (mi_send_resuming_command_raw): ...this.
6383 (mi_expect_stop): Don't accept any output before *stopped.
6384
6385 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6386
6387 Robustify mi-simplerun.
6388 * gdb.mi/basics.c (main): Add a call to sleep.
6389 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6390 * gdb.mi/mi2-cli.exp: Likewise.
6391 * gdb.mi/mi-break.exp: Likewise.
6392
6393 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6394
6395 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6396
6397 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6398
6399 * gdb.mi/mi-console.exp: Adjust.
6400 * gdb.mi/mi-syn-frame.exp: Adjust.
6401 * gdb.mi/mi2-console.exp: Adjust.
6402 * gdb.mi/mi2-syn-frame.exp: Adjust.
6403 * lib/mi-support.exp (mi_run_cmd): Adjust.
6404 (mi_send_resuming_command): Adjust.
6405
6406 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6407
6408 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6409 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6410 testing of stopped.
6411 * gdb.mi/mi2-syn-frame.exp: Likewise.
6412 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6413 (async, detect_async): New.
6414 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6415 depending on if we're running in sync or async mode.
6416
6417 2008-06-09 Tom Tromey <tromey@redhat.com>
6418
6419 * gdb.base/completion.exp: New tests for field name completion
6420 with spaces, and field name completion with '->'.
6421
6422 2008-06-06 Tom Tromey <tromey@redhat.com>
6423
6424 * gdb.base/break1.c (struct some_struct): New struct.
6425 (values): New global.
6426 * gdb.base/completion.exp: Add field name completion test.
6427
6428 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6429
6430 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6431 to pointer.
6432 * gdb.cp/call-c.cc: Likewise.
6433
6434 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6435
6436 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6437 annotation.
6438
6439 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6440 Pedro Alves <pedro@codesourcery.com>
6441
6442 * gdb.threads/execl.c, gdb.threads/execl1.c,
6443 gdb.threads/execl.exp: New tests.
6444
6445 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6446 Daniel Jacobowitz <dan@codesourcery.com>
6447
6448 * gdb.cp/exception.exp: Activate test, make it work with pending
6449 catchpoints.
6450
6451 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6452
6453 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6454
6455 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6456
6457 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6458 now printed.
6459 * gdb.mi/mi2-var-cmd.exp: Likewise.
6460
6461 2008-05-27 Andreas Schwab <schwab@suse.de>
6462
6463 * gdb.base/frame-args.exp: Handle arguments that are optimized
6464 out.
6465
6466 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6467
6468 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6469 quiet for ppc32 and group options into a single variable.
6470
6471 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6472
6473 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6474 of zero-size elements.
6475 * gdb.ada/null_array.exp: Test printing this new array.
6476
6477 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6478
6479 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6480
6481 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6482
6483 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6484 of the "finish" command.
6485
6486 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6487
6488 * gdb.base/annota1.exp: Test for new annotation.
6489
6490 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6491
6492 * gdb.base/fixsection.exp: New file.
6493 * gdb.base/fixsection0.c: New file.
6494 * gdb.base/fixsection1.c: New file.
6495
6496 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6497
6498 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6499 * gdb.base/annota3.exp: Likewise.
6500
6501 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6502
6503 * gdb.base/watch_thread_num.exp: Don't run tests that require
6504 watchpoints if the target doesn't support them.
6505
6506 2008-05-12 Doug Evans <dje@google.com>
6507
6508 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6509
6510 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6511
6512 * gdb.ada/assign_1.exp: New testcase.
6513
6514 2008-05-09 Doug Evans <dje@google.com>
6515
6516 * gdb.base/find.exp: New file.
6517 * gdb.base/find.c: New file.
6518
6519 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6520
6521 * gdb.base/commands.exp (watchpoint_command_test): Handle
6522 gdb,no_hardware_watchpoints.
6523 * gdb.base/float.exp: Allow ARM targets without floating point.
6524 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6525
6526 2008-05-06 Jerome Guitton <guitton@adacore.com>
6527 Joel Brobecker <brobecker@adacore.com>
6528
6529 * gdb.ada/lang_switch: New test program.
6530 * gdb.ada/lang_switch.exp: New testcase.
6531
6532 2008-05-05 Doug Evans <dje@google.com>
6533
6534 * gdb.base/help.exp (disassemble): Update expected help text.
6535
6536 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6537
6538 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6539
6540 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6541
6542 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6543 different times.
6544
6545 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6546
6547 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6548 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6549 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6550 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6551
6552 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6553
6554 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6555 notification to appear.
6556
6557 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6558
6559 * gdb.base/fullname.c: New file.
6560 * gdb.base/fullname.exp: New file.
6561 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6562
6563 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6564
6565 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6566 expressions with macros.
6567
6568 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6569
6570 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6571
6572 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6573
6574 * gdb.base/completion.exp: Handle lack of other symbols beginning
6575 with "a".
6576
6577 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6578
6579 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6580
6581 * gdb.asm/asmsrc1.s: Add scratch space.
6582
6583 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6584 Daniel Jacobowitz <dan@codesourcery.com>
6585
6586 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6587 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6588 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6589
6590 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6591
6592 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6593
6594 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6595
6596 * gdb.base/info-target.exp: New testcase.
6597
6598 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6599
6600 * gdb.cp/hang.exp: Use .cc instead of .C.
6601 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6602 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6603
6604 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6605
6606 * gdb.base/gdb1250.exp: Remove perror.
6607 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6608
6609 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6610
6611 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6612 .2byte.
6613
6614 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6615
6616 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6617 (maybe_kfail): New.
6618
6619 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6620
6621 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6622
6623 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6624
6625 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6626 * gdb.mi/mi2-syn-frame.exp: Likewise.
6627 * lib/mi-support.exp: Likewise.
6628
6629 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6630
6631 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6632 to specify regexp for the location to stop at.
6633 * gdb.base/break-always.c: New.
6634 * gdb.base/break-always.exp: New.
6635
6636 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6637
6638 * lib/mi-support.exp (mi_runto_helper): Adjust
6639 for the original-location field.
6640 (mi_create_breakpoint, mi_list_breakpoints): New.
6641 * gdb.mi/mi-break.exp: Adjust.
6642 * gdb.mi/mi2-break.exp: Adjust.
6643 * gdb.mi/mi-pending.exp: Adjust.
6644 * gdb.mi/mi-simplerun.exp: Adjust.
6645 * gdb.mi/mi2-simplerun.exp: Adjust.
6646 * gdb.mi/mi-syn-frame.exp: Adjust.
6647 * gdb.mi/mi2-syn-frame.exp: Adjust.
6648 * gdb.mi/mi-until.exp: Adjust.
6649 * gdb.mi/mi2-until.exp: Adjust.
6650 * gdb.mi/mi-var-display.exp: Adjust.
6651 * gdb.mi/mi2-var-display.exp: Adjust.
6652 * gdb.mi/mi-watch.exp: Adjust.
6653 * gdb.mi/mi2-watch.exp: Adjust.
6654
6655 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6656
6657 * aclocal.m4: Add override.m4.
6658 * configure: Regenerate.
6659
6660 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6661
6662 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6663 '-var-update --all-values' reports new value even the type
6664 of a variable object has changed.
6665
6666 2008-04-18 Craig Silverstein <csilvers@google.com>
6667
6668 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6669 files.
6670
6671 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6672
6673 * gdb.ada/atomic_enum: New test program.
6674 * gdb.ada/atomic_enum.exp: New testcase.
6675
6676 2008-04-17 Doug Evans <dje@google.com>
6677
6678 * gdb.opt/Makefile.in: Fix whitespace.
6679
6680 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6681
6682 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6683
6684 2008-04-17 Doug Evans <dje@google.com>
6685
6686 * gdb.base/hashline1.exp: New testcase.
6687 * gdb.base/hashline2.exp: New testcase.
6688 * gdb.base/hashline2.exp: New testcase.
6689
6690 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6691
6692 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6693
6694 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6695
6696 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6697 temporary breakpoint to match "Temporary breakpoint".
6698 * gdb.base/break.exp (delete_breakpoints): Likewise.
6699 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6700 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6701 * gdb.base/display.exp: Likewise.
6702 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6703 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6704 * gdb.base/restore.exp (restore_tests): Likewise.
6705 * gdb.base/sepdebug.exp: Likewise.
6706 * gdb.base/watchpoint.exp: Likewise.
6707 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6708 * gdb.mi/mi-pending.exp: Likewise.
6709 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6710 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6711 * gdb.mi/mi-var-cmd.exp: Likewise.
6712 * gdb.mi/mi-var-display.exp: Likewise.
6713 * gdb.mi/mi2-cli.exp: Likewise.
6714 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6715 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6716 * gdb.mi/mi2-var-display.exp: Likewise.
6717 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6718 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6719 new "disp" field.
6720 (mi_expect_stop): Move after_reason argument to be really after
6721 reason. This is to support fix for PR2424.
6722
6723 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6724
6725 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6726
6727 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6728
6729 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6730 field. Add more floating varobj tests.
6731 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6732 field.
6733 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6734 (main): Call do_at_tests.
6735 * lib/mi-support.exp (mi_create_floating_varobj)
6736 (mi_varobj_update_with_type_change): New.
6737
6738 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6739
6740 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6741 option of -var-evaluate-expression.
6742 * gdb.mi/mi2-var-display.exp: Likewise.
6743
6744 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6745
6746 Introduce test setup helpers.
6747 * lib/gdb.exp (build_executable, clean_restart)
6748 (prepare_for_testing): New.
6749 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6750 * gdb.base/return.exp: Likewise.
6751 * gdb.base/ending-run.exp: Likewise.
6752
6753 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6754
6755 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6756 Interface (MI) responses.
6757
6758 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6759
6760 * gdb.cp/breakpoint.cc: New code to test conditions involving
6761 member variables.
6762 * gdb.cp/breakpoint.exp: Test condition involving member
6763 variables.
6764
6765 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6766
6767 * lib/mi-support.exp (mi_expect_stop): New.
6768 (mi_run_cmd): Change the
6769 token. Use mi_send_resuming_command, use
6770 mi_expect_stop.
6771 (mi_execute_to_helper): Rename to mi_execute_to.
6772 (mi_send_resuming_command): Add more error patterns.
6773 (mi_wait_for_stop): Renamed to...
6774 (mi_get_stop_line): ...this.
6775 (mi_run_inline_test): Adjust.
6776
6777 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6778 * gdb.mi/mi-console.exp: Likewise.
6779 * gdb.mi/mi-pending.exp: Likewise.
6780 * gdb.mi/mi-simplerun.exp: Likewise.
6781 * gdb.mi/mi-stack.exp: Likewise.
6782 * gdb.mi/mi-stepi.exp: Likewise.
6783 * gdb.mi/mi-syn-frame.exp: Add comment.
6784 * gdb.mi/mi-until.exp: Likewise.
6785 * gdb.mi/mi-var-display.exp: Likewise.
6786 * gdb.mi/mi-watch.exp: Likewise.
6787 * gdb.mi/mi2-cli.exp: Likewise.
6788 * gdb.mi/mi2-console.exp: Likewise.
6789 * gdb.mi/mi2-simplerun.exp: Likewise.
6790 * gdb.mi/mi2-stack.exp: Likewise.
6791 * gdb.mi/mi2-stepi.exp: Likewise.
6792 * gdb.mi/mi2-until.exp: Likewise.
6793 * gdb.mi/mi2-var-display.exp: Likewise.
6794 * gdb.mi/mi2-watch.exp: Likewise.
6795
6796 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6797
6798 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6799
6800 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6801
6802 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6803
6804 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6805 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6806 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6807 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6808 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6809 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6810 expect an mi error duplicated in stderr.
6811
6812 2008-04-03 Joel Brobecker <brobecker@adacore.com>
6813
6814 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6815 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6816 Add a couple of tests that verify the behavior when the new setting
6817 is set to "cancel" and "all".
6818 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6819 "ask" before we start the testing.
6820
6821 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6822
6823 * gdb.cp/casts.cc: Add class reference variables.
6824 * gdb.cp/casts.exp: New test cases for up/down casting references.
6825
6826 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6827
6828 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6829 instead of beginning to make an extra test pass.
6830 * gdb.mi/mi2-var-display.exp: Likewise.
6831
6832 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6833
6834 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6835
6836 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6837 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6838
6839 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6840 value. Add xfail for older kernels.
6841
6842 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6843
6844 Bring mi-support in line with gdb.exp.
6845 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6846 (mi_gdb_start): New function.
6847
6848 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6849
6850 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6851
6852 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6853
6854 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6855 * gdb.mi/mi2-var-display.exp: Likewise.
6856
6857 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6858
6859 * lib/mi-support.exp (mi_create_varobj_checked): New.
6860 (mi_list_varobj_children): Allow to check for a
6861 value.
6862 (mi_list_array_varobj_children): New.
6863
6864 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6865 and mi_list_varobj_children, as opposed to hardcoding
6866 expected strings.
6867 * gdb.mi/gdb701.exp: Likewise.
6868 * gdb.mi/gdb792.exp: Likewise.
6869 * gdb.mi/mi-var-block.exp: Likewise.
6870 * gdb.mi/mi-var-cmd.exp: Likewise.
6871 * gdb.mi/mi-var-invalidate.exp: Likewise.
6872 * gdb.mi/mi2-var-block.exp: Likewise.
6873 * gdb.mi/mi2-var-child.exp: Likewise.
6874 * gdb.mi/mi2-var-cmd.exp: Likewise.
6875 * gdb.mi/mi2-var-display.exp: Likewise.
6876
6877 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6878
6879 Fix random false FAILs on i386.
6880 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6881
6882 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6883
6884 PR gdb/544
6885 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6886
6887 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6888
6889 PR gdb/544
6890 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6891
6892 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6893
6894 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6895 fixed PR gdb/544.
6896
6897 2008-03-21 Pedro Alves <pedro@codesourcery.com>
6898
6899 * gdb.threads/fork-child-threads.exp: Test next over fork.
6900
6901 2008-03-21 Chris Demetriou <cgd@google.com>
6902
6903 * gdb.base/break.exp (rbreak junk): New test for rbreak
6904 "Junk at end of arguments" issue.
6905
6906 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6907
6908 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6909 *& to work on created array elements.
6910 (Top level): Test print $pc with a file. Test string operations
6911 without a target.
6912 * gdb.base/ptype.exp: Do not expect *& to work on created array
6913 elements.
6914
6915 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6916
6917 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6918 gdb.threads/staticthreads.exp: Update exit query.
6919
6920 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6921
6922 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6923
6924 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6925
6926 * gdb.base/watchpoint.c (global_ptr, func4): New.
6927 (main): Call func4.
6928 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6929 (test_inaccessible_watchpoint): New.
6930
6931 2008-02-29 Maciej W. Rozycki <macro@mips.com>
6932
6933 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6934 select the largest.
6935
6936 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6937
6938 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6939 frames-invalid annotations.
6940
6941 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
6942
6943 * gdb.base/assign.exp: avoid same output for different tests.
6944
6945 2008-02-27 Doug Evans <dje@google.com>
6946
6947 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
6948 for bug 1738.
6949 (breakpoint_to_handler_entry): Ditto.
6950
6951 2008-02-27 Joel Brobecker <brobecker@adacore.com>
6952
6953 * gdb.base/ending-run.exp: Use the first line of code inside
6954 function body to test breakpoints.
6955 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
6956 location where the breakpoint is inserted when using the line
6957 where a function is declared. Fix typo in the description of
6958 one of the tests.
6959 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
6960
6961 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6962
6963 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
6964 tests.
6965
6966 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6967
6968 * gdb.base/args.exp: avoid same output for tests
6969 with single quotes.
6970
6971 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6972
6973 * gdb.base/annota1.exp: Adjust for 'info break'
6974 format changes.
6975 * gdb.base/annota3.exp: Likewise.
6976 * gdb.base/break.exp: Likewise.
6977 * gdb.base/condbreak.exp: Likewise.
6978 * gdb.base/pending.exp: Likewise.
6979 * gdb.base/sepdebug.exp: Likewise.
6980 * gdb.base/unload.exp: Likewise.
6981 * gdb.cp/ovldbreak.exp: Likewise.
6982 * gdb.mi/mi-pending.exp: Likewise.
6983
6984 2008-02-07 Doug Evans <dje@google.com>
6985
6986 * gdb.cp/mb-inline.exp: New.
6987 * gdb.cp/mb-inline.h: New.
6988 * gdb.cp/mb-inline1.cc: New.
6989 * gdb.cp/mb-inline2.cc: New.
6990
6991 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
6992
6993 * gdb.pascal/floats.pas: New test program.
6994 * gdb.pascal/floats.exp: New testcase.
6995
6996 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6997
6998 * gdb.base/callfuncs.c (t_float_many_args): New function.
6999 (t_double_many_args): New function.
7000 * gdb.base/callfuncs.exp: Add tests for exceeding float
7001 and double parameters passed through the stack.
7002
7003 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7004
7005 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7006 gdb.ada/complete/foo.adb: New files.
7007 * gdb.ada/complete.exp: New testcase.
7008
7009 2008-02-03 Doug Evans <dje@google.com>
7010
7011 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7012
7013 * gdb.cp/gdb2384.exp: New file.
7014 * gdb.cp/gdb2384.cc: New file.
7015 * gdb.cp/gdb2384-base.h: New file.
7016 * gdb.cp/gdb2384-base.cc: New file.
7017
7018 2008-02-02 Doug Evans <dje@google.com>
7019
7020 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7021
7022 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7023
7024 * gdb.ada/sym_print_name: New test program.
7025 * gdb.ada/sym_print_name.exp: New testcase.
7026
7027 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7028
7029 * gdb.ada/nested/hello.adb: New file.
7030 * gdb.ada/nested.exp: New testcase.
7031 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7032
7033 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7034
7035 * gdb.mi/basic.c (return_1): New function.
7036 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7037 don't cause future evaluations of function to report
7038 creation of internal breakpoints.
7039
7040 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7041
7042 * gdb.mi/mi-break.exp (test_error): New.
7043 Call it.
7044
7045 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7046
7047 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7048 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7049
7050 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7051
7052 * gdb.pascal/integers.pas: New test program.
7053 * gdb.pascal/integers.exp: New testcase.
7054
7055 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7056
7057 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7058
7059 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7060
7061 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7062 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7063
7064 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7065
7066 * gdb.ada/formatted_ref: New test program.
7067 * gdb.ada/formatted_ref.exp: New testcase.
7068
7069 * gdb.cp/formatted-ref.cc: New file.
7070 * gdb.cp/formatted-ref.exp: New testcase.
7071
7072 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7073
7074 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7075
7076 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7077
7078 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7079 (test_file_list_exec_source_file): Update to new macro-info field.
7080
7081 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7082
7083 * gdb.ada/exprs: New test program.
7084 * gdb.ada/exprs.exp: New testcase.
7085
7086 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7087
7088 * dfp-test.c (DELTA, DELTA_B): New definitions.
7089 (double_val1, double_val2, double_val3, double_val4, double_val5,
7090 double_val6, double_val7, double_val8, double_val9, double_val10,
7091 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7092 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7093 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7094 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7095 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7096 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7097 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7098 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7099 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7100 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7101 dec128_val16): New global variables.
7102 (decimal_dec128_align): New function.
7103 (decimal_mixed): Likewise.
7104 (decimal_many_args_dec32): Likewise.
7105 (decimal_many_args_dec64): Likewise.
7106 (decimal_many_args_dec128): Likewise.
7107 (decimal_many_args_mixed): Likewise.
7108 * dfp-test.exp: Add tests calling new inferior functions.
7109
7110 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7111
7112 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7113 gdb.server/ext-run.exp: New files.
7114 * lib/gdbserver-support.exp (gdbserver_download): New.
7115 (gdbserver_start): New. Update gdbserver expected
7116 output.
7117 (gdbserver_spawn): Use them.
7118 (gdbserver_start_extended): New.
7119
7120 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7121
7122 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7123 Run on GNU/Linux.
7124 (do_exec_tests): Check for systems which do not support catchpoints.
7125 Do not match START.
7126 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7127 Run on GNU/Linux. Enable verbose output.
7128 (check_fork_catchpoints): New.
7129 (explicit_fork_child_follow, catch_fork_child_follow)
7130 (tcatch_fork_parent_follow): Update expected messages.
7131 (do_fork_tests): Use check_fork_catchpoints.
7132 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7133 Run on GNU/Linux. Enable verbose output.
7134 (check_vfork_catchpoints): New.
7135 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7136 expected messages.
7137 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7138
7139 2008-01-29 Jim Blandy <jimb@red-bean.com>
7140
7141 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7142 host' errors.
7143 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7144
7145 2008-01-29 Jim Blandy <jimb@red-bean.com>
7146
7147 * gdb.threads/sigthread.c: Use barriers to ensure that
7148 child_thread and child_thread_two are always initialized before we
7149 start to use them.
7150
7151 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7152
7153 * gdb.base/watchpoint-solib.exp: New.
7154 * gdb.base/watchpoint-solib.c: New.
7155 * gdb.base/watchpoint-solib-shr.c: New.
7156
7157 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7158
7159 * gdb.base/gdb1056.exp: Add unsigned integer test.
7160
7161 2008-01-28 Doug Evans <dje@google.com>
7162
7163 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7164
7165 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7166
7167 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7168
7169 * gdb.base/expand-psymtabs.exp: Doc fix.
7170
7171 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7172
7173 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7174
7175 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7176
7177 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7178 -var-set-format.
7179
7180 2008-01-23 Chris Demetriou <cgd@google.com>
7181
7182 * gdb.threads/thread_events.c: New testcase source file.
7183 * gdb.threads/thread_events.exp: New testcase expect file.
7184
7185 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7186
7187 * lib/gdb.exp: Add the variable octal.
7188
7189 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7190 -var-set-format.
7191
7192 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7193 Vladimir Prus <vladimir@codesourcery.com>
7194
7195 * gdb.base/float.exp: Allow missing floating point for m68k and
7196 PowerPC.
7197
7198 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7199
7200 * gdb.mi/basics.c: Setup for testing breakpoints
7201 ignore count.
7202 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7203 * gdb.mi/mi-cli.exp: Adjust.
7204 * gdb.mi/mi2-cli.exp: Adjust.
7205
7206 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7207
7208 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7209 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7210 with dummy_ptr's address.
7211 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7212 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7213 all targets.
7214 * gdb.mi/mi2-var-child.exp: Likewise.
7215
7216 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7217
7218 * gdb.ada/null_array: New test program.
7219 * gdb.ada/null_array.exp: New testcase.
7220
7221 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7222
7223 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7224 with required float modifiers.
7225
7226 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7227
7228 * gdb.ada/funcall_param: New test program.
7229 * gdb.ada/funcall_param.exp: New testcase.
7230
7231 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7232
7233 * gdb.ada/arrayparam: New test program.
7234 * gdb.ada/arrayparam.exp: New testcase.
7235
7236 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7237
7238 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7239 landed. Should also fix random failures in the test following it.
7240
7241 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7242
7243 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7244 for expressions with decimal float values.
7245 (test_dfp_conversions): New function to test casts to and from
7246 decimal float types.
7247 Call test_dfp_conversions.
7248 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7249 elements.
7250 (main): Initialize ds.float4 and ds.double8 elements.
7251 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7252 string to new error message.
7253 (d64_set_tests): Likewise.
7254 (d128_set_tests): Likewise.
7255 Add tests for expressions with decimal float variables. Add tests for
7256 conversions to and from decimal float types.
7257
7258 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7259
7260 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7261 * gdb.ada/packed_tagged.exp: New testcase.
7262
7263 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7264
7265 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7266 gdb.ada/homonym/homonym_main.adb: New files.
7267 * gdb.ada/homonym.exp: New testcase.
7268
7269 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7270
7271 * gdb.ada/packed_array.exp: Add testing of references to
7272 a packed array.
7273
7274 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7275
7276 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7277 New files.
7278 * gdb.ada/type_coercion.exp: New testcase.
7279
7280 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7281
7282 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7283 gdb.ada/tagged/foo.adb: New file.
7284 * gdb.ada/tagged.exp: New testcase.
7285
7286 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7287
7288 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7289 gdb.ada/ptype_field/foo.adb: New files.
7290 * gdb.ada/ptype_field.exp: New testcase.
7291
7292 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7293
7294 * gdb.ada/print_pc.exp: New testcase.
7295
7296 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7299 gdb.ada/taft_type/p.adb: New files.
7300 * gdb.ada/taft_type.exp: New testcase.
7301
7302 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7303
7304 * gdb.ada/array_bounds/bar.adb: New file.
7305 * gdb.ada/array_bounds.exp: New testcase.
7306
7307 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7308
7309 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7310 gdb.ada/arrayptr/foo.adb: New files.
7311 * gdb.ada/arrayptr.exp: New testcase.
7312
7313 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7314
7315 * gdb.base/set-lang-auto.exp: New testcase.
7316
7317 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7318
7319 * gdb.ada/fun_addr/foo.adb: New file.
7320 * gdb.ada/fun_addr.exp: New testcase.
7321
7322 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7323
7324 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7325 New files
7326
7327 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7328
7329 * array_subscript_addr/p.adb: New file.
7330 * array_subscript_addr.exp: New testcase.
7331
7332 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7333
7334 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7335 New files.
7336 * gdb.ada/str_cmp_ref.exp: New testcase.
7337
7338 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7339
7340 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7341 gdb.ada/fun_in_declare/foo.adb: New files.
7342 * gdb.ada/fun_in_declare.exp: New testcase.
7343
7344 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7345
7346 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7347 gdb.ada/ref_param/pck.ads: New files.
7348 * gdb.ada/ref_param.exp: New testcase.
7349
7350 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7351
7352 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7353 gdb.ada/interface/foo.adb: New files.
7354 * gdb.ada/interface.exp: New testcase.
7355
7356 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7357
7358 * gdb.base/multi-forks.exp: Consume all output from child
7359 processes before proceeding to next test.
7360
7361 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7362
7363 * configure: Regenerated.
7364
7365 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7366
7367 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7368 gdb.ada/fixed_cmp/fixed.adb: New files.
7369 * gdb.ada/fixed_cmp.exp: New testcase.
7370
7371 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7372
7373 * gdb.ada/boolean_expr.exp: New testcase.
7374
7375 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7376
7377 * gdb.base/multi-forks.exp: Doc fix.
7378
7379 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7380
7381 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7382 * gdb.ada/char_param.exp: Do not compile our test program with
7383 -gnata, this is unnecessary.
7384 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7385
7386 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7387
7388 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7389 gdb.ada/print_chars/foo.adb: New files.
7390 * gdb.ada/print_chars.exp: New testcase.
7391
7392 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7393
7394 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7395 gdb.ada/char_param/foo.adb: New files.
7396 * gdb.ada/char_param.exp: New testcase.
7397
7398 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7399
7400 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7401 hard-coding source line numbers into the test.
7402 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7403 gdb_get_line_number to find.
7404
7405 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7406
7407 * gdb.base/ptype.c (highest): New struct type.
7408 (the_highest): New variable of that type.
7409 (main): Add dummy assignment to a field of variable the_highest.
7410 * gdb.base/ptype.exp: Test type printing of our new variable.
7411
7412 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7413
7414 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7415 and record first explicitly generated thread number.
7416 Use that thread number for thread specific watchpoint test.
7417 Add iteration number to repetitive tests.
7418
7419 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7420 Jim Blandy <jimb@codesourcery.com>
7421
7422 * gdb.base/expand-psymtabs.c: New testcase
7423 source file.
7424 * gdb.base/expand-psymtabs.exp: New testcase
7425 expect file.
7426
7427 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7428
7429 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7430 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7431
7432 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7433
7434 * gdb.ada/frame_args/foo.adb: New file.
7435 * gdb.ada/frame_args/pck.ads: New file.
7436 * gdb.ada/frame_args/pck.adb: New file.
7437 * gdb.ada/frame_args.exp: New testcase.
7438
7439 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7440
7441 * gdb.base/frame-args.c: New file.
7442 * gdb.base/frame-args.exp: New testcase.
7443
7444 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7445 Joseph Myers <joseph@codesourcery.com>
7446
7447 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7448
7449 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7450
7451 * gdb.mi/mi-pending.exp: New.
7452 * gdb.mi/mi-pending.c: New.
7453 * gdb.mi/mi-pendshr.c: New.
7454
7455 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7456
7457 * gdb.base/default.exp: Update expected output for 'info catch'.
7458
7459 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7460
7461 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7462 must be set to binary.
7463
7464 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7465
7466 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7467
7468 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7469
7470 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7471 gdb.mi/mi-file-transfer.exp: New.
7472
7473 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7474
7475 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7476
7477 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7478
7479 * gdb.trace/backtrace.exp: Fix a typo.
7480 * gdb.trace/circ.exp: Likewise.
7481 * gdb.trace/collection.exp: Likewise.
7482 * gdb.trace/limits.exp: Likewise.
7483 * gdb.trace/report.exp: Likewise.
7484 * gdb.trace/tfind.exp: Likewise.
7485 * gdb.trace/while-dyn.exp: Likewise.
7486
7487 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7488
7489 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7490 objects of pointers that can't be dereferenced are now
7491 "noneditable".
7492
7493 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7494
7495 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7496 (target_cpu): Remove.
7497
7498 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7499
7500 * gdb.base/ending-run.exp: Expect the list of cleared
7501 breakpoint to come in natural order, not the reversed one.
7502
7503 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7504
7505 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7506 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7507
7508 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7509
7510 * gdb.base/printcmds.exp: New function
7511 test_printf_with_dfp.
7512
7513 2007-11-02 Doug Evans <dje@google.com>
7514
7515 * gdb.disasm/t01_mov.s: Remove carriage returns.
7516 * gdb.disasm/t02_mova.s: Ditto.
7517 * gdb.disasm/t03_add.s: Ditto.
7518 * gdb.disasm/t04_sub.s: Ditto.
7519 * gdb.disasm/t05_cmp.s: Ditto.
7520 * gdb.disasm/t06_ari2.s: Ditto.
7521 * gdb.disasm/t07_ari3.s: Ditto.
7522 * gdb.disasm/t08_or.s: Ditto.
7523 * gdb.disasm/t09_xor.s: Ditto.
7524 * gdb.disasm/t10_and.s: Ditto.
7525 * gdb.disasm/t11_logs.s: Ditto.
7526 * gdb.disasm/t12_bit.s: Ditto.
7527 * gdb.disasm/t13_otr.s: Ditto.
7528
7529 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7530
7531 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7532
7533 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7534
7535 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7536 provide DFP support.
7537
7538 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7539
7540 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7541 Test "set powerpc vector-abi". Skip auto-detection tests for old
7542 toolchains.
7543
7544 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7545
7546 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7547 with [string compare].
7548
7549 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7550
7551 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7552 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7553
7554 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7555
7556 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7557 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7558 * gdb.opt/Makefile.in: New makefile.
7559 * Makefile.in: Create new directory "gdb.opt".
7560 * configure.ac: Add "gdb.opt" directory.
7561 * configure: Regenerated.
7562
7563 2007-10-25 Doug Evans <dje@google.com>
7564
7565 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7566 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7567
7568 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7569 Thiago Jung Bauermann <bauerman@br.ibm.com>
7570
7571 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7572 Floating Point expressions.
7573 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7574 Floating Point variables.
7575 * gdb.base/dfp-test.c: new file containing program with Decimal
7576 Floating variables, used by gdb.base/dfp-test.exp.
7577
7578 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7579
7580 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7581
7582 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7583
7584 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7585 compiling test case with GCC.
7586 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7587
7588 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7589
7590 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7591 format changes.
7592
7593 2007-10-18 Michael Snyder <msnyder@specifix.com>
7594
7595 * gdb.base/dbx.exp: Add missing "-re " operator.
7596
7597 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7598
7599 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7600 * configure.ac: Removed trailing spaces after backslash.
7601 * gdb.modula2: New directory.
7602 * gdb.modula2/Makefile.in: New file.
7603 * gdb.modula2/unbounded-array.exp: New file.
7604 * gdb.modula2/unbounded1.c: New file.
7605
7606 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7607
7608 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7609
7610 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7611
7612 * gdb.base/sigstep.c (main): Add checks for
7613 return values for setitimer call.
7614 Call setitimer again with itimer = ITIMER_REAL
7615 if first call to setitimer fails.
7616
7617 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7618
7619 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7620 of $timeout.
7621
7622 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7623
7624 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7625
7626 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7627
7628 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7629 of gdb_expect call, to avoid interruption.
7630
7631 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7632
7633 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7634 (v_unsigned_long_long, v_long_long_array)
7635 (v_signed_long_long_array, v_unsigned_long_long_array)
7636 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7637 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7638 [!NO_LONG_LONG]: New.
7639 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7640 v_long_long_member.
7641
7642 (v_long_long_func, v_signed_long_long_func)
7643 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7644 (main) [!NO_LONG_LONG]: Initialize long long variants.
7645
7646 * gdb.base/whatis.exp: If board file requests no_long_long, build
7647 test with NO_LONG_LONG defined. Test long long, signed long long,
7648 and unsigned long long variants but only if board file doesn't
7649 disable it.
7650
7651 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7652 Daniel Jacobowitz <dan@codesourcery.com>
7653
7654 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7655 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7656 * configure: Regenerated.
7657 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7658 gdb.pascal/types.exp, lib/pascal.exp: New files.
7659
7660 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7661
7662 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7663 call.
7664 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7665 to return to the call.
7666 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7667 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7668 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7669 * gdb.mi/mi-until.exp (test_until): Likewise.
7670 * gdb.mi/mi2-until.exp (test_until): Likewise.
7671
7672 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7673
7674 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7675 two-char array.
7676 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7677
7678 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7679
7680 * gdb.threads/watchthreads.c (thread_function): Sleep between
7681 iterations.
7682 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7683 at once for S/390. Generate matching fails and passes.
7684
7685 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7686
7687 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7688 the 'struct_declarations' variable to zeros.
7689
7690 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7691
7692 * gdb.cp/mb-ctor.cc: New.
7693 * gdb.cp/mb-ctor.exp: New.
7694 * gdb.cp/mb-templates.cc: New.
7695 * gdb.cp/mb-templates.exp: New.
7696
7697 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7698
7699 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7700
7701 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7702
7703 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7704 targets.
7705 * configure: Regenerate.
7706
7707 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7708
7709 * gdb.base/annota1.exp: Adjust for 'info break'
7710 format changes.
7711 * gdb.base/annota3.exp: Likewise.
7712 * gdb.base/break.exp: Likewise.
7713 * gdb.base/condbreak.exp: Likewise.
7714 * gdb.base/pending.exp: Likewise.
7715 * gdb.base/sepdebug.exp: Likewise.
7716 * gdb.base/unload.exp: Likewise.
7717 * gdb.base/ovldbreak.exp: Likewise.
7718
7719 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7720
7721 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7722 messages.
7723 * gdb.base/chng-syms.exp: Likewise.
7724 * gdb.base/unload.exp: Likewise.
7725
7726 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7727
7728 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7729
7730 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7731
7732 * schedlock.c (NUM): Change to 1.
7733 (main): Use args[0] for the main thread.
7734 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7735 regardless of the number of threads.
7736
7737 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7738
7739 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7740 type down.
7741 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7742 test.
7743 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7744 watchpoint type down.
7745 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7746 test.
7747
7748 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7749
7750 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7751 Move all the tests here and run them twice, once using software
7752 watchpoints and once using hardware watchpoints.
7753 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7754
7755 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7756
7757 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7758 test.
7759
7760 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7761
7762 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7763 build-id.
7764
7765 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7766 know about $ORIGIN. Calculate output dir from $dest instead of
7767 using ${objdir}/{$subdir}.
7768
7769 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7770
7771 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7772 gcore, before continuing with the test.
7773
7774 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7775
7776 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7777 * gdb.mi/mi-watch.exp: Likewise.
7778
7779 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7780 Jim Blandy <jimb@codesourcery.com>
7781
7782 * gdb.arch/i386-sse.exp: Do not expect character constants.
7783 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7784 * gdb.base/display.exp: Allow print/s.
7785 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7786 and unsigned char array changes.
7787
7788 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7789
7790 * gdb.base/display.exp: Add tests for printf %p.
7791
7792 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7793
7794 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7795 the dll name to unicode.
7796
7797 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7798
7799 * gdb.base/default.exp (show version): Update the version text.
7800 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7801
7802 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7803
7804 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7805 New files.
7806
7807 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7808
7809 * lib/gdb.exp (build_id_debug_filename_get): New function.
7810 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7811 Remove the generate DEBUG file for the future testcase runs.
7812 New testcase for the NT_GNU_BUILD_ID retrieval.
7813 Move the final testing step to ...
7814 (test_different_dir): ... a new function.
7815 New parameter XFAIL to XFAIL all the tests performed.
7816 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7817 New parameter TYPE to PF_PREFIX all the tests performed.
7818
7819 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7820
7821 * gdb.mi/mi-var-cp.cc (path_expression): New
7822 function.
7823 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7824
7825 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7826
7827 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7828 to fit into SPU Local Store memory.
7829
7830 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7831
7832 * gdb.base/default.exp: Adjust the expected output of "info
7833 warranty" after the switch to GPLv3.
7834
7835 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7836
7837 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7838 to 30000 (from 20000).
7839
7840 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7841
7842 Switch the license of all .exp files to GPLv3.
7843 Switch the license of all .f and .f90 files to GPLv3.
7844 Switch the license of all .s and .S files to GPLv3.
7845
7846 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7847
7848 * configure.ac: Switch license to GPLv3.
7849
7850 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7851
7852 Switch the licensing to GPLv3 for all .ads and .adb files.
7853
7854 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7855
7856 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7857 and t_int_double.
7858 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7859
7860 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7861
7862 * gdb.base/step-line.c: Switch license to GPL version 3, and
7863 update copyright year.
7864 * gdb.base/step-line.inp: Likewise.
7865
7866 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7867
7868 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7869 changes inside gdb1555.c.
7870 * gdb.base/pending.exp: Likewise.
7871
7872 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7873
7874 * config/default.exp: New file.
7875
7876 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7877
7878 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7879 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7880
7881 2007-07-30 Maciej W. Rozycki <macro@mips.com>
7882
7883 * gdb.base/dump.exp: Force the correct endianness for binary
7884 formats not carrying this information.
7885
7886 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7887
7888 * gdb.threads/staticthreads.exp: Match .*sem_post.
7889
7890 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7891
7892 * gdb.base/readline.exp (operate_and_get_next): Match the final
7893 prompt.
7894
7895 2007-07-23 Kevin Buettner <kevinb@redhat.com>
7896
7897 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7898 to restarting SID.
7899
7900 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7901
7902 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7903 prior to `gdb_start'.
7904
7905 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7906
7907 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7908 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7909 Remove call to gdb_unload.
7910
7911 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7912 Daniel Jacobowitz <dan@codesourcery.com>
7913
7914 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7915 for __WIN32__.
7916 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7917 * gdb.base/unload.exp: Use shared library test routines.
7918
7919 2007-07-03 Markus Deuling <deuling@de.ibm.com>
7920
7921 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7922 * gdb.base/solib-symbol-lib.c: Likewise.
7923 * gdb.base/solib-symbol-main.c: Likewise.
7924
7925 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7926
7927 * config/gdbserver.exp (gdb_reconnect): New.
7928 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7929 gdb.base/solib-disc.exp: New files.
7930 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7931 remote debugging".
7932 (gdb_compile): Add shlib_load flag.
7933 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7934 port.
7935 (gdbserver_reconnect): New.
7936
7937 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
7938 Daniel Jacobowitz <dan@codesourcery.com>
7939
7940 * gdb.base/annota3.exp: Test for if construct.
7941
7942 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
7943
7944 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
7945
7946 2007-06-21 Chris Dearman <chris@mips.com>
7947 Maciej W. Rozycki <macro@mips.com>
7948
7949 * gdb.base/display.exp: Allow a newline after display/i.
7950 * gdb.base/pc-fp.exp: Likewise.
7951 * gdb.base/sigbpt.exp: Likewise.
7952
7953 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7954
7955 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
7956 required features to be included.
7957
7958 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7959
7960 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
7961 in info threads output.
7962
7963 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7964 Markus Deuling <deuling@de.ibm.com>
7965
7966 * gdb.arch/spu-info.exp: New testcase.
7967 * gdb.arch/spu-info.c: New file.
7968
7969 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
7970
7971 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
7972 tpcs_offset. Restore lr after the call.
7973 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
7974
7975 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
7976
7977 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
7978 (gdbserver_run): Kill any running gdbserver.
7979 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
7980
7981 2007-05-17 Maciej W. Rozycki <macro@mips.com>
7982
7983 * gdb.base/sigbpt.exp: Preset segv_addr.
7984
7985 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
7986
7987 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
7988 (gdb_compile_shlib): Likewise.
7989 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
7990 (default_gdb_init): Clear cleanfiles.
7991 (gdb_finish): Delete recorded cleanfiles.
7992 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
7993
7994 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
7995 Do not use isnative.
7996 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
7997 gdb.base/so-impl-ld.exp: Likewise.
7998 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
7999 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8000 gdb_compile.
8001
8002 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8003
8004 * config/unknown.exp: Remove.
8005
8006 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8007
8008 * gdb.base/info-proc.exp: Check is_remote.
8009
8010 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8011
8012 * gdb.base/gcore.exp: Initialize variable core_supported.
8013
8014 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8015
8016 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8017
8018 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8019
8020 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8021 * gdb.threads/print-threads.exp (test_all_threads): Allow
8022 negative and hexadecimal thread IDs.
8023
8024 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8025
8026 * gdb.java/jprint.java (public): Avoid invalid call to static
8027 method.
8028
8029 2007-05-14 Denis Pilat <denis.pilat@st.com>
8030
8031 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8032 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8033 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8034 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8035 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8036
8037 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8038
8039 * gdb.base/overlays.exp: Add support for targets with only code
8040 overlay support, not data overlay. Support spu-*-* target in
8041 this mode.
8042 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8043 * gdb.base/spu.ld: New file.
8044
8045 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8046
8047 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8048
8049 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8050
8051 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8052
8053 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8054
8055 * gdb.java/jmain.exp: Handle demangled names with and without method
8056 signatures.
8057
8058 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8059
8060 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8061 (have_a_very_merry_interrupt): Remove calls to puts.
8062 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8063 inferior output.
8064 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8065 test names.
8066
8067 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8068 Daniel Jacobowitz <dan@codesourcery.com>
8069
8070 * gdb.base/auxv.exp (core_works): Also check is_remote.
8071 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8072
8073 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8074
8075 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8076 message, not the undefined 'module' variable.
8077 * gdb.base/siginfo.exp: Likewise.
8078 * gdb.base/sigstep.exp: Likewise.
8079 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8080 serialport.
8081 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8082
8083 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8084
8085 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8086 target sim fails. Return 0 otherwise.
8087 (gdb_load): Return prematurely if gdb_target_sim fails.
8088
8089 2007-04-16 Denis Pilat <denis.pilat@st.com>
8090
8091 * gdb.base/setshow.exp: Reset height after having set it to 100.
8092
8093 2007-04-16 Denis Pilat <denis.pilat@st.com>
8094
8095 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8096
8097 2007-04-16 Denis Pilat <denis.pilat@st.com>
8098
8099 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8100
8101 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8102
8103 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8104 tests. Run the frozen varobjs test.
8105 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8106 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8107
8108 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8109
8110 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8111 gdb.base/type-opaque.exp: New files.
8112
8113 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8114
8115 * gdb.mi/mi-var-child.c
8116 (do_children_tests): User char[2] instead of
8117 char so that automatic printing of pointers to char
8118 don't give unpredicable result.
8119 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8120 local variables.
8121 * gdb.mi/mi-var-child.exp: Step to right line
8122 of do_children_tests.
8123 * gdb.mi/mi2-var-child.exp: Likewise.
8124 * gdb.mi/mi-var-cmd.exp: Step to right line of
8125 do_locals_tests.
8126 (do_children_tests): User char[2] instead of
8127 char so that automatic printing of pointers to char
8128 don't give unpredicable result.
8129 * gdb.mi/mi2-var-cmd.exp: Likewise.
8130 * lib/mi-support.exp (mi_continue_to_line):
8131 Pass test name to mi_wait_for_stop.
8132
8133 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8134
8135 * gdb.asm/asm-source.exp: Remove d10v case.
8136 * lib/gdb.exp (skip_cplus_tests): Likewise.
8137 * gdb.asm/d10v.inc: Deleted.
8138
8139 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8140
8141 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8142
8143 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8144
8145 * config/netware.exp: Delete file.
8146
8147 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8148
8149 * gdb.dwarf2/dw2-noloc.S: New file.
8150 * gdb.dwarf2/dw2-noloc.exp: New file.
8151
8152 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8153
8154 * gdb.cp/method2.cc: New test.
8155 * gdb.cp/method2.exp: New test.
8156 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8157
8158 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8159
8160 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8161
8162 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8163
8164 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8165
8166 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8167
8168 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8169 (gdb_load): Delete, replace with...
8170 (gdb_reload): ...this.
8171 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8172 * gdb.server/server-mon.exp: Likewise.
8173 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8174 (gdb_start_cmd): New.
8175 (gdb_file_cmd): Save the last loaded file.
8176 (gdb_reload): New.
8177 (gdb_gnu_strip_debug): Use transform.
8178 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8179 support here. Use new $last_loaded_file. Check mtime.
8180 (gdb_target_cmd): Handle ObjC failure case.
8181 (infer_host_exec): Delete.
8182 (gdbserver_load): Rename to...
8183 (gdbserver_run): ...this. Simplify.
8184 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8185 (mi_gdb_load): Move most contents to a new function...
8186 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8187 (mi_run_cmd): Use mi_gdb_target_load.
8188 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8189 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8190 Use gdb_run_cmd.
8191 * gdb.base/charsign.exp: Remove incorrect comment.
8192 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8193 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8194 gdb.base/start.exp: Use gdb_start_cmd.
8195
8196 2007-03-23 Nigel Stephens <nigel@mips.com>
8197 Maciej W. Rozycki <macro@mips.com>
8198
8199 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8200 * gdb.base/signull.exp: Similarly.
8201
8202 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8203
8204 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8205 messages available to test cases (like chng-sym.exp).
8206
8207 2007-03-14 Andreas Schwab <schwab@suse.de>
8208
8209 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8210 format changes.
8211
8212 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8213
8214 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8215 (optimized_1): New.
8216 (main): Call optimized_1.
8217 (gdb2029): Correct typos. Call gdb2029_marker.
8218 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8219 for gdb2029.
8220
8221 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8222
8223 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8224 as tabs. Remove redundant test pattern.
8225
8226 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8227
8228 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8229 for /a format output.
8230
8231 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8232
8233 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8234 collect output incrementally.
8235
8236 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8237
8238 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8239 for -var-create lpcharacter test.
8240 * gdb.mi/mi2-var-cmd.exp: Likewise.
8241
8242 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8243
8244 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8245 pass on targets where address zero is readable.
8246
8247 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8248
8249 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8250 just a single architecture.
8251
8252 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8253
8254 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8255 (fetch_all_registers): New function, uses gdb_test_multiple and
8256 exp_continue to fetch inferior output line-by-line.
8257 Replace all uses of do_get_all_registers by fetch_all_registers.
8258
8259 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8260
8261 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8262 in target_info.
8263
8264 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8265
8266 * gdb.threads/manythreads.exp: Use $message string for
8267 consistancy; add a default (timeout) case.
8268
8269 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8270
8271 * gdb.base/watchpoint.exp: Fix truncated comment.
8272
8273 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8274
8275 * Makefile.in: Remove spurious single-quotes from sed command.
8276
8277 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8278
8279 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8280 func.
8281 * gdb.mi/mi2-var-cmd.exp: Likewise.
8282
8283 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8284
8285 * gdb.dwarf2/dw2-producer.S: New file.
8286 * gdb.dwarf2/dw2-producer.exp: New testcase.
8287
8288 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8289
8290 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8291 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8292 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8293 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8294 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8295 Revert tests to use mi_gdb_test and include value field in output
8296 of -var-create.
8297
8298 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8299
8300 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8301
8302 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8303
8304 * gdb.base/maint.exp: Remove full paths from test names.
8305 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8306 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8307
8308 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8309
8310 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8311
8312 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8313
8314 * gdb.server/server-mon.exp: New test.
8315
8316 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8317
8318 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8319
8320 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8321
8322 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8323 register capitalization.
8324
8325 2007-02-13 Denis Pilat <denis.pilat@st.com>
8326
8327 * gdb.mi/mi-var-invalidate.exp: New file.
8328
8329 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8330
8331 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8332
8333 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8334
8335 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8336
8337 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8338
8339 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8340 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8341
8342 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8343
8344 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8345 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8346 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8347 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8348 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8349 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8350 Update tests to include value field in output of -var-create.
8351
8352 2007-02-08 Andreas Schwab <schwab@suse.de>
8353
8354 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8355
8356 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8357
8358 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8359 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8360
8361 2007-02-02 Denis Pilat <denis.pilat@st.com>
8362
8363 * gdb.threads/threadapply.exp: check that frame is not changed by
8364 the thread apply all command.
8365
8366 2007-01-31 Andreas Schwab <schwab@suse.de>
8367
8368 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8369
8370 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8371 in the dwarf sections.
8372 * gdb.dwarf2/mac-fileno.S: Likewise.
8373
8374 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8375 bspstore register on ia64.
8376
8377 2007-01-29 Andreas Schwab <schwab@suse.de>
8378
8379 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8380 "frame-begin" annotation.
8381
8382 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8383 number of "frames-invalid" annotations.
8384
8385 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8386
8387 * gdb.base/commands.exp: Call if_commands_test.
8388 (gdb_test_no_prompt, if_commands_test): New.
8389
8390 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8391
8392 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8393
8394 2007-01-27 Andreas Schwab <schwab@suse.de>
8395
8396 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8397 .short/.int/.quad in the dwarf sections.
8398 * gdb.dwarf2/dw2-intercu.S: Likewise.
8399 * gdb.dwarf2/dw2-intermix.S: Likewise.
8400
8401 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8402
8403 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8404 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8405 array.
8406 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8407 * gdb.base/setvar.exp: Likewise.
8408
8409 2007-01-26 Andreas Schwab <schwab@suse.de>
8410
8411 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8412 test.
8413
8414 * gdb.base/multi-forks.exp ("restart $i"): Also match
8415 __kernel_syscall_via_break.
8416
8417 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8418
8419 * lib/mi-support.exp (mi_delete_varobj): New.
8420 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8421 testcase.
8422 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8423 (main): Call the above.
8424 (reference_update_test, base_in_reference_test)
8425 (reference_to_pointer): Delete the created varobjs.
8426
8427 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8428
8429 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8430 * configure: Regenerated.
8431 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8432 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8433 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8434 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8435 * lib/gdb.exp (gdb_skip_xml_test): New function.
8436
8437 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8438
8439 * gdb.base/sigrepeat.exp: Correct error message.
8440
8441 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8442 Daniel Jacobowitz <dan@codesourcery.com>
8443
8444 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8445 gdb.arch/i386-gnu-cfi-asm.S: New files.
8446
8447 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8448
8449 * lib/gdb.exp: Abort on missing `site.exp'.
8450
8451 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8452 Daniel Jacobowitz <dan@codesourcery.com>
8453
8454 * gdb.base/included.c, gdb.base/included.exp,
8455 gdb.base/included.h: New files.
8456
8457 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8458
8459 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8460 (maximize_rlimit): Reduce limits on 64-bit systems.
8461
8462 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8463
8464 From Marcus Deuling <deuling@de.ibm.com>:
8465 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8466 every case.
8467
8468 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8469
8470 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8471 (test_path_specification): Use objdir instead of srcdir to always
8472 get an absolute filename.
8473
8474 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8475
8476 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8477
8478 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8479
8480 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8481 Make sure the variable we're using is in scope.
8482 (reference_to_pointer): Likewise.
8483
8484 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8485
8486 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8487 has no debug information.
8488
8489 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8490
8491 * gdb.base/annota1.exp: Remove extra send_gdb.
8492
8493 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8494
8495 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8496
8497 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8498
8499 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8500
8501 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8502 Daniel Jacobowitz <dan@codesourcery.com>
8503
8504 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8505 lcharacter or linteger change. Correct duplicated test name.
8506 * gdb.mi/mi2-var-cmd.exp: Likewise.
8507
8508 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8509
8510 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8511
8512 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8513
8514 * gdb.base/nofield.c: New file.
8515 * gdb.base/nofield.exp: New testcase.
8516
8517 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8518
8519 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8520
8521 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8522 test.
8523
8524 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8525
8526 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8527
8528 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8529
8530 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8531 when continuing.
8532
8533 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8534
8535 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8536 Expect ".exe" extension.
8537
8538 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8539
8540 * gdb.base/charset.exp: Add explicit filename to break.
8541 * gdb.base/dbx.exp: Add explicit filename to breaks.
8542
8543 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8544
8545 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8546 * gdb.mi/mi2-file.exp: Likewise.
8547
8548 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8549
8550 Implement specification of MI tests as comments
8551 in C and C++ sources.
8552 * lib/mi-support.exp (mi_autotest_data): New variable.
8553 (mi_autotest_source): New variable.
8554 (count_newlines, mi_prepare_inline_tests)
8555 (mi_get_inline_test, mi_continue_to_line)
8556 (mi_run_inline_test, mi_tbreak)
8557 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8558 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8559 Run inline tests.
8560 * gdb.mi/mi-var-cp.cc: Define tests here.
8561
8562 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8563
8564 Simplify usage of mi_continue_to.
8565 * lib/mi-support.exp (mi_runto_helper): Renamed
8566 from mi_runto, added new parameter 'run_or_continue'.
8567 (mi_runto): Use mi_runto_helper.
8568 (mi_continue_to): Accept just function name as parameter.
8569 Use mi_runto_helper.
8570 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8571 * gdb.mi/mi2-var-cmd.exp: Likewise.
8572
8573 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8574
8575 Make this testcase a bit more realistic. The current code
8576 is too simplistic, and allows the compiler to optimize out
8577 some of the entities we need for this testcase.
8578 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8579 (Do_Nothing): Add extra parameter.
8580 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8581 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8582 by using a variable of type Void_Star.
8583
8584 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8585
8586 * gdb.ada/catch_ex/foo.adb: New file.
8587 * gdb.ada/catch_ex.exp: New testcase.
8588
8589 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8590
8591 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8592 pass --image-base to linker.
8593
8594 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8595 Daniel Jacobowitz <dan@codesourcery.com>
8596
8597 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8598 secondary prompts.
8599
8600 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8601
8602 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8603 output. Test the types of members and member pointers.
8604 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8605 gdb/2092.
8606 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8607 statement. Enable for GCC. Update expected output for some tests
8608 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8609 layout.
8610 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8611 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8612 (Diamond::vget_base): New.
8613 (main): Add new tests.
8614 * gdb.cp/printmethod.exp: Update expected output for member functions.
8615 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8616 print pEe->D::vg().
8617
8618 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8619
8620 * gdb.threads/tls.exp: Allow stops in sem_post.
8621
8622 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8623
8624 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8625 * gdb.base/annota3.exp: Likewise.
8626 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8627 again (instead of timing out).
8628 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8629 GCC bug 26475.
8630 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8631 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8632 test from jmisc1.exp.
8633 * gdb.java/jmisc1.exp: Delete.
8634 * gdb.java/jprint.exp: Adjust to work with method signatures including
8635 return types.
8636 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8637 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8638 * lib/java.exp (compile_java_from_source): Pass the correct type
8639 to target_compile.
8640
8641 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8642
8643 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8644 (stack_align_edx): New function.
8645 (stack_align_eax): New function.
8646 (main): Add calls to stack_align_edx and stack_align_eax.
8647 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8648 Add testing for the cases where the register used during a stack
8649 realignment is edx. Same for eax.
8650
8651 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8652
8653 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8654 and generic PE targets.
8655
8656 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8657
8658 * gdb.ada/array_return.exp: Update copyright date list.
8659
8660 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8661
8662 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8663 (Create_Small_Float_Vector): New function.
8664 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8665 function body.
8666 * gdb.ada/array_return/p.adb: Use new type and function from
8667 package Pck.
8668 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8669 able to print the value returned by a function returning an
8670 array of float.
8671
8672 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8673
8674 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8675 The associated tests should be PASSing.
8676
8677 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8678
8679 Test for base in references.
8680 * gdb.mi/mi-var-cp.cc: Add test code.
8681 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8682 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8683 * gdb.mi/mi2-watch.exp: Likewise.
8684 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8685 (mi_list_varobj_children): New function.
8686
8687 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8688
8689 * lib/mi-support.exp
8690 (mi_runto): Accept "()" after function name.
8691 (mi_create_varobj): New function.
8692 (mi_varobj_update): New function.
8693 (mi_Check_varobj_value): New function.
8694 * gdb.mi/mi-var-cp.exp: New file.
8695 * gdb.mi/mi-var-cp.cc: New file.
8696
8697 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8698
8699 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8700 gdb.base/weaklib2.c: New files.
8701
8702 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8703
8704 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8705 info. Adjust test names.
8706
8707 * gdb.base/break.c (main): Move position of malloc.
8708 * gdb.base/break.exp: Revert mistaken checkin.
8709
8710 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8711
8712 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8713 assignement of arrays and function pointers.
8714 * gdb.mi/var-cmd.c: Add declaration necessary for above
8715 tests.
8716
8717 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8718
8719 * gdb.base/break.c (main): Call malloc.
8720
8721 * gdb.threads/linux-dp.exp: Read thread table before and after
8722 creating each philosopher and verify it.
8723
8724 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8725 Paul Brook <paul@codesourcery.com>
8726 Daniel Jacobowitz <dan@codesourcery.com>
8727
8728 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8729 main to remove duplication. Add start function of the form
8730 '_*start[1-9]*'. Add RVDS start function.
8731
8732 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8733
8734 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8735
8736 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8737
8738 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8739 * gdb.asm/spu.inc: New file.
8740 * gdb.base/term.exp: Disable if [target_info exists noargs].
8741 * gdb.gdb/complaints.exp: Disable if ![isnative].
8742 * gdb.gdb/selftest.exp: Likewise.
8743 * gdb.gdb/observer.exp: Likewise.
8744 * gdb.gdb/xfullpath.exp: Likewise.
8745 * gdb.base/attach.exp: Disable on SPU target.
8746 * gdb.cp/bs145503.exp: Likewise.
8747 * gdb.cp/exception.exp: Likewise.
8748 * gdb.cp/userdef.exp: Likewise.
8749
8750 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8751
8752 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8753
8754 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8755
8756 * gdb.base/completion.exp: Fix completion tests for
8757 'info' and 'info '.
8758 * gdb.base/help.exp (help_test_raw, test_class_help)
8759 (test_prefix_command_help): Move...
8760 * lib/gdb.exp: Here.
8761 * gdb.base/main.exp: Adjust.
8762 * gdb.cp/maint.exp: Adjust.
8763 * gdb.trace/tracecmd.exp: Use test_help_class.
8764
8765 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8766
8767 * gdb.stabs/weird.exp (print_weird_var): Use
8768 gdb_test_multiple instead of gdb_expect.
8769
8770 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8771
8772 * gdb.base/help.exp (help_test_raw): New.
8773 (test_class_help): New.
8774 (test_prefix_command_help): New.
8775 Adjust testcases.
8776
8777 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8778
8779 * gdb.base/constvars.c (main): Write to crass and crips, so that
8780 they are allocated by the compiler.
8781
8782 2006-10-27 Andreas Schwab <schwab@suse.de>
8783
8784 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8785 "detach-fork".
8786
8787 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8788
8789 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8790 of patterns.
8791
8792 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8793
8794 * gdb.base/sepdebug.exp: Remove debug format test.
8795 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8796 Handle no-symtab.
8797 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8798
8799 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8800
8801 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8802 int to pointer or pointer to int.
8803 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8804
8805 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8806
8807 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8808
8809 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8810
8811 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8812
8813 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8814
8815 PR c++/2116
8816 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8817
8818 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8819
8820 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8821 the corresponding bug has been fixed in GDB (PR/2018).
8822
8823 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8824
8825 * gdb.base/subst.exp: New testcase.
8826
8827 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8828
8829 * gdb.ada/array_return/pck.ads: Add copyright notice.
8830 * gdb.ada/array_return/pck.adb: Likewise.
8831 * gdb.ada/array_return/p.adb: Likewise.
8832 * gdb.ada/exec_changed/first.adb: Likewise.
8833 * gdb.ada/exec_changed/second.adb: Likewise.
8834
8835 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8836
8837 * gdb.ada/watch_arg/watch.adb: New file.
8838 * gdb.ada/watch_arg.exp: New testcase.
8839
8840 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8841
8842 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8843 via string_to_regexp.
8844 * gdb.mi/mi2-basics.exp: Likewise.
8845
8846 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8847
8848 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8849 Remove unused / obsolete files.
8850
8851 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8852
8853 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8854
8855 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8856
8857 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8858 HIGH_FRAME argument to -stack-list-arguments can be larger than
8859 the number of frames.
8860
8861 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8862
8863 * gdb.base/args.c (main): Add breakpoint marker.
8864 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8865 really test empty arguments.
8866 (args_load): Delete.
8867 (args_test): New.
8868
8869 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
8870
8871 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
8872 check for one file.
8873
8874 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8875
8876 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8877 HIGH_FRAME argument to -stack-list-locals can be larger than
8878 the number of frames.
8879
8880 2006-08-18 Fred Fish <fnf@specifix.com>
8881
8882 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8883 '$' in front of skip_vmx_tests_saved when setting that.
8884
8885 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8886
8887 * gdb.base/trace-commands.exp: New file.
8888
8889 2006-08-10 Joel Brobecker <brobecker@adacore.com>
8890 Daniel Jacobowitz <dan@codesourcery.com>
8891
8892 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8893 expected output of the backtrace commands.
8894
8895 2006-08-09 Joel Brobecker <brobecker@adacore.com>
8896
8897 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8898 untested followed by return combination.
8899 * gdb.arch/altivec-regs.exp: Likewise.
8900 * gdb.arch/e500-abi.exp: Likewise.
8901 * gdb.arch/e500-regs.exp: Likewise.
8902 * gdb.arch/gdb1291.exp: Likewise.
8903 * gdb.arch/gdb1431.exp: Likewise.
8904 * gdb.arch/gdb1558.exp: Likewise.
8905 * gdb.arch/i386-prologue.exp: Likewise.
8906 * gdb.arch/i386-unwind.exp: Likewise.
8907 * gdb.asm/asm-source.exp: Likewise.
8908 * gdb.base/a2-run.exp: Likewise.
8909 * gdb.base/advance.exp: Likewise.
8910 * gdb.base/all-bin.exp: Likewise.
8911 * gdb.base/annota1.exp: Likewise.
8912 * gdb.base/annota3.exp: Likewise.
8913 * gdb.base/args.exp: Likewise.
8914 * gdb.base/arithmet.exp: Likewise.
8915 * gdb.base/assign.exp: Likewise.
8916 * gdb.base/async.exp: Likewise.
8917 * gdb.base/attach.exp: Likewise.
8918 * gdb.base/bang.exp: Likewise.
8919 * gdb.base/bigcore.exp: Likewise.
8920 * gdb.base/bitfields.exp: Likewise.
8921 * gdb.base/bitfields2.exp: Likewise.
8922 * gdb.base/break.exp: Likewise.
8923 * gdb.base/call-sc.exp: Likewise.
8924 * gdb.base/call-strs.exp: Likewise.
8925 * gdb.base/callfuncs.exp: Likewise.
8926 * gdb.base/checkpoint.exp: Likewise.
8927 * gdb.base/chng-syms.exp: Likewise.
8928 * gdb.base/code-expr.exp: Likewise.
8929 * gdb.base/commands.exp: Likewise.
8930 * gdb.base/completion.exp: Likewise.
8931 * gdb.base/cond-expr.exp: Likewise.
8932 * gdb.base/condbreak.exp: Likewise.
8933 * gdb.base/consecutive.exp: Likewise.
8934 * gdb.base/constvars.exp: Likewise.
8935 * gdb.base/corefile.exp: Likewise.
8936 * gdb.base/cvexpr.exp: Likewise.
8937 * gdb.base/dbx.exp: Likewise.
8938 * gdb.base/define.exp: Likewise.
8939 * gdb.base/detach.exp: Likewise.
8940 * gdb.base/display.exp: Likewise.
8941 * gdb.base/dump.exp: Likewise.
8942 * gdb.base/ena-dis-br.exp: Likewise.
8943 * gdb.base/ending-run.exp: Likewise.
8944 * gdb.base/environ.exp: Likewise.
8945 * gdb.base/eval-skip.exp: Likewise.
8946 * gdb.base/exprs.exp: Likewise.
8947 * gdb.base/fileio.exp: Likewise.
8948 * gdb.base/finish.exp: Likewise.
8949 * gdb.base/float.exp: Likewise.
8950 * gdb.base/foll-exec.exp: Likewise.
8951 * gdb.base/foll-fork.exp: Likewise.
8952 * gdb.base/foll-vfork.exp: Likewise.
8953 * gdb.base/freebpcmd.exp: Likewise.
8954 * gdb.base/funcargs.exp: Likewise.
8955 * gdb.base/gcore.exp: Likewise.
8956 * gdb.base/gdb1090.exp: Likewise.
8957 * gdb.base/gdb1250.exp: Likewise.
8958 * gdb.base/huge.exp: Likewise.
8959 * gdb.base/info-proc.exp: Likewise.
8960 * gdb.base/interrupt.exp: Likewise.
8961 * gdb.base/jump.exp: Likewise.
8962 * gdb.base/langs.exp: Likewise.
8963 * gdb.base/lineinc.exp: Likewise.
8964 * gdb.base/list.exp: Likewise.
8965 * gdb.base/logical.exp: Likewise.
8966 * gdb.base/long_long.exp: Likewise.
8967 * gdb.base/macscp.exp: Likewise.
8968 * gdb.base/maint.exp: Likewise.
8969 * gdb.base/mips_pro.exp: Likewise.
8970 * gdb.base/miscexprs.exp: Likewise.
8971 * gdb.base/multi-forks.exp: Likewise.
8972 * gdb.base/opaque.exp: Likewise.
8973 * gdb.base/overlays.exp: Likewise.
8974 * gdb.base/pc-fp.exp: Likewise.
8975 * gdb.base/pointers.exp: Likewise.
8976 * gdb.base/printcmds.exp: Likewise.
8977 * gdb.base/psymtab.exp: Likewise.
8978 * gdb.base/ptype.exp: Likewise.
8979 * gdb.base/recurse.exp: Likewise.
8980 * gdb.base/relational.exp: Likewise.
8981 * gdb.base/relocate.exp: Likewise.
8982 * gdb.base/remote.exp: Likewise.
8983 * gdb.base/reread.exp: Likewise.
8984 * gdb.base/restore.exp: Likewise.
8985 * gdb.base/return.exp: Likewise.
8986 * gdb.base/return2.exp: Likewise.
8987 * gdb.base/scope.exp: Likewise.
8988 * gdb.base/sect-cmd.exp: Likewise.
8989 * gdb.base/sep.exp: Likewise.
8990 * gdb.base/sepdebug.exp: Likewise.
8991 * gdb.base/setshow.exp: Likewise.
8992 * gdb.base/setvar.exp: Likewise.
8993 * gdb.base/sigall.exp: Likewise.
8994 * gdb.base/sigbpt.exp: Likewise.
8995 * gdb.base/signals.exp: Likewise.
8996 * gdb.base/signull.exp: Likewise.
8997 * gdb.base/sizeof.exp: Likewise.
8998 * gdb.base/solib.exp: Likewise.
8999 * gdb.base/step-line.exp: Likewise.
9000 * gdb.base/step-test.exp: Likewise.
9001 * gdb.base/structs.exp: Likewise.
9002 * gdb.base/structs2.exp: Likewise.
9003 * gdb.base/term.exp: Likewise.
9004 * gdb.base/twice.exp: Likewise.
9005 * gdb.base/until.exp: Likewise.
9006 * gdb.base/varargs.exp: Likewise.
9007 * gdb.base/volatile.exp: Likewise.
9008 * gdb.base/watchpoint.exp: Likewise.
9009 * gdb.base/whatis-exp.exp: Likewise.
9010 * gdb.base/whatis.exp: Likewise.
9011 * gdb.cp/ambiguous.exp: Likewise.
9012 * gdb.cp/annota2.exp: Likewise.
9013 * gdb.cp/annota3.exp: Likewise.
9014 * gdb.cp/bool.exp: Likewise.
9015 * gdb.cp/breakpoint.exp: Likewise.
9016 * gdb.cp/casts.exp: Likewise.
9017 * gdb.cp/class2.exp: Likewise.
9018 * gdb.cp/classes.exp: Likewise.
9019 * gdb.cp/cplusfuncs.exp: Likewise.
9020 * gdb.cp/ctti.exp: Likewise.
9021 * gdb.cp/derivation.exp: Likewise.
9022 * gdb.cp/exception.exp: Likewise.
9023 * gdb.cp/gdb1355.exp: Likewise.
9024 * gdb.cp/hang.exp: Likewise.
9025 * gdb.cp/inherit.exp: Likewise.
9026 * gdb.cp/local.exp: Likewise.
9027 * gdb.cp/m-data.exp: Likewise.
9028 * gdb.cp/m-static.exp: Likewise.
9029 * gdb.cp/member-ptr.exp: Likewise.
9030 * gdb.cp/method.exp: Likewise.
9031 * gdb.cp/misc.exp: Likewise.
9032 * gdb.cp/namespace.exp: Likewise.
9033 * gdb.cp/overload.exp: Likewise.
9034 * gdb.cp/ovldbreak.exp: Likewise.
9035 * gdb.cp/pr-1023.exp: Likewise.
9036 * gdb.cp/pr-1210.exp: Likewise.
9037 * gdb.cp/pr-574.exp: Likewise.
9038 * gdb.cp/printmethod.exp: Likewise.
9039 * gdb.cp/psmang.exp: Likewise.
9040 * gdb.cp/ref-params.exp: Likewise.
9041 * gdb.cp/ref-types.exp: Likewise.
9042 * gdb.cp/rtti.exp: Likewise.
9043 * gdb.cp/templates.exp: Likewise.
9044 * gdb.cp/try_catch.exp: Likewise.
9045 * gdb.cp/userdef.exp: Likewise.
9046 * gdb.cp/virtfunc.exp: Likewise.
9047 * gdb.disasm/am33.exp: Likewise.
9048 * gdb.disasm/h8300s.exp: Likewise.
9049 * gdb.disasm/mn10300.exp: Likewise.
9050 * gdb.disasm/sh3.exp: Likewise.
9051 * gdb.disasm/t01_mov.exp: Likewise.
9052 * gdb.disasm/t02_mova.exp: Likewise.
9053 * gdb.disasm/t03_add.exp: Likewise.
9054 * gdb.disasm/t04_sub.exp: Likewise.
9055 * gdb.disasm/t05_cmp.exp: Likewise.
9056 * gdb.disasm/t06_ari2.exp: Likewise.
9057 * gdb.disasm/t07_ari3.exp: Likewise.
9058 * gdb.disasm/t08_or.exp: Likewise.
9059 * gdb.disasm/t09_xor.exp: Likewise.
9060 * gdb.disasm/t10_and.exp: Likewise.
9061 * gdb.disasm/t11_logs.exp: Likewise.
9062 * gdb.disasm/t12_bit.exp: Likewise.
9063 * gdb.disasm/t13_otr.exp: Likewise.
9064 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9065 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9066 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9067 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9068 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9069 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9070 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9071 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9072 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9073 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9074 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9075 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9076 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9077 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9078 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9079 * gdb.mi/gdb701.exp: Likewise.
9080 * gdb.mi/gdb792.exp: Likewise.
9081 * gdb.mi/mi-basics.exp: Likewise.
9082 * gdb.mi/mi-break.exp: Likewise.
9083 * gdb.mi/mi-cli.exp: Likewise.
9084 * gdb.mi/mi-console.exp: Likewise.
9085 * gdb.mi/mi-disassemble.exp: Likewise.
9086 * gdb.mi/mi-eval.exp: Likewise.
9087 * gdb.mi/mi-file.exp: Likewise.
9088 * gdb.mi/mi-read-memory.exp: Likewise.
9089 * gdb.mi/mi-regs.exp: Likewise.
9090 * gdb.mi/mi-return.exp: Likewise.
9091 * gdb.mi/mi-simplerun.exp: Likewise.
9092 * gdb.mi/mi-stack.exp: Likewise.
9093 * gdb.mi/mi-stepi.exp: Likewise.
9094 * gdb.mi/mi-syn-frame.exp: Likewise.
9095 * gdb.mi/mi-until.exp: Likewise.
9096 * gdb.mi/mi-var-block.exp: Likewise.
9097 * gdb.mi/mi-var-child.exp: Likewise.
9098 * gdb.mi/mi-var-cmd.exp: Likewise.
9099 * gdb.mi/mi-var-display.exp: Likewise.
9100 * gdb.mi/mi-watch.exp: Likewise.
9101 * gdb.mi/mi2-basics.exp: Likewise.
9102 * gdb.mi/mi2-break.exp: Likewise.
9103 * gdb.mi/mi2-cli.exp: Likewise.
9104 * gdb.mi/mi2-console.exp: Likewise.
9105 * gdb.mi/mi2-disassemble.exp: Likewise.
9106 * gdb.mi/mi2-eval.exp: Likewise.
9107 * gdb.mi/mi2-file.exp: Likewise.
9108 * gdb.mi/mi2-read-memory.exp: Likewise.
9109 * gdb.mi/mi2-regs.exp: Likewise.
9110 * gdb.mi/mi2-return.exp: Likewise.
9111 * gdb.mi/mi2-simplerun.exp: Likewise.
9112 * gdb.mi/mi2-stack.exp: Likewise.
9113 * gdb.mi/mi2-stepi.exp: Likewise.
9114 * gdb.mi/mi2-syn-frame.exp: Likewise.
9115 * gdb.mi/mi2-until.exp: Likewise.
9116 * gdb.mi/mi2-var-block.exp: Likewise.
9117 * gdb.mi/mi2-var-child.exp: Likewise.
9118 * gdb.mi/mi2-var-cmd.exp: Likewise.
9119 * gdb.mi/mi2-var-display.exp: Likewise.
9120 * gdb.mi/mi2-watch.exp: Likewise.
9121 * gdb.stabs/exclfwd.exp: Likewise.
9122 * gdb.stabs/weird.exp: Likewise.
9123 * gdb.threads/gcore-thread.exp: Likewise.
9124 * gdb.trace/actions.exp: Likewise.
9125 * gdb.trace/backtrace.exp: Likewise.
9126 * gdb.trace/circ.exp: Likewise.
9127 * gdb.trace/collection.exp: Likewise.
9128 * gdb.trace/deltrace.exp: Likewise.
9129 * gdb.trace/infotrace.exp: Likewise.
9130 * gdb.trace/limits.exp: Likewise.
9131 * gdb.trace/packetlen.exp: Likewise.
9132 * gdb.trace/passc-dyn.exp: Likewise.
9133 * gdb.trace/passcount.exp: Likewise.
9134 * gdb.trace/report.exp: Likewise.
9135 * gdb.trace/save-trace.exp: Likewise.
9136 * gdb.trace/tfind.exp: Likewise.
9137 * gdb.trace/tracecmd.exp: Likewise.
9138 * gdb.trace/while-dyn.exp: Likewise.
9139 * gdb.trace/while-stepping.exp: Likewise.
9140
9141 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9142
9143 * gdb.base/step-bt.c: New file.
9144 * gdb.base/step-bt.exp: New testcase.
9145
9146 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9147
9148 * config/monitor.exp (gdb_load): Remove support for obsolete
9149 download-write-size.
9150 * gdb.base/remote.exp: Likewise. Update all callers of
9151 gdb_timed_load.
9152
9153 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9154
9155 * cursal.exp: Pass binfile to gdb_load.
9156
9157 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9158
9159 * gdb.base/cursal.exp: Add "" to gdb_load call.
9160
9161 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9162
9163 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9164 NetBSD/ELF targets.
9165
9166 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9167
9168 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9169 operator*.
9170
9171 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9172
9173 * gdb.base/completion.exp: Update for change in "file" behavior.
9174 * gdb.stabs/weird.exp: Likewise.
9175 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9176 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9177
9178 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9179
9180 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9181 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9182
9183 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9184
9185 * gdb.base/default.exp: Update source command error message.
9186 * gdb.base/help.exp: Update 'help source' message.
9187
9188 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9189
9190 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9191 test.
9192
9193 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9194
9195 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9196
9197 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9198
9199 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9200
9201 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9202
9203 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9204
9205 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9206
9207 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9208 *-*-openbsd* from targets for wich we expect ARM FPA floating
9209 point format.
9210
9211 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9212
9213 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9214
9215 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9216
9217 * gdb.base/annota3.exp: Expect frame-begin annotation.
9218
9219 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9220
9221 * gdb.base/help.exp: Adjust "help unset" test to accept
9222 any list of unset commands.
9223
9224 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9225 Daniel Jacobowitz <dan@codesourcery.com>
9226
9227 * gdb.cp/ref-params.exp: New test.
9228 * gdb.cp/ref-params.cc: New source file.
9229 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9230
9231 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9232
9233 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9234 spaces/tabs in regular expressions since they might not be there.
9235
9236 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9237
9238 * gdb.base/ifelse.exp: New file.
9239
9240 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9241
9242 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9243 line.
9244 * gdb.base/huge.exp: Loop over compilation to find a size that
9245 is acceptable.
9246 * gdb.base/remote.exp: Correct expected strings.
9247 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9248
9249 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9250
9251 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9252
9253 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9254
9255 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9256 native.
9257
9258 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9259
9260 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9261 enable stabs testing.
9262
9263 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9264
9265 * gdb.base/auxv.exp: Intercept undefined command messages before
9266 gdb_test_multiple does.
9267
9268 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9269
9270 * Makefile.in (host_alias): Remove.
9271 (target_alias): Use @target_noncanonical@.
9272 (site.exp): Don't set host_alias.
9273 * aclocal.m4: Remove contents. Include acx.m4.
9274 * configure: Regenerated.
9275 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9276
9277 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9278
9279 * lib/gdb.exp (gdb_load_cmd): New.
9280
9281 * gdb.base/fileio.c: Add system(NULL) test.
9282 * gdb.base/fileio.exp: Check it.
9283
9284 * gdb.base/break.c: Add 10a breakpoint at }
9285 * gdb.base/break.exp: Add test for breakpoint at }
9286 * gdb.cp/anon-union.cc: Add code at end of function.
9287 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9288 * gdb.mi/var-cmd.c: Add code at end of function.
9289 * gdb.mi/mi-var-display.exp: Adjust end of next.
9290 * gdb.mi/mi2-var-display.exp: Likewise.
9291 * gdb.base/fileio.c: Add stop function and insert calls at
9292 stopping places.
9293 * gdb.base/fileio.exp: Breakpoint stop function and remove
9294 explicit line number references.
9295
9296 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9297
9298 * gdb.base/del.exp (test_delete_alias): New function.
9299 Now check that both "del" and "d" work as aliases for "delete".
9300
9301 2006-05-18 Fred Fish <fnf@specifix.com>
9302
9303 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9304 required. Check for spurious output after program exits normally.
9305
9306 2006-05-17 Fred Fish <fnf@specifix.com>
9307
9308 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9309 gdb_load, so it works in the simulator.
9310
9311 2006-05-11 Fred Fish <fnf@specifix.com>
9312
9313 * gdb.base/bang.exp: Ignore unexpected output between the
9314 "program exited normally" and the gdb prompt, as many other
9315 tests do.
9316
9317 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9318
9319 * gdb.base/help.exp: Make "delete checkpoint" part option for
9320 "help d" and "help delete" tests.
9321
9322 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9323
9324 * gdb.mi/mi-basics.exp: Add missing serial number to
9325 expected output in some mi_gdb_test statements.
9326 * gdb.mi/mi2-basics.exp: Likewise.
9327
9328 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9329
9330 * gdb.base/del.c: New file.
9331 * gdb.base/del.exp: New testcase.
9332
9333 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9334
9335 * gdb.base/break.exp: Do not assume a breakpoint on
9336 main will actually be in $srcfile when optimizing.
9337 * gdb.base/savedregs.exp: Do not require that the dummy
9338 frame location match up to a symbol and source file location.
9339 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9340 will get printed without a mi_cmd_data_list_register_values prefix.
9341 (*-data-list-register-*): Correct regular expressions to expect the new
9342 pseudo d? floating point registers.
9343 * gdb.mi/mi2-regs.exp: Likewise.
9344
9345 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9346
9347 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9348 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9349 is allocated by the compiler.
9350 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9351 anons, e, anone to force their allocation by the compiler.
9352
9353 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9354
9355 * gdb.base/help.exp: Update expected text for help d and
9356 help delete.
9357
9358 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9359
9360 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9361 NetBSD/ELF targets.
9362
9363 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9364
9365 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9366 single-step breakpoint fails; make this a KFAIL on
9367 sparc*-*-openbsd*.
9368 * gdb.base/siginfo.exp: Likewise.
9369 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9370
9371 2006-04-26 Michael Snyder <msnyder@redhat.com>
9372
9373 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9374 which may have to consume output from other forks.
9375 Add tests to make sure that "delete fork" succeeded.
9376
9377 2006-04-20 Michael Snyder <msnyder@redhat.com>
9378
9379 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9380 Add support for the Renesas M32C and M16C.
9381
9382 * gdb.asm/asm-source.exp: Add m32c target.
9383 * gdb.asm/m32c.inc: Support for m32c target.
9384
9385 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9386
9387 * gdb.base/commands.exp (recursive_source_test): New test.
9388
9389 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9390
9391 * gdb.base/float.exp: Add pattern for sparc targets.
9392
9393 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9394
9395 * gdb.base/commands.exp (stray_arg0_test): New test.
9396
9397 2006-03-30 Paul Brook <paul@codesourcery.com>
9398
9399 * gdb.mi/mi-until.exp: kfail broken until command.
9400 * gdb.mi/mi2-until.exp: Ditto.
9401
9402 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9403
9404 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9405
9406 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9407
9408 * gdb.base/prelink.exp: Anchor tested-for regular expression
9409 on gdb prompt.
9410
9411 2006-03-07 Paul Brook <paul@codesourcery.com>
9412
9413 * gdb.base/assign.exp: Correct fail message.
9414
9415 2006-03-07 Paul Brook <paul@codesourcery.com>
9416
9417 * lib/compiler.c: Extract armcc version number.
9418 * lib/compiler.cc: Ditto.
9419
9420 2006-03-07 Paul Brook <paul@codesourcery.com>
9421
9422 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9423 additional_flags=-w.
9424 * gdb.arch/altivec-regs.exp: Ditto.
9425 * gdb.arch/e500-abi.exp: Ditto.
9426 * gdb.arch/e500-regs.exp: Ditto.
9427 * gdb.base/all-bin.exp: Ditto.
9428 * gdb.base/annota1.exp: Ditto.
9429 * gdb.base/annota3.exp: Ditto.
9430 * gdb.base/args.exp: Ditto.
9431 * gdb.base/arithmet.exp: Ditto.
9432 * gdb.base/assign.exp: Ditto.
9433 * gdb.base/async.exp: Ditto.
9434 * gdb.base/bang.exp: Ditto.
9435 * gdb.base/break.exp: Ditto.
9436 * gdb.base/call-rt-st.exp: Ditto.
9437 * gdb.base/completion.exp: Ditto.
9438 * gdb.base/cond-expr.exp: Ditto.
9439 * gdb.base/condbreak.exp: Ditto.
9440 * gdb.base/consecutive.exp: Ditto.
9441 * gdb.base/define.exp: Ditto.
9442 * gdb.base/display.exp: Ditto.
9443 * gdb.base/ena-dis-br.exp: Ditto.
9444 * gdb.base/environ.exp: Ditto.
9445 * gdb.base/eval-skip.exp: Ditto.
9446 * gdb.base/info-proc.exp: Ditto.
9447 * gdb.base/jump.exp: Ditto.
9448 * gdb.base/logical.exp: Ditto.
9449 * gdb.base/long_long.exp: Ditto.
9450 * gdb.base/maint.exp: Ditto.
9451 * gdb.base/miscexprs.exp: Ditto.
9452 * gdb.base/pc-fp.exp: Ditto.
9453 * gdb.base/pointers.exp: Ditto.
9454 * gdb.base/relational.exp: Ditto.
9455 * gdb.base/reread.exp: Ditto.
9456 * gdb.base/sect-cmd.exp: Ditto.
9457 * gdb.base/sep.exp: Ditto.
9458 * gdb.base/sepdebug.exp: Ditto.
9459 * gdb.base/until.exp: Ditto.
9460 * gdb.base/whatis-exp.exp: Ditto.
9461 * gdb.cp/annota2.exp: Ditto.
9462 * gdb.cp/annota3.exp: Ditto.
9463 * gdb.trace/actions.exp: Ditto.
9464 * gdb.trace/backtrace.exp: Ditto.
9465 * gdb.trace/circ.exp: Ditto.
9466 * gdb.trace/collection.exp: Ditto.
9467 * gdb.trace/deltrace.exp: Ditto.
9468 * gdb.trace/infotrace.exp: Ditto.
9469 * gdb.trace/limits.exp: Ditto.
9470 * gdb.trace/packetlen.exp: Ditto.
9471 * gdb.trace/passc-dyn.exp: Ditto.
9472 * gdb.trace/passcount.exp: Ditto.
9473 * gdb.trace/report.exp: Ditto.
9474 * gdb.trace/save-trace.exp: Ditto.
9475 * gdb.trace/tfind.exp: Ditto.
9476 * gdb.trace/tracecmd.exp: Ditto.
9477 * gdb.trace/while-dyn.exp: Ditto.
9478 * gdb.trace/while-stepping.exp: Ditto.
9479 * lib/gdb.exp: Ditto.
9480 (gdb_compile): Handle nowarning option.
9481
9482 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9483
9484 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9485 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9486 Rename executable to prelinkt. Don't re-prelink if we didn't
9487 get a core file. Test prelink -u exit status to tell whether
9488 prelinking failed. Use gdb_test_multiple.
9489
9490 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9491
9492 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9493 (do_tests): Call it.
9494
9495 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9496
9497 * gdb.base/prelink.exp: New test.
9498 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9499
9500 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9501
9502 * gdb.fortran/derived-type.f90: New file.
9503 * gdb.fortran/derived-type.exp: New testcase.
9504
9505 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9506
9507 * gdb.base/default.exp: Allow ';' as a directory separator.
9508
9509 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9510
9511 * gdb.base/help.exp (help add-symbol-file): Update.
9512
9513 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9514
9515 * gdb.base/help.exp (help load): Update expected results.
9516
9517 2006-02-19 Fred Fish <fnf@specifix.com>
9518
9519 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9520 specifix hex value as part of results.
9521 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9522
9523 2006-02-16 Fred Fish <fnf@specifix.com>
9524
9525 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9526 ushort_addr, and slong_addr, so the typedefs are not optimized
9527 away.
9528 * gdb.base/whatis.exp: Add tests using type name for struct type,
9529 union type, enum type, and typedef.
9530
9531 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9532
9533 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9534
9535 2006-02-13 Jim Blandy <jimb@redhat.com>
9536
9537 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9538 case where it takes two "next" commands to skip past the init
9539 call.
9540
9541 2006-02-12 Fred Fish <fnf@specifix.com>
9542
9543 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9544 to handle cases where it takes two "next" commands to skip
9545 past the init call.
9546
9547 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9548
9549 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9550 on hppa32 targets.
9551
9552 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9553
9554 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9555 field.
9556
9557 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9558
9559 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9560
9561 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9562
9563 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9564 files.
9565
9566 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9567
9568 * gdb.cp/maint.exp: Set complaints to a positive value.
9569
9570 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9571
9572 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9573 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9574 function name.
9575
9576 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9577
9578 * gdb.base/checkpoint.c: Update copyright notice. Include
9579 <stdlib.h>.
9580
9581 2006-01-04 Jim Blandy <jimb@redhat.com>
9582
9583 * gdb.asm/asm-source.exp: Independently provide default values for
9584 asm-flags and debug-flags. Use 'string equal' to do the
9585 comparison, not the implicit expr's '==' operator. Remove
9586 now-unneeded assignments to asm-flags. In h8300 case, place
9587 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9588
9589 2006-01-04 Michael Snyder <msnyder@redhat.com>
9590
9591 * gdb.base/checkpoint.c: New file.
9592 * gdb.base/checkpoint.exp: New file.
9593 * gdb.base/multi-fork.c: New file.
9594 * gdb.base/multi-fork.exp: New file.
9595 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9596
9597 2006-01-04 Fred Fish <fnf@specifix.com>
9598
9599 * gdb.base/ptype.c (foo): Add typedef.
9600 (intfoo): Add function.
9601 * gdb.base/ptype1.c: New file.
9602 * gdb.base/ptype.exp: Handle compilation and linking with two
9603 source files. Test that proper type for "foo" is found based
9604 on source context rather than first match found in symtabs.
9605
9606 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9607
9608 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9609 * gdb.asm/openbsd.inc: Indent commands.
9610
9611 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9612
9613 * gdb.base/freebpcmd.exp: Increase timeout.
9614
9615 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9616
9617 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * gdb.base/default.exp: Update check for "show version".
9620
9621 2005-12-09 Randolph Chung <tausq@debian.org>
9622
9623 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9624 * gdb.asm/pa64.inc: New file.
9625
9626 2005-12-09 Randolph Chung <tausq@debian.org>
9627
9628 * gdb.asm/common.inc: Indent commands.
9629 * gdb.asm/asmsrc1.s: Likewise.
9630 * gdb.asm/asmsrc2.s: Likewise.
9631
9632 2005-12-09 Randolph Chung <tausq@debian.org>
9633
9634 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9635 (get_addr_of_sym): Remove duplicate print.
9636 (gen_core): xfail hppa*-*-hpux*, update expected output.
9637 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9638 * gdb.arch/pa64-nullify.s: New file.
9639
9640 2005-12-09 Randolph Chung <tausq@debian.org>
9641
9642 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9643
9644 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9645
9646 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9647 code generation for these functions.
9648 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9649 error message.
9650
9651 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9652
9653 * gdb.base/help.exp (help b, help br, help bre, help brea)
9654 (help break): Update the expected message.
9655
9656 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9657
9658 * gdb.asm/m68hc11.inc: Setup the data section.
9659 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9660 script for this test.
9661 (m6812-*-*): Likewise.
9662
9663 2005-11-09 Randolph Chung <tausq@debian.org>
9664
9665 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9666
9667 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9668
9669 * gdb.base/break.exp: Fix a comment typo.
9670
9671 2005-11-03 Jim Blandy <jimb@redhat.com>
9672
9673 Checked in by Elena Zannoni <ezannoni@redhat.com>
9674
9675 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9676
9677 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9678
9679 * gdb.arch/gdb1558.c: Include stdio.h.
9680
9681 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9682
9683 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9684
9685 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9686
9687 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9688
9689 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9690
9691 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9692 vscr" tests to better match output.
9693
9694 2005-10-12 Jim Blandy <jimb@redhat.com>
9695
9696 * gdb.base/structs.exp (any): New function.
9697 (test_struct_returns): Don't make any assumptions at all about
9698 what value the function returns when GDB can't set the return
9699 value.
9700
9701 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9702
9703 * gdb.ada/arrayidx/p.adb: New file.
9704 * gdb.ada/arrayidx.exp: New testcase
9705
9706 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9707
9708 * gdb.ada/array_return/pck.ads: New file.
9709 * gdb.ada/array_return/pck.adb: New file.
9710 * gdb.ada/array_return/p.adb: New file.
9711 * gdb.ada/array_return.exp: New testcase.
9712
9713 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9714
9715 * gdb.base/arrayidx.c: New file.
9716 * gdb.base/arrayidx.exp: New testcase.
9717
9718 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9719
9720 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9721 frames-invalid and breakpoints-invalid are no longer generated
9722 with level 3 so don't expect them in the output.
9723
9724 2005-09-27 Bob Rossi <bob@brasko.net>
9725
9726 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9727 from test. Escape the | in mi_gdb_test call.
9728 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9729 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9730 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9731 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9732 expected regex's in mi_gdb_test calls.
9733 * lib/mi-support.exp: Remove arbitrary .* from tests.
9734 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9735 Fully anchor GDB/MI expected results in mi_gdb_test.
9736 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9737 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9738
9739 2005-09-26 Paul Brook <paul@codesourcery.com>
9740
9741 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9742
9743 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9744
9745 * bfp-test.c: New file.
9746 * bfp-test.exp: New testcase.
9747
9748 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9749
9750 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9751 of subarray and substring variable.
9752 * gdb.fortran/subarray.f: New source file for the test of subarray
9753 and substring variable evaluation.
9754 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9755 of string constant.
9756
9757 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9758
9759 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9760 copyright dates.
9761
9762 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9763
9764 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9765 powerpc altivec' test with an almost identical 'info vector' test.
9766
9767 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9768
9769 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9770 vscr" tests to match output.
9771
9772 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9773
9774 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9775 output.
9776
9777 2005-09-11 Bob Rossi <bob@brasko.net>
9778
9779 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9780 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9781 commands that return an MI output command and an asyncronous MI output
9782 command.
9783 * gdb.mi/mi-console.exp: Ditto.
9784
9785 2005-09-11 Bob Rossi <bob@brasko.net>
9786
9787 * gdb.mi/mi-var-child.c: Include <string.h>.
9788
9789 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9790
9791 * killed.exp: Correct gdb_expect syntax.
9792
9793 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9794
9795 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9796
9797 2005-08-02 Bob Rossi <bob@brasko.net>
9798
9799 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9800 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9801 Change tests to inferior-tty-set/show.
9802 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9803 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9804 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9805 inferior. Use mi_gdb_test to get GDB and Inferior output.
9806 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9807 descriptor.
9808 (mi_inferior_tty_name): Add inferior PTY file name.
9809 (mi_gdb_start): Add INFERIOR_PTY parameter.
9810 (mi_gdb_test): Add IPATTERN parameter.
9811
9812 2005-08-02 Bob Rossi <bob@brasko.net>
9813
9814 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9815 parameter to mi_gdb_test.
9816 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9817
9818 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9819
9820 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9821 struct_declarations.
9822 * gdb.mi/mi-var-child.exp: Step over the initialization of
9823 struct_declarations.
9824
9825 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9826
9827 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9828 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9829 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9830 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9831 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9832 file.
9833
9834 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9835
9836 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9837 (do_children_tests): Assign values to the extra elements.
9838
9839 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9840 them for tests for "-var-update --no-values" and
9841 "-var-update --all-values".
9842 Add test for "-var-list-children --simple-values".
9843
9844 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9845
9846 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9847 "-stack-list-locals --simple-values" Improve doc strings and
9848 comments.
9849
9850 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9851
9852 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9853 *-*-openbsd*.
9854 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9855
9856 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9857 sigaltsatck'.
9858
9859 2005-07-14 Bob Rossi <bob@brasko.net>
9860
9861 * gdb.base/default.exp (tty): Changed output of command.
9862 * gdb.base/help.exp (help tty): Ditto.
9863
9864 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9865
9866 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9867
9868 2005-07-10 Mark Kettenis <kettenis@gnu.org>
9869
9870 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9871 -stack-select-frame without arguments.
9872 (test_stack_frame_listing): Add test for newly implemented command
9873 -stack-info-frame.
9874
9875 2005-07-06 Bob Rossi <bob@brasko.net>
9876
9877 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9878 command.
9879 (Copyright): Update copyright.
9880
9881 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9882
9883 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9884 tests to evaluate exponentiation expression.
9885
9886 2005-06-29 Andreas Schwab <schwab@suse.de>
9887
9888 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9889 main to avoid warnings.
9890
9891 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9892
9893 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
9894
9895 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9896 -stack-select-frame without arguments.
9897 (test_stack_frame_listing): Add test for newly implemented command
9898 -stack-info-frame.
9899
9900 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9901
9902 * gdb.fortran/array-element.f: New file.
9903 * gdb.fortran/array-element.exp: New testcase.
9904
9905 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9906
9907 * gdb.base/bigcore.exp: Correct checks for systems which can
9908 not dump a large core file.
9909
9910 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9911
9912 * gdb.base/relocate.c: Add a copyright notice.
9913 (dummy): Remove.
9914 * gdb.base/relocate.exp: Test printing the values of variables
9915 from a relocatable file.
9916
9917 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9918
9919 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9920 excess MI output after an error.
9921
9922 2005-05-29 Joel Brobecker <brobecker@adacore.com>
9923
9924 * gdb.arch/alpha-step.c: New file.
9925 * gdb.arch/alpha-step.exp: New testcase.
9926
9927 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9928 Dennis Brueni <dennis@slickedit.com>
9929
9930 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9931 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9932 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9933 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9934 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9935 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
9936 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
9937
9938 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9939 Wu Zhou <woodzltc@cn.ibm.com>
9940
9941 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
9942 IBM's xlc compiler.
9943 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
9944 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
9945
9946 2005-05-13 Jim Blandy <jimb@redhat.com>
9947
9948 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
9949 calling gdb_suppress_entire_file.
9950 * gdb.base/charset.exp: Same.
9951 * gdb.base/call-rt-st.exp: Same.
9952
9953 2005-05-05 Bob Rossi <bob_rossi@cox.net>
9954
9955 * lib/gdb.exp (fullname_syntax): Added global regex.
9956 (fullname_syntax_POSIX): Ditto.
9957 (fullname_syntax_UNC): Ditto.
9958 (fullname_syntax_DOS_CASE): Ditto.
9959 (fullname_syntax_DOS): Ditto.
9960 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
9961 fullname_syntax variable to scope and use it.
9962 (test_file_list_exec_source_files): Ditto.
9963 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
9964
9965 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9966
9967 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9968
9969 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
9970
9971 * lib/gdb.exp (skip_altivec_tests): New function, based on
9972 check_vmx_hw_available from the GCC testsuite.
9973 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
9974 * lib/gdb.arch/altivec-regs.exp: Likewise.
9975
9976 2005-05-02 Jim Blandy <jimb@redhat.com>
9977
9978 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9979 calling gdb_suppress_entire_file.
9980
9981 2005-04-30 Randolph Chung <tausq@debian.org>
9982
9983 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9984 Slightly relax "sem_post" name checking.
9985
9986 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9987
9988 * gdb.base/unload.exp: Use new shared library infrastructure.
9989
9990 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9991
9992 * gdb.base/so-impl-ld.exp: Use new shared library
9993 infrastructure.
9994
9995 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
9996
9997 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
9998 * gdb.asm/h8300.inc: New file.
9999
10000 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10001
10002 * gdb.base/shlib-call.exp: Change to use new shared library
10003 infrastructure.
10004
10005 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10006
10007 * gdb.base/pending.exp: Change to use new shared library
10008 infrastructure.
10009
10010 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10011
10012 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10013 use test_compiler_info instead of gcc_compiled, and update copyright.
10014
10015 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10016
10017 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10018 shared objects being adjusted and update copyright years.
10019
10020 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10021
10022 * ChangeLog: Correct some 2003-01-13 dates.
10023 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10024 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10025 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10026 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10027 gdb.trace/tfind.exp: Update copyright years.
10028
10029 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10030 Daniel Jacobowitz <dan@codesourcery.com>
10031
10032 * lib/gdb.exp (gdb_compile): Handle shlib=.
10033 (gdb_compile_shlib): New function.
10034
10035 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10036
10037 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10038
10039 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10040
10041 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10042 gdb.server.
10043 * configure.ac: Likewise.
10044 * configure: Regenerated.
10045 * gdb.gdbserver/Makefile.in: Moved to...
10046 * gdb.server/Makefile.in: ... here.
10047 * gdb.gdbserver/server.c: Moved to...
10048 * gdb.server/server.c: ... here.
10049 * gdb.gdbserver/server-run.exp: Moved to...
10050 * gdb.server/server-run.exp: ... here.
10051
10052 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10053
10054 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10055 * configure.ac: Create gdb.gdbserver/Makefile.
10056 * configure: Regenerated.
10057 * lib/gdbserver-support.exp: New file, derived from
10058 config/gdbserver.exp.
10059 * config/gdbserver.exp: Use gdbserver-support.exp.
10060 * gdb.gdbserver/Makefile.in: New file.
10061 * gdb.gdbserver/server.c: New file.
10062 * gdb.gdbserver/server-run.exp: New file.
10063
10064 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10065
10066 * lib/gdb.exp (test_compiler_info): Return compiler_info
10067 if no arguments are given.
10068
10069 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10070
10071 * gdb.arch/altivec-abi.exp: Check for compiler and set
10072 use altivec' flag accordingly.
10073 * gdb.arch/altivec-regs.exp: Likewise.
10074
10075 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10076
10077 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10078
10079 2005-03-27 Andreas Schwab <schwab@suse.de>
10080
10081 * gdb.base/bigcore.c (main): Add missing mode argument in open
10082 call.
10083
10084 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10085
10086 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10087 downloads.
10088 * config/gdbserver.exp (gdb_load): Likewise.
10089
10090 2005-03-14 Paul Brook <paul@codesourcery.com>
10091
10092 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10093 targets.
10094
10095 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10096
10097 * gdb.dwarf2/dup-psym.S: New file.
10098 * gdb.dwarf2/dup-psym.exp: New testcase.
10099
10100 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10101
10102 * gdb.ada/exec_changed/first.adb: New file.
10103 * gdb.ada/exec_changed/second.adb: New file.
10104 * gdb.ada/exec_changed.exp: New testcase.
10105
10106 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10107
10108 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10109 (A2): New class.
10110 (main): Test operator+.
10111 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10112 breakpoint test.
10113
10114 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10115 * gdb.base/signull.exp: Disable if gdb,nosignals.
10116 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10117 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10118 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10119 * gdb.mi/mi2-console.exp: Likewise.
10120 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10121 continue output at start.
10122 (gdb_collect_locals_test): Robustify regexp.
10123 * gdb.trace/passc-dyn.exp: Fix comment typo.
10124 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10125
10126 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10127
10128 * gdb.asm/asm-source.exp: Add iq2000 case.
10129 * gdb.asm/iq2000.inc: New file.
10130
10131 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10132
10133 * gdb.base/command.exp: Change hardcoded value to regular expression.
10134 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10135
10136 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10137
10138 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10139 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10140 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10141 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10142 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10143
10144 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10145
10146 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10147 changes.
10148
10149 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10150
10151 * lib/compiler.c: Add test for IBM's xlc compiler.
10152 * lib/compiler.cc: Likewise.
10153
10154 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10155
10156 * gdb.ada/fixed_points.exp: Create compilation object directory
10157 before running the test.
10158 * gdb.ada/null_record.exp: Likewise.
10159 * gdb.ada/packed_array.exp: Likewise.
10160 * gdb.ada/start.exp: Likewise.
10161
10162 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10163
10164 * gdb.ada/packed_array/pa.adb: New file.
10165 * gdb.ada/packed_array.exp: New testcase.
10166
10167 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10168
10169 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10170 files.
10171
10172 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10173 on *-*-openbsd*. Correctly match whitespace in regukar
10174 expressions.
10175
10176 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10177
10178 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10179 PR exp/1821
10180 * gdb.base/gdb1821.c: New test file.
10181 * gdb.base/gdb1821.exp: New test file.
10182
10183 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10184
10185 * gdb.base/start.c: New file.
10186 * gdb.base/start.exp: New testcase.
10187
10188 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10189
10190 * gdb.ada/start/dummy.adb: New file.
10191 * gdb.ada/start.exp: New testcase.
10192
10193 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10194
10195 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10196 for printing symbols and statistics.
10197 Add test for using relative pathnames in "maint print msymbols" test.
10198 Mark "maint info sections DATA" XFAIL on Cygwin.
10199 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10200 tests.
10201
10202 2005-02-09 Andreas Schwab <schwab@suse.de>
10203
10204 Committed by Andrew Cagney <cagney@gnu.org>
10205 * gdb.base/remotetimeout.exp: New file.
10206
10207 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10208
10209 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10210
10211 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10212
10213 * gdb.ada/gnat_ada.gpr: New file.
10214 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10215 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10216 * configure.ac: No longer generate gnat_ada.gpr.
10217 * configure: Regenerate.
10218 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10219 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10220 * gdb.ada/null_record/bar.ads: Likewise.
10221 * gdb.ada/null_record/bar.adb: Likewise.
10222 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10223 * gdb.ada/null_record.exp (testdir): New variable.
10224 (testfile): executable is now in testdir subdirectory.
10225 (srcfile): Use full path to the main compilation unit.
10226 * gdb.ada/fixed_points.exp: Same changes as above.
10227
10228 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10229
10230 * gdb.base/interp.exp: New test.
10231
10232 2005-01-24 Andrew Cagney <cagney@gnu.org>
10233
10234 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10235
10236 2005-01-19 Andrew Cagney <cagney@gnu.org>
10237
10238 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10239 configure.ac not configure.in.
10240
10241 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10242 of powerpc*-*-*.
10243 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10244 * gdb.base/list.exp (test_list_function)
10245 (test_list_filename_and_function): Ditto.
10246 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10247
10248 2005-01-16 Andrew Cagney <cagney@gnu.org>
10249
10250 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10251
10252 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10253
10254 2005-01-14 Andrew Cagney <cagney@gnu.org>
10255
10256 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10257 * gdb.mi/mi2-var-cmd.exp: Ditto.
10258
10259 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10260
10261 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10262
10263 2005-01-07 Andrew Cagney <cagney@gnu.org>
10264
10265 * configure.ac: Rename configure.in, require autoconf 2.59.
10266 * configure: Re-generate.
10267 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10268 * gdb.stabs/configure: Re-generate.
10269 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10270 * gdb.hp/configure: Re-generate.
10271 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10272 autoconf 2.59.
10273 * gdb.hp/gdb.objdbg/configure: Re-generate.
10274 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10275 autoconf 2.59.
10276 * gdb.hp/gdb.defects/configure: Re-generate.
10277 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10278 autoconf 2.59.
10279 * gdb.hp/gdb.compat/configure: Re-generate.
10280 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10281 autoconf 2.59.
10282 * gdb.hp/gdb.base-hp/configure: Re-generate.
10283 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10284 autoconf 2.59.
10285 * gdb.hp/gdb.aCC/configure: Re-generate.
10286
10287 2004-12-15 Jim Blandy <jimb@redhat.com>
10288
10289 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10290 under NPTL when there is debugging info available for libpthread.
10291
10292 2004-12-13 Jerome Guitton <guitton@gnat.com>
10293
10294 * gdb.ada/fixed_points.c: New file.
10295 * gdb.ada/fixed_points.exp: New file.
10296
10297 2004-12-03 Randolph Chung <tausq@debian.org>
10298
10299 * gdb.arch/pa-nullify.exp: New file.
10300 * gdb.arch/pa-nullify.s: New file.
10301
10302 2004-11-30 Randolph Chung <tausq@debian.org>
10303
10304 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10305 instead of "tbug". Fix regexp to work properly with gdb_test.
10306
10307 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10308
10309 * gdb.base/bitfields2.exp: New test.
10310 * gdb.base/bitfields2.c: New file.
10311
10312 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10313
10314 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10315
10316 2004-11-16 Randolph Chung <tausq@debian.org>
10317
10318 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10319
10320 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10321
10322 * gdb.threads/threadapply.exp: Correct "macro details" test.
10323
10324 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10325
10326 * gdb.threads/threadapply.exp: New test.
10327 * gdb.threads/threadapply.c: New file.
10328
10329 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10330
10331 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10332 frames.
10333
10334 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10335
10336 * gdb.base/cursal.exp: New file.
10337 * gdb.base/cursal.c: New file.
10338
10339 2004-11-03 Andrew Cagney <cagney@gnu.org>
10340
10341 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10342
10343 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10344
10345 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10346 NetBSD/ELF targets.
10347
10348 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10349
10350 * gdb.threads/bp_in_thread.c: New file, copied from
10351 pthread_cond_wait.c.
10352 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10353 file, rather than reusing the .c file from another testcase.
10354
10355 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10356
10357 * gdb.ada/null_record.exp: Check where we stopped after
10358 sending the start command, instead of where the associated
10359 temporary breakpoint was inserted.
10360
10361 2004-10-14 Andrew Cagney <cagney@gnu.org>
10362
10363 * gdb.mi/gdb701.c (main): Return 0.
10364
10365 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10366
10367 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10368
10369 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10370
10371 * gdb.threads/schedlock.c: Add comment markers to use to find
10372 line numbers.
10373 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10374 comments.
10375 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10376 breakpoint lines.
10377
10378 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10379
10380 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10381
10382 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10383
10384 * configure.in: Add gdb.dwarf2.
10385 * configure: Regenerated.
10386 * Makefile.in: Add gdb.dwarf2.
10387 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10388 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10389 gdb.dwarf2/file1.txt: New files.
10390
10391 2004-10-11 Orjan Friberg <orjanf@axis.com>
10392
10393 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10394 of "run", since the latter doesn't work with remote targets. Adjust
10395 the breakpoint numbering accordingly.
10396 * gdb.threads/pthread_cond_wait.exp: Ditto.
10397
10398 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10399
10400 * gdb.base/overlays.exp: Update copyright years.
10401
10402 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10403
10404 * gdb.base/overlays.exp: Disable if target is Linux.
10405
10406 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10407
10408 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10409
10410 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10411
10412 * gdb.asm/asm-source.exp: Add m32r-linux target.
10413 * gdb.asm/m32r-linux.inc: New file.
10414
10415 2004-09-24 Andrew Cagney <cagney@redhat.com>
10416 David Anderson <anderson@redhat.com>
10417
10418 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10419 command fails, assume things will work.
10420 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10421 (_GNU_SOURCE): Define.
10422 (print_unsigned, print_hex): Change parameter to "long long".
10423 (print_byte_count): New function, use to print byte counts.
10424 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10425 O_LARGEFILE.
10426 (main): Compute an upper bound on a corefile in max_core_size.
10427 Limit memory chunk size to max_core_size. Limit total memory
10428 allocated to max_core_size.
10429
10430 2004-09-23 Andrew Cagney <cagney@gnu.org>
10431
10432 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10433 from a separate process with code that creates a corefile by
10434 making the inferior dump core.
10435
10436 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10437
10438 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10439 block.
10440
10441 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10442
10443 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10444 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10445 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10446 Likewise.
10447
10448 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10449
10450 * gdb.java/jprint.exp: New test case for java inferior call.
10451 * gdb.java/jprint.java: Ditto.
10452
10453 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10454
10455 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10456
10457 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10458
10459 * gdb.threads/killed.c: Include <stdlib.h>.
10460 * gdb.threads/pthreads.c: Likewise.
10461
10462 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10463
10464 * gdb.threads/killed.c: Add copyright notice.
10465
10466 2004-09-10 Jason Molenda (jmolenda@apple.com)
10467
10468 * gdb.base/define.exp: Two new tests to verify zero space chars
10469 after 'if' and 'while' commands in a user-defined command is correctly
10470 parsed.
10471
10472 2004-09-08 Andrew Cagney <cagney@gnu.org>
10473
10474 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10475 delivery test with duplicate at end of file.
10476
10477 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10478
10479 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10480
10481 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10482
10483 * config/hppro.exp: Removed.
10484
10485 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10486
10487 * config/sparclet.exp: Removed.
10488
10489 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10490
10491 * config/udi.exp: Removed.
10492
10493 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10494
10495 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10496 of "exp_continue".
10497 (advancei): Likewise.
10498
10499 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10500
10501 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10502
10503 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10504
10505 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10506 to check for nodebug in executable.
10507 * gdb.gdb/observer.exp (setup_test): Likewise.
10508 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10509 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10510
10511 2004-09-01 Andrew Cagney <cagney@gnu.org>
10512
10513 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10514 files.
10515
10516 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10517
10518 * gdb.base/unload.exp: Fix expected warning message to match
10519 latest format.
10520
10521 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10522
10523 * gdb.base/call-rt-st.exp: Fix typos.
10524
10525 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10526
10527 * gdb.threads/thread_check.exp: New testcase.
10528 * gdb.threads/thread_check.c: New testcase.
10529
10530 2004-08-31 Andrew Cagney <cagney@gnu.org>
10531
10532 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10533 (skip_to_handler_entry): New procedures. Test stepping into a
10534 handler when the breakpoint is at the handler's entry point.
10535
10536 2004-08-30 Andrew Cagney <cagney@gnu.org>
10537
10538 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10539 gdb/1757.
10540
10541 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10542
10543 With code from Manoj Iyer <manjo@austin.ibm.com>:
10544 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10545 return value. Add an arm for "no debugging symbols found".
10546 Change a stray "error" to "perror".
10547 (gdb_run_cmd): Adapt to new return value.
10548 * gdb.base/remote.exp: Adapt to new return value.
10549 * gdb.gdb/complaints.exp: Likewise.
10550 * gdb.gdb/observer.exp: Likewise.
10551 * gdb.gdb/selftest.exp: Likewise.
10552 * gdb.gdb/xfullpath.exp: Likewise.
10553
10554 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10555
10556 * gdb.threads/bp_in_thread.exp: New testcase.
10557
10558 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10559
10560 Fix PR testsuite/1735.
10561 * gdb.threads/schedlock.c (thread_function): Add a cast
10562 to suppress a gcc warning.
10563 * gdb.threads/thread-specific.c (thread_function): Likewise.
10564
10565 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10566
10567 * gdb.base/unload.c: Include <stdlib.h>.
10568
10569 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10570
10571 From Paul Gilliam <pgilliam@us.ibm.com>:
10572 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10573 synchronized after the "return".
10574
10575 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10576
10577 * gdb.mi/basics.c: Include <stdio.h>.
10578 * gdb.mi/pthreads.c: Include <stdlib.h>.
10579 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10580
10581 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10582
10583 * gdb.threads/schedlock.c: Add copyright notice.
10584
10585 2004-08-25 Andrew Cagney <cagney@gnu.org>
10586
10587 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10588 (skip_over_handler, breakpoint_over_hander): New test procedures.
10589 (advance, advancei): Add a proper prefix, do not use
10590 rerun_to_main.
10591 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10592
10593 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10594
10595 * gdb.mi/basics.c: Add copyright notice.
10596 * gdb.mi/var-cmd.c: Add copyright notice.
10597
10598 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10599
10600 * lib/gdb.exp: Remove signed_keyword_not_used.
10601 * lib/compiler.c: Likewise.
10602 * lib/compiler.cc: Likewise.
10603
10604 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10605
10606 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10607 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10608
10609 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10610
10611 * gdb.base/whatis.c: Add copyright notice.
10612
10613 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10614
10615 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10616 it to skip the breakpoints encoded in the inline assembly.
10617
10618 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10619
10620 * Makefile.in: Add gdb.fortran.
10621
10622 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10623
10624 * gdb.base/call-sc.exp (test_scalar_returns):
10625 Fix cut-and-paste glitch in "Make fun return now".
10626
10627 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10628
10629 * configure.in: Add gdb.fortran.
10630 * configure: Regenerate.
10631 * gdb.fortran/Makefile.in: New file.
10632 * lib/gdb.exp (skip_fortran_tests): New procedure.
10633
10634 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10635
10636 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10637 reference to bug-gnu@prep.ai.mit.edu.
10638 * gdb.mi/mi-var-child.exp: Likewise.
10639 * gdb.mi/mi-var-cmd.exp: Likewise.
10640 * gdb.mi/mi-var-display.exp: Likewise.
10641 * gdb.mi/mi2-var-block.exp: Likewise.
10642 * gdb.mi/mi2-var-child.exp: Likewise.
10643 * gdb.mi/mi2-var-cmd.exp: Likewise.
10644 * gdb.mi/mi2-var-display.exp: Likewise.
10645
10646 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10647
10648 * gdb.base/unload.c (main): Make local variable msg const.
10649
10650 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10651
10652 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10653 to bug-gnu@prep.ai.mit.edu.
10654 * gdb.mi/mi-disassemble.exp: Likewise.
10655 * gdb.mi/mi-eval.exp: Likewise.
10656 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10657 default line number.
10658 * gdb.mi/mi-return.exp: Likewise.
10659 * gdb.mi/mi-simplerun.exp: Likewise.
10660 * gdb.mi/mi-stack.exp: Likewise.
10661 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10662 number with explicit range test.
10663 * gdb.mi/mi-watch.exp: Likewise.
10664 * gdb.mi/mi2-break.exp: Likewise.
10665 * gdb.mi/mi2-cli.exp: Likewise.
10666 * gdb.mi/mi2-disassemble.exp: Likewise.
10667 * gdb.mi/mi2-eval.exp: Likewise.
10668 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10669 default line number.
10670 * gdb.mi/mi2-return.exp: Likewise.
10671 * gdb.mi/mi2-simplerun.exp: Likewise.
10672 * gdb.mi/mi2-stack.exp: Likewise.
10673 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10674 number with explicit range test.
10675 * gdb.mi/mi2-watch.exp: Likewise.
10676
10677 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10678
10679 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10680 * gdb.cp/m-static.exp: Likewise.
10681 * gdb.cp/rtti.exp: Likewise.
10682
10683 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10684
10685 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10686
10687 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10688
10689 * ChangeLog: Prefix Local Variables with semi-colons and indent
10690 the reference to older ChangeLog files, to fix fontification in
10691 Emacs.
10692
10693 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10694
10695 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10696 * gdb.mi/mi2-break.exp: Likewise.
10697
10698 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10699
10700 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10701
10702 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10703
10704 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10705
10706 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10707
10708 * gdb.cp/classes.exp: Remove unused declarations. Just let
10709 test names default instead of providing special names. Remove
10710 extraneous demangler test.
10711
10712 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10713
10714 * gdb.base/unload.exp: New test for breakpoints in dynamically
10715 loaded libraries.
10716 * gdb.base/unload.c: Ditto.
10717 * gdb.base/unloadshr.c: Ditto.
10718
10719 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10720
10721 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10722 cp_test_ptype_class.
10723 (test_enums): Likewise.
10724
10725 2004-08-10 Andrew Cagney <cagney@gnu.org>
10726
10727 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10728 files.
10729
10730 2004-08-10 Andrew Cagney <cagney@gnu.org>
10731
10732 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10733 init_malloc call.
10734
10735 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10736
10737 * ChangeLog: Add copyright notice. The notice is copied
10738 from emacs 21.3 top level ChangeLog.
10739
10740 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10741
10742 * lib/cp-support.exp: New file.
10743 * lib/cp-support.exp (cp_test_type_class): New function.
10744 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10745 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10746 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10747 cp_test_ptype_class.
10748
10749 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10750
10751 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10752 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10753 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10754 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10755 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10756 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10757 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10758 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10759 gdb.mi/mi2-watch.exp: Update copyright years.
10760
10761 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10762
10763 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10764
10765 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10766
10767 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10768 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10769 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10770 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10771 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10772 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10773 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10774 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10775 gdb.mi/mi-watch.exp: Update copyright years.
10776
10777 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10778
10779 PR gdb/1738
10780 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10781 from a breakpoint with a pending signal.
10782
10783 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10784
10785 PR gdb/1736
10786 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10787 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10788 the prompt.
10789 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10790
10791 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10792
10793 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10794
10795 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10796
10797 PR gdb/1736
10798 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10799 for i?86-*-linux*.
10800
10801 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10802
10803 * gdb.arch/i386-prologue.exp: Compile without debug information.
10804
10805 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10806
10807 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10808 rather than asking gdb to search.
10809
10810 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10811
10812 * gdb.base/gcore.c: Include <string.h>.
10813
10814 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10815
10816 * gdb.base/gcore.c: Add copyright notice.
10817
10818 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10819
10820 * gdb.base/freebpcmd.c: Include <stdio.h>.
10821 * gdb.base/long_long.c: Include <string.h>.
10822 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10823 * gdb.base/siginfo.c: Include <string.h>.
10824 * gdb.base/sigstep.c: Include <string.h>.
10825
10826 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10827
10828 * gdb.base/complex.c: Include <stdlib.h>.
10829
10830 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10831
10832 * gdb.base/complex.c: Add copyright notice.
10833
10834 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10835
10836 * gdb.base/charset.c: Include <stdlib.h>.
10837
10838 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10839
10840 * gdb.base/auxv.c: Include <stdlib.h>.
10841
10842 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10843
10844 * gdb.base/auxv.c: Add copyright notice.
10845
10846 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10847
10848 * gdb.base/coremaker.c: Add copyright notice.
10849 * gdb.base/coremaker2.c: Add copyright notice.
10850
10851 2004-08-04 Andrew Cagney <cagney@gnu.org>
10852
10853 * gdb.base/store.exp: Update copyright.
10854 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10855 names, do not import gdb_prompt.
10856
10857 2004-08-01 Andrew Cagney <cagney@gnu.org>
10858
10859 Fix PR testsuite/1729.
10860 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10861 not use capture_value with value 4.
10862 (capture_value): Add optional test name parameter.
10863 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10864 the prefix, pass to capture_value.
10865
10866 2004-08-01 Mark Kettenis <kettenis@gnu.org>
10867
10868 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10869 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10870 (main): Call new function.
10871
10872 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10873
10874 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10875
10876 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10877
10878 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10879
10880 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10881
10882 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
10883 Accept more values of vtbl pointer. Remove some messages
10884 about "obsolete gcc or gdb".
10885
10886 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10887
10888 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10889
10890 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10891
10892 * gdb.base/asm-source.exp: Properly convert target board
10893 debug flags from gcc format to binutils format.
10894
10895 2004-07-28 Mark Kettenis <kettenis@gnu.org>
10896
10897 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10898 gdb1718". PR backtrace/1718 partially fixed.
10899
10900 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10901
10902 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10903
10904 2004-07-26 Nick Clifton <nickc@redhat.com>
10905
10906 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10907 good default value for a specific architecture is available then
10908 set it to that value. Otherwise default to the -gstabs switch.
10909 Remove the -g... switches from the asm-flags variable. Allow the
10910 target board info to override the value if it wants to. Pass the
10911 switch on the assembler command line.
10912
10913 2004-07-23 Mark Kettenis <kettenis@gnu.org>
10914
10915 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10916 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10917 (main): Call new function.
10918
10919 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10920
10921 Test for PR exp/1715.
10922 * gdb.base/radix.exp: Refactor common procedures. Make all
10923 test names unique. Change XFAIL to KFAIL.
10924
10925 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10926
10927 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10928 * gdb.ada/gnat_ada.gin: ... to here.
10929 * configure.in: Use gnat_ada.gin.
10930 * configure: Regenerate.
10931
10932 2004-07-20 Andrew Cagney <cagney@gnu.org>
10933
10934 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
10935 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
10936 XFAILs. Clean up test messages and comments. Check backtraces.
10937 Delete re-sync code.
10938
10939 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10940
10941 Fix PR cli/740.
10942 * gdb.base/annota1.exp: Honor gdb,nosignals.
10943 * gdb.base/annota3.exp: Likewise.
10944
10945 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10946
10947 * lib/java.exp: Update copyright notice.
10948
10949 2004-07-19 Andrew Cagney <cagney@gnu.org>
10950
10951 * gdb.base/selftest.exp: Copy file from here ...
10952 * gdb.gdb/selftest.exp: ... to here.
10953
10954 2004-07-16 Andrew Cagney <cagney@redhat.com>
10955
10956 * lib/insight-support.exp: Delete file.
10957 * lib/java.exp (java_init): Fix copyright.
10958
10959 2004-07-16 Andrew Cagney <cagney@gnu.org>
10960
10961 * gdb.base/restore.c: Append "prologue" to comments marking the a
10962 function's prologue.
10963 * gdb.base/restore.exp: Update copyright, re-indent.
10964 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
10965 callerN" prefix where needed. Update patterns that match a
10966 function's prologue.
10967
10968 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10969
10970 * gdb.base/restore.c: Add copyright notice.
10971
10972 2004-07-16 Andrew Cagney <cagney@gnu.org>
10973
10974 * gdb.base/logical.exp: Update copyright.
10975 (evaluate): New procedure. Use to re-implement tests using
10976 several tables.
10977
10978 2004-07-14 Martin Hunt <hunt@redhat.com>
10979
10980 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10981 which fixes some problems where init.tcl was not found.
10982
10983 2004-07-13 Andrew Cagney <cagney@gnu.org>
10984
10985 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
10986 (check_sizeof, check_valueof): Do not include the output in the
10987 test name. Use gdb_test.
10988 (get_valueof): Use gdb_test_multiple.
10989
10990 * gdb.base/step-test.exp: Update copyright. Use
10991 gdb_test_multiple. Ensure that test names do not include
10992 architecture dependent output.
10993
10994 * gdb.gdb/observer.exp: Update copyright.
10995 (setup_test): Use gdb_test_multiple.
10996 (attach_first_observer, attach_second_observer)
10997 (attach_third_observer, detach_first_observer)
10998 (detach_second_observer, detach_third_observer)
10999 (reset_counters, check_counters): Make $message a prefix.
11000 (test_normal_stop_notifications): Add "args" parameter - a list of
11001 init functions to be called. Make $message a prefix,
11002 (test_observer_normal_stop): Change the message prefixes so that
11003 they are unique, pass the attach / detach procedures to
11004 test_normal_stop_notifications.
11005
11006 * gdb.base/signull.exp (test_segv): Prefix all tests with
11007 "${name}". Clean up test messages.
11008
11009 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11010
11011 * gdb.base/ena-dis-br.exp: Update copyright.
11012 (break_at): New function. Replace send_gdb with gdb_test,
11013 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11014 ignore count, not stopped at bpt", with KFAIL.
11015
11016 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11017
11018 * gdb.base/attach.exp: Remove cleanupfile handling.
11019
11020 2004-07-12 Andrew Cagney <cagney@gnu.org>
11021
11022 * gdb.base/annota1.exp: Cleanup corefile test name.
11023 * gdb.base/annota3.exp: Ditto.
11024
11025 2004-07-12 Andrew Cagney <cagney@gnu.org>
11026
11027 * gdb.base/signals.exp: Clean up copyright, re-indent.
11028
11029 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11030 gdb_test and gdb_test_multiple.
11031
11032 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11033
11034 * gdb.java/jmain.exp: Fix expected line number for main to
11035 break at. Set XFAIL for break at main test since gcj does not
11036 provide line number info for first statement in main.
11037
11038 2004-07-08 Andrew Cagney <cagney@gnu.org>
11039
11040 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11041
11042 * gdb.base/sigbpt.exp: Make the common part of each test name a
11043 prefix instead of suffix.
11044
11045 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11046
11047 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11048 test from test_tbreak_creation_and_listing to
11049 test_file_list_exec_source_file
11050 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11051 Changed name of test from test_tbreak_creation_and_listing to
11052 test_file_list_exec_source_file
11053
11054 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11055
11056 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11057 the jmisc() constructor instead of <init>.
11058 * gdb.java/jmisc1.exp: Ditto.
11059
11060 2004-07-07 Andrew Cagney <cagney@gnu.org>
11061
11062 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11063 corrupting the PC.
11064
11065 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11066
11067 * gdb.cp/templates.exp: Accept whitespace change in demangler
11068 output.
11069
11070 2004-07-06 Andrew Cagney <cagney@gnu.org>
11071
11072 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11073
11074 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11075
11076 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11077 * lib/compiler.cc: Likewise.
11078
11079 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11080
11081 * lib/compiler.cc: Work around string preprocessing problem
11082 with old hp c++ compiler.
11083 * lib/compiler.c: Likewise.
11084
11085 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11086
11087 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11088 directives to conditionalize symbol prefixing.
11089 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11090 additional_flags handling. Add underscore prefix for Cygwin.
11091 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11092 conditionalize symbol prefixing.
11093 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11094 additional_flags handling. Add underscore prefix for Cygwin.
11095
11096 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11097
11098 * gdb.base/bigcore.exp: Skip test on Cygwin.
11099
11100 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11101
11102 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11103 formats for "info register". Use gdb_test_multiple. Fix
11104 the "invalid register" test.
11105
11106 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11107
11108 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11109 PID for Cygwin. Add Cygwin specific strings to check for in some
11110 tests.
11111 (do_attach_tests): Add a test for user interaction when attaching
11112 to a process with no matching symbol table already loaded.
11113
11114 2004-06-26 Andrew Cagney <cagney@gnu.org>
11115
11116 Test PR java/1567 and PR java/1565.
11117 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11118 * gdb.java/jmisc2.exp: Delete file.
11119
11120 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11121
11122 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11123
11124 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11125
11126 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11127 attach process.
11128
11129 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11130
11131 * gdb.cp/pr-1553.exp: Remove.
11132
11133 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11134
11135 * gdb.cp/pr-1553.cc: Remove.
11136 * gdb.cp/pr-1553.exp: Disable this test.
11137
11138 2004-06-20 Jim Blandy <jimb@redhat.com>
11139
11140 Fix PR testsuite/1680.
11141 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11142 regular expressions.
11143
11144 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11145
11146 Fix PR testsuite/1679.
11147 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11148 Issue an UNSUPPORTED result instead.
11149
11150 2004-06-18 Jim Blandy <jimb@redhat.com>
11151
11152 * gdb.base/charset.exp: Only send a control-C if we see a new
11153 prompt and incomplete command.
11154
11155 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11156
11157 * gdb.cp/pr-574.cc: Add copyright notice.
11158
11159 2004-06-17 Jim Blandy <jimb@redhat.com>
11160
11161 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11162 cases where the regexp has no groups; this grabs random text from
11163 the previous test suite, whatever that was.
11164
11165 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11166
11167 * gdb.cp/printmethod.cc: Add copyright notice.
11168
11169 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11170
11171 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11172
11173 2004-06-16 Andrew Cagney <cagney@gnu.org>
11174
11175 * gdb.base/signull.c: Update copyright. Include <string.h>.
11176 (bowler): Replace data_pointer with data_read
11177 and data_write cases. Add code_descriptor case.
11178 (zero, desc): New array and pointer.
11179 (data, code): Change to simple pointers.
11180 * gdb.base/signull.exp: Fix probe pattern matching a function
11181 descriptor SIGSEGV. Replace data_pointer with data_read and
11182 data_write tests.
11183
11184 2004-06-16 Andrew Cagney <cagney@gnu.org>
11185
11186 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11187
11188 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11189
11190 * gdb.base/long_long.c: Add copyright notice.
11191
11192 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11193
11194 * gdb.base/long_long.exp: Remove reference to
11195 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11196 to gdb_breakpoint and gdb_continue_to_breakpoint.
11197
11198 2004-06-14 Jim Blandy <jimb@redhat.com>
11199
11200 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11201 endian case.
11202
11203 2004-06-14 Andrew Cagney <cagney@gnu.org>
11204
11205 * gdb.base/gcore.exp (capture_command_output): Delete the always
11206 passing tests containing inferior values.
11207 * gdb.base/ending-run.exp: Do not include the breakpoint address
11208 in the test message. Update copyright.
11209 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11210 size in the test name, use gdb_test_multiple. Update copyright.
11211
11212 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11213
11214 * gdb.cp/ref-types.cc: Add copyright notice.
11215
11216 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11217
11218 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11219 hp_aCC_compiler.
11220 * lib/compiler.cc: Likewise.
11221 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11222 'set' commands. Log diagnostics for other lines. Set
11223 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11224
11225 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11226
11227 * gdb.cp/try_catch.cc: Add copyright notice.
11228
11229 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11230
11231 * gdb.cp/userdef.cc: Add copyright notice.
11232
11233 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11234
11235 * gdb.cp/virtfunc.cc: Add copyright notice.
11236
11237 2004-06-11 Randolph Chung <tausq@debian.org>
11238
11239 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11240 problem.
11241
11242 2004-06-10 Andrew Cagney <cagney@gnu.org>
11243
11244 * lib/compiler.cc, lib/compiler.c: Append either
11245 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11246 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11247 instead of gcc-3-3.
11248
11249 2004-06-09 Andrew Cagney <cagney@gnu.org>
11250
11251 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11252 gdb/1455, bug is specific to "long long" and "double".
11253
11254 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11255 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11256 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11257 fixed.
11258
11259 2004-06-09 Andrew Cagney <cagney@gnu.org>
11260
11261 * gdb.base/structs.exp (test_struct_returns): Replace
11262 "return_value_unknown" and "finish_value_unknown" by
11263 "return_value_known" and "finish_value_known". Instead of
11264 "return_value_unknown" iff "finish_value_unknown", check
11265 "return_value_known" implies "finish_value_known".
11266
11267 2004-06-08 Martin Hunt <hunt@redhat.com>
11268
11269 * gdb.base/float.exp: Add pattern for mips targets.
11270
11271 2004-06-08 Randolph Chung <tausq@debian.org>
11272
11273 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11274 message for unknown architectures more clear.
11275
11276 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11277
11278 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11279 start the execution of the program.
11280
11281 2004-06-07 Jim Blandy <jimb@redhat.com>
11282
11283 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11284 * gdb.arch/i386-cpuid.h: New helper file.
11285
11286 2004-06-07 Randolph Chung <tausq@debian.org>
11287
11288 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11289 has started.
11290
11291 2004-06-04 Roland McGrath <roland@redhat.com>
11292
11293 Fix PR gdb/1647.
11294 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11295 differently to be robust to output buffering differences.
11296
11297 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11298
11299 * gdb.threads/pthreads.exp: Update copyright years.
11300 (check_control_c): Change asynchronous 'after' to synchronous.
11301
11302 2004-06-04 Roland McGrath <roland@redhat.com>
11303
11304 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11305 next gdb prompt.
11306
11307 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11308
11309 Fix PR gdb/1636.
11310 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11311 calls to synchronous.
11312
11313 2004-05-26 Jim Blandy <jimb@redhat.com>
11314
11315 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11316
11317 2004-05-24 Randolph Chung <tausq@debian.org>
11318
11319 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11320 * gdb.asm/pa.inc: New file.
11321
11322 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11323
11324 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11325
11326 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11327 Daniel Jacobowitz <drow@mvista.com>
11328
11329 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11330 GDB prompt.
11331
11332 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11333
11334 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11335 setjmp/longjmp. Use sigaction instead of signal.
11336
11337 2004-05-19 J. Brobecker <brobecker@gnat.com>
11338 Michael Snyder <msnyder@redhat.com>
11339
11340 * gdb.threads/pthread_cond_wait.c: New file.
11341 * gdb.threads/pthread_cond_wait.exp: New testcase.
11342
11343 2004-05-13 Andrew Cagney <cagney@redhat.com>
11344
11345 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11346 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11347
11348 2004-05-11 Andrew Cagney <cagney@redhat.com>
11349
11350 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11351 fixed but revealed gdb/1639.
11352
11353 2004-05-10 Andrew Cagney <cagney@redhat.com>
11354
11355 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11356 func1" and "next to 2nd alarm", kernel bug avoided.
11357
11358 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11359
11360 PR external/1568
11361 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11362 XFAIL if it is smaller than bytes_allocated.
11363 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11364 (main): Make chunks_allocated unsigned. Correct comment.
11365
11366 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11367
11368 * gdb.arch/powerpc-aix-prologue.c: New file.
11369 * gdb.arch/powerpc-aix-prologue.exp: New file.
11370
11371 2004-05-07 Jim Blandy <jimb@redhat.com>
11372
11373 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11374 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11375
11376 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11377
11378 * gdb.base/sep.exp: No longer setup_kfail when the program was
11379 built with dwarf2.
11380
11381 2004-05-05 Jim Ingham <jingham@apple.com>
11382
11383 * gdb.base/pending.exp: Make sure pending breakpoints
11384 preserve the ignore count.
11385
11386 2004-04-27 Jerome Guitton <guitton@gnat.com>
11387
11388 * i386-prologue.exp: Add testcase for jump instruction as first
11389 instruction of the real code.
11390 * i386-prologue.c (jump_at_beginning): New function.
11391
11392 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11393
11394 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11395 x86_64-*-*.
11396
11397 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11398
11399 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11400 i*86-*-*.
11401
11402 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11403
11404 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11405 expression that checks the return type.
11406
11407 2004-04-23 Andrew Cagney <cagney@redhat.com>
11408
11409 * gdb.base/call-sc.exp: New test of scalar call/return values.
11410 * gdb.base/call-sc.c: Ditto.
11411
11412 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11413
11414 * gdb.threads/manythreads.c: Reduce thread stack size.
11415
11416 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11417
11418 * gdb.threads/manythreads.c: Add copyright notice.
11419
11420 2004-04-23 Andrew Cagney <cagney@redhat.com>
11421
11422 * gdb.base/siginfo.exp: Better handle step out of signal.
11423 * gdb.base/sigstep.exp: Ditto.
11424
11425 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11426 Daniel Jacobowitz <drow@mvista.com>
11427
11428 * gdb.threads/manythreads.c: New testcase.
11429 * gdb.threads/manythreads.exp: Ditto.
11430
11431 2004-04-22 Jim Blandy <jimb@redhat.com>
11432
11433 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11434 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11435
11436 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11437
11438 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11439
11440 2004-04-21 Andrew Cagney <cagney@redhat.com>
11441
11442 * gdb.base/sigstep.c: New file.
11443 * gdb.base/sigstep.exp: New file.
11444
11445 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11446
11447 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11448 call to observer_notify_normal_stop.
11449
11450 2004-04-15 Andrew Cagney <cagney@redhat.com>
11451
11452 * gdb.base/siginfo.c: New file.
11453 * gdb.base/siginfo.exp: New file.
11454
11455 2004-04-12 J. Brobecker <brobecker@gnat.com>
11456
11457 * gdb.base/sep.exp: Fix typo in comment.
11458
11459 2004-04-12 J. Brobecker <brobecker@gnat.com>
11460
11461 * gdb.base/sep.c: New file.
11462 * gdb.base/sep-proc.c: New file.
11463 * gdb.base/sep.exp: New testcase.
11464
11465 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11466
11467 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11468 support.
11469
11470 2004-04-05 Andrew Cagney <cagney@redhat.com>
11471
11472 * gdb.base/sigaltstack.c: New file.
11473 * gdb.base/sigaltstack.exp: New file.
11474
11475 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11476
11477 * gdb.base/foll-fork.exp: Update the expected output for
11478 "help set follow-fork-mode", to match a change that was made
11479 to the help of this variable on 2004-01-13.
11480
11481 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11482
11483 * lib/ada.exp: Add copyright notice.
11484 * bar.ads: Likewise.
11485 * bar.adb: Likewise.
11486 * null_record.adb: Likewise.
11487 * null_record.exp: Likewise.
11488 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11489
11490 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11491
11492 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11493 * configure: Regenerate.
11494
11495 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11496
11497 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11498 to build the application. Remove the message printed when in
11499 verbose mode, redundant with the UNSUPPORTED message above.
11500
11501 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11502
11503 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11504 * gdb.ada (null_record.exp): New testcase.
11505
11506 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11507
11508 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11509
11510 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11511
11512 * gdb.ada: New subdirectory.
11513 * gdb.ada/Makefile.in: New file.
11514 * gdb.ada/gnat_ada.gpr.in: New file.
11515
11516 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11517
11518 * lib/ada.exp: New file.
11519
11520 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11521
11522 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11523 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11524
11525 2004-03-22 Andrew Cagney <cagney@redhat.com>
11526
11527 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11528 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11529 Problem identified by Ulrich Weigand.
11530
11531 2004-03-17 David Carlton <carlton@kealia.com>
11532
11533 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11534 PR c++/826.
11535
11536 2004-03-16 Roland McGrath <roland@redhat.com>
11537
11538 * gdb.base/auxv.exp: New file.
11539 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11540
11541 2004-03-12 David Carlton <carlton@kealia.com>
11542
11543 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11544 * gdb.cp/pr-1553.cc: Ditto.
11545 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11546 pass branch.
11547
11548 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11549
11550 * gdb.cp/templates.exp: Accept more template types.
11551
11552 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11553
11554 From Corinna Vinschen with modifications.
11555 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11556 local variable obj_with_enum.
11557 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11558 results with obj_with_enum.
11559
11560 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11561
11562 * gdb.cp/classes.cc: New file, copied from misc.cc.
11563 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11564
11565 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11566
11567 * gdb.cp/misc.cc: Add copyright notice.
11568
11569 2004-03-05 David Carlton <carlton@kealia.com>
11570
11571 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11572 * gdb.cp/rtti.h: Update copyright.
11573 (namespace n2::n3): New.
11574 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11575 (n2::n3::func3): New.
11576 (main): Call n2::n3::func3.
11577 * gdb.cp/rtti2.cc: Update copyright.
11578 (n2::create3): New.
11579
11580 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11581
11582 * gdb.asm/openbsd.inc: Fix typo.
11583
11584 2004-03-03 Fred Fish <fnf@redhat.com>
11585
11586 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11587 "val" instead of unused "size". Update copyright year.
11588
11589 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11590
11591 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11592 to use unsigned char.
11593 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11594 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11595
11596 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11597
11598 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11599 line of output.
11600
11601 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11602
11603 * gdb.base/relocate.c (dummy): Initialize.
11604
11605 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11606
11607 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11608 a breakpoint at exit.
11609
11610 2004-02-27 Fred Fish <fnf@redhat.com>
11611
11612 * gdb.base/chng-syms.exp: Add expect condition to match failing
11613 case that isn't a timeout.
11614
11615 2004-02-27 Andrew Cagney <cagney@redhat.com>
11616
11617 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11618 support.
11619
11620 2004-02-26 Fred Fish <fnf@redhat.com>
11621
11622 * gdb.arch/gdb1431.c: Remove.
11623 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11624 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11625 of "until" incorrectly.
11626
11627 2004-02-26 J. Brobecker <brobecker@gnat.com>
11628
11629 * gdb.cp/class2.cc (empty): New class.
11630 (refer): New function.
11631 (main): Declare an object of type empty and use it.
11632 * gdb.cp/class2.exp: Print the value of an object of type empty.
11633
11634 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11635
11636 * gdb.base/langs.exp: Update query string to match the
11637 new nquery format used for pending breakpoints.
11638
11639 2004-02-26 Andrew Cagney <cagney@redhat.com>
11640
11641 Fix PR i18n/1570.
11642 * gdb.base/charset.c: Update copyright notice.
11643 (main, init_string): Remove the escape character '\e' tests.
11644 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11645 * gdb.base/charset.exp (valid_host_charset): Ditto.
11646 * gdb.base/setvar.exp: Ditto.
11647
11648 2004-02-24 Andrew Cagney <cagney@redhat.com>
11649
11650 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11651 mmapped data in core file" PASS and FAIL messages consistent.
11652
11653 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11654 setting a breakpoint. Work around PR java/1565.
11655
11656 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11657
11658 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11659 new nquery format.
11660 * gdb.base/pending.exp: Ditto.
11661
11662 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11663
11664 * configure.in: Run stabs tests on *BSD.
11665 * configure: Regenerated.
11666
11667 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11668
11669 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11670
11671 2004-02-20 Fred Fish <fnf@redhat.com>
11672
11673 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11674 blank in test for "returns short", for consistency with other
11675 "returns xxx" tests. Update copyright year.
11676
11677 2004-02-19 Fred Fish <fnf@redhat.com>
11678
11679 New testcase for PR breakpoint/1558.
11680 * gdb.arch/gdb1558.exp: New file.
11681 * gdb.arch/gdb1558.c: New file.
11682
11683 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11684
11685 * gdb.base/nodebug.exp: Fix typo.
11686
11687 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11688
11689 Committed by Jim Blandy <jimb@redhat.com>.
11690
11691 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11692
11693 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11694
11695 * gdb.base/float.exp: Support s390*-*-* targets.
11696
11697 2004-02-17 Adam Fedor <fedor@gnu.org>
11698
11699 * gdb.base/gdb1555.exp: New file.
11700 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11701
11702 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11703
11704 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11705
11706 2004-02-16 Fred Fish <fnf@redhat.com>
11707
11708 * gdb.arch/gdb1291.c: Remove
11709 * gdb.arch/gdb1291.s: New test input file.
11710 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11711 fail. Test for correct result, known incorrect result, other
11712 failures and timeouts.
11713
11714 2004-02-16 Andrew Cagney <cagney@redhat.com>
11715
11716 * gdb.base/bigcore.exp: New file.
11717 * gdb.base/bigcore.c: New file.
11718
11719 2004-02-13 Andrew Cagney <cagney@redhat.com>
11720
11721 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11722 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11723 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11724 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11725 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11726 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11727 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11728 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11729 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11730 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11731
11732 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11733
11734 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11735 executed is an alloc instruction.
11736
11737 2004-02-11 David Carlton <carlton@kealia.com>
11738
11739 * gdb.cp/breakpoint.exp: New.
11740 * gdb.cp/breakpoint.cc: New.
11741
11742 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11743
11744 Partial fix for PR gdb/1543.
11745 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11746 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11747 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11748 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11749 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11750 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11751 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11752 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11753 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11754 to bug-gdb@prep.ai.mit.edu .
11755 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11756 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11757 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11758 Likewise.
11759
11760 2004-02-10 Andrew Cagney <cagney@redhat.com>
11761
11762 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11763 using gdb_internal_error_resync.
11764
11765 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11766
11767 * gdb.threads/thread-specific.exp: Stop early if no threads are
11768 found.
11769
11770 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11771
11772 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11773
11774 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11775
11776 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11777 breakpoints.
11778
11779 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11780
11781 * config/sim.exp (gdb_load): Handle $arg == "".
11782 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11783 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11784
11785 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11786
11787 * gdb.base/maint.exp: Update test to reflect
11788 obstack changes.
11789
11790 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11791
11792 * gdb.base/pendshr.c (pendfunc): New function that calls
11793 pendfunc1.
11794 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11795
11796 2004-02-04 Fred Fish <fnf@redhat.com>
11797
11798 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11799 function symbols and update copyright years.
11800 * gdb.arch/gdb1291.c: Ditto.
11801
11802 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11803
11804 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11805
11806 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11807
11808 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11809
11810 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11811
11812 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11813
11814 2004-02-02 Fred Fish <fnf@redhat.com>
11815
11816 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11817 remote targets. Update copyright years.
11818
11819 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11820
11821 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11822 support.
11823 * gdb.base/langs.exp: Fix test which attempts to create
11824 breakpoint on non-existent function to handle new pending
11825 support.
11826 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11827 a breakpoint.
11828 * gdb.base/pending.exp: New test.
11829 * gdb.base/pending.c: New file.
11830 * gdb.base/pendshr.c: Ditto.
11831
11832 2004-02-02 David Carlton <carlton@kealia.com>
11833
11834 * gdb.cp/overload.exp: Add overloadNamespace tests.
11835 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11836 (overloadNamespace, XXX): New.
11837 (main): Call XXX::marker2.
11838
11839 2004-02-01 Fred Fish <fnf@redhat.com>
11840
11841 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11842 * gdb.base/finish.exp: Ditto.
11843 * gdb.base/gcore.exp: Ditto.
11844 * gdb.base/huge.exp: Ditto.
11845 * gdb.base/info-proc.exp: Ditto.
11846 * gdb.base/return2.exp: Ditto.
11847 * gdb.threads/gcore-thread.exp: Ditto.
11848
11849 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11850
11851 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11852
11853 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11854
11855 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11856 that opening the file succeeds on OpenBSD.
11857
11858 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11859
11860 * gdb.threads/thread-specific.c: New file.
11861 * gdb.threads/threads-specific.exp: New test script.
11862 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11863 to expect_out.
11864
11865 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11866
11867 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11868 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11869 only on the "print_small_structs from print_long_arg_list" test.
11870
11871 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11872
11873 * gdb.base/completion.exp: Kill a stray backslash.
11874
11875 From Jim Ingham <jingham@apple.com>:
11876 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11877 agrees with the result from sending a tab.
11878
11879 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
11880
11881 * gdb.base/chng-syms.exp: Remove stray newline.
11882
11883 2004-01-31 Mark Kettenis <kettenis@gnu.org>
11884
11885 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11886 *-*-openbsd*.
11887 * gdb.asm/openbsd.inc: New file.
11888
11889 2004-01-30 Mark Kettenis <kettenis@gnu.org>
11890
11891 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11892 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11893 *-*solaris2*. Remove commented out default settings for
11894 asm-flags. Replace gdb_compile with target_link.
11895
11896 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11897
11898 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11899 for all tests. Remove old hp-ux and cygnus xfail cases.
11900
11901 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11902
11903 * gdb.base/chng-syms.exp: New file.
11904 * gdb.base/chng-syms.c: New file.
11905
11906 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11907
11908 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11909 Provide arms for current output in all my configurations.
11910
11911 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11912
11913 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11914 * lib/compiler.cc: Likewise.
11915 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11916 get the right preprocessor. Eval the output directly. Remove
11917 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11918 hp_f77_compiler and hp_f90_compiler completely.
11919 (gdb_preprocess): Delete.
11920 (get_compiler): Delete.
11921
11922 2004-01-24 Mark Kettenis <kettenis@gnu.org>
11923
11924 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11925 <string.h>.
11926
11927 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
11928
11929 * gdb.mi/mi-stack.exp: Update copyright.
11930
11931 2004-01-23 David Carlton <carlton@kealia.com>
11932
11933 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11934 test for cp_lookup_transparent_type.
11935 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
11936 call them.
11937
11938 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
11939
11940 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11941 after -var-update.
11942
11943 2004-01-23 David Carlton <carlton@kealia.com>
11944
11945 * gdb.cp/namespace.cc (C::ensureRefs): New.
11946 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
11947
11948 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
11949
11950 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
11951 case "-stack-list-locals 2".
11952 * gdb.mi/mi-var-child.exp: Test for case
11953 "-var-list-children --all-values NAME".
11954
11955 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
11956
11957 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
11958
11959 2004-01-18 Mark Kettenis <kettenis@gnu.org>
11960
11961 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
11962 used with gdb_test_multiple.
11963
11964 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
11965 read at address 0. This fixes PR testsuite/1504.
11966
11967 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
11968
11969 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
11970 Remove downloading, guessing the host executable, the calls to
11971 gdb_file_cmd and gdb_target_cmd, and "load" support.
11972 (infer_host_exec): New function broken out from gdb_load.
11973 (gdb_load): New wrapper for gdbserver_gdb_load.
11974 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
11975 gdb_target_cmd. Use -target-select.
11976 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
11977 Download binaries to the host. Clear last_mi_remote_file when
11978 we load a new binary.
11979 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
11980 call gdbserver_gdb_load and mi_gdb_target_cmd.
11981
11982 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11983
11984 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
11985 type patterns.
11986
11987 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11988
11989 * gdb.cp/templates.exp: Fix typo in test name of
11990 "print Foo<volatile char*>::foo".
11991
11992 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11993
11994 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
11995
11996 2004-01-16 Ben Elliston <bje@wasabisystems.com>
11997
11998 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
11999 (clean mostlyclean): Remove empty rm.
12000
12001 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12002
12003 * gdb.base/setvar.exp: Add copyright years.
12004
12005 2004-01-14 David Carlton <carlton@bactrian.org>
12006
12007 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12008 PR c++/1511 and update coment.
12009 * gdb.cp/templates.exp: Update patterns to match current output.
12010 If changes involve something other than whitespace, KFAIL
12011 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12012
12013 2004-01-14 David Carlton <carlton@kealia.com>
12014
12015 * gdb.cp/namespace.exp: Add tests involving classes defined within
12016 namespaces.
12017 * gdb.cp/namespace.cc (C::CClass): New.
12018 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12019
12020 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12021
12022 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12023 what debug info we have. Print a better message if something goes
12024 wrong while producing the separate debug info file.
12025
12026 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12027
12028 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12029
12030 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12031
12032 * gdb.base/callfuncs.c: Add copyright notice.
12033
12034 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12035
12036 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12037 inheritance. PR gdb/1498, PR gcc/13539.
12038
12039 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12040
12041 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12042 test specific name.
12043 * gdb.mi/gdb669.exp: Ditto.
12044 * gdb.mi/mi-pthreads.exp: Ditto.
12045 * gdb.mi/mi1-pthreads.exp: Ditto.
12046 * gdb.mi/mi2-pthreads.exp: Ditto.
12047
12048 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12049
12050 * gdb.cp/member-ptr.cc: Add copyright notice.
12051
12052 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12053
12054 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12055 some patterns for recent versions of gcc and hpacc. Delete
12056 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12057 Delete tests that access a NULL pointer-to-member-data. This
12058 script is still disabled for gcc.
12059
12060 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12061
12062 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12063 escaped correctly.
12064
12065 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12066
12067 * gdb.base/sepdebug.exp: New file.
12068 * gdb.base/sepdebug.c: New file.
12069 * lib/gdb.exp (separate_debug_filename): New procedure.
12070 (gdb_gnu_strip_debug): New procedure.
12071
12072 2004-01-12 Andrew Cagney <cagney@redhat.com>
12073
12074 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12075 * gdb.mi/ChangeLog-1999-2003: New file.
12076
12077 2004-01-12 Andrew Cagney <cagney@redhat.com>
12078
12079 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12080 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12081 or EEXIST", treat EBUSY as an XFAIL.
12082
12083 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12084
12085 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12086 hp_cc_compiler.
12087
12088 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12089
12090 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12091 decorations.
12092
12093 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12094
12095 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12096 and "(aCC)" decorations. Remove obsolete doco about old
12097 test results.
12098
12099 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12100
12101 * gdb.cp/exception.exp: Fix typo in doco.
12102
12103 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12104
12105 * gdb.base/gdb1476.exp: Fix typo.
12106
12107 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12108
12109 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12110 file.
12111
12112 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12113
12114 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12115 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12116 Use gdb_compile. Remove restriction on gcc. Add some patterns
12117 for recent version of gdb. Delete second half, which was a copy
12118 of the first half with different build flags. This test is
12119 still disabled because it is still not ready for production.
12120
12121 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12122
12123 * gdb.cp/exception.cc: Add copyright notice.
12124 * gdb.cp/exception.exp: Add a notice that this file is broken
12125 because of line number changes caused by addition of copyright
12126 notice.
12127
12128 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12129
12130 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12131 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12132
12133 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12134
12135 * gdb.cp/classes.exp: Accept gnu abi 2.
12136 * gdb.cp/derivation.exp: Likewise.
12137 * gdb.cp/overload.exp: Likewise.
12138 * gdb.cp/virtfunc.exp: Likewise.
12139
12140 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12141
12142 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12143 semicolon after end of function.
12144
12145 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12146
12147 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12148 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12149 boilerplate code for compiling and running the program under
12150 test. Add some string method tests.
12151
12152 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12153
12154 * gdb.cp/bs15503.cc: Add copyright notice.
12155 * gdb.cp/bs15503.exp: Adjust line number.
12156
12157 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12158
12159 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12160 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12161
12162 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12163
12164 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12165 hp_cc_compiler.
12166
12167 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12168
12169 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12170 * gdb.cp/ctti.exp: Use the marker instead of "next".
12171 With gcc, run further before bailing.
12172
12173 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12174
12175 * gdb.cp/cttiadd.cc: Add copyright notice.
12176 * gdb.cp/cttiadd1.cc: Likewise.
12177 * gdb.cp/cttiadd2.cc: Likewise.
12178 * gdb.cp/cttiadd3.cc: Likewise.
12179
12180 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12181
12182 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12183 Use gdb_test, gdb_test_multiple. Use floating-point values that
12184 have exact representations in IEEE-ish formats.
12185
12186 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12187
12188 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12189 compilers. Delete duplicate call to get_compiler_info.
12190 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12191 * gdb.base/volatile.exp: Likewise.
12192
12193 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12194
12195 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12196 memory at address 0.
12197
12198 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12199
12200 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12201 to test for hp-ux assembler. Fix copyright years.
12202
12203 2004-01-07 Andrew Cagney <cagney@redhat.com>
12204
12205 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12206
12207 2004-01-07 Andrew Cagney <cagney@redhat.com>
12208
12209 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12210 when creating the read-only file. From analysis by Roland McGrath
12211 and Elena Zannoni.
12212
12213 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12214
12215 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12216
12217 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12218
12219 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12220 data pointers.
12221
12222 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.cp/m-static.exp: Compile one source file at a time.
12225 Delete unused call to get_compiler_info.
12226
12227 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12228
12229 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12230 * gdb.base/call-rt-st.exp: Likewise.
12231 * gdb.base/nodebug.exp: Likewise.
12232 * gdb.base/volatile.exp: Likewise.
12233 * gdb.cp/ref-types.exp: Likewise.
12234 * gdb.cp/templates.exp: Likewise.
12235
12236 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12237
12238 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12239
12240 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12241
12242 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12243 hppa*-hp-hpux*.
12244
12245 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12246
12247 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12248 x86_64-*-*.
12249
12250 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12251 sparc64-*-* and sparc*-solaris2*.
12252
12253 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12254
12255 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12256 return ${tests}" test. The ${tests} already mentions the
12257 filename.
12258
12259 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12260
12261 * gdb.cp/local.exp: Accept gcc abi 2.
12262
12263 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12264
12265 * gdb.cp/templates.exp: Accept gcc abi 2.
12266
12267 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12268
12269 * lib/compiler.cc: Remove supports_template_debugging.
12270 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12271
12272 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12273
12274 * gdb.cp/namespace.exp: Accept gcc abi 2.
12275
12276 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12277
12278 * gdb.cp/method.exp: Accept gcc abi 2.
12279
12280 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12281
12282 * gdb.cp/classes.exp: Generate identical results as old version.
12283 * gdb.cp/derivation.exp: Likewise.
12284 * gdb.cp/overload.exp: Likewise.
12285 * gdb.cp/virtfunc.exp: Likewise.
12286
12287 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12288
12289 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12290 mysterious bug with sourceware version of expect.
12291
12292 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12293
12294 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12295 current versions of gcc, including gcc abi 2. Remove gratuitous
12296 restart of test program. Use gdb_test_multiple and gdb_test for
12297 all tests. Add patterns to xfail missing "const" in "const char *"
12298 and kfail PR gdb/1155.
12299
12300 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12301
12302 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12303 current versions of gcc, including gcc abi 2. Remove gratuitous
12304 restart of test program. Use gdb_test_multiple and gdb_test for
12305 all tests. Add patterns to kfail PR gdb/1498.
12306
12307 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12308
12309 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12310 current versions of gcc, including gcc abi 2. Use "breakpoint"
12311 and "continue" instead of restarting the target program. Use
12312 gdb_test_multiple and gdb_test for all tests.
12313
12314 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12315
12316 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12317 for *-*-solaris2*.
12318
12319 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12320
12321 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12322 current versions of gcc, including gcc abi 2. Use "breakpoint"
12323 and "continue" instead of restarting the target program several
12324 times. Use gdb_test_multiple and gdb_test for all tests.
12325
12326 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12327
12328 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12329 source files.
12330
12331 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12332
12333 * gdb.base/environ.exp: Handle compiling test case from multiple
12334 source files.
12335
12336 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12337
12338 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12339
12340 2003-12-17 Jim Blandy <jimb@redhat.com>
12341
12342 * gdb.base/freebpcmd.c: Add copyright notice.
12343
12344 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12345
12346 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12347
12348 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12349
12350 2003-12-13 Jim Blandy <jimb@redhat.com>
12351
12352 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12353
12354 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12355
12356 * gdb.asm/frv.inc: New file.
12357 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12358
12359 2003-12-09 Fred Fish <fnf@redhat.com>
12360
12361 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12362 functions to break1.c and leave prototypes behind. Add more
12363 "set breakpoint NN here" comments.
12364 * gdb.base/break1.c: New file.
12365
12366 * gdb.base/break.exp: Handle compiling test case from multiple
12367 source files and change source file references as needed.
12368 * gdb.base/completion.exp: Ditto.
12369 * gdb.base/condbreak.exp: Ditto.
12370 * gdb.base/define.exp: Ditto.
12371 * gdb.base/ena-dis-br.exp: Ditto.
12372 * gdb.base/info-proc.exp: Ditto.
12373 * gdb.base/maint.exp: Ditto.
12374 * gdb.base/until.exp: Ditto.
12375
12376 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12377 hardcoded line numbers.
12378 * gdb.base/define.exp: Ditto.
12379 * gdb.base/ena-dis-br.exp: Ditto.
12380 * gdb.base/maint.exp: Ditto.
12381 * gdb.base/until.exp: Ditto.
12382
12383 * gdb.base/completion.exp: Use "break1" for completion tests since
12384 "break" is no longer a unique prefix.
12385
12386 2003-12-06 Andrew Cagney <cagney@redhat.com>
12387
12388 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12389 "return_value_unimplemented". When an unimplemented struct return
12390 architecture, report incorrect values as a KFAIL
12391
12392 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12393
12394 * gdb.cp/rtti.exp: Accept new wording of warning from
12395 cp_lookup_rtti_type.
12396
12397 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12398
12399 Partial fix for PR testsuite/1456.
12400 * gdb.base/scope.exp (test_at_main): Replace references to
12401 gcc_compiled with calls to test_compiler_info.
12402 (test_at_foo): Likewise.
12403 (test_at_bar): Likewise.
12404
12405 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12406
12407 Partial fix for PR testsuite/1456.
12408 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12409 to test_compiler_info.
12410
12411 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12412
12413 * gdb.base/so-impl-ld.exp: Update copyright notice.
12414
12415 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12416
12417 Partial fix for PR testsuite/1456.
12418 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12419 to test_compiler_info.
12420
12421 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12422
12423 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12424 from current versions of gdb. Clean up regular expressions.
12425 Delete redundant timeout case.
12426
12427 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12428
12429 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12430 from current versions of gdb. Clean up regular expressions.
12431 Delete redundant timeout case.
12432
12433 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12434
12435 Partial fix for PR testsuite/1456.
12436 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12437 gcc_compiled with call to test_compiler_info.
12438
12439 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12440
12441 Partial fix for PR testsuite/1456.
12442 * gdb.base/list.exp (test_list_function): Delete unused declaration
12443 of gcc_compiled.
12444
12445 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12446
12447 Partial fix for PR testsuite/1456.
12448 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12449 call to test_compiler_info.
12450
12451 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12452
12453 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12454 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12455 it to create the appropriate note.inc.
12456 * gdb.asm/asmsrc1.s: Include "note.inc".
12457 * gdb.asm/netbsd.inc: New file.
12458 * gdb.asm/empty.inc: New file.
12459
12460 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12461
12462 Partial fix for PR testsuite/1456.
12463 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12464 calls to test_compiler_info.
12465
12466 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12467
12468 Partial fix for PR testsuite/1456.
12469 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12470 calls to test_compiler_info.
12471
12472 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12473
12474 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12475 pattern for the KFAILs.
12476
12477 2003-11-25 Adam Fedor <fedor@gnu.org>
12478
12479 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12480 * gdb.objc/objcdecode.m: New file.
12481
12482 2003-11-25 Adam Fedor <fedor@gnu.org>
12483
12484 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12485 * gdb.objc/nondebug.m: New file.
12486
12487 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12488
12489 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12490 NetBSD as it does on FreeBSD. Modelled on a similar change by
12491 Mark Kettenis on 2003-05-30.
12492 (link-flags): Set to "--entry _start" regardless of target.
12493 Special linker flags are to be appended to $link-flags.
12494 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12495
12496 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12497
12498 * gdb.cp/method.exp: Accept output of new demangler.
12499
12500 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12501
12502 * gdb/class2.exp: New file.
12503 * gdb/class2.cc: New file.
12504
12505 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12506
12507 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12508 of new demangler.
12509
12510 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12511
12512 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12513 of gdb_test "run".
12514
12515 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12516
12517 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12518 "continue" into "run".
12519
12520 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12521
12522 Partial fix for PR testsuite/1456.
12523 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12524 call to test_compiler_info.
12525 * gdb.cp/ctti.exp: Likewise.
12526 * gdb.cp/derivation.exp: Likewise.
12527 * gdb.cp/member-ptr.exp: Likewise.
12528 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12529 reference to gcc_compiled.
12530
12531 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 Fix PR testsuite/1463.
12534 * gdb.base/structs.exp (start_structs_test): Call
12535 get_debug_format before using the debug format.
12536
12537 2003-11-22 Andrew Cagney <cagney@redhat.com>
12538
12539 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12540 * gdb.base/structs.exp: Use gdb_test_multiple.
12541
12542 2003-11-20 Andrew Cagney <cagney@redhat.com>
12543
12544 * gdb.base/structs.exp: Handle and recover from internal errors.
12545 Replace "foo${n}" with "foo<n>" in test messages.
12546
12547 * gdb.base/structs.exp: Update copyright. Rewrite.
12548 * gdb.base/structs.c: Update copyright. Rewrite.
12549
12550 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12551 resync count exceeded.
12552
12553 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12554 from the internal error.
12555 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12556 Original from Jim Blandy.
12557 (gdb_test_multiple): Use gdb_internal_error_resync.
12558
12559 2003-11-19 Andrew Cagney <cagney@redhat.com>
12560
12561 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12562 KFAIL.
12563
12564 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12565
12566 New testcase for PR backtrace/1435.
12567 * gdb.arch/i386-unwind.exp: New file.
12568 * gdb.arch/i386-unwind.c: New file.
12569
12570 2003-11-17 Andrew Cagney <cagney@redhat.com>
12571
12572 * lib/gdb.exp (compiler_info): New global.
12573 (test_compiler_info): New function.
12574 (get_compiler_info): Set compiler_info.
12575 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12576 "compiler_info" to gcc-<major>-<minor>.
12577
12578 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12579
12580 * gdb.trace/configure: Remove.
12581
12582 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12583
12584 * gdb.base/break.c: Add comments to aid finding line numbers for
12585 breakpoints.
12586 * gdb.base/break.exp: Remove all references to explicit line
12587 numbers.
12588
12589 2003-11-11 Nick Clifton <nickc@redhat.com>
12590
12591 * gdb.base/shreloc.exp: Do not run for targets which do not
12592 support shared objects.
12593
12594 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12595
12596 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12597 Don't run tests if nofileio flag is given.
12598
12599 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12600
12601 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12602 as well as 'Watchpoint'.
12603
12604 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12605
12606 Reported by Jim Ingham <jingham@apple.com>:
12607 * gdb.base/annota1.exp: Match at least one occurrence of the
12608 signal handler annotation.
12609
12610 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12611
12612 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12613 as well as 'Watchpoint'.
12614
12615 2003-11-05 Michael Chastain <mec@shout.net>
12616
12617 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12618
12619 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12620
12621 * gdb.arch/gdb1291.c: New test file.
12622 * gdb.arch/gdb1291.exp: New test script.
12623 * gdb.arch/gdb1431.c: New test file.
12624 * gdb.arch/gdb1431.exp: New test script.
12625
12626 2003-10-22 Michael Chastain <mec@shout.net>
12627
12628 * gdb.mi/pthreads.c: Add copyright notice.
12629
12630 2003-10-22 Michael Chastain <mec@shout.net>
12631
12632 * gdb.threads/pthreads.c: Add copyright notice.
12633
12634 2003-10-20 Michael Chastain <mec@shout.net>
12635
12636 * gdb.base/gdb1056.exp: New test script.
12637
12638 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12639
12640 * gdb.threads/killed.exp: Use gdb_run_cmd.
12641
12642 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12643
12644 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12645 create a core file.
12646 * gdb.threads/gcore-thread.exp: Likewise.
12647
12648 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12649
12650 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12651 type, based on char type.
12652 (struct bit_flags_short_t): New bitfield type, based on short type.
12653 (init_bit_flags_char): New fuction.
12654 (init_bit_flags_short): Ditto.
12655 (print_bit_flags_char): Ditto.
12656 (print_bit_flags_short): Ditto.
12657 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12658
12659 2003-10-11 Michael Chastain <mec@shout.net>
12660
12661 * gdb.base/call-rt-st.exp: Update copyright year.
12662
12663 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12664
12665 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12666 * gdb.disasm/sh3.s: Ditto.
12667
12668 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12669
12670 * gdb.threads/switch-threads.exp: New test.
12671 * gdb.threads/switch-threads.c: New source file.
12672
12673 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12674
12675 * gdb.base/ending-run.exp: Add sh specific case.
12676
12677 2003-10-06 Andrew Cagney <cagney@redhat.com>
12678
12679 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12680 * gdb.disasm/mn10200.exp: Delete obsolete file.
12681
12682 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12683
12684 * ChangeLog: Correct an entry command.exp -> commands.exp.
12685 * gdb.base/commands.exp (bp_deleted_in_command_test)
12686 (temporary_breakpoint_commands): Check noargs.
12687
12688 2003-09-25 David Carlton <carlton@kealia.com>
12689
12690 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12691 of some print tests, where appropriate. Add tests for C::D::cd,
12692 E::ce, F::cXfX, G::XgX.
12693 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12694
12695 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12696
12697 * lib/java.exp (java_init): Import target_alias before using it.
12698
12699 2003-09-25 David Carlton <carlton@kealia.com>
12700
12701 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12702
12703 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12704
12705 * gdb.base/selftest.exp: Accomodate more instruction reordering
12706 weirdness.
12707
12708 2003-09-17 Michael Chastain <mec@shout.net>
12709
12710 * gdb.cp/gdb1355.exp: New file.
12711 * gdb.cp/gdb1355.c: New file.
12712
12713 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12714
12715 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12716 * gdb.asm/sh.inc: New file.
12717
12718 2003-09-11 David Carlton <carlton@kealia.com>
12719
12720 * gdb.cp/namespace.exp: Add tests for namespace types.
12721 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12722 (test_namespace): New.
12723
12724 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12725
12726 * gdb.base/relocate.exp: Handle new gdb output at startup.
12727 * gdb.stabs/weird.exp: Ditto.
12728
12729 2003-09-08 Michael Chastain <mec@shout.net>
12730
12731 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12732
12733 2003-09-07 Michael Chastain <mec@shout.net>
12734
12735 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12736 'parse error'.
12737
12738 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12739
12740 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12741
12742 2003-08-30 Michael Chastain <mec@shout.net>
12743
12744 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12745 * gdb.gdb/observer.exp: Ditto.
12746 * gdb.gdb/xfullpath.exp: Ditto.
12747
12748 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12749
12750 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12751 *-*-*bsd*.
12752
12753 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12754
12755 * gdb.base/dump.exp: Skip for ia64.
12756
12757 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12758
12759 * gdb.asm/asm-source.exp: Add ia64 support.
12760 * gdb.asm/ia64.inc: New file.
12761
12762 2003-08-22 Michael Chastain <mec@shout.net>
12763
12764 * gdb.cp: New directory.
12765 * gdb.cp/*: Copy from gdb.c++/*.
12766 * gdb.c++/*: Remove.
12767 * Makefile.in: Change gdb.c++ to gdb.cp.
12768 * configure.in: Ditto.
12769 * configure: Regnerate.
12770
12771 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12772
12773 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12774 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12775
12776 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12777
12778 * mi-var-display.exp (-var-list-children weird): Accept function
12779 pointers with argument types.
12780 * mi1-var-display.exp (-var-list-children weird): Likewise.
12781 * mi2-var-display.exp (-var-list-children weird): Likewise.
12782
12783 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12784
12785 * gdb.base/annota3.exp: Add missing newline.
12786
12787 2003-08-06 Michael Chastain <mec@shout.net>
12788
12789 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12790
12791 2003-08-12 Michael Snyder <msnyder@redhat.com>
12792
12793 * gdb.base/float.exp: Add test for SH.
12794
12795 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12796
12797 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12798
12799 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12800
12801 * gdb.base/completion.exp: Remove reduntant completion test
12802 on filename.
12803
12804 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12805
12806 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12807 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12808 gdb.trace/save-trace.exp: Make sure that full pathnames are
12809 escaped correctly.
12810
12811 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12812
12813 * configure.in: Don't generate config.h from config.hin.
12814 * configure: Regenerate.
12815 * config.hin: Remove file.
12816 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12817 * gdb.threads/pthreads.c: Ditto.
12818
12819 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
12820
12821 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12822 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12823 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12824 Replace ld24 with seth/add3.
12825
12826 2003-08-02 Andrew Cagney <cagney@redhat.com>
12827
12828 * gdb.base/annota3.exp: New file.
12829 * gdb.base/annota3.c: New file.
12830 * gdb.c++/annota3.exp: New file.
12831 * gdb.c++/annota3.cc: New file.
12832
12833 2003-07-29 Michael Chastain <mec@shout.net>
12834
12835 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12836 actually failed.
12837 (do_pass): Likewise.
12838 * gdb.threads/tls.exp: Always initialize no_of_threads.
12839
12840 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12841
12842 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12843 pattern.
12844 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12845 * gdb.threads/tls.exp: Recognize one case of the host library not
12846 supporting TLS.
12847
12848 2003-07-27 Andrew Cagney <cagney@redhat.com>
12849
12850 * gdb.base/fileio.exp: Use SH when running commands using
12851 remote_exec.
12852
12853 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12854
12855 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12856 * gdb.base/relocate.c (dummy): New padding array.
12857
12858 2003-07-22 Michael Snyder <msnyder@redhat.com>
12859
12860 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
12861
12862 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12863 patterns to be more general, accepting old and new output.
12864 Some output chars (such as '+') also must be quoted.
12865 Some addresses are displayed numerically instead of
12866 symbolically.
12867
12868 2003-07-23 Michael Snyder <msnyder@redhat.com>
12869
12870 * gdb.base/return2.exp: Don't test long-long return.
12871
12872 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12873 * gdb.disasm/t01_mov.exp: Ditto.
12874 * gdb.disasm/t02_mova.s: Ditto.
12875 * gdb.disasm/t02_mova.exp: Ditto.
12876 * gdb.disasm/t03_add.s: Ditto.
12877 * gdb.disasm/t03_add.exp: Ditto.
12878 * gdb.disasm/t04_sub.s: Ditto.
12879 * gdb.disasm/t04_sub.exp: Ditto.
12880 * gdb.disasm/t05_cmp.s: Ditto.
12881 * gdb.disasm/t05_cmp.exp: Ditto.
12882 * gdb.disasm/t06_ari2.s: Ditto.
12883 * gdb.disasm/t06_ari2.exp: Ditto.
12884 * gdb.disasm/t07_ari3.s: Ditto.
12885 * gdb.disasm/t07_ari3.exp: Ditto.
12886 * gdb.disasm/t08_or.s: Ditto.
12887 * gdb.disasm/t08_or.exp: Ditto.
12888 * gdb.disasm/t09_xor.s: Ditto.
12889 * gdb.disasm/t09_xor.exp: Ditto.
12890 * gdb.disasm/t10_and.s: Ditto.
12891 * gdb.disasm/t10_and.exp: Ditto.
12892 * gdb.disasm/t11_logs.s: Ditto.
12893 * gdb.disasm/t11_logs.exp: Ditto.
12894 * gdb.disasm/t12_bit.s: Ditto.
12895 * gdb.disasm/t12_bit.exp: Ditto.
12896 * gdb.disasm/t13_otr.s: Ditto.
12897 * gdb.disasm/t13_otr.exp: Ditto.
12898
12899 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12900
12901 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12902
12903 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12904
12905 * gdb.threads/tls.c : New file.
12906 * gdb.threads/tls.exp : New file.
12907 * gdb.threads/tls-main.c : New file.
12908 * gdb.threads/tls-shared.c : New file.
12909 * gdb.threads/tls-shared.exp : New file.
12910
12911 2003-07-22 Andreas Schwab <schwab@suse.de>
12912
12913 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12914
12915 2003-07-20 Andreas Schwab <schwab@suse.de>
12916
12917 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12918 due to insn reordering.
12919
12920 2003-07-15 Andrew Cagney <cagney@redhat.com>
12921
12922 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12923
12924 2003-07-15 Michael Chastain <mec@shout.net>
12925
12926 * gdb.base/gdb1250.exp: New file.
12927 * gdb.base/gdb1250.c: New file.
12928
12929 2003-07-09 Michal Ludvig <mludvig@suse.cz>
12930
12931 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12932 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12933
12934 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12935
12936 * gdb.threads/tls.c: New file.
12937 * gdb.threads/tls.exp: New file.
12938 * gdb.threads/tls-main.c: New file.
12939 * gdb.threads/tls-shared.c: New file.
12940 * gdb.threads/tls-shared.exp: New file.
12941
12942 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12943
12944 * gdb.base/annota1.exp: Make sure that we properly escape the
12945 full path of the source file. Xfail more permissive patterns,
12946 due to a compiler debug info problem.
12947
12948 2003-07-07 Andreas Schwab <schwab@suse.de>
12949
12950 * gdb.asm/m68k.inc: New file.
12951 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
12952
12953 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
12954 arguments"): Also match negative number.
12955
12956 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
12957
12958 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
12959
12960 * gdb.base/store.c (charest): New typedef.
12961 (add_char): Rename to add_charest, update.
12962 (wack_char): Rename to wack_charest, update types. Return l + r
12963 to keep r live across the call.
12964 (wack_short, wack_int, wack_long, wack_longest, wack_float)
12965 (wack_double, wack_doublest): Return l + r to keep r live across
12966 the call.
12967 * gdb.base/store.exp: Accomodate store.c changes.
12968
12969 2003-06-30 David Carlton <carlton@kealia.com>
12970
12971 * gdb.c++/maint.exp (test_invalid_name): New.
12972 (test_first_component): Add tests for invalid names.
12973
12974 2003-06-29 Michael Chastain <mec@shout.net>
12975
12976 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12977 output of '<VTT for class>' for virtual base classes.
12978
12979 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12980
12981 * gdb.base/completion.exp: Tab-complete "complet" instead of
12982 "compl".
12983 * gdb.base/complex.exp, gdb.base/complex.c: New files.
12984
12985 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12986
12987 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
12988 * gdb.base/volatile.exp: Likewise.
12989
12990 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12991
12992 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
12993 gdb/1265.
12994
12995 2003-06-28 Michael Chastain <mec@shout.net>
12996 Daniel Jacobowitz <drow@mvista.com>
12997
12998 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
12999 initial line count of 'captured_main' from 26 to 32.
13000 (test_with_self): Allow xmalloc call to be interleaved with the
13001 preceding two lines.
13002
13003 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13004
13005 * gdb.base/bang.exp: New testcase.
13006
13007 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13008
13009 * gdb.base/langs.exp: Add some tests for the "minimal" language
13010 support.
13011
13012 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13013
13014 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13015 the testcase.
13016
13017 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13018
13019 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13020 offset.
13021
13022 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13023
13024 * gdb.c++/pr-1210.cc: New file.
13025 * gdb.c++/pr-1210.exp: New file.
13026
13027 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13028
13029 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13030 000-exec-continue.
13031
13032 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13033
13034 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13035 on *-*-*bsd* instead of *-*-freebsd*.
13036
13037 2003-06-14 Andrew Cagney <cagney@redhat.com>
13038
13039 * gdb.base/store.exp: Test longest and doublest. Test all
13040 parameters. Weaken return statement match.
13041 * gdb.base/store.c: Add longest and doublest - aka long long and
13042 long double functions. Put all parameters into local register
13043 variables. Use negative values.
13044
13045 2003-06-14 Andrew Cagney <cagney@redhat.com>
13046
13047 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13048 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13049 exit status.
13050 * gdb.base/fileio.exp: Disable target when nointerrupts and
13051 noinferiorio, instead of limiting it to remote. Use remote_exec
13052 instead of system.
13053
13054 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13055
13056 * gdb.base/float.exp: Add ia64 support.
13057
13058 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13059
13060 * gdb.base/fileio.exp: Run only on remote targets.
13061
13062 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13063
13064 * gdb.base/fileio.c: New file, testing File-I/O.
13065 * gdb.base/fileio.exp: Ditto.
13066
13067 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13068
13069 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13070 shared objects after relocation at load time (gdb PR/1132).
13071 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13072 as above, part of the shared object relocation test.
13073
13074 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13075
13076 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13077 fully filled history list.
13078 * gdb.base/gdb_history: New file.
13079
13080 * gdb.base/signals.exp: XFAIL "continue to func1" on
13081 i*86-*-freebsd*.
13082
13083 * gdb.base/attach.exp: When trying to attach to a nonexistent
13084 process, make it possible to specify the PID based on the target,
13085 and do so for *-*-freebsd*.
13086
13087 2003-06-02 Richard Henderson <rth@redhat.com>
13088
13089 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13090
13091 2003-06-02 Richard Henderson <rth@redhat.com>
13092
13093 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13094
13095 2003-06-02 Richard Henderson <rth@redhat.com>
13096
13097 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13098
13099 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13100
13101 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13102 of globalvar.
13103
13104 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13105
13106 * gdb.asm/asm-source.exp: Check for memory read errors in
13107 disassembler test on *BSD too.
13108
13109 2003-06-01 Richard Henderson <rth@redhat.com>
13110
13111 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13112 for .frame.
13113 (gdbasm_call): Lose ldgp.
13114 (gdbasm_startup): Add frame information.
13115 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13116
13117 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13118
13119 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13120 i?86-*-*.
13121
13122 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13123
13124 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13125 FreeBSD.
13126
13127 2003-05-29 Richard Henderson <rth@redhat.com>
13128
13129 * gdb.asm/alpha.inc: New file.
13130 * gdb.asm/asm-source.exp: Use it.
13131
13132 2003-05-29 Jim Blandy <jimb@redhat.com>
13133
13134 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13135 'core.PID'.
13136
13137 2003-05-22 Jim Blandy <jimb@redhat.com>
13138
13139 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13140 backtrace.
13141
13142 2003-05-20 David Carlton <carlton@math.stanford.edu>
13143
13144 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13145 this time.
13146
13147 2003-05-19 David Carlton <carlton@bactrian.org>
13148
13149 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13150 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13151
13152 2003-05-19 David Carlton <carlton@bactrian.org>
13153
13154 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13155 namespace tests.
13156 Bump copyright date.
13157 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13158 (main): Call C::D::marker2.
13159 * gdb.c++/namespace1.cc: New file.
13160
13161 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13162
13163 Roland McGrath <roland@redhat.com>
13164 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13165 there is no manager thread.
13166
13167 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13168
13169 * gdb.threads/schedlock.exp: Remove assumption that all threads
13170 will run in a particular small time slice. Also ensure we break
13171 in one of the child threads rather than the main thread.
13172
13173 2003-05-07 Jim Blandy <jimb@redhat.com>
13174
13175 Add support for assembly source testing on the s390x.
13176 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13177 architecture.
13178 * gdb.asm/s390x.inc: New file.
13179
13180 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13181 succession of 'if' statements.
13182
13183 2003-05-05 Andrew Cagney <cagney@redhat.com>
13184
13185 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13186
13187 2003-05-05 Andrew Cagney <cagney@redhat.com>
13188
13189 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13190 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13191
13192 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13193
13194 * gdb.base/charset.exp: Update based on new behavior of set/show
13195 charset commands.
13196
13197 2003-05-01 Andrew Cagney <cagney@redhat.com>
13198
13199 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13200 variable do not give memory errors.
13201
13202 2003-04-30 Adam Fedor <fedor@gnu.org>
13203
13204 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13205 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13206 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13207 gdb.objc/basicclass.m: : New files
13208
13209 * lib/gdb.exp (gdb_compile_objc): New procedure.
13210
13211 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13212
13213 * gdb.base/signals.exp: Make backtrace tests more specific.
13214
13215 2003-04-23 David Carlton <carlton@bactrian.org>
13216
13217 * gdb.c++/maint.exp (test_first_component): Add tests for
13218 'operator' in more locations.
13219
13220 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13221
13222 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13223
13224 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13225
13226 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13227 func marke' instead. Update test name.
13228
13229 2003-04-15 David Carlton <carlton@math.stanford.edu>
13230
13231 * gdb.c++/maint.exp: New file.
13232
13233 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13234
13235 * gdb.threads/schedlock.c: Change type of thread function argument
13236 to long, to avoid warnings on 64-bit platforms.
13237
13238 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13239
13240 * gdb.base/attach.exp: Add new message from ptrace in case of
13241 attaching to nonexistent process.
13242
13243 2003-04-11 Jim Blandy <jimb@redhat.com>
13244
13245 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13246 gdb.c++/userdef.cc: Place comments on the lines to which the
13247 marker function might return.
13248 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13249 gdb.c++/userdef.exp: Look for those comments to check that we've
13250 returned to the right place, instead of checking line numbers.
13251
13252 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13253
13254 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13255 match on sourcefile name, instead of directory name.
13256
13257 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13258
13259 * gdb.base/completion.exp: Use string_to_regexp to match the
13260 working directory name.
13261
13262 2003-04-09 Jim Blandy <jimb@redhat.com>
13263
13264 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13265 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13266 after an inferior function call, report the failure, but allow the
13267 test to continue.
13268
13269 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13270
13271 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13272 with -DPROTOTYPES.
13273
13274 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13275
13276 * gdb.base/break.exp: Revert last patch.
13277
13278 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13279
13280 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13281 with -DPROTOTYPES.
13282
13283 2003-04-02 Andrew Cagney <cagney@redhat.com>
13284
13285 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13286 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13287 matching directories by the name breakpoint.
13288 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13289 Make "continue to marker1" consistent.
13290 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13291 message consistent.
13292 * lib/gdb.exp: Put "the program is no longer running", and "the
13293 program exited" in parenthesis.
13294 * lib/mi-support.exp: Ditto.
13295
13296 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13297
13298 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13299
13300 2003-03-29 Andrew Cagney <cagney@redhat.com>
13301
13302 * gdb.base/sizeof.c (main): Print the value of '\377'.
13303 * gdb.base/sizeof.exp: Check the sign of '\377'.
13304
13305 2003-03-27 Michael Chastain <mec@shout.net>
13306
13307 * gdb.base/gdb1090.exp: New file.
13308 * gdb.base/gdb1090.cc: New file.
13309
13310 2003-03-27 J. Brobecker <brobecker@gnat.com>
13311
13312 * gdb.gdb/observer.exp: New regression test.
13313
13314 2003-03-27 Michael Chastain <mec@shout.net>
13315
13316 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13317 * gdb.base/ptype.exp: Likewise.
13318
13319 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13320
13321 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13322
13323 2003-03-26 Michael Chastain <mec@shout.net>
13324
13325 * gdb.base/ptype.exp: Actually use some typedef'd types.
13326
13327 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13328
13329 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13330 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13331
13332 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13333
13334 * gdb.base/default.exp: Fix regular expression.
13335
13336 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13337
13338 * gdb.base/args.exp: Fix regular expression.
13339
13340 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13341
13342 * gdb.base/help.exp: Allow Win32 child process.
13343
13344 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13345
13346 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13347 when stepping out of main().
13348
13349 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13350
13351 * gdb.base/default.exp: Check for win32 specific message when calling
13352 "run" without executable.
13353
13354 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13355
13356 * gdb.base/args.exp: Expect .exe in output.
13357
13358 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13359
13360 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13361 Cygwin native.
13362
13363 2003-03-17 Andrew Cagney <cagney@redhat.com>
13364
13365 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13366 vector registes.
13367 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13368 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13369
13370 2003-03-17 David Carlton <carlton@math.stanford.edu>
13371
13372 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13373 test, for PR breakpoints/38.
13374 Call test_watchpoint_and_breakpoint.
13375 * gdb.base/watchpoint.c (func3): New function.
13376 (main): Call func3.
13377
13378 2003-03-04 David Carlton <carlton@math.stanford.edu>
13379
13380 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13381 Garply<Garply<char> >:: garply".
13382 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13383 with respect to PR c++/1111; note also PR c++/1113.
13384 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13385 respect to PR c++/1062.
13386 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13387
13388 2003-03-03 David Carlton <carlton@math.stanford.edu>
13389
13390 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13391 with respect to PR c++/57.
13392 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13393 c++/826.
13394 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13395 respect to PR c++/57.
13396
13397 2003-03-03 David Carlton <carlton@math.stanford.edu>
13398
13399 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13400 respect to PR c++/33 into FAILs.
13401
13402 2003-03-03 Michael Chastain <mec@shout.net>
13403
13404 * configure.in: Update copyright years.
13405
13406 2003-03-03 Michael Chastain <mec@shout.net>
13407
13408 * Makefile.in: Update copyright years.
13409
13410 2003-02-28 David Carlton <carlton@math.stanford.edu>
13411
13412 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13413 print class instead of struct and/or superfluous protection
13414 specifiers, as long as the resulting output is equivalent to the
13415 source code.
13416 Delete FIXME from end of messages on tests that don't need
13417 fixing.
13418
13419 2003-02-28 David Carlton <carlton@math.stanford.edu>
13420
13421 * gdb.c++/templates.exp (do_tests): Allow const in the two
13422 Foo<volatile char *>::foo tests.
13423
13424 2003-02-27 Michael Snyder <msnyder@redhat.com>
13425
13426 * gdb.base/restore.c (main): Return zero, so exit code
13427 will be consistant.
13428
13429 2003-02-26 David Carlton <carlton@math.stanford.edu>
13430
13431 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13432 char *>::foo" test with respect to PR c++/33. Create a new test
13433 which is identical to that one except that it doesn't put the
13434 space between the "char" and the "*"; KFAIL it, too.
13435
13436 2003-02-26 David Carlton <carlton@math.stanford.edu>
13437
13438 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13439 template types into either PASSes or KFAILs (corresponding to PR
13440 c++/57). Tweak indentation. Update copyright.
13441
13442 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13443
13444 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13445
13446 2003-02-13 Michael Chastain <mec@shout.net>
13447
13448 * gdb.base/exprs.exp: Remove i960 remnants.
13449 * gdb.base/funcargs.exp: Likewise.
13450 * gdb.base/list.exp: Likewise.
13451 * gdb.base/ptype.exp: Likewise.
13452
13453 2003-02-14 David Carlton <carlton@math.stanford.edu>
13454
13455 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13456 pEe->D::vg()" from XFAIL to KFAIL.
13457
13458 2003-02-13 Jason Molenda (jmolenda@apple.com)
13459
13460 * gdb.base/maint.exp: Update maint print statistics regexp to include
13461 new entries.
13462
13463 2003-02-13 Michael Chastain <mec@shout.net>
13464
13465 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13466
13467 2003-02-12 Michael Chastain <mec@shout.net>
13468
13469 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13470 * gdb.c++/inherit.exp: Likewise.
13471 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13472 * gdb.c++/templates.exp: Likewise.
13473 * gdb.c++/virtfunc.exp: Likewise.
13474
13475 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13476
13477 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13478 why the code is written that way.
13479
13480 2003-02-05 Michael Chastain <mec@shout.net>
13481
13482 * gdb.base/dump.exp: Add missing copyright line.
13483
13484 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13485
13486 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13487 at the beginning so the breakpoint doesn't get set on the loop.
13488
13489 2003-02-05 Michael Chastain <mec@shout.net>
13490
13491 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13492 output for configurations with gcc 2.95.3.
13493
13494 2003-02-05 Keith Seitz <keiths@redhat.com>
13495 Andrew Cagney <ac131313@redhat.com>
13496
13497 * gdb.mi/mi-cli.exp: New file.
13498
13499 2003-02-04 Michael Chastain <mec@shout.net>
13500
13501 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13502 Call perror and then continue.
13503
13504 2003-02-03 Michael Chastain <mec@shout.net>
13505
13506 * gdb.c++/pr-1023.cc: New file.
13507 * gdb.c++/pr-1023.exp: New file.
13508
13509 2003-02-05 Jim Blandy <jimb@redhat.com>
13510
13511 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13512 it's local to foobar. Check for it there, and check that it's not
13513 present in main.
13514 * gdb.c++/local.cc (marker2): New function.
13515 (foobar): Call marker1.
13516 (main): Call marker2 instead of marker1.
13517
13518 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13519
13520 * gdb.disasm/mn10200.exp: Obsolete file.
13521 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13522 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13523 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13524
13525 2003-02-04 David Carlton <carlton@math.stanford.edu>
13526
13527 * gdb.c++/overload.exp: Test intToChar(1).
13528 * gdb.c++/overload.cc (intToChar): New.
13529 (main): Call intToChar.
13530
13531 2003-02-03 David Carlton <carlton@math.stanford.edu>
13532
13533 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13534 'might_kfail' arg.
13535 KFAIL some of the continue_to_bp_overloaded calls, according to
13536 PR c++/1025.
13537
13538 2003-02-01 Michael Chastain <mec@shout.net>
13539
13540 * gdb.base/advance.c (marker1): New marker function.
13541 * gdb.base/advance.exp: When the 'advance' command lands on the
13542 return breakpoint, it can legitimately stop on either the
13543 current line or the next line. Accommodate both outcomes.
13544 * gdb.base/until.exp: Likewise.
13545
13546 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13547
13548 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13549 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13550 now a list, not a tuple.
13551 * gdb.mi/mi-var-display.exp: Ditto.
13552 * gdb.mi/gdb792.exp: Ditto.
13553
13554 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13555
13556 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13557 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13558 stack backtraces.
13559 * gdb.mi/mi-syn-frame.c: Part of same.
13560
13561 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13562
13563 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13564 gdb.mi/mi1-pthreads.exp: Return instead of calling
13565 gdb_suppress_entire_file.
13566
13567 2003-02-01 Mark Salter <msalter@redhat.com>
13568
13569 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13570
13571 2003-01-31 Mark Salter <msalter@redhat.com>
13572
13573 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13574 Support empty arg.
13575
13576 2003-01-30 Michael Chastain <mec@shout.net>
13577
13578 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13579 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13580 has been fixed in gdb/readline on 2003-01-09.
13581
13582 2003-01-29 Michael Snyder <msnyder@redhat.com>
13583
13584 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13585 * gdb.base/display.exp: Allow for leading underscore in symbol.
13586 * gdb.base/args.exp: Skip if target does not support args passing.
13587
13588 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13589
13590 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13591 gdb_test. Accept a list of expect arguments as the third
13592 parameter.
13593 (gdb_test): Use it.
13594
13595 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13596
13597 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13598 allow for different test tree configurations. Update some
13599 tescases accordingly.
13600 * gdb.arch/altivec-regs.exp: Ditto.
13601 * gdb.asm/asm-source.exp: Ditto.
13602 * gdb.base/advance.exp: Ditto.
13603 * gdb.base/display.exp: Ditto.
13604 * gdb.base/long_long.exp: Ditto.
13605 * gdb.base/mips_pro.exp: Ditto.
13606 * gdb.base/overlays.exp: Ditto.
13607 * gdb.base/relocate.exp: Ditto.
13608 * gdb.base/setshow.exp: Ditto.
13609 * gdb.base/step-line.exp: Ditto.
13610 * gdb.base/step-test.exp: Ditto.
13611 * gdb.base/until.exp: Ditto.
13612 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13613
13614 2003-01-17 David Carlton <carlton@math.stanford.edu>
13615
13616 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13617 corresponding to PR c++/945.
13618 Update copyright.
13619
13620 2003-01-17 David Carlton <carlton@math.stanford.edu>
13621
13622 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13623 corresponding to PR c++/68.
13624
13625 2003-01-17 David Carlton <carlton@math.stanford.edu>
13626
13627 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13628 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13629 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13630
13631 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13632
13633 * gdb.base/break.exp: Fix change of default location, because of
13634 removal of until tests.
13635 * gdb.base/help.exp: Update test for new 'until' help message.
13636 Add test for help on 'advance'.
13637 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13638
13639 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13640
13641 * gdb.base/default.exp: Adapt "info float" test for recent changes
13642 to that command. Add test for "info vector".
13643 * gdb.base/float.exp: New file. Add test for "info float" that
13644 resembles the old test in gdb.base/default.exp.
13645
13646 2003-01-15 David Carlton <carlton@math.stanford.edu>
13647
13648 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13649
13650 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13651
13652 * gdb.base/break.exp: Move the tests of until command from here...
13653 * gdb.base/until.exp: ... to here. New file. Add other tests.
13654 * gdb.base/advance.c: New file.
13655 * gdb.base/advance.exp: New file.
13656
13657 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13658
13659 * gdb.base/args.c: New file.
13660 * gdb.base/args.exp: New file.
13661
13662 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13663
13664 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13665
13666 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13667
13668 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13669
13670 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13671
13672 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13673 dates.
13674
13675 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13676
13677 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13678
13679 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13680
13681 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13682 (ptype &*"foo").
13683 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13684
13685 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13686
13687 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13688 * gdb.mi/mi1-console.exp: Likewise.
13689
13690 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13691
13692 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13693 * gdb.mi/mi1-console.exp: Likewise.
13694
13695 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13696
13697 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13698
13699 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13700
13701 * gdb.base/detach.exp: New test.
13702
13703 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13704
13705 * Makefile.in (ALL_SUBDIRS): New variable.
13706 (subdirs, clean, distclean): Use it.
13707 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13708 regenerating Makefile, since it is generated from the top level.
13709 * gdb.asm/Makefile.in: Likewise.
13710 * gdb.base/Makefile.in: Likewise.
13711 * gdb.c++/Makefile.in: Likewise.
13712 * gdb.disasm/Makefile.in: Likewise.
13713 * gdb.java/Makefile.in: Likewise.
13714 * gdb.mi/Makefile.in: Likewise.
13715 * gdb.threads/Makefile.in: Likewise.
13716 * gdb.trace/Makefile.in: Likewise.
13717
13718 2003-01-09 David Carlton <carlton@math.stanford.edu>
13719
13720 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13721 Add copyright year 2003.
13722
13723 2003-01-06 Michael Chastain <mec@shout.net>
13724
13725 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13726 When selecting a thread, 'line' and 'file' are optional.
13727 * gdb.mi/mi1-pthreads.exp: Likewise.
13728
13729 2003-01-06 Andreas Schwab <schwab@suse.de>
13730
13731 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13732 failures.
13733
13734 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13735
13736 Fix PR gdb/844
13737 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13738 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13739
13740 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13741 instead of calling gdb_suppress_entire_file.
13742 * gdb.threads/print-threads.exp: Likewise.
13743 * gdb.threads/schedlock.exp: Likewise.
13744
13745 * gdb.threads/killed.exp: Return instead of calling
13746 gdb_suppress_entire_file.
13747 * gdb.threads/linux-dp.exp: Likewise.
13748 * gdb.threads/pthreads.exp: Likewise.
13749
13750 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13751
13752 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13753 stabs.
13754 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13755 * gdb.base/whatis.exp: Always allow (void) after function names.
13756
13757 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13758
13759 * gdb.c++/casts.exp: Correct regexp.
13760
13761 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13762
13763 * configure.in: Call AC_CONFIG_HEADER. Don't call
13764 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13765 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13766 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13767 aforementioned directories in the AC_OUPUT call.
13768 * config.hin: New file.
13769 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13770 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13771 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13772 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13773 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13774 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13775 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13776 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13777 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13778 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13779 gdb.threads/configure.in, gdb.threads/configure,
13780 gdb.threads/config.in, gdb.trace/configure.in,
13781 gdb.trace/configure: Removed.
13782
13783 2003-01-03 Michael Chastain <mec@shout.net>
13784
13785 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13786 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13787
13788 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13789
13790 * gdb.base/store.exp: Fix regular expressions.
13791
13792 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13793
13794 * configure.in: Rewrite.
13795 * configure: Regenerated.
13796
13797 2003-01-03 David Carlton <carlton@math.stanford.edu>
13798
13799 * gdb.base/psymtab.exp: New file.
13800 * gdb.base/psymtab1.c: Ditto.
13801 * gdb.base/psymtab2.c: Ditto.
13802
13803 2002-12-23 Adam Fedor <fedor@gnu.org>
13804
13805 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13806
13807 2002-12-23 David Carlton <carlton@math.stanford.edu>
13808
13809 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13810 and current_directory initialization.
13811
13812 2002-12-22 Jim Blandy <jimb@redhat.com>
13813
13814 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13815 rather than as part of the output file name.
13816
13817 * gdb.base/attach.exp: There's no need to copy the test program to
13818 /tmp; that was only ever necessary on HP/UX, and this test is
13819 entirely disabled there anyway.
13820
13821 2002-12-21 Jim Blandy <jimb@redhat.com>
13822
13823 * gdb.c++/psmang.exp: Doc fix.
13824
13825 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13826 test.
13827
13828 2002-12-20 David Carlton <carlton@math.stanford.edu>
13829
13830 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13831
13832 2002-12-18 Michael Chastain <mec@shout.net>
13833
13834 * gdb.c++/annota2.exp: Add copyright year 2002.
13835
13836 2002-12-17 David Carlton <carlton@math.stanford.edu>
13837
13838 * gdb.c++/try_catch.cc: Add marker comments.
13839 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13840 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13841 * gdb.c++/m-static.cc: Ditto.
13842 * gdb.c++/m-static1.cc: Ditto.
13843 * gdb.c++/try_catch.cc: Ditto.
13844
13845 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13846
13847 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13848 to see whether we are using the new -environment-directory
13849 command which resets via -r or the old version of the command
13850 which may prompt the user. Part of fix for gdb/741.
13851
13852 2002-12-13 Andrew Cagney <ac131313@redhat.com>
13853
13854 * gdb.fortran/types.exp: Update obsolete comment.
13855 * gdb.fortran/exprs.exp: Ditto.
13856 * lib/gdb.exp: Delete obsolete code.
13857 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13858 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13859 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13860 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13861 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13862 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13863 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13864 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13865 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13866 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13867 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13868 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13869 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13870 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13871 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13872 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13873 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13874 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13875 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13876 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13877 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13878 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13879 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13880 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13881 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13882 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13883 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13884 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13885 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13886 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13887 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13888 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13889 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13890 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13891 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13892 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13893 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13894
13895 2002-12-11 David Carlton <carlton@math.stanford.edu>
13896
13897 * gdb.c++/m-data.exp: Add test for members that shadow global
13898 variables: see PR gdb/804.
13899 * gdb.c++/m-data.cc: Ditto.
13900
13901 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
13902
13903 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13904
13905 2002-12-06 David Carlton <carlton@math.stanford.edu>
13906
13907 * gdb.base/store.c: Don't declare functions static.
13908
13909 2002-12-04 Andrew Cagney <ac131313@redhat.com>
13910
13911 * gdb.base/store.exp, gdb.base/store.c: New files.
13912
13913 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13914
13915 * gdb.base/selftest.exp: Update for current gdb.
13916
13917 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13918
13919 * gdb.base/maint.exp: Only dump symbols from one source file
13920 or objfile.
13921
13922 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13923
13924 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13925 function call.
13926
13927 2002-11-25 Jim Blandy <jimb@redhat.com>
13928
13929 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13930 function appearing in error message.
13931
13932 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
13933
13934 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13935
13936 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
13937
13938 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
13939 for mi1 and current mi is in correct format. New mi startup message
13940 should be in mi console format. This is part of fix for PR gdb/604.
13941
13942 2002-09-18 Fernando Nasser <fnasser@redhat.com>
13943
13944 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
13945 which explicitly prints the zero offset as "+0".
13946
13947 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
13948
13949 * gdb.threads/schedlock.c (args): Make unsigned.
13950
13951 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
13952
13953 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
13954 numbers. Allow "foo2|selected stack frame".
13955 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
13956 * gdb.asm/asmsrc2.s: Likewise.
13957 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
13958 comments.
13959 * gdb.asm/mips.inc: New file.
13960
13961 2002-10-18 Adam Fedor <fedor@gnu.org>
13962
13963 * gdb.base/default.exp: Update expected output to include 'ObjC'.
13964 * gdb.base/help.exp: Likewise.
13965
13966 2002-10-17 Kevin Buettner <kevinb@redhat.com>
13967
13968 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13969 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13970
13971 2002-10-02 Jim Blandy <jimb@redhat.com>
13972
13973 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13974
13975 2002-10-01 Andrew Cagney <ac131313@redhat.com>
13976
13977 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
13978 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
13979 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
13980 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
13981 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
13982 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
13983 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
13984
13985 2002-09-29 Andrew Cagney <ac131313@redhat.com>
13986
13987 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
13988 * mi0-disassemble.exp, mi0-eval.exp: Delete.
13989 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
13990 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
13991 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
13992 * mi0-var-block.exp, mi0-var-child.exp: Delete.
13993 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
13994
13995 2002-09-27 Kevin Buettner <kevinb@redhat.com>
13996
13997 * gdb.base/annota1.exp (info break): Make directory components of
13998 path optional since not all compilers emit this debug information.
13999
14000 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14001 step ends up stepping out of the function instead of stopping on
14002 the epilogue.
14003
14004 2002-09-26 Keith Seitz <keiths@redhat.com>
14005
14006 * lib/insight-support.exp (gdbtk_start): Figure out where
14007 the insight executable is based on where gdb is. Use this
14008 executable to start insight instead of gdb.
14009
14010 2002-09-25 Andrew Cagney <cagney@redhat.com>
14011
14012 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14013
14014 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14015
14016 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14017 test_isolated_complaints.
14018 (test_empty_complaint): New function.
14019 (test_empty_complaints): New function. Check no output when no
14020 complaints.
14021
14022 2002-09-19 Jim Blandy <jimb@redhat.com>
14023
14024 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14025
14026 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14027
14028 * gdb.gdb/complaints.exp: New file.
14029
14030 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14031
14032 * gdb.base/maint.exp: Check `help maint internal-warning'.
14033
14034 2002-09-18 David Carlton <carlton@math.stanford.edu>
14035
14036 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14037 numbers, and replace them by a single breakpoint after the
14038 constructors are all finished.
14039 Add test 4.
14040 * gdb.c++/m-static.cc: Add test 4.
14041 * gdb.c++/m-static.h: New file.
14042 * gdb.c++/m-static1.cc: New file.
14043
14044 * gdb.c++/printmethod.exp: New file.
14045 * gdb.c++/printmethod.cc: New file.
14046
14047 * gdb.c++/pr-574.exp: New file.
14048 * gdb.c++/pr-574.cc: New file.
14049
14050 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14051
14052 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14053 embedded targets which never actually exit.
14054
14055 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14056
14057 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14058 "don't step after run" as unresolved or unsupported, instead of xfail.
14059
14060 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14061
14062 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14063 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14064 Add newline to expected string in "step out of main (status wrapper)"
14065 case.
14066
14067 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14068
14069 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14070 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14071
14072 2002-09-17 Tom Tromey <tromey@redhat.com>
14073
14074 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14075 \000, not \0, in double-quoted string.
14076
14077 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14078
14079 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14080 string after running the commands execution on breakpoint tests.
14081
14082 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14083
14084 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14085
14086 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14087
14088 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14089
14090 2002-09-10 Keith Seitz <keiths@redhat.com>
14091
14092 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14093 runto proc.
14094 (mi_run_to_main): Use mi_runto.
14095 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14096
14097 2002-09-10 Keith Seitz <keiths@redhat.com>
14098
14099 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14100 regexp for stopping at main. Could have multiple event notifications.
14101 Don't assume that main was declared with no parameters.
14102 (mi_next): Use mi_step_to.
14103 (mi_step): Use mi_next_to.
14104
14105 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14106
14107 * gdb.base/default.exp: Fix expected string in `info float' test.
14108
14109 2002-09-09 Ben Elliston <bje@redhat.com>
14110
14111 * config/mips.exp: Update comments.
14112 * config/mips-idt.exp: Likewise.
14113 * config/nind.exp: Likewise.
14114 * config/slite.exp: Likewise.
14115 * config/sparclet.exp: Likewise.
14116 * config/udi.exp: Likewise.
14117 * config/vx.exp: Likewise.
14118 * config/vxworks29k.exp: Likewise.
14119
14120 2002-09-05 Jim Blandy <jimb@redhat.com>
14121
14122 * gdb.threads/killed.exp: Fix test failure message.
14123
14124 2002-09-04 Keith Seitz <keiths@redhat.com>
14125
14126 * lib/mi-support.exp: Update copyright.
14127 (mi_gdb_test): Increase the priority of the expected pattern
14128 so that it matches gdb_test.
14129
14130 2002-09-03 Keith Seitz <keiths@redhat.com>
14131
14132 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14133 Use integer comparison instead of string comparison for testing
14134 whether binary was built.
14135
14136 2002-09-03 Jim Blandy <jimb@redhat.com>
14137
14138 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14139
14140 2002-08-29 Jim Blandy <jimb@redhat.com>
14141
14142 * gdb.threads/pthreads.exp: Move the portable thread compilation
14143 code into a function in lib/gdb.exp, and call that from here.
14144 * lib/gdb.exp (gdb_compile_pthreads): New function.
14145
14146 2002-08-29 Keith Seitz <keiths@redhat.com>
14147
14148 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14149 expect_out so that callers can get at it.
14150
14151 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14152
14153 * gdb.threads/print-threads.c: New file.
14154 * gdb.threads/print-threads.exp: New file.
14155 * gdb.threads/schedlock.c: New file.
14156 * gdb.threads/schedlock.exp: New file.
14157
14158 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14159
14160 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14161 not altivec.c.
14162
14163 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14164
14165 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14166 targets. The problem should be fixed now.
14167
14168 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14169
14170 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14171 2002-07-24 change that removes final dots from error messages.
14172
14173 2002-08-13 Tom Tromey <tromey@redhat.com>
14174
14175 * gdb.base/readline.exp: New file.
14176
14177 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14178
14179 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14180 supress message.
14181
14182 2002-08-01 Andrew Cagney <cagney@redhat.com>
14183
14184 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14185 CHILL_FOR_TARGET and CHILL_LIB.
14186 * configure.in (configdirs): Remove gdb.chill.
14187 * configure: Regenerate.
14188 * lib/gdb.exp: Obsolete references to chill.
14189 * gdb.fortran/types.exp: Ditto.
14190 * gdb.fortran/exprs.exp: Ditto.
14191
14192 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14193
14194 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14195 set Irix-specific compile and link flags.
14196
14197 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14198
14199 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14200 source files. The ``-o'' option doesn't work with the ``-E'' option
14201 when using the Irix compiler.
14202
14203 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14204
14205 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14206 Improve support for reusing an exec file. Copy exec file
14207 to target, and run gdbserver on the target instead of on the host.
14208
14209 2002-07-18 Jim Blandy <jimb@redhat.com>
14210
14211 * gdb.base/ending-run.exp: Don't expect to see the program end in
14212 some orderly fashion when we're running on a real stand-alone
14213 board.
14214
14215 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14216 targets that don't support interrupts.
14217
14218 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14219
14220 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14221 systems.
14222 Move comments in expect statements to inside the actions, so that they
14223 don't get matched against.
14224
14225 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14226
14227 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14228 function when asleep" test.
14229
14230 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14231
14232 * gdb.base/page.exp: Rewrite to handle problems with very long
14233 `info set' output. Update copyright.
14234
14235 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14236
14237 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14238 gdb.threads-hp.
14239 * gdb.hp/configure: Regenerate.
14240 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14241 * gdb.hp/gdb.threads-hp/configure: Delete file.
14242 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14243
14244 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14245
14246 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14247 setlocale, bindtextdomain and textdomain.
14248
14249 2002-06-11 Jim Blandy <jimb@redhat.com>
14250
14251 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14252 preprocessor macro information is present.
14253
14254 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14255 tests.
14256
14257 2002-06-06 Michael Snyder <msnyder@redhat.com>
14258
14259 * gdb.base/overlays.exp: Record addresses of overlay
14260 functions in TCL variables rather than in GDB variables,
14261 to avoid having GDB convert them to pointers (with loss
14262 of information).
14263
14264 * gdb.base/d10v.ld: Merge in several years worth of
14265 default linker script changes.
14266 * gdb.base/long_long.exp: Add check for sizeof (long double).
14267
14268 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14269
14270 * gdb.asm/asm-source.exp: Add x86-64 target.
14271 * gdb.asm/x86_64.inc: New.
14272
14273 2002-05-30 Michael Chastain <mec@shout.net>
14274
14275 From Benjamin Kosnik <bkoz@redhat.com>:
14276 * gdb.c++/m-static.cc: New file.
14277 * gdb.c++/m-static.exp: New file.
14278
14279 2002-05-28 Michael Snyder <msnyder@redhat.com>
14280
14281 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14282 precision.
14283
14284 2002-05-27 Michael Chastain <mec@shout.net>
14285
14286 From Benjamin Kosnik <bkoz@redhat.com>:
14287 * gdb.c++/m-data.cc: New file.
14288 * gdb.c++/m-data.exp: New file.
14289
14290 2002-05-27 Michael Chastain <mec@shout.net>
14291
14292 From Benjamin Kosnik <bkoz@redhat.com>:
14293 * gdb.c++/try_catch.cc: New file.
14294 * gdb.c++/try_catch.exp: New file.
14295
14296 2002-05-27 Michael Chastain <mec@shout.net>
14297
14298 * gdb.c++/local.exp: Accept more nested types in output.
14299
14300 2002-05-26 Michael Chastain <mec@shout.net>
14301
14302 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14303
14304 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14305
14306 * lib/gdb.exp (gdb_wrapper_init): Just because
14307 gdb_wrapper_file exists, this does not mean that the file
14308 should not be rebuilt. That is what gdb_wrapper_initialized
14309 is for.
14310 (default_gdb_init): Reset gdb_wrapper_initialized.
14311
14312 2002-05-23 Michael Snyder <msnyder@redhat.com>
14313
14314 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14315 the precision of the floating point test results.
14316 * gdb.base/call-rt-st.exp: Ditto.
14317
14318 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14319 * gdb.base/call-rt-st.exp: Ditto.
14320
14321 2002-05-19 Michael Chastain <mec@shout.net>
14322
14323 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14324
14325 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14326
14327 * configure.in (configdirs): Add gdb.arch.
14328 * configure: Regenerate.
14329
14330 2002-05-17 Jim Blandy <jimb@redhat.com>
14331
14332 * gdb.base/completion.exp: Recognize the more detailed error
14333 messages produced by the macro expander's lexical analyzer.
14334
14335 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14336
14337 * gdb.arch/altivec-abi.c: New file.
14338 * gdb.arch/altivec-abi.exp: New file.
14339 * gdb.arch/altivec-regs.c: New file.
14340 * gdb.arch/altivec-regs.exp: New file.
14341
14342 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14343
14344 * gdb.base/maint.exp (maint print type): Update for new type
14345 structure.
14346
14347 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14348
14349 * gdb.arch: New directory.
14350 * gdb.arch/configure.in: New file.
14351 * gdb.arch/configure: New file.
14352 * gdb.arch/Makefile.in: New file.
14353
14354 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14355
14356 * gdb.asm/asm-source.exp: Add v850 as supported target.
14357 * gdb.asm/v850.inc: New file.
14358
14359 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14360
14361 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14362
14363 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14364
14365 * gdb.base/break.exp: Check 'break "marker2"'.
14366
14367 2002-05-10 Michael Snyder <msnyder@redhat.com>
14368
14369 * gdb.base/long_long.exp: Fix typo.
14370
14371 2002-05-10 Jim Blandy <jimb@redhat.com>
14372
14373 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14374 a bug.
14375
14376 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14377 Recognize more detailed error message produced by the macro
14378 expander's lexical analyzer.
14379 * lib/gdb.exp (test_print_reject): Same.
14380
14381 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14382
14383 * gdb.c++/method.exp: Fix typo.
14384
14385 2002-05-08 Michael Snyder <msnyder@redhat.com>
14386
14387 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14388 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14389 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14390 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14391 Add iftarget clause for strongarm.
14392
14393 2002-05-06 Michael Snyder <msnyder@redhat.com>
14394
14395 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14396 (gdb_continue_to_end): Accept output from status wrapper.
14397 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14398 Clean up fail messages to match pass messages.
14399
14400 Enable the "needs_status_wrapper" testsuite feature.
14401 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14402 (gdb_compile): Conditionally call gdb_wrapper_init.
14403 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14404 * gdb.c++/method.exp: Recognize output from status wrapper.
14405
14406 2002-05-06 Ben Elliston <bje@redhat.com>
14407 From Graydon Hoare <graydon@redhat.com>
14408
14409 * config/sid.exp: Include support for "rawsid" protocol.
14410
14411 2002-05-03 Jim Blandy <jimb@redhat.com>
14412
14413 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14414 * gdb.c++/hang3.C: New file.
14415
14416 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14417
14418 * gdb.base/default.exp: Remove obsolete code.
14419 * gdb.c++/misc.exp: Ditto. Update copyright.
14420 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14421 * gdb.base/whatis.exp: Ditto. Update copyright.
14422 * gdb.base/scope.exp: Ditto. Update copyright.
14423 * gdb.base/ptype.exp: Ditto. Update copyright.
14424 * gdb.base/printcmds.exp: Ditto. Update copyright.
14425 * gdb.base/opaque.exp: Ditto. Update copyright.
14426 * gdb.base/list.exp: Ditto.
14427 * gdb.base/funcargs.exp: Ditto. Update copyright.
14428 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14429 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14430 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14431 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14432 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14433 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14434
14435 2002-05-02 Michael Snyder <msnyder@redhat.com>
14436
14437 * gdb.base/watchpoint.exp: Add xscale target.
14438 * gdb.base/long_long.exp: Add xscale target.
14439 * gdb.base/default.exp: Add xscale target.
14440
14441 2002-05-01 Jim Blandy <jimb@redhat.com>
14442
14443 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14444 gdb.c++/hang.exp: New test.
14445
14446 2002-05-01 Fred Fish <fnf@redhat.com>
14447
14448 * gdb.base/completion.exp: Handle completions of "./Make" for
14449 more than one completion possibility, as is the case when we
14450 build and test in the source tree.
14451
14452 2002-04-29 Anthony Green <green@redhat.com>
14453
14454 * gdb.java/jmisc1.exp: New file.
14455 * gdb.java/jmisc2.exp: New file.
14456
14457 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14458
14459 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14460
14461 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14462
14463 * gdb.base/help.exp: Change 'help status' to allow for target
14464 dependent output differences.
14465
14466 2002-04-22 Michael Chastain <mec@shout.net>
14467
14468 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14469
14470 2002-04-22 Michael Chastain <mec@shout.net>
14471
14472 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14473
14474 2002-04-17 David S. Miller <davem@redhat.com>
14475
14476 * gdb.asm/sparc64.inc: New file.
14477 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14478
14479 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14480
14481 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14482 instruction file directly into the build tree. Clean up at end of
14483 test.
14484
14485 2002-04-18 David S. Miller <davem@redhat.com>
14486
14487 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14488 handle 64-bit platforms correctly.
14489 * gdb.base/maint.exp: Likewise.
14490
14491 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14492
14493 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14494 ``-fpic'' when compiling files comprising a shared library, but
14495 it does need additional linker flags in order to find shared
14496 libraries at run time.
14497
14498 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14499
14500 * gdb.base/cvexpr.c (use): New function.
14501 (main): Invoke use() on all global variables to prevent
14502 some linkers from deleting these otherwise unused symbols.
14503
14504 2002-04-17 Michael Chastain <mec@shout.net>
14505 From David S. Miller <davem@redhat.com>
14506
14507 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14508 handle 64-bit platforms correctly.
14509
14510 2002-04-12 Michael Snyder <msnyder@redhat.com>
14511 From Jim Blandy <jimb@redhat.com>
14512 * gdb.base/foo.c (foox): Remove section attribute; the linker
14513 script can handle this instead.
14514 * gdb.base/bar.c (barx): Same.
14515 * gdb.base/baz.c (bazx): Same.
14516 * gdb.base/grbx.c (grbxx): Same.
14517
14518 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14519 manager doesn't automatically unmap overlays unnecessarily.
14520
14521 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14522
14523 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14524 stepping out of main.
14525
14526 2002-04-09 Michael Chastain <mec@shout.net>
14527
14528 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14529 scope so that the nested scope tests will make sense.
14530 * gdb.c++/local.exp: Write patterns that actually work with gcc
14531 (the HP patterns "were never known to work with gcc").
14532 Keep the old aCC patterns too.
14533
14534 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14535
14536 * gdb.base/attach.exp: Correct target board test.
14537
14538 2002-04-08 Michael Chastain <mec@shout.net>
14539
14540 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14541 in a const method. Add some xfail and fail cases for configurations
14542 that do not emit the "const ...".
14543
14544 2002-04-07 Michael Chastain <mec@shout.net>
14545
14546 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14547 Accept "A * const" and "const A * const" as type of "this".
14548 Fix spelling of getFunky throughout. Make messages uniform.
14549
14550 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14551
14552 Work around for PR gdb/285:
14553 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14554
14555 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14556
14557 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14558 instructions file at run time instead of configure time.
14559 Sometimes we run the test in a directory that is not the one we
14560 configured in.
14561 * gdb.asm/configure.in: Delete creation of symlink.
14562 * gdb.asm/configure: Regenerate.
14563
14564 2002-04-05 J. Brobecker <brobecker@gnat.com>
14565
14566 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14567 xfullpath () function.
14568
14569 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14570
14571 * gdb.asm/Makefile.in: Correct dependencies.
14572
14573 * gdb.asm/powerpc.inc: New file.
14574 * gdb.asm/asm-source.exp: Add PowerPC.
14575 * gdb.asm/configure.in: Likewise.
14576 * gdb.asm/configure: Regenerated.
14577
14578 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14579
14580 * gdb.base/relocate.exp: New file.
14581 * gdb.base/relocate.c: New file.
14582
14583 2002-04-04 Fred Fish <fnf@redhat.com>
14584
14585 * gdb.base/step-test.exp: Update comment regarding stopping in
14586 memcpy/bcopy calls inserted as part of the compiler runtime.
14587
14588 2002-04-04 Michael Snyder <msnyder@redhat.com>
14589
14590 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14591
14592 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14593
14594 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14595 (gdb_expect): Remove $notransfer hack.
14596
14597 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14598
14599 * gdb.c++/classes.exp ("calling method for small class"): Match
14600 updated register output.
14601
14602 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14603
14604 Fix PR gdb/452
14605 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14606 when finished. Make gdb_file_cmd send "exec-file" when
14607 appropriate.
14608
14609 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14610
14611 * gdb.base/attach.exp: Remove extra setup_xfail.
14612
14613 2002-03-26 Michael Snyder <msnyder@redhat.com>
14614
14615 * gdb.base/default.exp: Add tests for dump, append, and restore.
14616 * gdb.base/help.exp: Add tests for dump, append, and restore.
14617 * gdb.base/dump.exp: New file, test dump, append and restore.
14618 * gdb.base/dump.c: New file.
14619
14620 2002-03-27 Michael Snyder <msnyder@redhat.com>
14621
14622 * gdb.base/help.exp: Modify expect strings to reflect
14623 clean-ups in help messages.
14624
14625 2002-03-26 Fred Fish <fnf@redhat.com>
14626
14627 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14628 have debugging info for those functions and the compiler uses them
14629 internally to copy structs around.
14630
14631 2002-03-26 Fred Fish <fnf@redhat.com>
14632
14633 * gdb.base/list.exp: Revert the change made yesterday and add note
14634 about why we don't list the default lines for remote targets.
14635
14636 2002-03-25 Michael Snyder <msnyder@redhat.com>
14637
14638 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14639
14640 2002-03-25 Fred Fish <fnf@redhat.com>
14641
14642 * gdb.base/list.exp: This test works on remote targets so remove
14643 the short circuit for remote targets. Update copyright.
14644
14645 2002-03-25 Fred Fish <fnf@redhat.com>
14646
14647 * gdb.base/attach.exp: Fix logic error that was suppressing this
14648 test for all non hppa*-*-hpux* targets, instead of the hp target.
14649 Move comments closer to the suppression point. Also now need to
14650 check that we are running natively.
14651
14652 2002-03-22 Michael Snyder <msnyder@redhat.com>
14653
14654 * gdb.base/default.exp: Add test for gcore. Update copyright.
14655 * gdb.base/help.exp: Add test for gcore. Update copyright.
14656
14657 2002-03-06 Fred Fish <fnf@redhat.com>
14658
14659 * gdb.base/funcargs.c: Remove extraneous ';' character.
14660 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14661
14662 2002-03-04 Michael Chastain <mec@shout.net>
14663
14664 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14665 accommodate gcc v3 function signature.
14666 * gdb.mi/mi0-var-cmd-exp: Ditto.
14667
14668 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14669
14670 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14671 ``GNU/Linux'' or ``Linux kernel''
14672 * testsuite/gdb.threads/pthreads.c: Ditto.
14673
14674 2002-02-24 Michael Chastain <mec@shout.net>
14675
14676 * gdb.threads/pthreads.c (thread1): Add a return statement.
14677 (thread2): Likewise.
14678 (foo): Likewise.
14679
14680 2002-02-23 Michael Chastain <mec@shout.net>
14681
14682 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14683 to placate gcc.
14684
14685 2002-02-23 Michael Chastain <mec@shout.net>
14686
14687 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14688 test "ptype bint". The test passes on all my stabs configurations.
14689
14690 2002-02-21 Jim Blandy <jimb@redhat.com>
14691
14692 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14693 filename at a time, and watch for the ones we want to see.
14694
14695 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14696 types of pointers to prototyped functions.
14697
14698 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14699
14700 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14701 signed, unsigned and straight char.
14702 (padding_char, padding_short, padding_int, padding_long,
14703 padding_long_long, padding_float, padding_double,
14704 padding_long_double): New global variables.
14705 (fill, fill_structs): New functions.
14706
14707 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14708 for correctly sized writes. Update copyright.
14709 (get_valueof): New procedure.
14710 (get_sizeof): Call get_valueof.
14711 (check_valueof): New procedure.
14712 (check_padding): New procedure.
14713
14714 2002-02-20 Michael Chastain <mec@shout.net>
14715
14716 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14717 to setup_xfail. Document some of the remaining calls.
14718
14719 2002-02-18 Michael Chastain <mec@shout.net>
14720
14721 * gdb.c++/userdef.exp: Update copyright year.
14722
14723 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14724
14725 * gdb.c++/userdef.exp: Test overloaded operators properly.
14726 Remove xfails.
14727
14728 2002-02-14 Michael Snyder <msnyder@redhat.com>
14729
14730 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14731
14732 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14733
14734 * gdb.base/a2-run.exp: Check for a remote target properly.
14735 * gdb.base/annota1.exp: Likewise.
14736 * gdb.base/list.exp: Likewise.
14737 * gdb.base/reread.exp: Likewise.
14738 * gdb.base/scope.exp: Likewise.
14739 * gdb.base/shlib-call.exp: Likewise.
14740 * gdb.base/term.exp: Likewise.
14741 * gdb.c++/annota2.exp: Likewise.
14742
14743 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14744
14745 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14746
14747 2002-02-10 Michael Chastain <mec@shout.net>
14748
14749 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14750 (call_after_alloca): Ditto.
14751
14752 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14753
14754 * gdb.base/ending-run.exp: Guard "cont" test with
14755 gdb_skip_stdio_test.
14756
14757 2002-02-06 Jim Blandy <jimb@redhat.com>
14758
14759 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14760 from here...
14761 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14762 To here. Disable this test on non-HP platforms. Add big comment.
14763
14764 2002-02-04 Michael Snyder <msnyder@redhat.com>
14765
14766 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14767 other than d10v and m32r.
14768
14769 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14770
14771 * gdb.base/default.exp: Rewrite test patterns to reduce time
14772 taken to match them.
14773
14774 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14775
14776 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14777 Allow a start function above main.
14778 * gdb.threads/linux-dp.exp: Fix copyright date.
14779
14780 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14781
14782 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14783 (check_philosopher_stack): Check for manager thread before checking
14784 for a just-starting thread.
14785
14786 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14787
14788 From Neil Booth <neil@daikokuya.demon.co.uk>:
14789 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14790 warnings.
14791
14792 2002-01-21 Fred Fish <fnf@redhat.com>
14793
14794 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14795 not caller.
14796
14797 2002-01-21 Jim Blandy <jimb@redhat.com>
14798
14799 * gdb.base/reread.exp: Check that GDB properly re-reads the
14800 executable file when it changes while no inferior is running.
14801
14802 2002-01-21 Fred Fish <fnf@redhat.com>
14803
14804 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14805 optionally accept the "shlib events" variation.
14806
14807 2002-01-21 Jim Blandy <jimb@redhat.com>
14808
14809 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14810 call `fflush' after every `printf', so that the output is produced
14811 at predictable points, regardless of whatever buffering does (or
14812 doesn't) take place.
14813 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14814 at different points.
14815
14816 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14817
14818 * gdb.c++/inherit.exp: Update copyright years.
14819 * gdb.c++/method.exp: Likewise.
14820
14821 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14822
14823 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14824 artificial methods/arguments.
14825 * gdb.c++/derivation.exp: Likewise.
14826 * gdb.c++/inherit.exp: Likewise.
14827 * gdb.c++/method.exp: Likewise.
14828 * gdb.c++/virtfunc.exp: Likewise.
14829
14830 2002-01-18 Andrew Cagney <ac131313@redhat.com>
14831
14832 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14833 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14834 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14835 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14836 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14837 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14838
14839 2002-01-17 Jim Blandy <jimb@redhat.com>
14840
14841 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14842 anchoring the pattern matching the entry point symbol's name.
14843
14844 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14845
14846 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14847 continue/quit query. Update copyright.
14848
14849 2002-01-14 Michael Snyder <msnyder@redhat.com>
14850
14851 * gdb.base/gcore.exp: Remove extra debugging output.
14852
14853 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14854
14855 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14856 for slightly dubious v2 mangled string.
14857
14858 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14859
14860 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14861
14862 2002-01-10 Jason Merrill <jason@redhat.com>
14863
14864 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14865
14866 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14867 constructors.
14868 * gdb.c++/derivation.exp: Likewise.
14869 * gdb.c++/templates.exp: Likewise.
14870 * gdb.c++/virtfunc.exp: Likewise.
14871
14872 2002-01-10 Michael Snyder <msnyder@redhat.com>
14873
14874 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
14875
14876 2002-01-08 Michael Snyder <msnyder@redhat.com>
14877
14878 * gdb.base/gcore.exp: New test for generate-core-file command.
14879 * gdb.base/gcore.c: Testcase for above.
14880 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14881
14882 2002-01-08 Jason Merrill <jason@redhat.com>
14883
14884 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14885
14886 2002-01-07 Fred Fish <fnf@redhat.com>
14887
14888 * gdb.c++/overload.exp: Remove unconditional xfails for:
14889 print foo_instance1.overloadargs(1)
14890 print foo_instance1.overloadargs(1, 2)
14891 print foo_instance1.overloadargs(1, 2, 3)
14892 print foo_instance1.overloadargs(1, 2, 3, 4)
14893 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14894 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14895 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14896 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14897 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14898 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14899 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14900 print foo_instance1.overload1arg()
14901 print foo_instance1.overload1arg((char)arg2)
14902 print foo_instance1.overload1arg((signed char)arg3)
14903 print foo_instance1.overload1arg((unsigned char)arg4)
14904 print foo_instance1.overload1arg((int)arg7)
14905 print foo_instance1.overload1arg((unsigned int)arg8)
14906 print foo_instance1.overload1arg((float)arg11)
14907 print foo_instance1.overload1arg((double)arg12)
14908
14909 2002-01-07 Michael Snyder <msnyder@redhat.com>
14910
14911 * gdb.base/huge.exp: New test. Print a very large target data object.
14912 (skip_huge_test): New test variable. Define if you want to skip this
14913 test. The test reads an 8 megabyte data object from the target, so it
14914 might be very time consuming on remote targets with a slow connection.
14915 * gdb.base/huge.c: New file. Test case for above.
14916
14917 2002-01-07 Fred Fish <fnf@redhat.com>
14918
14919 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14920 g_instance.bfoo, and g_instance.cfoo.
14921
14922 2002-01-07 Jeffrey A Law <law@redhat.com>
14923
14924 * gdb.base/break.c (multi_line_if_conditional): New function.
14925 (multi_ilne_while_conditional): Likewise.
14926 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14927 IF or WHILE condition puts the breakpoint at the start of
14928 the condition.
14929
14930 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14931 hppa*-*-hpux* expected failure.
14932 * gdb.base/structs.exp (do_function_calls): Similarly.
14933
14934 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14935 watchpoints.
14936
14937 2002-01-06 Andrew Cagney <ac131313@redhat.com>
14938
14939 Fix PR gdb/66.
14940 * gdb.base/structs.exp: Replace skip for a29k with skip for
14941 gdb,cannot_call_functions.
14942 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
14943 * gdb.base/callfuncs.exp: Ditto.
14944 * gdb.base/call-rt-st.exp: Ditto.
14945 * gdb.base/call-strs.exp: Ditto.
14946 * gdb.base/callfwmall.exp: Ditto.
14947 * gdb.base/scope.exp: Obsolete xfail a29k.
14948 * gdb.c++/misc.exp: Ditto.
14949 * gdb.c++/cplusfuncs.exp: Ditto.
14950 * gdb.base/ptype.exp: Ditto.
14951 * gdb.base/printcmds.exp: Ditto.
14952 * gdb.base/opaque.exp: Ditto.
14953 * gdb.base/list.exp: Ditto.
14954 * gdb.base/funcargs.exp: Ditto.
14955 * gdb.base/default.exp: Ditto.
14956
14957 2002-01-04 Michael Snyder <msnyder@redhat.com>
14958
14959 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
14960 * gdb.base/maint.exp: Add tests for maint info sections options.
14961
14962 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
14963
14964 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
14965
14966 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
14967
14968 * gdb.asm/arm.inc: New file.
14969 * gdb.asm/asm-source.exp: Add arm targets.
14970 * gdb.asm/configure.in: Ditto.
14971 * gdb.asm/configure: Recreated from configure.in.
14972
14973 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
14974
14975 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
14976 with HP's compiler.
14977 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14978 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14979 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14980 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14981
14982 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14983 either HP's compilers or GCC.
14984
14985 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
14986 a SIGBUS or SIGSEGV.
14987
14988 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
14989
14990 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
14991 can be compiled with either HP's compiler or GCC.
14992
14993 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
14994 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
14995 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
14996
14997 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
14998 to match current gdb output. Update due to using auto-solib-limit
14999 for limiting instead of overloading auto-solib-add.
15000 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15001 test program.
15002
15003 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15004 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15005 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15006 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15007 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15008 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15009 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15010 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15011 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15012 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15013 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15014 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15015 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15016
15017 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15018 a SIGTRAP to the inferior.
15019
15020 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15021
15022 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15023 Substitute call to target_link by call to gdb_compile.
15024
15025 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15026
15027 * gdb.base/break.exp: Fix HP specific search string when testing
15028 backtracing in a called function.
15029
15030 * gdb.base/constvars.exp: Only set lang to C++ if we're
15031 compiling the test with HP's compilers.
15032 * gdb.base/volatile.exp: Similarly.
15033
15034 2001-12-19 Jim Blandy <jimb@redhat.com>
15035
15036 * gdb.base/printcmds.exp: Expect the null character to be printed
15037 as '\0', and the '\013' to be printed as '\v'.
15038 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15039 * gdb.base/setvar.exp: Same.
15040
15041 2001-12-17 Jim Blandy <jimb@redhat.com>
15042
15043 * gdb.base/completion.exp: Rather than completing very long
15044 filenames, which can make the readline library produce output we
15045 don't recognize, cd to the directory first, and then complete
15046 using nice, short relative paths.
15047
15048 * gdb.base/completion.exp: On some systems, there is, in fact, a
15049 variable named `b' in scope, since GDB treats all static
15050 variables as being in scope. So use `no_var_named_this'
15051 instead of `b'.
15052
15053 * gdb.base/corefile.exp: Recognize the message saying that GDB
15054 can't find the core file's registers as a failure.
15055
15056 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15057
15058 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15059 test expect string more specific.
15060
15061 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15062
15063 * gdb.asm/asm-source.exp: Add support for xstormy16.
15064 * gdb.asm/configure.in: Ditto.
15065 * gdb.asm/configure: Rebuild.
15066 * gdb.asm/xstormy16.inc: New file.
15067
15068 2001-12-10 Fred Fish <fnf@redhat.com>
15069
15070 * gdb.base/maint.exp: Update to match changes in type dumping code.
15071
15072 2001-12-10 Jim Blandy <jimb@redhat.com>
15073
15074 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15075 matching the entry point symbol's name at the beginning of the
15076 line.
15077
15078 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15079
15080 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15081 gdb.c++/inherit.exp, gdb.c++/method.exp,
15082 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15083 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15084 and class layout support.
15085
15086 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15087
15088 * gdb.c++/classes.exp: Add test for static member function.
15089 * gdb.c++/misc.cc: Add class with static member function.
15090
15091 2001-12-07 Jim Blandy <jimb@redhat.com>
15092
15093 If GDB says it can't find the struct the function returned, report
15094 those tests as `unsupported'.
15095 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15096 Rewrite subsequent tests to use it.
15097
15098 If GDB says it can't find the struct the function returned, report
15099 those tests as `unsupported'.
15100 * gdb.base/structs.exp (call_struct_func): New function.
15101 (do_function_calls): Use call_struct_func to call the functions
15102 returning structs.
15103
15104 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15105 whether functions are prototyped or not, so we can't possibly pass
15106 arguments to t_float_values2 properly.
15107
15108 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15109 value of `timeout' for targets other than the mips*tx39-*.
15110
15111 2001-12-06 Michael Snyder <msnyder@redhat.com>
15112
15113 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15114 and detect whether the start symbol has a leading underscore.
15115
15116 2001-12-04 Jim Blandy <jimb@redhat.com>
15117
15118 * gdb.base/completion.exp: Clarify indentation.
15119
15120 2001-12-03 Jim Blandy <jimb@redhat.com>
15121
15122 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15123 variables on the S/390, not `.word'.
15124
15125 2001-11-30 Jim Blandy <jimb@redhat.com>
15126
15127 Add assembly-source tests for s390-ibm-linux.
15128 * gdb.asm/s390.inc: New file.
15129 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15130 the S/390 architecture.
15131 * gdb.asm/configure: Regenerated.
15132
15133 2001-11-30 Michael Snyder <msnyder@redhat.com>
15134
15135 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15136 next, info source, info sources, info line, global and static
15137 variables, and static functions.
15138 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15139 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15140 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15141 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15142 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15143 (gdbasm_leave): Restore frame pointer.
15144 (gdbasm_startup): Copy stack set-up from crt0.S.
15145
15146 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15147
15148 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15149 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15150 to a local (non-static) variable. Copy tstruct.a to a static buffer
15151 and return a pointer to that buffer.
15152 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15153
15154 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15155
15156 * gdb.asm/configure.in: Fix recognition of ix86 target.
15157 * gdb.asm/configure: Regenerate.
15158
15159 2001-11-21 Michael Snyder <msnyder@redhat.com>
15160
15161 * gdb.asm/sparc.inc: New file.
15162 * gdb.asm/asm-source.exp: Recognize sparc target.
15163 * gdb.asm/configure.in: Recognize sparc target.
15164 * gdb.asm/configure: Regenerate.
15165
15166 2001-11-21 Michael Snyder <msnyder@redhat.com>
15167
15168 * gdb.asm/m32r.inc: New file.
15169 * gdb.asm/asm-source.exp: Recognize m32r target.
15170 * gdb.asm/configure.in: Recognize m32r target.
15171 * gdb.asm/configure: Regenerate.
15172
15173 2001-11-20 Michael Snyder <msnyder@redhat.com>
15174
15175 * gdb.asm/i386.inc: New file.
15176 * gdb.asm/asm-source.exp: Recognize ix86 target.
15177 * gdb.asm/configure.in: Recognize ix86 target.
15178 * gdb.asm/configure: Regenerate.
15179
15180 * gdb.c++/namespace.exp: Fix quotes in output messages.
15181
15182 2001-11-14 Michael Snyder <msnyder@redhat.com>
15183
15184 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15185 qualifier in a type cast expression, to designate an address
15186 in the instruction space (Harvard architecture).
15187
15188 2001-11-13 Michael Snyder <msnyder@redhat.com>
15189
15190 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15191 Tests for expressions using 'const' and 'volatile'.
15192
15193 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15194
15195 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15196
15197 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15198
15199 * lib/mi-support.exp (mi_run_to_helper): Move comments
15200 outside of gdb_expect.
15201
15202 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15203
15204 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15205 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15206 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15207 mi0_run_to): New functions.
15208 * gdb.mi/mi-simplerun.exp: Use them.
15209 * gdb.mi/mi0-simplerun.exp: Likewise.
15210 * gdb.mi/mi-var-cmd.exp: Likewise.
15211 * gdb.mi/mi0-var-cmd.exp: Likewise.
15212
15213 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15214
15215 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15216 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15217
15218 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15219
15220 * gdb.base/restore.exp: Include $expected value in restored test
15221 message.
15222
15223 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15224
15225 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15226 implemented.
15227
15228 2001-11-08 Michael Snyder <msnyder@redhat.com>
15229
15230 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15231 Add pass/fail message for stop at breakpoint in call dummy function.
15232
15233 2001-11-07 Michael Snyder <msnyder@redhat.com>
15234
15235 * gdb.c++/templates.exp (test_template_breakpoints):
15236 If we get an overload menu, but it does not match what
15237 we expect, we still need to issue the "cancel" command.
15238 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15239 making the whitespace optional. Argument for "new" may be
15240 "unsigned" as well as "unsigned int/long".
15241 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15242 making the whitespace optional. Also replace "(void) with
15243 "((void|)), making the keyword "void" optional.
15244 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15245 making the whitespace optional. Also replace "(void) with
15246 "((void|)), making the keyword "void" optional.
15247 * gdb.base/callfuncs.c (t_float_values): This function must
15248 _not_ be prototyped, and the following function (t_float_values2)
15249 must be prototyped (if the compiler supports it), so that GDB
15250 can be tested against both cases. Usually one case involves
15251 promotion of float to double, while the other does not.
15252 * gdb.base/callfwmall.c: Ditto.
15253 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15254 includes a stack frame for "start".
15255
15256 2001-11-05 Jim Blandy <jimb@redhat.com>
15257
15258 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15259 pointers are 32 bits long, and that offsets of relocs are always
15260 stored in the data (REL-style), and not in the reloc entry itself
15261 (RELA-style).
15262 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15263 stabs.
15264
15265 2001-11-01 Michael Snyder <msnyder@redhat.com>
15266
15267 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15268 and regular expression operators by using quoting.
15269
15270 2001-10-31 Michael Snyder <msnyder@redhat.com>
15271
15272 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15273 depending on what the symbol table contains.
15274 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15275 the output of the ptype command. Similarly, accept both "const &"
15276 and "const&".
15277
15278 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15279
15280 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15281 symbol `STORAGE' to allow to choose the storage class of
15282 the local datastructures.
15283 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15284 compiler directive.
15285
15286 2001-10-30 Michael Snyder <msnyder@redhat.com>
15287
15288 * gdb.base/jump.exp: Allow it to run for all targets.
15289
15290 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15291
15292 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15293 with new double_array size.
15294 (main): Change storage class of all local variables to static.
15295 Reduce size of double_array to 9.
15296 * gdb.base/call-ar-st.exp: Increase timeout value.
15297 Change expected output for double array to match new size in
15298 call-ar-st.c.
15299
15300 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15301
15302 * gdb.base/ending-run.exp: Create identical output when passing
15303 `step to end of run' case. Add regular expression branch satisfying
15304 Stormy16 target.
15305
15306 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15307
15308 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15309 that we catch the expected failure under Linux/x86.
15310
15311 2001-10-29 Orjan Friberg <orjanf@axis.com>
15312
15313 * gdb.base/setvar.exp: Escape curly braces.
15314 * gdb.stabs/weird.exp: Ditto.
15315
15316 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15317
15318 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15319 * gdm.mi/mi0-hack-cli.exp: Likewise.
15320
15321 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15322
15323 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15324 messages.
15325
15326 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15327
15328 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15329 checking MI enabled.
15330
15331 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15332
15333 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15334
15335 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15336
15337 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15338 if gdb child process crashes, just signal an error.
15339
15340 2001-10-02 Jim Blandy <jimb@redhat.com>
15341
15342 * lib/gdb.exp (test_xfail_format): Simplify.
15343
15344 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15345 front of the variable name `format'. Simplify `if'.
15346
15347 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15348
15349 * gdb.threads/pthreads.exp: Wait for output and delay
15350 before sending ^C.
15351
15352 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15353
15354 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15355 some incorrect output instead of timing out.
15356 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15357
15358 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15359
15360 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15361 check to allow additional `int'.
15362
15363 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15364
15365 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15366 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15367
15368 2001-09-27 Michael Snyder <msnyder@redhat.com>
15369
15370 * lib/gdb.exp (test_debug_format): New proc.
15371 (setup_xfail_format): Use new proc test_debug_format.
15372 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15373 proc; use new service proc test_debug_format.
15374 Replace all other "gcc_compiled" tests with this test.
15375 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15376 proc; use new service proc test_debug_format.
15377 Replace all other "gcc_compiled" tests with this test.
15378
15379 2001-09-27 Michael Snyder <msnyder@redhat.com>
15380
15381 * gdb.base/cvexpr.exp: New file.
15382 * gdb.base/cvexpr.c: New file
15383 Test for expressions using const and volatile keywords.
15384
15385 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15386
15387 * gdb.base/constvars.exp: Check for different orders of keywords
15388 and additional "int" strings in output.
15389
15390 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15391
15392 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15393 responses from "help maint".
15394
15395 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15396
15397 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15398 to localhost:NNN instead of :NNN, in case Xvfb is listening
15399 only on TCP.
15400
15401 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15402
15403 * gdb.base/recurse.exp: When checking leaving the watchpoint
15404 scope, recognize when gdb is in function's epilogue and pass.
15405
15406 2001-09-18 Keith Seitz <keiths@redhat.com>
15407
15408 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15409 support for running tests against sid targets.
15410 (gdbtk_done): Ditto.
15411
15412 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15413
15414 * gdb.base/ending-run.c (main): Set stdout buffersize
15415 to the same reasonable value for any target.
15416 * gdb.base/ending-run.exp: Add a regular expression
15417 to make testsuite happy on Sanyo Stormy16 target.
15418
15419 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15420
15421 * gdb.base/display.c (do_loops): Add float variable `f'.
15422 Increment f in loop.
15423 * gdb.base/display.exp: Increment timeout by 60 seconds.
15424 Change float display test to use variable `f'.
15425
15426 2001-09-17 Jim Blandy <jimb@redhat.com>
15427
15428 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15429 overflowing the limited breakpoint tables on some ROM monitors
15430 (like the ROM68K).
15431
15432 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15433
15434 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15435 the "-ac" (disable access control) flag.
15436
15437 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15438
15439 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15440 ints.
15441
15442 2001-08-30 Keith Seitz <keiths@redhat.com>
15443
15444 * lib/gdb.exp: Move all insight-related functionality into
15445 separate file.
15446 * lib/insight-support.exp: New file.
15447
15448 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15449
15450 * config/sid.exp (sid_start): Never set sid verbosity; disable
15451 expect_background {} that consumed its stdout; tolerate </dev/null.
15452 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15453
15454 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15455
15456 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15457 CLI jump command to start it.
15458 (mi_run_to_main): Fail immediatly when unexpected output.
15459
15460 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15461
15462 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15463 beginning of function. Fix PR gdb/191.
15464
15465 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15466
15467 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15468 what to force sid endianness to.
15469
15470 2001-08-15 Keith Seitz <keiths@redhat.com>
15471
15472 * lib/gdb.exp (gdbtk_start): Don't set environment
15473 variables for TCL_LIBRARY and friends. Insight will
15474 now figure these out for itself.
15475
15476 2001-08-02 Michael Snyder <msnyder@redhat.com>
15477
15478 * gdb.base/completion.exp: Remove the symbol "a64l" from
15479 the expect string; this is target-specific, and not related
15480 to what is being tested.
15481
15482 2001-08-02 Dave Brolley <brolley@redhat.com>
15483
15484 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15485
15486 2001-07-25 Michael Snyder <msnyder@redhat.com>
15487
15488 * gdb.base/consecutive.exp: New file. Test stepping over
15489 breakpoints on consecutive instructions.
15490 * gdb.base/consecutive.c: New file.
15491
15492 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15493 curly braces in regular expressions.
15494
15495 2001-07-25 Michael Snyder <msnyder@redhat.com>
15496
15497 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15498 legitimate output from stepping out of main.
15499
15500 2001-07-22 Keith Seitz <keiths@redhat.com>
15501
15502 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15503 the empty string, do not run the tests.
15504
15505 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15506
15507 * gdb.base/long_long.exp: Detect size of pointer. Take into
15508 account 2-byte pointers when testing for p/a results.
15509
15510 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15511
15512 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15513 and defined to 1K for m68hc11.
15514 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15515 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15516 (sizeof_random_data): New variable to tell the size of the data table;
15517 don't test past this size; always run to main.
15518
15519 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15520
15521 * gdb.base/return2.exp: return of long long and double fails for
15522 68HC11; don't execute these tests on that platform.
15523 * gdb.base/return.exp: Return of a double fails for 68hc11.
15524
15525 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15526
15527 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15528 tests that print a float.
15529 * call-rt-st.exp: Likewise.
15530
15531 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15532
15533 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15534 running this test on Linux.
15535
15536 2001-06-24 Michael Chastain <chastain@redhat.com>
15537
15538 * gdb.base/arithmet.exp: Remove some tests to make all test names
15539 unique.
15540
15541 2001-07-03 Michael Snyder <msnyder@redhat.com>
15542
15543 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15544 the output of the ptype command.
15545
15546 2001-07-02 Michael Snyder <msnyder@redhat.com>
15547
15548 * gdb.base/completion.exp: Don't assume that break.c is the only
15549 source file that may contain functions named "marker".
15550 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15551
15552 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15553
15554 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15555 of files to delete.
15556
15557 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15558 * gdb.disasm/h8300s.exp: New file.
15559 gdb.disasm/h8300s.s: Likewise.
15560
15561 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15562
15563 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15564 empty breakpoint tables.
15565
15566 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15567
15568 * lib/mi-support.exp: Update args=... part of stop-reason
15569 patterns. Accept either a list or a tuple.
15570
15571 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15572
15573 * lib/mi-support.exp: Remove local emacs variable defining
15574 change-log-default-name.
15575
15576 2001-06-22 Michael Chastain <chastain@redhat.com>
15577
15578 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15579 This is operationally compatible with the previous version.
15580
15581 2001-06-13 Jim Blandy <jimb@redhat.com>
15582
15583 * lib/gdb.exp (gdb_test): Doc fix.
15584
15585 2001-06-10 Michael Chastain <chastain@redhat.com>
15586
15587 * gdb.base/exprs.exp: Remove a duplicate test.
15588
15589 2001-06-06 Jim Blandy <jimb@redhat.com>
15590
15591 * gdb.base/return2.exp (main): Use values to test float and double
15592 returns that are not NaN's, to avoid being confused by IEEE
15593 comparison rules.
15594
15595 2001-06-04 Michael Snyder <msnyder@redhat.com>
15596
15597 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15598 non-zero if control_c fails. Terminate the test on failure,
15599 rather than wait for 12 more tests to time out.
15600
15601 2001-06-06 Jim Blandy <jimb@redhat.com>
15602
15603 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15604 Don't forget to match the GDB prompt.
15605
15606 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15607
15608 2001-06-04 Jim Blandy <jimb@redhat.com>
15609
15610 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15611 command.
15612
15613 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15614
15615 * gdb.base/annota1.exp (info break): Match four or more spaces
15616 after "Address".
15617
15618 2001-05-31 Michael Chastain <chastain@redhat.com>
15619
15620 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15621 (dm_type_int_star): Likewise.
15622 (dm_type_long_star): Likewise.
15623 (dm_type_void_star): Likewise.
15624
15625 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15626
15627 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15628 to a known value in order to get consistent results regardless
15629 of the setting of INPUTRC or the presence or contents of .inputrc.
15630
15631 2001-05-24 Michael Snyder <msnyder@redhat.com>
15632
15633 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15634 Don't require that the main thread and the manager thread are the
15635 first in the list.
15636
15637 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15638 debugging. If test fails, issue an "unsupported" not a "fail".
15639
15640 2001-05-24 Jim Blandy <jimb@redhat.com>
15641
15642 Don't assume that short is shorter than int.
15643 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15644 assume that shorts are smaller than ints. On a 16-bit machine,
15645 this isn't true.
15646 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15647 an int, is not equal to ~0 stored in an unsigned char. This tests
15648 the same thing that the previous test meant to, but works on
15649 16-bit machines, too.
15650 ("print unsigned char != (~0)"): Same test, complemented.
15651
15652 2001-05-24 Michael Snyder <msnyder@redhat.com>
15653
15654 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15655 test for (full_coverage == 0). This makes the test run faster,
15656 and prevents dejagnu getting out of step.
15657
15658 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15659
15660 * gdb.base/finish.exp (finish_void): Revise pattern for
15661 stopping on the call statement to not permit stopping at
15662 the start of the instructions comprising the call sequence.
15663
15664 2001-05-19 Michael Chastain <chastain@redhat.com>
15665
15666 * gdb.base/callfuncs.exp: Make all test names unique.
15667 * gdb.base/commands.exp: Make all test names unique.
15668 * gdb.base/condbreak.exp: Make all test names unique.
15669 * gdb.base/dbx.exp: Make all test names unique.
15670 * gdb.base/default.exp: Make all test names unique.
15671 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15672 and TIMEOUT messages to their corresponding PASS message.
15673 * gdb.base/ending-run.exp: Make all test names unique.
15674 * gdb.base/long_long.exp: Remove duplicate test.
15675
15676 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15677
15678 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15679 stop on the call statement as well as the statement after the
15680 call.
15681
15682 2001-05-21 Michael Snyder <msnyder@redhat.com>
15683
15684 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15685
15686 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15687
15688 * gdb.base/completion.exp: Revamp test. Make it execute on all
15689 platforms.
15690
15691 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15692
15693 * config/gdbserver.exp (gdb_load): Handle the case
15694 in which the arguments to gdbserver are given in the
15695 baseboard configuration file.
15696 Also handle the case in which the server needs to do a
15697 load.
15698
15699 2001-05-07 Keith Seitz <keiths@cygnus.com>
15700
15701 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15702 set up the display for testing.
15703 (gdbtk_start): Convert all paths to paths that tcl will like.
15704 Export target information to environment.
15705 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15706 necessary.
15707 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15708 (to_tcl_path): New proc to convert a given pathname into
15709 a path acceptible as an argument to a tcl command.
15710 (_gdbtk_export_target_info): New proc to export target info
15711 into the environment for gdbtk testing.
15712 (gdbtk_done): New proc to signal end-of-test.
15713
15714 2001-05-06 Jim Blandy <jimb@redhat.com>
15715
15716 * restore.c: Make the code of caller0 correspond to its comment.
15717
15718 2001-05-03 Michael Snyder <msnyder@redhat.com>
15719
15720 * config/sid.exp (gdb_target_sid): Check for error messages.
15721 On error or timeout, don't make expect exit (which will terminate
15722 all subsequent tests); instead just make gdb exit.
15723 (gdb_load): Check for error messages. On error or timeout,
15724 return a negative value.
15725
15726 2001-04-24 Jim Blandy <jimb@redhat.com>
15727
15728 * gdb.c++/templates.exp: If we see the prompt for the overload
15729 list, but we haven't recognized any of the longer patterns,
15730 arrange for this test to fail, not hang.
15731
15732 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15733 variations.
15734
15735 2001-04-22 Michael Chastain <chastain@redhat.com>
15736
15737 * gdb.c++/local.exp: Use the 'runto' library function.
15738 * gdb.c++/namespace.exp: Likewise.
15739 * gdb.c++/overload.exp: Likewise.
15740
15741 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15742
15743 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15744 * gdb.base/step-line.exp: New file. Test step/next in presence of
15745 #line directives.
15746 * gdb.base/step-line.c: New file. Test program for the above.
15747 * gdb.base/step-line.inp: New file. We pretend that this file has
15748 been transformed by some other tool into step-line.c.
15749
15750 2001-03-21 Jim Blandy <jimb@redhat.com>
15751
15752 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15753 unmangled operator names.
15754
15755 2001-03-20 Jim Blandy <jimb@redhat.com>
15756
15757 * gdb.threads/linux-dp.exp: Recognize an additional message
15758 generated by GDB when it doesn't understand how to debug threads
15759 on the target system.
15760
15761 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15762
15763 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15764
15765 2001-03-12 Michael Chastain <chastain@redhat.com>
15766
15767 * gdb.c++/derivation.exp: Use the 'runto' library function.
15768
15769 2001-03-12 Michael Chastain <chastain@redhat.com>
15770
15771 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15772
15773 2001-02-24 Michael Chastain <chastain@redhat.com>
15774
15775 * gdb.c++/ref-types.exp: Change handwritten code to library
15776 function 'runto'.
15777
15778 2001-03-16 Orjan Friberg <orjanf@axis.com>
15779
15780 * gdb.base/signals.exp: Set count to 0 explicitly.
15781
15782 2001-03-15 Mark Salter <msalter@redhat.com>
15783
15784 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15785 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15786 (gdb_load): Add support for additional target_info: gdb_download_size
15787 and gdb_load_timeout.
15788
15789 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15790
15791 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15792 file -- to prevent failing when the compile fails but we have no
15793 intention of running the tests anyway.
15794
15795 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15796 tests if set.
15797
15798 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15799 integers.
15800
15801 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15802 * gdb.c++/namespace.exp: Ditto.
15803
15804 2001-03-07 Orjan Friberg <orjanf@axis.com>
15805
15806 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15807 * gdb.base/pointers.exp: Relax pattern match of decimals.
15808
15809 2001-03-06 Kevin Buettner <kevinb@redhat.com>
15810
15811 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15812 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15813 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15814 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15815 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15816 config/sh.exp, config/sid.exp, config/slite.exp,
15817 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15818 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15819 config/vxworks.exp, config/vxworks29k.exp,
15820 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15821 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15822 gdb.base/arithmet.exp, gdb.base/assign.exp,
15823 gdb.base/async.exp, gdb.base/attach.exp,
15824 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15825 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15826 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15827 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15828 gdb.base/commands.exp, gdb.base/completion.exp,
15829 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15830 gdb.base/constvars.exp, gdb.base/corefile.exp,
15831 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15832 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15833 gdb.base/ending-run.exp, gdb.base/environ.exp,
15834 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15835 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15836 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15837 gdb.base/funcargs.exp, gdb.base/help.exp,
15838 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15839 gdb.base/logical.exp, gdb.base/long_long.exp,
15840 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15841 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15842 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15843 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15844 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15845 gdb.base/regs.exp, gdb.base/relational.exp,
15846 gdb.base/remote.exp, gdb.base/reread.exp,
15847 gdb.base/restore.exp, gdb.base/return2.exp,
15848 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15849 gdb.base/selftest.exp, gdb.base/setshow.exp,
15850 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15851 gdb.base/sigall.exp, gdb.base/signals.exp,
15852 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15853 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15854 gdb.base/step-test.exp, gdb.base/structs.c,
15855 gdb.base/structs.exp, gdb.base/structs2.exp,
15856 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15857 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15858 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15859 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15860 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15861 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15862 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15863 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15864 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15865 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15866 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15867 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15868 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15869 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15870 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15871 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15872 gdb.trace/circ.exp, gdb.trace/collection.exp,
15873 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15874 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15875 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15876 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15877 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15878 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15879 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15880 notices.
15881
15882 2001-02-27 Michael Snyder <msnyder@cygnus.com>
15883
15884 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15885 first arg is int not float.
15886
15887 2001-02-22 Michael Snyder <msnyder@cygnus.com>
15888
15889 * gdb.base/reread.exp: Unsupported for non-native targets;
15890 doesn't work for remote debugging.
15891
15892 2001-02-19 Fernando Nasser <fnasser@redhat.com>
15893
15894 From Drew Moseley <dmoseley@redhat.com>
15895 * gdb.base/ending-run.exp: Properly handle the BSP state when
15896 stepping past the end of main.
15897
15898 2001-02-19 John Moore <jmoore@redhat.com>
15899
15900 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15901 Converted HPUX fix for non-expected items following multiple
15902 step commands into general solution for all platforms.
15903
15904 2001-02-18 Michael Chastain <chastain@redhat.com>
15905
15906 * gdb.c++/classes.exp (do_tests): Change runto statements
15907 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15908 statements demangler agnostic.
15909 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15910 (gdb_virtfunc_restart): Likewise.
15911
15912 2001-02-14 Michael Chastain <chastain@redhat.com>
15913
15914 * gdb.c++/inherit.exp (do_tests): Change runto statements
15915 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15916 statements demangler agnostic.
15917
15918 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15919
15920 * gdb.threads/pthreads.exp: Unify pass/fail messages for
15921 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15922 before calling common_routine 15 times'' tests.
15923
15924 2001-02-11 Michael Chastain <chastain@redhat.com>
15925
15926 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15927 Helps the test script figure out which demangler is in use.
15928 (dm_type_foo_ref): Ditto.
15929 (dm_type_int_star): Ditto.
15930 (dm_type_long_star): Ditto.
15931 (dm_type_unsigned_int): Ditto.
15932 (dm_type_void): Ditto.
15933 (dm_type_void_star): Ditto.
15934 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
15935 Probe the gdb demangler and set variables to accommodate
15936 formatting differences.
15937 (info_func_regexp): New function. Same as info_func, but
15938 matches against a regexp.
15939 (info_func): Match against a literal string.
15940 (print_addr_2): New function. Match against a literal string,
15941 which can be different from the input to gdb.
15942 (print_addr): Simply call print_addr_2 with the same argument twice.
15943 (test_lookup_operator_functions): Use demangler formatting variables.
15944 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
15945 the tests in the same order as the C++ class declaration.
15946 (test_paddr_operator_functions): Ditto.
15947 (test_paddr_overloaded_functions): Ditto.
15948 (test_paddr_hairy_functions): Use demangler formatting variables.
15949 Add reference to gdb/19 for related tests.
15950 (do_tests): Call probe_demangler.
15951
15952 2001-01-30 Kevin Buettner <kevinb@redhat.com>
15953
15954 * gdb.c++/templates.cc (printf): Remove unused function definition.
15955
15956 2001-01-26 Felix Lee <flee@redhat.com>
15957
15958 * sid.exp (sid_exit): Pass host, not target, to remote_close.
15959
15960 2001-01-25 matthew green <mrg@redhat.com>
15961
15962 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
15963 up sid.
15964 (sid_exit): Call `remote_pop_conn' after GDB is gone.
15965
15966 2001-01-25 matthew green <mrg@redhat.com>
15967
15968 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
15969 Deprecate $sid_spawn_id.
15970 (sid_exit): Remove code necessary only for `spawn.'
15971
15972 2001-01-25 matthew green <mrg@redhat.com>
15973
15974 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15975
15976 2001-01-28 Michael Chastain <chastain@redhat.com>
15977
15978 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
15979 to call when tests fail. It takes gdb out of the overloaded
15980 function choice menu back to the main prompt, so that the test
15981 program stays synchronized.
15982 (set_bp_overloaded): New proc to collect all the common
15983 code for setting a breakpoint on an overloaded name. Calls
15984 take_gdb_out_of_choice_menu when needed.
15985 (menu_overload1arg): New variable to collect the repeated
15986 instances of the expected menu for an overloaded name. Change
15987 the regular expression to handle changes in g++ type encoding:
15988 "void" can be either "void" or "", and "unsigned int" can be
15989 either "unsigned int" or "unsigned".
15990 (continue_to_bp_overloaded): Change regular expressions to handle
15991 changes in g++ type encoding.
15992 (no proc): Call take_gdb_out_of_choice_menu when needed.
15993 Remove redundant calls to "info break". Accept either "canceled"
15994 or "cancelled". Change regular expressions in "info break"
15995 calls to handle changes in g++ type encoding. Give all tests
15996 unique strings.
15997
15998 2001-01-17 Ben Elliston <bje@redhat.com>
15999
16000 * config/sid.exp: New file.
16001
16002 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16003
16004 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16005
16006 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16007
16008 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16009 Add a RE to accept a non-ascii char if one is ever presented.
16010
16011 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16012
16013 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16014
16015 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16016
16017 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16018 in regexp. One '\' does not suffice on Linux.
16019
16020 2000-12-09 Michael Chastain <chastain@redhat.com>
16021
16022 * gdb.base/break.exp (test_clear_command): Use a marker function
16023 rather than 'main' for the test function. Also move this
16024 test to an execution point where the marker function names are
16025 guaranteed to be bound to functions. (Executing tests after a
16026 'finish' from main runs into name conflicts with local names
16027 in __libc_start_main).
16028
16029 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16030
16031 * gdb.base/finish.exp: New test for gdb's "finish" command.
16032 * gdb.base/return2.exp: New test for gdb's "return" command.
16033 * gdb.base/return2.c: New source file for above.
16034
16035 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16036
16037 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16038 * gdb.base/miscexprs.exp: Ditto.
16039 * gdb.base/pointers.exp: Ditto.
16040 * gdb.c++/derivation.exp: Ditto.
16041 * gdb.c++/local.exp: Ditto.
16042 * gdb.c++/namespace.exp: Ditto.
16043 * gdb.c++/overload.exp: Ditto.
16044 * gdb.c++/ref-types.exp: Ditto.
16045
16046 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16047
16048 * gdb.base/constvars.exp: Test result of "up" command.
16049 * gdb.base/miscexprs.exp: Ditto.
16050 * gdb.base/pointers.exp: Ditto.
16051 * gdb.base/scope.exp: Ditto.
16052 * gdb.c++/derivation.exp: Ditto.
16053 * gdb.c++/local.exp: Ditto.
16054 * gdb.c++/namespace.exp: Ditto.
16055 * gdb.c++/overload.exp: Ditto.
16056 * gdb.c++/ref-types.exp: Ditto.
16057
16058 2000-11-22 Michael Chastain <chastain@redhat.com>
16059
16060 * mips_pro.exp: Accept either "middle -> top -> main" or
16061 "middle -> main" in the backtrace, because gcc can optimize
16062 tail calls to jumps. Remove setup_xfail for the hppa case.
16063 Add a comment with the original warning messages from PR 3016,
16064 which was filed in 1993, to preserve them for posterity.
16065
16066 2000-11-17 Nick Duffek <nsd@redhat.com>
16067
16068 * lib/gdb.exp (gdb_test): Override timeout with board info.
16069
16070 2000-11-17 Nick Duffek <nsd@redhat.com>
16071
16072 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16073 the second kill and detach messages.
16074
16075 2000-11-17 Nick Duffek <nsd@redhat.com>
16076
16077 * configure.in: Add AC_EXEEXT.
16078 * configure: Regenerate.
16079 * Makefile.in (just-check): Export EXEEXT.
16080 * lib/gdb.exp ($EXEEXT): Import from environment.
16081 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16082 expect "maint dump-me" on Cygwin.
16083 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16084 $EXEEXT.
16085
16086 2000-11-17 Nick Duffek <nsd@redhat.com>
16087
16088 * gdb.base/break.exp: Test backtrace and finish from called
16089 function on all platforms, not just HP-UX.
16090
16091 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16092
16093 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16094 code from gdb_target_monitor, so it can be used independantly
16095 for gdbserver. Also comment out an unnecessary PUTS.
16096
16097 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16098
16099 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16100 * gdb.base/corefile.exp: Expect the message "Program is being
16101 debugged already" when we send the "corefile" command, since
16102 the preceeding gdb_load may have connected gdb to a remote target.
16103 * gdb.base/display.exp: Disable hardware watchpoints if new
16104 board info variable "no_hardware_watchpoints" is true.
16105 Replace single-letter commands with more readable ones.
16106 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16107 if new board info variable "no_hardware_watchpoints" is true.
16108 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16109 to see if stdio (printf) testing is possible.
16110 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16111 board info variable "no_hardware_watchpoints" is true. Use new
16112 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16113
16114 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16115
16116 From Orjan Friberg <orjanf@axis.com>:
16117 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16118 in array print pattern match.
16119
16120 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16121
16122 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16123 spelling "cancelled" to U.S. spelling "canceled" to match changes
16124 made to gdb.
16125 * gdb.c++/ovldbreak.exp: Ditto.
16126
16127 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16128
16129 * gdb.base/callfuncs.c (main): Moved to end of file, call
16130 t_double_values to initialize the FPU before inferior calls are made.
16131 * gdb.base/callfuncs.exp: Test for register preservation after calling
16132 inferior functions. Add tests for continuining, finishing and
16133 returning from a stop in a call dummy.
16134
16135 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16136
16137 * gdb.base/commands.exp: Break up long lines, and re-indent.
16138
16139 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16140
16141 * config/gdbserver.exp: Rewritten from the ground up, to make it
16142 compatible with the current dejagnu tree, and to make it work with
16143 the new "gdbserver" in libremote.
16144
16145 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16146
16147 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16148 * gdb.base/varargs.exp: Skip entire test if no printf support.
16149 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16150 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16151
16152 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16153
16154 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16155 no floating point support.
16156 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16157 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16158 * gdb.base/call-rt-st.exp: Ditto.
16159 * gdb.base/call-strs.exp: Ditto.
16160
16161 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16162
16163 * gdb.base/sizeof.c: include <stdio.h>.
16164
16165 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16166 'finish', otherwise uncaptured gdb_prompt would potentially
16167 throw remaining test points out of sync.
16168
16169 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16170
16171 * gdb.base/recurse.exp: Run tests for all targets.
16172 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16173 gnu-oldld case on ARM.
16174 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16175 for ARM targets.
16176
16177 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16178
16179 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16180 * gdb.java/configure: Rebuild.
16181
16182 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16183
16184 * gdb.java/jv-exp.exp: New file.
16185
16186 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16187
16188 * configure: Rebuilt.
16189 * configure.in (configdirs): Add gdb.java.
16190 * gdb.java/jmisc.java: New file.
16191 * gdb.java/jmisc.exp: New file.
16192 * gdb.java/Makefile.in: New file.
16193 * gdb.java/configure: Rebuilt.
16194 * gdb.java/configure.in: New file.
16195 * lib/java.exp: New file.
16196
16197 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16198
16199 * gdb.base/exprs.exp: Test casts to a pointer including over and
16200 underflow.
16201
16202 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16203
16204 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16205 and the compilers sizes.
16206
16207 2000-07-09 Nick Duffek <nsd@redhat.com>
16208
16209 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16210 (use_methods): New function.
16211 (main): Call use_methods().
16212 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16213 (do_tests): Call test_method_param_class.
16214
16215 2000-07-09 Nick Duffek <nsd@redhat.com>
16216
16217 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16218 spelling.
16219 (test_enums): New procedure. Move enum tests from end of script
16220 to here. Set breakpoint on function name instead of line number.
16221 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16222 (enums2): New marker function.
16223 (enums1): New function.
16224 (main): Call enums1(). Move enum tests to enums1().
16225
16226 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16227
16228 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16229 compile/link program. Update line numbers.
16230 * gdb.asm/d10v.inc: Define ``startup''.
16231 * gdb.asm/asmsrc1.s: Add definition of _start.
16232
16233 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16234
16235 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16236
16237 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16238
16239 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16240 of 'help maint print' command.
16241
16242 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16243
16244 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16245 they use gdb_expect_list.
16246
16247 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16248
16249 * gdb.base/commands.exp: Use ``set remote
16250 memory-read-packet-size'' instead of ``set endian big'' to test
16251 long commands.
16252
16253 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16254
16255 * gdb.c++/templates.exp (do_tests): Make all of these work under
16256 g++, and stop skipping them.
16257
16258 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16259 work under g++.
16260
16261 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16262 initialization.
16263
16264 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16265
16266 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16267 the regular expression: accept an (almost) arbitrary sequence of
16268 "frames-invalid" and "breakpoints-invalid" messages both before
16269 and after the "starting" message.
16270
16271 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16272
16273 * gdb.c++/local.exp: This test has never been known to work with g++.
16274
16275 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16276
16277 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16278 Relax the regular expression a little, make it pass on Solaris 8.
16279
16280 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16281
16282 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16283 a call, do not require that gdb stop on the line after the call.
16284 Instead, it is permissible for gdb to stop on the line of the
16285 call itself.
16286
16287 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16288
16289 * gdb.base/break.exp (bp on small function, optimized file):
16290 Add a second pass pattern. The behavior differs here between stabs
16291 and dwarf for one-line functions. Stabs preserves two line symbols
16292 (one before the prologue and one after) with the same line number,
16293 but dwarf regards these as duplicates and discards one of them.
16294 Therefore the address after the prologue (where the breakpoint is)
16295 has no exactly matching line symbol, and GDB reports the breakpoint
16296 as if it were in the middle of a line rather than at the beginning.
16297
16298 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16299
16300 * gdb.base/interrupt.exp: Make "pass" message say "send"
16301 rather than "send_gdb" (for consistancy).
16302
16303 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16304
16305 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16306 * gdb.c++/templates.cc: Properly check for GCC version number.
16307 * lib/compiler.cc: Likewise
16308
16309 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16310
16311 * gdb.base/break.exp: When compiled with -O2 optimization,
16312 gdb may not stop at the first line of main, due to code motion.
16313
16314 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16315
16316 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16317 This test depends on parsing the printf output from the target.
16318 Since the sparclet stub doesn't do stdio, this will never work.
16319 * gdb.base/call-rt-st.exp: ditto.
16320 * gdb.base/call-strs: ditto.
16321
16322 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16323
16324 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16325
16326 * gdb.base/ending-run.exp: After connecting to a remote target,
16327 but before running, the target will appear to be in a random
16328 location. Specify both a file and a line for breakpoints.
16329 Also, the function that calls main may be called 'init'
16330 rather than 'start'.
16331
16332 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16333
16334 * gdb.base/help.exp: Update output for add-symbol-file command.
16335
16336 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16337
16338 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16339 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16340
16341 2000-04-07 J.T. Conklin <jtc@redback.com>
16342
16343 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16344
16345 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16346
16347 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16348
16349 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16350 values that can be represented exactly.
16351 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16352 above change, and to not check against the directory part of the source
16353 file name.
16354 (step into print_long_arg_list): Likewise.
16355 (print print_small_structs from print_long_arg_list): Likewise.
16356 (print print_long_arg_list): Likewise.
16357
16358 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16359
16360 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16361
16362 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16363
16364 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16365
16366 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16367
16368 * gdb.base/commands.exp (deprecated_command_test): Add test for
16369 deprecate with no arguments.
16370
16371 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16372
16373 * gdb.base/break.exp: Add new test for setting breakpoints on
16374 optimized code so we can test breakpoints work even when function
16375 prologues may be optimized away
16376
16377 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16378
16379 From David Whedon <dwhedon@gordian.com>
16380 * gdb.base/commands.exp : Added command deprecator tests.
16381
16382 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16383
16384 * gdb.base/help.exp: Added test for new apropos command.
16385
16386 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16387
16388 * gdb.base/pointers.c (usevar): New function.
16389 (main): Make sure that global variables v_int_pointer2, rptr,
16390 and y are all referenced someplace in the program by calling
16391 usevar() on them. [Some linkers delete symbols which are
16392 never referenced. The space remains, but there's no way to
16393 get a (symbolic) handle on the variable from the debugger.]
16394
16395 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16396
16397 * gdb.base/printcmds.c: Add typedeffed arrays.
16398
16399 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16400 procedure to test arrays that are typedef'd.
16401
16402 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16403
16404 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16405 the library directories.
16406
16407 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16408
16409 * configure.in (configdirs): Add sub directory gdb.mi.
16410 * configure: Re-generate.
16411
16412 * gdb.mi: New directory.
16413
16414 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16415
16416 * gdb.base/long_long.exp: Correct test suite failure when printing
16417 a long long value as a double on ARM platforms.
16418
16419 2000-02-16 Jim Blandy <jimb@redhat.com>
16420
16421 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16422 default source file is set properly before running this test.
16423
16424 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16425
16426 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16427 gdbtk/library directory, not in gdbtcl2.
16428
16429 2000-02-04 Jim Blandy <jimb@redhat.com>
16430
16431 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16432 backslash from regexp pattern.
16433
16434 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16435 procedure. Use it to run all the "continue to bp overloaded"
16436 tests. Note that this changes the names of the tests slightly.
16437 If the breakpoint hit message includes a hex PC value, because
16438 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16439 from the real source code, still consider that a pass.
16440
16441 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16442 XFAIL here if the breakpoint message contains a hex address. Note
16443 similar change on 1999-11-02.
16444
16445 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16446
16447 * gdb.base/ptype.exp: Establish a default source file before
16448 calling get_debug_format.
16449
16450 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16451
16452 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16453
16454 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16455
16456 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16457 of successive stepi commands -- while in the prologue we should see
16458 the function entry bracket.
16459
16460 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16461
16462 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16463 reach __change_mode() when stepping through the end of main().
16464
16465 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16466
16467 * gdb.base/default.exp: Fix expected pattern.
16468 * gdb.base/help.exp: Same.
16469
16470 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16471
16472 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16473 Don't use xfail's because that affects only the following test.
16474
16475 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16476 solaris or linux.
16477
16478 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16479
16480 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16481
16482 * gdb.base/display.exp: Some yacc parsers like to say
16483 "A syntax error" rather than "A parse error". Accept both.
16484
16485 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16486
16487 * gdb.base/default.exp: Remove OS dependent string from "target
16488 remote" test.
16489 * gdb.base/help.exp: Same for "help target remote" test.
16490
16491 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16492
16493 From Jim Kingdon <kingdon@redhat.com>:
16494
16495 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16496 prompt (cleanup rather than necessity, but still might keep output
16497 from spilling to next test).
16498
16499 2000-01-02 Fred Fish <fnf@cygnus.com>
16500
16501 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16502 AIX, which defines them in <sys/types.h>.
16503
16504 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16505
16506 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16507 float" test.
16508
16509 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16510
16511 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16512
16513 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16514 outermost frame disallowed".
16515
16516 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16517
16518 * gdb.base/setvar.exp: New tests for setting the value of a struct
16519 with a constant list.
16520
16521 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16522
16523 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16524 require the user to type a cast before setting the value of a struct.
16525
16526 1999-12-06 Jim Blandy <jimb@cygnus.com>
16527
16528 * gdb.base/default.exp: Expect the new 'info float' command on
16529 all i386 platforms.
16530
16531 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16532 LinuxThreads libraries that don't support debugging.
16533
16534 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16535
16536 * gdb.base/remote.c: Fill the buffer with truely random data.
16537 Change the buffer type to ``unsigned char'' to simplify size
16538 arithmetic.
16539
16540 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16541 stub only handles 400-1 byte packets. Verify that the download
16542 worked.
16543
16544 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16545
16546 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16547 tests, using UNRESOLVED for the untested cases. Also, does not wait
16548 for a timeout if the prompt was received before a recognizable pattern.
16549
16550 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16551
16552 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16553
16554 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16555
16556 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16557 watchpoints.
16558
16559 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16560
16561 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16562
16563 * gdb.c++/local.exp: Be more flexible in recognizing local class
16564 name mangling. Don't allow horribly truncated method names.
16565 * gdb.c++/derivation.exp: Expect protected inheritance.
16566 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16567 * gdb.c++/virtfunc.exp: Likewise.
16568 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16569 when printing a nested enum.
16570
16571 1999-11-22 Jim Blandy <jimb@cygnus.com>
16572
16573 * gdb.base/step-test.exp: Properly await GDB's response to setting
16574 a breakpoint on the call to large_struct_by_value.
16575
16576 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16577 just because we have debug info for the `start' function.
16578
16579 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16580
16581 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16582 "Unknown signal" messages, which indicate (on LinuxThreads) that
16583 GDB doesn't know how to debug threads on this system. This is
16584 better than hanging while philosopher 0 dumps chatter into gdb.log.
16585
16586 1999-11-18 Tom Tromey <tromey@cygnus.com>
16587
16588 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16589
16590 1999-11-18 Fred Fish <fnf@cygnus.com>
16591
16592 * gdb.base/coremaker2.c: Add sample program for generating
16593 cores that is more self contained than coremaker.c. Eventually
16594 I'll add more code to this and tie it into the testsuite.
16595
16596 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16597
16598 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16599
16600 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16601
16602 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16603 from $srcdir/lib/.
16604 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16605 and gdb.c++/.
16606
16607 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16608
16609 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16610 'continue with watch' test point.
16611
16612 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16613
16614 Merged from p2linux-990323-branch:
16615
16616 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16617
16618 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16619
16620 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16621 {limit,fixed}''. Test ``set download-write-size''.
16622
16623 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16624
16625 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16626 gdb_expect_list.
16627
16628 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16629
16630 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16631
16632 1999-11-03 Mark Salter <msalter@cygnus.com>
16633
16634 * gdb.base/break.exp: Fix "stub continue" pattern.
16635
16636 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16637
16638 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16639
16640 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16641
16642 * gdb.base/display.exp ("finish"): Add timeout clause.
16643
16644 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16645 plain prompt clause, so this doesn't have to time out in order to
16646 fail.
16647
16648 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16649 breakpoint hit messages include an address.
16650
16651 * gdb.base/display.exp: Don't forget to escape parens in regular
16652 expressions. Unix regexp notatation sucks.
16653
16654 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16655
16656 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16657 order for 'signalled' message.
16658
16659 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16660
16661 From Jimmy Guo <guo@cup.hp.com>:
16662 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16663 * gdb.base/annota1.c: Add code for tests to work with.
16664
16665 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16666
16667 * gdb.base/remote.exp: New test for remote downloading settings.
16668 * gdb.base/remote.c: New file with large .data.
16669
16670 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16671
16672 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16673 for LinuxThreads support, merged from the Code Fusion branch.
16674
16675 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16676
16677 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16678 containing exp_continue into a while within an expect. Don't
16679 attempt a start more than three times. Check return value from
16680 gdb_load.
16681
16682 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16683
16684 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16685 a pass case.
16686
16687 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16688
16689 * gdb.base/break.c (main): Added a statement that we can step
16690 off of.
16691 * gdb.base/break.exp: Added tests for setting a breakpoint
16692 at an offset and stepping onto a breakpoint.
16693
16694 1999-10-01 Fred Fish <fnf@cygnus.com>
16695
16696 * gdb.base/help.exp (help add-symbol-file): Update to match current
16697 gdb output.
16698
16699 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16700
16701 * gdb.base/break.exp: Code locations are in hex, don't forget!
16702 (For HP-UX.)
16703
16704 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16705
16706 * condbreak.exp: Use break.c as test program.
16707 * condbreak.c: Remove, redundant with break.c.
16708
16709 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16710
16711 * config/monitor.exp (gdb_target_monitor): Disable X- and
16712 Z-packets if the target needs it.
16713
16714 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16715
16716 * gdb.c++/overload.exp: Added tests for listing overloaded
16717 functions with function pointers in the arg, explicitly calling
16718 out the version you want.
16719
16720 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16721
16722 * long_long.exp: Add variations of test cases that work for
16723 targets with 16-bit ints and 32-bit doubles.
16724
16725 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16726
16727 * break.c (main): Compare a possibly-uninitialized argc with an
16728 unlikely value that fits in 16 bits.
16729
16730 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16731
16732 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16733 0xfeeb, don't want negative numbers if ints are 16 bits.
16734
16735 * lib/gdb.exp (skip_cplus_tests): New proc.
16736 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16737 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16738 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16739 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16740 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16741 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16742 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16743 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16744
16745 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16746
16747 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16748
16749 * gdb.base/corefile.exp (up): Allow a parameter to appear
16750 in the frame that we're going up to.
16751
16752 From Jim Blandy <jimb@cygnus.com>:
16753
16754 * gdb.base/default.exp (info float): Expect some output now.
16755
16756 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16757 returning floating-point values to fail on the x86.
16758 * gdb.base/callfwmall.exp (do_function_calls): Same.
16759
16760 * gdb.base/list.exp (test_listsize): Correct expectations for
16761 listing line 1 with listsize 2. Also, listing a single line
16762 works now, as does listing three lines. [Kevin's note: There
16763 were a number of other cases fixed too where the expectations
16764 differed...]
16765
16766 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16767
16768 * gdb.base/selftest.exp: Add case for when version prints as
16769 constant string instead of char pointer.
16770
16771 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16772
16773 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16774 stepping out of main.
16775
16776 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16777 G++ used.
16778
16779 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16780 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16781
16782 * gdb.c++/ovldbreak.exp: Update match string in test that
16783 includes a warning of multiple breakpoints.
16784
16785 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16786
16787 * gdb.base/display.exp: Improve precision of step-after-finish
16788 added yesterday.
16789
16790 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16791 test.
16792
16793 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16794 configs when using G++, not just hppa*.
16795
16796 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16797
16798 * gdb.base/async.c: New file.
16799 * gdb.base/async.exp: New file.
16800
16801 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16802
16803 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16804 PA64.
16805
16806 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16807
16808 * gdb.base/display.exp: "finish" can leave us mid-line on many
16809 targets, deal with it. Add a small constant to main, instead of
16810 1000 since main+1000 may not be a valid address in the target.
16811
16812 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16813 on hpux11.
16814
16815 * gdb.base/attach.exp: Handle another hpux11 error message variant
16816 when attaching to a process that does not exist.
16817
16818 1999-08-19 J.T. Conklin <jtc@redback.com>
16819
16820 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16821 characters in 'continue to 1241' test.
16822
16823 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16824
16825 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16826 stop in print_long_arg_list, define and use a whitespace
16827 variable in print_small_structs test, add an XFAIL for Solaris.
16828 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16829 interested enough to fix.
16830
16831 1999-08-13 Keith Seitz <keiths@cygnus.com>
16832
16833 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16834 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16835 proc knows about targets other than the natives.
16836 (test_assign): Use "gdb_run_cmd" to "run" the target.
16837 Check that we've actually hit the breakpoint at main.
16838 When we attempt to assign a value to a local variable, check
16839 that the variable is in the current scope, i.e., don't use
16840 a test with an empty result.
16841
16842 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16843
16844 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16845 command.
16846
16847 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16848
16849 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16850 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16851 gdb.compat, gdb.threads-hp.
16852 gdb.hp/configure, gdb.hp/configure.in: New files.
16853 gdb.hp/Makefile.in: Recurse into new subdirs.
16854 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16855 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16856 in object files.
16857 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16858
16859 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16860
16861 * gdb.base/display.exp: Help expect by putting a newline in the
16862 funky printf, remove a bogus p/a test.
16863
16864 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16865
16866 * gdb.base/display.exp: Make sure that when we say 'run', we are
16867 connected to the target. This is necessary when running not
16868 natively.
16869
16870 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16871
16872 * gdb.base/step-test.exp: Removed some extraneous messages.
16873
16874 * gdb.base/long_long.exp: Don't run memory examination tests
16875 on little-endian targets (they will need a different set of
16876 results to match).
16877
16878 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16879
16880 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16881 until somebody decides to fix GDB.
16882
16883 * gdb.base/long_long.c: Stop compiler complaint by specifying long
16884 constant as "ULL".
16885 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16886 matches for a couple x/2 commands.
16887
16888 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16889
16890 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16891 by merging in ref-types2 tests.
16892 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16893
16894 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16895 * gdb.c++/Makefile.in: Add standard actions.
16896 (EXECUTABLES): Rename from PROGS, update list.
16897 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16898 from gdb.hp.
16899 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16900 foo and bar locals.
16901 * gdb.c++/anon-union.exp: Fix tests to match.
16902 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16903 expect matches to handle output variations.
16904 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16905 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
16906 output, add HP alternatives for new and delete prints.
16907 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
16908 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
16909 * gdb.c++/demangle.exp: Use $style when reporting failure.
16910 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16911 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16912 match alternatives.
16913 * gdb.c++/local.exp: Add match alternatives or xfails for HP
16914 compilers.
16915 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16916 * gdb.c++/method.exp: Add match alternatives.
16917 * gdb.c++/misc.cc: Add bool types.
16918 * gdb.c++/misc.exp: Add tests for bool types.
16919 * gdb.c++/overload.exp: Add xfails.
16920 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16921 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16922 add some more template parameter tests (only for HP currently).
16923 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16924 * gdb.c++/virtfunc.cc: Add return type and value for main.
16925 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16926 match alternatives.
16927
16928 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16929
16930 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16931
16932 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16933
16934 * gdb.base/signals.exp: Don't expect getting a backtrace from
16935 within a signal handler to fail on Linux.
16936
16937 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
16938
16939 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16940 * lib/gdb.exp: Remove some gratuitious semicolons.
16941 (delete_breakpoints): Increase timeout.
16942 (gdb_expect): Add -notransfer option.
16943 (gdb_test): Use -notransfer option.
16944 (get_compiler_info): Add f77 case.
16945 (get_compiler): New proc, split out from gdb_preprocess, add f77
16946 case.
16947 (gdb_preprocess): Call get_compiler.
16948
16949 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
16950 * gdb.base/attach.exp, gdb.base/display.exp,
16951 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
16952 gdb.base/long_long.exp, gdb.base/printcmds.exp,
16953 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
16954 third arg to gdb_test.
16955 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
16956 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
16957 HP-UX xfails, add others.
16958 * gdb.base/completion.exp: Reflect name change of self-test.
16959 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
16960 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
16961 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
16962 HP failure number.
16963 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
16964 useless HP-UX 10.30 references.
16965 * gdb.base/maint.exp: Loosen matches.
16966 * gdb.base/pointers.c (main): Declare more_code.
16967 * gdb.base/pointers.exp: Match on output of a `next'.
16968 * gdb.base/structs.c: Add prototypes.
16969 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
16970 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
16971
16972 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16973
16974 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
16975 command.
16976
16977 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16978
16979 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16980 Fix run to main failures. Watchpoint can be hardware watchpoint.
16981
16982 * gdb.base/annota1.exp: Clean up some more, in case printf has
16983 debug info. Deal with lack of signal hanlder info in stack.
16984
16985 From Jim Kingdon <kingdon@redhat.com>:
16986 * gdb.base/annota1.exp: If printf has debug info, deal with it.
16987
16988 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
16989
16990 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
16991 gdb.base/foll-vfork.exp: Don't run for crosses.
16992
16993 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16994
16995 * gdb.base/configure.in: Check for gdbvars.exp instead of
16996 a1-selftest.exp.
16997 * gdb.base/configure: Re-generate.
16998
16999 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17000
17001 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17002 in trying to run first and name is too long.
17003
17004 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17005 pointers2.c and pointers2.exp, respectively.
17006 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17007 doschk happier.
17008
17009 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17010
17011 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17012 callfuncs2.c and callfuncs2.exp.
17013
17014 * gdb.base/list.exp: Remove mistaken xfails.
17015 * gdb.base/list0.h: Add optional prototypes.
17016
17017 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17018
17019 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17020 calling malloc.
17021 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17022 * ptype.exp: Move test for get_debug_format to before its first
17023 use.
17024
17025 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17026
17027 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17028 * gdb.base/annota2.cc, annota2.exp: Move from here.
17029 * gdb.c++/annota2.cc, annota2.exp: To here.
17030 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17031
17032 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17033
17034 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17035 a consistent format.
17036
17037 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17038
17039 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17040 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17041 HP compilers, also set the globals $true and $false.
17042
17043 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17044 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17045 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17046 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17047 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17048 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17049 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17050 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17051 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17052 whatis.c} Add C++ compatible function definitions and return
17053 types, add includes for library functions.
17054 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17055 * gdb.base/step-test.c (myglob): Rename from glob.
17056 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17057 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17058 files, move here from gdb.hp.
17059 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17060 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17061 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17062 Adjust line numbers in regexps.
17063
17064 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17065 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17066 instead of 0/1.
17067
17068 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17069 foll-vfork.exp: New files, move here from gdb.hp.
17070 * gdb.base/page.exp: New file, test of pagination command.
17071
17072 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17073 recursion test.
17074 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17075
17076 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17077 gdb.base/solib.exp: Fix compiler invocation process.
17078
17079 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17080 HP-UX 11, turn off overload resolution explicitly.
17081 * gdb.base/commands.exp: Set argument list explicitly, add
17082 watchpoint test.
17083 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17084 them work.
17085 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17086 expressions properly.
17087 * gdb.base/corefile.exp: Loosen the match slightly.
17088 * gdb.base/default.exp: Allow "Error accessing memory" message
17089 also.
17090 * gdb.base/display.exp: Skip over x/0 j if PA64.
17091 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17092 * gdb.base/interrupt.exp: Ditto.
17093 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17094 in use.
17095 * gdb.base/list.exp: Add xfails for HP-UX.
17096 * gdb.base/long_long.exp: Refine some of the numeric matches.
17097 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17098 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17099 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17100 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17101 * gdb.base/ptype.exp: Succeed on more varieties of output.
17102 * gdb.base/scope.exp: Add xfails for HP-UX.
17103 * gdb.base/sect-cmd.exp: Add more cases.
17104 * gdb.base/setvar.exp: Add xfails for HP-UX.
17105 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17106 * gdb.base/signals.exp: Match on void symbolically.
17107 * gdb.base/step-test.exp: Add case for PA64.
17108 * gdb.base/term.exp: Add exit and restart.
17109 * gdb.base/twice.exp: Clean up after self.
17110 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17111 * gdb.base/whatis.exp: Allow more ways to pass tests.
17112
17113 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17114 no longer useful.
17115
17116 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17117
17118 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17119 list of patterns.
17120 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17121 print_double_array(double_array)", "continuing to breakpoint
17122 1018", "print print_double_array(array_d)" and "continuing to
17123 1034" tests.
17124
17125 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17126
17127 * Makefile.in: Add empty html and install-html targets.
17128
17129 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17130
17131 * config/mt-*: Remove, these haven't been used since 1996.
17132
17133 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17134
17135 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17136 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17137 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17138
17139 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17140
17141 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17142 simpler match case for the ptype of the big class.
17143
17144 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17145
17146 * gdb.exp: Fix test for gdb_prompt existence.
17147
17148 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17149
17150 * gdb.exp (gdb_test): Add fail after calls to perror.
17151
17152 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17153
17154 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17155
17156 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17157
17158 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17159
17160 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17161
17162 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17163 malloc() is linked in.
17164
17165 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17166
17167 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17168 step at end.
17169
17170 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17171
17172 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17173
17174 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17175
17176 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17177
17178 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17179 * gdb.base/mips_pro.exp: Likewise.
17180
17181 1999-06-02 Keith Seitz <keiths@cygnus.com>
17182
17183 * gdb.c++/templates.cc: Change all "new" operators to throw
17184 an exception.
17185 * gdb.c++/cplusfuncs.cc: Likewise.
17186
17187 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17188
17189 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17190
17191 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17192 * gdb.base/ending-run.exp: When stepping out of main, accept a
17193 step into an arbitrary assembler file.
17194
17195 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17196
17197 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17198 "breakpoint-invalid" to be printed.
17199 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17200 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17201 * gdb.base/annota2.cc: Initialize a.x to 0.
17202
17203 1999-05-17 Keith Seitz <keiths@cygnus.com>
17204
17205 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17206 when "skip_float_tests" set.
17207 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17208 "print print_ten_doubles", and "step into print_long_arg_list".
17209 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17210 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17211 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17212 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17213 "skip_float_tests" is set.
17214 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17215 when "skip_float_tests" set.
17216
17217 1999-05-06 Keith Seitz <keiths@cygnus.com>
17218
17219 * gdb.base/annota2.cc: Include stdio.h.
17220
17221 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17222
17223 * gdb.base/crossload.exp: Remove, this has been disabled ever
17224 since BFD stopped including all targets, and cross-GDB gets
17225 plenty of testing anyway.
17226 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17227 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17228 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17229 * gdb.base/README: Remove, was doc for this.
17230 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17231 needed.
17232
17233 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17234
17235 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17236 output.
17237
17238 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17239 * gdb.base/annota2.exp: New file. More annotation tests.
17240 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17241 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17242
17243 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17244
17245 * config/cfdbug.exp: New file.
17246
17247 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17248
17249 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17250 Marcus Daniel's and Dale Hawkins's demangler crashes.
17251
17252 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17253 test_lucid_style_demangling, test_arm_style_demangling,
17254 test_hp_style_demangling): Try Tom Tromey's core-dumping
17255 identifier under each demangling style.
17256
17257 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17258
17259 * gdb.c++/demangle.exp: Include the current demangling style
17260 in all test names.
17261 (current_demangling_style): New global variable.
17262 (set_demangling_style, test_demangling_core, test_demangling,
17263 test_demangling_exact): New functions.
17264 (test_gnu_style_demangling, test_lucid_style_demangling,
17265 test_arm_style_demangling, test_hp_style_demangling): Use those,
17266 instead of calling gdb_test and gdb_test_exact directly.
17267 (catch_demangling_errors): New function, which reports errors
17268 signalled by the demangling test functions in an orderly way.
17269 (do_tests): Use catch_demangling_errors.
17270
17271 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17272
17273 * gdb.base/signals.exp (test_handle_all_print): Use () for
17274 grouping in expressions, not {}.
17275
17276 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17277 initialized yet.
17278
17279 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17280
17281 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17282 are listed.
17283
17284 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17285
17286 * gdb.stabs/weird.exp: Test for CC being defined before
17287 looking at its value.
17288
17289 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17290
17291 * gdb.base/call-ar-st.exp: Remove stray '#'.
17292 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17293 "short int" and "long int".
17294 * gdb.c++/overload.cc: Cast the string added in the previous
17295 change, to mollify finicky HP compiler.
17296 * gdb.hp/reg-test.exp (testfile): Fix file name.
17297 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17298
17299 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17300 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17301 alternate form of enum ptype.
17302
17303 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17304
17305 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17306 * gdb.hp/*.exp: Change all to run compiler probe only after
17307 passing skip_hp_tests, so as not to waste time on guaranteed
17308 failure.
17309
17310 * gdb.c++/overload.cc: Pass string instead of char addr, always
17311 init ccpfoo.
17312 * gdb.c++/templates.cc: Fix syntax error.
17313
17314 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17315
17316 * gdb.base/commands.exp: Add test for correct position of '>'
17317 when issuing the 'commands' command after a 'while' or 'if'
17318 command.
17319
17320 1999-03-18 James Ingham <jingham@cygnus.com>
17321
17322 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17323
17324 * gdb.c++/method.exp: It was testing an uninitialized int on the
17325 stack and assuming it was positive.
17326
17327 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17328
17329 * gdb.base/step-test.exp: Catch a case where finish is broken and
17330 keep it from killing the rest of the tests.
17331 Use gdb_continue_to_end.
17332
17333 * gdb.base/sigall.exp: use gdb_continue_to_end.
17334
17335 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17336
17337 * gdb.base/display.exp: use runto_main, not run.
17338
17339 * gdb.base/default.exp: Check for the current error message in the
17340 r abbreviation test.
17341 Add strongarm to the targets that know info float.
17342
17343 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17344 run which doesn't work with monitors.
17345
17346 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17347
17348 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17349
17350 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17351 program. Traps the case (in Cygmon) when the program never really
17352 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17353 more places, so I used my name. Sorry Mark...
17354
17355 * config/monitor.exp (gdb_target_monitor): added another
17356 target_info parameter: remotebinarydownload. This will set the
17357 remotebinarydownload flag if this is causing some boards trouble.
17358
17359 1999-03-18 Mark Salter <msalter@cygnus.com>
17360
17361 * lib/gdb.exp (continue_to_exit): New function.
17362
17363 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17364 * gdb.base/ending-run.exp: Ditto.
17365 * gdb.base/step-test.exp: Ditto.
17366
17367 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17368
17369 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17370 (suggested by Art Haas <ahaas@neosoft.com>).
17371
17372 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17373
17374 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17375
17376 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17377
17378 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17379 descriptions of types (short unsigned int vs unsigned short, etc).
17380
17381 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17382
17383 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17384 a call to strlen; sometimes we do have sources.
17385
17386 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17387
17388 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17389 character, so GDB won't print garbage after its end.
17390
17391 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17392 breakpoint there instead. Sometimes GCC emits memcpy to handle
17393 the large structures being passed by value, so we step into that
17394 instead of sum_array_print, which obscures what we're really testing.
17395 * gdb.base/step-test.exp: However, we do want a test that notices
17396 the bizarre steps into memcpy, so do that here. Add check for
17397 stepping into function calls that pass large structures by value.
17398 ("Is that a noun clause, or are you just happy to see me?")
17399 Remove all references to specific line numbers.
17400 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17401 New type and function.
17402 (main): Call large_struct_by_value, passing it a large struct by value.
17403 * lib/gdb.exp (gdb_get_line_number): New function.
17404
17405 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17406 more portable.
17407
17408 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17409
17410 * lib/gdb.exp: Doc fixes.
17411
17412 1999-03-05 Nick Clifton <nickc@cygnus.com>
17413
17414 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17415
17416 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17417
17418 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17419 commands. They're not germane to this test, and they don't work
17420 that way on remote targets.
17421
17422 1999-03-01 James Ingham <jingham@cygnus.com>
17423
17424 * Changelog entries merged over from gdb development branch.
17425
17426 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17427
17428 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17429 for outputting results of test run.
17430
17431 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17432
17433 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17434
17435 1999-02-25 Felix Lee <flee@cygnus.com>
17436
17437 * lib/gdb.exp (debug_format): initialize
17438
17439 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17440
17441 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17442 * gdb.base/call-rt-st.c: Ditto.
17443
17444 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17445
17446 * gdb.threads/pthreads.exp (horiz): New variable.
17447 (test_startup): Fix regexps that capture thread numbers.
17448
17449 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17450
17451 * gdb.base/smoke.exp: Disambiguate two test case names (both
17452 called ``print'').
17453
17454 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17455
17456 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17457 compilation.
17458
17459 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17460
17461 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17462 actual output formatting.
17463 * gdb.base/smoke.exp: GDB removes leading 0's.
17464 * gdb.base/volatile.exp: Don't check type of remuneration;
17465 that variable is no longer defined in constvars.c.
17466 * gdb.base/step-test.c (main): Exit with explicit exit code.
17467 * gdb.base/step-test.exp: Remove two nexti checks--they are
17468 not portable.
17469
17470 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17471
17472 * gdb.base/help.exp ("help delete display"): Fix test to match
17473 gdb's output.
17474
17475 * gdb.base/long_long.c (known_types): Initialize values to zero.
17476 * gdb.base/long_long.exp: Step one more line
17477 so 'dec' is initialized in "get to known place". GDB removes
17478 leading zeros. Explicitly ask for hex formatting. Use
17479 unique test case names.
17480
17481 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17482
17483 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17484
17485 * gdb.c++/method.exp: Add missing close brace.
17486
17487 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17488
17489 * gdb.base/maint.exp: Use 'set height 0' to disable page
17490 prompting, not 'set height 400'.
17491
17492 Fix a bunch of timeouts.
17493 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17494 four separate tests, so expect doesn't take forever to match a ton
17495 of text against a regexp with lots of .* forms.
17496 ("maint print psymbols", "maint print symbols"): Make some of
17497 these greps more selective, so that expect doesn't try to wade
17498 through huge piles of output and time out.
17499
17500 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17501
17502 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17503 tests: one which doesn't expect shlib events to be reported, and
17504 another which does, but is XFAIL for all platforms other than
17505 HP/UX.
17506
17507 * gdb.base/break.exp: Teach the test suite that the `catch
17508 fork', `catch vfork', and `catch exec' commands produce error
17509 messages on platforms that don't provide these features.
17510
17511 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17512
17513 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17514 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17515 (shortening names from solib_threshold.exp etc), won't run on
17516 anything but HP-UX for the foreseeable future.
17517 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17518 reflect move.
17519
17520 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17521
17522 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17523 gdb.trace/Makefile.in (clean): Remove all test executables.
17524
17525 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17526
17527 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17528 successfully re-sets breakpoints in shared libraries.
17529 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17530
17531 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17532
17533 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17534 and compiled w/o GCC.
17535
17536 * gdb.hp/watch-cmd.exp: ditto.
17537
17538 * gdb.hp/watch-hp.exp: ditto.
17539
17540 * gdb.hp/xdb1.exp: ditto.
17541
17542 * gdb.hp/xdb2.exp: ditto.
17543
17544 * gdb.hp/dbx.exp: ditto.
17545
17546 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17547
17548 * constvars.c: Remove C++-isms.
17549 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17550 with GCC.
17551
17552 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17553
17554 The following changes are part of the HP merge.
17555
17556 * gdb.base/break.exp: new tests to verify that catchpoints for
17557 fork, vfork, and exec don't trigger inappropriately.
17558
17559 * gdb.base/opaque.exp: compile one file at a time, then link.
17560
17561 * gdb.base/signals.exp: be more restrictive about which hppa
17562 systems receive a setup_xfail. new tests.
17563
17564 * gdb.base/solib_threshold.build: new file.
17565 * gdb.base/solib_threshold.exp: new file.
17566 * gdb.base/solib_threshold.link_opts: new file.
17567 * gdb.base/solib_threshold.mk: new file.
17568 * gdb.base/gen_solib_threshold.c: new file.
17569
17570 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17571 tests. New tests for enums inside classes.
17572
17573 * gdb.c++/compiler.cc: indicate support of template debugging.
17574
17575 * gdb.c++/demangle.exp: run hp style demangling tests.
17576
17577 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17578 tests.
17579
17580 * gdb.c++/misc.cc: changes to support new tests.
17581
17582 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17583 to support new tests.
17584
17585 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17586 gcc, then skip these tests.
17587
17588 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17589
17590 The following files are part of the HP merge; some had longer
17591 names at HP, but have been renamed to be no more than 14
17592 characters in length.
17593
17594 * gdb.hp/ambiguous.cc: new file.
17595 * gdb.hp/ambiguous.exp: new file.
17596 * gdb.hp/attach.exp: new file.
17597 * gdb.hp/attach2.exp: new file.
17598 * gdb.hp/classes-hp.exp: new file.
17599 * gdb.hp/ctti.exp: new file.
17600 * gdb.hp/ctti-add.cc: new file.
17601 * gdb.hp/ctti-add1.cc: new file.
17602 * gdb.hp/ctti-add2.cc: new file.
17603 * gdb.hp/ctti-add3.cc: new file.
17604 * gdb.hp/dbx.exp: new file.
17605 * gdb.hp/exception.cc: new file.
17606 * gdb.hp/exception.exp: new file.
17607 * gdb.hp/foll-exec.c: new file.
17608 * gdb.hp/foll-exec.exp: new file.
17609 * gdb.hp/foll-fork.c: new file.
17610 * gdb.hp/foll-fork.exp: new file.
17611 * gdb.hp/foll-vfork.c: new file.
17612 * gdb.hp/foll-vfork.exp: new file.
17613 * gdb.hp/inherit-hp.exp: new file.
17614 * gdb.hp/more-steps.exp: new file.
17615 * gdb.hp/namespace.cc: new file.
17616 * gdb.hp/namespace.exp: new file.
17617 * gdb.hp/optimize.exp: new file.
17618 * gdb.hp/pxdb.c: new file.
17619 * gdb.hp/pxdb.exp: new file.
17620 * gdb.hp/quicksort.exp: new file.
17621 * gdb.hp/reg-test.exp: new file.
17622 * gdb.hp/reg-test.s: new file.
17623 * gdb.hp/sized-enum.c: new file.
17624 * gdb.hp/sized-enum.exp: new file.
17625 * gdb.hp/start-stop.exp: new file.
17626 * gdb.hp/templ-hp.cc: new file.
17627 * gdb.hp/templ-hp.exp: new file.
17628 * gdb.hp/thr-lib.c: new file.
17629 * gdb.hp/thr-lib.exp: new file.
17630 * gdb.hp/thr-lib.h: new file.
17631 * gdb.hp/thr-liblib.c: new file.
17632 * gdb.hp/virtfun-hp.c: new file.
17633 * gdb.hp/virtfun-hp.exp: new file.
17634 * gdb.hp/watch-cmd.exp: new file.
17635 * gdb.hp/watch-hp.exp: new file.
17636 * gdb.hp/xdb1.exp: new file.
17637 * gdb.hp/xdb2.exp: new file.
17638 * gdb.hp/xdb3.exp: new file.
17639
17640 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17641
17642 The following files are part of the HP merge; some had longer
17643 names at HP, but have been renamed to be no more than 14
17644 characters in length.
17645
17646 * gdb.base/ss.h: new file.
17647 * gdb.base/call-ar-st.c: new file.
17648 * gdb.base/call-ar-st.exp: new file.
17649 * gdb.base/call-rt-st.c: new file.
17650 * gdb.base/call-rt-st-exp: new file.
17651 * gdb.base/call-strs.exp: new file.
17652 * gdb.base/ena-dis-br.exp: new file.
17653 * gdb.base/environ.exp: new file.
17654 * gdb.base/long_long.exp: new file.
17655 * gdb.base/sect-cmd.exp: new file.
17656 * gdb.base/shlib-cl2.exp: new file.
17657 * gdb.base/smoke.exp: new file.
17658 * gdb.base/so-impl-ld.c: new file.
17659 * gdb.base/so-impl-ld.exp: new file.
17660 * gdb.base/so-indr-cl.c: new file.
17661 * gdb.base/so-indr-cl.exp: new file.
17662 * gdb.base/varargs.exp: new file.
17663 * gdb.base/volatile.exp: new file.
17664 * gdb.base/whatis-exp.exp: new file.
17665 * gdb.base/display.exp: new file.
17666 * gdb.c++/derivation.exp: new file.
17667 * gdb.c++/local.exp: new file.
17668 * gdb.c++/member-ptr.exp: new file.
17669 * gdb.c++/overload.exp: new file.
17670 * gdb.c++/ovldbreak.exp: new file.
17671 * gdb.c++/ref-types.exp: new file.
17672 * gdb.c++/ref-types2.exp: new file.
17673 * gdb.c++/userdef.exp: new file.
17674
17675 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17676
17677 * gdb.base/default.exp: Reflect wording change in remote.c.
17678
17679 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17680
17681 * gdb.base/help.exp: Update to reflect current text.
17682
17683 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17684
17685 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17686 they're stack variables and contain garbage.
17687 * gdb.c++/anon-union.exp: new file.
17688
17689 The following changes were made by David Taylor
17690 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17691 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17692 in changes by HP.
17693
17694 * gdb.base/bitops.exp: new file.
17695 * gdb.base/default.exp: change expected messages for catch and
17696 info catch tests to reflect HP merge changes.
17697 * gdb.base/enable-disable-break.exp
17698 * gdb.base/ending-run.c: new file.
17699 * gdb.base/long_long.c: new file.
17700 * gdb.base/maint.exp: new file.
17701 * gdb.base/pointers2.exp: new file.
17702 * gdb.base/shlib-call2.exp: new file.
17703 * gdb.base/solib.exp: new file.
17704 * gdb.base/step-test.c: new file.
17705 * gdb.c++/anon-union.cc: new file.
17706 * gdb.c++/local.cc: new file.
17707 * gdb.c++/member-pointer.cc: new file.
17708 * gdb.c++/method.cc: new file.
17709 * gdb.c++/ref-types.cc: new file.
17710 * gdb.c++/ref-types2.cc: new file.
17711 * gdb.c++/userdef.cc: new file.
17712
17713 * gdb.base/scope.exp: compile one file at a time, then link.
17714 * gdb.base/langs.exp: ditto.
17715 * gdb.base/list.exp: ditto.
17716
17717 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17718
17719 The following changes were made by David Taylor
17720 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17721 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17722 in changes by HP.
17723
17724 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17725 skip tests. When compiling pass c++ flag to gdb_compile.
17726 * gdb.c++/
17727
17728 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17729 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17730 (skip_hp_tests): new function.
17731 (gdb_preprocess): new function.
17732
17733 * configure.in (hpdir): decide whether to configure gdb.hp.
17734 * configure: regenerated.
17735
17736 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17737 to delete on clean.
17738 (EXECUTABLES): update to reflect new additions.
17739 * gdb.base/commands.exp: update message expected.
17740 * gdb.base/default.exp: add copyright notice.
17741 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17742 * gdb.base/help.exp: update messages to reflect current text.
17743 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17744 targets for recurse tests.
17745 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17746 skip this file.
17747
17748 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17749 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17750 compilation.
17751 * gdb.c++/misc.exp: ditto.
17752 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17753 run the tests. tell gdb_compile that it's a c++ compilation.
17754
17755 * gdb.threads/pthreads.exp: fix typo in message.
17756
17757 * gdb.base/all-bin.exp: new file.
17758 * gdb.base/arithmet.exp: new file.
17759 * gdb.base/assign.exp: new file.
17760 * gdb.base/completion.exp: new file.
17761 * gdb.base/cond-expr.exp: new file.
17762 * gdb.base/condbreak.exp: new file.
17763 * gdb.base/define.exp: new file.
17764 * gdb.base/dollar.exp: new file.
17765 * gdb.base/environment.exp: new file.
17766 * gdb.base/eval-skip.exp: new file.
17767 * gdb.base/jump.exp: new file.
17768 * gdb.base/logical.exp: new file.
17769 * gdb.base/pointers.exp: new file.
17770 * gdb.base/relational.exp: new file.
17771 * gdb.base/section_command.exp: new file.
17772 * gdb.base/whatis-expr.exp: new file.
17773
17774 * gdb.base/all-types.c: new file.
17775 * gdb.base/call-array-struct.c: new file.
17776 * gdb.base/call-return-struct.c: new file.
17777 * gdb.base/call-strings.c: new file.
17778 * gdb.base/callfuncs2.c: new file.
17779 * gdb.base/condbreak.c: new file.
17780 * gdb.base/constvars.c: new file.
17781 * gdb.base/display.c: new file.
17782 * gdb.base/int-type.c: new file.
17783 * gdb.base/jump.c: new file.
17784 * gdb.base/miscexprs.c: new file.
17785 * gdb.base/pointers.c: new file.
17786 * gdb.base/pointers2.c: new file.
17787 * gdb.base/shmain.c: new file.
17788 * gdb.base/shr1.c: new file.
17789 * gdb.base/shr2.c: new file.
17790 * gdb.base/solib.c: new file.
17791 * gdb.base/solib1.c: new file.
17792 * gdb.base/solib2.c: new file.
17793 * gdb.base/varargs.c: new file.
17794 * gdb.c++/derivation.cc: new file.
17795 * gdb.c++/overload.cc: new file.
17796 * gdb.c++/ovldbreak.cc: new file.
17797 * gdb.hp/attach.c: new file.
17798 * gdb.hp/attach2.c: new file.
17799 * gdb.hp/average.c: new file.
17800 * gdb.hp/compiler.c: new file.
17801 * gdb.hp/compiler.cc: new file.
17802 * gdb.hp/execd-program.c: new file.
17803 * gdb.hp/follow-exec.c: new file.
17804 * gdb.hp/follow-fork.c: new file.
17805 * gdb.hp/follow-vfork-and-exec.c: new file.
17806 * gdb.hp/misc-hp.cc: new file.
17807 * gdb.hp/more-steps.c: new file.
17808 * gdb.hp/optimize.c: new file.
17809 * gdb.hp/quicksort.c: new file.
17810 * gdb.hp/run-hp.c: new file.
17811 * gdb.hp/start-stop.c: new file.
17812 * gdb.hp/sum.c: new file.
17813 * gdb.hp/templates-hp.cc: new file.
17814 * gdb.hp/thread-local-in-lib.c: new file.
17815 * gdb.hp/thread-local-in-lib.h: new file.
17816 * gdb.hp/thread-local-in-lib.lib.c: new file.
17817 * gdb.hp/vforked-program.c: new file.
17818 * gdb.hp/virtfunc-hp.cc: new file.
17819 * gdb.hp/watchpoint-hp.c: new file.
17820 * gdb.hp/xdb.c: new file.
17821 * gdb.hp/xdb0.c: new file.
17822 * gdb.hp/xdb0.h: new file.
17823 * gdb.hp/xdb1.c: new file.
17824
17825 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17826
17827 The following change was made by Edith Epstein
17828 <eepstein@cygnus.com> as part of a project to merge in changes
17829 originally made by HP; HP did not create ChangeLog entries.
17830
17831 * gdb.c++/demangle.exp: changed the expected output for some
17832 ARM-style mangling -- removed second reference to datatype.
17833 For example, maint demangle __dt__11T1__pt__2_cFv
17834 T1<char>::~T1<char>(void)
17835 becomes,
17836 maint demangle __dt__11T1__pt__2_cFv
17837 T1<char>::~T1(void)
17838
17839 (test_hp_style_demangling): new hp specific demangling test cases.
17840
17841 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17842
17843 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17844 * gdb.trace/backtrace.exp: Likewise.
17845 * gdb.trace/circ.exp: Likewise.
17846 * gdb.trace/collection.exp: Likewise.
17847 * gdb.trace/deltrace.exp: Likewise.
17848 * gdb.trace/infotrace.exp: Likewise.
17849 * gdb.trace/limits.exp: Likewise.
17850 * gdb.trace/packetlen.exp: Likewise.
17851 * gdb.trace/passc-dyn.exp: Likewise.
17852 * gdb.trace/passcount.exp: Likewise.
17853 * gdb.trace/report.exp: Likewise.
17854 * gdb.trace/save-trace.exp: Likewise.
17855 * gdb.trace/tfind.exp: Likewise.
17856 * gdb.trace/tracecmd.exp: Likewise.
17857 * gdb.trace/while-dyn.exp: Likewise.
17858 * gdb.trace/while-stepping.exp: Likewise.
17859
17860 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17861
17862 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17863
17864 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17865
17866 From Brendan Kehoe:
17867 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17868 int return types.
17869
17870 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17871
17872 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
17873 remote dos host testing right.
17874
17875 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17876
17877 * gdb.base/corefile.exp: remove some xfails.
17878
17879 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17880
17881 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
17882 have different timestamps.
17883
17884 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17885
17886 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
17887 gdb.base/default.exp: Replace "exec" with "executable".
17888
17889 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17890
17891 * gdb.base/default.exp: Change else if to elseif from previous
17892 delta.
17893
17894 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17895
17896 * gdb.base/default.exp: Add brace missing from previous delta.
17897
17898 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17899
17900 * gdb.base/default.exp: Support test for info float for all
17901 varieties of arm toolchain.
17902
17903 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
17904
17905 * gdb.trace/*.exp: remove "remote_download" command.
17906
17907 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
17908
17909 * gdb.trace/*.exp: remove -gdwarf from compile.
17910
17911 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17912
17913 * gdb.trace/configure.in(AC_INIT): typo
17914 * gdb.trace/configure: regenerated
17915
17916 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
17917
17918 * config/m68k-emc.exp: New file.
17919 * lib/<emc-support.exp trace-support.exp}: New files.
17920 * configure.in: add new test directory gdb.trace.
17921 * gdb.trace/{configure configure.in Makefile.in}: New files.
17922 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17923 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17924 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17925 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17926 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17927 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17928 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
17929
17930 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
17931
17932 * gdb.c++/classes.exp: Change all regular expressions to match
17933 arbitrary combinations of newline/carriage-return, so that they
17934 will work equally well on Unix and Windows.
17935 * gdb.c++/inherit.exp: ditto.
17936 * gdb.c++/virtfunc.exp: ditto.
17937
17938 1998-08-11 Dawn Perchik <dawn@cygnus.com>
17939
17940 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17941
17942 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
17943
17944 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
17945 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
17946 to use a0-a3/d0-d3 as needed.
17947
17948 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
17949
17950 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
17951 * gdb.disasm/am33.exp: Corresponding changes.
17952
17953 1998-07-11 Felix Lee <flee@cygnus.com>
17954
17955 * gdb.base/callfuncs.exp: add cmp10 test.
17956 * gdb.base/callfuncs.c (cmp10): new function.
17957
17958 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
17959
17960 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
17961 into two parts to get around a synchronization problem in expect.
17962
17963 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
17964
17965 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17966
17967 * configure.in: Add options for gdbtk testsuite.
17968
17969 * configure: Regenerate.
17970
17971 * gdb.gdbtk: New directory to hold gdbtk tests.
17972
17973 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17974
17975 * gdb.fortran/types.exp: Escape brackets in expect patterns
17976 for test_float_literal_types_accepted tests.
17977 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
17978 before run test.
17979
17980 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17981
17982 * am33.exp: Just compile, do not link the testcase.
17983 * am33.s: Add ".am33" pseudoop to force am33 mode.
17984
17985 1998-06-25 Felix Lee <flee@cygnus.com>
17986
17987 * gdb.base/setshow.exp: make sure $pc is sane.
17988
17989 * gdb.stabs/weird.exp: split expect patterns properly.
17990
17991 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
17992
17993 * gdb.disasm/am33.s: New disassembler testfile for the am33.
17994 * gdb.disasm/am33.exp: Run it.
17995
17996 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
17997
17998 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
17999 match processing (and eliminate spurious timeouts when running).
18000
18001 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18002
18003 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18004 exception test, but conditionalize it on target [mach | gnu].
18005
18006 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18007
18008 * gdb.base/overlays.exp: fixup compile line for linker script.
18009
18010 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18011
18012 * gdb.fortran/types.exp: don't guess at float size.
18013
18014 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18015
18016 * gdb.base/exprs.exp: delete test that depends on int size.
18017
18018 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18019
18020 * config/sim.exp: Removed checks for target triplets.
18021 (gdb_target_sim): Use gdb,target_sim_options.
18022
18023 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18024
18025 * gdb.base/reread.exp: New file.
18026 * gdb.base/reread1.c: New file.
18027 * gdb.base/reread2.c: New file.
18028
18029 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18030
18031 * config/sim.exp: Use 'target sim -sparclite' when running
18032 SPARClite programs.
18033
18034 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18035
18036 * gdb.base/structs2.exp: New file.
18037 * gdb.base/structs2.c: New file.
18038
18039 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18040
18041 * gdb.asm/common.inc: New file.
18042 * gdb.asm/d10v.inc: New file.
18043 * asm-source.exp: Pass -I's to gas to find .inc files.
18044 Update line numbers in expected output.
18045 * asmsrc1.s: Rewrite.
18046 * asmsrc2.s: Rewrite.
18047 * configure.in: Create arch.inc symlink.
18048 * configure: Regenerate.
18049 * Makefile.in (distclean): Delete arch.inc.
18050
18051 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18052
18053 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18054 (t_enum_value2): ditto
18055 (t_enum_value3): ditto
18056 (main): ditto
18057 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18058
18059 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18060 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18061 change.
18062 Use gdb_test instead of send_gdb/gdb_expect sequences.
18063
18064 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18065
18066 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18067 not void.
18068
18069 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18070
18071 * gdb.base/branches.c: Code with lots of loops and
18072 subroutines. Used to test gdbs ability to single step through PC
18073 changes, especially to test mips-tdep.c:mips_next_pc
18074
18075 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18076
18077 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18078 more rigorous EGCS C++ error checking.
18079
18080 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18081
18082 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18083 tests.
18084 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18085 function when asleep.
18086 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18087 for i*86 Linux and SVR4 signal handling problems.
18088 Remove linux xfail for `next to handler in signals_tests_1', fixed
18089 by recent infrun.c change.
18090 Limit backtrace to 10 frames to avoid timeout problems with infinite
18091 stack backtraces.
18092 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18093 target.[ch] change.
18094
18095 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18096
18097 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18098 for a newline from gdb before continuing.
18099 (default_gdb_exit): Just look for y or n.
18100 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18101 it does, fail the rests of the tests in the file.
18102
18103 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18104
18105 * config/cygmon.exp: New file.
18106
18107 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18108
18109 * gdb.base/list.exp: Fix problem with "list default lines around
18110 main" test on remote targets.
18111
18112 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18113 run test on remote targets.
18114
18115 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18116
18117 * gdb.asm: New directory.
18118 * configure.in: Configure it.
18119 * configure: Regenerate.
18120 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18121 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18122
18123 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18124
18125 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18126
18127 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18128
18129 * gdb.base/overlays (several files): Merge the two overlay
18130 managers into one. Change variables (foox, barx, bazx, grbxx)
18131 back into ints but force them to load in their proper sections.
18132
18133 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18134
18135 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18136 on-chip insn memory and IMAP1 to upper 128k.
18137 (D10VCopy): Handle memory regions crossing 16k boundaries.
18138 (D10VCopy): Transfer data in 32 bit chunks.
18139
18140 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18141
18142 * gdb.base/overlays.c (main): Exit normally when result is
18143 correct.
18144
18145 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18146 map. Include space for printf in .text segment.
18147
18148 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18149 updated d10v memory VMA/LMA map.
18150 (D10VCopy): Call D10VTranslate.
18151
18152 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18153
18154 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18155
18156 * gdb.base/bar.c (barx, bar): Change variable to small array so
18157 that it won't be put into the .sdata - small data -
18158 section. Update reference.
18159 * gdb.base/baz.c (bazx, baz): Ditto.
18160 * gdb.base/foo.c (foox, foo): Ditto.
18161 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18162
18163 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18164 to be arrays.
18165
18166 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18167
18168 * gdb.base/overlays.exp: fix up and get working again.
18169 Add tests for backtraces from an overlay function.
18170
18171 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18172
18173 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18174 "calling function with watchpoint enabled".
18175
18176 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18177
18178 * gdb.base/break.exp (test_next_with_recursion): Remove
18179 gdb_suppress_tests for d10v-*-*.
18180 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18181 pending review of whether it is useful or not.
18182
18183 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18184
18185 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18186
18187 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18188
18189 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18190 * config/dve.exp: New file to support Densan boards.
18191
18192 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18193
18194 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18195 reads and BSD.
18196
18197 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18198
18199 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18200 response.
18201
18202 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18203
18204 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18205
18206 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18207 test.
18208
18209 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18210 target_sizeof_long and target_bigendian_p.
18211 (structs_by_value, structs_by_reference): Check values according
18212 to targets word size and endianess.
18213
18214 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18215
18216 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18217 output.
18218
18219 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18220
18221 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18222 Update test of set args help to match source change.
18223
18224 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18225
18226 * gdb.base/default.exp: Expect help system output to be in
18227 alphabetical order.
18228 * gdb.base/help.exp: Ditto.
18229
18230 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18231
18232 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18233 "i*86-pc-linux-gnu*".
18234 * gdb.base/interrupt.exp: Ditto.
18235 * gdb.base/corefile.exp: Ditto.
18236
18237 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18238 define vxworks when building the testcase.
18239
18240 * gdb.base/ptype.exp: Fix testnames to be unique.
18241 * gdb.base/radix.exp: Ditto.
18242 * gdb.base/term.exp: Ditto.
18243 * gdb.base/whatis.exp: Ditto.
18244 * gdb.c++/classes.exp: Ditto.
18245
18246 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18247
18248 * gdb.base/callfuncs.exp: Fix indentation.
18249
18250 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18251 suppress_flag has been set.
18252 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18253 target feature.
18254
18255 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18256
18257 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18258 the testcase.
18259
18260 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18261 set_debug_traps() and breakpoint().
18262 * gdb.c++/misc.cc (main): Ditto.
18263 * gdb.c++/templates.cc (main): Ditto.
18264 * gdb.c++/virtfunc.cc (main): Ditto.
18265
18266 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18267
18268 * lib/gdb.exp(gdb_step_for_stub): New function.
18269 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18270 exists, reload the executable and do a "continue" instead of
18271 doing a jump.
18272 (runto_main): Use gdb_step_for_stub.
18273
18274 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18275 tests to have unique names.
18276 * gdb.base/callfuncs.exp: Ditto.
18277 * gdb.base/commands.exp: Ditto.
18278 * gdb.base/default.exp: Ditto.
18279 * gdb.base/help.exp: Ditto.
18280 * gdb.base/list.exp: Ditto.
18281 * gdb.base/opaque.exp: Ditto.
18282 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18283 similar tests.
18284
18285 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18286 * gdb.c++/cplusfuncs.cc: Ditto.
18287 * gdb.c++/virtfunc.cc: Ditto.
18288
18289 * config/monitor.exp: Keep track of the last file we saw, rather
18290 than trying to get the info from gdb.
18291
18292 * gdb.fortran/types.exp: Move comment to previous line.
18293
18294 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18295
18296 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18297 target mode.
18298
18299 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18300
18301 From Bob Manson:
18302 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18303 string from GDB when it connects.
18304
18305 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18306
18307 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18308
18309 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18310 if we can't get a debug format from GDB (we may be testing an
18311 older GDB). Use a 10 second timeout when checking for the format.
18312
18313 * gdb.stabs/weird.exp: Fix quoting.
18314
18315 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18316
18317 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18318
18319 * config/arm-ice.exp: New file.
18320
18321 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18322
18323 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18324 until it has been modified to work with the new testsuite.
18325
18326 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18327 testcase won't compile, cause all of the testcases in the file to
18328 fail instead.
18329
18330 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18331 (gdb_clear_suppressed): New procedure.
18332 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18333 it contains a positive value.
18334
18335 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18336
18337 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18338
18339 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18340
18341 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18342
18343 * lib/gdb.exp (setup_xfail_format): New function.
18344 (get_debug_format): New function to get debug format.
18345 (debug_format): New global variable to hold last value set
18346 by get_debug_format.
18347 * gdb.base/list.exp: Call get_debug_format and expect some
18348 tests to fail for DWARF 1 and COFF formats.
18349 * gdb.c++/ptype.exp: Ditto.
18350 * gdb.c++/classes.exp: Ditto.
18351 * gdb.c++/cplusfuncs.exp: Ditto.
18352 * gdb.c++/inherit.exp: Ditto.
18353 * gdb.c++/templates.exp: Ditto.
18354 * gdb.c++/virtfunc.exp: Ditto.
18355
18356 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18357
18358 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18359 host doesn't have a currently-open connection.
18360
18361 * config/sparclet.exp: Cleanups and fixes to make it generic for
18362 any gdb stub target. Handle cases where gdb doesn't respond when
18363 interrupted in a sane fashion.
18364
18365 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18366 same thing in a totally different way.
18367
18368 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18369 setting "timeout".
18370 (gdb_start): We set the global gdb_prompt variable in
18371 default_gdb_init now.
18372
18373 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18374
18375 * gdb.base/printcmds.exp: Fix "check for floating addition"
18376 regexp to accept results within approx +/- .01 of exact value.
18377 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18378
18379 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18380
18381 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18382 properly.
18383 (gdb_expect): Add optional timeout parameter, and add timeout
18384 value to various calls.
18385 (gdb_suppress_tests): Only give one warning message per group.
18386
18387 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18388
18389 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18390 global variables. Handle getting a value for $timeout more
18391 gracefully.
18392
18393 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18394
18395 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18396 initialize.
18397 (default_gdb_init): New procedure; allow gdb_init to be overridden
18398 by a target configuration file.
18399 (gdb_expect): Pass the timeout to remote_expect.
18400
18401 * config/monitor.exp(gdb_load): Fix typo in regexp.
18402
18403 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18404
18405 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18406
18407 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18408
18409 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18410 here. Call gdb_target_exec before rebooting the target, to make
18411 sure the connection to the target is closed.
18412 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18413 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18414 Also detect "Timeout reading from remote" error.
18415
18416 * config/gdbserver.exp: Pass the executable being loaded to
18417 gdb_target_monitor. Don't call gdb_file_cmd here; let
18418 gdb_target_monitor do it.
18419
18420 * gdb.disasm/hppa.exp: Don't use exec_output.
18421
18422 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18423
18424 * gdb.base/list.exp: If we're debugging a non-native target,
18425 try to set the pc register to point to the start of the
18426 program before doing the first list command.
18427
18428 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18429 test_calls after restarting.
18430
18431 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18432 reloading.
18433
18434 * gdb.base/watchpoint.exp: Fix typo.
18435
18436 * gdb.base/setshow.exp: Check for use_gdb_stub.
18437
18438 * gdb.base/break.exp: Fix continue until exit test for the gdb
18439 stub case.
18440 * gdb.base/langs.exp: Ditto.
18441
18442 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18443 gdb_load_offset. If we weren't given a file to load, figure out
18444 what the current file is and use it.
18445
18446 * config/i386-bozo.exp: New file.
18447
18448 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18449
18450 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18451 feature.
18452
18453 * config/proelf.exp: New entry.
18454
18455 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18456
18457 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18458 of regexps.
18459
18460 * gdb.base/watchpoint.exp: Don't run the test_stepping
18461 tests if gdb can't call functions on the target.
18462
18463 * gdb.base/setshow.exp: Don't run the set prompt tests if
18464 the board has gdb_prompt set.
18465
18466 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18467
18468 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18469 * gdb.base/commands.exp: Likewise.
18470 * gdb.base/setshow.exp: Likewise.
18471
18472 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18473
18474 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18475 feature.
18476
18477 * config/i960.exp: New file.
18478
18479 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18480
18481 * gdb.base/funcargs.exp: Check for gdb,short_int target
18482 feature instead of looking for explicit target triplets.
18483
18484 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18485
18486 * gdb.base/printcmds.exp: add a couple more tests a la
18487 "p 123DEADBEEF", to check parse_number.
18488 * top.c: change "to enable to enable" to "to enable" in a couple
18489 of help strings.
18490
18491 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18492
18493 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18494 on the mn10300.
18495
18496 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18497
18498 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18499 where the test executable is run with explicit args.
18500 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18501
18502 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18503
18504 * gdb.base/run.c: Use FAKEARGV to build test executable that
18505 does not require a command line arg, since most simulators
18506 don't currently support passing such an arg into the simulated
18507 program.
18508 * gdb.base/commands.exp: Change tests to insert the proper
18509 value as the arg to the first recursive factorial call. Change
18510 compilation line to define FAKEARGV at compile time.
18511
18512 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18513
18514 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18515 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18516 function with watchpoint enabled" test.
18517
18518 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18519
18520 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18521 Don't call gdb_test when the command doesn't return to a gdb prompt.
18522
18523 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18524 "Tests restarted" messages.
18525
18526 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18527
18528 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18529
18530 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18531
18532 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18533 for INFO SYMBOL; add help tests for OVERLAY commands.
18534 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18535 add tests for OVERLAY commands
18536 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18537 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18538 * gdb.base/sigall.c: add usestubs code frag
18539 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18540
18541 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18542
18543 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18544 failures.
18545 (gdb_stop_suppressing_tests): Note that tests have restarted.
18546
18547 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18548
18549 * config/h8300.exp: New file.
18550
18551 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18552
18553 * gdb.base/setshow.exp: Check for the existence of a
18554 feature, not its value.
18555
18556 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18557
18558 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18559
18560 * gdb.base/scope.exp: It's now init0(), not init().
18561
18562 * gdb.base/scope0.c: For now, change init() to be init0().
18563
18564 * config/monitor.exp: Use gdb_serial in preference to serial
18565 or netport.
18566
18567 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18568 and it's not already set.
18569
18570 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18571
18572 * gdb.base/setshow.exp: Only test the run command if the target
18573 isn't using a stub and if it supports argument passing.
18574
18575 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18576
18577 * config/udi.exp(gdb_start): Make sure UDICONF is set
18578 properly before starting gdb.
18579
18580 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18581
18582 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18583 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18584 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18585
18586 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18587
18588 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18589 specialized code to reboot the board, use remote_reboot instead.
18590
18591 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18592
18593 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18594
18595 * config/monitor.exp: Make sure we disconnect from the target.
18596 Also, try a reboot/reload cycle instead of failing if the
18597 load fails.
18598
18599 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18600
18601 * gdb.base/default.exp: Don't set match_max.
18602 * gdb.base/help.exp: Ditto.
18603 * gdb.base/list.exp: Ditto.
18604 * gdb.base/signals.exp: Ditto.
18605
18606 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18607 set, use remote_ld to download the testcase instead of
18608 the GDB loader.
18609
18610 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18611
18612 * config/vr5000.exp: New file.
18613
18614 * config/monitor.exp(gdb_target_monitor): Add pattern for
18615 "Ending remote" to detect errors in connecting.
18616
18617 * gdb.base/setshow.exp: Add .* within auto language test.
18618
18619 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18620 target feature.
18621
18622 * config/monitor.exp(gdb_load): Check for a failure when loading,
18623 and reboot the board if necessary.
18624
18625 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18626 a set of tests. Remove print.* from the patterns being checked.
18627
18628 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18629
18630 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18631 refer to gdb_spawn_id.
18632
18633 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18634 longer used.
18635 * config/sparclet.exp: Ditto.
18636 * config/sparclet-old.exp: Ditto.
18637 * config/slite.exp: Ditto.
18638 * config/sim.exp: Ditto.
18639 * gdb.base/funcargs.exp: Ditto.
18640
18641 * lib/gdb.exp:Remove references to gdb_spawn_id.
18642 (gdb_expect): Move to remote.exp.
18643
18644 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18645
18646 * config/monitor.exp: Detect the "Couldn't establish connection"
18647 message from GDB.
18648
18649 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18650
18651 * gdb.base/bitfields.exp: Use runto instead of explicit
18652 gdb_run_cmd/gdb_expect sequences.
18653
18654 * gdb.base/break.exp(text_next_with_recursion): Add match for
18655 gdb_expect call.
18656
18657 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18658 We also need to handle the "A program is being debugged already"
18659 prompt from gdb. Use gdb_test to set the baud rate.
18660
18661 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18662 to 20000. Really. I mean it.
18663
18664 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18665
18666 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18667 fails. If suppress_flag is set, skip perror message about not
18668 being able to send to GDB.
18669 (send_gdb): If suppress_flag is set, don't try to send commands to
18670 GDB.
18671 (gdb_expect): If suppress_flag is set, always fail immediately.
18672 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18673 (gdb_init): Call gdb_stop_suppressing_tests.
18674 (default_gdb_exit): Ditto.
18675 (default_gdb_start): Ditto.
18676
18677 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18678 gdb_stop_suppressing_tests as appropriate.
18679 * gdb.base/break.exp: Ditto.
18680 * gdb.base/callfuncs.exp: Ditto.
18681 * gdb.base/commands.exp: Ditto.
18682 * gdb.base/exprs.exp: Ditto.
18683 * gdb.base/funcargs.exp: Ditto.
18684 * gdb.base/list.exp: Ditto.
18685 * gdb.base/recurse.exp: Ditto.
18686 * gdb.base/scope.exp: Ditto.
18687 * gdb.base/structs.exp: Ditto.
18688 * gdb.c++/inherit.exp: Ditto.
18689
18690 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18691
18692 * config/vr4300.exp: New file.
18693
18694 * gdb.*/*.exp: Call gdb_expect instead of expect.
18695
18696 * lib/gdb.exp(gdb_expect): New function.
18697
18698 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18699
18700 * lib/gdb.exp(gdb_init): New function.
18701
18702 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18703 for each individual variable set.
18704
18705 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18706 name.
18707
18708 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18709
18710 * gdb.base/scope.exp: Use gdb_test.
18711
18712 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18713 aborting; the testsuite driver will do that for us (see
18714 gdb_finish). Also, use gdb_test in a few more places.
18715
18716 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18717
18718 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18719
18720 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18721
18722 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18723 and "add_tests" are not at the same address.
18724
18725 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18726
18727 * gdb.base/ptype.exp: Use gdb_test.
18728
18729 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18730
18731 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18732 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18733 left in. No longer expect them to fail.
18734
18735 * gdb.stabs/*.mt; Deleted, no longer used.
18736 * gdb.stabs/configure.in: Remove references to target makefile
18737 frags.
18738 * gdb.stabs/configure: Rebuilt.
18739
18740 * gdb.disasm/*.mt: Deleted, no longer used.
18741 * gdb.disasm/configure.in: Remove references to target makefile
18742 frags. Use "sh3.s" as the unique filename for this directory.
18743 * gdb.disasm/configure: Rebuilt.
18744
18745 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18746 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18747 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18748
18749 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18750
18751 * config/udi.exp: Use mondfe,name instead of remote_host.
18752
18753 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18754
18755 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18756 a function with a watchpoint enabled on the mn10200.
18757
18758 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18759 before trying to create it!
18760
18761 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18762
18763 * config/vx.exp: Use hostname instead of netport.
18764
18765 * config/vxworks.exp: New file.
18766
18767 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18768
18769 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18770 gdb before assuming everything worked. Send a ^C if a timeout
18771 occurs.
18772
18773 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18774 $gdb_spawn_id directly.
18775 (gdb_run_cmd): Try _start as well as start. Use the target feature
18776 gdb,start_symbol as the symbol to start from when jumping.
18777
18778 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18779
18780 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18781 redundant) test.
18782
18783 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18784 it doesn't lose for 16bit integer systems.
18785
18786 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18787
18788 * gdb.fortran/types.exp: If the target doesn't support "double"
18789 data types, then expect "real" types to only be 4 bytes.
18790
18791 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18792 call tests if the target doesn't support inferior function calls.
18793
18794 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18795 in printf tests.
18796
18797 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18798
18799 * gdb.base/help.exp: Disable "help set", "help show", and
18800 "help support". Simplify regexp for "help stack".
18801
18802 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18803 to 60 seconds. Temporarily set match_max to 15000 around the
18804 "info copying" test.
18805
18806 * gdb.base/nodebug.exp: Don't try to do an inferior function
18807 call if the target doesn't support them.
18808 * gdb.base/printcmds.exp: Likewise.
18809 * gdb.base/setvar.exp: Likewise.
18810 * gdb.base/structs.exp: Likewise.
18811 * gdb.c++/templates.exp: Likewise.
18812 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18813
18814 * gdb.base/recurse.exp: Enable for the mn10200.
18815
18816 * configure.in: Do configure gdb.stabs directory for *-*-elf
18817 targets.
18818 * configure: Rebuilt.
18819
18820 * gdb.base/break.exp: Check for gdb,noresults before testing
18821 exit status and/or results from the target.
18822 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18823 * lib/gdb.exp: Remove old (now bogus) initialization of
18824 noinferior, noargs, noresults and nosignals.
18825
18826 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18827
18828 * config/sh.exp: New file.
18829
18830 * config/slite.exp: Try to connect multiple times to the board
18831 before rebooting. Only send a "monitor run" if need_monitor_run
18832 is set.
18833
18834 * gdb.base/break.exp: Don't do the "stub continue" test if
18835 the target has gdb_stub set.
18836
18837 * gdb.base/callfuncs.exp: Increase the timeout.
18838
18839 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18840 if the target has gdb,noinferiorio set.
18841
18842 * gdb.base/list.exp: Increase match_max to 10000 characters.
18843
18844 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18845
18846 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18847 target.
18848
18849 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18850
18851 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18852
18853 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
18854 trying to delete the copy of gdb. Catch the file delete so we
18855 don't die if the delete fails; also, the file should be copied to
18856 the host, not to the build.
18857
18858 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18859
18860 * lib/gdb.exp(gdb_test): Surround the result pattern with
18861 parenthesis in case it contains multiple regexps separated
18862 with |.
18863
18864 * gdb.base/watchpoint.exp: Use gdb_test.
18865 * gdb.base/default.exp: Ditto.
18866
18867 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18868
18869 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
18870
18871 * gdb.base/scope.exp: Use gdb_test.
18872 * gdb.c++/classes.exp: Ditto.
18873 * gdb.c++/inherit.exp: Ditto.
18874
18875 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18876
18877 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18878 remote_exec instead.
18879 * gdb.base/corefile.exp: Don't be ridiculous.
18880 * gdb.base/*.c: Add missing stub invocations.
18881
18882 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18883
18884 * config/slite.exp: Miscellaneous fixes.
18885
18886 * lib/gdb.exp: Fix runto.
18887
18888 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18889 the target.
18890
18891 * gdb.base/watchpoint.exp: Fix regexp.
18892
18893 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18894 close and wait commands, as the descriptor may now be
18895 invalid. Always call "remote_close host".
18896
18897 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18898
18899 Major rewrite for testsuite revision.
18900
18901 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18902 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18903 instead of relying on spawn_id to always contain a valid
18904 spawn id.
18905 (get_compiler_info): New procedure to build the ${binfile}.ci
18906 file, instead of replicating this in N different places.
18907 (gdb_compile): New procedure.
18908
18909 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
18910 appropriate arguments) instead of compile. Use gdb_test in a lot
18911 more places. Use send_gdb instead of send. Always run gdb_start
18912 at the start of a testcase, as this is no longer done magically.
18913
18914 config/*-gdb.exp: Rename without the -gdb suffix.
18915
18916 config/mips.exp: Use remote_close instead of exit_remote_shell.
18917 config/monitor.exp: Use target_info instead of looking at
18918 baud, timeout, etc.
18919 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18920
18921 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18922
18923 * gdb.c++/templates.exp (test_ptype_of_templates),
18924 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18925 Update expect patterns for destructors and assignment operators
18926 to match corresponding c-typeprint.c changes.
18927 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18928 to destructor breakpoint test, GDB should be able to set the
18929 destructor breakpoint without specifying arguments.
18930
18931 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18932
18933 * gdb.threads/pthreads.exp: Change result for failure to compile due
18934 to lack of pthreads runtime support from an error to simply an
18935 unsupported test, per dejagnu standards.
18936
18937 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18938
18939 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
18940 where GDB exits to reduce pattern match time.
18941 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
18942
18943 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
18944
18945 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
18946
18947 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
18948 * gdb.base/default.exp: ditto.
18949 * gdb.base/nodebug.exp: ditto.
18950 * gdb.base/printcmds.exp: ditto.
18951 * gdb.base/ptype.exp: ditto.
18952 * gdb.base/setvar.exp: ditto.
18953 * gdb.base/structs.exp: ditto.
18954 * gdb.base/setshow.c: Guard against uninitialized values of argc.
18955
18956 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
18957
18958 * configure, */configure: Rebuild with autoconf 2.12.
18959
18960 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
18961
18962 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
18963 use new i*86-pc-linux*-gnu quads.
18964 * gdb.base/corefile.exp: Ditto.
18965 * gdb.base/signals.exp: Ditto.
18966 * gdb.base/sigall.exp: Ditto.
18967 * gdb.base/interrupt.exp: Ditto.
18968
18969 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18970 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
18971 RedHat 4.0.
18972
18973 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
18974 linux. This allows the test case to at least compile on latest
18975 linux, but still not run due to missing the threads runtime library.
18976
18977 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18978
18979 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
18980 directory to search gdb directory. Accept and step over conditional
18981 stack alignment code. Consume $prompt in failure cases.
18982 Reset timeout to $oldtimeout instead of some arbitrary value.
18983 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
18984 timeout problems with infinite stack backtraces.
18985 * gdb.base/ptype.exp (ptype struct link, union tu_link):
18986 Accept function parameters for linkfunc member.
18987
18988 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
18989
18990 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
18991 (CXXFLAGS): Remove, unreferenced.
18992 (B_OPTIONS): Add for -B options and add code to initialize with
18993 previous -B options and also add -B option to pick up cross compiled
18994 runtime.
18995 (TARGET_INCLUDES): Add for -I options and add code to initialize when
18996 doing cross compiles.
18997 (target_alias): Declare global.
18998 (xgcc): Set variable to full path of gcc in build tree. Use findfile
18999 to verify that gcc exists in build tree, and if so set CC to that
19000 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19001
19002 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19003
19004 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19005 ptype test for anonymous union. Fixup testcase to match
19006 current gcc debug output.
19007
19008 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19009
19010 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19011 force argument to an unsigned long type.
19012
19013 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19014
19015 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19016 tests and anonymous union print/ptype tests.
19017 * gdb.base/list.exp (test_forward-search): Increase timeout by
19018 5 minutes for the "search extremely long line" case.
19019 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19020 completely optional and that the pass/fail messages use the command as
19021 the message if that third arg is a null string.
19022 (gdb_test_exact): Arrange that a null string pattern means match a
19023 null string output rather than any output, which might include random
19024 errors.
19025 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19026 backtrace test.
19027 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19028 always failing and failure is now exposed by gdb.exp changes.
19029
19030 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19031
19032 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19033 weren't being noted.
19034
19035 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19036
19037 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19038 * gdb.stabs/weird.exp: Remove v_comb xfails.
19039
19040 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19041
19042 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19043 list.exp scope.exp watchpoint.exp]
19044 Make all timeout error msgs explicitly say "(timeout)".
19045
19046 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19047
19048 * config/monitor.exp: Increase download timeout to 1000 seconds.
19049
19050 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19051
19052 * config/m32r.exp: Increase timeout to 120 seconds.
19053
19054 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19055
19056 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19057 and accept older ordering as obsolescent gcc or gdb.
19058 * gdb.c++/templates.exp: Ditto.
19059 * gdb.c++/virtfunc.exp: Ditto.
19060
19061 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19062
19063 * gdb.base/coremaker.c: Add code to mmap some data so we
19064 can check that it ends up in the core file.
19065 * gdb.base/corefile.exp: Add test to read mmapped data
19066 from core file.
19067
19068 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19069
19070 * config/m32r.exp: New file.
19071
19072 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19073
19074 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19075 that cflags can contains -gstabs, and work correctly for other tests.
19076
19077 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19078
19079 * gdb.base/setshow.exp: New file, tests show and set.
19080 * gdb.base/setshow.c: New file, tests show and set.
19081 * gdb.base/help.exp: Add test for help set|show annotate.
19082 * gdb.base/default.exp: Add test for set|show annotate.
19083
19084 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19085
19086 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19087 errors unique.
19088 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19089 explicitly.
19090
19091 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19092
19093 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19094 and width commands. This is done elsewhere.
19095 * (gdb_start): Don't call gdb_start_sim here. That's already
19096 done in gdb_load. This fixes lots of failures in default.exp.
19097
19098 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19099
19100 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19101 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19102 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19103 in the same we we treat other failures (since it may be an expected
19104 condition), rather than as an error.
19105 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19106 old test format.
19107
19108 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19109
19110 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19111 (distclean maintainer-clean realclean): No need to remove files
19112 twice. Nuke the duplicates.
19113 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19114 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19115 Remove config.h along with other config files.
19116
19117 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19118
19119 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19120 "p func1 ()" and note that rests of tests are skipped.
19121 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19122 setup_xfails for "print func2::coremaker_local".
19123 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19124 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19125 affected by the previous run test.
19126 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19127 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19128 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19129 "pass int powerset tuple" and "pass modeless int powerset tuple".
19130 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19131 "real write 4" and "real write 8".
19132 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19133 setup_xfails for "print vs1 after tuple assign 2",
19134 "print \$i after tuple assign 2", and
19135 "print vs2 after tuple assign 2".
19136 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19137 meaningful error message and return -1 so the caller can
19138 suppress further tests and avoid a cascade of errors.
19139
19140 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19141
19142 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19143 format for printing version.
19144 * gdb.base/default.exp: Ditto.
19145 * gdb.base/interrupt.exp: Fix problem with cascade of
19146 errors if child process dies while calling a function.
19147
19148 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19149
19150 * Makefile.in (VPATH): Add
19151 * Makefile.in (Makefile, config.status): Fix rules so things get
19152 remade when necessary.
19153
19154 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19155
19156 * Makefile.in (just-check): Add path to sibling expect dir
19157 to environment variable specified by RPATH_ENVVAR.
19158
19159 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19160
19161 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19162 (just-check): Add shared library paths for libstdc++, tk,
19163 tcl, bfd, and opcodes to the environment variable specified
19164 in RPATH_ENVVAR.
19165 * configure.in: Add support to recognize --enable-shared flag
19166 and generate correct value for RPATH_ENVVAR.
19167 * configure: Regenerated with autoconf.
19168
19169 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19170
19171 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19172 include all osf versions.
19173 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19174 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19175 when target is linux. When failing to build pthreads test
19176 executable, give more meaningful message.
19177 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19178 arg for pthread_create.
19179
19180 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19181
19182 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19183 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19184 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19185 and -lpthreads (everybody else).
19186 (test_startup): Fail gracefully if threads are not supported.
19187 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19188 "p/c array_index("abcdef",2)" when not gcc compiled.
19189 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19190 "print func2::coremaker_local" when not gcc compiled.
19191 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19192 "ptype on opaque struct tagname (statically)",
19193 "ptype on opaque struct tagname (dynamically) 1", and
19194 "ptype on opaque struct tagname (dynamically) 2"
19195 for not compiled with gcc.
19196 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19197 backtrace when compiled with gcc.
19198 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19199 than always return success.
19200
19201 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19202
19203 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19204
19205 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19206
19207 * gdb.base/structs.exp: Undo last change.
19208
19209 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19210
19211 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19212 encapsulate all the steps/nexts done during self test, starting
19213 at main, and makes them less sensitive to optimization issues.
19214 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19215 signal handler" test.
19216 * gdb.threads/pthreads.exp: Only run this for native configs.
19217 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19218 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19219 tests.
19220 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19221 for "runto test_calls(void)" test.
19222
19223 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19224
19225 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19226 and don't expect address info in breakpoint confirmations.
19227
19228 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19229
19230 * gdb.base/list.exp (test_forward_search): Increase timeout
19231 temporarily by 60 seconds for searching extremely long line,
19232 and then reset to old value when done. Increase expect input
19233 buffer to 10000.
19234
19235 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19236
19237 * gdb.base/list.exp (test_forward_search): Fix to handle very
19238 long source line without overflowing expect's input buffer.
19239
19240 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19241
19242 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19243 "buffer_full".
19244
19245 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19246 "buffer_full".
19247
19248 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19249 "buffer_full".
19250
19251 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19252 "buffer_full".
19253
19254 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19255
19256 * configure.in (configdirs): Add gdb.threads.
19257 * configure: Regenerated with autoconf.
19258 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19259 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19260 * gdb.threads/configure: New, generated with autoconf.
19261
19262 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19263
19264 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19265
19266 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19267
19268 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19269 each signal's status in the output of "handle all print".
19270 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19271 the \r\n sequence that immediately precedes the gdb prompt.
19272 * gdb.base/a1-selftest.exp: Save original timeout and restore
19273 after test.
19274
19275 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19276
19277 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19278 symbol.
19279
19280 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19281
19282 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19283
19284 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19285
19286 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19287 timeout by 60 seconds.
19288
19289 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19290
19291 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19292 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19293 error return.
19294
19295 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19296
19297 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19298 gdb initialization, also report how long dejagnu waited. Restore
19299 old timeout before doing error return. Temporarily increase timeout
19300 by 3 minutes to allow for slow startups over heavy NFS use.
19301
19302 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19303
19304 * lib/gdb.exp: Report timeout value for verbosity level 2.
19305 * config/gdbserver.exp: Ditto.
19306 * config/hppro.exp: Ditto.
19307 * config/mips-gdb.exp: Ditto.
19308 * config/monitor.exp: Ditto.
19309 * config/netware.exp: Ditto.
19310 * config/sim-gdb.exp: Ditto.
19311 * config/slite-gdb.exp: Ditto.
19312 * config/udi-gdb.exp: Ditto.
19313 * config/unix-gdb.exp: Ditto.
19314 * config/vx-gdb.exp: Ditto.
19315 * gdb.base/a1-selftest.exp: Ditto.
19316 * gdb.base/a2-run.exp: Ditto.
19317 * gdb.base/break.exp: Ditto.
19318 * gdb.base/corefile.exp: Ditto.
19319 * gdb.base/list.exp: Ditto.
19320 * gdb.base/recurse.exp: Ditto.
19321 * gdb.base/scope.exp: Ditto.
19322 * gdb.base/signals.exp: Ditto.
19323
19324 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19325
19326 * gdb.threads/Makefile.in (docdir): Removed.
19327
19328 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19329
19330 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19331 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19332 @srcdir@.
19333 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19334 autoconf 2.5 or higher.
19335 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19336
19337 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19338
19339 * configure: Regenerated.
19340 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19341 avoid name clashes with SunOS headers.
19342
19343 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19344
19345 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19346
19347 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19348
19349 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19350 prototype information ends up in the compiler info file.
19351
19352 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19353
19354 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19355 attempting to regenerate it. Eliminate use of a temporary file
19356 and just generate the info file directly. Source it immediately,
19357 for consistency of use.
19358 * gdb.base/corefile.exp: Ditto
19359 * gdb.base/exprs.exp: Ditto.
19360 * gdb.base/funcargs.exp: Ditto.
19361 * gdb.base/langs.exp: Ditto.
19362 * gdb.base/list.exp: Ditto.
19363 * gdb.base/mips_pro.exp: Ditto.
19364 * gdb.base/nodebug.exp: Ditto.
19365 * gdb.base/opaque.exp: Ditto.
19366 * gdb.base/ptype.exp: Ditto.
19367 * gdb.base/scope.exp: Ditto.
19368 * gdb.base/setvar.exp: Ditto.
19369 * gdb.base/signals.exp: Ditto.
19370 * gdb.base/whatis.exp: Ditto.
19371 * gdb.c++/templates.exp: Ditto.
19372 * gdb.c++/virtfunc.exp: Ditto.
19373 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19374 whether or not to add -lstdc++ to the compile command line args.
19375
19376 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19377
19378 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19379 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19380 Increase timeout, a lot of single stepping might be needed if the
19381 target has no hardware watchpoints.
19382
19383 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19384
19385 * gdb.base/break.exp: Ignore compiler warnings when compiling
19386 break.c.
19387 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19388 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19389 from remote-sim.
19390 * gdb.base/exprs.exp: Add h8300 xfails.
19391 * gdb.base/funcargs.exp: Likewise.
19392 * gdb.base/nodebug.exp: Likewise.
19393 * gdb.base/printcmds.exp: Likewise.
19394 * gdb.base/ptype.exp: Likewise.
19395 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19396 h8300 xfails.
19397 * gdb.base/return.exp: Handle float/double precision problems
19398 on the h8300.
19399 * gdb.base/funcargs.c: Explicitly make last constant argument to
19400 call_after_alloca_subr an unsigned long type.
19401 * gdb.base/return.c: Include stdio.h.
19402
19403 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19404
19405 * config/abug.exp: New file for the older Motorola Bug monitor
19406 that runs on the mvme13x series VME boards.
19407 * config/monitor.exp: Use the new config array for target settings
19408 if they exist.
19409
19410 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19411
19412 * sim-gdb.exp: Make the SH simulator allocate less space when
19413 it is targeted.
19414
19415 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19416
19417 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19418 test.
19419
19420 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19421
19422 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19423 "rs6000-*-*" for "list function in include file" when gcc compiled.
19424 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19425 for "p ctable1[120]".
19426 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19427 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19428 Remove setup_xfail for "rs6000-*-*" for
19429 "print 'scope0.c'::filelocal before run".
19430 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19431 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19432 since some compilers don't allow both options to be given
19433 on the same command line. Create object file and move it.
19434
19435 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19436
19437 * gdb.base/corefile.exp: Always regenerate the core file, since
19438 we always regenerate the coremaker program. Detect special case
19439 where registers cannot be read from core file.
19440
19441 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19442
19443 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19444 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19445 * gdb.c++/templates.exp: Only match on basename of file since
19446 some formats like xcoff don't encode directory information.
19447 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19448 and rs6000 AIX xcoff targets.
19449 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19450 * configure: Regenerate.
19451 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19452 here, rather than in distclean.
19453
19454 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19455
19456 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19457 defined, and use it to compile the test case with -O2. The
19458 native compilation still uses no optimization.
19459 * gdb.base/mips_pro.c: Remove inline assembly code since
19460 it is compiled PIC by default, which results in assembler
19461 warnings that make the testsuite think the compilation
19462 was unsuccessful.
19463
19464 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19465
19466 * gdb.c++/misc.exp: Add note to message for
19467 "print s.a for foo struct" that this is a known gcc 2.7.2
19468 and earlier bug.
19469
19470 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19471
19472 * gdb.base/break.exp: Fix pattern for matching "Delete all
19473 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19474 setup_xfail for deleting all breakpoints test. Fix various
19475 timeout messages to include "(timeout)".
19476 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19477 for "p t_float_values2(3.14159,float_val2)".
19478 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19479 for "continue to call2g" when gcc compiled.
19480 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19481 "up to foo in langs.exp", "show language at foo in langs.exp",
19482 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19483 and "show language at fsub in langs.exp".
19484 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19485 "list line 1 in include file", "list message for lines past EOF",
19486 "list function in include file", "list list0.h:foo", and
19487 "list filename:function; nonexistant function".
19488 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19489 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19490 and "ptype t_char_array" to be for native cc only.
19491
19492 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19493
19494 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19495 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19496 "print func2::coremaker_local", and "backtrace in corefile.exp".
19497
19498 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19499
19500 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19501 "bt in signals.exp". This problem only appears when running
19502 the testsuite, and then only intermittently.
19503
19504 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19505
19506 * gdb.base/return.exp (return_tests): Differentiate between
19507 two tests of continuing.
19508
19509 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19510
19511 * */Makefile.in (maintainer-clean): Remove config.log.
19512 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19513 * gdb.c++/Makefile.in (PROGS): Add inherit.
19514 (clean): Remove *.ci.
19515
19516 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19517
19518 * gdb.c++/misc.cc: Add test code from Mike Stump.
19519 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19520
19521 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19522
19523 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19524 to "alpha-*-osf2*" and add comment.
19525 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19526 setup_xfail for "step over execarg initialization" and
19527 "step over corearg initialization".
19528 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19529 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19530 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19531 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19532 "print func2::coremaker_local", and "backtrace in corefile.exp".
19533 * gdb.base/signals.exp: Build and source signals.ci.
19534 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19535 to be for gcc only.
19536 * lib/gdb.exp: Move verbose statements outside conditionals.
19537
19538 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19539
19540 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19541 Feb 3 procfs.c change.
19542
19543 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19544
19545 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19546
19547 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19548
19549 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19550 from dejagnu's apparent default of 10 seconds, which gives random
19551 results when running the tests over NFS on moderately loaded systems.
19552 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19553
19554 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19555
19556 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19557 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19558 result reports.
19559
19560 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19561
19562 * configure.in (CY_AC_PATH_TCLH): Remove.
19563 * configure: Regenerate.
19564
19565 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19566
19567 * gdb.c++/Makefile.in (clean): Add missing '{'.
19568
19569 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19570
19571 * lib/gdb.exp: Provide a default value for noinferior.
19572
19573 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19574 Load libgloss.exp.
19575
19576 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19577
19578 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19579 the executable, not the .o to run the tests from.
19580
19581 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19582
19583 * gdb.base/break.exp: Don't test for program exit or exit status
19584 if $noresults if nonzero.
19585 * gdb.base/langs.exp: Likewise.
19586 * gdb.base/watchpoint.exp: Likewise.
19587
19588 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19589 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19590 trying to compile the testcase.
19591
19592 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19593
19594 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19595 * gdb.base/signals.exp (continue to handler): Likewise.
19596
19597 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19598
19599 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19600
19601 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19602
19603 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19604
19605 * gdb.base/corefile.exp: Recognize "not found" as failure
19606 when trying to determine if a core file was generated.
19607 If no core file was generate the first time, try again without
19608 the ulimit -c to work around braindamaged shells.
19609
19610 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19611
19612 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19613 [] tests with "test" and enclose string in quotes.
19614 * gdb.stabs/configure: Rebuild
19615
19616 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19617
19618 Changes in sync with expect:
19619 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19620 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19621 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19622 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19623 argument to AC_REQUIRE.
19624 * configure: Regenerated.
19625
19626 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19627
19628 * gdb.base/corefile.exp: When generating a core, discard any
19629 error messages about ulimit not found and the "core dumped"
19630 message from the shell that runs the coredumper.
19631
19632 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19633
19634 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19635
19636 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19637 which sed script to run. Expect failure for v_comb test
19638 on PA targets too.
19639
19640 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19641
19642 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19643 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19644
19645 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19646
19647 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19648 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19649 "sparc-sun-solaris*" xfails for "p v_comb".
19650 * lib/gdb.exp (default_gdb_start): Fix typo.
19651 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19652 messages to not include the full program name that caused
19653 the core dump since some systems (such as solaris) apparently
19654 truncate this path to about 80 characters.
19655 When generating a core file first try increasing the core file
19656 size limit to unlimited since some systems may default it to
19657 zero, and it is harmless to try it. Move the test for failing
19658 to generate a core file to where it will actually get executed.
19659 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19660 new gdb result from g++ debug info improvements and make old
19661 pattern obsolescent. Also account for size_t differences
19662 (may be int or long).
19663 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19664 initialization before function call is placed in the delay slot
19665 and thus appears to be skipped over by commands such as "next".
19666
19667 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19668
19669 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19670
19671 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19672
19673 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19674 input source file; fix code to compile test to deal with this
19675 convention.
19676 * gdb.c++/*.exp: Likewise.
19677
19678 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19679
19680 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19681 "bt in signals.exp".
19682
19683 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19684
19685 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19686 "step over execarg initialization" and
19687 "step over corearg initialization".
19688
19689 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19690
19691 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19692 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19693
19694 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19695
19696 From Rob Savoye (rob@poseidon.cygnus.com)
19697 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19698 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19699 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19700 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19701 configure.in}: Major reworking for autoconfig.
19702 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19703 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19704 New files.
19705 * config/unix-gdb.exp: Make GDB global.
19706 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19707 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19708 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19709 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19710 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19711 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19712 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19713 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19714 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19715 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19716 pr-8136.exp, result.exp, string.exp, tuples.exp},
19717 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19718 to returns as necessary, arrange for test to compile own testcase
19719 executable.
19720 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19721
19722 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19723
19724 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19725 clear_xfail at end of test which might not call either pass or fail.
19726 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19727 "backtrace through signal handler".
19728
19729 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19730
19731 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19732 continuing from a job control stop signal.
19733 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19734
19735 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19736
19737 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19738 * gdb.base/corefile.exp: Likewise.
19739 * gdb.base/funcargs.exp: Likewise.
19740
19741 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19742
19743 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19744 * config/monitor.exp: Add support for setting baud rate.
19745
19746 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19747
19748 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19749 i*86-*-linux* xfails for "backtrace through signal handler".
19750 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19751 "print func2::coremaker_local".
19752 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19753 alpha-dec-osf2* xfail for
19754 "delete all breakpoints when none".
19755
19756 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19757
19758 * gdb.base/break.exp: Change test that deletes all breakpoints
19759 when no user breakpoints are installed. A post 4.15 change
19760 causes gdb to no longer prompt in this case.
19761
19762 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19763
19764 * gdb.base/return.exp (return_tests): Change xfail for test
19765 "correct value returned double test" to stop xfailing at
19766 Solaris 2.5. Apparently the bug has been fixed.
19767
19768 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19769
19770 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19771 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19772
19773 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19774
19775 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19776 * gdb.disasm/hppa.s: Corresponding changes.
19777
19778 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19779
19780 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19781 makefile fragment.
19782 * config/mt-hpux: Deleted.
19783
19784 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19785
19786 * Many files: When warning about suppressed tests due to a
19787 nonexistant test binary, avoid incrementing the warning count.
19788
19789 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19790
19791 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19792
19793 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19794
19795 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19796 "sparc-*-solaris2*".
19797
19798 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19799
19800 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19801 Add global and local variables and initialize them.
19802 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19803 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19804 extracts the file name and terminating signal from the core file.
19805 * TODO: Remove note about tests for correct mapping of corefile.
19806 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19807 from optimizing it away.
19808 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19809 handles common blocks.
19810
19811 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19812
19813 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19814 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19815
19816 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19817
19818 * Makefile.in (maintainer-clean): New target, synonym for
19819 realclean.
19820 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19821 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19822 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19823 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19824 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19825 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19826
19827 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19828
19829 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19830 xfails when not gcc compiled for "print foo::funclocal".
19831 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19832 "print foo::funclocal at foo",
19833 "print 'scope1.c'::foo::funclocal at foo",
19834 "print foo::funclocal_bss at foo",
19835 "print 'scope1.c'::foo::funclocal_bss at foo",
19836 "print foo::funclocal_ro at foo",
19837 "print 'scope1.c'::foo::funclocal_ro at foo",
19838 "print bar::funclocal at foo" and
19839 "print 'scope1.c'::bar::funclocal at foo".
19840 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19841 gcc compiled for "print foo::funclocal at bar".
19842 Expand all messages to ensure that they identify that
19843 the test is at bar().
19844 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19845 gcc compiled for:
19846 "ptype on opaque struct pointer (statically)",
19847 "ptype on opaque struct tagname (statically)",
19848 "ptype on opaque struct pointer (dynamically) 1",
19849 "ptype on opaque struct tagname (dynamically) 1",
19850 "ptype on opaque struct pointer (dynamically) 2" and
19851 "ptype on opaque struct tagname (dynamically) 2
19852 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19853 gcc compiled for:
19854 "p datalocal"
19855 "whatis datalocal",
19856 "ptype datalocal",
19857 "p bsslocal",
19858 "whatis bsslocal", and
19859 "ptype bsslocal".
19860 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19861 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19862 when not gcc compiled.
19863 * gdb.base/funcargs.exp (float_and_integral_args): Add
19864 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19865 compiled.
19866 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19867 "backtrace from call6a" when not gcc compiled.
19868 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19869 "backtrace from call7a" when not gcc compiled.
19870 * gdb.base/callfuncs.exp (do_function_calls):
19871 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19872 "p t_char_array_values(char_array_val2,char_array_val1)",
19873 "p t_char_array_values(char_array_val1,char_array_val2)",
19874 "p t_char_array_values("carray 1","carray 2")",
19875 "p t_char_array_values("carray 1",char_array_val2)",
19876 "p t_char_array_values(char_array_val1,"carray 2")",
19877 "p sum_args(1,{2})",
19878 "p sum_args(2,{2,3})",
19879 "p sum_args(3,{2,3,4})",
19880 "p sum_args(4,{2,3,4,5})"
19881 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19882 "backtrace in corefile.exp" when not gcc compiled.
19883
19884 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19885
19886 * gdb.base/signals.exp: Rewrite `handle all print' test as
19887 a procedure. Accept blanks or TABs as whitespace, increase
19888 timeout and expect input buffer size for the large output
19889 from the command. Remove "i*86-*-bsdi2.0" xfail.
19890
19891 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19892
19893 * gdb.base/setvar.exp: Add new testcases for truncation when
19894 assigning invalid values to bitfields.
19895
19896 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19897
19898 * gdb.base/callfuncs.exp (do_function_calls): Remove
19899 mips-sgi-irix* xfail for
19900 "call inferior func with struct - returns char *"
19901 and fix test so that an optional (unsigned char *) cast is
19902 accepted in the result.
19903
19904 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19905
19906 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19907 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19908 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19909 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19910 that accidentally got checked in.
19911
19912 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19913
19914 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
19915 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19916 compiled test.
19917 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19918 Add mips-sgi-irix5* xfail for not gcc compiled.
19919 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19920 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19921 "p top", "whatis top", "p middle", and "whatis middle".
19922 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19923 "whatis signed char" for not gcc compiled.
19924 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19925 "set variable signed char=-1 (-1)" and
19926 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19927 * gdb.base/funcargs.exp (float_and_integral_args):
19928 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19929 Add mips-sgi-irix* xfail when not gcc compiled for
19930 "continue to call2b".
19931 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19932 "continue to call2g".
19933 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19934 "backtrace from call6a"
19935 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
19936 "backtrace from call7k".
19937 Add mips-sgi-irix5* xfail when not gcc compiled for
19938 "backtrace from call7a".
19939 (localvars_after_alloca): Fix gdb_test cmds for
19940 "print * after runto ...".
19941 Remove rs6000-*-* xfails for
19942 "print i after runto localvars_after_alloca" and
19943 "print l after runto localvars_after_alloca"
19944 for all compilers.
19945 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
19946 when not compiled with gcc, for:
19947 "print signed char == (minus)",
19948 "print signed char != (minus)",
19949 "print signed char < (minus)",
19950 "print signed char > (minus)".
19951 * gdb.base/callfuncs.exp (do_function_calls):
19952 Add mips-sgi-irix* xfail, when compiled with native compiler, for
19953 "call inferior func with struct - returns char *".
19954 * gdb.base/return.exp (return_tests): Change xfail for
19955 "correct value returned double test" to include Solaris 2.4.
19956 * gdb.base/funcargs.exp (float_and_integral_args):
19957 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19958
19959 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19960
19961 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
19962 enumeration bitfields if compiling with GNU C.
19963 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
19964 to empty' prompt.
19965
19966 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19967
19968 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19969 test for PRO targets.
19970
19971 * gdb.base/funcargs.exp: Avoid ever setting more than 8
19972 breakpoints in the inferior at any given time by making
19973 two groups of breakpoints for call2*, call6* and call7*
19974 tests.
19975
19976 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19977
19978 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
19979 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
19980 from optimizing it away.
19981 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
19982 "call inferior func with struct".
19983
19984 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
19985
19986 * configure.in: Only configure gdb.chill for particular targets.
19987
19988 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
19989
19990 * gdb.base/Makefile.in: Add action to .c.o transformation
19991 rule that generates a .ci file for each .o file and remove
19992 explicit .c.o rules except for callfuncs.o.
19993 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
19994 generates a .ci file for each .o file and remove explicit
19995 .cc.o rules.
19996 (clean): Remove *.tmp *.ci files.
19997 (EXECUTABLES): Remove templ-info.exp.
19998 * gdb.base/compiler.c: New file.
19999 * gdb.c++/compiler.cc: New file
20000 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20001 Change rs6000-*-* xfail for
20002 "print 'scope0.c'::filelocal_ro" and
20003 "print 'scope1.c'::filelocal" and
20004 "print 'scope1.c'::filelocal_bss" and
20005 "print 'scope1.c'::filelocal_ro" and
20006 "print 'scope1.c'::foo::funclocal" and
20007 "print 'scope1.c'::foo::funclocal_ro" and
20008 "print 'scope1.c'::bar::funclocal" and
20009 "print 'scope0.c'::filelocal_ro" and
20010 "print 'scope1.c'::filelocal at foo" and
20011 "print 'scope1.c'::filelocal_bss at foo" and
20012 "print 'scope1.c'::filelocal_ro at foo" and
20013 "print 'scope1.c'::foo::funclocal at foo" and
20014 "print 'scope1.c'::foo::funclocal_bss at foo" and
20015 "print 'scope1.c'::foo::funclocal_ro at foo" and
20016 "print 'scope1.c'::bar::funclocal at foo" and
20017 "print 'scope0.c'::filelocal_ro" and
20018 "print 'scope1.c'::filelocal" and
20019 "print 'scope1.c'::filelocal_bss" and
20020 "print 'scope1.c'::filelocal_ro" and
20021 "print 'scope1.c'::foo::funclocal" and
20022 "print 'scope1.c'::foo::funclocal_bss" and
20023 "print 'scope1.c'::foo::funclocal_ro" and
20024 "print 'scope1.c'::bar::funclocal" and
20025 "print 'scope1.c'::bar::funclocal_bss"
20026 to only be xfail'd when not compiled with gcc.
20027 Add rs6000-*-* xfail for
20028 "print 'scope0.c'::filelocal_bss before run"
20029 when compiled with gcc.
20030 (test_at_main): Add rs6000-*-* xfail for
20031 "print filelocal_ro in test_at_main"
20032 when compiled with gcc.
20033 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20034 Add rs6000-*-aix* xfail for
20035 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20036 "ptype t_char_array", not compiled with gcc.
20037 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20038 xfail for "list foo (in include file)" when gcc compiled.
20039 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20040 (integral_args): Add rs6000-*-* xfail for
20041 "run to call0a" if not compiled with gcc.
20042 (unsigned_integral_args): Add rs6000-*-* xfail for
20043 "run to call1a" if not compiled with gcc.
20044 (float_and_integral_args): Add rs6000-*-* xfail for
20045 "run to call2a" if not compiled with gcc and for
20046 "continue to call2b" for any compiler.
20047 Add rs6000-*-* xfail to
20048 "print f1 after run to call2a" for gcc compiled.
20049 (discard_and_shuffle): Add rs6000-*-* xfail for
20050 "run to call6a".
20051 (shuffle_round_robin): Add rs6000-*-* xfail for
20052 "backtrace from call7a" if not compiled with gcc.
20053 Add rs6000-*-* xfail for
20054 "backtrace from call7b" if compiled with gcc.
20055 (call_after_alloca): Add rs6000-*-* xfail for
20056 "print c in call_after_alloca" and
20057 "print s in call_after_alloca" and
20058 "backtrace from call_after_alloca_subr"
20059 if not compiled with gcc.
20060 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20061 "print c in localvars_in_indirect_call" and
20062 "print c in localvars_in_indirect_call" and
20063 "backtrace in indirectly called function" and
20064 "stepping into indirectly called function"
20065 if not compiled with gcc.
20066 (localvars_after_alloca): Add rs6000-*-* xfail for
20067 "print c after runto localvars_after_alloca" and
20068 "print s after runto localvars_after_alloca" and
20069 "print i after runto localvars_after_alloca" and
20070 "print l after runto localvars_after_alloca"
20071 for all compilers.
20072 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20073 than whatis-info.exp.
20074 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20075 than opaque-info.exp.
20076 Setup rs6000-*-* xfail for
20077 "ptype on opaque struct pointer (statically)" and
20078 "ptype on opaque struct pointer (dynamically)" when
20079 not compiled with gcc.
20080 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20081 rather than callf-info.exp.
20082 (do_function_calls): Add clear_xfail for rs6000-*-* for
20083 "p t_float_values2(3.14159,float_val2)". Seems to work
20084 fine there, both with xlc and gcc. Need to find out what
20085 it is doing right and fix other platforms.
20086 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20087 "call inferior func with struct - returns int",
20088 "call inferior func with struct - returns long",
20089 "call inferior func with struct - returns float",
20090 "call inferior func with struct - returns double",
20091 "call inferior func with struct - returns char *",
20092 but only if not gcc compiled (presumes xlc compiled).
20093 Change rs6000-*-* xfails for
20094 "call inferior func with struct - returns char" and
20095 " call inferior func with struct - returns short" to only
20096 xfail if not using gcc.
20097 (clean mostlyclean): Remove *.ci and *.tmp files.
20098 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20099 than templ-info.exp.
20100 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20101 Add rs6000-*-* xfail for "up to foo in langs.exp"
20102 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20103 when not gcc compiled.
20104
20105 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20106
20107 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20108 * gdb.base/corefile.exp: Likewise.
20109 * gdb.base/list.exp: Likewise.
20110 * gdb.base/scope.exp: Likewise.
20111 * gdb.base/siganls.exp: Likewise.
20112
20113 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20114 compiler output.
20115 * gdb.base/whatis.exp: Likewise.
20116
20117 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20118
20119 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20120 failure (opcode table has been fixed to match reality).
20121
20122 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20123
20124 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20125 "call inferior func with struct - returns char",
20126 "call inferior func with struct - returns short"
20127
20128 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20129 "print 'scope0.c'::filelocal at main",
20130 "print 'scope0.c'::filelocal_bss in test_at_main",
20131 "print 'scope0.c'::filelocal at foo",
20132 "print 'scope0.c'::filelocal_bss in test_at_foo",
20133 "print 'scope0.c'::filelocal at bar",
20134 "print 'scope0.c'::filelocal_bss in test_at_bar"
20135
20136 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20137 in source file 1". This bug seems to have been fixed with both
20138 gcc and native cc (was native assembler bug?).
20139
20140 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20141
20142 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20143 "backtrace through signal handler" to "i*86-*-sysv4*".
20144 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20145 continue" case. Add "known SVR4 bug" to fail message.
20146 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20147 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20148 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20149 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20150 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20151 "up to foo in langs.exp", "show language at foo in
20152 langs.exp", "up to cppsub_ in langs.exp", "show
20153 language at cppsub_ in langs.exp", "up to fsub in
20154 langs.exp", and "show language at fsub in langs.exp".
20155 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20156 "bactrace in corefile.exp".
20157 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20158 "call inferior function with struct - returns float" and
20159 "call inferior function with struct - returns double".
20160
20161 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20162
20163 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20164 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20165 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20166 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20167
20168 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20169
20170 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20171 (or overriden) "CHILL" macro rather then bare "gcc".
20172 Also look for ../../gcc/xgcc since that is what we will
20173 actually need, not "Makefile". Remove following assignment
20174 of CHILL to CHILL_FOR_TARGET because that results in
20175 recursive definition.
20176
20177 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20178
20179 * gdb.base/corefile.exp: Change xfail for backtrace in
20180 corefile.exp from linuxaout to all linux.
20181 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20182 cases where we miss the breakpoint at the signal handler
20183 for some reason. Setup xfail for linuxoldld/linuxaout and
20184 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20185 hitting SIGURG breakpoint.
20186 * gdb.base/signals.exp: Setup xfail for "next" acting like
20187 continue to add linuxoldld. Setup xfail for all linux for
20188 "next to handler in signals_tests_1", "backtrace in
20189 signals_tests_1", "continue to func1", "pass SIGUSR1",
20190 and continue to handler".
20191
20192 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20193
20194 * Update all FSF addresses except those in COPYING* files.
20195
20196 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20197
20198 * gdb.base/a2-run.exp: Change messages to be more explicit about
20199 the status of args, and quote binfile in results.
20200
20201 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20202
20203 * gdb.base/callfuncs.exp: Add tests for passing structs to
20204 inferior functions and return various types.
20205 * gdb.base/callfuncs.c: Add functions to receive a struct
20206 and return a member of the struct, in various types.
20207
20208 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20209
20210 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20211
20212 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20213
20214 * config/vxworks29k.exp: New file, sources vxworks.exp.
20215
20216 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20217
20218 * config/gdbremote.exp: New file. Testing framework using
20219 gdbserver.
20220
20221 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20222
20223 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20224 "call function when asleep" and "send end of file".
20225 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20226 for "backtrace in corefile.exp".
20227 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20228 for "backtrace through signal handler".
20229 * gdb.base/corefile.exp: Make sure we actually generate a core file
20230 before trying the core tests. Some systems allow the user to suppress
20231 generation of core files and default to that (linux for example).
20232 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20233 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20234
20235 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20236
20237 * gdb.threads: New directory with some crude multi-threaded
20238 gdb tests (step.exp and step2.exp).
20239 * config/mt-lynx (STEP_EXECUTABLE): Define.
20240 (THREADFLAGS): Define.
20241
20242 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20243
20244 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20245
20246 * gdb.base/signals.exp: Disable whole file for lynx until
20247 further notice.
20248
20249 * gdb.base/signals.exp: xfail test where "next" acts like
20250 "continue" for lynx.
20251
20252 * gdb.base/interrupt.exp: xfail test for calling function while
20253 inferior is asleep for lynx.
20254
20255 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20256 than one cr-lf after each command.
20257
20258 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20259
20260 * configure.in: Reinstate setting of stabsdirs variable, fix
20261 typo in setting up configdirs for native builds.
20262
20263 * gdb.base/return.exp: Fix typo in return double test.
20264 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20265 compiler from optimizing them away.
20266
20267 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20268
20269 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20270 sequences to be echo'd by gdb when using gdb_test.
20271 * gdb.chill/chexp.exp: Likewise.
20272 * gdb.fortran/exprs.exp: Likewise
20273
20274 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20275
20276 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20277 after the inferior gdb has started.
20278
20279 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20280 after each command.
20281 * gdb.base/funcargs.exp: Likewise.
20282 * gdb.base/gdbvars.exp: Likewise.
20283 * gdb.base/interrupt.exp: Likewise.
20284 * gdb.base/list.exp: Likewise.
20285 * gdb.base/watchpoint.exp: Likewise.
20286 * gdb.c++/demangle.exp: Likewise.
20287 * gdb.c++/inherit.exp: Likewise.
20288 * gdb.chill/chexp.exp: Likewise.
20289 * gdb.fortran/exprs.exp: Likewise.
20290
20291 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20292 test if we can't handle IO to/from the inferior.
20293
20294 * gdb.c++/misc.exp: Always check for a program already being
20295 started after sending a "run" command to gdb.
20296
20297 * gdb.base/twice.exp: Start with a fresh gdb.
20298
20299 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20300 only depend on gdb's expression code, not the chill runtime.
20301
20302 * gdb.base/return.c: Put return values into variables so we
20303 can have gdb print them rather than depending on the program
20304 to print them.
20305 * gdb.base/return.exp: Corresponding changes.
20306
20307 * lib/gdb.exp: Provide default value for noinferiorio.
20308 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20309 the inferior.
20310
20311 * gdb.base/break.exp: Always check for a program already being
20312 started after sending a "run" command to gdb.
20313 (text_next_with_recursion): Don't check the output from the
20314 program's printf statement. Instead just make sure the program
20315 exited.
20316
20317 * gdb.base/commands.exp: Protect tests which need arguments with
20318 $noargs conditionals.
20319
20320 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20321
20322 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20323 of structure member arrays to match gdb/valops.c:value_addr change.
20324
20325 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20326
20327 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20328 cases.
20329
20330 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20331
20332 * configure.in (configdirs): Remove gdb.chill from default list
20333 of subdirs and then add it back in only if doing a native build.
20334 The current chill compiler does not yet work in any cross build.
20335 * Revert all signal changes from Jul 6.
20336 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20337 for sh-hms targets, allowing these tests to link, with no other
20338 changes. Testing is suppressed by setting "nosignals" in site.exp.
20339
20340 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20341
20342 * configure.in (signaldirs): Define and add to configdirs for all
20343 targets except some specific ones that are known to not support signals.
20344 Also clean up formatting.
20345 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20346 (signals, sigall): Remove rules to build.
20347 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20348 Moved to new gdb.signals directory.
20349 * gdb.signals: New test directory.
20350 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20351 signals.c signals.exp}: New or moved files.
20352
20353 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20354
20355 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20356
20357 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20358
20359 * gdb.base/return.exp: Xfail `return double' test failure
20360 on at least Solaris 2.3 and handle future/past versions on
20361 a case by case basis as appropriate. Also update message
20362 to include i*86 failures.
20363
20364 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20365
20366 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20367
20368 * lib/gdb.exp: Fix comment which erroneously identified
20369 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20370 gdb_file_cmd not gdb_load).
20371 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20372
20373 * gdb.base/setvar.exp: Make test names consistent between pass and
20374 fail cases. Use gdb_test more.
20375
20376 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20377
20378 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20379
20380 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20381
20382 * gdb.base/help.exp: Fix expected help string for `show commands'.
20383
20384 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20385
20386 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20387
20388 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20389 of a text section.
20390
20391 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20392
20393 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20394 that loop eventually terminates. Fix Connection refused logic so
20395 that testsuite will expire nicely.
20396
20397 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20398
20399 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20400 config/rom68k.exp: New tcl glue for the appropriate monitors.
20401 These all just end up calling monitor.exp.
20402 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20403 refused' by retrying. Cleanup some timeout issues.
20404 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20405 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20406 callers don't have to set/restore global timeout variable.
20407
20408 * The following set of changes centralizes management of the global
20409 timeout variable. This way, it can be set in one target dependent
20410 place instead of dozens of places scattered throughout the test suite.
20411 If you need to lengthen a timeout, then you should either set timeout
20412 in one of the config/{target}.exp files, or multiply it by a factor.
20413 Setting it to an absolute value is always going to lose for some
20414 targets.
20415 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20416 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20417 * gdb.base/funcargs.exp: Don't set timeout.
20418 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20419 * gdb.base/printcmds.exp (test_print_string_constants
20420 test_print_array_constants): Don't set timeout.
20421 * gdb.base/ptype.exp: Don't set timeout.
20422 * gdb.base/recurse.exp: Don't set timeout.
20423 * gdb.base/return.exp: Don't set timeout.
20424 * gdb.base/watchpoint.exp: Don't set timeout.
20425 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20426 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20427
20428 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20429
20430 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20431
20432 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20433
20434 * lib/gdb.exp: Disable chill tests for irix5.
20435
20436 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20437
20438 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20439 each test pass or fail.
20440
20441 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20442
20443 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20444 xlc not gcc.
20445
20446 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20447
20448 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20449
20450 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20451
20452 * config/est.exp: Fix copyright and comments. Remove dead code.
20453 Use targetname, serialport and baud variables instead of fixed
20454 constants.
20455 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20456 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20457
20458 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20459
20460 * gdb.base/watchpoint.exp: Don't run
20461 test_watchpoint_triggered_in_syscall for sunos.
20462
20463 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20464
20465 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20466 they don't seem to exist. Do include stdio.h.
20467
20468 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20469
20470 * gdb.base/a1-selftest.exp: Add alpha xfail.
20471
20472 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20473
20474 * gdb.base/watchpoint.c (main): Prompt before calling read().
20475 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20476 Revise accordingly. Remove cruft about sending "123" several
20477 times, until it gets noticed. Clean up the "print buf[0]" stuff
20478 so that it passes or fails, and waits for prompts in the usual way.
20479
20480 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20481
20482 * gdb.base/recurse.exp: Fix comment.
20483
20484 * TODO: Remove item about printing variables in nodebug.exp. Add
20485 item about enabling tests which are only run on some targets.
20486
20487 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20488 fail, make test names unique, use new gdb_test convention
20489 regarding pattern, use gdb_test more, etc.).
20490
20491 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20492 fail, make test names unique, etc.).
20493
20494 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20495
20496 * gdb.base/nodebug.c: Change return type of top and middle to
20497 short.
20498 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20499 are fixed by the recent mdebugread.c changes. Allow `short ()'
20500 as type for top and middle.
20501
20502 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20503
20504 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20505 nearly as I can tell, the whole thing was an accident in Stu's
20506 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20507 to replace a send/expect pair with gdb_test, but ended up only
20508 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20509 of 30 Mar 1995 took care of it, but left this vestigial comment
20510 which I am now nuking.
20511
20512 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20513
20514 * gdb.base/break.exp: Look for different line number for
20515 breakpoint at main depending on usestubs.
20516
20517 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20518
20519 * gdb.base/list.exp: Adjust some alternate expect patterns to
20520 match recent list0.c change. Add alternate expect pattern for
20521 output from `list default lines around main' for optimizing
20522 compilers.
20523
20524 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20525
20526 * lib/gdb.exp: If nosignals is not set, set it to 0.
20527
20528 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20529
20530 * config/slite-gdb.exp: Responds to load symbol table prompt.
20531 * gdb.base/break.exp: Adjust line number, fix rerun.
20532 * gdb.base/langs0.c: Add #ifdef usestubs.
20533
20534 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20535
20536 * gdb.base/list.exp: Adjust line contents after adding new lines in
20537 list0.c. Also fix a syntax error.
20538
20539 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20540 * gdb.base/break.exp: ditto.
20541 * gdb.base/list.exp: ditto.
20542 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20543 * gdb.base/run.c: ditto.
20544 * gdb.base/list0.c: ditto.
20545 * gdb.base/funcargs.c: ditto.
20546
20547 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20548
20549 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20550 $targetname, $serialport and $baud instead of hardwired variables.
20551 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20552 target doesn't support signals.
20553
20554 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20555
20556 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20557
20558 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20559
20560 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20561 Don't rely on the value of an auto variable before it has been
20562 initialized. Use gdb_test more.
20563
20564 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20565
20566 * lib/gdb.exp (default_gdb_version): A version number must start
20567 with a digit, but other than that contains all characters up to
20568 the first whitespace character.
20569
20570 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20571
20572 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20573
20574 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20575
20576 * gdb.c++/*.exp: Warn if executable does not exist. The original
20577 reason for skipping the warning was that configure.in sometimes
20578 intentionally skipped building the executables but the tcl code
20579 had no way of knowing. That (a) was always bogus with respect to
20580 error handling, (b) is no longer true (right now there is no way
20581 to skip C++ tests).
20582
20583 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20584
20585 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20586
20587 * gdb.base/list.exp: Add expect patterns for output from
20588 SunPRO compiled executables.
20589 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20590 types.
20591
20592 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20593
20594 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20595 number (we are already testing that the correct source line text
20596 gets printed).
20597
20598 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20599 that is what is intended, but something needed to be done to get
20600 sunos4 native working again.
20601
20602 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20603
20604 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20605 apparently went with a (very) old xfail.
20606
20607 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20608
20609 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20610 runto_main is a proc in gdb.exp that will do 'step' for target use
20611 stubs.
20612 * gdb.base/exprs.exp: ditto.
20613 * gdb.base/interrupt.exp: ditto.
20614 * gdb.base/opaque.exp: ditto.
20615 * gdb.base/printcmds.exp: ditto.
20616 * gdb.base/ptype.exp: ditto.
20617 * gdb.base/scope.exp: ditto.
20618 * gdb.base/setvar.exp: ditto.
20619 * gdb.base/signals.exp: ditto.
20620 * gdb.base/twice.exp: ditto.
20621 * gdb.c++/classes.exp: ditto.
20622 * gdb.c++/inherit.exp: ditto.
20623 * gdb.c++/templates.exp: ditto.
20624 * gdb.base/break.exp: no run and hit main for stubs. Change line
20625 numbers for breakpoints and info breakpoint.
20626 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20627 breakpoint().
20628 * gdb.base/callfuncs.c: ditto.
20629 * gdb.base/exprs: ditto.
20630 * gdb.base/interrupt.c: ditto.
20631 * gdb.base/opaque0.c: ditto.
20632 * gdb.base/printcmds.c: ditto.
20633 * gdb.base/ptype.c: ditto.
20634 * gdb.base/scope0.c: ditto.
20635 * gdb.base/setvar.c: ditto.
20636 * gdb.base/signals.c: ditto.
20637 * gdb.base/twice.c: ditto.
20638 * gdb.c++/misc.cc: ditto.
20639 * gdb.c++/templates.cc: ditto.
20640
20641 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20642
20643 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20644
20645 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20646 somewhere between `read' and `main.c'. I'm pretty sure the
20647 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20648 and it isn't particularly useful.
20649
20650 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20651
20652 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20653
20654 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20655
20656 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20657
20658 * config/mt-slite: add LIBS and -nostdlib.
20659 * config/slite-gdb.exp: add this new file to support sparclite target.
20660
20661 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20662
20663 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20664
20665 * gdb.base/a2-run.exp: Change argument to istarget from
20666 "*-*-vxworks" to "*-*-vxworks*".
20667 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20668
20669 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20670
20671 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20672 will not runto main but do a 'step' to step out of breakpoint().
20673 * config/mt-slite: add -Dusestubs.
20674
20675 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20676
20677 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20678 instead of just @.
20679
20680 * gdb.base/signals.exp: Add test for "handle all print".
20681 * TODO: Remove "handle all print". Also remove item about
20682 checking copyright date (I don't like the idea of a spurious FAIL
20683 based on when we run the tests).
20684
20685 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20686 for SunOS4 (reason for failure not investigated). Remove
20687 redundant test for $binfile.
20688
20689 * gdb.base/nodebug.c (array_index): Call malloc.
20690
20691 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20692
20693 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20694
20695 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20696 conventions and slightly simplify the matching regexp.
20697
20698 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20699
20700 * gdb.base/break.exp: Update gdb_test invocation to use new
20701 convention.
20702
20703 * lib/gdb.exp: If noargs is not set, set it to 0.
20704
20705 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20706 tests unique.
20707
20708 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20709
20710 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20711
20712 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20713 one argument of type "<non-float parameter>".
20714
20715 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20716
20717 * config/rom68k.exp: New file to support Motorola IDP board.
20718 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20719 * gdb.base/break.c: Change things around so that this program
20720 doesn't depend upon args. This is necessary to make remote
20721 targets work (in general, they can't take args).
20722 * gdb.base/break.exp: Don't try to send args to program. Don't
20723 expect output. Also, replace lots of code with gdb_test.
20724
20725 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20726
20727 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20728 printing of '\'' (which is what the comment says we are testing,
20729 even though we were not), not '''.
20730 (test_integer_literals_rejected): Test that printing ''' is an error.
20731
20732 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20733 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20734 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20735 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20736 Use gdb_test not test_print_accept.
20737 * lib/gdb.exp: Remove test_print_accept.
20738
20739 * gdb.base/signals.exp (signal_tests_1): Make pass message
20740 consistent with fail message.
20741
20742 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20743 unsigned char; the bug (PR 1821) is fixed.
20744
20745 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20746
20747 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20748 successful tests--makes xfailing them work right.
20749
20750 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20751
20752 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20753 only \r\n, not .*. The test can pass .* as the last thing in
20754 $pattern if that is what it wants. In addition to providing this
20755 flexibility, this change should speed up pattern matching in cases
20756 where the pattern already ended with .* (there were a number of
20757 them). This change also helps catch bad patterns--in the old
20758 scheme the typo "char \*" instead of "char \\*" would pass. Now
20759 it is caught.
20760 * Many .exp files: Update callers.
20761
20762 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20763 clearer and does not spuriously match multiple ('s. Likewise for
20764 ) and *.
20765
20766 * gdb.base/nodebug.exp: Test ability to call a function and pass
20767 it a string (even with no debugging info).
20768
20769 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20770 "p '\'", which is the same as "p ''" once tcl gets done with
20771 quoting, to "p '\\'", which I suspect is what is intended (one
20772 backslash gets sent to GDB).
20773
20774 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20775
20776 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20777
20778 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20779 1817) was fixed literally years ago.
20780
20781 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20782
20783 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20784 test, it causes stepping out of call_after_alloca_subr with
20785 optimizing compilers.
20786 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20787 fails.
20788
20789 * gdb.c++/templates.exp: Source templ-info.exp only if
20790 the templates executable exists.
20791
20792 * gdb.c++/misc.cc (class Contains_static_instance,
20793 class Contains_nested_static_instance),
20794 gdb.c++/classes.exp (test_static_members): Test printing of
20795 a class that contains a static instance of the class.
20796
20797 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20798
20799 * gdb.base/langs2.c (cppsub_): Don't prototype.
20800 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20801 only, I believe).
20802
20803 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20804
20805 * lib/gdb.exp (skip_chill_tests): New procedure.
20806
20807 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20808
20809 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20810
20811 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20812 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20813
20814 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20815
20816 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20817
20818 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20819 disassemble 8, not 16, instructions for part 4.
20820
20821 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20822 support the latter anymore.
20823
20824 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20825 -DNO_PROTOTYPES.
20826 * gdb.base/callfuncs.c: Control use of prototypes based on
20827 NO_PROTOTYPES, not __STDC__.
20828 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20829 t_float_values2 tests if prototypes in use.
20830
20831 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20832 t_double_values): When checking differences against DELTA, check
20833 that difference is within the range (-DELTA,DELTA), not just
20834 (-infinity,DELTA).
20835
20836 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20837
20838 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20839 'file' command firts, then 'target', then 'load', this is due to gdb
20840 target set up.
20841 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20842
20843 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20844
20845 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20846 FP load/store variants.
20847 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20848
20849 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20850
20851 * gdb.base/term.exp: Do not give a warning if not native, it is
20852 not an abnormal condition.
20853
20854 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20855
20856 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20857 t_char_array".
20858
20859 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20860
20861 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20862 are getting the version number.
20863
20864 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20865 if not native, it is not an abnormal condition.
20866
20867 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20868
20869 * lib/gdb.exp: Just use "file exists", rather than undocumented
20870 dejagnu procedure "findfile".
20871
20872 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20873
20874 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20875 (LDFLAGS): Set to -Xlinker -Ur.
20876
20877 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20878 Removed, these values are set by lib/gdb.exp.
20879
20880 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20881
20882 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20883
20884 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20885 of replicating gdb startup code.
20886
20887 * config/mt-vxworks (LDFLAGS): Set to -r.
20888 (CFLAGS_FOR_TARGET): Removed.
20889
20890 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20891 (gdb) and gdb for vxworks uses (vxgdb).
20892
20893 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20894 executable is not in the tree and host != target, use sed and
20895 program_transform_name to determine the gdb name used by the
20896 target.
20897
20898 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20899 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20900
20901 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20902
20903 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20904 floats, chars, and shorts where there are ANSI-style function
20905 definitions.
20906
20907 * gdb.base/langs.exp, gdb.base/langs*: New test.
20908 * gdb.base/Makefile.in: Build it.
20909 * TODO: Remove item about checking that C names don't get C++
20910 demangling applied; this test tests it.
20911
20912 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20913
20914 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20915 went with the const70 xfail. The xfail went away a year ago.
20916
20917 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20918
20919 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20920 for hp300.
20921
20922 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20923
20924 * gdb.base/a1-selftest.exp: Don't run on hp300.
20925
20926 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20927
20928 * Makefile.in (site.exp): Set host_alias and target_alias as well
20929 as host_triplet and target_triplet.
20930
20931 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20932
20933 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20934
20935 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20936 places as other ecoff systems).
20937
20938 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20939 ultrix.
20940
20941 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20942
20943 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
20944 remove them.
20945 * gdb.base/nodebug.exp: Accept "function" in addition to "text
20946 variable and "variable" in addition to "data variable".
20947 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
20948
20949 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
20950 2.
20951 * gdb.base/list1.c (long_line): Add additional statement at start
20952 of function.
20953 * gdb.base/list.exp (test_forward_search): Update line number to
20954 reflect new statement.
20955
20956 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20957
20958 * gdb.base/signals.exp: Reinitialize searched source directories
20959 after gdb_start call.
20960
20961 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
20962
20963 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
20964 * gdb.stabs/Makefile.in: Likewise.
20965
20966 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
20967 change. Instead split the tests into smaller pieces.
20968 * gdb.disasm/hppa.s: Corresponding changes.
20969
20970 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20971
20972 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20973 Quote ^C when passing it to stty. For some shells ^ is a pipe.
20974
20975 * gdb.base/funcargs.exp: Modify many tests so that every test
20976 either passes or fails. Make some test names unique.
20977
20978 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20979
20980 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20981 Call stty to set interrupt character.
20982
20983 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
20984 for HP assembler versus GNU assembler based on actual behavior of
20985 $(CC), rather than assuming that $(AS) is always the GNU assembler.
20986
20987 * TODO: Suggest a few more stepping tests.
20988
20989 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
20990
20991 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
20992 restart GDB for h8300 after a continue.
20993 (return): Add pattern to match a29k-udi behavior.
20994 * gdb.base/nodebug.exp: Remove obsolete comment.
20995 * gdb.base/regs.exp: New file, testing of register displays.
20996 * gdb.base/return.exp: Fix typo in reference to $objdir.
20997 * gdb.base/whatis.exp: Always start with a fresh GDB.
20998
20999 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21000
21001 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21002 higher, these tests generate a lot of output.
21003
21004 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21005
21006 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21007 code following the catch silently ignored some errors; without the
21008 catch they should be thrown like any other tcl error. Also, the
21009 catch used "" instead of {} which meant all the callers who wanted
21010 to include one of the characters "[]$ had to quote it an extra time.
21011 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21012 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21013 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21014 Remove extra quoting.
21015
21016 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21017
21018 * gdb.base/commands.exp: Make test names unique; every test either
21019 passes or fails. Update some comments.
21020
21021 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21022
21023 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21024
21025 The following fixes a FAIL caused by the fact that the alpha stabs
21026 configuration didn't use the ".if alpha" code in weird.def.
21027 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21028 bit pointer, so the 32 bit version works even on the alpha.
21029 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21030 Remove the stuff which allowed us to have separate versions for
21031 alpha and everything else.
21032
21033 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21034 regexp which "info func operator\[\](" is supposed to match. Fix
21035 string to send to GDB. Note that GDB still doesn't work right. Add a
21036 new test for "info func .perator\[\](" which GDB does handle correctly.
21037
21038 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21039
21040 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21041
21042 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21043 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21044 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21045 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21046 it makes the tests harder to understand and confuses test-o-matic.
21047 The preferred style is that each test provides a PASS or a FAIL,
21048 and has a unique message (e.g. "continue #54" not just "continue")
21049 which is the same for the pass and the fail.
21050 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21051 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21052 to lib/gdb.exp.
21053 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21054 prt_accept which was basically the same thing. Likewise for
21055 test_print_reject and prt_reject.
21056 * lib/gdb.exp (test_print_reject): Add some more error message
21057 patterns to match from the former printcmds.exp (prt_reject).
21058 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21059 One defect of the passcount stuff is that some of it failed to
21060 report XPASS where appropriate.
21061 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21062 stuff before and after arg in expected pattern.
21063 (test_paddr_operator_functions): Re-do test without print_addr_of;
21064 this is the only test which seems to want extra stuff there.
21065
21066 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21067
21068 * gdb.base/nodebug.exp: Update new tests to reflect improved
21069 wording of gdb output.
21070
21071 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21072 and "ptype" work on variables in files compiled without -g.
21073 Replaces commented out "maint print msymbol" tests.
21074
21075 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21076
21077 * gdb.base/setvar.c (dummy): Call malloc.
21078
21079 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21080 losing with the irix4 sed.
21081
21082 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21083 ALRM" on irix4.
21084
21085 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21086
21087 * TODO: Remove items about corefile.exp testing new exec-file and
21088 backtrace; both are now done. Add items about printing enums.
21089
21090 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21091
21092 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21093 "get signal $thissig" test fails.
21094
21095 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21096
21097 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21098
21099 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21100 compiler warning with dec alpha compiler.
21101
21102 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21103 extra \n from gdb_test call (this explains why the prompt test
21104 that I removed yesterday was there).
21105 (user_defined_command_test): Remove extra \n and prompt test.
21106
21107 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21108 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21109 doesn't exist.
21110 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21111 Also remove alpha workaround, which turns out to be because
21112 SIGABRT == SIGLOST.
21113
21114 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21115
21116 * gdb.base/help.exp: Don't test "help show".
21117
21118 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21119
21120 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21121 "set print address" is on.
21122 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21123 pass prompt to gdb_test; gdb_test already looks for the prompt.
21124
21125 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21126
21127 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21128 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21129 was to make sure that gdb can read a core file. But (a) the "read
21130 the corefile" part didn't make it to a1-selftest.exp, we just
21131 delete the corefile after creating it, and (b) we test reading
21132 corefiles in corefile.exp anyway. Also, this test left around a
21133 xgdb process on Solaris.
21134
21135 * gdb.base/corefile.exp: Also test backtrace.
21136
21137 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21138
21139 * gdb.base/commands.exp: Test a simple user defined command with
21140 arguments and if/while statements; verify the full user command is
21141 printed by "show user".
21142
21143 * gdb.base/commands.exp: Test if/while commands as part of a
21144 breakpoint command list; verify they appear in breakpoint
21145 information.
21146
21147 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21148
21149 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21150 than by dividing by zero.
21151
21152 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21153
21154 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21155 performing an inferior call with watchpoints enabled.
21156 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21157 call.
21158
21159 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21160
21161 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21162 of "file" command.
21163
21164 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21165 Add additional pattern for when "int operator int(void);" appears
21166 in a different order.
21167
21168 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21169
21170 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21171
21172 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21173 and "signal" with ".*".
21174
21175 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21176
21177 * TODO: Add note about "handle all nostop".
21178
21179 * gdb.base/{sigall.c, sigall.exp}: New test.
21180 * gdb.base/Makefile.in: Add it.
21181
21182 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21183
21184 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21185 when invoking GDB, suppresses any windowing interface.
21186
21187 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21188
21189 * config/sim-gdb: New file, simulator testing support.
21190
21191 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21192
21193 * gdb.base/interrupt.exp: Test calling func1 twice.
21194
21195 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21196
21197 * gdb.base/list.exp (test_forward_search): Set timeout higher
21198 when we'll be getting lots of output from gdb.
21199
21200 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21201 "init_malloc" to after the expect statement. Run it if that
21202 regexp is taken, but also for two others which happen if source
21203 cannot be found.
21204
21205 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21206
21207 * gdb.base/printcmds.exp: New test, for printing register before
21208 program is running.
21209
21210 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21211
21212 * gdb.base/list.exp: Correct some alternate expect patterns
21213 to reflect changes in list1.c.
21214
21215 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21216
21217 * TODO: Add item regarding large frames.
21218
21219 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21220
21221 * TODO: Remove item about enabling return.exp; it
21222 is enabled. Suggest a few more "return" tests.
21223
21224 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21225
21226 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21227 anonymous unions.
21228
21229 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21230
21231 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21232 and pr-5646.o, so "make" is the same as "make all", not "make
21233 pr-4975.o".
21234
21235 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21236
21237 * gdb.base/list.exp: Adjust expectations to reflect changes in
21238 list1.c.
21239 (test_forward_search): New test proc.
21240 * gdb.base/list1.c (long_line): New function, has long source line.
21241
21242 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21243
21244 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21245 additional line of code that was added.
21246
21247 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21248
21249 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21250 tests so as not to overflow expect's input buffers.
21251 * gdb.disasm/hppa.exp: Corresponding changes.
21252
21253 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21254
21255 Beginnings of template debugging tests.
21256 * gdb.c++/templ-info.cc: New file to test for template
21257 debugging capability of the compiler.
21258 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21259 templ-info.cc.
21260 * gdb.c++/templates.cc: Add explicit template instantiations
21261 to enable compiling with -fno-implicit-templates. Add destructor
21262 and 'value' method to T5 class for template tests.
21263 * gdb.c++/templates.exp: Add testcases for printing of template
21264 types, setting breakpoints on template methods and calling a
21265 template method.
21266
21267 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21268
21269 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21270 branch target since some assemblers (gas-2.5) may emit a
21271 relocation for the branch instead of resolving it in the
21272 assembler.
21273
21274 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21275
21276 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21277 through signal handler.
21278
21279 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21280
21281 * configure.in (*-*-netware): Use config/mt-netware.
21282
21283 * config/mt-netware: New file.
21284 * config/mt-i386-netware: Removed, separate configs for different
21285 netware architectures are no longer needed now that we have
21286 --with-headers.
21287
21288 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21289
21290 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21291 by the recent changes to use ANSI C arithmetic conversions.
21292
21293 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21294
21295 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21296 bug involving using inferior_pid to figure out whether to select a
21297 frame.
21298
21299 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21300
21301 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21302 match the current disassembler output.
21303
21304 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21305
21306 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21307 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21308 types, expect "int" as type of integer values (for now).
21309
21310 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21311
21312 * gdb.base/commands.exp: New tests for if/while commands.
21313
21314 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21315
21316 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21317 by .*, since hex values have different syntax in Chill mode.
21318
21319 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21320
21321 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21322 linefeed from expect pattern for repeated types with indices > 9.
21323
21324 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21325
21326 First part of Fortran test suite.
21327 * gdb.fortran: New directory.
21328 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21329
21330 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21331
21332 * gdb.base/default.exp: Update expect pattern for load command
21333 without arguments.
21334
21335 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21336
21337 * configure.in: Change i386 to i[345]86.
21338 * gdb.base/configure.in: Likewise.
21339 * gdb.c++/configure.in: Likewise.
21340 * gdb.chill/configure.in: Likewise.
21341
21342 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21343
21344 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21345 patterns, since that is not a valid context for comments.
21346
21347 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21348
21349 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21350 repeated types and repeated types with indices > 9.
21351
21352 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21353
21354 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21355 2417; old bug has been fixed.
21356
21357 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21358
21359 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21360 send the newline ourselves instead of assuming gdb_test will do
21361 so when passed an empty input string.
21362
21363 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21364 stabs testcode.
21365
21366 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21367
21368 * lib/gdb.exp (gdb_test): Don't send anything if the first
21369 argument is an empty string. This makes cases where we want to
21370 match output that is already in expect's buffers (for example,
21371 matching a breakpoint after gdb_run_cmd has been called) work
21372 reliably.
21373
21374 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21375
21376 * config/netware.exp: New file.
21377
21378 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21379
21380 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21381 the -B and -L prefixes so we can find the debugging stub.
21382
21383 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21384 there and we are using the gcc from the tree.
21385
21386 * gdb.base/types.c: Removed.
21387
21388 * gdb.base/configure.in: Look for makefile fragments in ../config.
21389 Recognize i386-*-netware.
21390 * gdb.c++/configure.in: Likewise.
21391
21392 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21393
21394 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21395 the correct TCL syntax.
21396
21397 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21398
21399 * gdb.base/opaque.exp: use runto instead of messing around with
21400 breakpoints. Simplify by using gdb_test.
21401
21402 * gdb.base/bitfields.exp: restart between tests on netware targets
21403 because breakpoints aren't relocated after target death. Run
21404 processes to completion.
21405
21406 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21407
21408 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21409
21410 * Makefile.in: Remove extra tabs that confuse some versions
21411 of "make". Use the newly built gdb to test with by default,
21412 rather than the first one in the tester's search path.
21413
21414 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21415
21416 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21417
21418 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21419 condition help.
21420
21421 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21422
21423 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21424
21425 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21426 running.
21427 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21428 * gdb.base/funcargs.exp: Likewise.
21429
21430 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21431 * gdb.base/funcargs.exp: Likewise.
21432
21433 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21434 message is "".
21435
21436 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21437
21438 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21439 return,signals,twice}.exp: Handle non-existant binaries
21440 consistantly.
21441
21442 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21443 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21444 might testing a cross development system.
21445
21446 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21447
21448 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21449 runtest script is relative to ${srcdir}, not ${rootdir}.
21450
21451 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21452
21453 * gdb.base/signals.exp: Allow for optionality of breakpoint
21454 address.
21455
21456 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21457
21458 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21459
21460 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21461
21462 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21463 for size_t definition.
21464 * gdb.c++/templates.cc: Likewise
21465
21466 * config/mt-i386-netware: New file.
21467
21468 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21469 defined.
21470
21471 * gdb.base/Makefile.in: Added support for systems that name core
21472 files by appending "core" to the program name.
21473 * gdb.base/a1-selftest.exp: Likewise.
21474
21475 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21476
21477 * gdb.base/return.exp: Add comment and message for `return double'
21478 test failure on Sparc Solaris.
21479
21480 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21481
21482 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21483
21484 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21485
21486 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21487 from optimizing them away.
21488 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21489 patterns to include default constructors and assignment operators,
21490 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21491 character in the output of the virtual base pointer.
21492
21493 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21494
21495 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21496 expression match in print_addr_of to avoid unintented matches.
21497 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21498 versions up to 2.5.8.
21499
21500 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21501
21502 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21503 included file to run under newer versions of expect.
21504 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21505 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21506 Remove xfail for the virtual table of BDDHookV.
21507
21508 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21509
21510 * lib/gdb.exp (string_to_regexp): Set a default result.
21511 (default_gdb_start): Fix misleading message.
21512
21513 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21514
21515 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21516 Remove all CC, etc definitions.
21517 * config/mt-hpux: New file.
21518 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21519 (CFLAGS, LDFLAGS): Define.
21520 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21521
21522 * Makefile.in (site.exp): Don't insert host_os, etc.
21523 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21524 (distclean): Check existence of subdir.
21525 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21526 * gdb.base/Makefile.in: General cleanup and simplification.
21527 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21528 to build executables. Use default rule to build .o files.
21529 (EXPECT, RUNTEST, CC): Fix relative pathname.
21530 (site.exp): Don't insert host_os, etc.
21531 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21532 and/or SIGUSR1 defined.
21533 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21534 * gdb.c++/Makefile.in: General cleanup and simplification.
21535 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21536 (CFLAGS): Remove.
21537 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21538
21539 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21540
21541 * gdb.base/recurse.exp: Misc changes to get tests running again
21542 after Kung's changes to the watchpoint code.
21543 * gdb.base/watchpoint.exp: Likewise.
21544
21545 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21546
21547 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21548
21549 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21550
21551 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21552 * lib/gdb.exp (default_gdb_start): Define.
21553 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21554 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21555 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21556 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21557 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21558 Don't call gdb_target_udi in between tests.
21559
21560 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21561
21562 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21563 (which was basically just a local version of the same thing). In
21564 addition to avoiding duplication, gdb_test_exact is faster.
21565 * lib/gdb.exp (gdb_test_exact): Fix typo.
21566
21567 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21568 don't give an error.
21569
21570 * gdb.base/term.exp: Call delete_breakpoints before starting.
21571
21572 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21573 (t10): Add comment.
21574
21575 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21576
21577 Reorganization of the GDB Test Suite.
21578
21579 * gdb.base: New directory, contains all the basic tests.
21580 * gdb.c++: New directory, tests specific to C++.
21581 * gdb.chill: New directory, tests specific to Chill.
21582 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21583 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21584 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21585 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21586 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21587 t30-31 to chill).
21588 * */gdbme.*: Rename to match appropriate expect scripts.
21589 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21590 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21591 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21592 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21593 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21594 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21595 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21596 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21597 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21598 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21599 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21600 gdb.c++/virtfunc.cc: New names of C++ files.
21601 * gdb.chill/chillvars.ch: New name of Chill file.
21602 * gdb.base/configure.in, gdb.c++/configure.in,
21603 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21604 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21605 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21606 * configure.in (configdirs): Update to reflect directory changes.
21607 (target_abbrev): No longer define for any configuration.
21608 * Makefile.in: Cosmetic improvements to header comments.
21609
21610 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21611
21612 Various changes to gdb.t31:
21613
21614 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21615 * gdbme.ch: Make all key-words and predefineds be upper-case.
21616 * chillvars.exp: Expect key-words and predefinds in upper-case.
21617
21618 * chillvars.exp: Use gdb_test_exact many places.
21619 Change expected output for arrays (which now includes index labels).
21620
21621 * pr-5020.exp, gdme.ch (module PR_5020):
21622 New test, for PR-5020.
21623
21624 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21625
21626 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21627 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21628
21629 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21630
21631 * Makefile.in: Fix bit-rot in definitions of CHILL,
21632 CHILL_FOR_TARGET and Chill_LIB.
21633 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21634 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21635 CHILL, and CHILL_LIB.
21636
21637 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21638
21639 * Revert the previous changes. Please see Rob's directory
21640 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21641
21642 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21643
21644 * Makefile.in, configure.in, config/mips-gdb.exp,
21645 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21646 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21647 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21648 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21649 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21650 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21651 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21652 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21653 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21654 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21655 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21656 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21657 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21658 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21659 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21660 changes from 94Q1.
21661
21662 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21663
21664 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21665 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21666 Rob's new testing fragments.
21667
21668 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21669
21670 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21671 lib/gdb.exp: Replace error proc calls with perror.
21672
21673 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21674
21675 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21676 version also, match on casted version strings, and match on
21677 gdb startup case where the line numbers might be messed up.
21678
21679 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21680
21681 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21682 (CFLAGS): Delete it from here.
21683
21684 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21685
21686 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21687
21688 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21689
21690 * Makefile.in (RUNTEST): Default to just "runtest".
21691
21692 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21693
21694 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21695 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21696 the code has been restructured.
21697
21698 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21699
21700 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21701 \n, not just one of each.
21702
21703 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21704 /bin/cc gives a warning if you do.
21705
21706 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21707
21708 * gdb.t24/demangle.exp: change expect pattern of
21709 __t10ListS_link1ZUiRCUiPT0
21710
21711 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21712
21713 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21714 on local variables in recursive functions.
21715
21716 * gdb.t07/Makefile.in: Build the new test.
21717
21718 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21719
21720 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21721 directly. Instead compare the return values from actual calls.
21722
21723 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21724
21725 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21726
21727 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21728
21729 * From Peter Schauer with minor modifications.
21730 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21731 stops in mid-line in the caller. Add xfail for returning a float
21732 value on X86 targets.
21733
21734 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21735
21736 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21737 to avoid expect lossage.
21738 (fmem_LRbug_tests): Likewise.
21739 * gdb.disasm/hppa.s: Corresponding changes.
21740
21741 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21742 conditions to work with latest dejagnu/expect.
21743
21744 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21745 expected to fail on the PA.
21746 (backtrace in call with trampolines): Explicitly require main
21747 to be frame #1 (no trampolines should show up in backtrace).
21748
21749 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21750 "continue -expect".
21751 * gdb.t06/break.exp: Likewise.
21752 * gdb.t07/watchpoint.exp: Likewise.
21753 * gdb.t13/bitfields.exp: Likewise.
21754 * gdb.t15/{funcargs,return}.exp: Likewise.
21755 * gdb.stabs/weird.exp: Likewise.
21756 * config/{mips,udi}-gdb.exp: Likewise.
21757
21758 * hppa.sed: Enclose comments within a sed command to avoid
21759 losing with the old OSF1 sed.
21760
21761 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21762
21763 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21764 sequent dynix.
21765 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21766 * gdb.t15/funcargs.exp: Conditionally step again to really
21767 finish from marker_call_with_trampolines. Handle the case where
21768 the first step from within call_with_trampolines already steps
21769 us back to main.
21770 * gdb.t15/gdbme.c: Add comment to closing brace of
21771 call_with_trampolines for funcargs.exp.
21772
21773 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21774
21775 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21776 Fix typo(s).
21777
21778 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21779
21780 * gdb.t07/gdbme.c: More code for watchpoint testing.
21781
21782 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21783 "Hardware watchpoint" throughout file.
21784 (test_watchpoint_triggered_in_syscall): New test.
21785 (test_complex_watchpoint): New test.
21786
21787 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21788
21789 * gdbme.c (call_with_trampolines): New function to try and step
21790 into. Tests trampoline problems on the PA.
21791
21792 * funcargs.exp (localvars_in_indirect_call): No longer expect
21793 stepping into indirect call to fail on PAs.
21794 (test_stepping_over_trampolines): New test.
21795
21796 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21797
21798 * TODO: Add suggestions for static member function tests, and
21799 completion tests.
21800
21801 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21802
21803 * TODO: Add suggestions for "p/a" tests.
21804
21805 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21806 (default_gdb_exit): Replace all the hair with sending "quit" to
21807 the process with a simple close.
21808
21809 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21810
21811 * TODO: Add suggestions for shared library tests.
21812
21813 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21814
21815 * TODO: Add suggestions for x/s tests.
21816
21817 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21818
21819 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21820 "enable once", and "enable breakpoints once" with ".*".
21821
21822 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21823
21824 * TODO: Add suggestions about structure passing tests.
21825
21826 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21827
21828 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21829 the primary1 test, use work around if __GNUC__ < 2.
21830 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21831 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21832 Test for bad output rather than waiting for timeout. Issue
21833 second continue only if first continue failed.
21834
21835 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21836
21837 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21838 operator[] test with gdb_test because the old code didn't seem to
21839 be getting the quoting right with the new dejagnu.
21840
21841 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21842
21843 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21844 one from the path.
21845 * Makefile.in: Use a fresh expect if there is one, use runtest
21846 from the src tree if there is one.
21847
21848 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21849
21850 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21851 next over recursive call. Revise the tests from that point on
21852 (which had been skipped) to match GDB's actual (correct) output.
21853
21854 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21855 with next over a breakpoint whose condition is false.
21856
21857 * gdb.t00/help.exp: Comment out "help set print" tests just like
21858 (and for same reason as) "help set" test.
21859
21860 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21861
21862 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21863 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21864
21865 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21866
21867 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21868 necessary gdb_target_udi.
21869
21870 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21871
21872 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21873 1838 and 2417; they are fixed.
21874
21875 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21876 gdb.t03/ptype.exp (ptype structure, ptype union):
21877 Remove xfails; the test is looser than when the xfails were added.
21878
21879 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21880 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21881
21882 * gdb.t01/run.exp: Only run shell test if isnative.
21883
21884 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21885 since "run" automatically loads if necessary. Call gdb_target_udi
21886 after the "file" since "file" kills any execution target.
21887
21888 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21889 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21890 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21891 argument for UDI.
21892
21893 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21894
21895 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21896
21897 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21898
21899 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21900
21901 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21902 properly quoting regexps. This makes the second argument to
21903 demangle a fixed string, which matches the callers, instead of a
21904 shell-style pattern which is what the previous implementation
21905 used. Update some of the callers.
21906
21907 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21908
21909 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21910 (comib_nullified_tests): Fix typo.
21911 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21912 strings. No longer expected to fail.
21913
21914 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21915 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21916 strings. No longer expected to fail.
21917
21918 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21919 string. No longer expected to fail.
21920
21921 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21922
21923 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21924 No longer expected to fail.
21925
21926 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21927 string. No longer expected to fail.
21928
21929 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21930
21931 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21932 only in the names (I probably got most of them). I was even
21933 generous with some which differed in underscores in names, and
21934 probably missed a few, and I *still* was able to remove almost a
21935 third of the file with almost no impact on testsuite coverage.
21936
21937 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21938
21939 * gdb.t00/default.exp: Match udi_attach error message as well as
21940 the one from child_attach.
21941
21942 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
21943
21944 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
21945
21946 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
21947 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
21948
21949 * Move test with enums and partial symbols back to
21950 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
21951 Reverts the change of 26 May 93. Per today's change to
21952 stabs.texinfo, the behavior that weird.exp was expecting was
21953 unreasonable; what is important is that the compiler+gdb get
21954 things right, which happens with a recent gcc. Also fix the test
21955 to deal with native compilers which put out the stab gdb can't
21956 deal with.
21957
21958 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21959
21960 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
21961 in the names. The main thing these accomplish is to slow things down.
21962 Many more such duplicates surely remain.
21963
21964 * gdb.t00/help.exp: Comment out "help support" test just like
21965 (and for same reason as) "help set" test.
21966
21967 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
21968
21969 * gdb.t06/break.exp: Remove setup_xfails for
21970 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
21971 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
21972 about known bug in gcc to include up through 2.5.8.
21973 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
21974 well as "_vb$".
21975 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
21976 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
21977 with latest gcc and gdb.
21978 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
21979 well as "_vb$".
21980
21981 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21982
21983 * configure.in (hppa*-*-*): Also configure and build stabs-only
21984 tests.
21985
21986 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21987
21988 * gdb.t10/hppa.mt: A makefile fragment for the PA.
21989 * gdb.t10/configure.in (hppa*-*-*): Use it.
21990
21991 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21992
21993 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
21994
21995 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21996
21997 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
21998 versions prior to 1.13.5.
21999
22000 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22001
22002 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22003 the prompt is at the start of a line.
22004
22005 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22006
22007 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22008 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22009 in the copr tests now.
22010 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22011 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22012 expected to fail.
22013
22014 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22015
22016 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22017 gdb.t31/chillvars.exp, lib/gdb.exp:
22018 Tweak to run under either version of expect.
22019 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22020 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22021 * gdb.t11/list.exp: Remove extraneous whitespace.
22022
22023 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22024
22025 * gdb.t16/printcmds.exp (test_print_strings): Accept
22026 "(unsigned char *) " before the string.
22027
22028 * TODO: Add notes about printing of fancy types and GDB expressions.
22029
22030 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22031
22032 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22033 * gdb.t06/configure.in: Don't try to compile signals test program
22034 if doing mips-idt-ecoff.
22035
22036 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22037
22038 * Most .exp files: Tweak to run under either version of expect.
22039
22040 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22041
22042 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22043 xfails; I'm not sure why they are failing, but not because of PR 1806.
22044
22045 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22046
22047 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22048 defined in lib/gdb.exp.
22049
22050 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22051
22052 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22053 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22054 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22055 have to be typeless.
22056
22057 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22058
22059 * TODO: Add suggestion for copyright year test.
22060
22061 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22062
22063 * configure.in (*-*-lynxos*): Add stabs tests.
22064
22065 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22066
22067 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22068 so insert a tab before any assembler directive in column zero.
22069
22070 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22071 stores.
22072 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22073 stores.
22074 (fpu_short_memory_tests): Likewise.
22075
22076 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22077
22078 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22079 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22080 .stabs directives in comments.
22081
22082 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22083
22084 * TODO: New file, describing tests we could write.
22085 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22086
22087 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22088
22089 * gdb.t06/signals.exp: Add kludge to force re-sync.
22090
22091 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22092 to xgdb instead of gdb, get out of gdb.
22093
22094 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22095
22096 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22097 for info.
22098
22099 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22100
22101 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22102 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22103 * gdb.stabs/hppa.sed: New sed script for the PA.
22104
22105 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22106
22107 * gdb.stabs: Re-write weird.def and configuration to use sed
22108 instead of cpp. sed is portable and POSIX; cpp is neither.
22109
22110 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22111
22112 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22113
22114 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22115
22116 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22117
22118 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22119
22120 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22121 "_vb$".
22122 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22123 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22124
22125 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22126
22127 * lib/gdb.exp: Comment out code which depends on non-existent
22128 `transform' procedure.
22129
22130 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22131
22132 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22133 * lib/gdb.exp: Transform tool name.
22134 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22135 1.1's new error handling system.
22136
22137 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22138
22139 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22140
22141 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22142
22143 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22144 They made pattern matching so slow that timeouts happened on
22145 heavily loaded systems. Now any output from "show print" which
22146 gets us back to the GDB prompt is a PASS.
22147
22148 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22149
22150 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22151
22152 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22153
22154 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22155
22156 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22157 It is not from PR 3220.
22158
22159 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22160
22161 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22162 just started failing because they depended on the order the
22163 subcommands are presented, or exact docstring text. This kind of
22164 test is a pain and has minimal benefit.
22165
22166 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22167
22168 * gdb.t09/corefile.exp: At end of test, use "core" command with
22169 no arguments.
22170
22171 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22172
22173 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22174 17}/Makefile.in: Make it possible to run the testsuite with Sun
22175 make and CC = cross gcc by adding explicit build rules for .o
22176 files.
22177
22178 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22179
22180 * gdb.t15/funcargs.exp: Don't put comments on same line as
22181 setup_xfail (@#$*%& tcl braindamage!).
22182
22183 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22186
22187 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22188
22189 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22190 * gdb.t20/inherit.exp: remove three dumplicate entries.
22191
22192 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22193
22194 * gdb.t06/break.exp: For "next over recursive call", fail on any
22195 incorrect output, not just on "factorial (value=2)".
22196
22197 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22198
22199 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22200 working now. Add an xfail if accesing a bss variable causes
22201 a memory error if the target is not yet run.
22202
22203 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22204
22205 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22206 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22207 name of __st* demangling (2 strings). Did Kung really get the
22208 more than 95 others right without testing them?
22209
22210 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22211
22212 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22213
22214 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22215
22216 * configure.in (configdirs): Add gdb.disasm
22217 * gdb.disasm: New directory for GDB disassembler tests.
22218 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22219
22220 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22221
22222 * gdb.t00/help.exp: Don't test "help set".
22223
22224 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22225 from within expect statements. None of these happen anymore and
22226 they cause regressions to be silently unnoticed.
22227
22228 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22229 messages) about known failures with gcc cygnus-2.4.5-930417.
22230
22231 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22232 comp-info.exp so it gets built if it doesn't exist.
22233
22234 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22235 it is no longer used.
22236 * gdb.t13/comp-info.c: Removed.
22237
22238 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22239
22240 * gdb.t06/signals.exp: Add xfail for sun3.
22241
22242 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22243
22244 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22245 relevant because ^C doesn't get sent but failure can be reproduced
22246 interactively).
22247
22248 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22249
22250 * gdb.stabs/alpha.mt: New configuration file for alpha.
22251 * gdb.stabs/configure.in: Use it.
22252 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22253 sharing with alpha.mt, redefine long to word via preprocessor.
22254 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22255 for alpha.
22256 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22257 native cc.
22258 * gdb.t00/teststrategy.exp: Change expect string so that we
22259 consume the `(xgdb)' from the command echo and from the gdb prompt.
22260 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22261 gdb currently compares all values as long, so this failure probably
22262 applies to any configuration where LONGEST is bigger than a target int.
22263 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22264 with gcc.
22265 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22266 to handle opaque pointers, gcc is.
22267 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22268 as first argument. Include <sys/types.h> and change all operator
22269 new definitions to use size_t.
22270 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22271 now that we use size_t.
22272
22273 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22274
22275 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22276 a long or float array cast all array members to the same type.
22277 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22278 with 64 bit longs.
22279 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22280 on alpha.
22281 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22282
22283 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22284
22285 * gdb.t24 (demangle.exp): Constructors of templates have names like
22286 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22287 section 14.6 of the ARM.
22288
22289 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22290 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22291 accomplish little and slow down the testsuite.
22292
22293 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22294 Accept spaces various places.
22295
22296 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22297
22298 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22299 with watchpoint enabled.
22300
22301 * Makefile.in: Remove definition of CC and remove the second
22302 definition of CXX (the "CXX = gcc" one remains). These definitions
22303 were causing backquotes to be expanded within backquotes, which
22304 doesn't work.
22305
22306 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22307
22308 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22309
22310 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22311
22312 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22313 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22314 by mips cc and contains no stabs entries.
22315
22316 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22317
22318 * config/vx-gdb.exp: Use fake device to load files rather than
22319 NFS.
22320 * lib/gdb.exp: New proc to do "file" command.
22321 * config/unix-gdb.exp: Use new "file" proc.
22322
22323 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22324
22325 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22326 Rework board rebooting slightly.
22327 (gdb_exit): Don't exit from the remote shell; there isn't one.
22328 * gdb.stabs/weird.exp: If a program is being debugged already,
22329 kill it.
22330 * gdb.t04/setvar.exp: Stop and restart gdb.
22331 * gdb.t05/expr.exp: Likewise.
22332 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22333 restart gdb and reload the program.
22334 * gdb.t08/opaque.exp: Likewise.
22335 * gdb.t12/scope.exp: Likewise.
22336 * gdb.t13/bitfields.exp: Likewise.
22337 * gdb.t15/funcargs.exp: Likewise.
22338 * gdb.t20/classes.exp: Likewise.
22339 * gdb.t03/ptype.exp: Increase timeout.
22340 * gdb.t16/printcmds.exp (test_print_string_constants,
22341 test_print_array_constants): Likewise.
22342 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22343 * gdb.t20/classes.exp (do_tests): Likewise.
22344 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22345
22346 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22347
22348 * gdb.stabs: Renamed *wierd* to *weird*.
22349
22350 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22351
22352 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22353 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22354
22355 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22356
22357 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22358 (do_tests): Remove xfail for whatis on one_var and two_var.
22359
22360 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22361
22362 * Makefile.in: Made cross building work better by adding
22363 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22364
22365 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22366
22367 * gdb.t15/{return.c,return.exp,Makefile.in}:
22368 New test, currently commented out.
22369
22370 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22371
22372 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22373 still running and removes the leftover named socket so GDb can do
22374 clean restarts.
22375
22376 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22377
22378 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22379 console, not GDB.
22380 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22381 cross testing works better with "make check"
22382 * config/unix-gdb: Use default procedures for exit and version.
22383 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22384 with the newest VxWorks.
22385
22386 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22387
22388 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22389 old form.
22390
22391 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22392 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22393
22394 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22395
22396 * config/unix-gdb.exp: Remove this version of gdb_exit
22397 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22398 Rob says he'll look at it when he gets back to testing boards.
22399
22400 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22401
22402 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22403 an expected fail for certain ptype commands.
22404
22405 * gdb.t20/classes.exp: Update expected results of "ptype class
22406 Base1" to account for the constructor that now appears in the type.
22407
22408 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22409
22410 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22411 disappeared from list.
22412 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22413 "alldone" proc with call to cleanup and exit.
22414 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22415 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22416 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22417 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22418 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22419 "alldone" proc with simple returns that suppress remaining
22420 tests. The alldone proc went away many months ago.
22421
22422 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22423
22424 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22425
22426 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22427
22428 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22429
22430 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22431 as vax gdb will display them.
22432
22433 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22434
22435 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22436 optimizers.
22437
22438 * scope.exp: Change "bad value for localval" messages so each one
22439 is unique.
22440
22441 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22442 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22443
22444 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22445
22446 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22447
22448 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22449 doesn't exist (due to optimization).
22450
22451 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22452
22453 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22454 contains \r because the filename is long.
22455
22456 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22457 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22458
22459 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22460
22461 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22462 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22463 Ultrix.
22464 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22465 int tests.
22466 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22467
22468 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22469
22470 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22471
22472 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22473 to match does not match the passing case but still matches the
22474 failing case.
22475
22476 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22477
22478 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22479
22480 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22481
22482 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22483 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22484 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22485 Remove various versions of gdb_exit.
22486 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22487 gdb_exit.
22488 * config/unix-gdb.exp: gdb_exit remains here, and should override
22489 the generic version, since it's doing a lot of wierd stuff that
22490 the other versions aren't. FIXME, fold it in, or abandon this
22491 version.
22492
22493 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22494
22495 * gdb.t24/demangle.exp: Add tests for PR 3220.
22496
22497 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22498
22499 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22500
22501 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22502
22503 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22504 "i386-*-*". Works for i486 as well.
22505
22506 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22507 bug, and expand domain of xfail to all SVR4 systems, since the
22508 actual problem is likely to be in generic SVR4 /proc support.
22509
22510 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22511
22512 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22513
22514 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22515
22516 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22517 xfails for other systems. Match a missing 'Continuing.' as an
22518 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22519
22520 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22521 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22522 Only issue warning for missing executables if -all option is used.
22523
22524 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22525 file if -all option is used. It's like an unpredictable XFAIL.
22526
22527 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22528
22529 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22530 for dynamically linked binaries.
22531
22532 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22533
22534 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22535
22536 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22537 to state that this is a known bug in old versions of g++.
22538
22539 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22540
22541 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22542 while waiting for `Continuing'.
22543
22544 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22545
22546 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22547 in text, data, and bss.
22548 * gdb.t10/nodebug.c: Add local and global test variables for
22549 initialized and uninitialized data.
22550
22551 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22552
22553 * config/unix-gdb.exp (gdb_exit): Add "wait".
22554
22555 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22556
22557 * gdb.t06/signals.exp: xfail the continue from the handler for all
22558 targets.
22559
22560 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22561 function with watchpoints enabled, the i386 call dummy starts with
22562 a call.
22563
22564 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22565 386 bsd names its corefiles.
22566
22567 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22568
22569 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22570 compilers don't grok it.
22571 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22572 with small octal ints rather than character constants, which
22573 are signed and might not fit if first promoted to int.
22574
22575 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22576
22577 * gdb.t09/Makefile.in (clean): Remove corefile.
22578
22579 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22580
22581 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22582
22583 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22584 and Jim Kingdon (kingdon@cygnus.com)
22585
22586 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22587 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22588 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22589
22590 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22591
22592 * gdb.t17/interrupt.exp: Add xfail for hppa.
22593
22594 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22595
22596 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22597 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22598 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22599 to determine signed-ness of bitfields and use the result to setup
22600 the xfail.
22601 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22602 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22603 call line is reached if necessary.
22604
22605 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22606
22607 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22608
22609 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22610
22611 * gdb.t06/break.exp: Also test `clear' command.
22612
22613 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22614
22615 * gdb.t00/teststrategy.exp: Remove extra quote.
22616
22617 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22618 watchpoint enabled to be for all non-68k machines.
22619
22620 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22621
22622 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22623
22624 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22625 targets use aout.mt instead of ecoff.mt as gas understands
22626 standard aout format.
22627
22628 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22629
22630 * lib/gdb.exp (runto): Don't insist that function we are running to
22631 was compiled with -g.
22632
22633 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22634
22635 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22636 to get back into the read system call.
22637 Accept leading newline in case where we woke it up.
22638
22639 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22640
22641 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22642 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22643 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22644 enable ecoff configuration.
22645
22646 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22647
22648 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22649
22650 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22651
22652 * gdb.t16/printcmds.exp: Add another printf test.
22653
22654 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22655
22656 * configure.in: If configured -with-stabs on any target, add
22657 stabsdirs to configdirs.
22658
22659 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22660
22661 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22662 fun" so pattern does not match the command itself.
22663
22664 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22665
22666 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22667
22668 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22669
22670 * gdb.t17/interrupt.exp: Test for more things.
22671
22672 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22673
22674 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22675 compiler arranges the code and line numbers.
22676
22677 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22678
22679 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22680
22681 * gdb.t00/help.exp: Increase expect input buffer size.
22682
22683 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22684
22685 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22686
22687 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22688
22689 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22690
22691 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22692 [0-9]*, not just [0-9].
22693
22694 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22695
22696 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22697
22698 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22699
22700 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22701
22702 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22703
22704 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22705
22706 * gdb.t06/signals.c: Add xfails for sun3.
22707
22708 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22709
22710 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22711 test_stepping tests.
22712
22713 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22714
22715 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22716
22717 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22718
22719 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22720 rather than actually putting it through cpp twice.
22721
22722 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22723
22724 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22725
22726 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22727 no longer needed.
22728
22729 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22730
22731 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22732
22733 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22734 C++ features prints as "struct", make it a pass, not an xfail.
22735
22736 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22737
22738 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22739 Don't require VA to print as "class" rather than "struct".
22740
22741 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22742
22743 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22744
22745 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22746
22747 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22748
22749 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22750
22751 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22752 order.
22753
22754 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22755
22756 * gdb.t16/printcmds.exp: Add printf tests.
22757
22758 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22759
22760 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22761
22762 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22763
22764 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22765 pass counts, to counteract any existing or future setup_xfails.
22766
22767 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22768
22769 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22770 {BEGIN,END}_COMMON for common block instead of STAB.
22771 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22772
22773 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22774 intp_var should be N_GSYM not N_LSYM.
22775 wierd-aout.S: Use a label for the value of the N_SO.
22776 wierd.def: Remove all backslashes.
22777 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22778
22779 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22780
22781 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22782 get the expected next to inheritance3.
22783
22784 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22785
22786 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22787 now that gcc-2.4 gets it right.
22788
22789 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22790
22791 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22792
22793 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22794 generating comp-info.exp which works for cross-compilation.
22795
22796 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22797
22798 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22799 "*-*-sysv4.*".
22800
22801 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22802
22803 * gdb.t01/run.exp: Start with a fresh gdb.
22804 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22805 SVR4.x.
22806
22807 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22808
22809 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22810 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22811 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22812 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22813 things to remove.
22814
22815 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22816
22817 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22818 test cases from bug reports.
22819
22820 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22821
22822 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22823 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22824 avoid spurious xfails.
22825 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22826 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22827 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22828
22829 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22830
22831 * gdb.t00/teststrategy.exp: Rework to provide more useful
22832 description of each test, fix problem with systems that define
22833 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22834 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22835 results for "next over recursive call" so timeouts aren't taken
22836 by error.
22837
22838 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22839
22840 * gdb.t12/scope.exp: Test printing of variables before run.
22841
22842 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22843 printed in wrong order due to sorting.
22844
22845 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22846
22847 * gdb.t00/teststrategy.exp: Fix expected results for printing
22848 user entered string constant. Is array of char, prints with no
22849 address.
22850
22851 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22852 commands.
22853 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22854 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22855 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22856 of struct of char arrays.
22857 * gdb.t00/radix.exp: New tests for radix commands.
22858
22859 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22860
22861 * gdb.t16/printcmd.exp: Print a variable before running program
22862 (with xfail for AIX).
22863
22864 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22865
22866 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22867
22868 * gdb.t16/printcmd.exp: Don't print variables before running program.
22869
22870 * gdb.t06/break.exp: Don't require envp argument to main.
22871
22872 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22873
22874 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22875 Add xfails for rs6000.
22876
22877 * gdb.t02/whatis.exp: Change other tests not to re-test something
22878 we already tested.
22879
22880 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22881 each type used has a variable of that type.
22882
22883 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22884
22885 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22886
22887 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22888
22889 * configure.in: change srctrigger to be a file, not a directory
22890
22891 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22892
22893 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22894
22895 * gdb.t11/list.exp: Fixed a couple of typos.
22896
22897 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22898
22899 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22900 is fixed and PR is closed.
22901 * gdb.t16 (gdbme.c): Add simple test string variable.
22902 * gdb.t16 (printcmds.exp): Add tests with simple test string
22903 variable, primarily for boundaries on "set print elements".
22904
22905 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22906
22907 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22908 Make leading 0's optional and don't expect a tab in the middle
22909 of the number.
22910
22911 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22912
22913 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22914 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22915 don't end command passed to gdb_test with newline.
22916
22917 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22918 signed keyword away, don't expect signed bitfields to be signed.
22919
22920 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22921 printing with only as many 1's as are in the field as well as printing
22922 with 32 1's (see comment).
22923
22924 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22925
22926 * gdb.t00/default.exp: Start with a fresh gdb.
22927 * configure.in (configdirs): Remove gdb.t31 until the chill
22928 compiler works again. It no longer is able to find chillrt0
22929 since it isn't in libchill.a anymore.
22930 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22931 wierd.o, make more modular.
22932 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22933 spurious newlines that caused problems.
22934
22935 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22936
22937 * Move test with enums and partial symbols from gdb.t03/ptype.exp
22938 to gdb.stabs/wierd.exp since GCC has worked around the bug.
22939 gdb.stabs/wierd.{exp,def}: Many new tests.
22940
22941 * gdb.t00/default.exp: update info line for new message.
22942
22943 * gdb.t02/{whatis.exp,gdbme.c}:
22944 Test that "char *" doesn't print as "caddr_t".
22945
22946 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22947
22948 * gdb.t00/help.exp: Use .* in place of some help messages which
22949 just changed.
22950 gdb.t00/default.exp: Update "info frame" test for new message.
22951 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
22952 Remove some xfails
22953
22954 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22955
22956 * gdb.t03/{gdbme.c,ptype.exp}:
22957 Add tests for typedef'd struct and union without tags.
22958 Also check "whatis" on a variable of a typedef'd enum without a tag.
22959
22960 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
22961 PRMS 1823; the bug still exists but isn't reproduced by this test
22962 anymore), and remove rs6000 XFAIL (the bug is fixed).
22963
22964 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
22965 duplicated from whatis.exp. For those that are left, accept
22966 "long", "long int", or "int" for long variables (whatis.exp already
22967 has an XFAIL for "int", so no need to fail it here).
22968
22969 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
22970 Deal with GCC's names for types now that GDB uses the compiler's names.
22971
22972 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
22973 setup_xfail's for sunos4. If we #defined the signed keyword away,
22974 don't expect GDB to know that char it is signed.
22975
22976 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22977
22978 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
22979
22980 * configure.in (configdirs): Add gdb.t24 for C++ tests that
22981 should work on any system, regardless of debugging format.
22982 * gdb.t21/demangle.exp: Move to gdb.t24.
22983 * gdb.t24/demangle.exp: Move from gdb.t21.
22984 * gdb.t24/{Makefile.in, configure.in}: New files.
22985
22986 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22987
22988 * configure.in: Do gdb.stabs and C++ tests only for stabs.
22989 * gdb.stabs: New directory.
22990
22991 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22992
22993 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
22994 not just "Quit anyway?".
22995
22996 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
22997
22998 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
22999 that all setup_xfails are immediately followed by clear_xfails.
23000
23001 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23002
23003 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23004 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23005 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23006 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23007 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23008 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23009 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23010 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23011 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23012 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23013 gdb.t31/chillvars.exp, lib/gdb.exp:
23014 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23015 bug-gdb@prep.ai.mit.edu.
23016
23017 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23018
23019 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23020 with 0.0, not integer 0.
23021
23022 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23023
23024 * gdb.t06/break.exp: Update for "Kill the program" message change.
23025
23026 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23027
23028 * Makefile.in (GDBFLAGS): Set to -nx.
23029 * Makefile.in (site.exp): Use GDBFLAGS.
23030
23031 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23032
23033 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23034 Makefiles.
23035 (check): depend on just-check.
23036 (just-check): added so that tests can be run without a noop
23037 build pass.
23038
23039 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23040
23041 Switch to using configure's configdirs.
23042 * Makefile.in (Makefile): add configure.in dependency.
23043 (SUBDIRS): removed redundant assignment.
23044 * configure.in: switch subdirs assignment to configdirs.
23045 * gdb.t*/configure.in: new files.
23046
23047 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23048
23049 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23050 works.
23051
23052 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23053
23054 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23055 in explicit rules. Apparently this is not supported by some makes.
23056
23057 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23058
23059 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23060
23061 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23062
23063 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23064 disappeared.
23065
23066 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23067
23068 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23069
23070 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23071
23072 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23073 watchpoint problem that is now fixed.
23074 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23075 uninitialized convenience variables.
23076 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23077 structures.
23078
23079 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23080
23081 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23082 which causes expect to get out of sync with gdb on long output
23083 from help set.
23084 * gdb.t09/corefile.exp: Make expected pattern for core file
23085 failing signal and frame output format less sun specific.
23086
23087 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23088
23089 * gdb.t31/chillvars.exp: Add and remove initial dummy
23090 breakpoint, so that symbol table is forced in.
23091 (Needed at least on Sunos4, though it seems not SVR4.)
23092 * gdb.t31/chillvars.exp: Update for changed output format.
23093
23094 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23095
23096 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23097
23098 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23099
23100 * Makefile.in: Added --srcdir when invoking runtest, removed the
23101 need for a local config file. (optional now)
23102
23103 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23104
23105 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23106 failure count used to force early termination. Add some more
23107 expected failures for gnu style demangling.
23108
23109 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23110
23111 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23112 pmi variable from gdb.t20/gdbme to get optimized away.
23113 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23114 Check for written corefile upon timeout _and_ eof.
23115
23116 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23117
23118 * config/unix-gdb.exp: Add missing return 0.
23119
23120 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23121
23122 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23123 test termination.
23124
23125 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23126
23127 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23128 disappeared.
23129
23130 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23131
23132 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23133 time as i860 support works.
23134
23135 * gdb.t15/funcargs.exp: Fix expected outputs to include
23136 "backtrace 100\r" rather than just "backtrace\r", to match last
23137 change.
23138
23139 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23140
23141 * config/udi-gdb.exp (gdb_exit): Remove close command.
23142 (gdb_target_udi): New procedure to set the UDI target.
23143 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23144 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23145 Added waits for prompts after several question responses. Added
23146 some more responses used by a29k-amd-udi-gdb.
23147 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23148 pass different arguments, restart UDI connection after program
23149 completion.
23150 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23151 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23152 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23153 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23154 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23155 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23156 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23157 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23158 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23159 after program completion.
23160 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23161 compiled with a SELECT_VECS setting.
23162 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23163 infinite recursion.
23164
23165 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23166 Added checks for COFF results, and made them expected failures for
23167 all targets. It would be better to make them expected failures
23168 for COFF targets only.
23169
23170 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23171
23172 * Makefile.in: add null dvi target, don't bother to recurse
23173 through test directories for info and install-info; rename
23174 $(datadir) to be dejagnu instead of deja-gnu
23175
23176 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23177
23178 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23179 compiler to coredump.
23180 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23181 code.
23182
23183 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23184
23185 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23186 coredump.
23187 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23188 code.
23189
23190 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23191
23192 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23193 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23194 which in a shell. Deletes xgdb when done.
23195 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23196 Tests the return from the "set height" or "set width" commands.
23197 Added a few return codes where needed.
23198
23199 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23200
23201 * Makefile.in (SUBDIRS): Add gdb.t17.
23202 * configure.in (subdirs): Add gdb.t17.
23203 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23204 files to test gdb's calling of functions in the inferior with
23205 the correct arguments and gdb's ability to retrieve any
23206 result returned.
23207
23208 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23209
23210 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23211 may be called after gdb goes away. Previous versions of expect
23212 needed these to avoid file descriptor leaks, but they cause
23213 errors with the current revision of expect.
23214 * gdb.t00/gdbvars.exp: Use -re on expected output after
23215 setting sevenbit-strings.
23216 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23217 to set sevenbit-strings consistent across tests.
23218 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23219 set sevenbit-strings consistent across tests.
23220
23221 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23222
23223 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23224 expected output to match current "expect" expectations.
23225
23226 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23227
23228 * gdb.t00/default.exp: Change expected output for default "source"
23229 command, to match new gdb behavior which requires a filename to
23230 source.
23231
23232 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23233
23234 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23235 expected fail for i486-*-* that misses the marker2 function.
23236 * gdb.t10/crossload.exp (bfddefault): Allow successful
23237 recognition of a format to pass even if no symbols are found.
23238 Explicitly catch failures where the format is not recognized
23239 or is ambiguous, and add the reason to the fail message.
23240 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23241 the cause is and invalid target and add reason to failure message.
23242 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23243 elf32-i386, elf32-sparc, and elf32-i860.
23244 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23245 Set up expected failure for 'filename'::variable scope resolution,
23246 which is now apparently broken on all targets.
23247 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23248 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23249 gdb.t23/templates.exp: Change failure for missing binfile into
23250 just a warning.
23251 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23252 references.
23253
23254 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23255
23256 * gdb.t00/default.exp: Add expected output for default "source"
23257 command, to match new gdb behavior.
23258 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23259
23260 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23261
23262 * config/*-gdb.exp: returns an error, rather than exiting on
23263 internal errors.
23264
23265 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23266
23267 * gdb.t03/gdbme.c: Add pointer to struct variable.
23268 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23269 referencing struct members.
23270
23271 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23272
23273 * configure.in (mips-idt-ecoff): New target.
23274 * config/mips-gdb.exp: New file for remote board using MIPS remote
23275 debugging protocol.
23276
23277 * Redid configuration scheme. Removed gdb.t*/configure.in.
23278 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23279 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23280 distclean targets. Built executables via .o files. Adjusted
23281 tests to account for source files in $(srcdir) rather than
23282 $(objdir).
23283 * lib/gdb.exp (runto): Don't expect () after the function name,
23284 because it may have arguments.
23285
23286 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23287
23288 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23289 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23290 expected failures for mips-idt-* and mips-sgi-*.
23291 * gdb.t00/default.exp (attach): Kill process if requested.
23292 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23293 that does not read core files.
23294 * gdb.t01/run.exp: Removed checks for exit status code.
23295 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23296 it is linked in.
23297 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23298 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23299 appropriate, rather than doing it by hand.
23300 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23301 execution.
23302 * gdb.t10/crossload.exp: Kill existing program if needed.
23303 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23304 appropriate, rather than doing it by hand. Always increase
23305 timeout for this test, not just for VxWorks.
23306
23307 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23308
23309 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23310 of Chill STRUCT types and STRUCT values.
23311 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23312 than "char".
23313 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23314 struct2): New struct definitions and initializations to test
23315 simple Chill STRUCT types.
23316
23317 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23318
23319 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23320 the null byte at the end of strings.
23321 * gdb.t00/default.exp: Make show version insensitive to copyright
23322 date.
23323 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23324 to avoid dependencies on target char signedness.
23325 * gdb.t16/printcmds.exp: Update expected results for explicitly
23326 unsigned char.
23327 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23328 now work.
23329 * gdb.t21/demangle.exp: Add many more patterns for template
23330 demangling, most of them being expected failures.
23331 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23332 string we are matching for, to match on the whole string.
23333 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23334 and fix a whole bunch that had incorrect expected output but were
23335 passing anyway because of the bug in "proc demangle".
23336 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23337 type.
23338 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23339
23340 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23341
23342 * gdb/testsuite: made modifications to testcases, etc., to allow
23343 them to work properly given the reorganization of deja-gnu and the
23344 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23345
23346 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23347
23348 * gdb/testsuite: Initial creation of gdb/testsuite.
23349 Migrated dejagnu testcases and support files for testing nm to
23350 gdb/testsuite from deja-gnu. These files were moved "as is"
23351 with no modifications. This migration is part of a major overhaul
23352 of dejagnu. The modifications to these testcases, etc., which
23353 will allow them to work with the new version of dejagnu will be
23354 made in a future update.
23355
23356 For additional changes see gdb.mi/ChangeLog-1999-2003.
23357 \f
23358 ;; Local Variables:
23359 ;; mode: change-log
23360 ;; left-margin: 8
23361 ;; fill-column: 74
23362 ;; version-control: never
23363 ;; End:
23364
23365 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23366 2003, 2004, 2005 Free Software Foundation, Inc.
23367 Copying and distribution of this file, with or without modification,
23368 are permitted provided the copyright notice and this notice are preserved.
This page took 0.489844 seconds and 5 git commands to generate.