* cli/cli-cmds.c (shell_escape): Use lbasename.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.server/ext-run.exp
4 (load new file without any gdbserver inferior): New test.
5
62011-03-07 Tom Tromey <tromey@redhat.com>
7
8 * Makefile.in (TAGS): Rewrite.
9
102011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11
12 * gdb.trace/report.exp (12.1: trace report #1): New match for the
13 initial commands echo. New match for `Found trace'. Anchor all the
14 other matches. Anchor and match for `No trace frame found' the final
15 match.
16
172011-03-07 Tom Tromey <tromey@redhat.com>
18
19 * Makefile.in (TAGS): New target.
20
212011-03-07 Tom Tromey <tromey@redhat.com>
22
23 * lib/opencl.exp (skip_opencl_tests): Update for exit message
24 change.
25 * lib/mi-support.exp (mi_gdb_test): Update for exit message
26 change.
27 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
28 exit message change.
29 (skip_altivec_tests): Update for exit message change.
30 (skip_vsx_tests): Likewise.
31 (gdb_continue_to_end): Likewise. Add 'command' argument.
32 * lib/cell.exp (skip_cell_tests): Update for exit message change.
33 * gdb.threads/tls.exp: Update for exit message change.
34 * gdb.threads/thread-unwindonsignal.exp: Use
35 gdb_continue_to_end.
36 * gdb.threads/step.exp (step_it): Update for exit message change.
37 (continue_all): Likewise.
38 * gdb.threads/print-threads.exp (test_all_threads): Update for
39 exit message change.
40 * gdb.threads/interrupted-hand-call.exp: Use
41 gdb_continue_to_end.
42 * gdb.threads/execl.exp: Use gdb_continue_to_end.
43 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
44 gdb_continue_to_end.
45 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
46 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
47 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
48 * gdb.cp/method.exp: Update for exit message change.
49 * gdb.cp/mb-templates.exp: Update for exit message change.
50 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
51 * gdb.cp/annota3.exp: Update for exit message change.
52 * gdb.cp/annota2.exp: Update for exit message change.
53 * gdb.cell/fork.exp: Use gdb_continue_to_end.
54 * gdb.base/term.exp: Update for exit message change.
55 * gdb.base/step-test.exp (test_i): Update for exit message change.
56 * gdb.base/sigstep.exp (advance): Update for exit message change.
57 (advancei): Likewise.
58 * gdb.base/siginfo.exp: Update for exit message change.
59 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
60 * gdb.base/reread.exp: Use gdb_continue_to_end.
61 * gdb.base/langs.exp: Use gdb_continue_to_end.
62 * gdb.base/interrupt.exp: Update for exit message change.
63 * gdb.base/gdb1555.exp: Update for exit message change.
64 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
65 * gdb.base/ending-run.exp: Update for exit message change.
66 * gdb.base/chng-syms.exp: Update for exit message change.
67 * gdb.base/checkpoint.exp: Update for exit message change.
68 * gdb.base/catch-syscall.exp (check_for_program_end): Use
69 gdb_continue_to_end.
70 (test_catch_syscall_with_wrong_args): Likewise.
71 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
72 * gdb.base/break-interp.exp (test_ld): Update for exit message
73 change.
74 * gdb.base/bang.exp: Update for exit message change.
75 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
76 (do_call_attach_tests): Likewise.
77 * gdb.base/a2-run.exp: Update for exit message change.
78 * gdb.arch/ppc-dfp.exp: Update for exit message change.
79 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
80 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
81
822011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
85
862011-03-03 Tom Tromey <tromey@redhat.com>
87
88 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
89 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
90 * gdb.hp/gdb.aCC/configure.ac: Remove.
91 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
92 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
93 * gdb.hp/gdb.base-hp/configure.ac: Remove.
94 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
95 * gdb.hp/gdb.compat/configure (Makefile): Remove.
96 * gdb.hp/gdb.compat/configure.ac: Remove.
97 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
98 * gdb.hp/gdb.defects/configure (Makefile): Remove.
99 * gdb.hp/gdb.defects/configure.ac: Remove.
100 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
101 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
102 * gdb.hp/gdb.objdbg/configure.ac: Remove.
103 * gdb.hp/configure.ac: Remove.
104 * gdb.hp/configure: Remove.
105 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
106 substitution.
107 (Makefile): Remove rule.
108 * gdb.cell/configure.ac: Remove.
109 * gdb.cell/configure: Remove.
110 * gdb.stabs/Makefile.in (Makefile): Remove.
111 (distclean): Don't remove config.status or config.log.
112 * gdb.stabs/configure (Makefile): Remove.
113 * gdb.stabs/configure.ac: Remove.
114 * configure: Rebuild.
115 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
116 Remove stabs- and cell-specific logic. Test for existence of
117 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
118 subdirectories, gdb.cell, and and gdb.stabs.
119 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
120
1212011-03-03 Joel Brobecker <brobecker@adacore.com>
122
123 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
124 end of buffer.
125
1262011-03-02 Joel Brobecker <brobecker@adacore.com>
127
128 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
129 gdb_test when running a test where we expected no output back.
130
1312011-02-28 Michael Snyder <msnyder@vmware.com>
132
133 * gdb.cp/overload.cc: Change initializer value to integer.
134
1352011-02-27 Michael Snyder <msnyder@vmware.com>
136
137 * gdb.multi/base.exp: Add test for remove-inferiors.
138
1392011-02-26 Joel Brobecker <brobecker@adacore.com>
140
141 * gdb.python/py-frame.exp: Simplify the initialization phase
142 using prepare_for_testing.
143
1442011-02-25 Michael Snyder <msnyder@vmware.com>
145
146 * gdb.multi/base.exp: Add tests for info inferiors with args.
147
1482011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
149
150 * gdb.dwarf2/dw2-ranges.S: Rename to ...
151 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
152 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
153 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
154 asmfile3. Comment the STABS (#3) file compilation. Compile
155 everything through assembler. Provide KFAIL for symtab/12497.
156 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
157 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
158 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
159 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
160
1612011-02-24 Michael Snyder <msnyder@vmware.com>
162
163 * gdb.base/break.exp: Add tests for delete breakpoints using
164 convenience variables and value history references.
165
1662011-02-24 Michael Snyder <msnyder@vmware.com>
167
168 * gdb.base/break.exp: Remove debugging 'printf' accidentally
169 left behind in previous check-in.
170
1712011-02-23 Michael Snyder <msnyder@vmware.com>
172
173 * gdb.base/break.exp: Add tests for "info break" with arguments.
174 * gdb.trace/infotrace.exp: Update patterns for error and help.
175 * gdb.base/completion.exp: Update pattern.
176 * gdb.base/ena-dis-br.exp: Update pattern.
177 * gdb.base/help.exp: Update patterns.
178
1792011-02-23 Michael Snyder <msnyder@vmware.com>
180
181 * gdb.base/memattr.exp: New test.
182 * gdb.base/memattr.c: Test load for memattr.exp.
183
1842011-02-22 Doug Evans <dje@google.com>
185
186 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
187
1882011-02-22 Michael Snyder <msnyder@vmware.com>
189
190 * Makefile.in: Make more clean.
191 * gdb.ada/Makefile.in: Ditto.
192 * gdb.arch/Makefile.in: Ditto.
193 * gdb.asm/Makefile.in: Ditto.
194 * gdb.base/Makefile.in: Ditto.
195 * gdb.cp/Makefile.in: Ditto.
196 * gdb.dwarf2/Makefile.in: Ditto.
197 * gdb.java/Makefile.in: Ditto.
198 * gdb.mi/Makefile.in: Ditto.
199 * gdb.modula2/Makefile.in: Ditto.
200 * gdb.python/Makefile.in: Ditto.
201 * gdb.server/Makefile.in: Ditto.
202 * gdb.stabs/Makefile.in: Ditto.
203 * gdb.threads/Makefile.in: Ditto.
204 * gdb.trace/Makefile.in: Ditto.
205
2062011-02-22 Michael Snyder <msnyder@vmware.com>
207
208 * gdb.threads/thread-find.exp: Add tests for bad input to
209 info threads.
210
2112011-02-22 Joel Brobecker <brobecker@adacore.com>
212
213 * gdb.python/py-breakpoint.exp: Fix the expected output of
214 one of the "maint info breakpoints" tests to accept the output
215 generated on platforms that do not have hardware watchpoints.
216
2172011-02-22 Joel Brobecker <brobecker@adacore.com>
218
219 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
220 clean_restart. Be a little stricter in the expected output
221 for one of the tests. Fix a typo in one of the comments.
222
2232011-02-22 Joel Brobecker <brobecker@adacore.com>
224
225 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
226 Delete variable binfile, no longer use. Add or modify test
227 comments to make them unique.
228
2292011-02-21 Michael Snyder <msnyder@vmware.com>
230
231 * Makefile.in: Update for make clean.
232 * gdb.ada/Makefile.in: Ditto.
233 * gdb.arch/Makefile.in: Ditto.
234 * gdb.asm/Makefile.in: Ditto.
235 * gdb.base/Makefile.in: Ditto.
236 * gdb.cp/Makefile.in: Ditto.
237 * gdb.dwarf2/Makefile.in: Ditto.
238 * gdb.java/Makefile.in: Ditto.
239 * gdb.mi/Makefile.in: Ditto.
240 * gdb.modula2/Makefile.in: Ditto.
241 * gdb.python/Makefile.in: Ditto.
242 * gdb.server/Makefile.in: Ditto.
243 * gdb.stabs/Makefile.in: Ditto.
244 * gdb.threads/Makefile.in: Ditto.
245 * gdb.trace/Makefile.in: Ditto.
246
2472011-02-21 Michael Snyder <msnyder@vmware.com>
248
249 * gdb.threads/thread-find.exp: Update patterns for changes in
250 output of "info threads" command.
251
2522011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
253 Ulrich Weigand <uweigand@de.ibm.com>
254
255 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
256 (skip_hw_watchpoint_tests): Likewise.
257 (skip_hw_watchpoint_multi_tests): Likewise.
258
2592011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
260
261 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
262 (skip_hw_watchpoint_tests): Likewise.
263 (skip_hw_watchpoint_multi_tests): Likewise.
264 (skip_hw_watchpoint_access_tests): Likewise.
265
266 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
267 * gdb.base/pr11022.exp: Likewise.
268 * gdb.base/watch-read.exp: Likewise.
269 * gdb.base/watch_thread_num.exp: Likewise.
270 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
271 * gdb.base/watchpoint-hw.exp: Likewise.
272 * gdb.base/watchpoint.exp: Likewise.
273 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
274 * gdb.threads/watchthreads-reorder.exp: Likewise.
275 * gdb.threads/watchthreads.exp: Likewise.
276 * gdb.threads/watchthreads2.exp: Likewise.
277
2782011-02-21 Joel Brobecker <brobecker@adacore.com>
279
280 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
281 the debugger is unable to find the array bounds.
282
2832011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 * gdb.cp/typedef-operator.exp: New file.
286 * gdb.cp/typedef-operator.cc: New file.
287
2882011-02-17 Michael Snyder <msnyder@vmware.com>
289
290 * gdb.threads/thread-find.exp: Fix regular expressions.
291
2922011-02-17 Joel Brobecker <brobecker@adacore.com>
293
294 * gdb.ada/packed_array: Expand testcase to test printing of
295 unconstrained packed array.
296
2972011-02-17 Joel Brobecker <brobecker@adacore.com>
298
299 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
300
3012011-02-16 Pedro Alves <pedro@codesourcery.com>
302
303 * gdb.trace/collection.c (globalarr3): New global.
304 (main): Initialize it before collecting, and and clear it
305 afterwards.
306 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
307 collecting with '{type} addr', where the addr expression is not an
308 rvalue.
309
3102011-02-16 Ken Werner <ken.werner@de.ibm.com>
311
312 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
313 a bool variable. Expect correct OpenCL names for vector types. Use the
314 uc3 variable name instead of referring to the uchar3 built-in type.
315 Escape the asterisk at the half pointer test.
316
3172011-02-16 Pedro Alves <pedro@codesourcery.com>
318
319 * gdb.trace/collection.c (globalarr2): New global.
320 (main): Initialize it before collecting, and and clear it
321 afterwards.
322 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
323 collecting overlapping memory ranges.
324
3252011-02-15 Michael Snyder <msnyder@vmware.com>
326
327 * gdb.base/default.exp: Add tests for thread commands.
328 * gdb.base/help.exp: Add tests for thread commands.
329 * gdb.threads/thread-find.exp: New test for thread find command.
330
3312011-02-15 Ken Werner <ken.werner@de.ibm.com>
332
333 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
334
3352011-02-15 Yao Qi <yao@codesourcery.com>
336
337 PR tdep/12352
338 * gdb.arch/arm-disp-step.S : New test for str instruction.
339 * gdb.arch/arm-disp-step.exp : Likewise.
340
3412011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
342
343 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
344 "vector_register2_vr" test strings. Test the extended floating
345 point registers (F32~F63).
346 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
347 IBM XL C compiler. Make the test program use a register provided
348 by the compiler for the lxvd2x instruction.
349
3502011-02-14 Pedro Alves <pedro@codesourcery.com>
351
352 * gdb.trace/unavailable.cc (class Base, class Middle, class
353 Derived): New types.
354 (derived_unavail, derived_partial, derived_whole): New globals.
355 (virtual_partial): New global.
356 (virtualp): Point at virtual_partial.
357 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
358 related to unavailable vptr.
359
3602011-02-14 Pedro Alves <pedro@codesourcery.com>
361
362 * gdb.trace/unavailable.cc (a, b, c): New globals.
363 (main): Set and clear them.
364 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
365 `a' and `c', and check that `b' isn't collected, although `a' and
366 `c' are.
367
3682011-02-14 Pedro Alves <pedro@codesourcery.com>
369
370 * gdb.trace/unavailable.cc (struct Virtual): New.
371 (virtualp): New global pointer.
372 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
373 printing a pointer to an object whose type has a vtable, with
374 print object on.
375
3762011-02-14 Pedro Alves <pedro@codesourcery.com>
377
378 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
379 value repeat handles unavailableness.
380
3812011-02-14 Pedro Alves <pedro@codesourcery.com>
382
383 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
384 tests for building arrays from unavailable values, subscripting
385 non-memory rvalue unvailable arrays, and accessing fields or
386 baseclasses of non-lazy unavailable values,
387 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
388 struct types.
389 (g_smallstruct, g_smallstruct_b): New globals.
390
3912011-02-14 Pedro Alves <pedro@codesourcery.com>
392
393 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
394
3952011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 Fix const/volatile qualifiers of C++ types, PR c++/12328.
398 * gdb.cp/overload-const.exp: New file.
399 * gdb.cp/overload-const.cc: New file.
400
4012011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
402
403 * gdb.opencl/callfuncs.cl: New file.
404 * gdb.opencl/callfuncs.exp: New test.
405 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
406
4072011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
408
409 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
410 when computing result.
411 * gdb.arch/altivec-abi.exp: Update expected results.
412
4132011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
414
415 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
416 * gdb.base/jit.exp: Likewise.
417 * gdb.base/pie-execl.exp: Likewise.
418 * gdb.base/solib-nodir.exp: Likewise.
419 * gdb.base/solib-overlap.exp: Likewise.
420
4212011-02-07 Pedro Alves <pedro@codesourcery.com>
422
423 * gdb.trace/collection.c (global_pieces): New.
424 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
425 New procedure.
426 (gdb_trace_collection_test): Call it.
427
4282011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
429
430 * gdb.python/py-evthreads.c: New file.
431 * gdb.python/py-evthreads.exp: New file.
432 * gdb.python/py-events.py: New file.
433 * gdb.python/py-events.exp: New file.
434 * gdb.python/py-events.c: New file.
435
4362011-02-04 David Daney <ddaney@caviumnetworks.com>
437
438 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
439
4402011-02-03 Andrew Burgess <aburgess@broadcom.com>
441
442 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
443 gdb.base/disasm-end-cu.exp: New test for disassembling over the
444 boundary between two compilation units.
445
4462011-02-02 Pedro Alves <pedro@codesourcery.com>
447
448 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
449 (Virtual): New structs.
450 (virtual_o, virtual_middle_b): New globals.
451 * gdb.cp/virtbase.exp: New tests.
452
4532011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
454
455 * gdb.base/jit.exp: New file.
456 * gdb.base/jit-main.c: New file.
457 * gdb.base/jit-solib.c: New file.
458
4592011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
460
461 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
462 proceed to initial kernel entry point.
463 * gdb.opencl/datatypes.exp: Likewise.
464 * gdb.opencl/operators.exp: Likewise.
465 * gdb.opencl/vec_comps.exp: Likewise.
466
4672011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
468
469 * gdb.cp/nsnested.cc: New.
470 * gdb.cp/nsnested.exp: New.
471 * gdb.cp/nsnoimports.exp: New.
472 * gdb.cp/nsnoimports.cc: New.
473
4742011-01-31 Joel Brobecker <brobecker@adacore.com>
475
476 * gdb.base/interact.exp: Add extra tests that verify that
477 the value of the interactive-mode setting does not change
478 after the script is sourced.
479
4802011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
481
482 * gdb.cp/noparam.exp: New file.
483 * gdb.cp/noparam.cc: New file.
484
4852011-01-28 Pedro Alves <pedro@codesourcery.com>
486
487 * gdb.trace/tfile.exp: Test that with no traceframe selected,
488 there's no stack or registers.
489
4902011-01-26 Tom Tromey <tromey@redhat.com>
491
492 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
493 space before string output. Add test for "set print pretty off"
494 case.
495
4962011-01-25 Pedro Alves <pedro@codesourcery.com>
497
498 * gdb.base/frame-args.exp: Adjust.
499 * gdb.dwarf2/dw2-noloc.exp: Adjust.
500 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
501 * gdb.dwarf2/pieces.exp: Adjust.
502 * gdb.opt/clobbered-registers-O2.exp: Adjust.
503 * gdb.opt/inline-locals.exp: Adjust.
504 * gdb.threads/fork-child-threads.exp: Adjust.
505
5062011-01-25 Ken Werner <ken.werner@de.ibm.com>
507
508 * gdb.opencl/convs_casts.cl: Move program scope variables into the
509 OpenCL kernel function. Add a comment as marker. Add address space
510 qualifiers for the remaining program scope variables.
511 * gdb.opencl/datatypes.cl: Likewise.
512 * gdb.opencl/operators.cl: Likewise.
513 * gdb.opencl/vec_comps.cl: Likewise.
514 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
515 Add breakpoint at the marker comment.
516 * gdb.opencl/datatypes.exp: Likewise.
517 * gdb.opencl/operators.exp: Likewise.
518 * gdb.opencl/vec_comps.exp: Likewise.
519
5202011-01-24 Pedro Alves <pedro@codesourcery.com>
521
522 * gdb.base/printcmds.c (some_struct): New struct and instance.
523 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
524 procedure.
525 <global scope>: Call it.
526
5272011-01-21 Ken Werner <ken.werner@de.ibm.com>
528
529 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
530 argument to the gdb_compile_opencl_hostapp call.
531
5322011-01-19 Yao Qi <yao@codesourcery.com>
533
534 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
535 positve list.
536
5372011-01-19 Yao Qi <yao@codesourcery.com>
538
539 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
540 canonical form.
541 Remove "xscale-*-*"
542 * gdb.xml/tdesc-regs.exp: Likewise.
543 * gdb.python/py-section-script.exp: Replace ARM target triplet
544 with canonical form.
545 Match arm*-*-symbianelf*.
546 * gdb.base/dup-sect.exp: Likewise.
547 * lib/dwarf.exp: New.
548 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
549 dwarf2_support.
550 * gdb.dwarf2/dup-psym.exp: Likewise.
551 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
552 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
553 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
554 * gdb.dwarf2/dw2-basic.exp: Likewise.
555 * gdb.dwarf2/dw2-compressed.exp: Likewise.
556 * gdb.dwarf2/dw2-const.exp: Likewise.
557 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
558 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
559 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
560 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
561 * gdb.dwarf2/dw2-filename.exp: Likewise.
562 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
563 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
564 * gdb.dwarf2/dw2-intercu.exp: Likewise.
565 * gdb.dwarf2/dw2-intermix.exp: Likewise.
566 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
567 * gdb.dwarf2/dw2-noloc.exp: Likewise.
568 * gdb.dwarf2/dw2-op-call.exp: Likewise.
569 * gdb.dwarf2/dw2-producer.exp: Likewise.
570 * gdb.dwarf2/dw2-ranges.exp: Likewise.
571 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
572 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
573 * gdb.dwarf2/dw2-strp.exp: Likewise.
574 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
575 * gdb.dwarf2/implptr.exp: Likewise.
576 * gdb.dwarf2/mac-fileno.exp: Likewise.
577 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
578 * gdb.dwarf2/pieces.exp: Likewise.
579 * gdb.dwarf2/pr11465.exp: Likewise.
580 * gdb.dwarf2/valop.exp: Likewise.
581 * gdb.dwarf2/watch-notconst.exp: Likewise.
582 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
583
5842011-01-19 Tom Tromey <tromey@redhat.com>
585
586 * gdb.python/py-infthread.exp: Add thread tests.
587
5882011-01-14 Joel Brobecker <brobecker@adacore.com>
589
590 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
591
5922011-01-14 Joel Brobecker <brobecker@adacore.com>
593
594 * gdb.ada/widewide: New testcase.
595
5962011-01-13 Joel Brobecker <brobecker@adacore.com>
597
598 * gdb.base/interact.exp: New testcase.
599
6002011-01-12 Tom Tromey <tromey@redhat.com>
601
602 * gdb.mi/gdb2549.exp: Update for error message changes.
603 * gdb.mi/mi-cli.exp: Likewise.
604 * gdb.mi/mi-disassemble.exp: Likewise.
605 * gdb.mi/mi-pthreads.exp: Likewise.
606 * gdb.mi/mi-regs.exp: Likewise.
607 * gdb.mi/mi-stack.exp: Likewise.
608 * gdb.mi/mi-var-block.exp: Likewise.
609 * gdb.mi/mi-var-cmd.exp: Likewise.
610 * gdb.mi/mi2-cli.exp: Likewise.
611 * gdb.mi/mi2-disassemble.exp: Likewise.
612 * gdb.mi/mi2-pthreads.exp: Likewise.
613 * gdb.mi/mi2-regs.exp: Likewise.
614 * gdb.mi/mi2-stack.exp: Likewise.
615 * gdb.mi/mi2-var-block.exp: Likewise.
616 * gdb.mi/mi2-var-cmd.exp: Likewise.
617
6182011-01-12 Andrew Burgess <aburgess@broadcom.com>
619 Jan Kratochvil <jan.kratochvil@redhat.com>
620
621 PR fortran/11104 and DWARF unbound arrays detection.
622 * gdb.fortran/multi-dim.exp: New file.
623 * gdb.fortran/multi-dim.f90: New file.
624
6252011-01-12 Andrew Burgess <aburgess@broadcom.com>
626
627 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
628 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
629 add new tests for opcode dumping.
630
6312011-01-11 Tom Tromey <tromey@redhat.com>
632
633 * gdb.python/py-infthread.exp: Load gdb-python.exp.
634
6352010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
636
637 Convert hardware watchpoints to use breakpoint_ops.
638 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
639 type is not supported.
640 * gdb.base/foll-fork.exp: Likewise.
641 * gdb.base/foll-vfork.exp: Likewise.
642
6432011-01-10 Phil Muldoon <pmuldoon@redhat.com>
644
645 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
646 Use load_lib gdb-python.exp.
647 * gdb.python/python.exp: Ditto.
648 * gdb.python/py-function.exp: Ditto.
649
6502011-01-09 Andreas Schwab <schwab@linux-m68k.org>
651
652 * gdb.threads/tls.exp ("info address me"): Fix expected output.
653
6542011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
655
656 * configure: Regenerate.
657
6582011-01-06 Tom Tromey <tromey@redhat.com>
659
660 * gdb.python/py-frame.exp: Test gdb.newest_frame.
661
6622011-01-06 Joel Brobecker <brobecker@adacore.com>
663
664 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
665 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
666 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
667 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
668 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
669 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
670 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
671 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
672 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
673 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
674 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
675 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
676 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
677 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
678 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
679 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
680 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
681 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
682 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
683 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
684 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
685 gdb.ada/uninitialized_vars.exp,
686 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
687 Simplify by using clean_restart.
688
6892011-01-06 Joel Brobecker <brobecker@adacore.com>
690
691 Add marker to be used as anchor for inserting breakpoints.
692 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
693 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
694 Likewise.
695
696 Remove uses of gdb_start_cmd.
697 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
698 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
699
700 Do not run testcase if testing with GDBserver.
701 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
702 if testing with GDBserver.
703
7042011-01-06 Joel Brobecker <brobecker@adacore.com>
705
706 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
707 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
708 copyright header.
709
7102011-01-05 Joel Brobecker <brobecker@adacore.com>
711
712 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
713 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
714 testsuite/gdb.fortran/complex.f,
715 testsuite/gdb.fortran/derived-type.f90,
716 testsuite/gdb.fortran/library-module-lib.f90,
717 testsuite/gdb.fortran/library-module-main.f90,
718 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
719 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
720 Copyright year update.
721
7222011-01-05 Joel Brobecker <brobecker@adacore.com>
723
724 * gdb.base/langs1.f: Add copyright header.
725
7262011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
727
728 * gdb.base/morestack.exp: New file.
729 * gdb.base/morestack.c: New file.
730
7312011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
732
733 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
734
7352010-12-29 Joel Brobecker <brobecker@adacore.com>
736
737 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
738 * gdb.ada/arrayptr.exp: Add test printing that new variable.
739
7402010-12-29 Joel Brobecker <brobecker@adacore.com>
741
742 * gdb.ada/lang_switch.exp: Correct expected parameter value.
743
7442010-12-25 Andreas Schwab <schwab@linux-m68k.org>
745
746 * gdb.threads/tls.exp: Fix typo.
747
748 * gdb.threads/thread-specific.exp (get_thread_list): Update.
749 * gdb.threads/execl.exp: Update.
750
7512010-12-23 Yao Qi <yao@codesourcery.com>
752
753 * gdb.arch/arm-disp-step.exp: New.
754 * gdb.arch/arm-disp-step.S: New.
755
7562010-12-21 Tom Tromey <tromey@redhat.com>
757
758 * gdb.threads/execl.exp: Update.
759 * gdb.threads/linux-dp.exp: Update.
760 * gdb.threads/manythreads.exp: Update.
761 * gdb.threads/tls.exp: Update.
762
7632010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
764
765 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
766 (NextOverThrowDerivates) <resumebpt>: New.
767 (resumebpt_test): New.
768 (main): Call resumebpt_test.
769 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
770
7712010-12-12 Stan Shebs <stan@codesourcery.com>
772
773 * gdb.trace/tsv.exp: Test print command on trace state variables.
774
7752010-12-09 Tom Tromey <tromey@redhat.com>
776
777 * gdb.base/interp.exp: Add regression test.
778
7792010-12-09 Tom Tromey <tromey@redhat.com>
780
781 * gdb.java/jnpe.java: New file.
782 * gdb.java/jnpe.exp: New file.
783 * gdb.cp/nextoverthrow.exp: New file.
784 * gdb.cp/nextoverthrow.cc: New file.
785
7862010-12-07 Doug Evans <dje@google.com>
787
788 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
789 of data-directory.
790 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
791 updated.
792 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
793
7942010-11-29 Michael Snyder <msnyder@vmware.com>
795
796 * gdb.base/callfuncs.exp: Test for skip_float_tests.
797 * gdb.base/call-sc.exp: Ditto.
798 * gdb.base/finish.exp: Ditto.
799 * gdb.base/return.exp: Ditto.
800 * gdb.base/return2.exp: Ditto.
801
8022010-11-30 Doug Evans <dje@google.com>
803
804 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
805 (gdb_expect_list): Fix spelling errors in comments.
806 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
807 send_gdb/gdb_expect_list where applicable.
808 * gdb.base/call-ar-st.exp: Ditto.
809 * gdb.base/funcargs.exp: Ditto.
810 * gdb.base/gcore.exp: Ditto.
811 * gdb.base/page.exp: Ditto.
812 * gdb.base/sigaltstack.exp: Ditto.
813 * gdb.base/siginfo.exp: Ditto.
814 * gdb.base/sigstep.exp: Ditto.
815 * gdb.base/trace-commands.exp: Ditto.
816
8172010-11-29 Doug Evans <dje@google.com>
818
819 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
820 printer-name;subprinter-name.
821
8222010-11-29 Tom Tromey <tromey@redhat.com>
823
824 * gdb.dwarf2/implptr.exp: New file.
825 * gdb.dwarf2/implptr.c: New file.
826 * gdb.dwarf2/implptr.S: New file.
827
8282010-11-29 Phil Muldoon <pmuldoon@redhat.com>
829
830 PR python/12199
831
832 * gdb.python/py-breakpoint.exp: Test the delete method.
833
8342010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
835
836 Fix step_resume_breakpoint unsaved during an infcall.
837 * gdb.base/step-resume-infcall.exp: New file.
838 * gdb.base/step-resume-infcall.c: New file.
839
8402010-11-24 Edjunior Machado <emachado@br.ibm.com>
841
842 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
843
8442010-11-24 Edjunior Machado <emachado@br.ibm.com>
845
846 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
847 on ppc64's symbols; "finish" and "return" commands must accept to
848 show the caller line again as well as the line after.
849 * gdb.asm/powerpc64.inc: New file.
850
8512010-11-23 Doug Evans <dje@google.com>
852
853 * lib/gdb.exp (gdb_test_sequence): New function.
854 (gdb_expect_list): Add verbose -log call for each pattern.
855 * gdb.base/signals.exp (test_handle_all_print): Call it.
856 Reduce timeout increment from 6 minutes to 1 minute.
857 * gdb.server/ext-run.exp: Call it.
858
8592010-11-23 Phil Muldoon <pmuldoon@redhat.com>
860
861 PR python/12212
862
863 * gdb.python/python.exp: Check that selected_thread raises an
864 error when no inferior is loaded.
865
8662010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
867
868 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
869 * gdb.dwarf2/dw2-stack-boundary.S: New file.
870
8712010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
874 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
875
8762010-11-18 Doug Evans <dje@google.com>
877
878 * gdb.server/ext-run.exp: Fix intermittent failures.
879
8802010-11-12 Nathan Froyd <froydnj@codesourcery.com>
881
882 * gdb.stabs/gdb11479.exp: Use runto_main.
883
8842010-11-12 Nathan Froyd <froydnj@codesourcery.com>
885
886 * gdb.base/break-entry.exp: Skip if using a stub.
887
8882010-11-12 Nathan Froyd <froydnj@codesourcery.com>
889
890 * gdb.python/py-inferior.exp: Pack values in target endianness.
891
8922010-11-12 Tom Tromey <tromey@redhat.com>
893
894 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
895 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
896 MemoryError.
897 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
898 type.
899 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
900 MemoryError.
901 (test_subscript_regression): Update exception type.
902
9032010-11-11 Phil Muldoon <pmuldoon@redhat.com>
904
905 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
906 breakpoint tests.
907
9082010-11-09 Pedro Alves <pedro@codesourcery.com>
909
910 * gdb.base/watchpoint.exp: Test "watch -location" with an
911 innacessible location.
912
9132010-11-09 Edjunior Machado <emachado@br.ibm.com>
914 Luis Machado <luisgpm@br.ibm.com>
915
916 * gdb.base/maint.exp: Expect "." prefix.
917 * gdb.base/nodebug.exp: Expect "." Likewise.
918 * gdb.base/sepsymtab.exp: Expect "." Likewise.
919 * gdb.base/watchpoint-cond-gone.exp: Likewise.
920 * gdb.base/watchpoint.exp: Expect a software watch to be created for
921 POWER server processors.
922
9232010-11-08 Edjunior Machado <emachado@br.ibm.com>
924 Luis Machado <luisgpm@br.ibm.com>
925
926 * gdb.base/break-entry.exp: convert entry point for
927 ppc64 and expect leading `.' on ppc64's symbols
928
9292010-11-05 Doug Evans <dje@google.com>
930
931 * gdb.base/help.exp: Update expected output.
932 * gdb.python/py-param.exp: Delete, contents moved to ...
933 * gdb.python/py-parameter.exp: ... here. New file.
934 Add test for gdb.parameter ("directories").
935
9362010-11-05 Ken Werner <ken.werner@de.ibm.com>
937
938 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
939 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
940 * configure: Regenerate.
941 * gdb.opencl/Makefile.in: New File.
942 * gdb.opencl/datatypes.exp: Likewise.
943 * gdb.opencl/datatypes.cl: Likewise.
944 * gdb.opencl/operators.exp: Likewise.
945 * gdb.opencl/operators.cl: Likewise.
946 * gdb.opencl/vec_comps.exp: Likewise.
947 * gdb.opencl/vec_comps.cl: Likewise.
948 * gdb.opencl/convs_casts.exp: Likewise.
949 * gdb.opencl/convs_casts.cl: Likewise.
950 * lib/opencl.exp: Likewise.
951 * lib/opencl_hostapp.c: Likewise.
952 * lib/opencl_kernel.cl: Likewise.
953 * lib/cl_util.c: Likewise.
954 * lib/cl_util.c: Likewise.
955 * gdb.base/default.exp (set language): Add "opencl" to the list of
956 languages.
957
9582010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
959
960 * gdb.cp/overload.exp: Added test for inheritance overload.
961 * gdb.cp/overload.cc: Ditto.
962 * gdb.cp/oranking.exp: Removed releveant kfails.
963
9642010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
965 Joel Brobecker <brobecker@adacore.com>
966
967 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
968 check test_compiler_info.
969
9702010-11-03 Ken Werner <ken.werner@de.ibm.com>
971
972 * gdb.base/gnu_vector.exp: Adjust expect messages.
973
9742010-11-03 Ken Werner <ken.werner@de.ibm.com>
975
976 * gdb.base/gnu_vector.exp: Add unary operator tests.
977
9782010-11-03 Ken Werner <ken.werner@de.ibm.com>
979
980 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
981
9822010-11-02 Doug Evans <dje@google.com>
983
984 * gdb.python/py-pp-maint.c: New file.
985 * gdb.python/py-pp-maint.exp: New file.
986 * gdb.python/py-pp-maint.py: New file.
987
9882010-11-02 Tom Tromey <tromey@redhat.com>
989
990 * gdb.base/default.exp: Remove "scheme" from language list.
991
9922010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 Revert:
995 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
996 * gdb.threads/sigstep-threads.exp: New file.
997 * gdb.threads/sigstep-threads.c: New file.
998
9992010-10-20 Michael Snyder <msnyder@vmware.com>
1000
1001 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1002
10032010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1004
1005 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1006 Skip test completely if gdb,no_hardware_watchpoints.
1007
10082010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1009
1010 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1011 strict, but do not check for any particular function name within libc.
1012
10132010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1014
1015 * gdb.cp/smartp.exp: New test.
1016 * gdb.cp/smartp.cc : New test.
1017
10182010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1019
1020 * gdb.cp/converts.exp: Test pointer to bool conversion.
1021 Test pointer to long conversion.
1022 * gdb.cp/oranking.exp: Removed relevant kfail.
1023
10242010-10-18 Tom Tromey <tromey@redhat.com>
1025
1026 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1027 argument to lazy_string.
1028 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1029 (pp_ls.to_string): Use it.
1030 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1031 Add "estring2" local.
1032
10332010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1034
1035 Fix s390x compatibility.
1036 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1037 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1038
10392010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1040
1041 * gdb.threads/sigstep-threads.exp: New file.
1042 * gdb.threads/sigstep-threads.c: New file.
1043
10442010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1045
1046 * gdb.base/pie-execl.exp: New file.
1047 * gdb.base/pie-execl.c: New file.
1048
10492010-10-13 Doug Evans <dje@google.com>
1050 Jan Kratochvil <jan.kratochvil@redhat.com>
1051
1052 PR exp/12117
1053 * gdb.cp/ptype-cv-cp.cc: New file.
1054 * gdb.cp/ptype-cv-cp.exp: New file.
1055
10562010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1057
1058 * gdb.cp/converts.cc: New test program.
1059 * gdb.cp/converts.exp: New test.
1060 * gdb.cp/overload.exp: Added test for void* vs int*.
1061 * gdb.cp/overload.exp: Ditto.
1062 * gdb.cp/oranking.exp: Removed related kfail.
1063
10642010-10-13 Doug Evans <dje@google.com>
1065
1066 * lib/gdb-python.exp (gdb_check_python_config): New function.
1067 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1068 * gdb.python/lib-types.cc: New file.
1069 * gdb.python/lib-types.exp: New file.
1070
10712010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1072
1073 * gdb.python/py-error.exp: New file.
1074 * gdb.python/py-error.py: New file.
1075
10762010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1077
1078 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1079 gdb_test_multiple.
1080
10812010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1082
1083 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1084 * gdb.base/prelink.exp: Likewise.
1085 * gdb.base/solib-nodir.exp: Likewise.
1086 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1087 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1088 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1089
10902010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1091
1092 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1093 for the "info files" test to avoid timeouts on slow machines.
1094
10952010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1096
1097 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1098 (main): Make openlib dummy call.
1099
11002010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1101
1102 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1103 * break-interp.exp (reach): Move the core body ...
1104 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1105 (test_ld): Provide always real argument, even to the linker. Replace
1106 dl_main by _dl_debug_state.
1107
11082010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1109
1110 Fix results of prelinked PIEs on ppc*.
1111 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1112 Accept also DISPLACEMENT "PRESENT".
1113 (main): Replace "ZERO" displacements by "PRESENT".
1114
11152010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1116
1117 * gdb.cp/oranking.exp: New test.
1118 * gdb.cp/oranking.cc: New test program.
1119
11202010-10-08 Ken Werner <ken.werner@de.ibm.com>
1121
1122 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1123 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1124
11252010-10-06 Ken Werner <ken.werner@de.ibm.com>
1126
1127 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1128 lush, lynx) New constant.
1129 * gdb.base/constvars.exp: Test const array types.
1130 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1131
11322010-10-06 Doug Evans <dje@google.com>
1133
1134 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1135 of syscall staging area.
1136
11372010-10-06 Ken Werner <ken.werner@de.ibm.com>
1138
1139 * gdb.base/gnu_vector.c: Add variable c4.
1140 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1141 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1142
11432010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1144
1145 * gdb.arch/altivec-abi.exp: Fix a typo.
1146
11472010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1148
1149 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1150 to match a thread ID.
1151
11522010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 Fix s390x testcase compatibility.
1155 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1156
11572010-10-01 Doug Evans <dje@google.com>
1158
1159 * lib/gdb-python.exp: New file.
1160 * gdb.python/py-block.exp: Use it.
1161 * gdb.python/py-breakpoint.exp: Ditto.
1162 * gdb.python/py-frame.exp: Ditto.
1163 * gdb.python/py-inferior.exp: Ditto.
1164 * gdb.python/py-param.exp: Ditto.
1165 * gdb.python/py-prettyprint.exp: Ditto.
1166 * gdb.python/py-shared.exp: Ditto.
1167 * gdb.python/py-symbol.exp: Ditto.
1168 * gdb.python/py-symtab.exp: Ditto.
1169 * gdb.python/py-type.exp: Ditto.
1170 * gdb.python/py-value.exp: Ditto.
1171 * gdb.python/python.exp: Ditto.
1172
11732010-09-30 Tom Tromey <tromey@redhat.com>
1174
1175 * gdb.base/anon.exp: New file.
1176 * gdb.base/anon.c: New file.
1177
11782010-09-30 Tom Tromey <tromey@redhat.com>
1179
1180 * gdb.base/completion.exp: Test completion through anonymous
1181 union.
1182 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1183
11842010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1185
1186 Fix printing parameters of inlined functions.
1187 * gdb.dwarf2/dw2-inline-param.exp: New file.
1188 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1189 * gdb.dwarf2/dw2-inline-param.S: New file.
1190
11912010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1192
1193 PR corefiles/12071.
1194 * gdb.base/corefile.exp (quit with a process, no question: load core)
1195 (quit with a core file): New tests.
1196
11972010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1198
1199 Fix GDB crash on inferior calls with self-referencing classes.
1200 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1201 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1202 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1203
12042010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1205
1206 Fix lost siginfo_t for inferior calls.
1207 * gdb.base/siginfo-infcall.exp: New file.
1208 * gdb.base/siginfo-infcall.c: New file.
1209
12102010-09-22 Joel Brobecker <brobecker@adacore.com>
1211
1212 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1213
12142010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1215
1216 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1217 New test.
1218 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1219
12202010-09-22 Joel Brobecker <brobecker@adacore.com>
1221
1222 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1223 type of our const type.
1224
12252010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1226
1227 * gdb.cp/pr12028.cc: New.
1228 * gdb.cp/pr12028.exp: New.
1229
12302010-09-22 Joel Brobecker <brobecker@adacore.com>
1231
1232 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1233
12342010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1235 Jan Kratochvil <jan.kratochvil@redhat.com>
1236
1237 PR mi/11407
1238 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1239 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1240 * gdb.mi/dw2-ref-missing-frame.S New File.
1241 * gdb.mi/dw2-ref-missing-frame.exp New File.
1242
12432010-09-14 Tom Tromey <tromey@redhat.com>
1244
1245 PR symtab/8399:
1246 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1247
12482010-09-14 Tom Tromey <tromey@redhat.com>
1249
1250 PR exp/11803:
1251 * gdb.threads/tls.exp: Use C++.
1252 (check_thread_local): Use K::another_thread_local.
1253 * gdb.threads/tls.c (class K): New.
1254 (another_thread_local): Now a member of K.
1255 (spin): Update. No longer K&R C.
1256
12572010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1258
1259 * gdb.cp/koenig.cc: created class for testing member lookup.
1260 * gdb.cp/koenig.exp: Added test for member lookup.
1261
12622010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1263
1264 Fix false FAILs on sourcetree topdir directory containing "kill".
1265 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1266 source line matching regexp.
1267
12682010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1269
1270 * gdb.python/python.exp (set height 0, collect help from uiout)
1271 (verify help to uiout): New tests.
1272
12732010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1274
1275 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1276 is_lp64_target to check 64bit target.
1277
12782010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1279
1280 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1281 (test_ld) <powerpc64-*>: New.
1282
12832010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1284
1285 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1286
12872010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1288
1289 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1290 (FunctionArg::method): New function.
1291 (empty, arg): New variables.
1292 (main): Call arg.method.
1293 * gdb.cp/templates.exp (test_template_args): New function.
1294 (do_tests): Call it.
1295
12962010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1297
1298 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1299 of "next" to proceed over pthread_exit call.
1300
13012010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1302
1303 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1304 "maint print statistics" output to prevent expect timeouts.
1305
13062010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1307
1308 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1309 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1310 (test_float_rejected): ... here.
1311 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1312 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1313 (test_float_rejected): ... here.
1314 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1315 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1316 (test_float_rejected): ... here.
1317 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1318 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1319 (test_float_rejected): ... here.
1320
13212010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1322
1323 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1324 before disabling hardware watchpoints.
1325 (test_inaccessible_watchpoint): Check that hardware watchpoints
1326 are used. Test for watchpoints on a constant address.
1327
13282010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1329
1330 * gdb.base/ui-redirect.exp: New file.
1331
13322010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1333 Joel Brobecker <brobecker@adacore.com>
1334
1335 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1336
13372010-08-31 Doug Evans <dje@google.com>
1338
1339 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1340
13412010-08-30 Tom Tromey <tromey@redhat.com>
1342
1343 PR python/11792:
1344 * gdb.python/py-value.exp (test_subscript_regression): Add
1345 dynamic_type test.
1346
13472010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1348
1349 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1350 instead of running to main. Do not test the main function.
1351 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1352 Add new main.
1353
13542010-08-26 Pedro Alves <pedro@codesourcery.com>
1355
1356 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1357 one test.
1358
13592010-08-24 Doug Evans <dje@google.com>
1360
1361 PR symtab/11942
1362 * gdb.dwarf2/dw4-sig-types.cc: New file.
1363 * gdb.dwarf2/dw4-sig-types.h: New file.
1364 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1365 * gdb.dwarf2/dw4-sig-types.exp: New file.
1366
13672010-08-23 Tom Tromey <tromey@redhat.com>
1368
1369 PR python/11145:
1370 * gdb.python/py-value.c (Base, Derived): New types.
1371 (base): New global.
1372 * gdb.python/py-value.exp (test_subscript_regression): Add
1373 dynamic_cast test.
1374
13752010-08-23 Tom Tromey <tromey@redhat.com>
1376
1377 PR python/10676:
1378 * gdb.python/py-type.exp (test_fields): Add tests for type
1379 equality.
1380
13812010-08-23 Tom Tromey <tromey@redhat.com>
1382
1383 PR python/11915:
1384 * gdb.python/py-type.exp (test_fields): Add tests for array.
1385
13862010-08-23 Keith Seitz <keiths@redhat.com>
1387
1388 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1389 have any children. Create a new abbrev for it.
1390 Add missing terminal sequence to .debug_abbrev.
1391
13922010-08-20 Keith Seitz <keiths@redhat.com>
1393
1394 PR symtab/11465:
1395 * gdb.dwarf2/pr11465.exp: New test.
1396 * gdb.dwarf2/pr11465.S: New file.
1397 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1398 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1399
14002010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1401
1402 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1403 registers. Update data sets with the new v2_double element in the
1404 VSX register union. Add vector_register3_vr data set for the AltiVec
1405 registers. Use gdb_test_no_output instead of send_gdb.
1406
14072010-08-19 Pedro Alves <pedro@codesourcery.com>
1408
1409 * gdb.python/py-shared.exp: New file, factored out from
1410 python.exp.
1411 * gdb.python/py-shared.c: New file.
1412 * gdb.python/py-shared-sl.c: New file.
1413 * gdb.python/python-1.c: New file.
1414 * gdb.python/python-sl.c: Delete.
1415 * gdb.python/python.c: Mention python-1.c.
1416 * gdb.python/python.exp: Move shared library tests to
1417 py-shared.exp.
1418 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1419 (MISCELLANEOUS): New.
1420 (clean mostlyclean): Also remove $MISCELLANEOUS.
1421
14222010-08-19 Doug Evans <dje@google.com>
1423
1424 PR exp/11926
1425 * gdb.base/printcmds.exp (test_float_accepted): New function.
1426 Move existing float tests there. Add tests for floats with suffixes.
1427 (test_float_rejected): New function.
1428 * gdb.java/jv-print.exp (test_float_accepted): New function.
1429 (test_float_rejected): New function.
1430 * gdb.objc/print.exp: New file.
1431 * gdb.pascal/print.exp: New file.
1432 * lib/objc.exp: New file.
1433
14342010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1435
1436 * gdb.base/default.exp (info set): Avoid full buffer error and force
1437 reading up to final gdb prompt.
1438 (show): Likewise.
1439
14402010-08-18 Tom Tromey <tromey@redhat.com>
1441
1442 PR symtab/11919:
1443 * gdb.base/completion.exp: Add test.
1444
14452010-08-18 Doug Evans <dje@google.com>
1446
1447 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1448 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1449 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1450 Simplify, early exit if runto_main fails.
1451 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1452 (set_lang_fortran): Moved to lib/fortran.exp.
1453 * gdb.fortran/types.exp: load_lib fortran.exp.
1454 (set_lang_fortran): Moved to lib/fortran.exp.
1455 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1456 * gdb.java/jprint.exp (set_lang_java): Ditto.
1457 * gdb.java/jv-exp.exp: load_lib java.exp.
1458 If set_lang_java fails, issue a warning instead of failure to be
1459 consistent with other set_lang_foo uses.
1460 (set_lang_java): Moved to lib/java.exp.
1461 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1462 If set_lang_java fails, issue a warning instead of failure to be
1463 consistent with other set_lang_foo uses.
1464 * gdb.pascal/types.exp: load_lib pascal.exp.
1465 (set_lang_pascal): Moved to lib/pascal.exp.
1466 * lib/fortran.exp: New file.
1467 * lib/java.exp (set_lang_java): New function.
1468 * lib/pascal.exp (set_lang_pascal): New function.
1469
14702010-08-18 Yao Qi <yao@codesourcery.com
1471
1472 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1473 func_nofb_start and func_loopfb_start, so that address of functions
1474 is equal to these labels on Thumb.
1475
14762010-08-18 Yao Qi <yao@codesourcery.com>
1477
1478 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1479 to reflect latest c source file.
1480
14812010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * gdb.cp/infcall-dlopen.exp: New file.
1484 * gdb.cp/infcall-dlopen.cc: New file.
1485 * gdb.cp/infcall-dlopen-lib.cc: New file.
1486
14872010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1488 Pedro Alves <pedro@codesourcery.com>
1489
1490 PR breakpoints/11371
1491
1492 * gdb.base/watch-cond-infcall.exp: New file.
1493 * gdb.base/watch-cond-infcall.c: New file.
1494
14952010-08-16 Tom Tromey <tromey@redhat.com>
1496
1497 * gdb.base/help.exp: Update.
1498 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1499 watchpoint.
1500 (test_watch_location): New proc.
1501 (test_watchpoint_in_big_blob): Delete watchpoint.
1502 * gdb.base/watchpoint.c (func5): New function.
1503 (main): Call it.
1504
15052010-08-16 Doug Evans <dje@google.com>
1506
1507 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1508
15092010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1510
1511 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1512 tests.
1513
15142010-08-11 Ken Werner <ken.werner@de.ibm.com>
1515
1516 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1517 * gdb.base/gnu_vector.c: New File.
1518 * gdb.base/gnu_vector.exp: Likewise.
1519
15202010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1521
1522 * gdb.python/python.c: New File.
1523 * gdb.python/python-sl.c: New File.
1524 * gdb.python/python.exp: Test solib_address and decode_line
1525 * functions.
1526
15272010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1528
1529 * gdb.python/python.exp (show height, set height 10)
1530 (verify pagination beforehand, verify pagination beforehand: q)
1531 (gdb.execute does not page, verify pagination afterwards)
1532 (verify pagination afterwards: q): New.
1533
15342010-08-02 Doug Evans <dje@google.com>
1535
1536 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1537 because of an older gcc, change test2
1538 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1539 to unsupported.
1540
15412010-07-30 Kazu Hirata <kazu@codesourcery.com>
1542
1543 * gdb.base/break-always.exp: Do not expect full paths to file
1544 names.
1545 * gdb.base/commands.exp: Likewise.
1546
15472010-07-30 Doug Evans <dje@google.com>
1548
1549 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1550 xfail them when run with older gccs.
1551
1552 * lib/gdb.exp (build_executable): Forward "c++" option to
1553 get_compiler_info.
1554
1555 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1556 "python print ttype.template_argument(1)" and
1557 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1558 if using gcc 4.4 or earlier.
1559
1560 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1561 attach-to-debugger handling.
1562
15632010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1564
1565 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1566 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1567 (main): Use copyreloc.
1568 * gdb.base/prelink.exp (split debug of executable)
1569 (.dynbss vs. .bss address shift): New tests.
1570
15712010-07-29 Pedro Alves <pedro@codesourcery.com>
1572
1573 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1574 in gdb_test_multiple.
1575
15762010-07-29 Pedro Alves <pedro@codesourcery.com>
1577
1578 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1579 environment.
1580
15812010-07-28 Tom Tromey <tromey@redhat.com>
1582
1583 PR python/11060:
1584 * gdb.python/py-type.c (Temargs): New template.
1585 (temvar): New variable.
1586 * gdb.python/py-type.exp (test_template): New proc.
1587
15882010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1589
1590 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1591 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1592
15932010-07-28 Tom Tromey <tromey@redhat.com>
1594
1595 PR c++/9946:
1596 * gdb.cp/temargs.exp: New file.
1597 * gdb.cp/temargs.cc: New file.
1598
15992010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1600
1601 * gdb.base/help.exp (help disassemble): Update the content.
1602
16032010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1604
1605 * gdb.threads/ia64-sigill.exp: New file.
1606 * gdb.threads/ia64-sigill.c: New file.
1607
16082010-07-27 Tom Tromey <tromey@redhat.com>
1609
1610 * gdb.opt/inline-cmds.c (ATTR): New define.
1611 (func1): Use it.
1612 (func2): Likewise.
1613 (func3): Likewise.
1614 (outer_inline1): Likewise.
1615 (outer_inline2): Likewise.
1616 * gdb.opt/inline-bt.c (ATTR): New define.
1617 (func1): Use it.
1618 (func2): Likewise.
1619 * gdb.opt/inline-locals.c (ATTR): New define.
1620 (func1): Use it.
1621 (func2): Likewise.
1622
16232010-07-27 Tom Tromey <tromey@redhat.com>
1624
1625 * gdb.stabs/gdb11479.c (hack): New function.
1626 (test): Use it.
1627 (test2): Use it.
1628 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1629 (int32_search_buf, int64_search_buf): No longer static.
1630 (x): Remove.
1631 * gdb.base/relocate.c (hack): New function.
1632
16332010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1634
1635 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1636 * gdb.python/py-value.c (func1): New function.
1637 (func2): Likewise.
1638
16392010-07-26 Corinna Vinschen <vinschen@redhat.com>
1640
1641 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1642 as not to clash with .data section.
1643
16442010-07-26 Jerome Guitton <guitton@adacore.com>
1645
1646 * gdb.base/code_elim.exp: New file.
1647 * gdb.base/code_elim1.c: New file.
1648 * gdb.base/code_elim2.c: New file.
1649
16502010-07-21 Pedro Alves <pedro@codesourcery.com>
1651
1652 PR symtab/11827
1653
1654 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1655 (some_volatile_enum): New variable.
1656 * gdb.base/printcmds.exp (test_print_enums): New.
1657 <top level>: Call it.
1658
16592010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1660
1661 * gdb.cp/fpointer.cc: New test.
1662 * gdb.cp/fpointer.exp: New test.
1663
16642010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1665
1666 * gdb.base/solib-nodir.exp: New file.
1667 * lib/gdb.exp (runto): New case for a GDB internal error.
1668
16692010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1670 Ulrich Weigand <uweigand@de.ibm.com>
1671 Tom Tromey <tromey@redhat.com>
1672
1673 * gdb.base/charset-malloc.c: New file.
1674 * gdb.base/charset.c (malloc_stub): New prototype.
1675 (main): Call it instead of malloc itself.
1676 * gdb.base/charset.exp: Use only prepare_for_testing.
1677 (binfile): Remove the variable.
1678
16792010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 Make core files the process_stratum.
1682 * gdb.base/corefile.exp (run: load core again)
1683 (run: sanity check we see the core file, run: with core)
1684 (run: core file is cleared, attach: load core again)
1685 (attach: sanity check we see the core file, attach: with core)
1686 (attach: core file is cleared): New tests.
1687 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1688
16892010-07-14 Ken Werner <ken.werner@de.ibm.com>
1690
1691 * gdb.arch/altivec-abi.exp: New tests.
1692
16932010-07-13 Tom Tromey <tromey@redhat.com>
1694
1695 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1696 (main): Use it.
1697 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1698
16992010-07-13 Tom Tromey <tromey@redhat.com>
1700
1701 * gdb.base/label.exp: New file.
1702 * gdb.base/label.c: New file.
1703
17042010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1705 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 * lib/gdb.exp (is_ilp32_target): New.
1708 (is_lp64_target): Likewise.
1709
1710 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1711 target.
1712 * gdb.arch/amd64-disp-step.exp: Likewise.
1713 * gdb.arch/amd64-dword.exp: Likewise.
1714 * gdb.arch/amd64-i386-address.exp: Likewise.
1715 * gdb.arch/amd64-word.exp: Likewise.
1716
1717 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1718 target.
1719 * gdb.arch/i386-bp_permanent.exp: Likewise.
1720 * gdb.arch/i386-byte.exp: Likewise.
1721 * gdb.arch/i386-disp-step.exp: Likewise.
1722 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1723 * gdb.arch/i386-prologue.exp: Likewise.
1724 * gdb.arch/i386-size-overlap.exp: Likewise.
1725 * gdb.arch/i386-size.exp: Likewise.
1726 * gdb.arch/i386-sse.exp: Likewise.
1727 * gdb.arch/i386-unwind.exp: Likewise.
1728 * gdb.arch/i386-word.exp: Likewise.
1729
1730 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1731 test only when building 64-bit executables. Do not hard-code
1732 -m64 option.
1733
17342010-07-07 Doug Evans <dje@google.com>
1735
1736 * lib/gdb.exp (gdb_test_list_exact): New function.
1737 * gdb.base/default.exp (show convenience): Call it, add tests for
1738 $_sdata = void, $_thread = 0.
1739
17402010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1741 Joel Brobecker <brobecker@adacore.com>
1742
1743 Fix re-run of PIE executable, PR shlibs/11776.
1744 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1745 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1746 and re-"run" of the inferior.
1747
17482010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 Joel Brobecker <brobecker@adacore.com>
1750
1751 Cope with missing /usr/sbin/prelink.
1752 * lib/prelink-support.exp (prelink_no):
1753 <result == 1 && $output is "no such file or directory">: New.
1754 (prelink_yes): Likewise. Return on failed prelink_no.
1755
17562010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1757 Joel Brobecker <brobecker@adacore.com>
1758
1759 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1760 build_executable by build_executable_own_libs. Replace "prelink -R"
1761 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1762 change.
1763 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1764 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1765 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1766 Replace build_executable by build_executable_own_libs's function
1767 build_executable_own_libs.
1768 (prelinkNO): Create new stub to call prelink_no.
1769 (prelinkYES): Create new stub to call prelink_yes.
1770 (test_attach): Rename calls of copy to file_copy.
1771 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1772 (copy): Move to ...
1773 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1774 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1775 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1776 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1777 special flags by gdb_compile_shlib. Replace second gdb_compile by
1778 build_executable_own_libs. Replace "prelink -R" execution by a call of
1779 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1780 a second call of prelink_yes. Replace restart commands by
1781 clean_restart.
1782 (prelink): Rename to ...
1783 (seen displacement message): ... this test. Extend its expectation
1784 strictness.
1785
17862010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1787
1788 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1789 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1790 displacement message exactly once.
1791
17922010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 Joel Brobecker <brobecker@adacore.com>
1794
1795 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1796 its restore after the <$relink_args != ""> loop. new comment.
1797
17982010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1799 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1802 code for it. New variable relink_args.
1803 (prelinkYES): Call prelinkNO.
1804 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1805 in such case. Move the core code to ...
1806 (test_attach_gdb): ... a new function. Send GDB command "file".
1807 Extend expected "Attaching to " string.
1808
18092010-07-02 Tom Tromey <tromey@redhat.com>
1810
1811 * gdb.base/bitops.exp: Remove extraneous "pass".
1812
18132010-07-02 Ken Werner <ken.werner@de.ibm.com>
1814
1815 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1816
18172010-07-01 Pedro Alves <pedro@codesourcery.com>
1818
1819 * gdb.base/help.exp: Adjust expected output.
1820
18212010-07-01 Pedro Alves <pedro@codesourcery.com>
1822
1823 * gdb.base/help.exp: Adjust expected output.
1824
18252010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1826
1827 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1828 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1829 c++/11702.
1830
18312010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1832 Doug Evans <dje@google.com>
1833
1834 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1835 add .dynamic entry'.
1836
18372010-06-29 Doug Evans <dje@google.com>
1838
1839 Test PR c++/11702.
1840 * gdb.cp/m-static.exp: Add testcase.
1841 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1842
18432010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1844 Tom Tromey <tromey@redhat.com>
1845 Thiago Jung Bauermann <bauerman@br.ibm.com>
1846
1847 * gdb.python/py-inferior.c: New File.
1848 * gdb.python/py-infthread.c: New File.
1849 * gdb.python/py-inferior.exp: New File.
1850 * gdb.python/py-infthread.exp: New File.
1851
18522010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1853
1854 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1855 (ptype ::C::OtherFileClass typedefs): New.
1856 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1857 (C::OtherFileClass::cOtherFileClassVar2): New.
1858 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1859 cOtherFileClassVar2.
1860 (C::cOtherFileType2, C::cOtherFileVar2): New.
1861 (C::cOtherFileVar_use): use also cOtherFileVar2.
1862 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1863
18642010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1865
1866 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1867 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1868 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1869 (print ::C::cOtherFileVar)
1870 (whatis C::OtherFileClass::cOtherFileClassType)
1871 (whatis ::C::OtherFileClass::cOtherFileClassType)
1872 (print C::OtherFileClass::cOtherFileClassVar)
1873 (print ::cOtherFileClassVar)
1874 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1875 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1876 trailing content.
1877 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1878 (C::OtherFileClass::cOtherFileClassVar)
1879 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1880 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1881
18822010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1883
1884 Test PR c++/11703 and PR gdb/1448.
1885 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1886 gdb/1448.
1887
18882010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1889
1890 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1891 (main) <rtti_data>: New.
1892 * gdb.cp/virtbase.exp (print rtti_data): New.
1893
18942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1895 Joel Brobecker <brobecker@adacore.com>
1896
1897 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1898
18992010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1902
19032010-06-28 Doug Evans <dje@google.com>
1904
1905 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1906
19072010-06-27 Doug Evans <dje@google.com>
1908
1909 * gdb.cp/m-static.exp: Update expected test output.
1910
19112010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1912
1913 * gdb.gdb/selftest.exp: Adjust expected message for
1914 capturing start-up runtime.
1915
19162010-06-25 Tom Tromey <tromey@redhat.com>
1917
1918 PR python/10808:
1919 * gdb.python/python.exp: Add new tests.
1920
19212010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1922
1923 * gdb.cp/operator.cc: Created an import loop.
1924 * gdb.cp/operator.exp: Added testcase for import loop.
1925
19262010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1927
1928 Test PR python/11407.
1929 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1930 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1931 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1932 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1933 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1934 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1935 binfile. Call gdb_compile with clean_restart twice.
1936 (func_nofb print, func_nofb backtrace, func_loopfb print)
1937 (func_loopfb backtrace): New.
1938
19392010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1940
1941 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1942 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1943 by a hand made one.
1944 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1945 i?86 requirement. Remove variables srcfile and binfile. New variable
1946 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1947
19482010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1949
1950 * gdb.cell/dwarfaddr.exp: New file.
1951 * gdb.cell/dwarfaddr.S: New file.
1952
19532010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1954
1955 Test PR 9436.
1956 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1957
19582010-06-24 Hui Zhu <teawater@gmail.com>
1959
1960 * gdb.base/eval.exp: New file.
1961
19622010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1963
1964 * gdb.cell/fork.exp: New file.
1965 * gdb.cell/fork.c: Likewise.
1966 * gdb.cell/fork-spu.c: Likewise.
1967
19682010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1969
1970 * lib/gdb.exp (banned_variables_traced): New global variable.
1971 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1972 (gdb_init): Use `trace add variable' instead of obsolete
1973 `trace variable'.
1974
19752010-06-21 Doug Evans <dje@google.com>
1976
1977 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1978
19792010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1980
1981 * gdb.arch/spu-ls.exp: New file.
1982 * gdb.arch/spu-ls.c: Likewise.
1983
19842010-06-18 Stan Shebs <stan@codesourcery.com>
1985
1986 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1987
19882010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1989
1990 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1991 * gdb.base/watch-cond.exp: Likewise.
1992 * gdb.python/py-breakpoint.exp: Likewise.
1993
19942010-06-18 Pedro Alves <pedro@codesourcery.com>
1995
1996 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1997 clean_restart, make sure every test has a distinct message, and
1998 that messages don't include the executable' full path.
1999
20002010-06-17 Doug Evans <dje@google.com>
2001
2002 * gdb.arch/i386-size.exp: Updated expected output for
2003 DISASSEMBLY_OMIT_FNAME.
2004
20052010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2006 Sergio Durigan Junior <sergiodj@redhat.com>
2007
2008 * gdb.base/watch-notconst.c: New file.
2009 * gdb.base/watch-notconst.S: New file.
2010 * gdb.base/watch-notconst2.c: New file.
2011 * gdb.base/watch-notconst2.S: New file.
2012 * gdb.base/watch-notconst.exp: New file.
2013 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2014 (func4): Add operations on `global_ptr_ptr'.
2015 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2016 routine to test watchpoints created with a constant expression.
2017 (test_inaccessible_watchpoint): Include tests for watchpoints
2018 created with a constant expression.
2019
20202010-06-14 Kevin Buettner <kevinb@redhat.com>
2021
2022 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2023 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2024 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2025 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2026 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2027 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2028 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2029 of `_start'.
2030
20312010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2032
2033 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2034 not supported on the target.
2035 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2036 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2037 * gdb.mi/mi-nsintrall.exp: Likewise.
2038 * gdb.mi/mi-nsmoribund.exp: Likewise.
2039 * gdb.mi/mi-nsthrexec.exp: Likewise.
2040
20412010-06-11 Stan Shebs <stan@codesourcery.com>
2042
2043 * gdb.base/permissions.exp: New file.
2044
20452010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2046
2047 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2048 does not support ELF executable class.
2049
20502010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2051
2052 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2053
20542010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2057 (runto): Catch "The target does not support running in non-stop mode.".
2058
20592010-06-11 Michael Snyder <msnyder@vmware.com>
2060
2061 * gdb.base/setshow.exp (set language asm): Don't use
2062 gdb_test_no_output, fails on some targets.
2063
20642010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2065
2066 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2067 * gdb.cp/pr9167.exp: Likewise.
2068
20692010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2070
2071 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2072
20732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2074
2075 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2076
20772010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2078
2079 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2080
20812010-06-11 Tom Tromey <tromey@redhat.com>
2082
2083 PR gdb/9977, PR exp/11636::
2084 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2085 (pieces_test_f6): Update expected output.
2086
20872010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2088
2089 * gdb.base/moribund-step.exp: New.
2090
20912010-06-08 Michael Snyder <msnyder@vmware.com>
2092
2093 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2094 * gdb.ada/boolean_expr.exp:
2095 * gdb.ada/frame_args.exp: Ditto.
2096 * gdb.ada/lang_switch.exp: Ditto.
2097 * gdb.ada/ptype_arith_binop.exp: Ditto.
2098 * gdb.ada/ref_param.exp: Ditto.
2099 * gdb.ada/type_coercion.exp:Ditto.
2100
2101 * gdb.asm/asm-source.exp: Ditto.
2102
2103 * gdb.base/attach.exp: Ditto.
2104 * gdb.base/bitfields2.exp: Ditto.
2105 * gdb.base/call-signal-resume.exp: Ditto.
2106 * gdb.base/callfuncs.exp: Ditto.
2107 * gdb.base/commands.exp: Ditto.
2108 * gdb.base/dbx.exp: Ditto.
2109 * gdb.base/default.exp: Ditto.
2110 * gdb.base/dump.exp: Ditto.
2111 * gdb.base/exprs.exp: Ditto.
2112 * gdb.base/freebpcmd.exp: Ditto.
2113 * gdb.base/interrupt.exp: Ditto.
2114 * gdb.base/list.exp: Ditto.
2115 * gdb.base/long_long.exp: Ditto.
2116 * gdb.base/maint.exp: Ditto.
2117 * gdb.base/ptype.exp: Ditto.
2118 * gdb.base/return.exp: Ditto.
2119 * gdb.base/setshow.exp: Ditto.
2120 * gdb.base/sigbpt.exp: Ditto.
2121 * gdb.base/sigrepeat.exp: Ditto.
2122
2123 * gdb.cp/classes.exp: Ditto.
2124
2125 * gdb.dwarf2/dw2-restore.exp: Ditto.
2126
2127 * gdb.gdb/selftest.exp: Ditto.
2128
2129 * gdb.multi/base.exp: Ditto.
2130 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2131
2132 * gdb.python/py-block.exp: Ditto.
2133 * gdb.python/py-prettyprint.exp: Ditto.
2134 * gdb.python/py-template.exp: Ditto.
2135
2136 * gdb.server/ext-attach.exp: Ditto.
2137 * gdb.server/ext-run.exp: Ditto.
2138 * gdb.server/server-mon.exp: Ditto.
2139
2140 * gdb.threads/fork-thread-pending.exp: Ditto.
2141 * gdb.threads/hand-call-in-threads.exp: Ditto.
2142 * gdb.threads/interrupted-hand-call.exp: Ditto.
2143 * gdb.threads/linux-dp.exp: Ditto.
2144 * gdb.threads/manythreads.exp: Ditto.
2145 * gdb.threads/print-threads.exp: Ditto.
2146 * gdb.threads/pthreads.exp: Ditto.
2147 * gdb.threads/schedlock.exp: Ditto.
2148 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2149 * gdb.threads/threadapply.exp: Ditto.
2150
21512010-06-08 Michael Snyder <msnyder@vmware.com>
2152
2153 * gdb.ada/exec_changed.exp:
2154 Use ".*" instead of "" as wildcard regexp.
2155
2156 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2157 * gdb.base/call-ar-st.exp: Ditto.
2158 * gdb.base/checkpoint.exp: Ditto.
2159 * gdb.base/default.exp: Ditto.
2160 * gdb.base/dump.exp: Ditto.
2161 * gdb.base/ending-run.exp: Ditto.
2162 * gdb.base/fileio.exp: Ditto.
2163 * gdb.base/miscexprs.exp: Ditto.
2164 * gdb.base/pointers.exp: Ditto.
2165 * gdb.base/readline.exp: Ditto.
2166 * gdb.base/reread.exp: Ditto.
2167 * gdb.base/restore.exp: Ditto.
2168 * gdb.base/shlib-call.exp: Ditto.
2169 * gdb.base/valgrind-db-attach.exp: Ditto.
2170 * gdb.base/volatile.exp: Ditto.
2171 * gdb.base/watchpoints.exp: Ditto.
2172
2173 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2174
2175 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2176 * gdb.python/py-value.exp: Ditto.
2177
2178 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2179 * gdb.trace/circ.exp: Ditto.
2180 * gdb.trace/collection.exp: Ditto.
2181 * gdb.trace/packetlen.exp: Ditto.
2182 * gdb.trace/passc-dyn.exp: Ditto.
2183 * gdb.trace/report.exp: Ditto.
2184 * gdb.trace/tfile.exp: Ditto.
2185 * gdb.trace/tfind.exp: Ditto.
2186 * gdb.trace/while-dyn.exp: Ditto.
2187
21882010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2189
2190 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2191
21922010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2193
2194 Test PR 10640.
2195 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2196
21972010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2198
2199 * gdb.cp/koenig.exp: Test for ADL operators.
2200 * gdb.cp/koenig.cc: Added ADL operators.
2201 * gdb.cp/operator.exp: New test.
2202 * gdb.cp/operator.cc: New test.
2203
22042010-06-04 Michael Snyder <msnyder@vmware.com>
2205
2206 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2207 * gdb.base/pending.exp: Ditto.
2208
2209 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2210
22112010-06-04 Doug Evans <dje@google.com>
2212
2213 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2214 disabled printers.
2215 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2216 (enable_lookup_function): New function.
2217
22182010-06-04 Tom Tromey <tromey@redhat.com>
2219
2220 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2221 of hash and id.
2222
22232010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2226 newline.
2227 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2228 (empty verbose non-noisy clear, empty verbose noisy clear)
2229 (empty non-verbose noisy clear): Likewise.
2230
22312010-06-03 Michael Snyder <msnyder@vmware.com>
2232
2233 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2234 * gdb.base/display.exp: Ditto.
2235 * gdb.base/find.exp: Ditto.
2236 * gdb.base/ifelse.exp: Ditto.
2237 * gdb.base/multi-forks.exp: Ditto.
2238 * gdb.base/recurse.exp: Ditto.
2239 * gdb.base/setshow.exp: Ditto.
2240 * gdb.base/value-double-free.exp: Ditto.
2241 * gdb.base/watch-vfork.exp: Ditto.
2242 * gdb.base/watch_thread_num.exp: Ditto.
2243 * gdb.base/watchpoint-solib.exp: Ditto.
2244 * gdb.base/watchpoint.exp: Ditto.
2245 * gdb.base/watchpoints.exp: Ditto.
2246
2247 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2248 * gdb.cp/overload.exp: Ditto.
2249 * gdb.cp/virtfunc.exp: Ditto.
2250
2251 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2252
2253 * gdb.reverse/watch-precsave.exp:
2254 Replace gdb_test with gdb_test_no_output.
2255
2256 * gdb.threads/attach-into-signal.exp:
2257 Replace gdb_test with gdb_test_no_output.
2258 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2259 * gdb.threads/watchthreads.exp: Ditto.
2260 * gdb.threads/watchthreads2.exp: Ditto.
2261
2262 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2263 * gdb.trace/tfind.exp: Ditto.
2264
22652010-06-03 Joel Brobecker <brobecker@adacore.com>
2266
2267 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2268 successful test if message is the empty string.
2269
22702010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2271
2272 * gdb.fortran/module.exp (stopped language detection): New test.
2273
22742010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 Support DW_TAG_module as separate namespaces.
2277 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2278 gdb.fortran/library-module-lib.f90: New.
2279 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2280 (print i): Remove.
2281 (continue to breakpoint: i-is-1, print var_i value 1)
2282 (continue to breakpoint: i-is-2, print var_i value 2)
2283 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2284 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2285 (complete `modmany, complete `modmany`, complete `modmany`var)
2286 (show language, setting breakpoint at module): New tests.
2287 * gdb.fortran/module.f90 (module mod): Remove.
2288 (module mod1, module mod2, module modmany, subroutine sub1)
2289 (subroutine sub2, program module): New.
2290
22912010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2292
2293 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2294 (print value of rUC, print value of rI, print value of UI): ... here.
2295 * gdb.cp/anon-union.exp (pass): Rename to ...
2296 (print z 2): ... here.
2297
22982010-06-02 Michael Snyder <msnyder@vmware.com>
2299
2300 * gdb.trace/actions.exp: Use gdb_test_no_output.
2301 * gdb.trace/circ.exp: Ditto.
2302 * gdb.trace/packetlen.exp: Ditto.
2303 * gdb.trace/save-trace.exp: Ditto.
2304 * gdb.trace/tracecmd.exp: Ditto.
2305 * gdb.trace/tsv.exp: Ditto.
2306
2307 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2308 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2309 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2310 * gdb.threads/manythreads.exp: Ditto.
2311 * gdb.threads/print-threads.exp: Ditto.
2312 * gdb.threads/pthreads.exp: Ditto.
2313 * gdb.threads/schedlock.exp: Ditto.
2314 * gdb.threads/staticthreads.exp: Ditto.
2315 * gdb.threads/thread-specific.exp: Ditto.
2316 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2317 * gdb.threads/threadapply.exp: Ditto.
2318 * gdb.threads/watchthreads.exp: Ditto.
2319 * gdb.threads/watchthreads2.exp: Ditto.
2320
2321 * gdb.python/py-block.exp: Use gdb_test_no_output.
2322 * gdb.python/py-prettyprint.exp: Ditto.
2323 * gdb.python/py-template.exp: Ditto.
2324 * gdb.python/py-value.exp: Ditto.
2325
2326 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2327 * gdb.reverse/watch-reverse.exp: Ditto.
2328
2329 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2330 * gdb.server/ext-run.exp: Ditto.
2331
2332 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2333 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2334 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2335 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2336 * gdb.dwarf2/dw2-producer.exp: Ditto.
2337 * gdb.dwarf2/mac-fileno.exp: Ditto.
2338
2339 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2340 * gdb.gdb/selftest.exp: Ditto.
2341
2342 * gdb.multi/base.exp: Use gdb_test_no_output.
2343
2344 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2345
23462010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2347
2348 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2349
23502010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2351
2352 * gdb.cp/class2.exp: Use gdb_test_no_output.
2353 * gdb.cp/classes.exp: Ditto.
2354 * gdb.cp/extern-c.exp: Ditto.
2355 * gdb.cp/inherit.exp: Ditto.
2356 * gdb.cp/maint.exp: Ditto.
2357 * gdb.cp/mb-inline.exp: Ditto.
2358 * gdb.cp/mb-templates.exp: Ditto.
2359 * gdb.cp/method2.exp: Ditto.
2360 * gdb.cp/misc.exp: Ditto.
2361 * gdb.cp/ovldbreak.exp: Ditto.
2362 * gdb.cp/punctuator.exp: Ditto.
2363 * gdb.cp/templates.exp: Ditto.
2364 * gdb.cp/virtbase.exp: Ditto.
2365
2366 * gdb.threads/attach-stopped.exp:
2367 Replace uses of send_gdb / gdb_expect.
2368 * gdb.threads/attachstop-mt.exp:
2369 Replace uses of send_gdb / gdb_expect.
2370 * gdb.threads/gcore-thread.exp:
2371 Replace uses of send_gdb / gdb_expect.
2372 * gdb.threads/hand-call-in-threads.exp:
2373 Replace uses of send_gdb / gdb_expect.
2374 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2375 * gdb.threads/print-threads.exp:
2376 Replace uses of send_gdb / gdb_expect.
2377 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2378 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2379 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2380
2381 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2382 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2383 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2384 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2385 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2386 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2387 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2388 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2389 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2390 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2391 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2392
23932010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2396
23972010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2398
2399 * gdb.cp/koenig.exp: Added new test case.
2400 * gdb.cp/koenig.cc: Ditto.
2401
24022010-06-01 Michael Snyder <msnyder@vmware.com>
2403
2404 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2405 * gdb.base/arrayidx.exp: Ditto.
2406 * gdb.base/attach.exp: Ditto.
2407 * gdb.base/auxv.exp: Ditto.
2408 * gdb.base/bigcre.exp: Ditto.
2409 * gdb.base/break-always.exp: Ditto.
2410 * gdb.base/break-interp.exp: Ditto.
2411 * gdb.base/break.exp: Ditto.
2412 * gdb.base/breakpoint-shadow.exp: Ditto.
2413 * gdb.base/call-ar-st.exp: Ditto.
2414 * gdb.base/call-sc.exp: Ditto.
2415 * gdb.base/call-signal-resume.exp: Ditto.
2416 * gdb.base/callfuncs.exp: Ditto.
2417 * gdb.base/catch-syscall.exp: Ditto.
2418 * gdb.base/charset.exp: Ditto.
2419 * gdb.base/code-expr.exp: Ditto.
2420 * gdb.base/commands.exp: Ditto.
2421 * gdb.base/cond-expr.exp: Ditto.
2422 * gdb.base/condbreak.exp: Ditto.
2423 * gdb.base/cursal.exp: Ditto.
2424 * gdb.base/cvexpr.exp: Ditto.
2425 * gdb.base/default.exp: Ditto.
2426 * gdb.base/del.exp: Ditto.
2427 * gdb.base/detach.exp: Ditto.
2428 * gdb.base/display.exp: Ditto.
2429 * gdb.base/ena-dis-br.exp: Ditto.
2430 * gdb.base/eval-skip.exp: Ditto.
2431 * gdb.base/foll-fork.exp: Ditto.
2432 * gdb.base/foll-vfork.exp: Ditto.
2433 * gdb.base/frame-args.exp: Ditto.
2434 * gdb.base/funcargs.exp: Ditto.
2435 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2436 * gdb.base/gdbvars.exp: Ditto.
2437 * gdb.base/help.exp: Ditto.
2438 * gdb.base/ifelse.exp: Ditto.
2439 * gdb.base/included.exp: Ditto.
2440 * gdb.base/list.exp: Ditto.
2441 * gdb.base/macscp.exp: Ditto.
2442 * gdb.base/maint.exp: Ditto.
2443 * gdb.base/multi-fork.exp: Ditto.
2444 * gdb.base/overlays.exp: Ditto.
2445 * gdb.base/page.exp: Ditto.
2446 * gdb.base/pending.exp: Ditto.
2447 * gdb.base/pointers.exp: Ditto.
2448 * gdb.base/pr11022.exp: Ditto.
2449 * gdb.base/prelink.exp: Ditto.
2450 * gdb.base/printcmds.exp: Ditto.
2451 * gdb.base/psymtab.exp: Ditto.
2452 * gdb.base/randomize.exp: Ditto.
2453 * gdb.base/relational.exp: Ditto.
2454 * gdb.base/relocate.exp: Ditto.
2455 * gdb.base/remote.exp: Ditto.
2456 * gdb.base/sepdebug.exp: Ditto.
2457 * gdb.base/set-lang-auto.exp: Ditto.
2458 * gdb.base/setshow.exp: Ditto.
2459 * gdb.base/setvar.exp: Ditto.
2460 * gdb.base/signals.exp: Ditto.
2461 * gdb.base/signull.exp: Ditto.
2462 * gdb.base/sigstep.exp: Ditto.
2463 * gdb.base/sizeof.exp: Ditto.
2464 * gdb.base/solib-disc.exp: Ditto.
2465 * gdb.base/store.exp: Ditto.
2466 * gdb.base/structs.exp: Ditto.
2467 * gdb.base/structs2.exp: Ditto.
2468 * gdb.base/subst.exp: Ditto.
2469 * gdb.base/term.exp: Ditto.
2470 * gdb.base/trace-commands.exp: Ditto.
2471 * gdb.base/unwindonsignal.exp: Ditto.
2472 * gdb.base/valgrind-db-attach.exp: Ditto.
2473 * gdb.base/varargs.exp: Ditto.
2474 * gdb.base/watch-cond.exp: Ditto.
2475 * gdb.base/watch_thread_num.exp: Ditto.
2476 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2477 * gdb.base/watchpoint.exp: Ditto.
2478 * gdb.base/whatis-exp.exp: Ditto.
2479
24802010-06-01 Michael Snyder <msnyder@vmware.com>
2481
2482 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2483 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2484 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2485 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2486 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2487 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2488 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2489 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2490 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2491 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2492 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2493 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2494 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2495 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2496 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2497
24982010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2499
2500 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2501 trailing newline.
2502 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2503 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2504 (p *args): ... here and remove excessive trailing newline.
2505
25062010-05-31 Joel Brobecker <brobecker@adacore.com>
2507
2508 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2509
25102010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2511
2512 Accept the new Linux kernel "t (tracing stop)" string.
2513 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2514 Update comment.
2515 (state_wait) <T (tracing stop)>: New.
2516 (main): Update the state_wait expect string.
2517
25182010-05-28 Pedro Alves <pedro@codesourcery.com>
2519
2520 * limits.c, limits.exp: Delete files.
2521 * Makefile.in (clean mostlyclean): Adjust.
2522 * tracecmd.exp: Adjust.
2523
25242010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2525
2526 * gdb.base/tui-layout.exp: New.
2527
25282010-05-28 Michael Snyder <msnyder@vmware.com>
2529
2530 * gdb.reverse/break-precsave.exp:
2531 Replace uses of send_gdb / gdb_expect.
2532 * gdb.reverse/break-reverse.exp:
2533 Replace uses of send_gdb / gdb_expect.
2534 * gdb.reverse/consecutive-precsave.exp:
2535 Replace uses of send_gdb / gdb_expect.
2536 * gdb.reverse/consecutive-reverse.exp:
2537 Replace uses of send_gdb / gdb_expect.
2538 * gdb.reverse/finish-precsave.exp:
2539 Replace uses of send_gdb / gdb_expect.
2540 * gdb.reverse/finish-reverse.exp:
2541 Replace uses of send_gdb / gdb_expect.
2542 * gdb.reverse/i386-precsave.exp:
2543 Replace uses of send_gdb / gdb_expect.
2544 * gdb.reverse/i386-reverse.exp:
2545 Replace uses of send_gdb / gdb_expect.
2546 * gdb.reverse/i386-sse-reverse.exp:
2547 Replace uses of send_gdb / gdb_expect.
2548 * gdb.reverse/i387-env-reverse.exp:
2549 Replace uses of send_gdb / gdb_expect.
2550 * gdb.reverse/i387-stack-reverse.exp:
2551 Replace uses of send_gdb / gdb_expect.
2552 * gdb.reverse/machinestate-precsave.exp:
2553 Replace uses of send_gdb / gdb_expect.
2554 * gdb.reverse/machinestate.exp:
2555 Replace uses of send_gdb / gdb_expect.
2556 * gdb.reverse/sigall-precsave.exp:
2557 Replace uses of send_gdb / gdb_expect.
2558 * gdb.reverse/sigall-reverse.exp:
2559 Replace uses of send_gdb / gdb_expect.
2560 * gdb.reverse/solib-precsave.exp:
2561 Replace uses of send_gdb / gdb_expect.
2562 * gdb.reverse/solib-reverse.exp:
2563 Replace uses of send_gdb / gdb_expect.
2564 * gdb.reverse/step-precsave.exp:
2565 Replace uses of send_gdb / gdb_expect.
2566 * gdb.reverse/step-reverse.exp:
2567 Replace uses of send_gdb / gdb_expect.
2568 * gdb.reverse/until-precsave.exp:
2569 Replace uses of send_gdb / gdb_expect.
2570 * gdb.reverse/until-reverse.exp:
2571 Replace uses of send_gdb / gdb_expect.
2572 * gdb.reverse/watch-precsave.exp:
2573 Replace uses of send_gdb / gdb_expect.
2574 * gdb.reverse/watch-reverse.exp:
2575 Replace uses of send_gdb / gdb_expect.
2576
25772010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2578
2579 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2580 excessive newline.
2581
25822010-05-27 Michael Snyder <msnyder@vmware.com>
2583
2584 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2585 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2586 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2587 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2588 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2589 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2590 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2591 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2592 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2593 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2594 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2595 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2596 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2597 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2598 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2599 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2600 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2601 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2602 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2603
26042010-05-26 Michael Snyder <msnyder@vmware.com>
2605
2606 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2607 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2608
2609 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2610 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2611 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2612
2613 * gdb.reverse/consecutive-reverse.exp:
2614 Replace uses of send_gdb / gdb_expect.
2615 * gdb.reverse/consecutive-precsave.exp:
2616 Replace uses of send_gdb / gdb_expect.
2617
2618 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2619 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2620 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2621 * gdb.mi/mi-ns-stale-regcache.exp:
2622 Replace uses of send_gdb / gdb_expect.
2623 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2624 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2625 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2626 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2627 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2628 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2629 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2630 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2631 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2632
26332010-05-26 Michael Snyder <msnyder@vmware.com>
2634
2635 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2636
2637 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2638
2639 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2640 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2641 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2642 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2643 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2644 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2645 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2646 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2647 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2648
26492010-05-25 Tom Tromey <tromey@redhat.com>
2650
2651 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2652
26532010-05-25 Tom Tromey <tromey@redhat.com>
2654
2655 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2656 argument order.
2657 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2658 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2659 order.
2660 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2661 order.
2662 * gdb.base/call-sc.exp (setup_kfails): Remove.
2663 (setup_compiler_kfails): Remove.
2664 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2665 argument order.
2666 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2667 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2668 (advancei): Fix setup_kfail argument order.
2669 * gdb.base/radix.exp: Fix setup_kfail argument order.
2670 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2671 order.
2672 * gdb.base/structs.exp (setup_kfails): Remove.
2673 (setup_compiler_kfails): Fix setup_kfail argument order.
2674 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2675 order.
2676 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2677 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2678 setup_kfail argument order.
2679 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2680
26812010-05-25 Tom Tromey <tromey@redhat.com>
2682
2683 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2684
26852010-05-25 Michael Snyder <msnyder@vmware.com>
2686
2687 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2688 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2689 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2690 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2691 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2692 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2693 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2694 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2695 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2696 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2697 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2698 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2699 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2700 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2701 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2702 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2703 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2704 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2705 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2706 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2707 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2708 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2709 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2710 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2711 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2712 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2713 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2714 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2715 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2716 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2717 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2718 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2719 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2720 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2721 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2722 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2723 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2724 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2725 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2726 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2727 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2728 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2729 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2730 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2731 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2732 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2733 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2734 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2735
27362010-05-25 Doug Evans <dje@google.com>
2737
2738 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2739 gdb.string_to_argv.
2740
27412010-05-21 Tom Tromey <tromey@redhat.com>
2742
2743 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2744 Call it.
2745 * gdb.dwarf2/pieces.S: Update.
2746 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2747
27482010-05-21 Tom Tromey <tromey@redhat.com>
2749
2750 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2751 Call it.
2752 * gdb.dwarf2/pieces.c (struct C): New.
2753 (f6): New function.
2754 * gdb.dwarf2/pieces.S: Replace.
2755
27562010-05-21 Tom Tromey <tromey@redhat.com>
2757
2758 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2759 Call it.
2760
27612010-05-21 Tom Tromey <tromey@redhat.com>
2762
2763 * gdb.dwarf2.pieces.exp: New file.
2764 * gdb.dwarf2.pieces.S: New file.
2765 * gdb.dwarf2.pieces.c: New file.
2766
27672010-05-20 Pedro Alves <pedro@codesourcery.com>
2768 Joel Brobecker <brobecker@adacore.com>
2769
2770 * lib/gdb.exp (gdb_test_no_output): New function.
2771 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2772 when testing commands that should produce no output.
2773
27742010-05-17 Joel Brobecker <brobecker@adacore.com>
2775
2776 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2777 parameter that we want to watch being a constant.
2778
27792010-05-17 Joel Brobecker <brobecker@adacore.com>
2780
2781 * gdb.ada/cond_lang: New testcase.
2782
27832010-05-17 Joel Brobecker <brobecker@adacore.com>
2784
2785 * lib/gdb.exp (banned_variables): New variable/constant.
2786 (gdb_init): Add write trace on variables listed in banned_variables.
2787 (gdb_finish): Remove write traces on variables listed in
2788 banned_variables.
2789
27902010-05-17 Joel Brobecker <brobecker@adacore.com>
2791
2792 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2793 * gdb.cp/koenig.exp: Likewise.
2794
27952010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2796
2797 PR python/11482
2798
2799 * gdb.python/py-value.exp (test_value_hash): New function.
2800
28012010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2802
2803 PR exp/11530.
2804 * gdb.base/gdb11530.c: New file.
2805 * gdb.base/gdb11530.exp: New file.
2806
28072010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2808
2809 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2810 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2811
28122010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2813
2814 * gdb.cp/koenig.exp: New test.
2815 * gdb.cp/koenig.cc: New test program.
2816
28172010-05-05 Joel Brobecker <brobecker@adacore.com>
2818
2819 Remove the use of prms_id and bug_id throughout the testsuite.
2820
28212010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2822
2823 PR exp/11349.
2824 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2825 use a reference local variable.
2826
28272010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2828
2829 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2830 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2831 variable different_dir. Move debugfile into a full directory pathname
2832 under DIFFERENT_DIR.
2833 * lib/gdb.exp (separate_debug_filename): Remove.
2834 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2835 variable debug_dir and mkdir of it. Update function comments.
2836
28372010-04-29 Pedro Alves <pedro@codesourcery.com>
2838
2839 PR gdb/11557
2840
2841 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2842 files.
2843
28442010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2845
2846 * gdb.python/py-param.exp: New File.
2847
28482010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2849
2850 * gdb.base/default.exp: Fix "set language" test.
2851
28522010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2853
2854 PR breakpoints/11531.
2855 * gdb.base/gdb11531.c: New file.
2856 * gdb.base/gdb11531.exp: New file.
2857
28582010-04-26 Tom Tromey <tromey@redhat.com>
2859
2860 * gdb.base/completion.exp: Add tests for completion and deprecated
2861 commands.
2862
28632010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2864
2865 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2866 (print /x char_array): Escape curly brackets.
2867
28682010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 Fix deadlock on looped list of loaded shared objects.
2871 * gdb.base/solib-corrupted.exp: New.
2872
28732010-04-23 Doug Evans <dje@google.com>
2874
2875 * gdb.python/py-section-script.c: New file.
2876 * gdb.python/py-section-script.exp: New file.
2877 * gdb.python/py-section-script.py: New file.
2878
28792010-04-20 Chris Moller <cmoller@redhat.com>
2880
2881 PR 10179
2882
2883 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2884 * gdb.base/pr10179-a.c:
2885 * gdb.base/pr10179-b.c:
2886 * gdb.base/pr10179.exp: New files.
2887
28882010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2889
2890 Fix crashes on dangling display expressions.
2891 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2892 is SEP.
2893 (lib_flags): Remove the "debug" keyword.
2894 (libsepdebug): New variable for iterating new loop.
2895 (save_pf_prefix): New variable wrapping the loop.
2896 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2897 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2898
28992010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2900
2901 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2902
29032010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2904
2905 PR stabs/11479.
2906 * gdb.stabs/gdb11479.exp: New file.
2907 * gdb.stabs/gdb11479.c: New file.
2908
29092010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2910
2911 * gdb.base/charset.c (Strin16, String32): New variables.
2912 * gdb.base/charset.exp (gdb_test): Test correct display
2913 of 16 or 32 bit strings.
2914
29152010-04-21 Chris Moller <cmoller@redhat.com>
2916
2917 PR 9167
2918 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2919 * gdb.cp/pr9167.cc: New file.
2920 * gdb.cp/pr9167.exp: New file.
2921
2922
29232010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2924
2925 PR pascal/11492.
2926 * gdb.pascal/gdb11492.pas: New file.
2927 * gdb.pascal/gdb11492.exp: New file.
2928
29292010-04-20 Joel Brobecker <brobecker@adacore.com>
2930
2931 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2932
29332010-04-20 Joel Brobecker <brobecker@adacore.com>
2934
2935 * gdb.ada/dyn_loc: New testcase.
2936
29372010-04-20 Chris Moller <cmoller@redhat.com>
2938
2939 PR 10867
2940
2941 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2942 * gdb.cp/pr10687.cc: New file.
2943 * gdb.cp/pr10687.exp: New file.
2944
2945
29462010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2947 Sergio Durigan Junior <sergiodj@redhat.com>
2948
2949 * gdb.fortran/logical.exp: New testcase.
2950 * gdb.fortran/logical.f90: New file.
2951
29522010-04-19 Doug Evans <dje@google.com>
2953
2954 * gdb.base/help.exp (help source): Update expected output.
2955
29562010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2957
2958 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2959 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2960 gdb_exit and return.
2961 (executable): New variable.
2962 (binfile): Use it.
2963
29642010-04-19 Pedro Alves <pedro@codesourcery.com>
2965
2966 PR breakpoints/8554.
2967
2968 * gdb.trace/save-trace.exp: Adjust.
2969
29702010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2971
2972 PR corefiles/11511
2973 * gdb.arch/system-gcore.exp: New.
2974 * gdb.arch/gcore.c: Likewise.
2975
29762010-04-15 Doug Evans <dje@google.com>
2977
2978 * gdb.python/py-progspace.c: New file.
2979 * gdb.python/py-progspace.exp: New file.
2980
2981 * gdb.base/source.exp: Add tests for "source -s".
2982
29832010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2984
2985 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2986 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2987 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2988 * gdb.python/py-mi.exp: New test for to_string returning None.
2989
29902010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2991
2992 * gdb.python/py-breakpoint.c: Make result global.
2993
29942010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2995
2996 Fix non-GNU make compatibility.
2997 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2998
29992010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3000
3001 * gdb.python/py-breakpoint.exp: New File.
3002 * gdb.python/py-breakpoint.C: Ditto.
3003
30042010-04-08 Stan Shebs <stan@codesourcery.com>
3005
3006 * gdb.trace/actions.exp: Clear default-collect.
3007 * gdb.trace/save-trace.exp: Clear default-collect.
3008
30092010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3010
3011 * gdb.python/py-value: Add null string variable.
3012 (test_lazy_string): Test zero length, NULL address lazy
3013 strings.
3014
30152010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * gdb.arch/i386-avx.c: New.
3018 * gdb.arch/i386-avx.exp: Likewise.
3019
3020 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3021
30222010-04-06 Doug Evans <dje@google.com>
3023
3024 * gdb.base/source-test.gdb: New file.
3025 * gdb.base/source.exp: Test source -v.
3026
30272010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3028
3029 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3030
30312010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3032
3033 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3034 within one line, unless it is followed by a double quote.
3035 * gdb.stabs/hppa.sed: Idem.
3036 * gdb.stabs/weird.def: Add char and String constants
3037 * gdb.stabs/weird.exp: Check for correct parsing of
3038 char and string constants.
3039 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3040 in .stabs to .stabx substitution.
3041
30422010-04-05 Stan Shebs <stan@codesourcery.com>
3043
3044 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3045 constant global.
3046 * gdb.trace/tfile.exp: Try to print them.
3047
30482010-04-04 Stan Shebs <stan@codesourcery.com>
3049
3050 * gdb.base/completion.exp: Update for new "info watchpoints".
3051 * gdb.base/default.exp: Ditto.
3052 * gdb.base/help.exp: Ditto.
3053 * gdb.base/watchpoint.exp: Ditto.
3054 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3055
30562010-04-04 Stan Shebs <stan@codesourcery.com>
3057
3058 * gdb.trace/tfile.exp: Sharpen tfind test.
3059
30602010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3061
3062 * gdb.base/break-entry.exp: New.
3063
30642010-04-02 Hui Zhu <teawater@gmail.com>
3065 Michael Snyder <msnyder@vmware.com>
3066
3067 * gdb.reverse/i386-sse-reverse.exp: New file.
3068 * gdb.reverse/i386-sse-reverse.c: New file.
3069
30702010-04-02 Pedro Alves <pedro@codesourcery.com>
3071
3072 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3073
30742010-04-01 Stan Shebs <stan@codesourcery.com>
3075
3076 * gdb.trace/actions.exp: Tweak expected output.
3077 * gdb.trace/while-stepping.exp: Tweak expected output.
3078
30792010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3080
3081 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3082
30832010-04-01 Pedro Alves <pedro@codesourcery.com>
3084
3085 * gdb.base/commands.exp: Adjust.
3086 * gdb.cp/extern-c.exp: Adjust.
3087
30882010-04-01 Pedro Alves <pedro@codesourcery.com>
3089
3090 * gdb.trace/collection.c (local_test_func): Define a local struct,
3091 and instanciate it.
3092
30932010-04-01 Pedro Alves <pedro@codesourcery.com>
3094
3095 * gdb.trace/collection.exp (gdb_collect_args_test)
3096 (gdb_collect_argarray_test): XFAIL the tests that assume the
3097 argarray argument's elements are collected.
3098
30992010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3100
3101 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3102 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3103
31042010-03-31 Stan Shebs <stan@codesourcery.com>
3105
3106 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3107 and tracepoint conditionals.
3108 (gdb_verify_tracepoints): Delete unused return.
3109
31102010-03-26 Keith Seitz <keiths@redhat.com>
3111
3112 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3113 appear in the output before main.
3114 Remove KFAIL for gdb/2215 aka bz 9320.
3115
31162010-03-30 Doug Evans <dje@google.com>
3117
3118 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3119 by dejagnu.
3120 * gdb.arch/amd64-dword.exp: Ditto.
3121
3122 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3123 match.
3124 (break printf): Ditto.
3125
31262010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3127
3128 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3129 gcc < 4.4.
3130 * gdb.cp/shadow.exp: Ditto.
3131
31322010-03-29 Pedro Alves <pedro@codesourcery.com>
3133
3134 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3135 "tstart" is silent.
3136
31372010-03-29 Pedro Alves <pedro@codesourcery.com>
3138
3139 * gdb.trace/collection.exp (executable): New.
3140 (binfile): Use it.
3141 (fpreg, spreg, pcreg): New.
3142 (test_register): Use gdb_test_multiple. Pass /x to print.
3143 (prepare_for_trace_test): New.
3144 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3145 (gdb_collect_args_test, gdb_collect_argstruct_test)
3146 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3147 prepare_for_trace_test.
3148 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3149 fpreg, spreg and pcreg.
3150 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3151 prepare_for_trace_test.
3152 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3153 try to detect tracing support here. Don't set breakpoints at
3154 `begin' or `end' here.
3155 <global scope>: Use clean_restart. Run to main before checking
3156 for tracing support. Check for for tracing support here.
3157
31582010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3159
3160 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3161 " as $displacement" to "seen displacement message".
3162
31632010-03-28 Pedro Alves <pedro@codesourcery.com>
3164
3165 * gdb.trace/while-dyn.exp (executable): New variable.
3166 (binfile): Use it.
3167 (test_while_stepping): New function. Move most tests here. Call
3168 it once for each of the while-stepping, stepping and ws aliases.
3169
31702010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3171
3172 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3173 that do not provide the tagless_struct type name at all.
3174 (test_print_anon_union): Do not check value of uninitialized
3175 union member. Do not use cp_test_ptype_class, so we can accept
3176 "long" as well as "long int".
3177
31782010-03-26 Pedro Alves <pedro@codesourcery.com>
3179
3180 * gdb.trace/tfile.c (tohex, bin2hex): New.
3181 (write_error_trace_file): Hexify error description.
3182
31832010-03-25 Stan Shebs <stan@codesourcery.com>
3184
3185 * gdb.trace/tfile.c: Generate an additional trace file, improve
3186 portability.
3187 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3188 files in a better way.
3189
31902010-03-25 Keith Seitz <keiths@redhat.com>
3191
3192 * gdb.java/jprint.exp: XFAIL printing of static class members
3193 because of GCC debuginfo problem.
3194
31952010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3196
3197 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3198
31992010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3200
3201 * gdb.base/completion.exp: Allow long instead of long int.
3202 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3203 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3204 variable p.
3205 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3206 * gdb.base/pointers.exp: Allow long instead of long int.
3207 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3208 * gdb.base/step-line.exp: Allow a directory before the source file name.
3209
32102010-03-24 Tom Tromey <tromey@redhat.com>
3211
3212 PR breakpoints/9352:
3213 * gdb.base/default.exp: Update.
3214 * gdb.base/commands.exp: Update.
3215 * gdb.cp/extern-c.exp: Test setting commands on multiple
3216 breakpoints at once.
3217
32182010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3219
3220 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3221 if gdb,nosignals.
3222 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3223 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3224 exited".
3225
32262010-03-24 Stan Shebs <stan@codesourcery.com>
3227
3228 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3229
32302010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3231
3232 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3233 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3234 argument. Handle "short" and "long".
3235 (Top level): Pass overprototyped output for old_fptr and xptr.
3236
32372010-03-23 Pedro Alves <pedro@codesourcery.com>
3238
3239 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3240 format strings and add casts to avoid compiler warnings.
3241
32422010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3243
3244 * lib/trace-support.exp (gdb_trace_setactions):
3245 Don't expect whitespace after ">" prompt.
3246 * gdb.trace/actions.exp: Adjust for output changes.
3247 * gdb.trace/while-stepping.exp: Likewise.
3248
32492010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3250
3251 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3252 and r157645).
3253
32542010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3255
3256 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3257 New.
3258
32592010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3260
3261 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3262 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3263
32642010-03-19 Stan Shebs <stan@codesourcery.com>
3265
3266 * gdb.trace/ax.exp: New file.
3267
32682010-03-19 Doug Evans <dje@google.com>
3269
3270 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3271 output from gcc.
3272
3273 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3274 named /usr/sbin/prelink<foo>.
3275
32762010-03-18 Stan Shebs <stan@codesourcery.com>
3277
3278 * gdb.trace/circ.exp: Test circular-trace-buffer.
3279 * gdb.trace/tfile.exp: Update tstatus test.
3280
32812010-03-18 Joel Brobecker <brobecker@adacore.com>
3282
3283 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3284 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3285
32862010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3287
3288 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3289
32902010-03-18 Pedro Alves <pedro@codesourcery.com>
3291
3292 * gdb.base/default.exp: Adjust the expected output of the finish
3293 and until commands when the inferior is not being run.
3294
32952010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3296
3297 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3298 * gdb.cp/nsusing.exp: Ditto.
3299
33002010-03-15 Tom Tromey <tromey@redhat.com>
3301
3302 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3303 * gdb.cp/userdef.cc (operator==): New function.
3304 (main): New locals mem1, mem2.
3305
33062010-03-15 Jie Zhang <jie@codesourcery.com>
3307
3308 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3309 Declare and use new loadtimeout variable.
3310
33112010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3312
3313 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3314 Use gdb_load later.
3315
33162010-03-14 Pedro Alves <pedro@codesourcery.com>
3317
3318 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3319 literal. Add missing endlines to prints to stderr.
3320
33212010-03-12 Tom Tromey <tromey@redhat.com>
3322
3323 PR c++/9708:
3324 * gdb.cp/m-static.exp: Add regression test.
3325 * gdb.cp/m-static.cc (method): New method.
3326 (main): Call it.
3327
33282010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3329
3330 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3331 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3332
33332010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3334
3335 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3336
33372010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3338
3339 * lib/gdb.exp (skip_stl_tests): New.
3340 (gdb_compile): Symbian needs -ldl.
3341 (shlib_target_file): New.
3342 (shlib_symbol_file): New.
3343 (gdb_load_shlibs): Use shlib_target_file.
3344 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3345 * gdb.cp/exception.exp: Use skip_stl_tests.
3346 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3347 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3348 * gdb.cp/mb-templates.exp: Ditto.
3349 * gdb.base/commands.exp: Relax regexes.
3350 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3351 shlib_target_file and shlib_symbol_file.
3352 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3353 sections.
3354 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3355 * gdb.base/solib-disc.exp: Use
3356 shlib_target_file and shlib_symbol_file.
3357 * gdb.base/unload.exp: Don't skip on symbian. Use
3358 shlib_target_file and shlib_symbol_file.
3359 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3360
33612010-03-12 Pedro Alves <pedro@codesourcery.com>
3362
3363 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3364 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3365 Issue a tfind end before looking for a tracepoint frame.
3366 * gdb.trace/tfind.exp: Adjust tstatus output.
3367 Adjust disassembly output.
3368 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3369
33702010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3371
3372 * gdb.base/break-interp.exp: Create new displacement parameter value
3373 for the test_ld calls.
3374 (reach): New parameter displacement, verify its content. New push of
3375 pf_prefix "reach-$func:". Import global expect_out.
3376 (test_core): New parameter displacement, verify its content. New push
3377 of pf_prefix "core:". New command "set verbose on". Import global
3378 expect_out.
3379 (test_attach): New parameter displacement, verify its content. New
3380 push of pf_prefix "attach:". New command "set verbose on". Import
3381 global expect_out.
3382 (test_ld): New parameter displacement, pass it to the reach, test_core
3383 and test_attach calls and verify its content in the "ld.so exit" test.
3384 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3385 (prelink): Update expected text, use gdb_test.
3386
33872010-03-10 Doug Evans <dje@google.com>
3388
3389 * gdb.base/checkpoint.exp: Fix comment.
3390 Lengthen timeout while doing >600 checkpoints test.
3391 Rename duplicate "kill all one" test to keep test names unique.
3392
33932010-03-10 Pedro Alves <pedro@codesourcery.com>
3394
3395 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3396
33972010-03-08 Keith Seitz <keiths@redhat.com>
3398
3399 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3400 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3401 (dm_type_long): New function.
3402 (dm_type_unsigned_short): New function.
3403 (dm_type_unsigned_long): New function.
3404 (myint): New typedef.
3405 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3406 long, unsigned shor and long, operator char*, and typedef.
3407 (test_lookup_operator_functions): Add operator char* test.
3408 (test_paddr_operator_functions): Likewise.
3409 (test_paddr_overloaded_functions): Use probe values for
3410 short, long, and unsigned short and long.
3411 (test_paddr_hairy_functions): If the demangler probe detected
3412 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3413 demangler.
3414 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3415 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3416 and "print null_pmf".
3417 Add test "ptype a.*pmf".
3418 * gdb.cp/overload.exp: Allow optional "int" to appear with
3419 "short" and "long".
3420 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3421 long expect value for men_overload1arg.
3422 Allow "int" to appear with "short" and "long".
3423 When testing "info break", add argument for main (void).
3424 Also allow "int" to appear with "short" and "long".
3425 Ditto with "unsigned" and "long long".
3426 * gdb.java/jmain.exp: Do not enclose methods names in single
3427 quotes.
3428 * gdb.java/jmisc.exp: Likewise.
3429 * gdb.java/jprint.exp: Likewise.
3430 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3431
3432 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3433 * gdb.cp/exception.exp (backtrace after first throw)
3434 (backtrace after second throw): Allow a namespace before __cxa_throw.
3435 (backtrace after first catch, backtrace after second catch): Allow
3436 a namespace before __cxa_begin_catch.
3437
3438 * gdb.cp/cpexprs.exp: New file.
3439 * gdb.cp/cpexprs.cc: New file.
3440
3441 From Daniel Jacobowitz <dan@codesourcery.com>
3442 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3443 to use string_to_regexp.
3444 (ctor, dtor): New functions. Use them to match constructor
3445 and destructor function types.
3446 (Top level): Use runto_main.
3447
34482010-03-05 Tom Tromey <tromey@redhat.com>
3449
3450 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3451 gdb.target_charset.
3452 (pp_ns.to_string): Likewise.
3453
34542010-03-04 Keith Seitz <keiths@redhat.com>
3455
3456 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3457 can be quoted. Test that both the filename and function/line
3458 portions can be quoted at the same time.
3459
34602010-03-04 Pedro Alves <pedro@codesourcery.com>
3461
3462 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3463
34642010-03-03 Doug Evans <dje@google.com>
3465
3466 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3467 libc contains libpthread.
3468
3469 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3470 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3471 of gdb_compile. Add another pattern to match android backtrace.
3472
34732010-03-03 Tom Tromey <tromey@redhat.com>
3474
3475 PR gdb/11345:
3476 * gdb.base/printcmds.exp (test_printf): Add test.
3477
34782010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * gdb.arch/amd64-byte.exp: New.
3481 * gdb.arch/amd64-dword.exp: Likewise.
3482 * gdb.arch/amd64-pseudo.c: Likewise.
3483 * gdb.arch/amd64-word.exp: Likewise.
3484 * gdb.arch/i386-byte.exp: Likewise.
3485 * gdb.arch/i386-pseudo.c: Likewise.
3486 * gdb.arch/i386-word.exp: Likewise.
3487
34882010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3489
3490 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3491 types. Add structreg, bitfields, and flags registers.
3492 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3493 registers.
3494
34952010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3496
3497 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3498 (load_description): Set architecture if defined.
3499
35002010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3501
3502 * gdb.python/py-frame.exp: Add read_var block tests.
3503 * gdb.python/py-frame.c (block): New function.
3504
35052010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3506 Daniel Jacobowitz <dan@codesourcery.com>
3507
3508 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3509
35102010-02-25 David S. Miller <davem@davemloft.net>
3511
3512 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3513 fix logic for setting all_syscalls_numbers.
3514
35152010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3516
3517 * Makefile.in: Add py-block and py-symbol.
3518 * gdb.python/py-symbol.exp: New File.
3519 * gdb.python/py-symtab.exp: New File.
3520 * gdb.python/py-block.exp: New File.
3521 * gdb.python/py-symbol.c: New File.
3522 * gdb.python/py-block.c: New File.
3523
35242010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3525
3526 PR python/11314
3527 * lib/gdb.exp (skip_python_tests): New function.
3528 * gdb.python/py-cmd.exp: Use skip_python_tests.
3529 * gdb.python/py-frame.exp: Likewise.
3530 * gdb.python/py-function.exp: Likewise.
3531 * gdb.python/py-prettyprint.exp: Likewise.
3532 * gdb.python/py-template.exp: Likewise.
3533 * gdb.python/py-type.exp: Likewise.
3534 * gdb.python/py-value.exp: Likewise.
3535
35362010-02-22 Pedro Alves <pedro@codesourcery.com>
3537
3538 PR9605
3539
3540 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3541
35422010-02-19 Tom Tromey <tromey@redhat.com>
3543
3544 PR c++/8693, PR c++/9496:
3545 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3546 regression tests.
3547
35482010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3549
3550 Fix compatibility with m68k as.
3551 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3552 Use only /* comments */.
3553
35542010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3555
3556 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3557 * configure: Regenerate.
3558
35592010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3560
3561 * gdb.python/py-type.exp: Check for Python support.
3562
35632010-02-17 Pedro Alves <pedro@codesourcery.com>
3564
3565 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3566 `regsub' syntax available.
3567
35682010-02-17 Pedro Alves <pedro@codesourcery.com>
3569
3570 * gdb.base/shmain.c (main): Remove printf call.
3571 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3572 * gdb.base/unload.c (main): Make format of fprintf a string
3573 literal. Add missing endlines to prints to stderr.
3574 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3575
35762010-02-17 Tom Tromey <tromey@redhat.com>
3577
3578 * gdb.java/jprint.java (jprint.props): New field.
3579 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3580
35812010-02-17 Pedro Alves <pedro@codesourcery.com>
3582
3583 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3584 available.
3585
35862010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3587
3588 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3589 creation to support remote host testing.
3590
35912010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3592
3593 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3594 Recognize "command not found".
3595
35962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3597
3598 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3599 single-stepping.
3600
36012010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3602
3603 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3604 if arguments are not supported.
3605
36062010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3607
3608 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3609 be const or non-const.
3610
36112010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3612
3613 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3614 mi_send_resuming_command to send -exec-continue.
3615
36162010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3617
3618 * gdb.base/list.exp (test_list_filename_and_function): Add test
3619 with single quotes.
3620 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3621 matching.
3622 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3623 Add KFAIL'd tests for PR gdb/11289.
3624
36252010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3626
3627 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3628
36292010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3630
3631 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3632 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3633 a temporary directory.
3634
36352010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3636
3637 * gdb.base/charset.exp: Use a single regular expression to match
3638 show host-charset and show target-charset output.
3639
36402010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3641
3642 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3643 "Illegal process-id" expect string more exact.
3644 (attach to digits-starting nonsense is prohibited): New.
3645
36462010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3647
3648 * gdb.base/prelink.exp (set verbose on): New.
3649
36502010-02-12 Tomas Holmberg <th@virtutech.com>
3651
3652 * mi-reverse.exp: New file. Test for reverse option to the
3653 following MI commands: exec-continue, exec-finish, exec-next,
3654 exec-step, exec-next-instruction, exec-step-instruction.
3655
36562010-02-09 Joel Brobecker <brobecker@adacore.com>
3657
3658 * gdb.ada/ptype_tagged_param: New testcase.
3659
36602010-02-08 Tom Tromey <tromey@redhat.com>
3661
3662 PR c++/8017:
3663 * gdb.cp/overload.exp: Add tests.
3664 * gdb.cp/overload.cc (struct K): New.
3665 (namespace N): New.
3666 (main): Call new functions.
3667 (K::staticoverload): Define.
3668
36692010-02-08 Chris Moller <moller@mollerware.com>
3670
3671 PR gdb/10728
3672 * gdb.cp/pr10728-x.h: New file.
3673 * gdb.cp/pr10728-x.cc: New file.
3674 * gdb.cp/pr10728-y.cc: New file.
3675 * gdb.cp/pr10728.exp: New file.
3676 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3677
36782010-02-08 Chris Moller <moller@mollerware.com>
3679
3680 PR gdb/9067
3681 * gdb.cp/pr9067.exp: New
3682 * gdb.cp/pr9067.cc: New
3683 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3684
36852010-02-08 Joel Brobecker <brobecker@adacore.com>
3686
3687 * lib/gdb.exp (gdb_test_timeout): New global variable.
3688 Set it to timeout if not already set.
3689 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3690
36912010-02-05 Doug Evans <dje@google.com>
3692
3693 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3694 user.
3695
36962010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3697
3698 PR c++/7935:
3699 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3700
37012010-02-04 Tom Tromey <tromey@redhat.com>
3702
3703 * gdb.cp/virtbase.exp: Make test case names unique.
3704
37052010-02-02 Tom Tromey <tromey@redhat.com>
3706
3707 * gdb.cp/virtbase.exp: Add regression tests.
3708 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3709 (main): Instantiate RHC.
3710
37112010-02-02 Tom Tromey <tromey@redhat.com>
3712
3713 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3714 type-printing change.
3715
37162010-02-02 Tom Tromey <tromey@redhat.com>
3717
3718 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3719 * gdb.cp/virtbase.cc: New file.
3720 * gdb.cp/virtbase.exp: New file.
3721 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3722
37232010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3724
3725 PR libc/11214:
3726 * gdb.threads/current-lwp-dead.c: Include features.h.
3727 (HAS_NOMMU): New.
3728 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3729
37302010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 * gdb.base/symbol-without-target_section.exp,
3733 gdb.base/symbol-without-target_section.c: New.
3734
37352010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3736
3737 * gdb.base/bigcore.exp: Reset increased timeout.
3738 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3739
37402010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3741
3742 * gdb.base/gcore.exp (capture_command_output): Use
3743 gdb_test_multiple.
3744
37452010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3746
3747 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3748 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3749 (Top level): Call it.
3750
37512010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3752
3753 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3754
37552010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3756
3757 * gdb.base/call-strs.exp, gdb.base/default.exp,
3758 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3759 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3760 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3761 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3762 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3763 * gdb.base/ending-run.exp: Correct restore of timeout.
3764 * gdb.base/page.exp: Remove unnecessary timeout setting.
3765
37662010-01-29 Joel Brobecker <brobecker@adacore.com>
3767
3768 * gdb.ada/rec_return: New testcase.
3769
37702010-01-29 Joel Brobecker <brobecker@adacore.com>
3771
3772 * gdb.ada/call_pn: New testcase.
3773
37742010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3775
3776 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3777 (Top level): Use it to resume.
3778 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3779 the Thumb mode displaced stepping error as unsupported.
3780
37812010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3782
3783 * gdb.cp/nsusing.exp: Added more tests.
3784 * gdb.cp/nsrecurs.exp: Ditto.
3785 * gdb.cp/nsusing.cc: Added test functions.
3786 * gdb.cp/nsrecurs.cc: Ditto.
3787
37882010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3789
3790 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3791 absolute directory pathnames in gdb.sum file.
3792
37932010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3794
3795 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3796 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3797
37982010-01-26 Tom Tromey <tromey@redhat.com>
3799
3800 PR exp/7643:
3801 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3802 setup_kfail.
3803
38042010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3805
3806 * gdb.cp/nsrecurs.exp: New test.
3807 * gdb.cp/nsrecurs.cc: New test program.
3808 * gdb.cp/nsstress.exp: New test.
3809 * gdb.cp/nsstress.cc: New test program.
3810 * gdb.cp/nsdecl.exp: New test.
3811 * gdb.cp/nsdecl.cc: New test program.
3812
38132010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3814
3815 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3816 imported into file scope.
3817 Marked test as xfail.
3818 * gdb.cp/namespace-using.cc (marker5): New function.
3819 * gdb.cp/shadow.exp: New test.
3820 * gdb.cp/shadow.cc: New test program.
3821 * gdb.cp/nsimport.exp: New test.
3822 * gdb.cp/nsimport.cc: New test program.
3823
38242010-01-25 Tom Tromey <tromey@redhat.com>
3825
3826 PR gdb/11049:
3827 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3828 with "set print null-stop on".
3829
38302010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3831
3832 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3833 Adjust it for DISASSEMBLY_OMIT_FNAME.
3834
38352010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 PR symtab/11199:
3838 * gdb.dwarf2/member-ptr-forwardref.exp,
3839 gdb.dwarf2/member-ptr-forwardref.S: New.
3840
38412010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3842
3843 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3844 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3845 thread1_tid_mutex. Remove gdbstop_mutex handling.
3846 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3847 thread2_tid_mutex. Remove gdbstop_mutex handling.
3848 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3849 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3850 pthread_cond_wait conditionalizations by while loops.
3851
38522010-01-20 Tom Tromey <tromey@redhat.com>
3853
3854 PR backtrace/10770:
3855 * gdb.dwarf2/pr10770.exp: New file.
3856 * gdb.dwarf2/pr10770.c: New file.
3857 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3858
38592010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3860
3861 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3862 that target was removed, and the test always runs native anyway.
3863
38642010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3865
3866 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3867 gdb.base/watchpoint-cond-gone-stripped.c: New.
3868
38692010-01-19 Tom Tromey <tromey@redhat.com>
3870
3871 PR c++/8000:
3872 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3873 existing tests.
3874 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3875 (main): Use AAA::SomeEnum.
3876
38772010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3878
3879 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3880 (test_ignore_count): Declare line_callme_body global.
3881 (run to breakpoint with ignore count): Use line_callme_body.
3882 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3883 (set line_main_hello, set line_main_return): Reindent.
3884 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3885 New.
3886 (continue to callee4): Use line_callee4_body.
3887 (check *stopped from CLI command): Use line_callee4_next.
3888 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3889 (set line_main_hello, set line_main_return): Reindent.
3890 (set line_callee4_head, set line_callee4_body): New.
3891 (continue to callee4): Use line_callee4_body.
3892
38932010-01-18 Tom Tromey <tromey@redhat.com>
3894
3895 PR c++/9680:
3896 * gdb.cp/casts.cc: Add new classes and variables.
3897 * gdb.cp/casts.exp: Test new operators.
3898
38992010-01-18 Tom Tromey <tromey@redhat.com>
3900 Thiago Jung Bauermann <bauerman@br.ibm.com>
3901
3902 * gdb.python/source2.py: New file.
3903 * gdb.python/source1: New file.
3904 * gdb.python/python.exp: Test "source" command.
3905
39062010-01-15 Stan Shebs <stan@codesourcery.com>
3907
3908 * gdb.trace/tfile.c: New file.
3909 * gdb.trace/tfile.exp: New file.
3910
39112010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3912
3913 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3914
39152010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3916
3917 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3918
39192010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3920
3921 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3922 (libfunc): New parameter action. Implement also selectable "sleep".
3923 * gdb.base/break-interp-main.c: Include assert.h.
3924 (libfunc): New parameter action.
3925 (main): New parameters argc and argv. Assert argc. Pass argv.
3926 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3927 (test_attach): New proc.
3928 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3929 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3930
39312010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3932
3933 * gdb.base/break-interp.exp (test_core): New proc.
3934 (test_ld): Call it.
3935
39362010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3937
3938 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3939 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3940 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3941 and gdb_compile_shlib. Use new -Wl compiler options.
3942 (dl bt, main bt): New tests.
3943
39442010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3945
3946 Support PIEs with no symfile_objfile.
3947 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3948 (test_ld): New parameter trynosym.
3949 (test_ld <$trynosym>): New block.
3950
39512010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3952
3953 * gdb.base/break-interp.exp: New file.
3954
39552010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3956
3957 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3958 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3959 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3960 test.
3961 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3962 * gdb.python/py-mi.exp: Add lazy string test.
3963
39642010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3965
3966 * lib/mi-support.exp (mi_check_thread_states): Handle
3967 core number in thread listing.
3968
39692010-01-12 Joel Brobecker <brobecker@adacore.com>
3970
3971 * gdb.base/maint.exp: Adjust the expected output for the
3972 "maint print type" test. Use gdb_test_multiple instead of
3973 gdb_sent/gdb_expect.
3974
39752010-01-11 Doug Evans <dje@google.com>
3976
3977 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3978 from gdbserver_download. All callers updated.
3979
3980 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3981
39822010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3983
3984 Implement binary numbers parsing.
3985 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3986 (test_integer_literals_rejected): New binary tests.
3987
39882010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3989
3990 * gdb.cell/configure: Regenerate.
3991
39922010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3993
3994 * gdb.base/corefile.exp: Move the core finding block out and call it as
3995 core_find, new variable $corefile, replace corefile by $corefile and
3996 [file tail $corefile] for usage vs. test names resp.
3997 * lib/gdb.exp (core_find): Move it as a new function here. New
3998 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3999 $destcore. Return "" on error.
4000
40012010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4002
4003 Workaround PR binutils/10802.
4004 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4005 (twice).
4006
40072010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4008
4009 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4010
40112010-01-08 Joel Brobecker <brobecker@adacore.com>
4012
4013 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4014 call, to avoid interruption.
4015
40162010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4017
4018 * gdb.stabs/weird.def (args93): New.
4019
40202010-01-07 Doug Evans <dje@google.com>
4021
4022 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4023
40242010-01-07 Tom Tromey <tromey@redhat.com>
4025
4026 * gdb.base/source.exp: Use correct line number.
4027
40282010-01-05 Stan Shebs <stan@codesourcery.com>
4029
4030 * gdb.trace/tracecmd.exp: Test ftrace.
4031
40322010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4033
4034 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4035
40362010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4037
4038 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4039 "uint_for_mi_testing".
4040
40412010-01-01 Joel Brobecker <brobecker@adacore.com>
4042
4043 Test indented comment in file being sourced.
4044 * gdb.base/commands.exp: Test indented comment in file being sourced.
4045
40462010-01-01 Joel Brobecker <brobecker@adacore.com>
4047
4048 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4049 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4050 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4051 notice.
4052
40532010-01-01 Joel Brobecker <brobecker@adacore.com>
4054
4055 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4056 notice.
4057
40582010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4059
4060 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4061 missing $after_stopped and comma (,) expectation.
4062
40632009-12-31 Stan Shebs <stan@codesourcery.com>
4064
4065 * gdb.trace/actions.exp: Test teval action.
4066
40672009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4068
4069 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4070 (top level): Call test_watchpoint_in_big_blob.
4071 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4072 watchpoints.
4073 (func3): Write to buf.
4074
40752009-12-29 Stan Shebs <stan@codesourcery.com>
4076
4077 * gdb.trace/actions.exp: Test default-collect.
4078
40792009-12-28 Stan Shebs <stan@codesourcery.com>
4080
4081 * gdb.trace/tsv.exp: New file.
4082 * gdb.base/completion.exp: Update ambiguous info output.
4083
40842009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4085
4086 * gdb.base/find.c (main): Reference search buffers.
4087 * gdb.base/included.c (main): Reference integer.
4088 * gdb.base/ptype.c (charfoo): Declare.
4089 (intfoo): Call charfoo.
4090 * gdb.base/scope0.c (useitp): New function.
4091 (usestatics): Use useitp.
4092 (useit): Add a type for val.
4093 * gdb.base/scope1.c (useit1): Take a pointer argument.
4094 (usestatics1): Update calls to useit1.
4095 * gdb.cp/call-c.cc: Declare foo.
4096 (main): Call foo.
4097 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4098 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4099 (main): Call C::ensureRefs and ensureOtherRefs.
4100 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4101 variables.
4102 (ensureOtherRefs): New function.
4103 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4104 * gdb.cp/templates.cc (main): Call t5i.value.
4105
41062009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4107
4108 Fix compatibility with G++-4.5.
4109 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4110 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4111 (uncaught return): Remove.
4112
41132009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4114 Phil Muldoon <pmuldoon@redhat.com>
4115
4116 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4117 (bp_location13, bp_location14, bp_location17, bp_location18)
4118 (marker3_proto, marker4_proto): New variables.
4119 (breakpoint info): Update output.
4120 (run until breakpoint at marker3, run until breakpoint at marker4): New
4121 tests.
4122
41232009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4124
4125 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4126 Replace the printf call of Y by provided "y-set-1" label. New block
4127 for the second shared library.
4128 * gdb.base/unload.exp: Compile also the second library, call
4129 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4130 (single pending breakpoint info): Rename to ...
4131 (pending breakpoint info before run): ... this extended test.
4132 (libfile2, libname2, libsrcfile2, libsrc2)
4133 (lib_sl2): New variables.
4134 (exec_opts): Set also SHLIB_NAME2.
4135 (pending breakpoint info on first run at shrfunc1)
4136 (pending breakpoint info on second run at shrfunc1)
4137 (pending breakpoint info on second run at shrfunc2)
4138 (print y from libfile, print y from libfile2): New tests.
4139 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4140 * gdb.base/unloadshr2.c: New.
4141
41422009-12-22 Hui Zhu <teawater@gmail.com>
4143
4144 * gdb.reverse/sigall-reverse.exp: Adjust.
4145
41462009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4147
4148 PR gdb/10884
4149
4150 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4151 (main): Call do_bitfield_tests.
4152 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4153
41542009-12-20 Joel Brobecker <brobecker@adacore.com>
4155
4156 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4157 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4158 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4159 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4160 gdb.modula2/unbounded1.c: Update copyright header.
4161
41622009-12-10 Chris Moller <moller@mollerware.com>
4163
4164 PR gdb/9399
4165 * gdb.cp/virtfunc2.exp: New tests
4166 * gdb.cp/virtfunc2.cc: New tests
4167 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4168
41692009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4170
4171 * gdb.reverse/i387-env-reverse.c: New file.
4172 * gdb.reverse/i387-env-reverse.exp: New file.
4173 * gdb.reverse/i387-stack-reverse.c: New file.
4174 * gdb.reverse/i387-stack-reverse.exp: New file.
4175
41762009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4177
4178 * gdb.python/py-type.exp (test_range): New test.
4179
41802009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4181
4182 PR python/10805
4183
4184 * gdb.python/py-type.exp: New file.
4185 * gdb.python/py-type.c: New file.
4186 * Makefile.in: Add py-type.
4187
41882009-12-03 Tom Tromey <tromey@redhat.com>
4189
4190 * gdb.python/py-value.exp (test_parse_and_eval): New
4191 function.
4192
41932009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4194
4195 PR gdb/11022
4196
4197 * gdb.base/pr11022.exp: New test.
4198 * gdb.base/pr11022.c: New test.
4199
42002009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4201
4202 Fix spurious false FAILs.
4203 * gdb.base/structs.c (chartest): New.
4204 (main): Fill-in chartest.
4205 * gdb.base/structs.exp (anychar_re, first): New.
4206 (start_structs_test): Import global anychar_re and first.
4207 New gdb_test call "set print elements 300; ${testfile}"
4208 (start_structs_test <$first>): New block.
4209 (any): Import global anychar_re. New variable ac. Use ${ac}.
4210
42112009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4212
4213 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4214
42152009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4218 Force $srcfile file.
4219 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4220
42212009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4222
4223 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4224 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4225 * gdb.threads/watchthreads-reorder.exp: Likewise.
4226
42272009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4228
4229 PR gdb/8704
4230
4231 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4232 "if", and "thread". Correct matching in the previous test.
4233
42342009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4235
4236 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4237
42382009-11-23 Michael Snyder <msnyder@vmware.com>
4239
4240 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4241 * gdb.reverse-watch-precsave.exp: Ditto.
4242
42432009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4244
4245 * gdb.asm/asm-source.exp: Adjust.
4246 * gdb.base/help.exp: Adjust.
4247
42482009-11-22 Pedro Alves <pedro@codesourcery.com>
4249
4250 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4251 (do_syscall_tests_without_xml): Set data-directory to
4252 /the/path/to/nowhere.
4253
42542009-11-21 Pedro Alves <pedro@codesourcery.com>
4255
4256 * gdb.threads/local-watch-wrong-thread.c,
4257 gdb.threads/local-watch-wrong-thread.exp: New files.
4258
42592009-11-21 Pedro Alves <pedro@codesourcery.com>
4260
4261 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4262 assume new `regsub' syntax available.
4263
42642009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4265
4266 * gdb.base/watchpoint-hw-hit-once.exp,
4267 gdb.base/watchpoint-hw-hit-once.c: New.
4268
42692009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 * gdb.threads/watchthreads-reorder.exp,
4272 gdb.threads/watchthreads-reorder.c: New.
4273
42742009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4275
4276 * gdb.xml/tdesc-regs.exp: Use for m68k.
4277
42782009-11-15 Pedro Alves <pedro@codesourcery.com>
4279
4280 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4281
42822009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4283
4284 * lib/gdb.exp (current_target_name): New procedure.
4285 (gdb_wrapper_target): New variable.
4286 (gdb_wrapper_init): Set gdb_wrapper_target.
4287 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4288 wrapper.
4289
42902009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4291
4292 * gdb.base/remote.exp: Delete the slowest load test.
4293 Do not load with fixed packet sizes.
4294
42952009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4296
4297 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4298
42992009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4300
4301 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4302 srcfile when setting a breakpoint.
4303
43042009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4305
4306 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4307 macros.
4308
43092009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4310
4311 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4312 to be in memory.
4313 * gdb.base/display.c (force_mem): New.
4314 (do_loops): Use it. Add breakpoint comments.
4315 (do_vars): Add a breakpoint comment.
4316 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4317 line numbers.
4318
43192009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4320
4321 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4322 instead of a bare "run".
4323
43242009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4325
4326 * gdb.python/py-prettyprint.exp: Adjust.
4327
43282009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4329
4330 * lib/cell.exp (skip_cell_tests): Clean up test files before
4331 returning.
4332
43332009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4334
4335 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4336 and the breakpoint menu. Do not call perror if a prompt is seen.
4337 Consume the following GDB prompt.
4338 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4339 * gdb.cp/namespace.exp: Use gdb_test.
4340 * gdb.cp/templates.exp: Use gdb_test.
4341 (test_template_breakpoints): Use gdb_test_multiple.
4342
43432009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4344
4345 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4346 (marker4): Reference values.
4347
43482009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4349
4350 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4351 is missing.
4352
43532009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4354
4355 * gdb.base/break.c (need_malloc): New.
4356 * gdb.base/constvars.c (main): Reference crass and crisp.
4357 * gdb.base/gdb1821.c (main): Reference bar.
4358 * gdb.cp/gdb1355.cc (main): Reference s1.
4359 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4360 (main): Call them.
4361 * gdb.cp/hang2.cc (dummy2): Define.
4362 * gdb.cp/hang3.cc (dummy3): Define.
4363 * gdb.cp/m-data.cc (main): Reference shadow.
4364
43652009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4366 Nathan Froyd <froydnj@codesourcery.com>
4367
4368 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4369 remote host.
4370
43712009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4372
4373 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4374 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4375 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4376 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4377 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4378 * gdb.dwarf2/dw2-producer.exp: Likewise.
4379 * gdb.dwarf2/mac-fileno.exp: Likewise.
4380 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4381 py-prettyprint.py to the remote host.
4382 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4383
43842009-11-11 Keith Seitz <keiths@redhat.com>
4385
4386 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4387 use it instead of "Foo".
4388 * gdb.cp/classes.exp (do_tests): Add a test to access
4389 a method through a typedef'd class name.
4390
43912009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4392
4393 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4394 exponents.
4395 * gdb.base/pointers.exp: Likewise.
4396 * gdb.cp/ref-types.exp: Likewise.
4397
43982009-11-11 Keith Seitz <keiths@redhat.com>
4399
4400 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4401 new[] and delete[].
4402 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4403 "void".
4404 (probe_demangler): Remove all single-quoting of
4405 method and variable names.
4406 (info_func_regexp): Remove the word "void" from any
4407 occurrence of "(void)".
4408 (print_addr_2): Remove all single-quoting of
4409 method names.
4410 (print_addr_2_kfail): Likewise.
4411 (print_addr): Single-quote C function names before
4412 passing to print_addr_2.
4413 (test_paddr_operator_functions): Remove single-quoting
4414 for method names.
4415 Add tests for operator new[] and operator delete[].
4416
44172009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4418
4419 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4420
44212009-11-09 Keith Seitz <keiths@redhat.com>
4422
4423 * gdb.cp/overload.exp: Add tests for resolving overloaded
4424 methods in expression parsing/evaluation.
4425
44262009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4427
4428 * lib/gdb.exp (default_gdb_version): Use --version instead of
4429 --command.
4430
44312009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4432
4433 * lib/gdb.exp (gdb_compile_test): New.
4434 (skip_ada_tests, skip_java_tests): New.
4435 (gdb_compile): Use gdb_compile_test for f77.
4436 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4437 * lib/java.exp (compile_java_from_source): Remove runtests check,
4438 use gdb_compile_test to record result.
4439 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4440 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4441 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4442 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4443 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4444 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4445 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4446 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4447 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4448 adjust gdb_compile invocations.
4449
44502009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4451
4452 * Makefile.in (abs_builddir): New.
4453 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4454 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4455 `$(abs_builddir)/site.exp'.
4456
44572009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4458
4459 * config/m68k-emc.exp, lib/emc-support.exp,
4460 gdb.trace/gdb_c_test.c: Delete.
4461 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4462 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4463 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4464 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4465 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4466 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4467 casing for m68k-*-elf.
4468
44692009-11-03 Pedro Alves <pedro@codesourcery.com>
4470
4471 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4472 * gdb.arch/i386-prologue.exp: Likewise.
4473 * gdb.arch/i386-unwind.exp: Likewise.
4474
44752009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4476
4477 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4478
44792009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4480
4481 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4482
44832009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4484
4485 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4486
44872009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4488
4489 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4490
44912009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4492
4493 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4494 * gdb.base/sepdebug2.c: New file.
4495
44962009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4497
4498 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4499 the modified warnings for catch syscall. Verify if GDB was compiled
4500 with support for lib expat, and choose which tests to run depending
4501 on this.
4502
45032009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4504
4505 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4506 that composite commands are parsed OK. And also test
4507 that breakpoint commands do work.
4508
45092009-10-23 Michael Snyder <msnyder@vmware.com>
4510
4511 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4512 to allow for new disassembly style.
4513
45142009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4515
4516 * gdb.asm/asm-source.exp: Adjust.
4517
45182009-10-22 Michael Snyder <msnyder@vmware.com>
4519
4520 * gdb.reverse/break-precsave.exp: New test.
4521 * gdb.reverse/consecutive-precsave.exp: Ditto.
4522 * gdb.reverse/finish-precsave.exp: Ditto.
4523 * gdb.reverse/i386-precsave.exp: Ditto.
4524 * gdb.reverse/machinestate-precsave.exp: Ditto.
4525 * gdb.reverse/sigall-precsave.exp: Ditto.
4526 * gdb.reverse/solilb-precsave.exp: Ditto.
4527 * gdb.reverse/step-precsave.exp: Ditto.
4528 * gdb.reverse/until-precsave.exp: Ditto.
4529 * gdb.reverse/watch-precsave.exp: Ditto.
4530
45312009-10-22 Michael Snyder <msnyder@vmware.com>
4532
4533 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4534 for gdb_expect. Adjust one test's expect strings for the new
4535 format of disassemble.
4536 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4537 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4538 gdb_test_multiple.
4539 * gdb.reverse/step-reverse.exp: Delete 'return'.
4540 * gdb.reverse/until-reverse.exp: Delete blank lines.
4541 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4542
45432009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4544
4545 * gdb.base/consecutive.exp: Adjust.
4546 * gdb.base/display.exp: Likewise.
4547 * gdb.base/pc-fp.exp: Likewise.
4548 * gdb.base/sigbpt.exp: Likewise.
4549
45502009-10-19 Michael Snyder <msnyder@vmware.com>
4551
4552 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4553 * gdb.reverse/finish-reverse.c: Ditto.
4554 * gdb.reverse/sigall-reverse.c: Ditto.
4555 * gdb.reverse/solib-reverse.c: Ditto.
4556 * gdb.reverse/step-reverse.c: Ditto.
4557 * gdb.reverse/watch-reverse.c: Ditto.
4558
45592009-10-19 Pedro Alves <pedro@codesourcery.com>
4560 Stan Shebs <stan@codesourcery.com>
4561
4562 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4563 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4564 "Executing new program".
4565 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4566 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4567 left listed after having been killed.
4568 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4569 * gdb.base/maint.exp: Adjust test.
4570
4571 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4572 * gdb.multi/Makefile.in: New.
4573 * gdb.multi/base.exp: New.
4574 * gdb.multi/goodbye.c: New.
4575 * gdb.multi/hangout.c: New.
4576 * gdb.multi/hello.c: New.
4577 * gdb.multi/bkpt-multi-exec.c: New.
4578 * gdb.multi/bkpt-multi-exec.exp: New.
4579 * gdb.multi/crashme.c: New.
4580
45812009-10-13 Tristan Gingold <gingold@adacore.com>
4582
4583 * gdb.base/sepdebug.exp: Check debug info are found.
4584
45852009-10-08 Pedro Alves <pedro@codesourcery.com>
4586
4587 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4588 bits.
4589
45902009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4591
4592 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4593
45942009-10-07 Joel Brobecker <brobecker@adacore.com>
4595
4596 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4597 of the comments.
4598
45992009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4600
4601 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4602 * gdb.base/annota3.exp: Idem.
4603 * gdb.base/maint.exp: Idem.
4604
46052009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4606
4607 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4608 to default.
4609
46102009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4611
4612 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4613 mingw and cygwin targets.
4614
46152009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4616 Pedro Alves <pedro@codesourcery.com>
4617
4618 * lib/gdb.exp (gdb_compile): Avoid adding
4619 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4620
46212009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4622
4623 * gdb.base/shr1.c: Use %p in format string.
4624 * gdb.base/unload.c: Avoid warning in fprintf.
4625 * gdb.base/watchpoint-solib.c: Idem.
4626
46272009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4628
4629 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4630 long type.
4631 (test_unlink): Correct printf string.
4632 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4633 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4634
46352009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4636
4637 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4638 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4639 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4640
46412009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4642
4643 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4644 * gdb.objc/nondebug.exp: Likewise.
4645
46462009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4647
4648 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4649 target_info setting.
4650
4651 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4652 that detect new threads during "info threads".
4653
46542009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4655
4656 * gdb.threads/manythreads.c (main): Increase thread stack size
4657 to 2*PTHREAD_STACK_MIN.
4658 * gdb.threads/multi-create.c (main): Likewise.
4659 (create_function): Likewise.
4660
46612009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4662
4663 * gdb.base/dump.exp: Pass difference of pointer types instead
4664 of integer types as offset to restore in intarr3.srec case.
4665
46662009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4667
4668 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4669
46702009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4671
4672 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4673
46742009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4675
4676 New test for two watchpoints, with disabling of
4677 the first inserted.
4678 * testsuite/gdb.base/watchpoints.c: New file.
4679 * testsuite/gdb.base/watchpoints.exp: New file.
4680
46812009-09-25 Tom Tromey <tromey@redhat.com>
4682
4683 * gdb.base/charset.exp: Test utf-16 strings with Python.
4684
46852009-09-25 Tom Tromey <tromey@redhat.com>
4686
4687 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4688 UCS-4.
4689 * gdb.base/charset.c (utf_32_string): Rename.
4690 (init_utf32): Rename.
4691 (main): Update.
4692
46932009-09-22 Tom Tromey <tromey@redhat.com>
4694
4695 * gdb.python/py-function.exp: Add regression tests.
4696
46972009-09-21 Keith Seitz <keiths@redhat.com>
4698
4699 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4700 with invalid operator.
4701
47022009-09-21 Keith Seitz <keiths@redhat.com>
4703
4704 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4705 and destructor using typedef name of class.
4706 * gdb.cp/classes.cc (class Base1): Add a destructor.
4707 (base1): New typedef.
4708 (use_methods): Instanitate an object of type base1.
4709 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4710 (do_tests): Call test_template_typedef.
4711 * gdb.cp/templates.cc (Baz::~Baz): New method.
4712 (intBazOne): New typedef.
4713 (main): Instantiate intBazOne.
4714
47152009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4716
4717 PR python/10633
4718
4719 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4720 Function.
4721 (run_lang_tests): Add print elements test.
4722
47232009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4724
4725 * gdb.python/py-value.exp (test_subscript_regression): New
4726 function. Test for invalid subscripts.
4727 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4728 (ptr_ref): New function.
4729
47302009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4731
4732 * gdb.base/default.exp: Fix "show convenience".
4733
47342009-09-15 Tom Tromey <tromey@redhat.com>
4735
4736 * lib/mi-support.exp (mi_create_varobj): Update.
4737 (mi_create_floating_varobj): Likewise.
4738 (mi_create_dynamic_varobj): New proc.
4739 (mi_varobj_update): Update.
4740 (mi_varobj_update_with_type_change): Likewise.
4741 (mi_varobj_update_kv_helper): New proc.
4742 (mi_varobj_update_dynamic_helper): Rewrite.
4743 (mi_varobj_update_dynamic): New proc.
4744 (mi_list_varobj_children): Update.
4745 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4746 * gdb.python/python-prettyprint.py (pp_outer): New class.
4747 (pp_nullstr): Likewise.
4748 (lookup_function): Register new printers.
4749 * gdb.python/python-prettyprint.c (struct substruct): New type.
4750 (struct outerstruct): Likewise.
4751 (substruct_test): New function.
4752 (struct nullstr): New type.
4753 (string_1, string_2): New globals.
4754 (main): Add new tests.
4755 * gdb.python/python-mi.exp: Added regression tests.
4756 * gdb.mi/mi2-var-display.exp: Update.
4757 * gdb.mi/mi2-var-cmd.exp: Update.
4758 * gdb.mi/mi2-var-child.exp: Update.
4759 * gdb.mi/mi2-var-block.exp: Update.
4760 * gdb.mi/mi-var-invalidate.exp: Update.
4761 * gdb.mi/mi-var-display.exp: Update.
4762 * gdb.mi/mi-var-cmd.exp: Update.
4763 * gdb.mi/mi-var-child.exp: Update.
4764 * gdb.mi/mi-var-block.exp: Update.
4765 * gdb.mi/mi-break.exp: Update.
4766 * gdb.mi/gdb701.exp: Update.
4767
47682009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4769
4770 * Makefile.in: Inclusion of catch-syscall object.
4771 * gdb.base/catch-syscall.c: New file.
4772 * gdb.base/catch-syscall.exp: New file.
4773
47742009-09-12 Michael Snyder <msnyder@vmware.com>
4775
4776 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4777 that can support reverse debuggnig.
4778
47792009-09-11 Tom Tromey <tromey@redhat.com>
4780
4781 * gdb.dwarf2/valop.S: New file.
4782 * gdb.dwarf2/valop.exp: New file.
4783
47842009-09-11 Mark Kettenis <kettenis@gnu.org>
4785
4786 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4787
47882009-09-10 Doug Evans <dje@google.com>
4789
4790 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4791 Add $gdb_prompt to second breakpoint regexp.
4792
47932009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4794
4795 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4796 names, add missing ones.
4797 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4798 * gdb.python/py-frame.c: Rename from python-frame.c.
4799 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4800 testfile name.
4801 * gdb.python/py-function.exp: Rename from python-function.exp.
4802 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4803 testfile name.
4804 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4805 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4806 Adjust testfile name.
4807 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4808 * gdb.python/py-template.cc: Rename from python-template.cc.
4809 * gdb.python/py-template.exp: Rename from python-template.exp.
4810 Adjust testfile name.
4811 * gdb.python/py-value.c: Rename from python-value.c.
4812 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4813 testfile name.
4814
48152009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4816
4817 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4818 $bpt2address.
4819 (Second breakpoint address is valid on ia64)
4820 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4821
48222009-09-03 Joseph Myers <joseph@codesourcery.com>
4823
4824 * gdb.base/ending-run.exp: Restrict regular expression matching
4825 line number to require closing brace following.
4826
48272009-09-03 Doug Evans <dje@google.com>
4828
4829 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4830
48312009-09-02 Tom Tromey <tromey@redhat.com>
4832
4833 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4834
48352009-09-02 Tom Tromey <tromey@redhat.com>
4836
4837 * gdb.dwarf2/callframecfa.exp: New file.
4838 * gdb.dwarf2/callframecfa.S: New file.
4839
48402009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4841
4842 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4843 gdb.base/solib-overlap-main.c: New.
4844
48452009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4846
4847 PR gdb/10565
4848
4849 * gdb.base/bitfields.c (struct container, container): New.
4850 (main): Initialize it and call break5.
4851 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4852
48532009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4854
4855 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4856 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4857
48582009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4859
4860 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4861
48622009-08-26 Michael Snyder <msnyder@vmware.com>
4863
4864 * gdb.base/i386-reverse.c: New file.
4865 * gdb.base/i386-reverse.exp: New file.
4866 * gdb.base/Makefile.in: Add new files to be removed.
4867
48682009-08-26 Joseph Myers <joseph@codesourcery.com>
4869
4870 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4871 environment-pwd for remote host.
4872 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4873
48742009-08-24 Keith Seitz <keiths@redhat.com>
4875
4876 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4877 Add two new C++ completer tests which limit the output to a
4878 given class.
4879
48802009-08-24 Michael Snyder <msnyder@vmware.com>
4881
4882 * gdb.base/del.exp: Fix typo in comment.
4883 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4884
48852009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4886
4887 * configure: Regenerate.
4888 * gdb.hp/configure: Likewise.
4889 * gdb.hp/gdb.aCC/configure: Likewise.
4890 * gdb.hp/gdb.base-hp/configure: Likewise.
4891 * gdb.hp/gdb.compat/configure: Likewise.
4892 * gdb.hp/gdb.defects/configure: Likewise.
4893 * gdb.hp/gdb.objdbg/configure: Likewise.
4894 * gdb.stabs/configure: Likewise.
4895
48962009-08-19 Doug Evans <dje@google.com>
4897
4898 * gdb.base/gdbvars.c: New file.
4899 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4900
49012009-08-14 Pedro Alves <pedro@codesourcery.com>
4902
4903 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4904 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4905
49062009-08-13 Pedro Alves <pedro@codesourcery.com>
4907
4908 * gdb.base/default.exp: Adjust "set language test": it's now an
4909 enum command. Larger help string moved to "help set language".
4910 * gdb.base/help.exp: Adjust "help set language" expected output,
4911 now lists all known languages.
4912
49132009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4914
4915 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4916 all frame arguments.
4917 * gdb.arch/altivec-regs.exp: Likewise.
4918
49192009-08-07 Tom Tromey <tromey@redhat.com>
4920
4921 * gdb.base/setshow.exp: Add tests for changes to set language, set
4922 check range, and set check type.
4923
49242009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4925
4926 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4927 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4928 Call it.
4929
49302009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4931
4932 * configure.ac: Run gdb.cell tests when appropriate.
4933 * configure: Regenerate.
4934 * lib/cell.exp: New file.
4935 * gdb.cell: New directory.
4936 * gdb.cell/configure.ac: New file.
4937 * gdb.cell/configure: New file.
4938 * gdb.cell/Makefile.in: New file.
4939 * gdb.cell/arch.exp: New file.
4940 * gdb.cell/break.c: New file.
4941 * gdb.cell/break.exp: New file.
4942 * gdb.cell/break-spu.c: New file.
4943 * gdb.cell/bt.c: New file.
4944 * gdb.cell/bt2-spu.c: New file.
4945 * gdb.cell/bt-spu.c: New file.
4946 * gdb.cell/bt.exp: New file.
4947 * gdb.cell/coremaker.c: New file.
4948 * gdb.cell/coremaker-spu.c: New file.
4949 * gdb.cell/core.exp: New file.
4950 * gdb.cell/gcore.exp: New file.
4951 * gdb.cell/data.c: New file.
4952 * gdb.cell/data.exp: New file.
4953 * gdb.cell/data-spu.c: New file.
4954 * gdb.cell/ea-cache.exp: New file.
4955 * gdb.cell/ea-cache.c: New file.
4956 * gdb.cell/ea-cache-spu.c: New file.
4957 * gdb.cell/ea-standalone.c: New file.
4958 * gdb.cell/ea-standalone.exp: New file.
4959 * gdb.cell/ea-test.c: New file.
4960 * gdb.cell/ea-test.exp: New file.
4961 * gdb.cell/f-regs.exp: New file.
4962 * gdb.cell/mem-access.c: New file.
4963 * gdb.cell/mem-access.exp: New file.
4964 * gdb.cell/mem-access-spu.c: New file.
4965 * gdb.cell/ptype.exp: New file.
4966 * gdb.cell/registers.exp: New file.
4967 * gdb.cell/size.c: New file.
4968 * gdb.cell/sizeof.exp: New file.
4969 * gdb.cell/size-spu.c: New file.
4970 * gdb.cell/solib.exp: New file.
4971 * gdb.cell/solib-symbol.exp: New file.
4972
49732009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4974
4975 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4976
49772009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4978
4979 * gdb.base/float.exp: Handle VFP registers.
4980
49812009-07-14 Michael Snyder <msnyder@vmware.com>
4982
4983 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4984 to bring gdb to the beginning of the calling line.
4985
4986 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4987 confusing the i386 epilogue unwinder.
4988
49892009-07-14 Stan Shebs <stan@codesourcery.com>
4990
4991 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4992
49932009-07-14 Michael Snyder <msnyder@vmware.com>
4994
4995 * gdb.reverse/step-reverse.exp (stepi into function call):
4996 Call instruction may not be first instruction in the line.
4997 (reverse stepi from a function call): Used wrong line number.
4998
49992009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5002
50032009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5004
5005 Fix gdb.base/macscp.exp when using custom inputrc.
5006 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5007 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5008 env(TERM) set.
5009 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5010 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5011
50122009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5013
5014 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5015 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5016 Change the compilation target to match the testcase name.
5017 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5018 testcase name.
5019 * a2-run.exp: Use for setup prepare_for_testing. Change the
5020 compilation target to match the testcase name.
5021 * gdb.base/commands.exp: Likewise.
5022 * gdb.base/finish.exp: Likewise.
5023 * gdb.base/float.exp: Likewise.
5024 * gdb.base/info-target.exp: Likewise.
5025 * gdb.base/relational.exp: Likewise.
5026 * gdb.base/term.exp: Likewise.
5027 * gdb.base/until.exp: Likewise.
5028 * gdb.base/volatile.exp: Likewise.
5029 * gdb.base/whatis-exp.exp: Likewise.
5030
50312009-07-11 Hui Zhu <teawater@gmail.com>
5032
5033 * gdb.base/help.exp (disassemble): Update expected help text.
5034
50352009-07-09 Tom Tromey <tromey@redhat.com>
5036
5037 * lib/gdb.exp: Handle TRANSCRIPT.
5038 (remote_spawn, remote_close, send_gdb): New procs.
5039
50402009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5041
5042 * gdb.python/python-prettyprint.c: Add counted null string
5043 structure.
5044 * gdb.python/python-prettyprint.exp: Print null string. Test for
5045 embedded nulls.
5046 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5047 * gdb.python/python-value.exp (test_value_in_inferior): Add
5048 variable length string fetch tests.
5049 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5050
50512009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5052
5053 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5054
50552009-07-07 Tom Tromey <tromey@redhat.com>
5056
5057 * gdb.base/call-rt-st.exp: Update for change to escape output.
5058 * gdb.base/callfuncs.exp: Likewise.
5059 * gdb.base/charset.exp: Likewise.
5060 * gdb.base/constvars.exp: Likewise.
5061 * gdb.base/long_long.exp: Likewise.
5062 * gdb.base/pointers.exp: Likewise.
5063 * gdb.base/printcmds.exp: Likewise.
5064 * gdb.base/setvar.exp: Likewise.
5065 * gdb.base/store.exp: Likewise.
5066 * gdb.cp/ref-types.exp: Likewise.
5067 * gdb.mi/mi-var-child.exp: Likewise.
5068 * gdb.mi/mi-var-display.exp: Likewise.
5069 * gdb.mi/mi2-var-display.exp: Likewise.
5070 * gdb.base/charset.exp: Test octal escape sequence length.
5071 Update for change to escape output.
5072
50732009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5074
5075 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5076
50772009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5078
5079 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5080
50812009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5082
5083 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5084 gdbserver increasing $portnum if "Can't bind address" has been seen.
5085
50862009-07-05 Pedro Alves <pedro@codesourcery.com>
5087
5088 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5089 mingw32ce.
5090
50912009-07-05 Pedro Alves <pedro@codesourcery.com>
5092
5093 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5094 VFP format.
5095
50962009-07-02 Pedro Alves <pedro@codesourcery.com>
5097
5098 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5099 linux. Adjust to use "inferior", "info inferiors", "detach
5100 inferior" and "kill inferior" instead of "restart", "info fork",
5101 "detach fork" and "delete fork".
5102 * gdb.base/ending-run.exp: Spell out "info".
5103 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5104 the "kill" command.
5105
51062009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5107
5108 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5109 change to prefix TLS offset in hex with 0x.
5110
51112009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5112
5113 * gdb.base/default.exp: Update test case for "x" changes.
5114
51152009-07-01 Tristan Gingold <gingold@adacore.com>
5116
5117 * gdb.base/bigcore.exp: Make darwin untested.
5118
51192009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * gdb.base/completion.exp (directory completion): Create the directory.
5122 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5123 escapeuniquesub.
5124 (directory completion 2): Expect now ${escapeuniquesub}.
5125 (Glob remaining of directory test): Remove one excessive newline.
5126 Expect the real output.
5127
51282009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 Fix `make check//%' target after `make check' has been ran.
5131 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5132 a mkdir call.
5133 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5134 (%/.dir): Remove.
5135
51362009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5137
5138 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5139 the expected result record.
5140
51412009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5142
5143 Remove racy FAILs relying just on the timeouts.
5144 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5145 (annotation_level 2): Remove racy FAILs.
5146
51472009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5148
5149 gdb/10275
5150 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5151
51522009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5153
5154 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5155
51562009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5157
5158 * gdb.mi/mi-stack.exp: Testing symbolic options
5159 to -stack-list-locals and -stack-list-arguments.
5160
51612009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5162
5163 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5164
51652009-06-29 Tom Tromey <tromey@redhat.com>
5166
5167 * dg-extract-results.sh: New file.
5168 * Makefile.in (FORCE_PARALLEL): New variable.
5169 (CHECK_TARGET): New conditional variable.
5170 (check): Use CHECK_TARGET.
5171 (DO_RUNTEST): New variable.
5172 (check-single): New target.
5173 (TEST_DIRS): New variable.
5174 (TEST_TARGETS): Likewise.
5175 (check-parallel): New target.
5176 (check-gdb.%): New pattern.
5177 (BASE1_FILES): New variable.
5178 (BASE2_FILES): Likewise.
5179 (check-gdb.base%): New pattern.
5180 (%/.dir): New pattern.
5181 * configure: Rebuild.
5182 * aclocal.m4 (AM_CONDITIONAL): New defun.
5183 * configure.ac: Check whether user is using GNU make.
5184 (GMAKE): New conditional.
5185
51862009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5187
5188 * gdb.cp/namespace-nested-import.cc: New test.
5189 * gdb.cp/namespace-nested-import.exp: New test.
5190
51912009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5192
5193 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5194 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5195 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5196 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5197 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5198 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5199 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5200 gdb.opt/inline-markers.c: New files.
5201 * lib/gdb.exp (skip_inline_frame_tests): New function.
5202 (skip_inline_var_tests): New function.
5203
52042009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5205
5206 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5207 backtrace.
5208
52092009-06-27 Michael Snyder <msnyder@vmware.com>
5210
5211 * gdb.reverse: New directory.
5212 * gdb.reverse/break-reverse.c: New test.
5213 * gdb.reverse/break-reverse.exp: New test.
5214 * gdb.reverse/consecutive-reverse.c: New test.
5215 * gdb.reverse/consecutive-reverse.exp: New test.
5216 * gdb.reverse/finish-reverse.c: New test.
5217 * gdb.reverse/finish-reverse.exp: New test.
5218 * gdb.reverse/machinestate.c: New test.
5219 * gdb.reverse/ms1.c: New test.
5220 * gdb.reverse/machinestate.exp: New test.
5221 * gdb.reverse/Makefile.in: New file.
5222 * gdb.reverse/shr2.c: New test.
5223 * gdb.reverse/solib-reverse.c: New test.
5224 * gdb.reverse/solib-reverse.exp: New test.
5225 * gdb.reverse/step-reverse.c: New test.
5226 * gdb.reverse/step-reverse.exp: New test.
5227 * gdb.reverse/until-reverse.c: New test.
5228 * gdb.reverse/ur1.c: New test.
5229 * gdb.reverse/until-reverse.exp: New test.
5230 * gdb.reverse/watch-reverse.c: New test.
5231 * gdb.reverse/watch-reverse.exp: New test.
5232 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5233 * configure: Regenerate.
5234
52352009-06-26 Doug Evans <dje@google.com>
5236
5237 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5238
52392009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5240
5241 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5242 windows problem for 'file delete $binfile'.
5243
52442009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5245
5246 * gdb.cp/namespace-using.exp: New test.
5247 * gdb.cp/namespace-using.cc: New test.
5248
52492009-05-20 Joel Brobecker <brobecker@adacore.com>
5250
5251 * gdb.ada/variant_record_packed_array: New testcase.
5252
52532009-06-23 Tom Tromey <tromey@redhat.com>
5254
5255 * gdb.base/charset.exp (test_combination): Regression test.
5256 * gdb.base/charset.c (my_wchar_t): New typedef.
5257 (myvar): New global.
5258 (main): Set myvar.
5259
52602009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5261
5262 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5263 target.
5264
52652009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5266
5267 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5268
52692009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5270
5271 * gdb.mi/gdb680.exp: Update test for error message.
5272
52732009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5274
5275 * gdb.base/annota1.exp: Allow multiple occurrences of the
5276 frames-invalid annotation.
5277 * gdb.cp/annota2.exp: Likewise.
5278
52792009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5280
5281 * gdb.cp/gdb2495.cc: New file.
5282 * gdb.cp/gdb2495.exp: New file.
5283
52842009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5285
5286 Report error on GDB crash during runto.
5287 * lib/gdb.exp (runto <eof>): New.
5288
52892009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5290
5291 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5292 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5293 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5294 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5295 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5296 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5297 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5298 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5299 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5300 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5301 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5302 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5303 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5304 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5305 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5306 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5307 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5308 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5309 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5310 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5311 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5312 gdb.trace/passcount.exp, gdb.trace/report.exp,
5313 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5314 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5315 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5316 executable.
5317
53182009-06-07 Pedro Alves <pedro@codesourcery.com>
5319
5320 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5321 defined before referencing it.
5322
53232009-06-03 Doug Evans <dje@google.com>
5324
5325 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5326 * gdb.arch/i386-see.c: Ditto.
5327
53282009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5329
5330 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5331 (check_macro): Return 1 if undefined.
5332 If first test fails, check if macro debug information is available,
5333 and report unsupported test if no macro information is found.
5334
53352009-05-29 Doug Evans <dje@google.com>
5336
5337 * gdb.threads/hand-call-in-threads.exp: New.
5338 * gdb.threads/hand-call-in-threads.c: New.
5339
53402009-05-29 Michael Snyder <msnyder@vmware.com>
5341
5342 * gdb.base/break-always.exp: Change "1" to "on".
5343 Add confirmation check.
5344
53452009-05-28 Pedro Alves <pedro@codesourcery.com>
5346
5347 * gdb.threads/threxit-hop-specific.c: New.
5348 * gdb.threads/threxit-hop-specific.exp: New.
5349 * gdb.threads/thread-execl.c: New.
5350 * gdb.threads/thread-execl.exp: New.
5351
53522009-05-27 Tom Tromey <tromey@redhat.com>
5353 Thiago Jung Bauermann <bauerman@br.ibm.com>
5354
5355 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5356 (mi_child_regexp): Likewise.
5357 (mi_list_varobj_children_range): Likewise.
5358 (mi_get_features): Likewise.
5359 (mi_list_varobj_children): Rewrite.
5360 * gdb.python/python-mi.exp: New file.
5361
53622009-05-27 Tom Tromey <tromey@redhat.com>
5363 Thiago Jung Bauermann <bauerman@br.ibm.com>
5364 Phil Muldoon <pmuldoon@redhat.com>
5365 Paul Pluzhnikov <ppluzhnikov@google.com>
5366
5367 * gdb.python/python-prettyprint.exp: New file.
5368 * gdb.python/python-prettyprint.c: New file.
5369 * gdb.python/python-prettyprint.py: New file.
5370 * gdb.base/display.exp: print/r is now valid.
5371
53722009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5373 Tom Tromey <tromey@redhat.com>
5374 Pedro Alves <pedro@codesourcery.com>
5375 Paul Pluzhnikov <ppluzhnikov@google.com>
5376
5377 * gdb.python/python-template.exp: New file.
5378 * gdb.python/python-template.cc: New file.
5379 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5380 tests.
5381 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5382 Call it.
5383 (test_value_after_death): New proc.
5384 * gdb.python/python-value.c (PTR): New typedef.
5385 (main): New variable 'x'.
5386
53872009-05-27 Tom Tromey <tromey@redhat.com>
5388
5389 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5390 tests.
5391 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5392 Call it.
5393
53942009-05-27 Pedro Alves <pedro@codesourcery.com>
5395
5396 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5397
53982009-05-24 Pedro Alves <pedro@codesourcery.com>
5399
5400 * gdb.threads/fork-thread-pending.c: New.
5401 * gdb.threads/fork-thread-pending.exp: New.
5402
54032009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5404
5405 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5406 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5407
54082009-05-18 Jon Beniston <jon@beniston.com>
5409
5410 * gdb.asm/asm-source.exp: Add lm32 target.
5411
54122009-05-17 Pedro Alves <pedro@codesourcery.com>
5413
5414 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5415 `gdb_get_line_number'. Call `callee' in both parent and child.
5416 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5417 `gdb_get_line_number' instead of hardcoding line numbers.
5418 (catch_fork_unpatch_child): New procedure to test detaching
5419 breakpoints from child fork.
5420 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5421 hardcoding line numbers.
5422 (do_fork_tests): Run `catch_fork_unpatch_child'.
5423
54242009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5425
5426 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5427 of structure type enters or leaves the scope, it
5428 is reported by -var-update.
5429
54302009-05-11 Doug Evans <dje@sebabeach.org>
5431
5432 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5433 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5434 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5435
54362009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5439
54402009-04-30 Doug Evans <dje@google.com>
5441
5442 * gdb.threads/watchthreads2.exp: New testcase.
5443 * gdb.threads/watchthreads2.c: New testcase.
5444
54452009-04-29 Doug Evans <dje@google.com>
5446
5447 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5448 * gdb.cp/mb-ctor.cc: Ditto.
5449 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5450 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5451 * gdb.cp/mb-inline1.cc: Call it.
5452 * gdb.cp/mb-inline2.cc: Ditto.
5453 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5454 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5455
54562009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5457
5458 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5459 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5460 Replace all uses of `decimal' by `nonzero'.
5461 (info macro FROM_COMMANDLINE): New test.
5462
54632009-04-27 Tom Tromey <tromey@redhat.com>
5464
5465 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5466
54672009-04-27 Doug Evans <dje@google.com>
5468
5469 * gdb.threads/watchthreads.c (main): Initialize args before starting
5470 the threads. Plus formatting cleanup.
5471 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5472 biased scheduling of one thread.
5473
54742009-04-27 Jerome Guitton <guitton@adacore.com>
5475
5476 * gdb.cp/templates.cc (GetMax): New template.
5477 (main): Declare two instances of GetMax.
5478 * gdb.cp/templates.exp: Add new test.
5479
54802009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5481
5482 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5483
54842009-04-22 Joseph Myers <joseph@codesourcery.com>
5485
5486 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5487
54882009-04-15 Tom Tromey <tromey@redhat.com>
5489
5490 * gdb.base/charset.exp: Add regression test.
5491
54922009-04-14 Joel Brobecker <brobecker@adacore.com>
5493
5494 * gdb.base/exe-lock.exp: New testcase.
5495
54962009-04-13 Tom Tromey <tromey@redhat.com>
5497
5498 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5499 operator on Frame.
5500
55012009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5502
5503 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5504 * gdb.server/ext-attach.exp: Likewise.
5505
55062009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5507
5508 Eliminate some sleep usage.
5509
5510 * gdb.mi/basics.c (do_nothing): New.
5511 (main): Use do_nothing instead of printf, so that
5512 not to introduce race condition between output of
5513 inferiour and output of gdb. Do not use sleep as it
5514 is not generally available on embedded targets.
5515
55162009-04-02 Pedro Alves <pedro@codesourcery.com>
5517
5518 * gdb.server/ext-attach.exp: Expect an optional process id after
5519 "Detached from remote process".
5520
55212009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5524 gdb.dwarf2/dw2-unresolved.exp: New.
5525
55262009-04-02 Pedro Alves <pedro@codesourcery.com>
5527
5528 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5529 mi_run_to_main.
5530
55312009-04-02 Pedro Alves <pedro@codesourcery.com>
5532
5533 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5534 mi_run_to_main. Skip thread exit test on remote targets.
5535 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5536 mi_run_to_main.
5537 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5538 mi_run_to_main.
5539 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5540 when expecting ^connected. Detect when the target doesn't support
5541 non-stop mode.
5542 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5543 supported. Return -1 on error, 0 on success.
5544 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5545 (mi_runto): Return mi_runto_helper's result explicitly.
5546
55472009-04-01 Pedro Alves <pedro@codesourcery.com>
5548
5549 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5550
55512009-04-01 Tom Tromey <tromey@redhat.com>
5552
5553 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5554 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5555 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5556 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5557
55582009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5559 Jan Kratochvil <jan.kratochvil@redhat.com>
5560
5561 PR gdb/931
5562 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5563 output.
5564 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5565 for gdb/931.
5566 * dw2-strp.S (DW_AT_language): Change to C++.
5567 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5568
55692009-03-31 Joel Brobecker <brobecker@adacore.com>
5570
5571 * gdb.ada/tasks: New testcase.
5572
55732009-03-30 Stan Shebs <stan@codesourcery.com>
5574
5575 * gdb.trace/actions.exp: Update to match new info trace format.
5576 * gdb.trace/deltrace.exp: Ditto.
5577 * gdb.trace/infotrace.exp: Ditto.
5578 * gdb.trace/passcount.exp: Ditto.
5579 * gdb.trace/save-trace.exp: Ditto.
5580 * gdb.trace/while-stepping.exp: Ditto.
5581 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5582
55832009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5584
5585 * gdb.python/python-frame.c: New file.
5586 * gdb.python/python-frame.exp: New file.
5587
55882009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5589
5590 * gdb.python/python-value.exp: Add tests for the address
5591 attribute.
5592
55932009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5594
5595 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5596
55972009-03-26 Doug Evans <dje@google.com>
5598
5599 * gdb.mi/mi-nonstop-exit.exp: New file.
5600 * gdb.mi/non-stop-exit.c: New file.
5601
56022009-03-26 Tom Tromey <tromey@redhat.com>
5603
5604 Update for change to prologue skipping:
5605 * gdb.mi/mi2-simplerun.exp: Update.
5606 * gdb.mi/mi2-break.exp: Update.
5607 * gdb.mi/mi-simplerun.exp: Update.
5608 * gdb.mi/mi-break.exp: Update.
5609 * gdb.base/ending-run.exp: Update.
5610
56112009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5612
5613 * gdb.python/python-value.exp (test_value_in_inferior): Test
5614 gdb.Value.is_optimized_out attribute.
5615
56162009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5617
5618 * gdb.dwarf2/dw2-noloc-main.c: New file.
5619 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5620 (.text): Remove.
5621 (.data): New.
5622 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5623 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5624 (DW_TAG_subprogram func_cu1, noloc): Remove.
5625 (main): New.
5626 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5627 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5628 (file_symbols): New procedure.
5629
56302009-03-25 Tom Tromey <tromey@redhat.com>
5631
5632 * gdb.base/charset.exp (valid_target_charset): New proc.
5633 Use it to skip tests on invalid charsets.
5634
56352009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5636
5637 * gdb.base/completion.exp: Add a test for directory completion.
5638
56392009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5640
5641 Fix a racy FAIL.
5642 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5643 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5644
56452009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5646
5647 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5648 * gdb.python/python-function.exp: Add test for function returning
5649 a GDB value.
5650
56512009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5652
5653 * gdb.python/python-function.exp: New file.
5654
56552009-03-20 Tom Tromey <tromey@redhat.com>
5656
5657 * gdb.base/store.exp: Update for change to escape output.
5658 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5659 to escape output.
5660 * gdb.base/pointers.exp: Update for change to escape output.
5661 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5662 to escape output.
5663 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5664 escape output.
5665 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5666 to escape output.
5667 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5668 escape output.
5669 * gdb.base/setvar.exp: Update for change to escape output.
5670 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5671 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5672 to escape output.
5673 (test_print_string_constants): Likewise.
5674 * gdb.base/charset.exp (valid_host_charset): Check size of
5675 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5676 cases. Handle "auto"-related output.
5677 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5678 (uvar, Uvar): New globals.
5679
56802009-03-19 Jerome Guitton <guitton@adacore.com>
5681
5682 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5683 deltas.
5684 * gdb.ada/fixed_points.exp: Ditto.
5685
56862009-03-18 Pedro Alves <pedro@codesourcery.com>
5687
5688 * return-nodebug.c: Don't include stdio.h.
5689 (init): Delete.
5690 (func): Delete definition and provide extern declaration.
5691 (t): New.
5692 (main): Don't call printf. Call func and store its result in t.
5693 * return-nodebug1.c: New.
5694 * return-nodebug.exp: Don't expect stdio output. Instead, print
5695 the global variable t. Drop printf formatters and cast types from
5696 foreach loop. Don't use prepare_for_testing. Compile
5697 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5698 define FORMAT or CAST.
5699
57002009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5701
5702 * gdb.base/solib-display.exp: Disable test for remote targers.
5703
57042009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5705
5706 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5707
57082009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5709
5710 Fix a racy FAIL.
5711 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5712 code from `follow parent, print pids'.
5713 (`follow child, print pids', `follow parent, print pids'): Call it.
5714 Replace `gdb_test "break..."' by gdb_breakpoint.
5715
57162009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5717
5718 * gdb.mi/mi-cli.exp: Adjust for output difference in
5719 sync and async modes.
5720
57212009-03-12 Joel Brobecker <brobecker@adacore.com>
5722
5723 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5724 that was checked in by mistake. Remove loading of ada.exp, since
5725 this is not necessary in this case.
5726
57272009-03-12 Joel Brobecker <brobecker@adacore.com>
5728
5729 * gdb.ada/ptype_arith_binop.exp: New testcase.
5730
57312009-03-12 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.ada/mod_from_name: New testcase.
5734
57352009-03-12 Joel Brobecker <brobecker@adacore.com>
5736
5737 * gdb.ada/tick_last_segv: New testcase.
5738
57392009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5740
5741 * gdb.mi/mi-cli.exp: Remove debug print.
5742
57432009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5744
5745 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5746 include the token in ^running and frame info in *stopped.
5747
57482009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5749
5750 * solib-display.exp: New file.
5751 * solib-display-main.c: New file.
5752 * solib-display-lib.c: New file.
5753
57542009-03-05 Pedro Alves <pedro@codesourcery.com>
5755
5756 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5757
57582009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5759
5760 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5761 (list_and_check_macro): Use more specific test name.
5762 (next to definition): Make the test names unique.
5763
57642009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5765
5766 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5767
57682009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5769
5770 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5771 notifications.
5772 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5773 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5774 * lib/mi-support.exp (library_loaded_re): New.
5775 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5776
57772009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5778
5779 * gdb.gdb/observer.exp: Use test_notification observer, not
5780 normal_stop, everywhere.
5781 (test_normal_stop_notifications): Rename to...
5782 (test_notifications): ...this.
5783 (test_observer_normal_stop): Rename to...
5784 (test_observer): ...this.
5785
57862009-02-16 Doug Evans <dje@google.com>
5787
5788 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5789 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5790 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5791 (test_prefixed_syscall,test_int3): New tests.
5792 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5793 (test_prefixed_syscall,test_int3): New tests.
5794
57952009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5796
5797 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5798 (mi_expect_interrupt): Likewise.
5799 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5800 response.
5801
58022009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5803
5804 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5805 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5806 Replace calls to get_valueofx by get_hexadecimal_valueof.
5807
58082009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5809
5810 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5811 (get_integer_valueof): New procedure.
5812 (get_sizeof): Use new get_integer_value_of.
5813 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5814 by get_integer_valueof.
5815
58162009-02-13 Tom Tromey <tromey@redhat.com>
5817
5818 * gdb.base/remote.exp (get_sizeof): Remove.
5819 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5820 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5821 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5822 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5823 (get_sizeof): Likewise.
5824
58252009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 PR fortran/9806
5828 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5829
58302009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5831
5832 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5833
58342009-02-06 Pedro Alves <pedro@codesourcery.com>
5835
5836 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5837
58382009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5839
5840 * gdb.python/python-cmd.exp: New file.
5841
58422009-02-06 Tristan Gingold <gingold@adacore.com>
5843
5844 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5845
58462009-02-05 Tristan Gingold <gingold@adacore.com>
5847
5848 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5849 pointer is dereferenced and use this signal name in regexp.
5850 * gdb.base/signull.exp: Ditto.
5851 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5852 * gdb.base/signull.c (main): Ditto.
5853
58542009-02-04 Tom Tromey <tromey@redhat.com>
5855 Thiago Jung Bauermann <bauerman@br.ibm.com>
5856
5857 * gdb.python/python-value.exp: Use `gdb.history' instead of
5858 `gdb.value_from_history'.
5859 (test_value_numeric_ops): Add test for conversion of enum constant.
5860 * gdb.python/python-value.c (enum e): New type.
5861 (evalue): New global.
5862 (main): Use argv.
5863
58642009-02-04 Jerome Guitton <guitton@adacore.com>
5865
5866 * gdb.ada/uninitialized_vars: New test program.
5867 * gdb.ada/uninitialized_vars.exp: New testcase.
5868
58692009-02-02 Tom Tromey <tromey@redhat.com>
5870
5871 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5872 * gdb.cp/pr2489.cc: Rename...
5873 * gdb.cp/pr9594.cc: ... to this.
5874
58752009-02-02 Tom Tromey <tromey@redhat.com>
5876
5877 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5878 * gdb.cp/pr2489.cc: New file.
5879 * gdb.cp/cpcompletion.exp: New file.
5880
58812009-02-02 Tom Tromey <tromey@redhat.com>
5882
5883 PR exp/9059:
5884 * gdb.cp/call-c.exp: Add regression test.
5885 * gdb.cp/call-c.cc (FooHandle): New typedef.
5886 (main): New variable 'handle'.
5887
58882009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5889
5890 * lib/mi-support.exp (et_mi_thread_list)
5891 (check_mi_and_console_threads): Adjust for current thread in
5892 -thread-list-ids output.
5893
58942009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5895
5896 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5897 Call it.
5898
58992009-01-28 Doug Evans <dje@google.com>
5900
5901 * gdb.arch/amd64-disp-step.S: New file.
5902 * gdb.arch/amd64-disp-step.exp: New file.
5903 * gdb.arch/i386-disp-step.S: New file.
5904 * gdb.arch/i386-disp-step.exp: New file.
5905
59062009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5907
5908 * gdb.base/find.exp: Set newline variable
5909 using quotes instead of braces to fix cygwin failures.
5910
59112009-01-23 Pedro Alves <pedro@codesourcery.com>
5912
5913 * gdb.base/radix.exp: Add tests to ensure that that set
5914 input-radix 0 and set output-radix 0 are really rejected.
5915
59162009-01-23 Pedro Alves <pedro@codesourcery.com>
5917
5918 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5919 copyright years.
5920
59212009-01-23 Pedro Alves <pedro@codesourcery.com>
5922
5923 PR gdb/9664:
5924 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5925
59262009-01-22 Pedro Alves <pedro@codesourcery.com>
5927
5928 PR c++/9631:
5929 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5930
59312009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5932
5933 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5934 binfile definition to fix Windows OS failure.
5935
59362009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5937
5938 PR gdb/9346
5939 * gdb.base/interrupt.c (sigint_handler): New.
5940 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5941 on error.
5942 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5943 Test "signal SIGINT".
5944
59452009-01-19 Doug Evans <dje@google.com>
5946
5947 * gdb.base/break.exp: Update expected gdb output.
5948 * gdb.base/sepdebug.exp: Ditto.
5949 * gdb.mi/mi-syn-frame.exp: Ditto.
5950 * gdb.mi/mi2-syn-frame.exp: Ditto.
5951 * gdb.base/call-signal-resume.exp: New file.
5952 * gdb.base/call-signals.c: New file.
5953 * gdb.base/unwindonsignal.exp: New file.
5954 * gdb.base/unwindonsignal.c: New file.
5955 * gdb.threads/interrupted-hand-call.exp: New file.
5956 * gdb.threads/interrupted-hand-call.c: New file.
5957 * gdb.threads/thread-unwindonsignal.exp: New file.
5958
59592009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5960
5961 * gdb.base/define.exp: Test defining and hooking prefix commands.
5962 * gdb.python/python.exp: Update test for "show user" output.
5963
59642009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5965
5966 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5967 now the output exactly, using less wildcards. Expect also the output
5968 of gfortran-4.3. Update for the f-valprint.c modification from
5969 2008-04-22.
5970 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5971 Remove gdb_test test names where matching the command.
5972
59732009-01-01 Pedro Alves <pedro@codesourcery.com>
5974
5975 PR breakpoints/9681:
5976 * gdb.base/watchpoint.exp: Add regression test.
5977
59782008-12-31 Pedro Alves <pedro@codesourcery.com>
5979
5980 * gdb.threads/attach-into-signal.exp: Don't use
5981 gdb_suppress_entire_file.
5982 * gdb.threads/attach-stopped.exp: Ditto.
5983 * gdb.threads/attachstop-mt.exp: Ditto.
5984
59852008-12-31 Pedro Alves <pedro@codesourcery.com>
5986
5987 PR gdb/8812:
5988 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5989
59902008-12-29 Pedro Alves <pedro@codesourcery.com>
5991
5992 PR gdb/7536:
5993 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5994 and unsupported output radices are really rejected.
5995
59962008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5997
5998 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5999
60002008-12-22 Tom Tromey <tromey@redhat.com>
6001
6002 * gdb.cp/punctuator.exp: New file.
6003
60042008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6005
6006 * gdb.base/completion.exp (Completing non-existing component): New test.
6007
60082008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6009
6010 Fix for PR gdb/8648.
6011 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6012 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6013 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6014 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6015
60162008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6017
6018 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6019
60202008-12-16 Christophe Lyon <christophe.lyon@st.com>
6021
6022 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6023 compiler actually generate code at the expected line number.
6024
60252008-12-15 Jie Zhang <jie.zhang@analog.com>
6026
6027 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6028
60292008-12-12 Tom Tromey <tromey@redhat.com>
6030
6031 * gdb.base/commands.exp (redefine_hook_test): New proc.
6032 Call it.
6033
60342008-12-11 Tom Tromey <tromey@redhat.com>
6035
6036 * gdb.base/macscp.exp: New regression test.
6037
60382008-12-11 Tom Tromey <tromey@redhat.com>
6039
6040 * gdb.base/macscp.exp: Print "address.addr".
6041 * gdb.base/macscp1.c (struct outer): New struct.
6042 (address): New global.
6043
60442008-12-09 Tom Tromey <tromey@redhat.com>
6045
6046 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6047 Call it.
6048
60492008-12-04 Doug Evans <dje@google.com>
6050
6051 * gdb.server/ext-run.exp: Relax regexp for init program.
6052
60532008-12-03 Tristan Gingold <gingold@adacore.com>
6054
6055 * gdb.base/macscp.exp: Generate an object file during compilation
6056 to work around Darwin dsymutil limitations.
6057
60582008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 Test resolving external references to TLS variables.
6061 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6062 FILE2_THREAD_LOCAL.
6063 (testfile2, srcfile2): New variables.
6064 * gdb.threads/tls.c (file2_thread_local)
6065 (function_referencing_file2_thread_local): New.
6066 * gdb.threads/tls2.c: New file.
6067
60682008-11-28 Joel Brobecker <brobecker@adacore.com>
6069
6070 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6071 rather than integer, as integer might not be big enough when
6072 on 64bit targets.
6073
60742008-11-27 Jerome Guitton <guitton@adacore.com>
6075
6076 * gdb.cp/formatted-ref.exp: Add equality test.
6077 * gdb.ada/formatted_ref.exp: Ditto.
6078
60792008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6080
6081 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6082 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6083
60842008-11-20 Andreas Schwab <schwab@suse.de>
6085
6086 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6087 matching syscall entry point.
6088 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6089 (tcatch_vfork_then_child_follow): Likewise. Finish through
6090 vfork even if we stopped at the syscall trampoline.
6091
60922008-11-20 Doug Evans <dje@google.com>
6093
6094 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6095
60962008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6097
6098 * gdb.arch/ppc-dfp.exp: New file.
6099 * gdb.arch/ppc-dfp.c: New file.
6100
61012008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6102
6103 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6104
61052008-11-17 Doug Evans <dje@google.com>
6106
6107 * gdb.mi/mi-syn-frame.exp: Update expected output.
6108 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6109
61102008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6111
6112 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6113 "thread N" results in =thread-selected.
6114 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6115 (mi_send_resuming_command_raw): Be prepared for
6116 =thread-selected.
6117
61182008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6119
6120 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6121 * lib/mi-support.exp: Likewise.
6122
61232008-11-16 Joel Brobecker <brobecker@adacore.com>
6124
6125 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6126 commands from the expected output for "help catch".
6127
61282008-11-15 Joel Brobecker <brobecker@adacore.com>
6129
6130 * gdb.ada/int_deref.exp: New testcase.
6131
61322008-11-14 Nick Roberts <nickrob@snap.net.nz>
6133
6134 * gdb.mi/gdb2549.exp: New file.
6135
61362008-11-11 Doug Evans <dje@google.com>
6137
6138 * gdb.base/callexit.exp: New file.
6139 * gdb.base/callexit.c: New file.
6140
61412008-11-10 Doug Evans <dje@google.com>
6142
6143 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6144 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6145 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6146 (default_gdb_start,default_gdb_exit): Ditto.
6147 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6148 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6149 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6150 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6151 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6152 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6153
61542008-11-03 Andreas Schwab <schwab@suse.de>
6155
6156 * gdb.base/hashline2.exp: Fix typo.
6157 * gdb.base/hashline3.exp: Likewise.
6158
61592008-10-30 Tom Tromey <tromey@redhat.com>
6160
6161 * gdb.base/pointers.exp: Add test.
6162 * gdb.base/pointers.c (k, S): New typedefs.
6163 (instance): New global.
6164
61652008-10-30 Andreas Schwab <schwab@suse.de>
6166
6167 * gdb.base/args.exp: Add tests for newlines.
6168
61692008-10-30 Joel Brobecker <brobecker@adacore.com>
6170
6171 gdb.base/foll-exec.exp: Update the expected output of a couple
6172 of "info breakpoints" tests.
6173
61742008-10-28 Tom Tromey <tromey@redhat.com>
6175
6176 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6177
61782008-10-24 Pedro Alves <pedro@codesourcery.com>
6179
6180 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6181 gdb_start_cmd.
6182 Use runto_main before any test that requires execution.
6183
61842008-10-23 Pedro Alves <pedro@codesourcery.com>
6185
6186 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6187 instead of SIGINT.
6188
61892008-10-22 Joel Brobecker <brobecker@adacore.com>
6190
6191 * gdb.base/completion.exp: Update expected output following
6192 the addition of the "info tasks" command.
6193
61942008-10-22 Tom Tromey <tromey@redhat.com>
6195
6196 * gdb.base/exprs.exp (test_expr): Add test for string
6197 concatenation.
6198
61992008-10-19 Pedro Alves <pedro@codesourcery.com>
6200
6201 * configure.ac: Output gdb.python/Makefile.
6202 * configure: Regenerate.
6203 * gdb.python/Makefile.in: New.
6204
62052008-10-16 Joel Brobecker <brobecker@adacore.com>
6206
6207 * gdb.base/foll-fork.exp: Adjust the expected output to match
6208 the new description for fork/vfork catchpoints in the "info
6209 breakpoints" output.
6210
62112008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6212
6213 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6214
62152008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6216
6217 * gdb.python/python-value.c: New file.
6218 * gdb.python/python-value.exp: New file.
6219
62202008-10-15 Pedro Alves <pedro@codesourcery.com>
6221
6222 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6223
62242008-10-15 Denis Pilat <denis.pilat@st.com>
6225
6226 * gdb.cp/mb-ctor.exp: Fix a typo.
6227
62282008-10-09 Tom Tromey <tromey@redhat.com>
6229
6230 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6231 'fprintf' and 'stderr'.
6232
62332008-10-07 Joel Brobecker <brobecker@adacore.com>
6234
6235 * gdb.ada/ref_tick_size.exp: New testcase.
6236
62372008-10-06 Doug Evans <dje@google.com>
6238
6239 * gdb.dwarf2/dw2-cu-size.exp: New file.
6240 * gdb.dwarf2/dw2-cu-size.S: New file.
6241
6242 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6243 .Ltype_int for clarity.
6244
62452008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6246
6247 PR gdb/2384:
6248 * gdb.cp/gdb2384.exp: Extended to test more cases.
6249 * gdb.cp/gdb2384.cc: Likewise.
6250 * gdb.cp/gdb2384-base.h: Likewise.
6251 * gdb.cp/gdb2384-base.cc: Likewise.
6252
62532008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6254
6255 * gdb.base/maint.exp (maint print type): Remove printing
6256 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6257
62582008-09-30 Tom Tromey <tromey@redhat.com>
6259
6260 * gdb.base/macscp.exp: Add completion tests.
6261 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6262 (TWENTY_THREE): Likewise.
6263 (FORTY_EIGHT): Likewise.
6264
62652008-09-30 Tom Tromey <tromey@redhat.com>
6266
6267 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6268 everywhere.
6269 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6270
62712008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6272
6273 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6274 testcase is derived from. Fix racy dependency on an expected PID
6275 number. No longer support the testcase on Linux kernel 2.4.x.
6276
62772008-09-27 Tom Tromey <tromey@redhat.com>
6278
6279 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6280 and varargs.
6281
62822008-09-22 Pedro Alves <pedro@codesourcery.com>
6283
6284 * lib/mi-support.exp (mi_expect_interrupt): New.
6285 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6286 from gdb.mi/mi-nonstop.exp.
6287 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6288 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6289 lib/mi-support.exp.
6290 Use mi_check_thread_states throughout. Avoid ".*" and do not
6291 require an anchor after -exec-run.
6292
62932008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6294
6295 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6296 stop is pending. Avoid ".*" when two stops are pending.
6297 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6298 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6299 newlines in fullnames.
6300 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6301 (mi_expect_stop): Update comments. Only anchor in sync mode.
6302 Do not match newlines.
6303 (mi_send_resuming_command_raw): Always return status.
6304 (mi_get_stop_line): Do not match more than one line by accident.
6305 Only anchor in sync mode.
6306 (mi_run_inline_test): If -exec-next fails, give up.
6307
63082008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6309
6310 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6311 on SPU.
6312
63132008-09-10 Joel Brobecker <brobecker@adacore.com>
6314
6315 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6316
63172008-09-10 Joel Brobecker <brobecker@adacore.com>
6318
6319 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6320 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6321 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6322 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6323 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6324 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6325 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6326 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6327 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6328 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6329 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6330 Include the "= " sequence in the expected output of print tests.
6331
63322008-09-10 Joel Brobecker <brobecker@adacore.com>
6333
6334 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6335 description for boolean types.
6336
63372008-09-09 Pedro Alves <pedro@codesourcery.com>
6338
6339 * gdb.base/hook-stop-continue.c: New.
6340 * gdb.base/hook-stop-continue.exp: New.
6341
63422008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6343
6344 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6345
63462008-09-08 Jerome Guitton <guitton@adacore.com>
6347
6348 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6349 (stack_check_probe_2, stack_check_probe_loop_1)
6350 (stack_check_probe_loop_2): New functions.
6351 (main): Add call to these new functions.
6352 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6353 functions, check that the breakpoint is inserted at the appropriate
6354 location.
6355 (insert_breakpoint): Slightly refine this procedure so that it can
6356 be called several times in the test.
6357
63582008-09-08 Jerome Guitton <guitton@adacore.com>
6359
6360 * gdb.base/stack-checking.c: New file.
6361 * gdb.base/stack-checking.exp: New file.
6362
63632008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6364
6365 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6366 * gdb.arch/altivec-regs.exp: Likewise.
6367 * gdb.arch/vsx-regs.exp: Likewise.
6368
63692008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6370
6371 * gdb.arch/ppc-fp.exp: New file.
6372 * gdb.arch/ppc-fp.c: New file.
6373
63742008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6375
6376 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6377 lest gcc-4.3.1 optimizes the whole thing away.
6378
63792008-09-04 Michael Snyder <msnyder@vmware.com>
6380
6381 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6382 as "at" (for non-debug functions such as _start).
6383
63842008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6385
6386 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6387 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6388 software watchpoints.
6389 * gdb.base/watch_thread_num.exp: Likewise.
6390
63912008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6392
6393 * gdb.arch/i386-bp_permanent.exp: New test.
6394
63952008-08-24 Tom Tromey <tromey@redhat.com>
6396
6397 * gdb.base/maint.exp: Update "maint print type".
6398
63992008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6400
6401 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6402 support. Adjust the order of "*running" notifications.
6403 * gdb.mi/non-stop.c: Don't cast from int to void* and
6404 back.
6405
64062008-08-20 Mark Kettenis <kettenis@gnu.org>
6407
6408 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6409 expect to find it in the "info frame" output.
6410
64112008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6412
6413 * gdb.base/interp.exp: Always consume both prompts.
6414
64152008-08-20 Pedro Alves <pedro@codesourcery.com>
6416
6417 * gdb.base/pending.exp: Test pending breakpoints without symbols
6418 loaded.
6419
64202008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6421
6422 * lib/mi-support.exp (mi_expect_stop): Produce
6423 more details on failures.
6424 * gdb.mi/mi-nonstop.exp: New.
6425 * gdb.mi/non-stop.c: New.
6426
64272008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6428
6429 * gdb.mi/mi-async.exp: Use 'set target-async'.
6430 * lib/mi-support.exp: Use 'set/show target-async'.
6431
64322008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6433
6434 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6435
64362008-08-17 Tom Tromey <tromey@redhat.com>
6437
6438 * gdb.base/help.exp (help catch): Rewrite.
6439
64402008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6441
6442 * gdb.base/define.exp: Test indented command documentation.
6443 * gdb.python/python.exp: Test indented multi-line command.
6444
64452008-08-15 Luis Machado <luisgpm@br.ibm.com>
6446
6447 * testsuite/gdb.arch/vsx-regs.c: New source file.
6448 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6449 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6450
64512008-08-14 Tom Tromey <tromey@redhat.com>
6452
6453 * gdb.base/macscp.exp: Add regression test for "macro define" or
6454 "macro undef" with no arguments.
6455
64562008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6457
6458 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6459
64602008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6461
6462 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6463
64642008-08-06 Tom Tromey <tromey@redhat.com>
6465
6466 * gdb.python/python.exp: New file.
6467
64682008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6469
6470 Fix for PR gdb/1543.
6471 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6472 $LOCATION.
6473 (location): New variable.
6474 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6475 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6476 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6477 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6478 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6479 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6480 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6481 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6482 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6483 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6484 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6485 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6486 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6487 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6488 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6489 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6490 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6491 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6492 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6493 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6494 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6495 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6496 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6497 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6498 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6499 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6500 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6501 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6502 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6503 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6504 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6505 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6506 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6507 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6508 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6509 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6510 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6511 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6512 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6513 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6514 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6515 gdb.base/type-opaque.exp, gdb.base/until.exp,
6516 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6517 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6518 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6519 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6520 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6521 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6522 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6523 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6524 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6525 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6526 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6527 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6528 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6529 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6530 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6531 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6532 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6533 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6534 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6535 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6536 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6537 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6538 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6539 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6540 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6541 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6542 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6543 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6544 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6545 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6546 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6547 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6548 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6549 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6550 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6551 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6552 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6553 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6554 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6555 to bug-gdb@prep.ai.mit.edu .
6556
65572008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6558
6559 * lib/mi-support.exp (mi_load_shlibs): New.
6560 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6561
65622008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6563
6564 * lib/mi-support.exp (get_mi_thread_list)
6565 (check_mi_and_console_threads): New, moved from ...
6566 * gdb.mi/mi-pthread.exp: ...here.
6567 * gdb.mi/gdb669.exp (get_mi_thread_list)
6568 (check_mi_and_console_threads): Delete.
6569 * gdb.mi/mi2-pthread.exp: Likewise.
6570
65712008-07-28 Tom Tromey <tromey@redhat.com>
6572
6573 * Makefile.in (just-check): Remove. Move body to...
6574 (check): ... here.
6575
65762008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6577
6578 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6579 Add a test for duplicated SIGINTs.
6580
65812008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6582
6583 * gdb.threads/schedlock.exp (get_args): Update to work for any
6584 value of NUM.
6585 (Top level): Report the number of threads that did not resume.
6586
65872008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6588
6589 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6590
65912008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6592
6593 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6594 non-MI prompt.
6595
65962008-07-26 Tom Tromey <tromey@redhat.com>
6597
6598 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6599 (function_struct, function_struct_ptr): New globals.
6600 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6601 function pointer in a struct.
6602
66032008-07-26 Tom Tromey <tromey@redhat.com>
6604
6605 * gdb.base/macscp.exp: Add test for macro lexing bug.
6606
66072008-07-18 Tom Tromey <tromey@redhat.com>
6608
6609 * gdb.base/macscp.exp: Add macro tests.
6610
66112008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6612
6613 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6614
66152008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6616
6617 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6618
66192008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6620
6621 * gdb.cp/class2.exp: fix for failure on spu-elf
6622
66232008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6624
6625 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6626
66272008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6628
6629 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6630
66312008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6632
6633 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6634
66352008-07-11 Kevin Buettner <kevinb@redhat.com>
6636
6637 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6638 of regexp to account for changes made to GDB in the printing of
6639 byte vectors.
6640
66412008-07-11 Tom Tromey <tromey@redhat.com>
6642
6643 * gdb.base/completion.exp: Add 'help' completion test.
6644
66452008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6648
66492008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6650
6651 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6652
66532008-07-09 Pedro Alves <pedro@codesourcery.com>
6654
6655 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6656
66572008-07-09 Pedro Alves <pedro@codesourcery.com>
6658
6659 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6660
66612008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6664
66652008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6666
6667 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6668 previous commit. Add a comment.
6669
66702008-06-28 Pedro Alves <pedro@codesourcery.com>
6671
6672 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6673
66742008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6675
6676 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6677
66782008-06-27 Pedro Alves <pedro@codesourcery.com>
6679
6680 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6681 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6682 compiling an executable, link in an object that forces unbuffered
6683 output.
6684 * lib/set_unbuffered_mode.c: New file.
6685
66862008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6687
6688 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6689
66902008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6691
6692 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6693 mi_expect_stop.
6694 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6695 Demand that *running is output.
6696 (detect_async): Perform checking every time.
6697 (mi_send_resuming_command): Extract everything into...
6698 (mi_send_resuming_command_raw): ...this.
6699 (mi_expect_stop): Don't accept any output before *stopped.
6700
67012008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6702
6703 Robustify mi-simplerun.
6704 * gdb.mi/basics.c (main): Add a call to sleep.
6705 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6706 * gdb.mi/mi2-cli.exp: Likewise.
6707 * gdb.mi/mi-break.exp: Likewise.
6708
67092008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6710
6711 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6712
67132008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6714
6715 * gdb.mi/mi-console.exp: Adjust.
6716 * gdb.mi/mi-syn-frame.exp: Adjust.
6717 * gdb.mi/mi2-console.exp: Adjust.
6718 * gdb.mi/mi2-syn-frame.exp: Adjust.
6719 * lib/mi-support.exp (mi_run_cmd): Adjust.
6720 (mi_send_resuming_command): Adjust.
6721
67222008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6723
6724 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6725 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6726 testing of stopped.
6727 * gdb.mi/mi2-syn-frame.exp: Likewise.
6728 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6729 (async, detect_async): New.
6730 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6731 depending on if we're running in sync or async mode.
6732
67332008-06-09 Tom Tromey <tromey@redhat.com>
6734
6735 * gdb.base/completion.exp: New tests for field name completion
6736 with spaces, and field name completion with '->'.
6737
67382008-06-06 Tom Tromey <tromey@redhat.com>
6739
6740 * gdb.base/break1.c (struct some_struct): New struct.
6741 (values): New global.
6742 * gdb.base/completion.exp: Add field name completion test.
6743
67442008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6745
6746 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6747 to pointer.
6748 * gdb.cp/call-c.cc: Likewise.
6749
67502008-06-06 Nick Roberts <nickrob@snap.net.nz>
6751
6752 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6753 annotation.
6754
67552008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6756 Pedro Alves <pedro@codesourcery.com>
6757
6758 * gdb.threads/execl.c, gdb.threads/execl1.c,
6759 gdb.threads/execl.exp: New tests.
6760
67612008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6762 Daniel Jacobowitz <dan@codesourcery.com>
6763
6764 * gdb.cp/exception.exp: Activate test, make it work with pending
6765 catchpoints.
6766
67672008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6768
6769 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6770
67712008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6772
6773 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6774 now printed.
6775 * gdb.mi/mi2-var-cmd.exp: Likewise.
6776
67772008-05-27 Andreas Schwab <schwab@suse.de>
6778
6779 * gdb.base/frame-args.exp: Handle arguments that are optimized
6780 out.
6781
67822008-05-26 Luis Machado <luisgpm@br.ibm.com>
6783
6784 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6785 quiet for ppc32 and group options into a single variable.
6786
67872008-05-23 Joel Brobecker <brobecker@adacore.com>
6788
6789 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6790 of zero-size elements.
6791 * gdb.ada/null_array.exp: Test printing this new array.
6792
67932008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6794
6795 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6796
67972008-05-21 Joel Brobecker <brobecker@adacore.com>
6798
6799 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6800 of the "finish" command.
6801
68022008-05-21 Nick Roberts <nickrob@snap.net.nz>
6803
6804 * gdb.base/annota1.exp: Test for new annotation.
6805
68062008-05-16 Pedro Alves <pedro@codesourcery.com>
6807
6808 * gdb.base/fixsection.exp: New file.
6809 * gdb.base/fixsection0.c: New file.
6810 * gdb.base/fixsection1.c: New file.
6811
68122008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6813
6814 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6815 * gdb.base/annota3.exp: Likewise.
6816
68172008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6818
6819 * gdb.base/watch_thread_num.exp: Don't run tests that require
6820 watchpoints if the target doesn't support them.
6821
68222008-05-12 Doug Evans <dje@google.com>
6823
6824 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6825
68262008-05-09 Joel Brobecker <brobecker@adacore.com>
6827
6828 * gdb.ada/assign_1.exp: New testcase.
6829
68302008-05-09 Doug Evans <dje@google.com>
6831
6832 * gdb.base/find.exp: New file.
6833 * gdb.base/find.c: New file.
6834
68352008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6836
6837 * gdb.base/commands.exp (watchpoint_command_test): Handle
6838 gdb,no_hardware_watchpoints.
6839 * gdb.base/float.exp: Allow ARM targets without floating point.
6840 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6841
68422008-05-06 Jerome Guitton <guitton@adacore.com>
6843 Joel Brobecker <brobecker@adacore.com>
6844
6845 * gdb.ada/lang_switch: New test program.
6846 * gdb.ada/lang_switch.exp: New testcase.
6847
68482008-05-05 Doug Evans <dje@google.com>
6849
6850 * gdb.base/help.exp (disassemble): Update expected help text.
6851
68522008-05-04 Pedro Alves <pedro@codesourcery.com>
6853
6854 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6855
68562008-05-04 Pedro Alves <pedro@codesourcery.com>
6857
6858 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6859 different times.
6860
68612008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6862
6863 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6864 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6865 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6866 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6867
68682008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6869
6870 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6871 notification to appear.
6872
68732008-05-04 Daniel Jacobowitz <dan@debian.org>
6874
6875 * gdb.base/fullname.c: New file.
6876 * gdb.base/fullname.exp: New file.
6877 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6878
68792008-05-03 Pedro Alves <pedro@codesourcery.com>
6880
6881 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6882 expressions with macros.
6883
68842008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6885
6886 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6887
68882008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6889
6890 * gdb.base/completion.exp: Handle lack of other symbols beginning
6891 with "a".
6892
6893 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6894
68952008-05-02 Jim Blandy <jimb@codesourcery.com>
6896
6897 * gdb.asm/asmsrc1.s: Add scratch space.
6898
68992008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6900 Daniel Jacobowitz <dan@codesourcery.com>
6901
6902 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6903 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6904 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6905
69062007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6907
6908 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6909
69102008-05-01 Joel Brobecker <brobecker@adacore.com>
6911
6912 * gdb.base/info-target.exp: New testcase.
6913
69142008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6915
6916 * gdb.cp/hang.exp: Use .cc instead of .C.
6917 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6918 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6919
69202008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6921
6922 * gdb.base/gdb1250.exp: Remove perror.
6923 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6924
69252008-04-30 Pedro Alves <pedro@codesourcery.com>
6926
6927 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6928 .2byte.
6929
69302008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6931
6932 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6933 (maybe_kfail): New.
6934
69352008-04-25 Pedro Alves <pedro@codesourcery.com>
6936
6937 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6938
69392008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6940
6941 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6942 * gdb.mi/mi2-syn-frame.exp: Likewise.
6943 * lib/mi-support.exp: Likewise.
6944
69452008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6946
6947 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6948 to specify regexp for the location to stop at.
6949 * gdb.base/break-always.c: New.
6950 * gdb.base/break-always.exp: New.
6951
69522008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6953
6954 * lib/mi-support.exp (mi_runto_helper): Adjust
6955 for the original-location field.
6956 (mi_create_breakpoint, mi_list_breakpoints): New.
6957 * gdb.mi/mi-break.exp: Adjust.
6958 * gdb.mi/mi2-break.exp: Adjust.
6959 * gdb.mi/mi-pending.exp: Adjust.
6960 * gdb.mi/mi-simplerun.exp: Adjust.
6961 * gdb.mi/mi2-simplerun.exp: Adjust.
6962 * gdb.mi/mi-syn-frame.exp: Adjust.
6963 * gdb.mi/mi2-syn-frame.exp: Adjust.
6964 * gdb.mi/mi-until.exp: Adjust.
6965 * gdb.mi/mi2-until.exp: Adjust.
6966 * gdb.mi/mi-var-display.exp: Adjust.
6967 * gdb.mi/mi2-var-display.exp: Adjust.
6968 * gdb.mi/mi-watch.exp: Adjust.
6969 * gdb.mi/mi2-watch.exp: Adjust.
6970
69712008-04-23 Paolo Bonzini <bonzini@gnu.org>
6972
6973 * aclocal.m4: Add override.m4.
6974 * configure: Regenerate.
6975
69762008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6977
6978 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6979 '-var-update --all-values' reports new value even the type
6980 of a variable object has changed.
6981
69822008-04-18 Craig Silverstein <csilvers@google.com>
6983
6984 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6985 files.
6986
69872008-04-18 Joel Brobecker <brobecker@adacore.com>
6988
6989 * gdb.ada/atomic_enum: New test program.
6990 * gdb.ada/atomic_enum.exp: New testcase.
6991
69922008-04-17 Doug Evans <dje@google.com>
6993
6994 * gdb.opt/Makefile.in: Fix whitespace.
6995
69962008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6997
6998 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6999
70002008-04-17 Doug Evans <dje@google.com>
7001
7002 * gdb.base/hashline1.exp: New testcase.
7003 * gdb.base/hashline2.exp: New testcase.
7004 * gdb.base/hashline2.exp: New testcase.
7005
70062008-04-17 Pedro Alves <pedro@codesourcery.com>
7007
7008 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7009
70102008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7011
7012 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7013 temporary breakpoint to match "Temporary breakpoint".
7014 * gdb.base/break.exp (delete_breakpoints): Likewise.
7015 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7016 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7017 * gdb.base/display.exp: Likewise.
7018 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7019 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7020 * gdb.base/restore.exp (restore_tests): Likewise.
7021 * gdb.base/sepdebug.exp: Likewise.
7022 * gdb.base/watchpoint.exp: Likewise.
7023 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7024 * gdb.mi/mi-pending.exp: Likewise.
7025 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7026 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7027 * gdb.mi/mi-var-cmd.exp: Likewise.
7028 * gdb.mi/mi-var-display.exp: Likewise.
7029 * gdb.mi/mi2-cli.exp: Likewise.
7030 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7031 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7032 * gdb.mi/mi2-var-display.exp: Likewise.
7033 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7034 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7035 new "disp" field.
7036 (mi_expect_stop): Move after_reason argument to be really after
7037 reason. This is to support fix for PR2424.
7038
70392008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7040
7041 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7042
70432008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7044
7045 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7046 field. Add more floating varobj tests.
7047 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7048 field.
7049 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7050 (main): Call do_at_tests.
7051 * lib/mi-support.exp (mi_create_floating_varobj)
7052 (mi_varobj_update_with_type_change): New.
7053
70542008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7055
7056 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7057 option of -var-evaluate-expression.
7058 * gdb.mi/mi2-var-display.exp: Likewise.
7059
70602008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7061
7062 Introduce test setup helpers.
7063 * lib/gdb.exp (build_executable, clean_restart)
7064 (prepare_for_testing): New.
7065 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7066 * gdb.base/return.exp: Likewise.
7067 * gdb.base/ending-run.exp: Likewise.
7068
70692008-04-07 Nick Roberts <nickrob@snap.net.nz>
7070
7071 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7072 Interface (MI) responses.
7073
70742008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7075
7076 * gdb.cp/breakpoint.cc: New code to test conditions involving
7077 member variables.
7078 * gdb.cp/breakpoint.exp: Test condition involving member
7079 variables.
7080
70812008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7082
7083 * lib/mi-support.exp (mi_expect_stop): New.
7084 (mi_run_cmd): Change the
7085 token. Use mi_send_resuming_command, use
7086 mi_expect_stop.
7087 (mi_execute_to_helper): Rename to mi_execute_to.
7088 (mi_send_resuming_command): Add more error patterns.
7089 (mi_wait_for_stop): Renamed to...
7090 (mi_get_stop_line): ...this.
7091 (mi_run_inline_test): Adjust.
7092
7093 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7094 * gdb.mi/mi-console.exp: Likewise.
7095 * gdb.mi/mi-pending.exp: Likewise.
7096 * gdb.mi/mi-simplerun.exp: Likewise.
7097 * gdb.mi/mi-stack.exp: Likewise.
7098 * gdb.mi/mi-stepi.exp: Likewise.
7099 * gdb.mi/mi-syn-frame.exp: Add comment.
7100 * gdb.mi/mi-until.exp: Likewise.
7101 * gdb.mi/mi-var-display.exp: Likewise.
7102 * gdb.mi/mi-watch.exp: Likewise.
7103 * gdb.mi/mi2-cli.exp: Likewise.
7104 * gdb.mi/mi2-console.exp: Likewise.
7105 * gdb.mi/mi2-simplerun.exp: Likewise.
7106 * gdb.mi/mi2-stack.exp: Likewise.
7107 * gdb.mi/mi2-stepi.exp: Likewise.
7108 * gdb.mi/mi2-until.exp: Likewise.
7109 * gdb.mi/mi2-var-display.exp: Likewise.
7110 * gdb.mi/mi2-watch.exp: Likewise.
7111
71122008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7113
7114 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7115
7116 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7117
71182008-04-04 Pedro Alves <pedro@codesourcery.com>
7119
7120 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7121 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7122 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7123 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7124 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7125 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7126 expect an mi error duplicated in stderr.
7127
71282008-04-03 Joel Brobecker <brobecker@adacore.com>
7129
7130 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7131 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7132 Add a couple of tests that verify the behavior when the new setting
7133 is set to "cancel" and "all".
7134 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7135 "ask" before we start the testing.
7136
71372008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7138
7139 * gdb.cp/casts.cc: Add class reference variables.
7140 * gdb.cp/casts.exp: New test cases for up/down casting references.
7141
71422008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7143
7144 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7145 instead of beginning to make an extra test pass.
7146 * gdb.mi/mi2-var-display.exp: Likewise.
7147
71482008-03-31 Maciej W. Rozycki <macro@mips.com>
7149
7150 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7151
71522008-03-31 Markus Deuling <deuling@de.ibm.com>
7153 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7154
7155 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7156 value. Add xfail for older kernels.
7157
71582008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7159
7160 Bring mi-support in line with gdb.exp.
7161 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7162 (mi_gdb_start): New function.
7163
71642008-03-28 Maciej W. Rozycki <macro@mips.com>
7165
7166 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7167
71682008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7169
7170 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7171 * gdb.mi/mi2-var-display.exp: Likewise.
7172
71732008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7174
7175 * lib/mi-support.exp (mi_create_varobj_checked): New.
7176 (mi_list_varobj_children): Allow to check for a
7177 value.
7178 (mi_list_array_varobj_children): New.
7179
7180 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7181 and mi_list_varobj_children, as opposed to hardcoding
7182 expected strings.
7183 * gdb.mi/gdb701.exp: Likewise.
7184 * gdb.mi/gdb792.exp: Likewise.
7185 * gdb.mi/mi-var-block.exp: Likewise.
7186 * gdb.mi/mi-var-cmd.exp: Likewise.
7187 * gdb.mi/mi-var-invalidate.exp: Likewise.
7188 * gdb.mi/mi2-var-block.exp: Likewise.
7189 * gdb.mi/mi2-var-child.exp: Likewise.
7190 * gdb.mi/mi2-var-cmd.exp: Likewise.
7191 * gdb.mi/mi2-var-display.exp: Likewise.
7192
71932008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7194
7195 Fix random false FAILs on i386.
7196 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7197
71982008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7199
7200 PR gdb/544
7201 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7202
72032008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7204
7205 PR gdb/544
7206 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7207
72082008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7209
7210 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7211 fixed PR gdb/544.
7212
72132008-03-21 Pedro Alves <pedro@codesourcery.com>
7214
7215 * gdb.threads/fork-child-threads.exp: Test next over fork.
7216
72172008-03-21 Chris Demetriou <cgd@google.com>
7218
7219 * gdb.base/break.exp (rbreak junk): New test for rbreak
7220 "Junk at end of arguments" issue.
7221
72222008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7223
7224 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7225 *& to work on created array elements.
7226 (Top level): Test print $pc with a file. Test string operations
7227 without a target.
7228 * gdb.base/ptype.exp: Do not expect *& to work on created array
7229 elements.
7230
72312008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7232
7233 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7234 gdb.threads/staticthreads.exp: Update exit query.
7235
72362008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7237
7238 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7239
72402008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7241
7242 * gdb.base/watchpoint.c (global_ptr, func4): New.
7243 (main): Call func4.
7244 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7245 (test_inaccessible_watchpoint): New.
7246
72472008-02-29 Maciej W. Rozycki <macro@mips.com>
7248
7249 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7250 select the largest.
7251
72522008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7253
7254 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7255 frames-invalid annotations.
7256
72572008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7258
7259 * gdb.base/assign.exp: avoid same output for different tests.
7260
72612008-02-27 Doug Evans <dje@google.com>
7262
7263 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7264 for bug 1738.
7265 (breakpoint_to_handler_entry): Ditto.
7266
72672008-02-27 Joel Brobecker <brobecker@adacore.com>
7268
7269 * gdb.base/ending-run.exp: Use the first line of code inside
7270 function body to test breakpoints.
7271 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7272 location where the breakpoint is inserted when using the line
7273 where a function is declared. Fix typo in the description of
7274 one of the tests.
7275 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7276
72772008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7278
7279 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7280 tests.
7281
72822008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7283
7284 * gdb.base/args.exp: avoid same output for tests
7285 with single quotes.
7286
72872008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7288
7289 * gdb.base/annota1.exp: Adjust for 'info break'
7290 format changes.
7291 * gdb.base/annota3.exp: Likewise.
7292 * gdb.base/break.exp: Likewise.
7293 * gdb.base/condbreak.exp: Likewise.
7294 * gdb.base/pending.exp: Likewise.
7295 * gdb.base/sepdebug.exp: Likewise.
7296 * gdb.base/unload.exp: Likewise.
7297 * gdb.cp/ovldbreak.exp: Likewise.
7298 * gdb.mi/mi-pending.exp: Likewise.
7299
73002008-02-07 Doug Evans <dje@google.com>
7301
7302 * gdb.cp/mb-inline.exp: New.
7303 * gdb.cp/mb-inline.h: New.
7304 * gdb.cp/mb-inline1.cc: New.
7305 * gdb.cp/mb-inline2.cc: New.
7306
73072008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7308
7309 * gdb.pascal/floats.pas: New test program.
7310 * gdb.pascal/floats.exp: New testcase.
7311
73122008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7313
7314 * gdb.base/callfuncs.c (t_float_many_args): New function.
7315 (t_double_many_args): New function.
7316 * gdb.base/callfuncs.exp: Add tests for exceeding float
7317 and double parameters passed through the stack.
7318
73192008-02-05 Joel Brobecker <brobecker@adacore.com>
7320
7321 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7322 gdb.ada/complete/foo.adb: New files.
7323 * gdb.ada/complete.exp: New testcase.
7324
73252008-02-03 Doug Evans <dje@google.com>
7326
7327 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7328
7329 * gdb.cp/gdb2384.exp: New file.
7330 * gdb.cp/gdb2384.cc: New file.
7331 * gdb.cp/gdb2384-base.h: New file.
7332 * gdb.cp/gdb2384-base.cc: New file.
7333
73342008-02-02 Doug Evans <dje@google.com>
7335
7336 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7337
73382007-02-01 Joel Brobecker <brobecker@adacore.com>
7339
7340 * gdb.ada/sym_print_name: New test program.
7341 * gdb.ada/sym_print_name.exp: New testcase.
7342
73432007-02-01 Joel Brobecker <brobecker@adacore.com>
7344
7345 * gdb.ada/nested/hello.adb: New file.
7346 * gdb.ada/nested.exp: New testcase.
7347 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7348
73492008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7350
7351 * gdb.mi/basic.c (return_1): New function.
7352 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7353 don't cause future evaluations of function to report
7354 creation of internal breakpoints.
7355
73562008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7357
7358 * gdb.mi/mi-break.exp (test_error): New.
7359 Call it.
7360
73612008-01-31 Luis Machado <luisgpm@br.ibm.com>
7362
7363 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7364 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7365
73662008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7367
7368 * gdb.pascal/integers.pas: New test program.
7369 * gdb.pascal/integers.exp: New testcase.
7370
73712008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7372
7373 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7374
73752008-01-30 Luis Machado <luisgpm@br.ibm.com>
7376
7377 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7378 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7379
73802008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7381
7382 * gdb.ada/formatted_ref: New test program.
7383 * gdb.ada/formatted_ref.exp: New testcase.
7384
7385 * gdb.cp/formatted-ref.cc: New file.
7386 * gdb.cp/formatted-ref.exp: New testcase.
7387
73882008-01-30 Joel Brobecker <brobecker@adacore.com>
7389
7390 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7391
73922008-01-30 Nick Roberts <nickrob@snap.net.nz>
7393
7394 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7395 (test_file_list_exec_source_file): Update to new macro-info field.
7396
73972008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7398
7399 * gdb.ada/exprs: New test program.
7400 * gdb.ada/exprs.exp: New testcase.
7401
74022008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7403
7404 * dfp-test.c (DELTA, DELTA_B): New definitions.
7405 (double_val1, double_val2, double_val3, double_val4, double_val5,
7406 double_val6, double_val7, double_val8, double_val9, double_val10,
7407 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7408 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7409 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7410 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7411 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7412 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7413 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7414 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7415 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7416 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7417 dec128_val16): New global variables.
7418 (decimal_dec128_align): New function.
7419 (decimal_mixed): Likewise.
7420 (decimal_many_args_dec32): Likewise.
7421 (decimal_many_args_dec64): Likewise.
7422 (decimal_many_args_dec128): Likewise.
7423 (decimal_many_args_mixed): Likewise.
7424 * dfp-test.exp: Add tests calling new inferior functions.
7425
74262008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7427
7428 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7429 gdb.server/ext-run.exp: New files.
7430 * lib/gdbserver-support.exp (gdbserver_download): New.
7431 (gdbserver_start): New. Update gdbserver expected
7432 output.
7433 (gdbserver_spawn): Use them.
7434 (gdbserver_start_extended): New.
7435
74362008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7437
7438 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7439 Run on GNU/Linux.
7440 (do_exec_tests): Check for systems which do not support catchpoints.
7441 Do not match START.
7442 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7443 Run on GNU/Linux. Enable verbose output.
7444 (check_fork_catchpoints): New.
7445 (explicit_fork_child_follow, catch_fork_child_follow)
7446 (tcatch_fork_parent_follow): Update expected messages.
7447 (do_fork_tests): Use check_fork_catchpoints.
7448 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7449 Run on GNU/Linux. Enable verbose output.
7450 (check_vfork_catchpoints): New.
7451 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7452 expected messages.
7453 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7454
74552008-01-29 Jim Blandy <jimb@red-bean.com>
7456
7457 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7458 host' errors.
7459 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7460
74612008-01-29 Jim Blandy <jimb@red-bean.com>
7462
7463 * gdb.threads/sigthread.c: Use barriers to ensure that
7464 child_thread and child_thread_two are always initialized before we
7465 start to use them.
7466
74672008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7468
7469 * gdb.base/watchpoint-solib.exp: New.
7470 * gdb.base/watchpoint-solib.c: New.
7471 * gdb.base/watchpoint-solib-shr.c: New.
7472
74732008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7474
7475 * gdb.base/gdb1056.exp: Add unsigned integer test.
7476
74772008-01-28 Doug Evans <dje@google.com>
7478
7479 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7480
74812008-01-27 Jim Blandy <jimb@codesourcery.com>
7482
7483 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7484
7485 * gdb.base/expand-psymtabs.exp: Doc fix.
7486
74872008-01-26 Mark Kettenis <kettenis@gnu.org>
7488
7489 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7490
74912008-01-24 Nick Roberts <nickrob@snap.net.nz>
7492
7493 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7494 -var-set-format.
7495
74962008-01-23 Chris Demetriou <cgd@google.com>
7497
7498 * gdb.threads/thread_events.c: New testcase source file.
7499 * gdb.threads/thread_events.exp: New testcase expect file.
7500
75012008-01-23 Nick Roberts <nickrob@snap.net.nz>
7502
7503 * lib/gdb.exp: Add the variable octal.
7504
7505 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7506 -var-set-format.
7507
75082008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7509 Vladimir Prus <vladimir@codesourcery.com>
7510
7511 * gdb.base/float.exp: Allow missing floating point for m68k and
7512 PowerPC.
7513
75142008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7515
7516 * gdb.mi/basics.c: Setup for testing breakpoints
7517 ignore count.
7518 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7519 * gdb.mi/mi-cli.exp: Adjust.
7520 * gdb.mi/mi2-cli.exp: Adjust.
7521
75222008-01-17 Pedro Alves <pedro@codesourcery.com>
7523
7524 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7525 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7526 with dummy_ptr's address.
7527 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7528 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7529 all targets.
7530 * gdb.mi/mi2-var-child.exp: Likewise.
7531
75322008-01-09 Joel Brobecker <brobecker@adacore.com>
7533
7534 * gdb.ada/null_array: New test program.
7535 * gdb.ada/null_array.exp: New testcase.
7536
75372008-01-09 Luis Machado <luisgpm@br.ibm.com>
7538
7539 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7540 with required float modifiers.
7541
75422008-01-08 Joel Brobecker <brobecker@adacore.com>
7543
7544 * gdb.ada/funcall_param: New test program.
7545 * gdb.ada/funcall_param.exp: New testcase.
7546
75472008-01-08 Joel Brobecker <brobecker@adacore.com>
7548
7549 * gdb.ada/arrayparam: New test program.
7550 * gdb.ada/arrayparam.exp: New testcase.
7551
75522008-01-08 Joel Brobecker <brobecker@adacore.com>
7553
7554 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7555 landed. Should also fix random failures in the test following it.
7556
75572008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7558
7559 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7560 for expressions with decimal float values.
7561 (test_dfp_conversions): New function to test casts to and from
7562 decimal float types.
7563 Call test_dfp_conversions.
7564 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7565 elements.
7566 (main): Initialize ds.float4 and ds.double8 elements.
7567 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7568 string to new error message.
7569 (d64_set_tests): Likewise.
7570 (d128_set_tests): Likewise.
7571 Add tests for expressions with decimal float variables. Add tests for
7572 conversions to and from decimal float types.
7573
75742008-01-05 Joel Brobecker <brobecker@adacore.com>
7575
7576 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7577 * gdb.ada/packed_tagged.exp: New testcase.
7578
75792008-01-04 Joel Brobecker <brobecker@adacore.com>
7580
7581 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7582 gdb.ada/homonym/homonym_main.adb: New files.
7583 * gdb.ada/homonym.exp: New testcase.
7584
75852008-01-04 Joel Brobecker <brobecker@adacore.com>
7586
7587 * gdb.ada/packed_array.exp: Add testing of references to
7588 a packed array.
7589
75902008-01-04 Joel Brobecker <brobecker@adacore.com>
7591
7592 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7593 New files.
7594 * gdb.ada/type_coercion.exp: New testcase.
7595
75962008-01-04 Joel Brobecker <brobecker@adacore.com>
7597
7598 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7599 gdb.ada/tagged/foo.adb: New file.
7600 * gdb.ada/tagged.exp: New testcase.
7601
76022008-01-04 Joel Brobecker <brobecker@adacore.com>
7603
7604 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7605 gdb.ada/ptype_field/foo.adb: New files.
7606 * gdb.ada/ptype_field.exp: New testcase.
7607
76082008-01-03 Joel Brobecker <brobecker@adacore.com>
7609
7610 * gdb.ada/print_pc.exp: New testcase.
7611
76122008-01-03 Joel Brobecker <brobecker@adacore.com>
7613
7614 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7615 gdb.ada/taft_type/p.adb: New files.
7616 * gdb.ada/taft_type.exp: New testcase.
7617
76182008-01-03 Joel Brobecker <brobecker@adacore.com>
7619
7620 * gdb.ada/array_bounds/bar.adb: New file.
7621 * gdb.ada/array_bounds.exp: New testcase.
7622
76232008-01-03 Joel Brobecker <brobecker@adacore.com>
7624
7625 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7626 gdb.ada/arrayptr/foo.adb: New files.
7627 * gdb.ada/arrayptr.exp: New testcase.
7628
76292008-01-03 Joel Brobecker <brobecker@adacore.com>
7630
7631 * gdb.base/set-lang-auto.exp: New testcase.
7632
76332008-01-03 Joel Brobecker <brobecker@adacore.com>
7634
7635 * gdb.ada/fun_addr/foo.adb: New file.
7636 * gdb.ada/fun_addr.exp: New testcase.
7637
76382008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7639
7640 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7641 New files
7642
76432008-01-02 Joel Brobecker <brobecker@adacore.com>
7644
7645 * array_subscript_addr/p.adb: New file.
7646 * array_subscript_addr.exp: New testcase.
7647
76482008-01-02 Joel Brobecker <brobecker@adacore.com>
7649
7650 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7651 New files.
7652 * gdb.ada/str_cmp_ref.exp: New testcase.
7653
76542008-01-01 Joel Brobecker <brobecker@adacore.com>
7655
7656 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7657 gdb.ada/fun_in_declare/foo.adb: New files.
7658 * gdb.ada/fun_in_declare.exp: New testcase.
7659
76602008-01-01 Joel Brobecker <brobecker@adacore.com>
7661
7662 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7663 gdb.ada/ref_param/pck.ads: New files.
7664 * gdb.ada/ref_param.exp: New testcase.
7665
76662008-01-01 Joel Brobecker <brobecker@adacore.com>
7667
7668 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7669 gdb.ada/interface/foo.adb: New files.
7670 * gdb.ada/interface.exp: New testcase.
7671
76722007-12-31 Jim Blandy <jimb@codesourcery.com>
7673
7674 * gdb.base/multi-forks.exp: Consume all output from child
7675 processes before proceeding to next test.
7676
76772007-12-29 Jim Blandy <jimb@codesourcery.com>
7678
7679 * configure: Regenerated.
7680
76812007-12-27 Joel Brobecker <brobecker@adacore.com>
7682
7683 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7684 gdb.ada/fixed_cmp/fixed.adb: New files.
7685 * gdb.ada/fixed_cmp.exp: New testcase.
7686
76872007-12-27 Joel Brobecker <brobecker@adacore.com>
7688
7689 * gdb.ada/boolean_expr.exp: New testcase.
7690
76912007-12-26 Jim Blandy <jimb@codesourcery.com>
7692
7693 * gdb.base/multi-forks.exp: Doc fix.
7694
76952007-12-26 Joel Brobecker <brobecker@adacore.com>
7696
7697 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7698 * gdb.ada/char_param.exp: Do not compile our test program with
7699 -gnata, this is unnecessary.
7700 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7701
77022007-12-24 Joel Brobecker <brobecker@adacore.com>
7703
7704 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7705 gdb.ada/print_chars/foo.adb: New files.
7706 * gdb.ada/print_chars.exp: New testcase.
7707
77082007-12-24 Joel Brobecker <brobecker@adacore.com>
7709
7710 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7711 gdb.ada/char_param/foo.adb: New files.
7712 * gdb.ada/char_param.exp: New testcase.
7713
77142007-12-22 Jim Blandy <jimb@codesourcery.com>
7715
7716 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7717 hard-coding source line numbers into the test.
7718 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7719 gdb_get_line_number to find.
7720
77212007-12-22 Joel Brobecker <brobecker@adacore.com>
7722
7723 * gdb.base/ptype.c (highest): New struct type.
7724 (the_highest): New variable of that type.
7725 (main): Add dummy assignment to a field of variable the_highest.
7726 * gdb.base/ptype.exp: Test type printing of our new variable.
7727
77282007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7729
7730 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7731 and record first explicitly generated thread number.
7732 Use that thread number for thread specific watchpoint test.
7733 Add iteration number to repetitive tests.
7734
77352007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7736 Jim Blandy <jimb@codesourcery.com>
7737
7738 * gdb.base/expand-psymtabs.c: New testcase
7739 source file.
7740 * gdb.base/expand-psymtabs.exp: New testcase
7741 expect file.
7742
77432007-12-17 Luis Machado <luisgpm@br.ibm.com>
7744
7745 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7746 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7747
77482007-12-17 Joel Brobecker <brobecker@adacore.com>
7749
7750 * gdb.ada/frame_args/foo.adb: New file.
7751 * gdb.ada/frame_args/pck.ads: New file.
7752 * gdb.ada/frame_args/pck.adb: New file.
7753 * gdb.ada/frame_args.exp: New testcase.
7754
77552007-12-17 Joel Brobecker <brobecker@adacore.com>
7756
7757 * gdb.base/frame-args.c: New file.
7758 * gdb.base/frame-args.exp: New testcase.
7759
77602007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7761 Joseph Myers <joseph@codesourcery.com>
7762
7763 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7764
77652007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7766
7767 * gdb.mi/mi-pending.exp: New.
7768 * gdb.mi/mi-pending.c: New.
7769 * gdb.mi/mi-pendshr.c: New.
7770
77712007-12-06 Jim Blandy <jimb@codesourcery.com>
7772
7773 * gdb.base/default.exp: Update expected output for 'info catch'.
7774
77752007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7776
7777 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7778 must be set to binary.
7779
77802007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7781
7782 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7783
77842007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7785
7786 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7787 gdb.mi/mi-file-transfer.exp: New.
7788
77892007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7790
7791 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7792
77932007-11-22 Maciej W. Rozycki <macro@mips.com>
7794
7795 * gdb.trace/backtrace.exp: Fix a typo.
7796 * gdb.trace/circ.exp: Likewise.
7797 * gdb.trace/collection.exp: Likewise.
7798 * gdb.trace/limits.exp: Likewise.
7799 * gdb.trace/report.exp: Likewise.
7800 * gdb.trace/tfind.exp: Likewise.
7801 * gdb.trace/while-dyn.exp: Likewise.
7802
78032007-11-21 Nick Roberts <nickrob@snap.net.nz>
7804
7805 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7806 objects of pointers that can't be dereferenced are now
7807 "noneditable".
7808
78092007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7810
7811 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7812 (target_cpu): Remove.
7813
78142007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7815
7816 * gdb.base/ending-run.exp: Expect the list of cleared
7817 breakpoint to come in natural order, not the reversed one.
7818
78192007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7820
7821 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7822 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7823
78242007-11-05 Luis Machado <luisgpm@br.ibm.com>
7825
7826 * gdb.base/printcmds.exp: New function
7827 test_printf_with_dfp.
7828
78292007-11-02 Doug Evans <dje@google.com>
7830
7831 * gdb.disasm/t01_mov.s: Remove carriage returns.
7832 * gdb.disasm/t02_mova.s: Ditto.
7833 * gdb.disasm/t03_add.s: Ditto.
7834 * gdb.disasm/t04_sub.s: Ditto.
7835 * gdb.disasm/t05_cmp.s: Ditto.
7836 * gdb.disasm/t06_ari2.s: Ditto.
7837 * gdb.disasm/t07_ari3.s: Ditto.
7838 * gdb.disasm/t08_or.s: Ditto.
7839 * gdb.disasm/t09_xor.s: Ditto.
7840 * gdb.disasm/t10_and.s: Ditto.
7841 * gdb.disasm/t11_logs.s: Ditto.
7842 * gdb.disasm/t12_bit.s: Ditto.
7843 * gdb.disasm/t13_otr.s: Ditto.
7844
78452007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7846
7847 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7848
78492007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7850
7851 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7852 provide DFP support.
7853
78542007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7855
7856 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7857 Test "set powerpc vector-abi". Skip auto-detection tests for old
7858 toolchains.
7859
78602007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7861
7862 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7863 with [string compare].
7864
78652007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7866
7867 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7868 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7869
78702007-10-25 Luis Machado <luisgpm@br.ibm.com>
7871
7872 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7873 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7874 * gdb.opt/Makefile.in: New makefile.
7875 * Makefile.in: Create new directory "gdb.opt".
7876 * configure.ac: Add "gdb.opt" directory.
7877 * configure: Regenerated.
7878
78792007-10-25 Doug Evans <dje@google.com>
7880
7881 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7882 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7883
78842007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7885 Thiago Jung Bauermann <bauerman@br.ibm.com>
7886
7887 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7888 Floating Point expressions.
7889 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7890 Floating Point variables.
7891 * gdb.base/dfp-test.c: new file containing program with Decimal
7892 Floating variables, used by gdb.base/dfp-test.exp.
7893
78942007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7895
7896 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7897
78982007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7899
7900 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7901 compiling test case with GCC.
7902 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7903
79042007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7905
7906 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7907 format changes.
7908
79092007-10-18 Michael Snyder <msnyder@specifix.com>
7910
7911 * gdb.base/dbx.exp: Add missing "-re " operator.
7912
79132007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7914
7915 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7916 * configure.ac: Removed trailing spaces after backslash.
7917 * gdb.modula2: New directory.
7918 * gdb.modula2/Makefile.in: New file.
7919 * gdb.modula2/unbounded-array.exp: New file.
7920 * gdb.modula2/unbounded1.c: New file.
7921
79222007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7923
7924 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7925
79262007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7927
7928 * gdb.base/sigstep.c (main): Add checks for
7929 return values for setitimer call.
7930 Call setitimer again with itimer = ITIMER_REAL
7931 if first call to setitimer fails.
7932
79332007-10-11 Kazu Hirata <kazu@codesourcery.com>
7934
7935 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7936 of $timeout.
7937
79382007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7939
7940 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7941
79422007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7943
7944 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7945 of gdb_expect call, to avoid interruption.
7946
79472007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7948
7949 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7950 (v_unsigned_long_long, v_long_long_array)
7951 (v_signed_long_long_array, v_unsigned_long_long_array)
7952 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7953 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7954 [!NO_LONG_LONG]: New.
7955 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7956 v_long_long_member.
7957
7958 (v_long_long_func, v_signed_long_long_func)
7959 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7960 (main) [!NO_LONG_LONG]: Initialize long long variants.
7961
7962 * gdb.base/whatis.exp: If board file requests no_long_long, build
7963 test with NO_LONG_LONG defined. Test long long, signed long long,
7964 and unsigned long long variants but only if board file doesn't
7965 disable it.
7966
79672007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7968 Daniel Jacobowitz <dan@codesourcery.com>
7969
7970 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7971 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7972 * configure: Regenerated.
7973 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7974 gdb.pascal/types.exp, lib/pascal.exp: New files.
7975
79762007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7977
7978 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7979 call.
7980 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7981 to return to the call.
7982 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7983 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7984 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7985 * gdb.mi/mi-until.exp (test_until): Likewise.
7986 * gdb.mi/mi2-until.exp (test_until): Likewise.
7987
79882007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7989
7990 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7991 two-char array.
7992 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7993
79942007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7995
7996 * gdb.threads/watchthreads.c (thread_function): Sleep between
7997 iterations.
7998 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7999 at once for S/390. Generate matching fails and passes.
8000
80012007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8002
8003 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8004 the 'struct_declarations' variable to zeros.
8005
80062007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8007
8008 * gdb.cp/mb-ctor.cc: New.
8009 * gdb.cp/mb-ctor.exp: New.
8010 * gdb.cp/mb-templates.cc: New.
8011 * gdb.cp/mb-templates.exp: New.
8012
80132007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8014
8015 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8016
80172007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8018
8019 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8020 targets.
8021 * configure: Regenerate.
8022
80232007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8024
8025 * gdb.base/annota1.exp: Adjust for 'info break'
8026 format changes.
8027 * gdb.base/annota3.exp: Likewise.
8028 * gdb.base/break.exp: Likewise.
8029 * gdb.base/condbreak.exp: Likewise.
8030 * gdb.base/pending.exp: Likewise.
8031 * gdb.base/sepdebug.exp: Likewise.
8032 * gdb.base/unload.exp: Likewise.
8033 * gdb.base/ovldbreak.exp: Likewise.
8034
80352007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8036
8037 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8038 messages.
8039 * gdb.base/chng-syms.exp: Likewise.
8040 * gdb.base/unload.exp: Likewise.
8041
80422007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8043
8044 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8045
80462007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8047
8048 * schedlock.c (NUM): Change to 1.
8049 (main): Use args[0] for the main thread.
8050 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8051 regardless of the number of threads.
8052
80532007-09-14 Maciej W. Rozycki <macro@mips.com>
8054
8055 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8056 type down.
8057 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8058 test.
8059 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8060 watchpoint type down.
8061 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8062 test.
8063
80642007-09-14 Maciej W. Rozycki <macro@mips.com>
8065
8066 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8067 Move all the tests here and run them twice, once using software
8068 watchpoints and once using hardware watchpoints.
8069 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8070
80712007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8072
8073 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8074 test.
8075
80762007-09-10 Mark Kettenis <kettenis@gnu.org>
8077
8078 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8079 build-id.
8080
8081 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8082 know about $ORIGIN. Calculate output dir from $dest instead of
8083 using ${objdir}/{$subdir}.
8084
80852007-09-09 Mark Kettenis <kettenis@gnu.org>
8086
8087 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8088 gcore, before continuing with the test.
8089
80902007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8091
8092 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8093 * gdb.mi/mi-watch.exp: Likewise.
8094
80952007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8096 Jim Blandy <jimb@codesourcery.com>
8097
8098 * gdb.arch/i386-sse.exp: Do not expect character constants.
8099 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8100 * gdb.base/display.exp: Allow print/s.
8101 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8102 and unsigned char array changes.
8103
81042007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8105
8106 * gdb.base/display.exp: Add tests for printf %p.
8107
81082007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8109
8110 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8111 the dll name to unicode.
8112
81132007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8114
8115 * gdb.base/default.exp (show version): Update the version text.
8116 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8117
81182007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8119
8120 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8121 New files.
8122
81232007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8124
8125 * lib/gdb.exp (build_id_debug_filename_get): New function.
8126 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8127 Remove the generate DEBUG file for the future testcase runs.
8128 New testcase for the NT_GNU_BUILD_ID retrieval.
8129 Move the final testing step to ...
8130 (test_different_dir): ... a new function.
8131 New parameter XFAIL to XFAIL all the tests performed.
8132 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8133 New parameter TYPE to PF_PREFIX all the tests performed.
8134
81352007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8136
8137 * gdb.mi/mi-var-cp.cc (path_expression): New
8138 function.
8139 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8140
81412007-08-27 Markus Deuling <deuling@de.ibm.com>
8142
8143 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8144 to fit into SPU Local Store memory.
8145
81462007-08-23 Joel Brobecker <brobecker@adacore.com>
8147
8148 * gdb.base/default.exp: Adjust the expected output of "info
8149 warranty" after the switch to GPLv3.
8150
81512007-08-23 Joel Brobecker <brobecker@adacore.com>
8152
8153 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8154 to 30000 (from 20000).
8155
81562007-08-23 Joel Brobecker <brobecker@adacore.com>
8157
8158 Switch the license of all .exp files to GPLv3.
8159 Switch the license of all .f and .f90 files to GPLv3.
8160 Switch the license of all .s and .S files to GPLv3.
8161
81622007-08-23 Joel Brobecker <brobecker@adacore.com>
8163
8164 * configure.ac: Switch license to GPLv3.
8165
81662007-08-23 Joel Brobecker <brobecker@adacore.com>
8167
8168 Switch the licensing to GPLv3 for all .ads and .adb files.
8169
81702007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8171
8172 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8173 and t_int_double.
8174 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8175
81762007-08-17 Joel Brobecker <brobecker@adacore.com>
8177
8178 * gdb.base/step-line.c: Switch license to GPL version 3, and
8179 update copyright year.
8180 * gdb.base/step-line.inp: Likewise.
8181
81822007-08-17 Joel Brobecker <brobecker@adacore.com>
8183
8184 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8185 changes inside gdb1555.c.
8186 * gdb.base/pending.exp: Likewise.
8187
81882007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8189
8190 * config/default.exp: New file.
8191
81922007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8193
8194 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8195 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8196
81972007-07-30 Maciej W. Rozycki <macro@mips.com>
8198
8199 * gdb.base/dump.exp: Force the correct endianness for binary
8200 formats not carrying this information.
8201
82022007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8203
8204 * gdb.threads/staticthreads.exp: Match .*sem_post.
8205
82062007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8207
8208 * gdb.base/readline.exp (operate_and_get_next): Match the final
8209 prompt.
8210
82112007-07-23 Kevin Buettner <kevinb@redhat.com>
8212
8213 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8214 to restarting SID.
8215
82162007-07-18 Kevin Buettner <kevinb@redhat.com>
8217
8218 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8219 prior to `gdb_start'.
8220
82212007-07-18 Kevin Buettner <kevinb@redhat.com>
8222
8223 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8224 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8225 Remove call to gdb_unload.
8226
82272007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8228 Daniel Jacobowitz <dan@codesourcery.com>
8229
8230 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8231 for __WIN32__.
8232 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8233 * gdb.base/unload.exp: Use shared library test routines.
8234
82352007-07-03 Markus Deuling <deuling@de.ibm.com>
8236
8237 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8238 * gdb.base/solib-symbol-lib.c: Likewise.
8239 * gdb.base/solib-symbol-main.c: Likewise.
8240
82412007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8242
8243 * config/gdbserver.exp (gdb_reconnect): New.
8244 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8245 gdb.base/solib-disc.exp: New files.
8246 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8247 remote debugging".
8248 (gdb_compile): Add shlib_load flag.
8249 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8250 port.
8251 (gdbserver_reconnect): New.
8252
82532007-07-01 Nick Roberts <nickrob@snap.net.nz>
8254 Daniel Jacobowitz <dan@codesourcery.com>
8255
8256 * gdb.base/annota3.exp: Test for if construct.
8257
82582007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8259
8260 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8261
82622007-06-21 Chris Dearman <chris@mips.com>
8263 Maciej W. Rozycki <macro@mips.com>
8264
8265 * gdb.base/display.exp: Allow a newline after display/i.
8266 * gdb.base/pc-fp.exp: Likewise.
8267 * gdb.base/sigbpt.exp: Likewise.
8268
82692007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8270
8271 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8272 required features to be included.
8273
82742007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8275
8276 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8277 in info threads output.
8278
82792007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8280 Markus Deuling <deuling@de.ibm.com>
8281
8282 * gdb.arch/spu-info.exp: New testcase.
8283 * gdb.arch/spu-info.c: New file.
8284
82852007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8286
8287 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8288 tpcs_offset. Restore lr after the call.
8289 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8290
82912007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8292
8293 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8294 (gdbserver_run): Kill any running gdbserver.
8295 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8296
82972007-05-17 Maciej W. Rozycki <macro@mips.com>
8298
8299 * gdb.base/sigbpt.exp: Preset segv_addr.
8300
83012007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8302
8303 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8304 (gdb_compile_shlib): Likewise.
8305 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8306 (default_gdb_init): Clear cleanfiles.
8307 (gdb_finish): Delete recorded cleanfiles.
8308 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8309
8310 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8311 Do not use isnative.
8312 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8313 gdb.base/so-impl-ld.exp: Likewise.
8314 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8315 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8316 gdb_compile.
8317
83182007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8319
8320 * config/unknown.exp: Remove.
8321
83222007-05-15 Markus Deuling <deuling@de.ibm.com>
8323
8324 * gdb.base/info-proc.exp: Check is_remote.
8325
83262007-05-14 Markus Deuling <deuling@de.ibm.com>
8327
8328 * gdb.base/gcore.exp: Initialize variable core_supported.
8329
83302007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8331
8332 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8333
83342007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8335
8336 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8337 * gdb.threads/print-threads.exp (test_all_threads): Allow
8338 negative and hexadecimal thread IDs.
8339
83402007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8341
8342 * gdb.java/jprint.java (public): Avoid invalid call to static
8343 method.
8344
83452007-05-14 Denis Pilat <denis.pilat@st.com>
8346
8347 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8348 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8349 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8350 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8351 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8352
83532007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8354
8355 * gdb.base/overlays.exp: Add support for targets with only code
8356 overlay support, not data overlay. Support spu-*-* target in
8357 this mode.
8358 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8359 * gdb.base/spu.ld: New file.
8360
83612007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8362
8363 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8364
83652007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8366
8367 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8368
83692007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8370
8371 * gdb.java/jmain.exp: Handle demangled names with and without method
8372 signatures.
8373
83742007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8375
8376 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8377 (have_a_very_merry_interrupt): Remove calls to puts.
8378 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8379 inferior output.
8380 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8381 test names.
8382
83832007-04-29 Markus Deuling <deuling@de.ibm.com>
8384 Daniel Jacobowitz <dan@codesourcery.com>
8385
8386 * gdb.base/auxv.exp (core_works): Also check is_remote.
8387 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8388
83892007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8390
8391 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8392 message, not the undefined 'module' variable.
8393 * gdb.base/siginfo.exp: Likewise.
8394 * gdb.base/sigstep.exp: Likewise.
8395 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8396 serialport.
8397 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8398
83992007-04-25 Corinna Vinschen <vinschen@redhat.com>
8400
8401 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8402 target sim fails. Return 0 otherwise.
8403 (gdb_load): Return prematurely if gdb_target_sim fails.
8404
84052007-04-16 Denis Pilat <denis.pilat@st.com>
8406
8407 * gdb.base/setshow.exp: Reset height after having set it to 100.
8408
84092007-04-16 Denis Pilat <denis.pilat@st.com>
8410
8411 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8412
84132007-04-16 Denis Pilat <denis.pilat@st.com>
8414
8415 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8416
84172007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8418
8419 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8420 tests. Run the frozen varobjs test.
8421 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8422 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8423
84242007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8425
8426 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8427 gdb.base/type-opaque.exp: New files.
8428
84292007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8430
8431 * gdb.mi/mi-var-child.c
8432 (do_children_tests): User char[2] instead of
8433 char so that automatic printing of pointers to char
8434 don't give unpredicable result.
8435 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8436 local variables.
8437 * gdb.mi/mi-var-child.exp: Step to right line
8438 of do_children_tests.
8439 * gdb.mi/mi2-var-child.exp: Likewise.
8440 * gdb.mi/mi-var-cmd.exp: Step to right line of
8441 do_locals_tests.
8442 (do_children_tests): User char[2] instead of
8443 char so that automatic printing of pointers to char
8444 don't give unpredicable result.
8445 * gdb.mi/mi2-var-cmd.exp: Likewise.
8446 * lib/mi-support.exp (mi_continue_to_line):
8447 Pass test name to mi_wait_for_stop.
8448
84492007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8450
8451 * gdb.asm/asm-source.exp: Remove d10v case.
8452 * lib/gdb.exp (skip_cplus_tests): Likewise.
8453 * gdb.asm/d10v.inc: Deleted.
8454
84552007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8456
8457 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8458
84592007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8460
8461 * config/netware.exp: Delete file.
8462
84632007-03-29 Joel Brobecker <brobecker@adacore.com>
8464
8465 * gdb.dwarf2/dw2-noloc.S: New file.
8466 * gdb.dwarf2/dw2-noloc.exp: New file.
8467
84682007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8469
8470 * gdb.cp/method2.cc: New test.
8471 * gdb.cp/method2.exp: New test.
8472 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8473
84742007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8475
8476 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8477
84782007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8479
8480 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8481
84822007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8483
8484 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8485 (gdb_load): Delete, replace with...
8486 (gdb_reload): ...this.
8487 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8488 * gdb.server/server-mon.exp: Likewise.
8489 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8490 (gdb_start_cmd): New.
8491 (gdb_file_cmd): Save the last loaded file.
8492 (gdb_reload): New.
8493 (gdb_gnu_strip_debug): Use transform.
8494 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8495 support here. Use new $last_loaded_file. Check mtime.
8496 (gdb_target_cmd): Handle ObjC failure case.
8497 (infer_host_exec): Delete.
8498 (gdbserver_load): Rename to...
8499 (gdbserver_run): ...this. Simplify.
8500 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8501 (mi_gdb_load): Move most contents to a new function...
8502 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8503 (mi_run_cmd): Use mi_gdb_target_load.
8504 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8505 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8506 Use gdb_run_cmd.
8507 * gdb.base/charsign.exp: Remove incorrect comment.
8508 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8509 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8510 gdb.base/start.exp: Use gdb_start_cmd.
8511
85122007-03-23 Nigel Stephens <nigel@mips.com>
8513 Maciej W. Rozycki <macro@mips.com>
8514
8515 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8516 * gdb.base/signull.exp: Similarly.
8517
85182007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8519
8520 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8521 messages available to test cases (like chng-sym.exp).
8522
85232007-03-14 Andreas Schwab <schwab@suse.de>
8524
8525 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8526 format changes.
8527
85282007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8529
8530 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8531 (optimized_1): New.
8532 (main): Call optimized_1.
8533 (gdb2029): Correct typos. Call gdb2029_marker.
8534 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8535 for gdb2029.
8536
85372007-03-12 Mark Kettenis <kettenis@gnu.org>
8538
8539 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8540 as tabs. Remove redundant test pattern.
8541
85422007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8543
8544 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8545 for /a format output.
8546
85472007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8550 collect output incrementally.
8551
85522007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8553
8554 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8555 for -var-create lpcharacter test.
8556 * gdb.mi/mi2-var-cmd.exp: Likewise.
8557
85582007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8559
8560 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8561 pass on targets where address zero is readable.
8562
85632007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8564
8565 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8566 just a single architecture.
8567
85682007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8569
8570 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8571 (fetch_all_registers): New function, uses gdb_test_multiple and
8572 exp_continue to fetch inferior output line-by-line.
8573 Replace all uses of do_get_all_registers by fetch_all_registers.
8574
85752007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8576
8577 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8578 in target_info.
8579
85802007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8581
8582 * gdb.threads/manythreads.exp: Use $message string for
8583 consistancy; add a default (timeout) case.
8584
85852007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8586
8587 * gdb.base/watchpoint.exp: Fix truncated comment.
8588
85892007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8590
8591 * Makefile.in: Remove spurious single-quotes from sed command.
8592
85932007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8594
8595 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8596 func.
8597 * gdb.mi/mi2-var-cmd.exp: Likewise.
8598
85992007-02-27 Joel Brobecker <brobecker@adacore.com>
8600
8601 * gdb.dwarf2/dw2-producer.S: New file.
8602 * gdb.dwarf2/dw2-producer.exp: New testcase.
8603
86042007-02-27 Nick Roberts <nickrob@snap.net.nz>
8605
8606 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8607 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8608 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8609 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8610 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8611 Revert tests to use mi_gdb_test and include value field in output
8612 of -var-create.
8613
86142007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8615
8616 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8617
86182007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8619
8620 * gdb.base/maint.exp: Remove full paths from test names.
8621 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8622 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8623
86242007-02-27 Joel Brobecker <brobecker@adacore.com>
8625
8626 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8627
86282007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8629
8630 * gdb.server/server-mon.exp: New test.
8631
86322007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8633
8634 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8635
86362007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8637
8638 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8639 register capitalization.
8640
86412007-02-13 Denis Pilat <denis.pilat@st.com>
8642
8643 * gdb.mi/mi-var-invalidate.exp: New file.
8644
86452007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8646
8647 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8648
86492007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8650
8651 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8652
86532007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8654
8655 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8656 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8657
86582007-02-08 Nick Roberts <nickrob@snap.net.nz>
8659
8660 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8661 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8662 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8663 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8664 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8665 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8666 Update tests to include value field in output of -var-create.
8667
86682007-02-08 Andreas Schwab <schwab@suse.de>
8669
8670 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8671
86722007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8673
8674 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8675 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8676
86772007-02-02 Denis Pilat <denis.pilat@st.com>
8678
8679 * gdb.threads/threadapply.exp: check that frame is not changed by
8680 the thread apply all command.
8681
86822007-01-31 Andreas Schwab <schwab@suse.de>
8683
8684 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8685
8686 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8687 in the dwarf sections.
8688 * gdb.dwarf2/mac-fileno.S: Likewise.
8689
8690 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8691 bspstore register on ia64.
8692
86932007-01-29 Andreas Schwab <schwab@suse.de>
8694
8695 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8696 "frame-begin" annotation.
8697
8698 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8699 number of "frames-invalid" annotations.
8700
87012007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8702
8703 * gdb.base/commands.exp: Call if_commands_test.
8704 (gdb_test_no_prompt, if_commands_test): New.
8705
87062007-01-28 Mark Kettenis <kettenis@gnu.org>
8707
8708 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8709
87102007-01-27 Andreas Schwab <schwab@suse.de>
8711
8712 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8713 .short/.int/.quad in the dwarf sections.
8714 * gdb.dwarf2/dw2-intercu.S: Likewise.
8715 * gdb.dwarf2/dw2-intermix.S: Likewise.
8716
87172007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8718
8719 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8720 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8721 array.
8722 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8723 * gdb.base/setvar.exp: Likewise.
8724
87252007-01-26 Andreas Schwab <schwab@suse.de>
8726
8727 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8728 test.
8729
8730 * gdb.base/multi-forks.exp ("restart $i"): Also match
8731 __kernel_syscall_via_break.
8732
87332007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8734
8735 * lib/mi-support.exp (mi_delete_varobj): New.
8736 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8737 testcase.
8738 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8739 (main): Call the above.
8740 (reference_update_test, base_in_reference_test)
8741 (reference_to_pointer): Delete the created varobjs.
8742
87432007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8744
8745 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8746 * configure: Regenerated.
8747 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8748 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8749 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8750 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8751 * lib/gdb.exp (gdb_skip_xml_test): New function.
8752
87532007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8754
8755 * gdb.base/sigrepeat.exp: Correct error message.
8756
87572007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8758 Daniel Jacobowitz <dan@codesourcery.com>
8759
8760 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8761 gdb.arch/i386-gnu-cfi-asm.S: New files.
8762
87632007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8764
8765 * lib/gdb.exp: Abort on missing `site.exp'.
8766
87672007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8768 Daniel Jacobowitz <dan@codesourcery.com>
8769
8770 * gdb.base/included.c, gdb.base/included.exp,
8771 gdb.base/included.h: New files.
8772
87732007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8774
8775 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8776 (maximize_rlimit): Reduce limits on 64-bit systems.
8777
87782007-01-19 Mark Kettenis <kettenis@gnu.org>
8779
8780 From Marcus Deuling <deuling@de.ibm.com>:
8781 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8782 every case.
8783
87842007-01-13 Nick Roberts <nickrob@snap.net.nz>
8785
8786 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8787 (test_path_specification): Use objdir instead of srcdir to always
8788 get an absolute filename.
8789
87902007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8791
8792 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8793
87942007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8795
8796 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8797 Make sure the variable we're using is in scope.
8798 (reference_to_pointer): Likewise.
8799
88002007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8801
8802 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8803 has no debug information.
8804
88052007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8806
8807 * gdb.base/annota1.exp: Remove extra send_gdb.
8808
88092007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8810
8811 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8812
88132007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8814
8815 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8816
88172007-01-08 Nick Roberts <nickrob@snap.net.nz>
8818 Daniel Jacobowitz <dan@codesourcery.com>
8819
8820 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8821 lcharacter or linteger change. Correct duplicated test name.
8822 * gdb.mi/mi2-var-cmd.exp: Likewise.
8823
88242007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8825
8826 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8827
88282007-01-05 Joel Brobecker <brobecker@adacore.com>
8829
8830 * gdb.base/nofield.c: New file.
8831 * gdb.base/nofield.exp: New testcase.
8832
88332007-01-05 Nick Roberts <nickrob@snap.net.nz>
8834
8835 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8836
8837 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8838 test.
8839
88402007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8841
8842 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8843
88442007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8845
8846 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8847 when continuing.
8848
88492007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8850
8851 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8852 Expect ".exe" extension.
8853
88542007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8855
8856 * gdb.base/charset.exp: Add explicit filename to break.
8857 * gdb.base/dbx.exp: Add explicit filename to breaks.
8858
88592007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8860
8861 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8862 * gdb.mi/mi2-file.exp: Likewise.
8863
88642007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8865
8866 Implement specification of MI tests as comments
8867 in C and C++ sources.
8868 * lib/mi-support.exp (mi_autotest_data): New variable.
8869 (mi_autotest_source): New variable.
8870 (count_newlines, mi_prepare_inline_tests)
8871 (mi_get_inline_test, mi_continue_to_line)
8872 (mi_run_inline_test, mi_tbreak)
8873 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8874 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8875 Run inline tests.
8876 * gdb.mi/mi-var-cp.cc: Define tests here.
8877
88782007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8879
8880 Simplify usage of mi_continue_to.
8881 * lib/mi-support.exp (mi_runto_helper): Renamed
8882 from mi_runto, added new parameter 'run_or_continue'.
8883 (mi_runto): Use mi_runto_helper.
8884 (mi_continue_to): Accept just function name as parameter.
8885 Use mi_runto_helper.
8886 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8887 * gdb.mi/mi2-var-cmd.exp: Likewise.
8888
88892006-01-04 Joel Brobecker <brobecker@adacore.com>
8890
8891 Make this testcase a bit more realistic. The current code
8892 is too simplistic, and allows the compiler to optimize out
8893 some of the entities we need for this testcase.
8894 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8895 (Do_Nothing): Add extra parameter.
8896 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8897 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8898 by using a variable of type Void_Star.
8899
89002006-01-04 Joel Brobecker <brobecker@adacore.com>
8901
8902 * gdb.ada/catch_ex/foo.adb: New file.
8903 * gdb.ada/catch_ex.exp: New testcase.
8904
89052007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8906
8907 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8908 pass --image-base to linker.
8909
89102007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8911 Daniel Jacobowitz <dan@codesourcery.com>
8912
8913 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8914 secondary prompts.
8915
89162007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8917
8918 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8919 output. Test the types of members and member pointers.
8920 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8921 gdb/2092.
8922 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8923 statement. Enable for GCC. Update expected output for some tests
8924 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8925 layout.
8926 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8927 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8928 (Diamond::vget_base): New.
8929 (main): Add new tests.
8930 * gdb.cp/printmethod.exp: Update expected output for member functions.
8931 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8932 print pEe->D::vg().
8933
89342007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8935
8936 * gdb.threads/tls.exp: Allow stops in sem_post.
8937
89382006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8939
8940 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8941 * gdb.base/annota3.exp: Likewise.
8942 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8943 again (instead of timing out).
8944 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8945 GCC bug 26475.
8946 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8947 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8948 test from jmisc1.exp.
8949 * gdb.java/jmisc1.exp: Delete.
8950 * gdb.java/jprint.exp: Adjust to work with method signatures including
8951 return types.
8952 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8953 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8954 * lib/java.exp (compile_java_from_source): Pass the correct type
8955 to target_compile.
8956
89572006-12-31 Joel Brobecker <brobecker@adacore.com>
8958
8959 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8960 (stack_align_edx): New function.
8961 (stack_align_eax): New function.
8962 (main): Add calls to stack_align_edx and stack_align_eax.
8963 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8964 Add testing for the cases where the register used during a stack
8965 realignment is edx. Same for eax.
8966
89672006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8968
8969 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8970 and generic PE targets.
8971
89722006-12-29 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.ada/array_return.exp: Update copyright date list.
8975
89762006-12-27 Joel Brobecker <brobecker@adacore.com>
8977
8978 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8979 (Create_Small_Float_Vector): New function.
8980 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8981 function body.
8982 * gdb.ada/array_return/p.adb: Use new type and function from
8983 package Pck.
8984 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8985 able to print the value returned by a function returning an
8986 array of float.
8987
89882006-12-20 Joel Brobecker <brobecker@adacore.com>
8989
8990 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8991 The associated tests should be PASSing.
8992
89932006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8994
8995 Test for base in references.
8996 * gdb.mi/mi-var-cp.cc: Add test code.
8997 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8998 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8999 * gdb.mi/mi2-watch.exp: Likewise.
9000 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9001 (mi_list_varobj_children): New function.
9002
90032006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9004
9005 * lib/mi-support.exp
9006 (mi_runto): Accept "()" after function name.
9007 (mi_create_varobj): New function.
9008 (mi_varobj_update): New function.
9009 (mi_Check_varobj_value): New function.
9010 * gdb.mi/mi-var-cp.exp: New file.
9011 * gdb.mi/mi-var-cp.cc: New file.
9012
90132006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9014
9015 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9016 gdb.base/weaklib2.c: New files.
9017
90182006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9019
9020 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9021 info. Adjust test names.
9022
9023 * gdb.base/break.c (main): Move position of malloc.
9024 * gdb.base/break.exp: Revert mistaken checkin.
9025
90262006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9027
9028 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9029 assignement of arrays and function pointers.
9030 * gdb.mi/var-cmd.c: Add declaration necessary for above
9031 tests.
9032
90332006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9034
9035 * gdb.base/break.c (main): Call malloc.
9036
9037 * gdb.threads/linux-dp.exp: Read thread table before and after
9038 creating each philosopher and verify it.
9039
90402006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9041 Paul Brook <paul@codesourcery.com>
9042 Daniel Jacobowitz <dan@codesourcery.com>
9043
9044 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9045 main to remove duplication. Add start function of the form
9046 '_*start[1-9]*'. Add RVDS start function.
9047
90482006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9049
9050 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9051
90522006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9053
9054 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9055 * gdb.asm/spu.inc: New file.
9056 * gdb.base/term.exp: Disable if [target_info exists noargs].
9057 * gdb.gdb/complaints.exp: Disable if ![isnative].
9058 * gdb.gdb/selftest.exp: Likewise.
9059 * gdb.gdb/observer.exp: Likewise.
9060 * gdb.gdb/xfullpath.exp: Likewise.
9061 * gdb.base/attach.exp: Disable on SPU target.
9062 * gdb.cp/bs145503.exp: Likewise.
9063 * gdb.cp/exception.exp: Likewise.
9064 * gdb.cp/userdef.exp: Likewise.
9065
90662006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9067
9068 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9069
90702006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9071
9072 * gdb.base/completion.exp: Fix completion tests for
9073 'info' and 'info '.
9074 * gdb.base/help.exp (help_test_raw, test_class_help)
9075 (test_prefix_command_help): Move...
9076 * lib/gdb.exp: Here.
9077 * gdb.base/main.exp: Adjust.
9078 * gdb.cp/maint.exp: Adjust.
9079 * gdb.trace/tracecmd.exp: Use test_help_class.
9080
90812006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9082
9083 * gdb.stabs/weird.exp (print_weird_var): Use
9084 gdb_test_multiple instead of gdb_expect.
9085
90862006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9087
9088 * gdb.base/help.exp (help_test_raw): New.
9089 (test_class_help): New.
9090 (test_prefix_command_help): New.
9091 Adjust testcases.
9092
90932006-11-09 Christophe Lyon <christophe.lyon@st.com>
9094
9095 * gdb.base/constvars.c (main): Write to crass and crips, so that
9096 they are allocated by the compiler.
9097
90982006-10-27 Andreas Schwab <schwab@suse.de>
9099
9100 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9101 "detach-fork".
9102
91032006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9104
9105 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9106 of patterns.
9107
91082006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9109
9110 * gdb.base/sepdebug.exp: Remove debug format test.
9111 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9112 Handle no-symtab.
9113 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9114
91152006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9116
9117 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9118 int to pointer or pointer to int.
9119 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9120
91212006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9122
9123 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9124
91252006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9126
9127 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9128
91292006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9130
9131 PR c++/2116
9132 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9133
91342006-10-06 Joel Brobecker <brobecker@adacore.com>
9135
9136 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9137 the corresponding bug has been fixed in GDB (PR/2018).
9138
91392006-10-06 Joel Brobecker <brobecker@adacore.com>
9140
9141 * gdb.base/subst.exp: New testcase.
9142
91432006-10-06 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.ada/array_return/pck.ads: Add copyright notice.
9146 * gdb.ada/array_return/pck.adb: Likewise.
9147 * gdb.ada/array_return/p.adb: Likewise.
9148 * gdb.ada/exec_changed/first.adb: Likewise.
9149 * gdb.ada/exec_changed/second.adb: Likewise.
9150
91512006-10-06 Joel Brobecker <brobecker@adacore.com>
9152
9153 * gdb.ada/watch_arg/watch.adb: New file.
9154 * gdb.ada/watch_arg.exp: New testcase.
9155
91562006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9157
9158 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9159 via string_to_regexp.
9160 * gdb.mi/mi2-basics.exp: Likewise.
9161
91622006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9163
9164 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9165 Remove unused / obsolete files.
9166
91672006-09-19 Nick Roberts <nickrob@snap.net.nz>
9168
9169 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9170
91712006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9172
9173 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9174 HIGH_FRAME argument to -stack-list-arguments can be larger than
9175 the number of frames.
9176
91772006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9178
9179 * gdb.base/args.c (main): Add breakpoint marker.
9180 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9181 really test empty arguments.
9182 (args_load): Delete.
9183 (args_test): New.
9184
91852006-09-13 Nick Roberts <nickrob@snap.net.nz>
9186
9187 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9188 check for one file.
9189
91902006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9191
9192 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9193 HIGH_FRAME argument to -stack-list-locals can be larger than
9194 the number of frames.
9195
91962006-08-18 Fred Fish <fnf@specifix.com>
9197
9198 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9199 '$' in front of skip_vmx_tests_saved when setting that.
9200
92012006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9202
9203 * gdb.base/trace-commands.exp: New file.
9204
92052006-08-10 Joel Brobecker <brobecker@adacore.com>
9206 Daniel Jacobowitz <dan@codesourcery.com>
9207
9208 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9209 expected output of the backtrace commands.
9210
92112006-08-09 Joel Brobecker <brobecker@adacore.com>
9212
9213 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9214 untested followed by return combination.
9215 * gdb.arch/altivec-regs.exp: Likewise.
9216 * gdb.arch/e500-abi.exp: Likewise.
9217 * gdb.arch/e500-regs.exp: Likewise.
9218 * gdb.arch/gdb1291.exp: Likewise.
9219 * gdb.arch/gdb1431.exp: Likewise.
9220 * gdb.arch/gdb1558.exp: Likewise.
9221 * gdb.arch/i386-prologue.exp: Likewise.
9222 * gdb.arch/i386-unwind.exp: Likewise.
9223 * gdb.asm/asm-source.exp: Likewise.
9224 * gdb.base/a2-run.exp: Likewise.
9225 * gdb.base/advance.exp: Likewise.
9226 * gdb.base/all-bin.exp: Likewise.
9227 * gdb.base/annota1.exp: Likewise.
9228 * gdb.base/annota3.exp: Likewise.
9229 * gdb.base/args.exp: Likewise.
9230 * gdb.base/arithmet.exp: Likewise.
9231 * gdb.base/assign.exp: Likewise.
9232 * gdb.base/async.exp: Likewise.
9233 * gdb.base/attach.exp: Likewise.
9234 * gdb.base/bang.exp: Likewise.
9235 * gdb.base/bigcore.exp: Likewise.
9236 * gdb.base/bitfields.exp: Likewise.
9237 * gdb.base/bitfields2.exp: Likewise.
9238 * gdb.base/break.exp: Likewise.
9239 * gdb.base/call-sc.exp: Likewise.
9240 * gdb.base/call-strs.exp: Likewise.
9241 * gdb.base/callfuncs.exp: Likewise.
9242 * gdb.base/checkpoint.exp: Likewise.
9243 * gdb.base/chng-syms.exp: Likewise.
9244 * gdb.base/code-expr.exp: Likewise.
9245 * gdb.base/commands.exp: Likewise.
9246 * gdb.base/completion.exp: Likewise.
9247 * gdb.base/cond-expr.exp: Likewise.
9248 * gdb.base/condbreak.exp: Likewise.
9249 * gdb.base/consecutive.exp: Likewise.
9250 * gdb.base/constvars.exp: Likewise.
9251 * gdb.base/corefile.exp: Likewise.
9252 * gdb.base/cvexpr.exp: Likewise.
9253 * gdb.base/dbx.exp: Likewise.
9254 * gdb.base/define.exp: Likewise.
9255 * gdb.base/detach.exp: Likewise.
9256 * gdb.base/display.exp: Likewise.
9257 * gdb.base/dump.exp: Likewise.
9258 * gdb.base/ena-dis-br.exp: Likewise.
9259 * gdb.base/ending-run.exp: Likewise.
9260 * gdb.base/environ.exp: Likewise.
9261 * gdb.base/eval-skip.exp: Likewise.
9262 * gdb.base/exprs.exp: Likewise.
9263 * gdb.base/fileio.exp: Likewise.
9264 * gdb.base/finish.exp: Likewise.
9265 * gdb.base/float.exp: Likewise.
9266 * gdb.base/foll-exec.exp: Likewise.
9267 * gdb.base/foll-fork.exp: Likewise.
9268 * gdb.base/foll-vfork.exp: Likewise.
9269 * gdb.base/freebpcmd.exp: Likewise.
9270 * gdb.base/funcargs.exp: Likewise.
9271 * gdb.base/gcore.exp: Likewise.
9272 * gdb.base/gdb1090.exp: Likewise.
9273 * gdb.base/gdb1250.exp: Likewise.
9274 * gdb.base/huge.exp: Likewise.
9275 * gdb.base/info-proc.exp: Likewise.
9276 * gdb.base/interrupt.exp: Likewise.
9277 * gdb.base/jump.exp: Likewise.
9278 * gdb.base/langs.exp: Likewise.
9279 * gdb.base/lineinc.exp: Likewise.
9280 * gdb.base/list.exp: Likewise.
9281 * gdb.base/logical.exp: Likewise.
9282 * gdb.base/long_long.exp: Likewise.
9283 * gdb.base/macscp.exp: Likewise.
9284 * gdb.base/maint.exp: Likewise.
9285 * gdb.base/mips_pro.exp: Likewise.
9286 * gdb.base/miscexprs.exp: Likewise.
9287 * gdb.base/multi-forks.exp: Likewise.
9288 * gdb.base/opaque.exp: Likewise.
9289 * gdb.base/overlays.exp: Likewise.
9290 * gdb.base/pc-fp.exp: Likewise.
9291 * gdb.base/pointers.exp: Likewise.
9292 * gdb.base/printcmds.exp: Likewise.
9293 * gdb.base/psymtab.exp: Likewise.
9294 * gdb.base/ptype.exp: Likewise.
9295 * gdb.base/recurse.exp: Likewise.
9296 * gdb.base/relational.exp: Likewise.
9297 * gdb.base/relocate.exp: Likewise.
9298 * gdb.base/remote.exp: Likewise.
9299 * gdb.base/reread.exp: Likewise.
9300 * gdb.base/restore.exp: Likewise.
9301 * gdb.base/return.exp: Likewise.
9302 * gdb.base/return2.exp: Likewise.
9303 * gdb.base/scope.exp: Likewise.
9304 * gdb.base/sect-cmd.exp: Likewise.
9305 * gdb.base/sep.exp: Likewise.
9306 * gdb.base/sepdebug.exp: Likewise.
9307 * gdb.base/setshow.exp: Likewise.
9308 * gdb.base/setvar.exp: Likewise.
9309 * gdb.base/sigall.exp: Likewise.
9310 * gdb.base/sigbpt.exp: Likewise.
9311 * gdb.base/signals.exp: Likewise.
9312 * gdb.base/signull.exp: Likewise.
9313 * gdb.base/sizeof.exp: Likewise.
9314 * gdb.base/solib.exp: Likewise.
9315 * gdb.base/step-line.exp: Likewise.
9316 * gdb.base/step-test.exp: Likewise.
9317 * gdb.base/structs.exp: Likewise.
9318 * gdb.base/structs2.exp: Likewise.
9319 * gdb.base/term.exp: Likewise.
9320 * gdb.base/twice.exp: Likewise.
9321 * gdb.base/until.exp: Likewise.
9322 * gdb.base/varargs.exp: Likewise.
9323 * gdb.base/volatile.exp: Likewise.
9324 * gdb.base/watchpoint.exp: Likewise.
9325 * gdb.base/whatis-exp.exp: Likewise.
9326 * gdb.base/whatis.exp: Likewise.
9327 * gdb.cp/ambiguous.exp: Likewise.
9328 * gdb.cp/annota2.exp: Likewise.
9329 * gdb.cp/annota3.exp: Likewise.
9330 * gdb.cp/bool.exp: Likewise.
9331 * gdb.cp/breakpoint.exp: Likewise.
9332 * gdb.cp/casts.exp: Likewise.
9333 * gdb.cp/class2.exp: Likewise.
9334 * gdb.cp/classes.exp: Likewise.
9335 * gdb.cp/cplusfuncs.exp: Likewise.
9336 * gdb.cp/ctti.exp: Likewise.
9337 * gdb.cp/derivation.exp: Likewise.
9338 * gdb.cp/exception.exp: Likewise.
9339 * gdb.cp/gdb1355.exp: Likewise.
9340 * gdb.cp/hang.exp: Likewise.
9341 * gdb.cp/inherit.exp: Likewise.
9342 * gdb.cp/local.exp: Likewise.
9343 * gdb.cp/m-data.exp: Likewise.
9344 * gdb.cp/m-static.exp: Likewise.
9345 * gdb.cp/member-ptr.exp: Likewise.
9346 * gdb.cp/method.exp: Likewise.
9347 * gdb.cp/misc.exp: Likewise.
9348 * gdb.cp/namespace.exp: Likewise.
9349 * gdb.cp/overload.exp: Likewise.
9350 * gdb.cp/ovldbreak.exp: Likewise.
9351 * gdb.cp/pr-1023.exp: Likewise.
9352 * gdb.cp/pr-1210.exp: Likewise.
9353 * gdb.cp/pr-574.exp: Likewise.
9354 * gdb.cp/printmethod.exp: Likewise.
9355 * gdb.cp/psmang.exp: Likewise.
9356 * gdb.cp/ref-params.exp: Likewise.
9357 * gdb.cp/ref-types.exp: Likewise.
9358 * gdb.cp/rtti.exp: Likewise.
9359 * gdb.cp/templates.exp: Likewise.
9360 * gdb.cp/try_catch.exp: Likewise.
9361 * gdb.cp/userdef.exp: Likewise.
9362 * gdb.cp/virtfunc.exp: Likewise.
9363 * gdb.disasm/am33.exp: Likewise.
9364 * gdb.disasm/h8300s.exp: Likewise.
9365 * gdb.disasm/mn10300.exp: Likewise.
9366 * gdb.disasm/sh3.exp: Likewise.
9367 * gdb.disasm/t01_mov.exp: Likewise.
9368 * gdb.disasm/t02_mova.exp: Likewise.
9369 * gdb.disasm/t03_add.exp: Likewise.
9370 * gdb.disasm/t04_sub.exp: Likewise.
9371 * gdb.disasm/t05_cmp.exp: Likewise.
9372 * gdb.disasm/t06_ari2.exp: Likewise.
9373 * gdb.disasm/t07_ari3.exp: Likewise.
9374 * gdb.disasm/t08_or.exp: Likewise.
9375 * gdb.disasm/t09_xor.exp: Likewise.
9376 * gdb.disasm/t10_and.exp: Likewise.
9377 * gdb.disasm/t11_logs.exp: Likewise.
9378 * gdb.disasm/t12_bit.exp: Likewise.
9379 * gdb.disasm/t13_otr.exp: Likewise.
9380 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9381 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9382 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9383 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9384 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9385 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9386 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9387 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9388 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9389 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9390 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9391 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9392 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9393 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9394 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9395 * gdb.mi/gdb701.exp: Likewise.
9396 * gdb.mi/gdb792.exp: Likewise.
9397 * gdb.mi/mi-basics.exp: Likewise.
9398 * gdb.mi/mi-break.exp: Likewise.
9399 * gdb.mi/mi-cli.exp: Likewise.
9400 * gdb.mi/mi-console.exp: Likewise.
9401 * gdb.mi/mi-disassemble.exp: Likewise.
9402 * gdb.mi/mi-eval.exp: Likewise.
9403 * gdb.mi/mi-file.exp: Likewise.
9404 * gdb.mi/mi-read-memory.exp: Likewise.
9405 * gdb.mi/mi-regs.exp: Likewise.
9406 * gdb.mi/mi-return.exp: Likewise.
9407 * gdb.mi/mi-simplerun.exp: Likewise.
9408 * gdb.mi/mi-stack.exp: Likewise.
9409 * gdb.mi/mi-stepi.exp: Likewise.
9410 * gdb.mi/mi-syn-frame.exp: Likewise.
9411 * gdb.mi/mi-until.exp: Likewise.
9412 * gdb.mi/mi-var-block.exp: Likewise.
9413 * gdb.mi/mi-var-child.exp: Likewise.
9414 * gdb.mi/mi-var-cmd.exp: Likewise.
9415 * gdb.mi/mi-var-display.exp: Likewise.
9416 * gdb.mi/mi-watch.exp: Likewise.
9417 * gdb.mi/mi2-basics.exp: Likewise.
9418 * gdb.mi/mi2-break.exp: Likewise.
9419 * gdb.mi/mi2-cli.exp: Likewise.
9420 * gdb.mi/mi2-console.exp: Likewise.
9421 * gdb.mi/mi2-disassemble.exp: Likewise.
9422 * gdb.mi/mi2-eval.exp: Likewise.
9423 * gdb.mi/mi2-file.exp: Likewise.
9424 * gdb.mi/mi2-read-memory.exp: Likewise.
9425 * gdb.mi/mi2-regs.exp: Likewise.
9426 * gdb.mi/mi2-return.exp: Likewise.
9427 * gdb.mi/mi2-simplerun.exp: Likewise.
9428 * gdb.mi/mi2-stack.exp: Likewise.
9429 * gdb.mi/mi2-stepi.exp: Likewise.
9430 * gdb.mi/mi2-syn-frame.exp: Likewise.
9431 * gdb.mi/mi2-until.exp: Likewise.
9432 * gdb.mi/mi2-var-block.exp: Likewise.
9433 * gdb.mi/mi2-var-child.exp: Likewise.
9434 * gdb.mi/mi2-var-cmd.exp: Likewise.
9435 * gdb.mi/mi2-var-display.exp: Likewise.
9436 * gdb.mi/mi2-watch.exp: Likewise.
9437 * gdb.stabs/exclfwd.exp: Likewise.
9438 * gdb.stabs/weird.exp: Likewise.
9439 * gdb.threads/gcore-thread.exp: Likewise.
9440 * gdb.trace/actions.exp: Likewise.
9441 * gdb.trace/backtrace.exp: Likewise.
9442 * gdb.trace/circ.exp: Likewise.
9443 * gdb.trace/collection.exp: Likewise.
9444 * gdb.trace/deltrace.exp: Likewise.
9445 * gdb.trace/infotrace.exp: Likewise.
9446 * gdb.trace/limits.exp: Likewise.
9447 * gdb.trace/packetlen.exp: Likewise.
9448 * gdb.trace/passc-dyn.exp: Likewise.
9449 * gdb.trace/passcount.exp: Likewise.
9450 * gdb.trace/report.exp: Likewise.
9451 * gdb.trace/save-trace.exp: Likewise.
9452 * gdb.trace/tfind.exp: Likewise.
9453 * gdb.trace/tracecmd.exp: Likewise.
9454 * gdb.trace/while-dyn.exp: Likewise.
9455 * gdb.trace/while-stepping.exp: Likewise.
9456
94572006-08-08 Joel Brobecker <brobecker@adacore.com>
9458
9459 * gdb.base/step-bt.c: New file.
9460 * gdb.base/step-bt.exp: New testcase.
9461
94622006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9463
9464 * config/monitor.exp (gdb_load): Remove support for obsolete
9465 download-write-size.
9466 * gdb.base/remote.exp: Likewise. Update all callers of
9467 gdb_timed_load.
9468
94692006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9470
9471 * cursal.exp: Pass binfile to gdb_load.
9472
94732006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9474
9475 * gdb.base/cursal.exp: Add "" to gdb_load call.
9476
94772006-07-29 Mark Kettenis <kettenis@gnu.org>
9478
9479 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9480 NetBSD/ELF targets.
9481
94822006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9483
9484 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9485 operator*.
9486
94872006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9488
9489 * gdb.base/completion.exp: Update for change in "file" behavior.
9490 * gdb.stabs/weird.exp: Likewise.
9491 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9492 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9493
94942006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9495
9496 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9497 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9498
94992006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9500
9501 * gdb.base/default.exp: Update source command error message.
9502 * gdb.base/help.exp: Update 'help source' message.
9503
95042006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9505
9506 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9507 test.
9508
95092006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9510
9511 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9512
95132006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9514
9515 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9516
95172006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9518
9519 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9520
95212006-07-17 Mark Kettenis <kettenis@gnu.org>
9522
9523 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9524 *-*-openbsd* from targets for wich we expect ARM FPA floating
9525 point format.
9526
95272006-07-17 Nick Roberts <nickrob@snap.net.nz>
9528
9529 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9530
95312006-07-17 Mark Kettenis <kettenis@gnu.org>
9532
9533 * gdb.base/annota3.exp: Expect frame-begin annotation.
9534
95352006-07-14 Joel Brobecker <brobecker@adacore.com>
9536
9537 * gdb.base/help.exp: Adjust "help unset" test to accept
9538 any list of unset commands.
9539
95402006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9541 Daniel Jacobowitz <dan@codesourcery.com>
9542
9543 * gdb.cp/ref-params.exp: New test.
9544 * gdb.cp/ref-params.cc: New source file.
9545 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9546
95472006-07-08 Mark Kettenis <kettenis@gnu.org>
9548
9549 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9550 spaces/tabs in regular expressions since they might not be there.
9551
95522006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9553
9554 * gdb.base/ifelse.exp: New file.
9555
95562006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9557
9558 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9559 line.
9560 * gdb.base/huge.exp: Loop over compilation to find a size that
9561 is acceptable.
9562 * gdb.base/remote.exp: Correct expected strings.
9563 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9564
95652006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9566
9567 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9568
95692006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9570
9571 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9572 native.
9573
95742006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9575
9576 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9577 enable stabs testing.
9578
95792006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9580
9581 * gdb.base/auxv.exp: Intercept undefined command messages before
9582 gdb_test_multiple does.
9583
95842006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9585
9586 * Makefile.in (host_alias): Remove.
9587 (target_alias): Use @target_noncanonical@.
9588 (site.exp): Don't set host_alias.
9589 * aclocal.m4: Remove contents. Include acx.m4.
9590 * configure: Regenerated.
9591 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9592
95932006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9594
9595 * lib/gdb.exp (gdb_load_cmd): New.
9596
9597 * gdb.base/fileio.c: Add system(NULL) test.
9598 * gdb.base/fileio.exp: Check it.
9599
9600 * gdb.base/break.c: Add 10a breakpoint at }
9601 * gdb.base/break.exp: Add test for breakpoint at }
9602 * gdb.cp/anon-union.cc: Add code at end of function.
9603 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9604 * gdb.mi/var-cmd.c: Add code at end of function.
9605 * gdb.mi/mi-var-display.exp: Adjust end of next.
9606 * gdb.mi/mi2-var-display.exp: Likewise.
9607 * gdb.base/fileio.c: Add stop function and insert calls at
9608 stopping places.
9609 * gdb.base/fileio.exp: Breakpoint stop function and remove
9610 explicit line number references.
9611
96122006-05-19 Joel Brobecker <brobecker@adacore.com>
9613
9614 * gdb.base/del.exp (test_delete_alias): New function.
9615 Now check that both "del" and "d" work as aliases for "delete".
9616
96172006-05-18 Fred Fish <fnf@specifix.com>
9618
9619 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9620 required. Check for spurious output after program exits normally.
9621
96222006-05-17 Fred Fish <fnf@specifix.com>
9623
9624 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9625 gdb_load, so it works in the simulator.
9626
96272006-05-11 Fred Fish <fnf@specifix.com>
9628
9629 * gdb.base/bang.exp: Ignore unexpected output between the
9630 "program exited normally" and the gdb prompt, as many other
9631 tests do.
9632
96332006-05-07 Mark Kettenis <kettenis@gnu.org>
9634
9635 * gdb.base/help.exp: Make "delete checkpoint" part option for
9636 "help d" and "help delete" tests.
9637
96382006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9639
9640 * gdb.mi/mi-basics.exp: Add missing serial number to
9641 expected output in some mi_gdb_test statements.
9642 * gdb.mi/mi2-basics.exp: Likewise.
9643
96442006-05-05 Joel Brobecker <brobecker@adacore.com>
9645
9646 * gdb.base/del.c: New file.
9647 * gdb.base/del.exp: New testcase.
9648
96492006-05-05 David S. Miller <davem@sunset.davemloft.net>
9650
9651 * gdb.base/break.exp: Do not assume a breakpoint on
9652 main will actually be in $srcfile when optimizing.
9653 * gdb.base/savedregs.exp: Do not require that the dummy
9654 frame location match up to a symbol and source file location.
9655 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9656 will get printed without a mi_cmd_data_list_register_values prefix.
9657 (*-data-list-register-*): Correct regular expressions to expect the new
9658 pseudo d? floating point registers.
9659 * gdb.mi/mi2-regs.exp: Likewise.
9660
96612006-05-05 Christophe Lyon <christophe.lyon@st.com>
9662
9663 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9664 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9665 is allocated by the compiler.
9666 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9667 anons, e, anone to force their allocation by the compiler.
9668
96692006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9670
9671 * gdb.base/help.exp: Update expected text for help d and
9672 help delete.
9673
96742006-05-02 Mark Kettenis <kettenis@gnu.org>
9675
9676 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9677 NetBSD/ELF targets.
9678
96792006-04-30 Mark Kettenis <kettenis@gnu.org>
9680
9681 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9682 single-step breakpoint fails; make this a KFAIL on
9683 sparc*-*-openbsd*.
9684 * gdb.base/siginfo.exp: Likewise.
9685 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9686
96872006-04-26 Michael Snyder <msnyder@redhat.com>
9688
9689 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9690 which may have to consume output from other forks.
9691 Add tests to make sure that "delete fork" succeeded.
9692
96932006-04-20 Michael Snyder <msnyder@redhat.com>
9694
9695 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9696 Add support for the Renesas M32C and M16C.
9697
9698 * gdb.asm/asm-source.exp: Add m32c target.
9699 * gdb.asm/m32c.inc: Support for m32c target.
9700
97012006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9702
9703 * gdb.base/commands.exp (recursive_source_test): New test.
9704
97052006-04-04 David S. Miller <davem@sunset.davemloft.net>
9706
9707 * gdb.base/float.exp: Add pattern for sparc targets.
9708
97092006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9710
9711 * gdb.base/commands.exp (stray_arg0_test): New test.
9712
97132006-03-30 Paul Brook <paul@codesourcery.com>
9714
9715 * gdb.mi/mi-until.exp: kfail broken until command.
9716 * gdb.mi/mi2-until.exp: Ditto.
9717
97182006-03-27 Nick Roberts <nickrob@snap.net.nz>
9719
9720 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9721
97222006-03-08 Alexandre Oliva <aoliva@redhat.com>
9723
9724 * gdb.base/prelink.exp: Anchor tested-for regular expression
9725 on gdb prompt.
9726
97272006-03-07 Paul Brook <paul@codesourcery.com>
9728
9729 * gdb.base/assign.exp: Correct fail message.
9730
97312006-03-07 Paul Brook <paul@codesourcery.com>
9732
9733 * lib/compiler.c: Extract armcc version number.
9734 * lib/compiler.cc: Ditto.
9735
97362006-03-07 Paul Brook <paul@codesourcery.com>
9737
9738 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9739 additional_flags=-w.
9740 * gdb.arch/altivec-regs.exp: Ditto.
9741 * gdb.arch/e500-abi.exp: Ditto.
9742 * gdb.arch/e500-regs.exp: Ditto.
9743 * gdb.base/all-bin.exp: Ditto.
9744 * gdb.base/annota1.exp: Ditto.
9745 * gdb.base/annota3.exp: Ditto.
9746 * gdb.base/args.exp: Ditto.
9747 * gdb.base/arithmet.exp: Ditto.
9748 * gdb.base/assign.exp: Ditto.
9749 * gdb.base/async.exp: Ditto.
9750 * gdb.base/bang.exp: Ditto.
9751 * gdb.base/break.exp: Ditto.
9752 * gdb.base/call-rt-st.exp: Ditto.
9753 * gdb.base/completion.exp: Ditto.
9754 * gdb.base/cond-expr.exp: Ditto.
9755 * gdb.base/condbreak.exp: Ditto.
9756 * gdb.base/consecutive.exp: Ditto.
9757 * gdb.base/define.exp: Ditto.
9758 * gdb.base/display.exp: Ditto.
9759 * gdb.base/ena-dis-br.exp: Ditto.
9760 * gdb.base/environ.exp: Ditto.
9761 * gdb.base/eval-skip.exp: Ditto.
9762 * gdb.base/info-proc.exp: Ditto.
9763 * gdb.base/jump.exp: Ditto.
9764 * gdb.base/logical.exp: Ditto.
9765 * gdb.base/long_long.exp: Ditto.
9766 * gdb.base/maint.exp: Ditto.
9767 * gdb.base/miscexprs.exp: Ditto.
9768 * gdb.base/pc-fp.exp: Ditto.
9769 * gdb.base/pointers.exp: Ditto.
9770 * gdb.base/relational.exp: Ditto.
9771 * gdb.base/reread.exp: Ditto.
9772 * gdb.base/sect-cmd.exp: Ditto.
9773 * gdb.base/sep.exp: Ditto.
9774 * gdb.base/sepdebug.exp: Ditto.
9775 * gdb.base/until.exp: Ditto.
9776 * gdb.base/whatis-exp.exp: Ditto.
9777 * gdb.cp/annota2.exp: Ditto.
9778 * gdb.cp/annota3.exp: Ditto.
9779 * gdb.trace/actions.exp: Ditto.
9780 * gdb.trace/backtrace.exp: Ditto.
9781 * gdb.trace/circ.exp: Ditto.
9782 * gdb.trace/collection.exp: Ditto.
9783 * gdb.trace/deltrace.exp: Ditto.
9784 * gdb.trace/infotrace.exp: Ditto.
9785 * gdb.trace/limits.exp: Ditto.
9786 * gdb.trace/packetlen.exp: Ditto.
9787 * gdb.trace/passc-dyn.exp: Ditto.
9788 * gdb.trace/passcount.exp: Ditto.
9789 * gdb.trace/report.exp: Ditto.
9790 * gdb.trace/save-trace.exp: Ditto.
9791 * gdb.trace/tfind.exp: Ditto.
9792 * gdb.trace/tracecmd.exp: Ditto.
9793 * gdb.trace/while-dyn.exp: Ditto.
9794 * gdb.trace/while-stepping.exp: Ditto.
9795 * lib/gdb.exp: Ditto.
9796 (gdb_compile): Handle nowarning option.
9797
97982006-03-07 Alexandre Oliva <aoliva@redhat.com>
9799
9800 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9801 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9802 Rename executable to prelinkt. Don't re-prelink if we didn't
9803 get a core file. Test prelink -u exit status to tell whether
9804 prelinking failed. Use gdb_test_multiple.
9805
98062006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9807
9808 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9809 (do_tests): Call it.
9810
98112006-02-28 Alexandre Oliva <aoliva@redhat.com>
9812
9813 * gdb.base/prelink.exp: New test.
9814 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9815
98162006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9817
9818 * gdb.fortran/derived-type.f90: New file.
9819 * gdb.fortran/derived-type.exp: New testcase.
9820
98212006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9822
9823 * gdb.base/default.exp: Allow ';' as a directory separator.
9824
98252006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9826
9827 * gdb.base/help.exp (help add-symbol-file): Update.
9828
98292006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9830
9831 * gdb.base/help.exp (help load): Update expected results.
9832
98332006-02-19 Fred Fish <fnf@specifix.com>
9834
9835 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9836 specifix hex value as part of results.
9837 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9838
98392006-02-16 Fred Fish <fnf@specifix.com>
9840
9841 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9842 ushort_addr, and slong_addr, so the typedefs are not optimized
9843 away.
9844 * gdb.base/whatis.exp: Add tests using type name for struct type,
9845 union type, enum type, and typedef.
9846
98472006-02-13 Mark Kettenis <kettenis@gnu.org>
9848
9849 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9850
98512006-02-13 Jim Blandy <jimb@redhat.com>
9852
9853 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9854 case where it takes two "next" commands to skip past the init
9855 call.
9856
98572006-02-12 Fred Fish <fnf@specifix.com>
9858
9859 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9860 to handle cases where it takes two "next" commands to skip
9861 past the init call.
9862
98632006-02-07 Joel Brobecker <brobecker@adacore.com>
9864
9865 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9866 on hppa32 targets.
9867
98682006-02-06 Vladimir Prus <ghost@cs.msu.su>
9869
9870 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9871 field.
9872
98732006-01-29 Mark Kettenis <kettenis@gnu.org>
9874
9875 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9876
98772006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9878
9879 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9880 files.
9881
98822006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9883
9884 * gdb.cp/maint.exp: Set complaints to a positive value.
9885
98862006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9887
9888 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9889 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9890 function name.
9891
98922006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9893
9894 * gdb.base/checkpoint.c: Update copyright notice. Include
9895 <stdlib.h>.
9896
98972006-01-04 Jim Blandy <jimb@redhat.com>
9898
9899 * gdb.asm/asm-source.exp: Independently provide default values for
9900 asm-flags and debug-flags. Use 'string equal' to do the
9901 comparison, not the implicit expr's '==' operator. Remove
9902 now-unneeded assignments to asm-flags. In h8300 case, place
9903 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9904
99052006-01-04 Michael Snyder <msnyder@redhat.com>
9906
9907 * gdb.base/checkpoint.c: New file.
9908 * gdb.base/checkpoint.exp: New file.
9909 * gdb.base/multi-fork.c: New file.
9910 * gdb.base/multi-fork.exp: New file.
9911 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9912
99132006-01-04 Fred Fish <fnf@specifix.com>
9914
9915 * gdb.base/ptype.c (foo): Add typedef.
9916 (intfoo): Add function.
9917 * gdb.base/ptype1.c: New file.
9918 * gdb.base/ptype.exp: Handle compilation and linking with two
9919 source files. Test that proper type for "foo" is found based
9920 on source context rather than first match found in symtabs.
9921
99222005-12-28 Mark Kettenis <kettenis@gnu.org>
9923
9924 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9925 * gdb.asm/openbsd.inc: Indent commands.
9926
99272005-12-26 Mark Kettenis <kettenis@gnu.org>
9928
9929 * gdb.base/freebpcmd.exp: Increase timeout.
9930
9931 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9932
99332005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9934
9935 * gdb.base/default.exp: Update check for "show version".
9936
99372005-12-09 Randolph Chung <tausq@debian.org>
9938
9939 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9940 * gdb.asm/pa64.inc: New file.
9941
99422005-12-09 Randolph Chung <tausq@debian.org>
9943
9944 * gdb.asm/common.inc: Indent commands.
9945 * gdb.asm/asmsrc1.s: Likewise.
9946 * gdb.asm/asmsrc2.s: Likewise.
9947
99482005-12-09 Randolph Chung <tausq@debian.org>
9949
9950 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9951 (get_addr_of_sym): Remove duplicate print.
9952 (gen_core): xfail hppa*-*-hpux*, update expected output.
9953 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9954 * gdb.arch/pa64-nullify.s: New file.
9955
99562005-12-09 Randolph Chung <tausq@debian.org>
9957
9958 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9959
99602005-12-07 Christophe Lyon <christophe.lyon@st.com>
9961
9962 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9963 code generation for these functions.
9964 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9965 error message.
9966
99672005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9968
9969 * gdb.base/help.exp (help b, help br, help bre, help brea)
9970 (help break): Update the expected message.
9971
99722005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9973
9974 * gdb.asm/m68hc11.inc: Setup the data section.
9975 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9976 script for this test.
9977 (m6812-*-*): Likewise.
9978
99792005-11-09 Randolph Chung <tausq@debian.org>
9980
9981 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9982
99832005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9984
9985 * gdb.base/break.exp: Fix a comment typo.
9986
99872005-11-03 Jim Blandy <jimb@redhat.com>
9988
9989 Checked in by Elena Zannoni <ezannoni@redhat.com>
9990
9991 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9992
99932005-11-02 Corinna Vinschen <vinschen@redhat.com>
9994
9995 * gdb.arch/gdb1558.c: Include stdio.h.
9996
99972005-10-31 Mark Kettenis <kettenis@gnu.org>
9998
9999 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10000
100012005-10-31 Mark Kettenis <kettenis@gnu.org>
10002
10003 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10004
100052005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10006
10007 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10008 vscr" tests to better match output.
10009
100102005-10-12 Jim Blandy <jimb@redhat.com>
10011
10012 * gdb.base/structs.exp (any): New function.
10013 (test_struct_returns): Don't make any assumptions at all about
10014 what value the function returns when GDB can't set the return
10015 value.
10016
100172005-10-09 Joel Brobecker <brobecker@adacore.com>
10018
10019 * gdb.ada/arrayidx/p.adb: New file.
10020 * gdb.ada/arrayidx.exp: New testcase
10021
100222005-10-09 Joel Brobecker <brobecker@adacore.com>
10023
10024 * gdb.ada/array_return/pck.ads: New file.
10025 * gdb.ada/array_return/pck.adb: New file.
10026 * gdb.ada/array_return/p.adb: New file.
10027 * gdb.ada/array_return.exp: New testcase.
10028
100292005-10-03 Joel Brobecker <brobecker@adacore.com>
10030
10031 * gdb.base/arrayidx.c: New file.
10032 * gdb.base/arrayidx.exp: New testcase.
10033
100342005-09-29 Nick Roberts <nickrob@snap.net.nz>
10035
10036 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10037 frames-invalid and breakpoints-invalid are no longer generated
10038 with level 3 so don't expect them in the output.
10039
100402005-09-27 Bob Rossi <bob@brasko.net>
10041
10042 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10043 from test. Escape the | in mi_gdb_test call.
10044 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10045 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10046 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10047 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10048 expected regex's in mi_gdb_test calls.
10049 * lib/mi-support.exp: Remove arbitrary .* from tests.
10050 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10051 Fully anchor GDB/MI expected results in mi_gdb_test.
10052 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10053 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10054
100552005-09-26 Paul Brook <paul@codesourcery.com>
10056
10057 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10058
100592005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10060
10061 * bfp-test.c: New file.
10062 * bfp-test.exp: New testcase.
10063
100642005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10065
10066 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10067 of subarray and substring variable.
10068 * gdb.fortran/subarray.f: New source file for the test of subarray
10069 and substring variable evaluation.
10070 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10071 of string constant.
10072
100732005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10074
10075 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10076 copyright dates.
10077
100782005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10079
10080 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10081 powerpc altivec' test with an almost identical 'info vector' test.
10082
100832005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10084
10085 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10086 vscr" tests to match output.
10087
100882005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10089
10090 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10091 output.
10092
100932005-09-11 Bob Rossi <bob@brasko.net>
10094
10095 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10096 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10097 commands that return an MI output command and an asyncronous MI output
10098 command.
10099 * gdb.mi/mi-console.exp: Ditto.
10100
101012005-09-11 Bob Rossi <bob@brasko.net>
10102
10103 * gdb.mi/mi-var-child.c: Include <string.h>.
10104
101052005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10106
10107 * killed.exp: Correct gdb_expect syntax.
10108
101092005-08-09 Corinna Vinschen <vinschen@redhat.com>
10110
10111 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10112
101132005-08-02 Bob Rossi <bob@brasko.net>
10114
10115 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10116 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10117 Change tests to inferior-tty-set/show.
10118 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10119 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10120 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10121 inferior. Use mi_gdb_test to get GDB and Inferior output.
10122 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10123 descriptor.
10124 (mi_inferior_tty_name): Add inferior PTY file name.
10125 (mi_gdb_start): Add INFERIOR_PTY parameter.
10126 (mi_gdb_test): Add IPATTERN parameter.
10127
101282005-08-02 Bob Rossi <bob@brasko.net>
10129
10130 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10131 parameter to mi_gdb_test.
10132 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10133
101342005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10135
10136 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10137 struct_declarations.
10138 * gdb.mi/mi-var-child.exp: Step over the initialization of
10139 struct_declarations.
10140
101412005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10142
10143 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10144 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10145 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10146 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10147 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10148 file.
10149
101502005-07-27 Nick Roberts <nickrob@snap.net.nz>
10151
10152 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10153 (do_children_tests): Assign values to the extra elements.
10154
10155 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10156 them for tests for "-var-update --no-values" and
10157 "-var-update --all-values".
10158 Add test for "-var-list-children --simple-values".
10159
10160 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10161
10162 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10163 "-stack-list-locals --simple-values" Improve doc strings and
10164 comments.
10165
101662005-07-18 Mark Kettenis <kettenis@gnu.org>
10167
10168 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10169 *-*-openbsd*.
10170 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10171
10172 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10173 sigaltsatck'.
10174
101752005-07-14 Bob Rossi <bob@brasko.net>
10176
10177 * gdb.base/default.exp (tty): Changed output of command.
10178 * gdb.base/help.exp (help tty): Ditto.
10179
101802005-07-12 Mark Kettenis <kettenis@gnu.org>
10181
10182 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10183
101842005-07-10 Mark Kettenis <kettenis@gnu.org>
10185
10186 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10187 -stack-select-frame without arguments.
10188 (test_stack_frame_listing): Add test for newly implemented command
10189 -stack-info-frame.
10190
101912005-07-06 Bob Rossi <bob@brasko.net>
10192
10193 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10194 command.
10195 (Copyright): Update copyright.
10196
101972005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10198
10199 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10200 tests to evaluate exponentiation expression.
10201
102022005-06-29 Andreas Schwab <schwab@suse.de>
10203
10204 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10205 main to avoid warnings.
10206
10207 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10208
102092005-06-20 Nick Roberts <nickrob@snap.net.nz>
10210
10211 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10212 -stack-select-frame without arguments.
10213 (test_stack_frame_listing): Add test for newly implemented command
10214 -stack-info-frame.
10215
102162005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10217
10218 * gdb.fortran/array-element.f: New file.
10219 * gdb.fortran/array-element.exp: New testcase.
10220
102212005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10222
10223 * gdb.base/bigcore.exp: Correct checks for systems which can
10224 not dump a large core file.
10225
102262005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10227
10228 * gdb.base/relocate.c: Add a copyright notice.
10229 (dummy): Remove.
10230 * gdb.base/relocate.exp: Test printing the values of variables
10231 from a relocatable file.
10232
102332005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10234
10235 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10236 excess MI output after an error.
10237
102382005-05-29 Joel Brobecker <brobecker@adacore.com>
10239
10240 * gdb.arch/alpha-step.c: New file.
10241 * gdb.arch/alpha-step.exp: New testcase.
10242
102432005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10244 Dennis Brueni <dennis@slickedit.com>
10245
10246 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10247 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10248 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10249 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10250 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10251 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10252 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10253
102542005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10255 Wu Zhou <woodzltc@cn.ibm.com>
10256
10257 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10258 IBM's xlc compiler.
10259 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10260 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10261
102622005-05-13 Jim Blandy <jimb@redhat.com>
10263
10264 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10265 calling gdb_suppress_entire_file.
10266 * gdb.base/charset.exp: Same.
10267 * gdb.base/call-rt-st.exp: Same.
10268
102692005-05-05 Bob Rossi <bob_rossi@cox.net>
10270
10271 * lib/gdb.exp (fullname_syntax): Added global regex.
10272 (fullname_syntax_POSIX): Ditto.
10273 (fullname_syntax_UNC): Ditto.
10274 (fullname_syntax_DOS_CASE): Ditto.
10275 (fullname_syntax_DOS): Ditto.
10276 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10277 fullname_syntax variable to scope and use it.
10278 (test_file_list_exec_source_files): Ditto.
10279 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10280
102812005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10282
10283 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10284
102852004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10286
10287 * lib/gdb.exp (skip_altivec_tests): New function, based on
10288 check_vmx_hw_available from the GCC testsuite.
10289 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10290 * lib/gdb.arch/altivec-regs.exp: Likewise.
10291
102922005-05-02 Jim Blandy <jimb@redhat.com>
10293
10294 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10295 calling gdb_suppress_entire_file.
10296
102972005-04-30 Randolph Chung <tausq@debian.org>
10298
10299 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10300 Slightly relax "sem_post" name checking.
10301
103022005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10303
10304 * gdb.base/unload.exp: Use new shared library infrastructure.
10305
103062005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10307
10308 * gdb.base/so-impl-ld.exp: Use new shared library
10309 infrastructure.
10310
103112005-04-29 Corinna Vinschen <vinschen@redhat.com>
10312
10313 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10314 * gdb.asm/h8300.inc: New file.
10315
103162005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10317
10318 * gdb.base/shlib-call.exp: Change to use new shared library
10319 infrastructure.
10320
103212005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10322
10323 * gdb.base/pending.exp: Change to use new shared library
10324 infrastructure.
10325
103262005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10327
10328 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10329 use test_compiler_info instead of gcc_compiled, and update copyright.
10330
103312005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10332
10333 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10334 shared objects being adjusted and update copyright years.
10335
103362005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10337
10338 * ChangeLog: Correct some 2003-01-13 dates.
10339 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10340 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10341 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10342 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10343 gdb.trace/tfind.exp: Update copyright years.
10344
103452005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10346 Daniel Jacobowitz <dan@codesourcery.com>
10347
10348 * lib/gdb.exp (gdb_compile): Handle shlib=.
10349 (gdb_compile_shlib): New function.
10350
103512005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10352
10353 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10354
103552005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10356
10357 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10358 gdb.server.
10359 * configure.ac: Likewise.
10360 * configure: Regenerated.
10361 * gdb.gdbserver/Makefile.in: Moved to...
10362 * gdb.server/Makefile.in: ... here.
10363 * gdb.gdbserver/server.c: Moved to...
10364 * gdb.server/server.c: ... here.
10365 * gdb.gdbserver/server-run.exp: Moved to...
10366 * gdb.server/server-run.exp: ... here.
10367
103682005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10369
10370 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10371 * configure.ac: Create gdb.gdbserver/Makefile.
10372 * configure: Regenerated.
10373 * lib/gdbserver-support.exp: New file, derived from
10374 config/gdbserver.exp.
10375 * config/gdbserver.exp: Use gdbserver-support.exp.
10376 * gdb.gdbserver/Makefile.in: New file.
10377 * gdb.gdbserver/server.c: New file.
10378 * gdb.gdbserver/server-run.exp: New file.
10379
103802005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10381
10382 * lib/gdb.exp (test_compiler_info): Return compiler_info
10383 if no arguments are given.
10384
103852005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10386
10387 * gdb.arch/altivec-abi.exp: Check for compiler and set
10388 use altivec' flag accordingly.
10389 * gdb.arch/altivec-regs.exp: Likewise.
10390
103912005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10392
10393 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10394
103952005-03-27 Andreas Schwab <schwab@suse.de>
10396
10397 * gdb.base/bigcore.c (main): Add missing mode argument in open
10398 call.
10399
104002005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10401
10402 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10403 downloads.
10404 * config/gdbserver.exp (gdb_load): Likewise.
10405
104062005-03-14 Paul Brook <paul@codesourcery.com>
10407
10408 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10409 targets.
10410
104112005-03-09 Joel Brobecker <brobecker@adacore.com>
10412
10413 * gdb.dwarf2/dup-psym.S: New file.
10414 * gdb.dwarf2/dup-psym.exp: New testcase.
10415
104162005-03-09 Joel Brobecker <brobecker@adacore.com>
10417
10418 * gdb.ada/exec_changed/first.adb: New file.
10419 * gdb.ada/exec_changed/second.adb: New file.
10420 * gdb.ada/exec_changed.exp: New testcase.
10421
104222005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10423
10424 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10425 (A2): New class.
10426 (main): Test operator+.
10427 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10428 breakpoint test.
10429
10430 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10431 * gdb.base/signull.exp: Disable if gdb,nosignals.
10432 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10433 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10434 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10435 * gdb.mi/mi2-console.exp: Likewise.
10436 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10437 continue output at start.
10438 (gdb_collect_locals_test): Robustify regexp.
10439 * gdb.trace/passc-dyn.exp: Fix comment typo.
10440 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10441
104422005-03-08 Corinna Vinschen <vinschen@redhat.com>
10443
10444 * gdb.asm/asm-source.exp: Add iq2000 case.
10445 * gdb.asm/iq2000.inc: New file.
10446
104472005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10448
10449 * gdb.base/command.exp: Change hardcoded value to regular expression.
10450 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10451
104522005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10453
10454 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10455 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10456 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10457 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10458 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10459
104602005-03-05 Mark Kettenis <kettenis@gnu.org>
10461
10462 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10463 changes.
10464
104652004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10466
10467 * lib/compiler.c: Add test for IBM's xlc compiler.
10468 * lib/compiler.cc: Likewise.
10469
104702004-02-24 Joel Brobecker <brobecker@adacore.com>
10471
10472 * gdb.ada/fixed_points.exp: Create compilation object directory
10473 before running the test.
10474 * gdb.ada/null_record.exp: Likewise.
10475 * gdb.ada/packed_array.exp: Likewise.
10476 * gdb.ada/start.exp: Likewise.
10477
104782005-02-15 Joel Brobecker <brobecker@adacore.com>
10479
10480 * gdb.ada/packed_array/pa.adb: New file.
10481 * gdb.ada/packed_array.exp: New testcase.
10482
104832005-02-10 Mark Kettenis <kettenis@gnu.org>
10484
10485 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10486 files.
10487
10488 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10489 on *-*-openbsd*. Correctly match whitespace in regukar
10490 expressions.
10491
104922005-02-10 Daniel Jacobowitz <dan@debian.org>
10493
10494 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10495 PR exp/1821
10496 * gdb.base/gdb1821.c: New test file.
10497 * gdb.base/gdb1821.exp: New test file.
10498
104992005-02-09 Joel Brobecker <brobecker@adacore.com>
10500
10501 * gdb.base/start.c: New file.
10502 * gdb.base/start.exp: New testcase.
10503
105042005-02-09 Joel Brobecker <brobecker@adacore.com>
10505
10506 * gdb.ada/start/dummy.adb: New file.
10507 * gdb.ada/start.exp: New testcase.
10508
105092005-02-09 Corinna Vinschen <vinschen@redhat.com>
10510
10511 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10512 for printing symbols and statistics.
10513 Add test for using relative pathnames in "maint print msymbols" test.
10514 Mark "maint info sections DATA" XFAIL on Cygwin.
10515 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10516 tests.
10517
105182005-02-09 Andreas Schwab <schwab@suse.de>
10519
10520 Committed by Andrew Cagney <cagney@gnu.org>
10521 * gdb.base/remotetimeout.exp: New file.
10522
105232005-02-07 Mark Kettenis <kettenis@gnu.org>
10524
10525 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10526
105272005-02-03 Joel Brobecker <brobecker@adacore.com>
10528
10529 * gdb.ada/gnat_ada.gpr: New file.
10530 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10531 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10532 * configure.ac: No longer generate gnat_ada.gpr.
10533 * configure: Regenerate.
10534 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10535 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10536 * gdb.ada/null_record/bar.ads: Likewise.
10537 * gdb.ada/null_record/bar.adb: Likewise.
10538 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10539 * gdb.ada/null_record.exp (testdir): New variable.
10540 (testfile): executable is now in testdir subdirectory.
10541 (srcfile): Use full path to the main compilation unit.
10542 * gdb.ada/fixed_points.exp: Same changes as above.
10543
105442005-02-03 Nick Roberts <nickrob@snap.net.nz>
10545
10546 * gdb.base/interp.exp: New test.
10547
105482005-01-24 Andrew Cagney <cagney@gnu.org>
10549
10550 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10551
105522005-01-19 Andrew Cagney <cagney@gnu.org>
10553
10554 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10555 configure.ac not configure.in.
10556
10557 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10558 of powerpc*-*-*.
10559 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10560 * gdb.base/list.exp (test_list_function)
10561 (test_list_filename_and_function): Ditto.
10562 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10563
105642005-01-16 Andrew Cagney <cagney@gnu.org>
10565
10566 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10567
10568 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10569
105702005-01-14 Andrew Cagney <cagney@gnu.org>
10571
10572 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10573 * gdb.mi/mi2-var-cmd.exp: Ditto.
10574
105752005-01-10 Corinna Vinschen <vinschen@redhat.com>
10576
10577 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10578
105792005-01-07 Andrew Cagney <cagney@gnu.org>
10580
10581 * configure.ac: Rename configure.in, require autoconf 2.59.
10582 * configure: Re-generate.
10583 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10584 * gdb.stabs/configure: Re-generate.
10585 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10586 * gdb.hp/configure: Re-generate.
10587 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10588 autoconf 2.59.
10589 * gdb.hp/gdb.objdbg/configure: Re-generate.
10590 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10591 autoconf 2.59.
10592 * gdb.hp/gdb.defects/configure: Re-generate.
10593 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10594 autoconf 2.59.
10595 * gdb.hp/gdb.compat/configure: Re-generate.
10596 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10597 autoconf 2.59.
10598 * gdb.hp/gdb.base-hp/configure: Re-generate.
10599 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10600 autoconf 2.59.
10601 * gdb.hp/gdb.aCC/configure: Re-generate.
10602
106032004-12-15 Jim Blandy <jimb@redhat.com>
10604
10605 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10606 under NPTL when there is debugging info available for libpthread.
10607
106082004-12-13 Jerome Guitton <guitton@gnat.com>
10609
10610 * gdb.ada/fixed_points.c: New file.
10611 * gdb.ada/fixed_points.exp: New file.
10612
106132004-12-03 Randolph Chung <tausq@debian.org>
10614
10615 * gdb.arch/pa-nullify.exp: New file.
10616 * gdb.arch/pa-nullify.s: New file.
10617
106182004-11-30 Randolph Chung <tausq@debian.org>
10619
10620 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10621 instead of "tbug". Fix regexp to work properly with gdb_test.
10622
106232004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10624
10625 * gdb.base/bitfields2.exp: New test.
10626 * gdb.base/bitfields2.c: New file.
10627
106282004-11-28 Richard Earnshaw <rearnsha@arm.com>
10629
10630 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10631
106322004-11-16 Randolph Chung <tausq@debian.org>
10633
10634 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10635
106362004-11-14 Daniel Jacobowitz <dan@debian.org>
10637
10638 * gdb.threads/threadapply.exp: Correct "macro details" test.
10639
106402004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10641
10642 * gdb.threads/threadapply.exp: New test.
10643 * gdb.threads/threadapply.c: New file.
10644
106452004-11-07 Mark Kettenis <kettenis@gnu.org>
10646
10647 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10648 frames.
10649
106502004-11-05 Felix Lee <felix+log1@specifixinc.com>
10651
10652 * gdb.base/cursal.exp: New file.
10653 * gdb.base/cursal.c: New file.
10654
106552004-11-03 Andrew Cagney <cagney@gnu.org>
10656
10657 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10658
106592004-10-30 Mark Kettenis <kettenis@gnu.org>
10660
10661 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10662 NetBSD/ELF targets.
10663
106642004-10-29 Joel Brobecker <brobecker@gnat.com>
10665
10666 * gdb.threads/bp_in_thread.c: New file, copied from
10667 pthread_cond_wait.c.
10668 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10669 file, rather than reusing the .c file from another testcase.
10670
106712004-10-20 Joel Brobecker <brobecker@gnat.com>
10672
10673 * gdb.ada/null_record.exp: Check where we stopped after
10674 sending the start command, instead of where the associated
10675 temporary breakpoint was inserted.
10676
106772004-10-14 Andrew Cagney <cagney@gnu.org>
10678
10679 * gdb.mi/gdb701.c (main): Return 0.
10680
106812004-10-13 Daniel Jacobowitz <dan@debian.org>
10682
10683 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10684
106852004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10686
10687 * gdb.threads/schedlock.c: Add comment markers to use to find
10688 line numbers.
10689 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10690 comments.
10691 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10692 breakpoint lines.
10693
106942004-10-12 Daniel Jacobowitz <dan@debian.org>
10695
10696 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10697
106982004-10-12 Daniel Jacobowitz <dan@debian.org>
10699
10700 * configure.in: Add gdb.dwarf2.
10701 * configure: Regenerated.
10702 * Makefile.in: Add gdb.dwarf2.
10703 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10704 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10705 gdb.dwarf2/file1.txt: New files.
10706
107072004-10-11 Orjan Friberg <orjanf@axis.com>
10708
10709 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10710 of "run", since the latter doesn't work with remote targets. Adjust
10711 the breakpoint numbering accordingly.
10712 * gdb.threads/pthread_cond_wait.exp: Ditto.
10713
107142004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10715
10716 * gdb.base/overlays.exp: Update copyright years.
10717
107182004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10719
10720 * gdb.base/overlays.exp: Disable if target is Linux.
10721
107222004-10-06 Felix Lee <felix+log1@specifixinc.com>
10723
10724 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10725
107262004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10727
10728 * gdb.asm/asm-source.exp: Add m32r-linux target.
10729 * gdb.asm/m32r-linux.inc: New file.
10730
107312004-09-24 Andrew Cagney <cagney@redhat.com>
10732 David Anderson <anderson@redhat.com>
10733
10734 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10735 command fails, assume things will work.
10736 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10737 (_GNU_SOURCE): Define.
10738 (print_unsigned, print_hex): Change parameter to "long long".
10739 (print_byte_count): New function, use to print byte counts.
10740 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10741 O_LARGEFILE.
10742 (main): Compute an upper bound on a corefile in max_core_size.
10743 Limit memory chunk size to max_core_size. Limit total memory
10744 allocated to max_core_size.
10745
107462004-09-23 Andrew Cagney <cagney@gnu.org>
10747
10748 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10749 from a separate process with code that creates a corefile by
10750 making the inferior dump core.
10751
107522004-09-23 Mark Kettenis <kettenis@gnu.org>
10753
10754 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10755 block.
10756
107572004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10758
10759 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10760 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10761 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10762 Likewise.
10763
107642004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10765
10766 * gdb.java/jprint.exp: New test case for java inferior call.
10767 * gdb.java/jprint.java: Ditto.
10768
107692004-09-15 Joel Brobecker <brobecker@gnat.com>
10770
10771 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10772
107732004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10774
10775 * gdb.threads/killed.c: Include <stdlib.h>.
10776 * gdb.threads/pthreads.c: Likewise.
10777
107782004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10779
10780 * gdb.threads/killed.c: Add copyright notice.
10781
107822004-09-10 Jason Molenda (jmolenda@apple.com)
10783
10784 * gdb.base/define.exp: Two new tests to verify zero space chars
10785 after 'if' and 'while' commands in a user-defined command is correctly
10786 parsed.
10787
107882004-09-08 Andrew Cagney <cagney@gnu.org>
10789
10790 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10791 delivery test with duplicate at end of file.
10792
107932004-09-06 Mark Kettenis <kettenis@jive.nl>
10794
10795 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10796
107972004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10798
10799 * config/hppro.exp: Removed.
10800
108012004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10802
10803 * config/sparclet.exp: Removed.
10804
108052004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10806
10807 * config/udi.exp: Removed.
10808
108092004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10810
10811 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10812 of "exp_continue".
10813 (advancei): Likewise.
10814
108152004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10816
10817 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10818
108192004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10820
10821 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10822 to check for nodebug in executable.
10823 * gdb.gdb/observer.exp (setup_test): Likewise.
10824 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10825 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10826
108272004-09-01 Andrew Cagney <cagney@gnu.org>
10828
10829 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10830 files.
10831
108322004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10833
10834 * gdb.base/unload.exp: Fix expected warning message to match
10835 latest format.
10836
108372004-09-01 Corinna Vinschen <vinschen@redhat.com>
10838
10839 * gdb.base/call-rt-st.exp: Fix typos.
10840
108412004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10842
10843 * gdb.threads/thread_check.exp: New testcase.
10844 * gdb.threads/thread_check.c: New testcase.
10845
108462004-08-31 Andrew Cagney <cagney@gnu.org>
10847
10848 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10849 (skip_to_handler_entry): New procedures. Test stepping into a
10850 handler when the breakpoint is at the handler's entry point.
10851
108522004-08-30 Andrew Cagney <cagney@gnu.org>
10853
10854 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10855 gdb/1757.
10856
108572004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10858
10859 With code from Manoj Iyer <manjo@austin.ibm.com>:
10860 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10861 return value. Add an arm for "no debugging symbols found".
10862 Change a stray "error" to "perror".
10863 (gdb_run_cmd): Adapt to new return value.
10864 * gdb.base/remote.exp: Adapt to new return value.
10865 * gdb.gdb/complaints.exp: Likewise.
10866 * gdb.gdb/observer.exp: Likewise.
10867 * gdb.gdb/selftest.exp: Likewise.
10868 * gdb.gdb/xfullpath.exp: Likewise.
10869
108702004-08-27 Joel Brobecker <brobecker@gnat.com>
10871
10872 * gdb.threads/bp_in_thread.exp: New testcase.
10873
108742004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10875
10876 Fix PR testsuite/1735.
10877 * gdb.threads/schedlock.c (thread_function): Add a cast
10878 to suppress a gcc warning.
10879 * gdb.threads/thread-specific.c (thread_function): Likewise.
10880
108812004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10882
10883 * gdb.base/unload.c: Include <stdlib.h>.
10884
108852004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10886
10887 From Paul Gilliam <pgilliam@us.ibm.com>:
10888 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10889 synchronized after the "return".
10890
108912004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10892
10893 * gdb.mi/basics.c: Include <stdio.h>.
10894 * gdb.mi/pthreads.c: Include <stdlib.h>.
10895 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10896
108972004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10898
10899 * gdb.threads/schedlock.c: Add copyright notice.
10900
109012004-08-25 Andrew Cagney <cagney@gnu.org>
10902
10903 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10904 (skip_over_handler, breakpoint_over_hander): New test procedures.
10905 (advance, advancei): Add a proper prefix, do not use
10906 rerun_to_main.
10907 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10908
109092004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10910
10911 * gdb.mi/basics.c: Add copyright notice.
10912 * gdb.mi/var-cmd.c: Add copyright notice.
10913
109142004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10915
10916 * lib/gdb.exp: Remove signed_keyword_not_used.
10917 * lib/compiler.c: Likewise.
10918 * lib/compiler.cc: Likewise.
10919
109202004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10921
10922 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10923 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10924
109252004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10926
10927 * gdb.base/whatis.c: Add copyright notice.
10928
109292004-08-20 Mark Kettenis <kettenis@gnu.org>
10930
10931 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10932 it to skip the breakpoints encoded in the inline assembly.
10933
109342004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10935
10936 * Makefile.in: Add gdb.fortran.
10937
109382004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10939
10940 * gdb.base/call-sc.exp (test_scalar_returns):
10941 Fix cut-and-paste glitch in "Make fun return now".
10942
109432004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10944
10945 * configure.in: Add gdb.fortran.
10946 * configure: Regenerate.
10947 * gdb.fortran/Makefile.in: New file.
10948 * lib/gdb.exp (skip_fortran_tests): New procedure.
10949
109502004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10951
10952 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10953 reference to bug-gnu@prep.ai.mit.edu.
10954 * gdb.mi/mi-var-child.exp: Likewise.
10955 * gdb.mi/mi-var-cmd.exp: Likewise.
10956 * gdb.mi/mi-var-display.exp: Likewise.
10957 * gdb.mi/mi2-var-block.exp: Likewise.
10958 * gdb.mi/mi2-var-child.exp: Likewise.
10959 * gdb.mi/mi2-var-cmd.exp: Likewise.
10960 * gdb.mi/mi2-var-display.exp: Likewise.
10961
109622004-08-15 Mark Kettenis <kettenis@gnu.org>
10963
10964 * gdb.base/unload.c (main): Make local variable msg const.
10965
109662004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10967
10968 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10969 to bug-gnu@prep.ai.mit.edu.
10970 * gdb.mi/mi-disassemble.exp: Likewise.
10971 * gdb.mi/mi-eval.exp: Likewise.
10972 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10973 default line number.
10974 * gdb.mi/mi-return.exp: Likewise.
10975 * gdb.mi/mi-simplerun.exp: Likewise.
10976 * gdb.mi/mi-stack.exp: Likewise.
10977 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10978 number with explicit range test.
10979 * gdb.mi/mi-watch.exp: Likewise.
10980 * gdb.mi/mi2-break.exp: Likewise.
10981 * gdb.mi/mi2-cli.exp: Likewise.
10982 * gdb.mi/mi2-disassemble.exp: Likewise.
10983 * gdb.mi/mi2-eval.exp: Likewise.
10984 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10985 default line number.
10986 * gdb.mi/mi2-return.exp: Likewise.
10987 * gdb.mi/mi2-simplerun.exp: Likewise.
10988 * gdb.mi/mi2-stack.exp: Likewise.
10989 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10990 number with explicit range test.
10991 * gdb.mi/mi2-watch.exp: Likewise.
10992
109932004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10994
10995 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10996 * gdb.cp/m-static.exp: Likewise.
10997 * gdb.cp/rtti.exp: Likewise.
10998
109992004-08-14 Mark Kettenis <kettenis@gnu.org>
11000
11001 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11002
110032004-08-14 Eli Zaretskii <eliz@gnu.org>
11004
11005 * ChangeLog: Prefix Local Variables with semi-colons and indent
11006 the reference to older ChangeLog files, to fix fontification in
11007 Emacs.
11008
110092004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11010
11011 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11012 * gdb.mi/mi2-break.exp: Likewise.
11013
110142004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11015
11016 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11017
110182004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11019
11020 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11021
110222004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11023
11024 * gdb.cp/classes.exp: Remove unused declarations. Just let
11025 test names default instead of providing special names. Remove
11026 extraneous demangler test.
11027
110282004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11029
11030 * gdb.base/unload.exp: New test for breakpoints in dynamically
11031 loaded libraries.
11032 * gdb.base/unload.c: Ditto.
11033 * gdb.base/unloadshr.c: Ditto.
11034
110352004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11036
11037 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11038 cp_test_ptype_class.
11039 (test_enums): Likewise.
11040
110412004-08-10 Andrew Cagney <cagney@gnu.org>
11042
11043 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11044 files.
11045
110462004-08-10 Andrew Cagney <cagney@gnu.org>
11047
11048 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11049 init_malloc call.
11050
110512004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11052
11053 * ChangeLog: Add copyright notice. The notice is copied
11054 from emacs 21.3 top level ChangeLog.
11055
110562004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11057
11058 * lib/cp-support.exp: New file.
11059 * lib/cp-support.exp (cp_test_type_class): New function.
11060 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11061 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11062 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11063 cp_test_ptype_class.
11064
110652004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11066
11067 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11068 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11069 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11070 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11071 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11072 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11073 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11074 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11075 gdb.mi/mi2-watch.exp: Update copyright years.
11076
110772004-08-09 Mark Kettenis <kettenis@gnu.org>
11078
11079 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11080
110812004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11082
11083 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11084 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11085 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11086 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11087 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11088 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11089 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11090 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11091 gdb.mi/mi-watch.exp: Update copyright years.
11092
110932004-08-08 Daniel Jacobowitz <dan@debian.org>
11094
11095 PR gdb/1738
11096 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11097 from a breakpoint with a pending signal.
11098
110992004-08-08 Daniel Jacobowitz <dan@debian.org>
11100
11101 PR gdb/1736
11102 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11103 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11104 the prompt.
11105 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11106
111072004-08-08 Daniel Jacobowitz <dan@debian.org>
11108
11109 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11110
111112004-08-08 Daniel Jacobowitz <dan@debian.org>
11112
11113 PR gdb/1736
11114 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11115 for i?86-*-linux*.
11116
111172004-08-08 Daniel Jacobowitz <dan@debian.org>
11118
11119 * gdb.arch/i386-prologue.exp: Compile without debug information.
11120
111212004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11122
11123 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11124 rather than asking gdb to search.
11125
111262004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11127
11128 * gdb.base/gcore.c: Include <string.h>.
11129
111302004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11131
11132 * gdb.base/gcore.c: Add copyright notice.
11133
111342004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11135
11136 * gdb.base/freebpcmd.c: Include <stdio.h>.
11137 * gdb.base/long_long.c: Include <string.h>.
11138 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11139 * gdb.base/siginfo.c: Include <string.h>.
11140 * gdb.base/sigstep.c: Include <string.h>.
11141
111422004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11143
11144 * gdb.base/complex.c: Include <stdlib.h>.
11145
111462004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11147
11148 * gdb.base/complex.c: Add copyright notice.
11149
111502004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11151
11152 * gdb.base/charset.c: Include <stdlib.h>.
11153
111542004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11155
11156 * gdb.base/auxv.c: Include <stdlib.h>.
11157
111582004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11159
11160 * gdb.base/auxv.c: Add copyright notice.
11161
111622004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11163
11164 * gdb.base/coremaker.c: Add copyright notice.
11165 * gdb.base/coremaker2.c: Add copyright notice.
11166
111672004-08-04 Andrew Cagney <cagney@gnu.org>
11168
11169 * gdb.base/store.exp: Update copyright.
11170 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11171 names, do not import gdb_prompt.
11172
111732004-08-01 Andrew Cagney <cagney@gnu.org>
11174
11175 Fix PR testsuite/1729.
11176 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11177 not use capture_value with value 4.
11178 (capture_value): Add optional test name parameter.
11179 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11180 the prefix, pass to capture_value.
11181
111822004-08-01 Mark Kettenis <kettenis@gnu.org>
11183
11184 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11185 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11186 (main): Call new function.
11187
111882004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11189
11190 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11191
111922004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11193
11194 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11195
111962004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11197
11198 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11199 Accept more values of vtbl pointer. Remove some messages
11200 about "obsolete gcc or gdb".
11201
112022004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11203
11204 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11205
112062004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11207
11208 * gdb.base/asm-source.exp: Properly convert target board
11209 debug flags from gcc format to binutils format.
11210
112112004-07-28 Mark Kettenis <kettenis@gnu.org>
11212
11213 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11214 gdb1718". PR backtrace/1718 partially fixed.
11215
112162004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11217
11218 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11219
112202004-07-26 Nick Clifton <nickc@redhat.com>
11221
11222 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11223 good default value for a specific architecture is available then
11224 set it to that value. Otherwise default to the -gstabs switch.
11225 Remove the -g... switches from the asm-flags variable. Allow the
11226 target board info to override the value if it wants to. Pass the
11227 switch on the assembler command line.
11228
112292004-07-23 Mark Kettenis <kettenis@gnu.org>
11230
11231 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11232 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11233 (main): Call new function.
11234
112352004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11236
11237 Test for PR exp/1715.
11238 * gdb.base/radix.exp: Refactor common procedures. Make all
11239 test names unique. Change XFAIL to KFAIL.
11240
112412004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11242
11243 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11244 * gdb.ada/gnat_ada.gin: ... to here.
11245 * configure.in: Use gnat_ada.gin.
11246 * configure: Regenerate.
11247
112482004-07-20 Andrew Cagney <cagney@gnu.org>
11249
11250 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11251 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11252 XFAILs. Clean up test messages and comments. Check backtraces.
11253 Delete re-sync code.
11254
112552004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11256
11257 Fix PR cli/740.
11258 * gdb.base/annota1.exp: Honor gdb,nosignals.
11259 * gdb.base/annota3.exp: Likewise.
11260
112612004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11262
11263 * lib/java.exp: Update copyright notice.
11264
112652004-07-19 Andrew Cagney <cagney@gnu.org>
11266
11267 * gdb.base/selftest.exp: Copy file from here ...
11268 * gdb.gdb/selftest.exp: ... to here.
11269
112702004-07-16 Andrew Cagney <cagney@redhat.com>
11271
11272 * lib/insight-support.exp: Delete file.
11273 * lib/java.exp (java_init): Fix copyright.
11274
112752004-07-16 Andrew Cagney <cagney@gnu.org>
11276
11277 * gdb.base/restore.c: Append "prologue" to comments marking the a
11278 function's prologue.
11279 * gdb.base/restore.exp: Update copyright, re-indent.
11280 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11281 callerN" prefix where needed. Update patterns that match a
11282 function's prologue.
11283
112842004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11285
11286 * gdb.base/restore.c: Add copyright notice.
11287
112882004-07-16 Andrew Cagney <cagney@gnu.org>
11289
11290 * gdb.base/logical.exp: Update copyright.
11291 (evaluate): New procedure. Use to re-implement tests using
11292 several tables.
11293
112942004-07-14 Martin Hunt <hunt@redhat.com>
11295
11296 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11297 which fixes some problems where init.tcl was not found.
11298
112992004-07-13 Andrew Cagney <cagney@gnu.org>
11300
11301 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11302 (check_sizeof, check_valueof): Do not include the output in the
11303 test name. Use gdb_test.
11304 (get_valueof): Use gdb_test_multiple.
11305
11306 * gdb.base/step-test.exp: Update copyright. Use
11307 gdb_test_multiple. Ensure that test names do not include
11308 architecture dependent output.
11309
11310 * gdb.gdb/observer.exp: Update copyright.
11311 (setup_test): Use gdb_test_multiple.
11312 (attach_first_observer, attach_second_observer)
11313 (attach_third_observer, detach_first_observer)
11314 (detach_second_observer, detach_third_observer)
11315 (reset_counters, check_counters): Make $message a prefix.
11316 (test_normal_stop_notifications): Add "args" parameter - a list of
11317 init functions to be called. Make $message a prefix,
11318 (test_observer_normal_stop): Change the message prefixes so that
11319 they are unique, pass the attach / detach procedures to
11320 test_normal_stop_notifications.
11321
11322 * gdb.base/signull.exp (test_segv): Prefix all tests with
11323 "${name}". Clean up test messages.
11324
11325 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11326
11327 * gdb.base/ena-dis-br.exp: Update copyright.
11328 (break_at): New function. Replace send_gdb with gdb_test,
11329 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11330 ignore count, not stopped at bpt", with KFAIL.
11331
113322004-07-13 Corinna Vinschen <vinschen@redhat.com>
11333
11334 * gdb.base/attach.exp: Remove cleanupfile handling.
11335
113362004-07-12 Andrew Cagney <cagney@gnu.org>
11337
11338 * gdb.base/annota1.exp: Cleanup corefile test name.
11339 * gdb.base/annota3.exp: Ditto.
11340
113412004-07-12 Andrew Cagney <cagney@gnu.org>
11342
11343 * gdb.base/signals.exp: Clean up copyright, re-indent.
11344
11345 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11346 gdb_test and gdb_test_multiple.
11347
113482004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11349
11350 * gdb.java/jmain.exp: Fix expected line number for main to
11351 break at. Set XFAIL for break at main test since gcj does not
11352 provide line number info for first statement in main.
11353
113542004-07-08 Andrew Cagney <cagney@gnu.org>
11355
11356 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11357
11358 * gdb.base/sigbpt.exp: Make the common part of each test name a
11359 prefix instead of suffix.
11360
113612004-07-07 Bob Rossi <bob_rossi@cox.net>
11362
11363 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11364 test from test_tbreak_creation_and_listing to
11365 test_file_list_exec_source_file
11366 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11367 Changed name of test from test_tbreak_creation_and_listing to
11368 test_file_list_exec_source_file
11369
113702004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11371
11372 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11373 the jmisc() constructor instead of <init>.
11374 * gdb.java/jmisc1.exp: Ditto.
11375
113762004-07-07 Andrew Cagney <cagney@gnu.org>
11377
11378 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11379 corrupting the PC.
11380
113812004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11382
11383 * gdb.cp/templates.exp: Accept whitespace change in demangler
11384 output.
11385
113862004-07-06 Andrew Cagney <cagney@gnu.org>
11387
11388 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11389
113902004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11391
11392 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11393 * lib/compiler.cc: Likewise.
11394
113952004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11396
11397 * lib/compiler.cc: Work around string preprocessing problem
11398 with old hp c++ compiler.
11399 * lib/compiler.c: Likewise.
11400
114012004-06-29 Corinna Vinschen <vinschen@redhat.com>
11402
11403 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11404 directives to conditionalize symbol prefixing.
11405 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11406 additional_flags handling. Add underscore prefix for Cygwin.
11407 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11408 conditionalize symbol prefixing.
11409 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11410 additional_flags handling. Add underscore prefix for Cygwin.
11411
114122004-06-29 Corinna Vinschen <vinschen@redhat.com>
11413
11414 * gdb.base/bigcore.exp: Skip test on Cygwin.
11415
114162004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11417
11418 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11419 formats for "info register". Use gdb_test_multiple. Fix
11420 the "invalid register" test.
11421
114222004-06-28 Corinna Vinschen <vinschen@redhat.com>
11423
11424 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11425 PID for Cygwin. Add Cygwin specific strings to check for in some
11426 tests.
11427 (do_attach_tests): Add a test for user interaction when attaching
11428 to a process with no matching symbol table already loaded.
11429
114302004-06-26 Andrew Cagney <cagney@gnu.org>
11431
11432 Test PR java/1567 and PR java/1565.
11433 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11434 * gdb.java/jmisc2.exp: Delete file.
11435
114362004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11437
11438 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11439
114402004-06-25 Corinna Vinschen <vinschen@redhat.com>
11441
11442 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11443 attach process.
11444
114452004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11446
11447 * gdb.cp/pr-1553.exp: Remove.
11448
114492004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11450
11451 * gdb.cp/pr-1553.cc: Remove.
11452 * gdb.cp/pr-1553.exp: Disable this test.
11453
114542004-06-20 Jim Blandy <jimb@redhat.com>
11455
11456 Fix PR testsuite/1680.
11457 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11458 regular expressions.
11459
114602004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11461
11462 Fix PR testsuite/1679.
11463 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11464 Issue an UNSUPPORTED result instead.
11465
114662004-06-18 Jim Blandy <jimb@redhat.com>
11467
11468 * gdb.base/charset.exp: Only send a control-C if we see a new
11469 prompt and incomplete command.
11470
114712004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11472
11473 * gdb.cp/pr-574.cc: Add copyright notice.
11474
114752004-06-17 Jim Blandy <jimb@redhat.com>
11476
11477 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11478 cases where the regexp has no groups; this grabs random text from
11479 the previous test suite, whatever that was.
11480
114812004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11482
11483 * gdb.cp/printmethod.cc: Add copyright notice.
11484
114852004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11486
11487 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11488
114892004-06-16 Andrew Cagney <cagney@gnu.org>
11490
11491 * gdb.base/signull.c: Update copyright. Include <string.h>.
11492 (bowler): Replace data_pointer with data_read
11493 and data_write cases. Add code_descriptor case.
11494 (zero, desc): New array and pointer.
11495 (data, code): Change to simple pointers.
11496 * gdb.base/signull.exp: Fix probe pattern matching a function
11497 descriptor SIGSEGV. Replace data_pointer with data_read and
11498 data_write tests.
11499
115002004-06-16 Andrew Cagney <cagney@gnu.org>
11501
11502 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11503
115042004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11505
11506 * gdb.base/long_long.c: Add copyright notice.
11507
115082004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11509
11510 * gdb.base/long_long.exp: Remove reference to
11511 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11512 to gdb_breakpoint and gdb_continue_to_breakpoint.
11513
115142004-06-14 Jim Blandy <jimb@redhat.com>
11515
11516 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11517 endian case.
11518
115192004-06-14 Andrew Cagney <cagney@gnu.org>
11520
11521 * gdb.base/gcore.exp (capture_command_output): Delete the always
11522 passing tests containing inferior values.
11523 * gdb.base/ending-run.exp: Do not include the breakpoint address
11524 in the test message. Update copyright.
11525 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11526 size in the test name, use gdb_test_multiple. Update copyright.
11527
115282004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11529
11530 * gdb.cp/ref-types.cc: Add copyright notice.
11531
115322004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11533
11534 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11535 hp_aCC_compiler.
11536 * lib/compiler.cc: Likewise.
11537 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11538 'set' commands. Log diagnostics for other lines. Set
11539 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11540
115412004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11542
11543 * gdb.cp/try_catch.cc: Add copyright notice.
11544
115452004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11546
11547 * gdb.cp/userdef.cc: Add copyright notice.
11548
115492004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11550
11551 * gdb.cp/virtfunc.cc: Add copyright notice.
11552
115532004-06-11 Randolph Chung <tausq@debian.org>
11554
11555 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11556 problem.
11557
115582004-06-10 Andrew Cagney <cagney@gnu.org>
11559
11560 * lib/compiler.cc, lib/compiler.c: Append either
11561 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11562 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11563 instead of gcc-3-3.
11564
115652004-06-09 Andrew Cagney <cagney@gnu.org>
11566
11567 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11568 gdb/1455, bug is specific to "long long" and "double".
11569
11570 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11571 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11572 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11573 fixed.
11574
115752004-06-09 Andrew Cagney <cagney@gnu.org>
11576
11577 * gdb.base/structs.exp (test_struct_returns): Replace
11578 "return_value_unknown" and "finish_value_unknown" by
11579 "return_value_known" and "finish_value_known". Instead of
11580 "return_value_unknown" iff "finish_value_unknown", check
11581 "return_value_known" implies "finish_value_known".
11582
115832004-06-08 Martin Hunt <hunt@redhat.com>
11584
11585 * gdb.base/float.exp: Add pattern for mips targets.
11586
115872004-06-08 Randolph Chung <tausq@debian.org>
11588
11589 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11590 message for unknown architectures more clear.
11591
115922004-06-08 Joel Brobecker <brobecker@gnat.com>
11593
11594 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11595 start the execution of the program.
11596
115972004-06-07 Jim Blandy <jimb@redhat.com>
11598
11599 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11600 * gdb.arch/i386-cpuid.h: New helper file.
11601
116022004-06-07 Randolph Chung <tausq@debian.org>
11603
11604 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11605 has started.
11606
116072004-06-04 Roland McGrath <roland@redhat.com>
11608
11609 Fix PR gdb/1647.
11610 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11611 differently to be robust to output buffering differences.
11612
116132004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11614
11615 * gdb.threads/pthreads.exp: Update copyright years.
11616 (check_control_c): Change asynchronous 'after' to synchronous.
11617
116182004-06-04 Roland McGrath <roland@redhat.com>
11619
11620 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11621 next gdb prompt.
11622
116232004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11624
11625 Fix PR gdb/1636.
11626 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11627 calls to synchronous.
11628
116292004-05-26 Jim Blandy <jimb@redhat.com>
11630
11631 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11632
116332004-05-24 Randolph Chung <tausq@debian.org>
11634
11635 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11636 * gdb.asm/pa.inc: New file.
11637
116382004-05-22 Mark Kettenis <kettenis@gnu.org>
11639
11640 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11641
116422004-05-21 Joel Brobecker <brobecker@gnat.com>
11643 Daniel Jacobowitz <drow@mvista.com>
11644
11645 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11646 GDB prompt.
11647
116482004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11649
11650 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11651 setjmp/longjmp. Use sigaction instead of signal.
11652
116532004-05-19 J. Brobecker <brobecker@gnat.com>
11654 Michael Snyder <msnyder@redhat.com>
11655
11656 * gdb.threads/pthread_cond_wait.c: New file.
11657 * gdb.threads/pthread_cond_wait.exp: New testcase.
11658
116592004-05-13 Andrew Cagney <cagney@redhat.com>
11660
11661 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11662 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11663
116642004-05-11 Andrew Cagney <cagney@redhat.com>
11665
11666 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11667 fixed but revealed gdb/1639.
11668
116692004-05-10 Andrew Cagney <cagney@redhat.com>
11670
11671 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11672 func1" and "next to 2nd alarm", kernel bug avoided.
11673
116742004-05-10 Daniel Jacobowitz <dan@debian.org>
11675
11676 PR external/1568
11677 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11678 XFAIL if it is smaller than bytes_allocated.
11679 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11680 (main): Make chunks_allocated unsigned. Correct comment.
11681
116822004-05-07 Joel Brobecker <brobecker@gnat.com>
11683
11684 * gdb.arch/powerpc-aix-prologue.c: New file.
11685 * gdb.arch/powerpc-aix-prologue.exp: New file.
11686
116872004-05-07 Jim Blandy <jimb@redhat.com>
11688
11689 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11690 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11691
116922004-05-06 Joel Brobecker <brobecker@gnat.com>
11693
11694 * gdb.base/sep.exp: No longer setup_kfail when the program was
11695 built with dwarf2.
11696
116972004-05-05 Jim Ingham <jingham@apple.com>
11698
11699 * gdb.base/pending.exp: Make sure pending breakpoints
11700 preserve the ignore count.
11701
117022004-04-27 Jerome Guitton <guitton@gnat.com>
11703
11704 * i386-prologue.exp: Add testcase for jump instruction as first
11705 instruction of the real code.
11706 * i386-prologue.c (jump_at_beginning): New function.
11707
117082004-04-28 Mark Kettenis <kettenis@gnu.org>
11709
11710 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11711 x86_64-*-*.
11712
117132004-04-28 Mark Kettenis <kettenis@gnu.org>
11714
11715 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11716 i*86-*-*.
11717
117182004-04-25 Mark Kettenis <kettenis@gnu.org>
11719
11720 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11721 expression that checks the return type.
11722
117232004-04-23 Andrew Cagney <cagney@redhat.com>
11724
11725 * gdb.base/call-sc.exp: New test of scalar call/return values.
11726 * gdb.base/call-sc.c: Ditto.
11727
117282004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11729
11730 * gdb.threads/manythreads.c: Reduce thread stack size.
11731
117322004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11733
11734 * gdb.threads/manythreads.c: Add copyright notice.
11735
117362004-04-23 Andrew Cagney <cagney@redhat.com>
11737
11738 * gdb.base/siginfo.exp: Better handle step out of signal.
11739 * gdb.base/sigstep.exp: Ditto.
11740
117412004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11742 Daniel Jacobowitz <drow@mvista.com>
11743
11744 * gdb.threads/manythreads.c: New testcase.
11745 * gdb.threads/manythreads.exp: Ditto.
11746
117472004-04-22 Jim Blandy <jimb@redhat.com>
11748
11749 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11750 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11751
117522004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11753
11754 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11755
117562004-04-21 Andrew Cagney <cagney@redhat.com>
11757
11758 * gdb.base/sigstep.c: New file.
11759 * gdb.base/sigstep.exp: New file.
11760
117612004-04-16 Joel Brobecker <brobecker@gnat.com>
11762
11763 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11764 call to observer_notify_normal_stop.
11765
117662004-04-15 Andrew Cagney <cagney@redhat.com>
11767
11768 * gdb.base/siginfo.c: New file.
11769 * gdb.base/siginfo.exp: New file.
11770
117712004-04-12 J. Brobecker <brobecker@gnat.com>
11772
11773 * gdb.base/sep.exp: Fix typo in comment.
11774
117752004-04-12 J. Brobecker <brobecker@gnat.com>
11776
11777 * gdb.base/sep.c: New file.
11778 * gdb.base/sep-proc.c: New file.
11779 * gdb.base/sep.exp: New testcase.
11780
117812004-04-09 Mark Kettenis <kettenis@gnu.org>
11782
11783 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11784 support.
11785
117862004-04-05 Andrew Cagney <cagney@redhat.com>
11787
11788 * gdb.base/sigaltstack.c: New file.
11789 * gdb.base/sigaltstack.exp: New file.
11790
117912004-04-04 Joel Brobecker <brobecker@gnat.com>
11792
11793 * gdb.base/foll-fork.exp: Update the expected output for
11794 "help set follow-fork-mode", to match a change that was made
11795 to the help of this variable on 2004-01-13.
11796
117972004-04-01 Joel Brobecker <brobecker@gnat.com>
11798
11799 * lib/ada.exp: Add copyright notice.
11800 * bar.ads: Likewise.
11801 * bar.adb: Likewise.
11802 * null_record.adb: Likewise.
11803 * null_record.exp: Likewise.
11804 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11805
118062004-04-01 Joel Brobecker <brobecker@gnat.com>
11807
11808 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11809 * configure: Regenerate.
11810
118112004-04-01 Joel Brobecker <brobecker@gnat.com>
11812
11813 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11814 to build the application. Remove the message printed when in
11815 verbose mode, redundant with the UNSUPPORTED message above.
11816
118172004-03-31 Joel Brobecker <brobecker@gnat.com>
11818
11819 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11820 * gdb.ada (null_record.exp): New testcase.
11821
118222004-03-31 Joel Brobecker <brobecker@gnat.com>
11823
11824 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11825
118262004-03-31 Joel Brobecker <brobecker@gnat.com>
11827
11828 * gdb.ada: New subdirectory.
11829 * gdb.ada/Makefile.in: New file.
11830 * gdb.ada/gnat_ada.gpr.in: New file.
11831
118322004-03-31 Joel Brobecker <brobecker@gnat.com>
11833
11834 * lib/ada.exp: New file.
11835
118362004-03-24 Daniel Jacobowitz <drow@mvista.com>
11837
11838 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11839 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11840
118412004-03-22 Andrew Cagney <cagney@redhat.com>
11842
11843 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11844 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11845 Problem identified by Ulrich Weigand.
11846
118472004-03-17 David Carlton <carlton@kealia.com>
11848
11849 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11850 PR c++/826.
11851
118522004-03-16 Roland McGrath <roland@redhat.com>
11853
11854 * gdb.base/auxv.exp: New file.
11855 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11856
118572004-03-12 David Carlton <carlton@kealia.com>
11858
11859 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11860 * gdb.cp/pr-1553.cc: Ditto.
11861 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11862 pass branch.
11863
118642004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11865
11866 * gdb.cp/templates.exp: Accept more template types.
11867
118682004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11869
11870 From Corinna Vinschen with modifications.
11871 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11872 local variable obj_with_enum.
11873 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11874 results with obj_with_enum.
11875
118762004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11877
11878 * gdb.cp/classes.cc: New file, copied from misc.cc.
11879 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11880
118812004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11882
11883 * gdb.cp/misc.cc: Add copyright notice.
11884
118852004-03-05 David Carlton <carlton@kealia.com>
11886
11887 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11888 * gdb.cp/rtti.h: Update copyright.
11889 (namespace n2::n3): New.
11890 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11891 (n2::n3::func3): New.
11892 (main): Call n2::n3::func3.
11893 * gdb.cp/rtti2.cc: Update copyright.
11894 (n2::create3): New.
11895
118962004-03-04 Mark Kettenis <kettenis@gnu.org>
11897
11898 * gdb.asm/openbsd.inc: Fix typo.
11899
119002004-03-03 Fred Fish <fnf@redhat.com>
11901
11902 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11903 "val" instead of unused "size". Update copyright year.
11904
119052004-02-29 Daniel Jacobowitz <drow@mvista.com>
11906
11907 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11908 to use unsigned char.
11909 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11910 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11911
119122004-02-29 Daniel Jacobowitz <drow@mvista.com>
11913
11914 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11915 line of output.
11916
119172004-02-28 Daniel Jacobowitz <drow@mvista.com>
11918
11919 * gdb.base/relocate.c (dummy): Initialize.
11920
119212004-02-28 Daniel Jacobowitz <drow@mvista.com>
11922
11923 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11924 a breakpoint at exit.
11925
119262004-02-27 Fred Fish <fnf@redhat.com>
11927
11928 * gdb.base/chng-syms.exp: Add expect condition to match failing
11929 case that isn't a timeout.
11930
119312004-02-27 Andrew Cagney <cagney@redhat.com>
11932
11933 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11934 support.
11935
119362004-02-26 Fred Fish <fnf@redhat.com>
11937
11938 * gdb.arch/gdb1431.c: Remove.
11939 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11940 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11941 of "until" incorrectly.
11942
119432004-02-26 J. Brobecker <brobecker@gnat.com>
11944
11945 * gdb.cp/class2.cc (empty): New class.
11946 (refer): New function.
11947 (main): Declare an object of type empty and use it.
11948 * gdb.cp/class2.exp: Print the value of an object of type empty.
11949
119502004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11951
11952 * gdb.base/langs.exp: Update query string to match the
11953 new nquery format used for pending breakpoints.
11954
119552004-02-26 Andrew Cagney <cagney@redhat.com>
11956
11957 Fix PR i18n/1570.
11958 * gdb.base/charset.c: Update copyright notice.
11959 (main, init_string): Remove the escape character '\e' tests.
11960 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11961 * gdb.base/charset.exp (valid_host_charset): Ditto.
11962 * gdb.base/setvar.exp: Ditto.
11963
119642004-02-24 Andrew Cagney <cagney@redhat.com>
11965
11966 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11967 mmapped data in core file" PASS and FAIL messages consistent.
11968
11969 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11970 setting a breakpoint. Work around PR java/1565.
11971
119722004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11973
11974 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11975 new nquery format.
11976 * gdb.base/pending.exp: Ditto.
11977
119782004-02-22 Mark Kettenis <kettenis@gnu.org>
11979
11980 * configure.in: Run stabs tests on *BSD.
11981 * configure: Regenerated.
11982
119832004-02-21 Mark Kettenis <kettenis@gnu.org>
11984
11985 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11986
119872004-02-20 Fred Fish <fnf@redhat.com>
11988
11989 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11990 blank in test for "returns short", for consistency with other
11991 "returns xxx" tests. Update copyright year.
11992
119932004-02-19 Fred Fish <fnf@redhat.com>
11994
11995 New testcase for PR breakpoint/1558.
11996 * gdb.arch/gdb1558.exp: New file.
11997 * gdb.arch/gdb1558.c: New file.
11998
119992004-02-19 Elena Zannoni <ezannoni@redhat.com>
12000
12001 * gdb.base/nodebug.exp: Fix typo.
12002
120032004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12004
12005 Committed by Jim Blandy <jimb@redhat.com>.
12006
12007 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12008
12009 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12010
12011 * gdb.base/float.exp: Support s390*-*-* targets.
12012
120132004-02-17 Adam Fedor <fedor@gnu.org>
12014
12015 * gdb.base/gdb1555.exp: New file.
12016 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12017
120182004-02-17 Elena Zannoni <ezannoni@redhat.com>
12019
12020 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12021
120222004-02-16 Fred Fish <fnf@redhat.com>
12023
12024 * gdb.arch/gdb1291.c: Remove
12025 * gdb.arch/gdb1291.s: New test input file.
12026 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12027 fail. Test for correct result, known incorrect result, other
12028 failures and timeouts.
12029
120302004-02-16 Andrew Cagney <cagney@redhat.com>
12031
12032 * gdb.base/bigcore.exp: New file.
12033 * gdb.base/bigcore.c: New file.
12034
120352004-02-13 Andrew Cagney <cagney@redhat.com>
12036
12037 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12038 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12039 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12040 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12041 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12042 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12043 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12044 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12045 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12046 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12047
120482004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12049
12050 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12051 executed is an alloc instruction.
12052
120532004-02-11 David Carlton <carlton@kealia.com>
12054
12055 * gdb.cp/breakpoint.exp: New.
12056 * gdb.cp/breakpoint.cc: New.
12057
120582004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12059
12060 Partial fix for PR gdb/1543.
12061 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12062 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12063 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12064 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12065 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12066 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12067 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12068 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12069 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12070 to bug-gdb@prep.ai.mit.edu .
12071 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12072 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12073 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12074 Likewise.
12075
120762004-02-10 Andrew Cagney <cagney@redhat.com>
12077
12078 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12079 using gdb_internal_error_resync.
12080
120812004-02-09 Daniel Jacobowitz <drow@mvista.com>
12082
12083 * gdb.threads/thread-specific.exp: Stop early if no threads are
12084 found.
12085
120862004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12087
12088 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12089
120902004-02-08 Daniel Jacobowitz <drow@mvista.com>
12091
12092 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12093 breakpoints.
12094
120952004-02-07 Daniel Jacobowitz <drow@mvista.com>
12096
12097 * config/sim.exp (gdb_load): Handle $arg == "".
12098 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12099 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12100
121012004-02-07 Elena Zannoni <ezannoni@redhat.com>
12102
12103 * gdb.base/maint.exp: Update test to reflect
12104 obstack changes.
12105
121062004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12107
12108 * gdb.base/pendshr.c (pendfunc): New function that calls
12109 pendfunc1.
12110 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12111
121122004-02-04 Fred Fish <fnf@redhat.com>
12113
12114 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12115 function symbols and update copyright years.
12116 * gdb.arch/gdb1291.c: Ditto.
12117
121182004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12119
12120 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12121
121222004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12123
12124 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12125
121262004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12127
12128 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12129
121302004-02-02 Fred Fish <fnf@redhat.com>
12131
12132 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12133 remote targets. Update copyright years.
12134
121352004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12136
12137 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12138 support.
12139 * gdb.base/langs.exp: Fix test which attempts to create
12140 breakpoint on non-existent function to handle new pending
12141 support.
12142 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12143 a breakpoint.
12144 * gdb.base/pending.exp: New test.
12145 * gdb.base/pending.c: New file.
12146 * gdb.base/pendshr.c: Ditto.
12147
121482004-02-02 David Carlton <carlton@kealia.com>
12149
12150 * gdb.cp/overload.exp: Add overloadNamespace tests.
12151 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12152 (overloadNamespace, XXX): New.
12153 (main): Call XXX::marker2.
12154
121552004-02-01 Fred Fish <fnf@redhat.com>
12156
12157 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12158 * gdb.base/finish.exp: Ditto.
12159 * gdb.base/gcore.exp: Ditto.
12160 * gdb.base/huge.exp: Ditto.
12161 * gdb.base/info-proc.exp: Ditto.
12162 * gdb.base/return2.exp: Ditto.
12163 * gdb.threads/gcore-thread.exp: Ditto.
12164
121652004-02-01 Daniel Jacobowitz <drow@mvista.com>
12166
12167 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12168
121692004-02-01 Mark Kettenis <kettenis@gnu.org>
12170
12171 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12172 that opening the file succeeds on OpenBSD.
12173
121742004-02-01 Daniel Jacobowitz <drow@mvista.com>
12175
12176 * gdb.threads/thread-specific.c: New file.
12177 * gdb.threads/threads-specific.exp: New test script.
12178 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12179 to expect_out.
12180
121812004-02-01 Mark Kettenis <kettenis@gnu.org>
12182
12183 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12184 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12185 only on the "print_small_structs from print_long_arg_list" test.
12186
121872004-02-01 Daniel Jacobowitz <drow@mvista.com>
12188
12189 * gdb.base/completion.exp: Kill a stray backslash.
12190
12191 From Jim Ingham <jingham@apple.com>:
12192 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12193 agrees with the result from sending a tab.
12194
121952004-01-31 Daniel Jacobowitz <drow@mvista.com>
12196
12197 * gdb.base/chng-syms.exp: Remove stray newline.
12198
121992004-01-31 Mark Kettenis <kettenis@gnu.org>
12200
12201 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12202 *-*-openbsd*.
12203 * gdb.asm/openbsd.inc: New file.
12204
122052004-01-30 Mark Kettenis <kettenis@gnu.org>
12206
12207 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12208 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12209 *-*solaris2*. Remove commented out default settings for
12210 asm-flags. Replace gdb_compile with target_link.
12211
122122004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12213
12214 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12215 for all tests. Remove old hp-ux and cygnus xfail cases.
12216
122172004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12218
12219 * gdb.base/chng-syms.exp: New file.
12220 * gdb.base/chng-syms.c: New file.
12221
122222004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12225 Provide arms for current output in all my configurations.
12226
122272004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12228
12229 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12230 * lib/compiler.cc: Likewise.
12231 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12232 get the right preprocessor. Eval the output directly. Remove
12233 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12234 hp_f77_compiler and hp_f90_compiler completely.
12235 (gdb_preprocess): Delete.
12236 (get_compiler): Delete.
12237
122382004-01-24 Mark Kettenis <kettenis@gnu.org>
12239
12240 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12241 <string.h>.
12242
122432004-01-24 Nick Roberts <nick@nick.uklinux.net>
12244
12245 * gdb.mi/mi-stack.exp: Update copyright.
12246
122472004-01-23 David Carlton <carlton@kealia.com>
12248
12249 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12250 test for cp_lookup_transparent_type.
12251 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12252 call them.
12253
122542004-01-23 Daniel Jacobowitz <drow@mvista.com>
12255
12256 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12257 after -var-update.
12258
122592004-01-23 David Carlton <carlton@kealia.com>
12260
12261 * gdb.cp/namespace.cc (C::ensureRefs): New.
12262 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12263
122642004-01-20 Nick Roberts <nick@nick.uklinux.net>
12265
12266 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12267 case "-stack-list-locals 2".
12268 * gdb.mi/mi-var-child.exp: Test for case
12269 "-var-list-children --all-values NAME".
12270
122712004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12272
12273 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12274
122752004-01-18 Mark Kettenis <kettenis@gnu.org>
12276
12277 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12278 used with gdb_test_multiple.
12279
12280 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12281 read at address 0. This fixes PR testsuite/1504.
12282
122832004-01-18 Daniel Jacobowitz <drow@mvista.com>
12284
12285 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12286 Remove downloading, guessing the host executable, the calls to
12287 gdb_file_cmd and gdb_target_cmd, and "load" support.
12288 (infer_host_exec): New function broken out from gdb_load.
12289 (gdb_load): New wrapper for gdbserver_gdb_load.
12290 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12291 gdb_target_cmd. Use -target-select.
12292 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12293 Download binaries to the host. Clear last_mi_remote_file when
12294 we load a new binary.
12295 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12296 call gdbserver_gdb_load and mi_gdb_target_cmd.
12297
122982004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12299
12300 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12301 type patterns.
12302
123032004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12304
12305 * gdb.cp/templates.exp: Fix typo in test name of
12306 "print Foo<volatile char*>::foo".
12307
123082004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12309
12310 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12311
123122004-01-16 Ben Elliston <bje@wasabisystems.com>
12313
12314 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12315 (clean mostlyclean): Remove empty rm.
12316
123172004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12318
12319 * gdb.base/setvar.exp: Add copyright years.
12320
123212004-01-14 David Carlton <carlton@bactrian.org>
12322
12323 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12324 PR c++/1511 and update coment.
12325 * gdb.cp/templates.exp: Update patterns to match current output.
12326 If changes involve something other than whitespace, KFAIL
12327 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12328
123292004-01-14 David Carlton <carlton@kealia.com>
12330
12331 * gdb.cp/namespace.exp: Add tests involving classes defined within
12332 namespaces.
12333 * gdb.cp/namespace.cc (C::CClass): New.
12334 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12335
123362004-01-14 Elena Zannoni <ezannoni@redhat.com>
12337
12338 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12339 what debug info we have. Print a better message if something goes
12340 wrong while producing the separate debug info file.
12341
123422004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12343
12344 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12345
123462004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12347
12348 * gdb.base/callfuncs.c: Add copyright notice.
12349
123502004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12351
12352 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12353 inheritance. PR gdb/1498, PR gcc/13539.
12354
123552004-01-13 Elena Zannoni <ezannoni@redhat.com>
12356
12357 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12358 test specific name.
12359 * gdb.mi/gdb669.exp: Ditto.
12360 * gdb.mi/mi-pthreads.exp: Ditto.
12361 * gdb.mi/mi1-pthreads.exp: Ditto.
12362 * gdb.mi/mi2-pthreads.exp: Ditto.
12363
123642004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12365
12366 * gdb.cp/member-ptr.cc: Add copyright notice.
12367
123682004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12369
12370 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12371 some patterns for recent versions of gcc and hpacc. Delete
12372 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12373 Delete tests that access a NULL pointer-to-member-data. This
12374 script is still disabled for gcc.
12375
123762004-01-12 Elena Zannoni <ezannoni@redhat.com>
12377
12378 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12379 escaped correctly.
12380
123812004-01-12 Elena Zannoni <ezannoni@redhat.com>
12382
12383 * gdb.base/sepdebug.exp: New file.
12384 * gdb.base/sepdebug.c: New file.
12385 * lib/gdb.exp (separate_debug_filename): New procedure.
12386 (gdb_gnu_strip_debug): New procedure.
12387
123882004-01-12 Andrew Cagney <cagney@redhat.com>
12389
12390 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12391 * gdb.mi/ChangeLog-1999-2003: New file.
12392
123932004-01-12 Andrew Cagney <cagney@redhat.com>
12394
12395 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12396 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12397 or EEXIST", treat EBUSY as an XFAIL.
12398
123992004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12400
12401 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12402 hp_cc_compiler.
12403
124042004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12405
12406 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12407 decorations.
12408
124092004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12410
12411 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12412 and "(aCC)" decorations. Remove obsolete doco about old
12413 test results.
12414
124152004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12416
12417 * gdb.cp/exception.exp: Fix typo in doco.
12418
124192004-01-09 Mark Kettenis <kettenis@gnu.org>
12420
12421 * gdb.base/gdb1476.exp: Fix typo.
12422
124232004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12424
12425 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12426 file.
12427
124282004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12429
12430 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12431 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12432 Use gdb_compile. Remove restriction on gcc. Add some patterns
12433 for recent version of gdb. Delete second half, which was a copy
12434 of the first half with different build flags. This test is
12435 still disabled because it is still not ready for production.
12436
124372004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12438
12439 * gdb.cp/exception.cc: Add copyright notice.
12440 * gdb.cp/exception.exp: Add a notice that this file is broken
12441 because of line number changes caused by addition of copyright
12442 notice.
12443
124442004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12445
12446 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12447 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12448
124492004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12450
12451 * gdb.cp/classes.exp: Accept gnu abi 2.
12452 * gdb.cp/derivation.exp: Likewise.
12453 * gdb.cp/overload.exp: Likewise.
12454 * gdb.cp/virtfunc.exp: Likewise.
12455
124562004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12457
12458 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12459 semicolon after end of function.
12460
124612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12462
12463 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12464 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12465 boilerplate code for compiling and running the program under
12466 test. Add some string method tests.
12467
124682004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12469
12470 * gdb.cp/bs15503.cc: Add copyright notice.
12471 * gdb.cp/bs15503.exp: Adjust line number.
12472
124732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12474
12475 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12476 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12477
124782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12479
12480 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12481 hp_cc_compiler.
12482
124832004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12484
12485 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12486 * gdb.cp/ctti.exp: Use the marker instead of "next".
12487 With gcc, run further before bailing.
12488
124892004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12490
12491 * gdb.cp/cttiadd.cc: Add copyright notice.
12492 * gdb.cp/cttiadd1.cc: Likewise.
12493 * gdb.cp/cttiadd2.cc: Likewise.
12494 * gdb.cp/cttiadd3.cc: Likewise.
12495
124962004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12497
12498 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12499 Use gdb_test, gdb_test_multiple. Use floating-point values that
12500 have exact representations in IEEE-ish formats.
12501
125022004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12503
12504 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12505 compilers. Delete duplicate call to get_compiler_info.
12506 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12507 * gdb.base/volatile.exp: Likewise.
12508
125092004-01-07 Mark Kettenis <kettenis@gnu.org>
12510
12511 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12512 memory at address 0.
12513
125142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12515
12516 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12517 to test for hp-ux assembler. Fix copyright years.
12518
125192004-01-07 Andrew Cagney <cagney@redhat.com>
12520
12521 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12522
125232004-01-07 Andrew Cagney <cagney@redhat.com>
12524
12525 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12526 when creating the read-only file. From analysis by Roland McGrath
12527 and Elena Zannoni.
12528
125292004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12530
12531 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12532
125332004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12534
12535 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12536 data pointers.
12537
125382004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12539
12540 * gdb.cp/m-static.exp: Compile one source file at a time.
12541 Delete unused call to get_compiler_info.
12542
125432004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12544
12545 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12546 * gdb.base/call-rt-st.exp: Likewise.
12547 * gdb.base/nodebug.exp: Likewise.
12548 * gdb.base/volatile.exp: Likewise.
12549 * gdb.cp/ref-types.exp: Likewise.
12550 * gdb.cp/templates.exp: Likewise.
12551
125522004-01-05 Mark Kettenis <kettenis@gnu.org>
12553
12554 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12555
125562004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12557
12558 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12559 hppa*-hp-hpux*.
12560
125612004-01-04 Mark Kettenis <kettenis@gnu.org>
12562
12563 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12564 x86_64-*-*.
12565
12566 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12567 sparc64-*-* and sparc*-solaris2*.
12568
125692004-01-04 Mark Kettenis <kettenis@gnu.org>
12570
12571 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12572 return ${tests}" test. The ${tests} already mentions the
12573 filename.
12574
125752004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12576
12577 * gdb.cp/local.exp: Accept gcc abi 2.
12578
125792004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12580
12581 * gdb.cp/templates.exp: Accept gcc abi 2.
12582
125832004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12584
12585 * lib/compiler.cc: Remove supports_template_debugging.
12586 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12587
125882004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12589
12590 * gdb.cp/namespace.exp: Accept gcc abi 2.
12591
125922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12593
12594 * gdb.cp/method.exp: Accept gcc abi 2.
12595
125962004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12597
12598 * gdb.cp/classes.exp: Generate identical results as old version.
12599 * gdb.cp/derivation.exp: Likewise.
12600 * gdb.cp/overload.exp: Likewise.
12601 * gdb.cp/virtfunc.exp: Likewise.
12602
126032004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12604
12605 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12606 mysterious bug with sourceware version of expect.
12607
126082004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12609
12610 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12611 current versions of gcc, including gcc abi 2. Remove gratuitous
12612 restart of test program. Use gdb_test_multiple and gdb_test for
12613 all tests. Add patterns to xfail missing "const" in "const char *"
12614 and kfail PR gdb/1155.
12615
126162004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12617
12618 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12619 current versions of gcc, including gcc abi 2. Remove gratuitous
12620 restart of test program. Use gdb_test_multiple and gdb_test for
12621 all tests. Add patterns to kfail PR gdb/1498.
12622
126232003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12624
12625 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12626 current versions of gcc, including gcc abi 2. Use "breakpoint"
12627 and "continue" instead of restarting the target program. Use
12628 gdb_test_multiple and gdb_test for all tests.
12629
126302004-01-01 Mark Kettenis <kettenis@gnu.org>
12631
12632 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12633 for *-*-solaris2*.
12634
126352003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12636
12637 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12638 current versions of gcc, including gcc abi 2. Use "breakpoint"
12639 and "continue" instead of restarting the target program several
12640 times. Use gdb_test_multiple and gdb_test for all tests.
12641
126422003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12643
12644 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12645 source files.
12646
126472003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12648
12649 * gdb.base/environ.exp: Handle compiling test case from multiple
12650 source files.
12651
126522003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12653
12654 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12655
126562003-12-17 Jim Blandy <jimb@redhat.com>
12657
12658 * gdb.base/freebpcmd.c: Add copyright notice.
12659
12660 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12661
126622003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12663
12664 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12665
126662003-12-13 Jim Blandy <jimb@redhat.com>
12667
12668 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12669
126702003-12-12 Kevin Buettner <kevinb@redhat.com>
12671
12672 * gdb.asm/frv.inc: New file.
12673 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12674
126752003-12-09 Fred Fish <fnf@redhat.com>
12676
12677 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12678 functions to break1.c and leave prototypes behind. Add more
12679 "set breakpoint NN here" comments.
12680 * gdb.base/break1.c: New file.
12681
12682 * gdb.base/break.exp: Handle compiling test case from multiple
12683 source files and change source file references as needed.
12684 * gdb.base/completion.exp: Ditto.
12685 * gdb.base/condbreak.exp: Ditto.
12686 * gdb.base/define.exp: Ditto.
12687 * gdb.base/ena-dis-br.exp: Ditto.
12688 * gdb.base/info-proc.exp: Ditto.
12689 * gdb.base/maint.exp: Ditto.
12690 * gdb.base/until.exp: Ditto.
12691
12692 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12693 hardcoded line numbers.
12694 * gdb.base/define.exp: Ditto.
12695 * gdb.base/ena-dis-br.exp: Ditto.
12696 * gdb.base/maint.exp: Ditto.
12697 * gdb.base/until.exp: Ditto.
12698
12699 * gdb.base/completion.exp: Use "break1" for completion tests since
12700 "break" is no longer a unique prefix.
12701
127022003-12-06 Andrew Cagney <cagney@redhat.com>
12703
12704 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12705 "return_value_unimplemented". When an unimplemented struct return
12706 architecture, report incorrect values as a KFAIL
12707
127082003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12709
12710 * gdb.cp/rtti.exp: Accept new wording of warning from
12711 cp_lookup_rtti_type.
12712
127132003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12714
12715 Partial fix for PR testsuite/1456.
12716 * gdb.base/scope.exp (test_at_main): Replace references to
12717 gcc_compiled with calls to test_compiler_info.
12718 (test_at_foo): Likewise.
12719 (test_at_bar): Likewise.
12720
127212003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12722
12723 Partial fix for PR testsuite/1456.
12724 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12725 to test_compiler_info.
12726
127272003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12728
12729 * gdb.base/so-impl-ld.exp: Update copyright notice.
12730
127312003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12732
12733 Partial fix for PR testsuite/1456.
12734 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12735 to test_compiler_info.
12736
127372003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12738
12739 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12740 from current versions of gdb. Clean up regular expressions.
12741 Delete redundant timeout case.
12742
127432003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12744
12745 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12746 from current versions of gdb. Clean up regular expressions.
12747 Delete redundant timeout case.
12748
127492003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12750
12751 Partial fix for PR testsuite/1456.
12752 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12753 gcc_compiled with call to test_compiler_info.
12754
127552003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12756
12757 Partial fix for PR testsuite/1456.
12758 * gdb.base/list.exp (test_list_function): Delete unused declaration
12759 of gcc_compiled.
12760
127612003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12762
12763 Partial fix for PR testsuite/1456.
12764 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12765 call to test_compiler_info.
12766
127672003-11-29 Mark Kettenis <kettenis@gnu.org>
12768
12769 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12770 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12771 it to create the appropriate note.inc.
12772 * gdb.asm/asmsrc1.s: Include "note.inc".
12773 * gdb.asm/netbsd.inc: New file.
12774 * gdb.asm/empty.inc: New file.
12775
127762003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12777
12778 Partial fix for PR testsuite/1456.
12779 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12780 calls to test_compiler_info.
12781
127822003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12783
12784 Partial fix for PR testsuite/1456.
12785 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12786 calls to test_compiler_info.
12787
127882003-11-27 Mark Kettenis <kettenis@gnu.org>
12789
12790 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12791 pattern for the KFAILs.
12792
127932003-11-25 Adam Fedor <fedor@gnu.org>
12794
12795 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12796 * gdb.objc/objcdecode.m: New file.
12797
127982003-11-25 Adam Fedor <fedor@gnu.org>
12799
12800 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12801 * gdb.objc/nondebug.m: New file.
12802
128032003-11-26 Ben Elliston <bje@wasabisystems.com>
12804
12805 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12806 NetBSD as it does on FreeBSD. Modelled on a similar change by
12807 Mark Kettenis on 2003-05-30.
12808 (link-flags): Set to "--entry _start" regardless of target.
12809 Special linker flags are to be appended to $link-flags.
12810 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12811
128122003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12813
12814 * gdb.cp/method.exp: Accept output of new demangler.
12815
128162003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12817
12818 * gdb/class2.exp: New file.
12819 * gdb/class2.cc: New file.
12820
128212003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12822
12823 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12824 of new demangler.
12825
128262003-11-23 Mark Kettenis <kettenis@gnu.org>
12827
12828 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12829 of gdb_test "run".
12830
128312003-11-23 Mark Kettenis <kettenis@gnu.org>
12832
12833 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12834 "continue" into "run".
12835
128362003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12837
12838 Partial fix for PR testsuite/1456.
12839 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12840 call to test_compiler_info.
12841 * gdb.cp/ctti.exp: Likewise.
12842 * gdb.cp/derivation.exp: Likewise.
12843 * gdb.cp/member-ptr.exp: Likewise.
12844 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12845 reference to gcc_compiled.
12846
128472003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12848
12849 Fix PR testsuite/1463.
12850 * gdb.base/structs.exp (start_structs_test): Call
12851 get_debug_format before using the debug format.
12852
128532003-11-22 Andrew Cagney <cagney@redhat.com>
12854
12855 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12856 * gdb.base/structs.exp: Use gdb_test_multiple.
12857
128582003-11-20 Andrew Cagney <cagney@redhat.com>
12859
12860 * gdb.base/structs.exp: Handle and recover from internal errors.
12861 Replace "foo${n}" with "foo<n>" in test messages.
12862
12863 * gdb.base/structs.exp: Update copyright. Rewrite.
12864 * gdb.base/structs.c: Update copyright. Rewrite.
12865
12866 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12867 resync count exceeded.
12868
12869 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12870 from the internal error.
12871 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12872 Original from Jim Blandy.
12873 (gdb_test_multiple): Use gdb_internal_error_resync.
12874
128752003-11-19 Andrew Cagney <cagney@redhat.com>
12876
12877 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12878 KFAIL.
12879
128802003-11-17 Mark Kettenis <kettenis@gnu.org>
12881
12882 New testcase for PR backtrace/1435.
12883 * gdb.arch/i386-unwind.exp: New file.
12884 * gdb.arch/i386-unwind.c: New file.
12885
128862003-11-17 Andrew Cagney <cagney@redhat.com>
12887
12888 * lib/gdb.exp (compiler_info): New global.
12889 (test_compiler_info): New function.
12890 (get_compiler_info): Set compiler_info.
12891 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12892 "compiler_info" to gcc-<major>-<minor>.
12893
128942003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12895
12896 * gdb.trace/configure: Remove.
12897
128982003-11-13 Elena Zannoni <ezannoni@redhat.com>
12899
12900 * gdb.base/break.c: Add comments to aid finding line numbers for
12901 breakpoints.
12902 * gdb.base/break.exp: Remove all references to explicit line
12903 numbers.
12904
129052003-11-11 Nick Clifton <nickc@redhat.com>
12906
12907 * gdb.base/shreloc.exp: Do not run for targets which do not
12908 support shared objects.
12909
129102003-11-10 Corinna Vinschen <vinschen@redhat.com>
12911
12912 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12913 Don't run tests if nofileio flag is given.
12914
129152003-11-07 Elena Zannoni <ezannoni@redhat.com>
12916
12917 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12918 as well as 'Watchpoint'.
12919
129202003-11-06 Elena Zannoni <ezannoni@redhat.com>
12921
12922 Reported by Jim Ingham <jingham@apple.com>:
12923 * gdb.base/annota1.exp: Match at least one occurrence of the
12924 signal handler annotation.
12925
129262003-11-06 Elena Zannoni <ezannoni@redhat.com>
12927
12928 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12929 as well as 'Watchpoint'.
12930
129312003-11-05 Michael Chastain <mec@shout.net>
12932
12933 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12934
129352003-11-03 Kris Warkentin <kewarken@qnx.com>
12936
12937 * gdb.arch/gdb1291.c: New test file.
12938 * gdb.arch/gdb1291.exp: New test script.
12939 * gdb.arch/gdb1431.c: New test file.
12940 * gdb.arch/gdb1431.exp: New test script.
12941
129422003-10-22 Michael Chastain <mec@shout.net>
12943
12944 * gdb.mi/pthreads.c: Add copyright notice.
12945
129462003-10-22 Michael Chastain <mec@shout.net>
12947
12948 * gdb.threads/pthreads.c: Add copyright notice.
12949
129502003-10-20 Michael Chastain <mec@shout.net>
12951
12952 * gdb.base/gdb1056.exp: New test script.
12953
129542003-10-13 Daniel Jacobowitz <drow@mvista.com>
12955
12956 * gdb.threads/killed.exp: Use gdb_run_cmd.
12957
129582003-10-13 Daniel Jacobowitz <drow@mvista.com>
12959
12960 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12961 create a core file.
12962 * gdb.threads/gcore-thread.exp: Likewise.
12963
129642003-10-13 Corinna Vinschen <vinschen@redhat.com>
12965
12966 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12967 type, based on char type.
12968 (struct bit_flags_short_t): New bitfield type, based on short type.
12969 (init_bit_flags_char): New fuction.
12970 (init_bit_flags_short): Ditto.
12971 (print_bit_flags_char): Ditto.
12972 (print_bit_flags_short): Ditto.
12973 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12974
129752003-10-11 Michael Chastain <mec@shout.net>
12976
12977 * gdb.base/call-rt-st.exp: Update copyright year.
12978
129792003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12980
12981 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12982 * gdb.disasm/sh3.s: Ditto.
12983
129842003-10-07 Daniel Jacobowitz <drow@mvista.com>
12985
12986 * gdb.threads/switch-threads.exp: New test.
12987 * gdb.threads/switch-threads.c: New source file.
12988
129892003-10-07 Corinna Vinschen <vinschen@redhat.com>
12990
12991 * gdb.base/ending-run.exp: Add sh specific case.
12992
129932003-10-06 Andrew Cagney <cagney@redhat.com>
12994
12995 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12996 * gdb.disasm/mn10200.exp: Delete obsolete file.
12997
129982003-09-29 Daniel Jacobowitz <drow@mvista.com>
12999
13000 * ChangeLog: Correct an entry command.exp -> commands.exp.
13001 * gdb.base/commands.exp (bp_deleted_in_command_test)
13002 (temporary_breakpoint_commands): Check noargs.
13003
130042003-09-25 David Carlton <carlton@kealia.com>
13005
13006 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13007 of some print tests, where appropriate. Add tests for C::D::cd,
13008 E::ce, F::cXfX, G::XgX.
13009 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13010
130112003-09-25 Richard Earnshaw <rearnsha@arm.com>
13012
13013 * lib/java.exp (java_init): Import target_alias before using it.
13014
130152003-09-25 David Carlton <carlton@kealia.com>
13016
13017 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13018
130192003-09-23 Elena Zannoni <ezannoni@redhat.com>
13020
13021 * gdb.base/selftest.exp: Accomodate more instruction reordering
13022 weirdness.
13023
130242003-09-17 Michael Chastain <mec@shout.net>
13025
13026 * gdb.cp/gdb1355.exp: New file.
13027 * gdb.cp/gdb1355.c: New file.
13028
130292003-09-15 Corinna Vinschen <vinschen@redhat.com>
13030
13031 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13032 * gdb.asm/sh.inc: New file.
13033
130342003-09-11 David Carlton <carlton@kealia.com>
13035
13036 * gdb.cp/namespace.exp: Add tests for namespace types.
13037 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13038 (test_namespace): New.
13039
130402003-09-11 Elena Zannoni <ezannoni@redhat.com>
13041
13042 * gdb.base/relocate.exp: Handle new gdb output at startup.
13043 * gdb.stabs/weird.exp: Ditto.
13044
130452003-09-08 Michael Chastain <mec@shout.net>
13046
13047 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13048
130492003-09-07 Michael Chastain <mec@shout.net>
13050
13051 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13052 'parse error'.
13053
130542003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13055
13056 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13057
130582003-08-30 Michael Chastain <mec@shout.net>
13059
13060 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13061 * gdb.gdb/observer.exp: Ditto.
13062 * gdb.gdb/xfullpath.exp: Ditto.
13063
130642003-08-29 Mark Kettenis <kettenis@gnu.org>
13065
13066 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13067 *-*-*bsd*.
13068
130692003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13070
13071 * gdb.base/dump.exp: Skip for ia64.
13072
130732003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13074
13075 * gdb.asm/asm-source.exp: Add ia64 support.
13076 * gdb.asm/ia64.inc: New file.
13077
130782003-08-22 Michael Chastain <mec@shout.net>
13079
13080 * gdb.cp: New directory.
13081 * gdb.cp/*: Copy from gdb.c++/*.
13082 * gdb.c++/*: Remove.
13083 * Makefile.in: Change gdb.c++ to gdb.cp.
13084 * configure.in: Ditto.
13085 * configure: Regnerate.
13086
130872003-08-18 Mark Kettenis <kettenis@gnu.org>
13088
13089 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13090 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13091
130922003-08-17 Daniel Jacobowitz <drow@mvista.com>
13093
13094 * mi-var-display.exp (-var-list-children weird): Accept function
13095 pointers with argument types.
13096 * mi1-var-display.exp (-var-list-children weird): Likewise.
13097 * mi2-var-display.exp (-var-list-children weird): Likewise.
13098
130992003-08-17 Daniel Jacobowitz <drow@mvista.com>
13100
13101 * gdb.base/annota3.exp: Add missing newline.
13102
131032003-08-06 Michael Chastain <mec@shout.net>
13104
13105 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13106
131072003-08-12 Michael Snyder <msnyder@redhat.com>
13108
13109 * gdb.base/float.exp: Add test for SH.
13110
131112003-08-10 Mark Kettenis <kettenis@gnu.org>
13112
13113 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13114
131152003-08-07 Elena Zannoni <ezannoni@redhat.com>
13116
13117 * gdb.base/completion.exp: Remove reduntant completion test
13118 on filename.
13119
131202003-08-07 Elena Zannoni <ezannoni@redhat.com>
13121
13122 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13123 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13124 gdb.trace/save-trace.exp: Make sure that full pathnames are
13125 escaped correctly.
13126
131272003-08-07 Elena Zannoni <ezannoni@redhat.com>
13128
13129 * configure.in: Don't generate config.h from config.hin.
13130 * configure: Regenerate.
13131 * config.hin: Remove file.
13132 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13133 * gdb.threads/pthreads.c: Ditto.
13134
131352003-08-07 Daniel Jacobowitz <drow@mvista.com>
13136
13137 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13138 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13139 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13140 Replace ld24 with seth/add3.
13141
131422003-08-02 Andrew Cagney <cagney@redhat.com>
13143
13144 * gdb.base/annota3.exp: New file.
13145 * gdb.base/annota3.c: New file.
13146 * gdb.c++/annota3.exp: New file.
13147 * gdb.c++/annota3.cc: New file.
13148
131492003-07-29 Michael Chastain <mec@shout.net>
13150
13151 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13152 actually failed.
13153 (do_pass): Likewise.
13154 * gdb.threads/tls.exp: Always initialize no_of_threads.
13155
131562003-07-27 Daniel Jacobowitz <drow@mvista.com>
13157
13158 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13159 pattern.
13160 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13161 * gdb.threads/tls.exp: Recognize one case of the host library not
13162 supporting TLS.
13163
131642003-07-27 Andrew Cagney <cagney@redhat.com>
13165
13166 * gdb.base/fileio.exp: Use SH when running commands using
13167 remote_exec.
13168
131692003-07-24 Daniel Jacobowitz <drow@mvista.com>
13170
13171 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13172 * gdb.base/relocate.c (dummy): New padding array.
13173
131742003-07-22 Michael Snyder <msnyder@redhat.com>
13175
13176 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13177
13178 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13179 patterns to be more general, accepting old and new output.
13180 Some output chars (such as '+') also must be quoted.
13181 Some addresses are displayed numerically instead of
13182 symbolically.
13183
131842003-07-23 Michael Snyder <msnyder@redhat.com>
13185
13186 * gdb.base/return2.exp: Don't test long-long return.
13187
13188 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13189 * gdb.disasm/t01_mov.exp: Ditto.
13190 * gdb.disasm/t02_mova.s: Ditto.
13191 * gdb.disasm/t02_mova.exp: Ditto.
13192 * gdb.disasm/t03_add.s: Ditto.
13193 * gdb.disasm/t03_add.exp: Ditto.
13194 * gdb.disasm/t04_sub.s: Ditto.
13195 * gdb.disasm/t04_sub.exp: Ditto.
13196 * gdb.disasm/t05_cmp.s: Ditto.
13197 * gdb.disasm/t05_cmp.exp: Ditto.
13198 * gdb.disasm/t06_ari2.s: Ditto.
13199 * gdb.disasm/t06_ari2.exp: Ditto.
13200 * gdb.disasm/t07_ari3.s: Ditto.
13201 * gdb.disasm/t07_ari3.exp: Ditto.
13202 * gdb.disasm/t08_or.s: Ditto.
13203 * gdb.disasm/t08_or.exp: Ditto.
13204 * gdb.disasm/t09_xor.s: Ditto.
13205 * gdb.disasm/t09_xor.exp: Ditto.
13206 * gdb.disasm/t10_and.s: Ditto.
13207 * gdb.disasm/t10_and.exp: Ditto.
13208 * gdb.disasm/t11_logs.s: Ditto.
13209 * gdb.disasm/t11_logs.exp: Ditto.
13210 * gdb.disasm/t12_bit.s: Ditto.
13211 * gdb.disasm/t12_bit.exp: Ditto.
13212 * gdb.disasm/t13_otr.s: Ditto.
13213 * gdb.disasm/t13_otr.exp: Ditto.
13214
132152003-07-22 Elena Zannoni <ezannoni@redhat.com>
13216
13217 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13218
132192003-07-22 Elena Zannoni <ezannoni@redhat.com>
13220
13221 * gdb.threads/tls.c : New file.
13222 * gdb.threads/tls.exp : New file.
13223 * gdb.threads/tls-main.c : New file.
13224 * gdb.threads/tls-shared.c : New file.
13225 * gdb.threads/tls-shared.exp : New file.
13226
132272003-07-22 Andreas Schwab <schwab@suse.de>
13228
13229 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13230
132312003-07-20 Andreas Schwab <schwab@suse.de>
13232
13233 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13234 due to insn reordering.
13235
132362003-07-15 Andrew Cagney <cagney@redhat.com>
13237
13238 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13239
132402003-07-15 Michael Chastain <mec@shout.net>
13241
13242 * gdb.base/gdb1250.exp: New file.
13243 * gdb.base/gdb1250.c: New file.
13244
132452003-07-09 Michal Ludvig <mludvig@suse.cz>
13246
13247 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13248 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13249
132502003-07-09 Elena Zannoni <ezannoni@redhat.com>
13251
13252 * gdb.threads/tls.c: New file.
13253 * gdb.threads/tls.exp: New file.
13254 * gdb.threads/tls-main.c: New file.
13255 * gdb.threads/tls-shared.c: New file.
13256 * gdb.threads/tls-shared.exp: New file.
13257
132582003-07-09 Elena Zannoni <ezannoni@redhat.com>
13259
13260 * gdb.base/annota1.exp: Make sure that we properly escape the
13261 full path of the source file. Xfail more permissive patterns,
13262 due to a compiler debug info problem.
13263
132642003-07-07 Andreas Schwab <schwab@suse.de>
13265
13266 * gdb.asm/m68k.inc: New file.
13267 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13268
13269 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13270 arguments"): Also match negative number.
13271
13272 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13273
132742003-07-03 Daniel Jacobowitz <drow@mvista.com>
13275
13276 * gdb.base/store.c (charest): New typedef.
13277 (add_char): Rename to add_charest, update.
13278 (wack_char): Rename to wack_charest, update types. Return l + r
13279 to keep r live across the call.
13280 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13281 (wack_double, wack_doublest): Return l + r to keep r live across
13282 the call.
13283 * gdb.base/store.exp: Accomodate store.c changes.
13284
132852003-06-30 David Carlton <carlton@kealia.com>
13286
13287 * gdb.c++/maint.exp (test_invalid_name): New.
13288 (test_first_component): Add tests for invalid names.
13289
132902003-06-29 Michael Chastain <mec@shout.net>
13291
13292 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13293 output of '<VTT for class>' for virtual base classes.
13294
132952003-06-29 Daniel Jacobowitz <drow@mvista.com>
13296
13297 * gdb.base/completion.exp: Tab-complete "complet" instead of
13298 "compl".
13299 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13300
133012003-06-29 Daniel Jacobowitz <drow@mvista.com>
13302
13303 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13304 * gdb.base/volatile.exp: Likewise.
13305
133062003-06-29 Daniel Jacobowitz <drow@mvista.com>
13307
13308 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13309 gdb/1265.
13310
133112003-06-28 Michael Chastain <mec@shout.net>
13312 Daniel Jacobowitz <drow@mvista.com>
13313
13314 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13315 initial line count of 'captured_main' from 26 to 32.
13316 (test_with_self): Allow xmalloc call to be interleaved with the
13317 preceding two lines.
13318
133192003-06-24 Joel Brobecker <brobecker@gnat.com>
13320
13321 * gdb.base/bang.exp: New testcase.
13322
133232003-06-23 Joel Brobecker <brobecker@gnat.com>
13324
13325 * gdb.base/langs.exp: Add some tests for the "minimal" language
13326 support.
13327
133282003-06-23 Elena Zannoni <ezannoni@redhat.com>
13329
13330 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13331 the testcase.
13332
133332003-06-22 Daniel Jacobowitz <drow@mvista.com>
13334
13335 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13336 offset.
13337
133382003-06-22 Daniel Jacobowitz <drow@mvista.com>
13339
13340 * gdb.c++/pr-1210.cc: New file.
13341 * gdb.c++/pr-1210.exp: New file.
13342
133432003-06-21 Daniel Jacobowitz <drow@mvista.com>
13344
13345 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13346 000-exec-continue.
13347
133482003-06-15 Mark Kettenis <kettenis@gnu.org>
13349
13350 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13351 on *-*-*bsd* instead of *-*-freebsd*.
13352
133532003-06-14 Andrew Cagney <cagney@redhat.com>
13354
13355 * gdb.base/store.exp: Test longest and doublest. Test all
13356 parameters. Weaken return statement match.
13357 * gdb.base/store.c: Add longest and doublest - aka long long and
13358 long double functions. Put all parameters into local register
13359 variables. Use negative values.
13360
133612003-06-14 Andrew Cagney <cagney@redhat.com>
13362
13363 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13364 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13365 exit status.
13366 * gdb.base/fileio.exp: Disable target when nointerrupts and
13367 noinferiorio, instead of limiting it to remote. Use remote_exec
13368 instead of system.
13369
133702003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13371
13372 * gdb.base/float.exp: Add ia64 support.
13373
133742003-06-12 Corinna Vinschen <vinschen@redhat.com>
13375
13376 * gdb.base/fileio.exp: Run only on remote targets.
13377
133782003-06-10 Corinna Vinschen <vinschen@redhat.com>
13379
13380 * gdb.base/fileio.c: New file, testing File-I/O.
13381 * gdb.base/fileio.exp: Ditto.
13382
133832003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13384
13385 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13386 shared objects after relocation at load time (gdb PR/1132).
13387 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13388 as above, part of the shared object relocation test.
13389
133902003-06-08 Mark Kettenis <kettenis@gnu.org>
13391
13392 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13393 fully filled history list.
13394 * gdb.base/gdb_history: New file.
13395
13396 * gdb.base/signals.exp: XFAIL "continue to func1" on
13397 i*86-*-freebsd*.
13398
13399 * gdb.base/attach.exp: When trying to attach to a nonexistent
13400 process, make it possible to specify the PID based on the target,
13401 and do so for *-*-freebsd*.
13402
134032003-06-02 Richard Henderson <rth@redhat.com>
13404
13405 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13406
134072003-06-02 Richard Henderson <rth@redhat.com>
13408
13409 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13410
134112003-06-02 Richard Henderson <rth@redhat.com>
13412
13413 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13414
134152003-06-01 Daniel Jacobowitz <drow@mvista.com>
13416
13417 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13418 of globalvar.
13419
134202003-06-01 Mark Kettenis <kettenis@gnu.org>
13421
13422 * gdb.asm/asm-source.exp: Check for memory read errors in
13423 disassembler test on *BSD too.
13424
134252003-06-01 Richard Henderson <rth@redhat.com>
13426
13427 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13428 for .frame.
13429 (gdbasm_call): Lose ldgp.
13430 (gdbasm_startup): Add frame information.
13431 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13432
134332003-05-31 Mark Kettenis <kettenis@gnu.org>
13434
13435 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13436 i?86-*-*.
13437
134382003-05-30 Mark Kettenis <kettenis@gnu.org>
13439
13440 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13441 FreeBSD.
13442
134432003-05-29 Richard Henderson <rth@redhat.com>
13444
13445 * gdb.asm/alpha.inc: New file.
13446 * gdb.asm/asm-source.exp: Use it.
13447
134482003-05-29 Jim Blandy <jimb@redhat.com>
13449
13450 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13451 'core.PID'.
13452
134532003-05-22 Jim Blandy <jimb@redhat.com>
13454
13455 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13456 backtrace.
13457
134582003-05-20 David Carlton <carlton@math.stanford.edu>
13459
13460 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13461 this time.
13462
134632003-05-19 David Carlton <carlton@bactrian.org>
13464
13465 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13466 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13467
134682003-05-19 David Carlton <carlton@bactrian.org>
13469
13470 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13471 namespace tests.
13472 Bump copyright date.
13473 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13474 (main): Call C::D::marker2.
13475 * gdb.c++/namespace1.cc: New file.
13476
134772003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13478
13479 Roland McGrath <roland@redhat.com>
13480 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13481 there is no manager thread.
13482
134832003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13484
13485 * gdb.threads/schedlock.exp: Remove assumption that all threads
13486 will run in a particular small time slice. Also ensure we break
13487 in one of the child threads rather than the main thread.
13488
134892003-05-07 Jim Blandy <jimb@redhat.com>
13490
13491 Add support for assembly source testing on the s390x.
13492 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13493 architecture.
13494 * gdb.asm/s390x.inc: New file.
13495
13496 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13497 succession of 'if' statements.
13498
134992003-05-05 Andrew Cagney <cagney@redhat.com>
13500
13501 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13502
135032003-05-05 Andrew Cagney <cagney@redhat.com>
13504
13505 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13506 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13507
135082003-05-02 Elena Zannoni <ezannoni@redhat.com>
13509
13510 * gdb.base/charset.exp: Update based on new behavior of set/show
13511 charset commands.
13512
135132003-05-01 Andrew Cagney <cagney@redhat.com>
13514
13515 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13516 variable do not give memory errors.
13517
135182003-04-30 Adam Fedor <fedor@gnu.org>
13519
13520 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13521 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13522 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13523 gdb.objc/basicclass.m: : New files
13524
13525 * lib/gdb.exp (gdb_compile_objc): New procedure.
13526
135272003-04-27 Daniel Jacobowitz <drow@mvista.com>
13528
13529 * gdb.base/signals.exp: Make backtrace tests more specific.
13530
135312003-04-23 David Carlton <carlton@bactrian.org>
13532
13533 * gdb.c++/maint.exp (test_first_component): Add tests for
13534 'operator' in more locations.
13535
135362003-04-16 Kevin Buettner <kevinb@redhat.com>
13537
13538 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13539
135402003-04-16 Elena Zannoni <ezannoni@redhat.com>
13541
13542 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13543 func marke' instead. Update test name.
13544
135452003-04-15 David Carlton <carlton@math.stanford.edu>
13546
13547 * gdb.c++/maint.exp: New file.
13548
135492003-04-14 Elena Zannoni <ezannoni@redhat.com>
13550
13551 * gdb.threads/schedlock.c: Change type of thread function argument
13552 to long, to avoid warnings on 64-bit platforms.
13553
135542003-04-14 Elena Zannoni <ezannoni@redhat.com>
13555
13556 * gdb.base/attach.exp: Add new message from ptrace in case of
13557 attaching to nonexistent process.
13558
135592003-04-11 Jim Blandy <jimb@redhat.com>
13560
13561 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13562 gdb.c++/userdef.cc: Place comments on the lines to which the
13563 marker function might return.
13564 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13565 gdb.c++/userdef.exp: Look for those comments to check that we've
13566 returned to the right place, instead of checking line numbers.
13567
135682003-04-11 Elena Zannoni <ezannoni@redhat.com>
13569
13570 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13571 match on sourcefile name, instead of directory name.
13572
135732003-04-10 Elena Zannoni <ezannoni@redhat.com>
13574
13575 * gdb.base/completion.exp: Use string_to_regexp to match the
13576 working directory name.
13577
135782003-04-09 Jim Blandy <jimb@redhat.com>
13579
13580 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13581 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13582 after an inferior function call, report the failure, but allow the
13583 test to continue.
13584
135852003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13586
13587 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13588 with -DPROTOTYPES.
13589
135902003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13591
13592 * gdb.base/break.exp: Revert last patch.
13593
135942003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13595
13596 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13597 with -DPROTOTYPES.
13598
135992003-04-02 Andrew Cagney <cagney@redhat.com>
13600
13601 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13602 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13603 matching directories by the name breakpoint.
13604 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13605 Make "continue to marker1" consistent.
13606 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13607 message consistent.
13608 * lib/gdb.exp: Put "the program is no longer running", and "the
13609 program exited" in parenthesis.
13610 * lib/mi-support.exp: Ditto.
13611
136122003-04-02 Bob Rossi <bob_rossi@cox.net>
13613
13614 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13615
136162003-03-29 Andrew Cagney <cagney@redhat.com>
13617
13618 * gdb.base/sizeof.c (main): Print the value of '\377'.
13619 * gdb.base/sizeof.exp: Check the sign of '\377'.
13620
136212003-03-27 Michael Chastain <mec@shout.net>
13622
13623 * gdb.base/gdb1090.exp: New file.
13624 * gdb.base/gdb1090.cc: New file.
13625
136262003-03-27 J. Brobecker <brobecker@gnat.com>
13627
13628 * gdb.gdb/observer.exp: New regression test.
13629
136302003-03-27 Michael Chastain <mec@shout.net>
13631
13632 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13633 * gdb.base/ptype.exp: Likewise.
13634
136352003-03-27 Corinna Vinschen <vinschen@redhat.com>
13636
13637 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13638
136392003-03-26 Michael Chastain <mec@shout.net>
13640
13641 * gdb.base/ptype.exp: Actually use some typedef'd types.
13642
136432003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13644
13645 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13646 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13647
136482003-03-20 Corinna Vinschen <vinschen@redhat.com>
13649
13650 * gdb.base/default.exp: Fix regular expression.
13651
136522003-03-20 Corinna Vinschen <vinschen@redhat.com>
13653
13654 * gdb.base/args.exp: Fix regular expression.
13655
136562003-03-20 Corinna Vinschen <vinschen@redhat.com>
13657
13658 * gdb.base/help.exp: Allow Win32 child process.
13659
136602003-03-20 Corinna Vinschen <vinschen@redhat.com>
13661
13662 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13663 when stepping out of main().
13664
136652003-03-20 Corinna Vinschen <vinschen@redhat.com>
13666
13667 * gdb.base/default.exp: Check for win32 specific message when calling
13668 "run" without executable.
13669
136702003-03-20 Corinna Vinschen <vinschen@redhat.com>
13671
13672 * gdb.base/args.exp: Expect .exe in output.
13673
136742003-03-20 Corinna Vinschen <vinschen@redhat.com>
13675
13676 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13677 Cygwin native.
13678
136792003-03-17 Andrew Cagney <cagney@redhat.com>
13680
13681 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13682 vector registes.
13683 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13684 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13685
136862003-03-17 David Carlton <carlton@math.stanford.edu>
13687
13688 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13689 test, for PR breakpoints/38.
13690 Call test_watchpoint_and_breakpoint.
13691 * gdb.base/watchpoint.c (func3): New function.
13692 (main): Call func3.
13693
136942003-03-04 David Carlton <carlton@math.stanford.edu>
13695
13696 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13697 Garply<Garply<char> >:: garply".
13698 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13699 with respect to PR c++/1111; note also PR c++/1113.
13700 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13701 respect to PR c++/1062.
13702 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13703
137042003-03-03 David Carlton <carlton@math.stanford.edu>
13705
13706 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13707 with respect to PR c++/57.
13708 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13709 c++/826.
13710 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13711 respect to PR c++/57.
13712
137132003-03-03 David Carlton <carlton@math.stanford.edu>
13714
13715 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13716 respect to PR c++/33 into FAILs.
13717
137182003-03-03 Michael Chastain <mec@shout.net>
13719
13720 * configure.in: Update copyright years.
13721
137222003-03-03 Michael Chastain <mec@shout.net>
13723
13724 * Makefile.in: Update copyright years.
13725
137262003-02-28 David Carlton <carlton@math.stanford.edu>
13727
13728 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13729 print class instead of struct and/or superfluous protection
13730 specifiers, as long as the resulting output is equivalent to the
13731 source code.
13732 Delete FIXME from end of messages on tests that don't need
13733 fixing.
13734
137352003-02-28 David Carlton <carlton@math.stanford.edu>
13736
13737 * gdb.c++/templates.exp (do_tests): Allow const in the two
13738 Foo<volatile char *>::foo tests.
13739
137402003-02-27 Michael Snyder <msnyder@redhat.com>
13741
13742 * gdb.base/restore.c (main): Return zero, so exit code
13743 will be consistant.
13744
137452003-02-26 David Carlton <carlton@math.stanford.edu>
13746
13747 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13748 char *>::foo" test with respect to PR c++/33. Create a new test
13749 which is identical to that one except that it doesn't put the
13750 space between the "char" and the "*"; KFAIL it, too.
13751
137522003-02-26 David Carlton <carlton@math.stanford.edu>
13753
13754 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13755 template types into either PASSes or KFAILs (corresponding to PR
13756 c++/57). Tweak indentation. Update copyright.
13757
137582003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13759
13760 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13761
137622003-02-13 Michael Chastain <mec@shout.net>
13763
13764 * gdb.base/exprs.exp: Remove i960 remnants.
13765 * gdb.base/funcargs.exp: Likewise.
13766 * gdb.base/list.exp: Likewise.
13767 * gdb.base/ptype.exp: Likewise.
13768
137692003-02-14 David Carlton <carlton@math.stanford.edu>
13770
13771 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13772 pEe->D::vg()" from XFAIL to KFAIL.
13773
137742003-02-13 Jason Molenda (jmolenda@apple.com)
13775
13776 * gdb.base/maint.exp: Update maint print statistics regexp to include
13777 new entries.
13778
137792003-02-13 Michael Chastain <mec@shout.net>
13780
13781 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13782
137832003-02-12 Michael Chastain <mec@shout.net>
13784
13785 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13786 * gdb.c++/inherit.exp: Likewise.
13787 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13788 * gdb.c++/templates.exp: Likewise.
13789 * gdb.c++/virtfunc.exp: Likewise.
13790
137912003-02-06 Jason Molenda (jason-cl@molenda.com)
13792
13793 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13794 why the code is written that way.
13795
137962003-02-05 Michael Chastain <mec@shout.net>
13797
13798 * gdb.base/dump.exp: Add missing copyright line.
13799
138002003-02-05 Jason Molenda (jason-cl@molenda.com)
13801
13802 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13803 at the beginning so the breakpoint doesn't get set on the loop.
13804
138052003-02-05 Michael Chastain <mec@shout.net>
13806
13807 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13808 output for configurations with gcc 2.95.3.
13809
138102003-02-05 Keith Seitz <keiths@redhat.com>
13811 Andrew Cagney <ac131313@redhat.com>
13812
13813 * gdb.mi/mi-cli.exp: New file.
13814
138152003-02-04 Michael Chastain <mec@shout.net>
13816
13817 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13818 Call perror and then continue.
13819
138202003-02-03 Michael Chastain <mec@shout.net>
13821
13822 * gdb.c++/pr-1023.cc: New file.
13823 * gdb.c++/pr-1023.exp: New file.
13824
138252003-02-05 Jim Blandy <jimb@redhat.com>
13826
13827 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13828 it's local to foobar. Check for it there, and check that it's not
13829 present in main.
13830 * gdb.c++/local.cc (marker2): New function.
13831 (foobar): Call marker1.
13832 (main): Call marker2 instead of marker1.
13833
138342003-02-04 Andrew Cagney <ac131313@redhat.com>
13835
13836 * gdb.disasm/mn10200.exp: Obsolete file.
13837 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13838 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13839 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13840
138412003-02-04 David Carlton <carlton@math.stanford.edu>
13842
13843 * gdb.c++/overload.exp: Test intToChar(1).
13844 * gdb.c++/overload.cc (intToChar): New.
13845 (main): Call intToChar.
13846
138472003-02-03 David Carlton <carlton@math.stanford.edu>
13848
13849 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13850 'might_kfail' arg.
13851 KFAIL some of the continue_to_bp_overloaded calls, according to
13852 PR c++/1025.
13853
138542003-02-01 Michael Chastain <mec@shout.net>
13855
13856 * gdb.base/advance.c (marker1): New marker function.
13857 * gdb.base/advance.exp: When the 'advance' command lands on the
13858 return breakpoint, it can legitimately stop on either the
13859 current line or the next line. Accommodate both outcomes.
13860 * gdb.base/until.exp: Likewise.
13861
138622003-02-02 Andrew Cagney <ac131313@redhat.com>
13863
13864 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13865 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13866 now a list, not a tuple.
13867 * gdb.mi/mi-var-display.exp: Ditto.
13868 * gdb.mi/gdb792.exp: Ditto.
13869
138702003-02-01 Andrew Cagney <ac131313@redhat.com>
13871
13872 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13873 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13874 stack backtraces.
13875 * gdb.mi/mi-syn-frame.c: Part of same.
13876
138772003-02-01 Mark Kettenis <kettenis@gnu.org>
13878
13879 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13880 gdb.mi/mi1-pthreads.exp: Return instead of calling
13881 gdb_suppress_entire_file.
13882
138832003-02-01 Mark Salter <msalter@redhat.com>
13884
13885 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13886
138872003-01-31 Mark Salter <msalter@redhat.com>
13888
13889 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13890 Support empty arg.
13891
138922003-01-30 Michael Chastain <mec@shout.net>
13893
13894 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13895 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13896 has been fixed in gdb/readline on 2003-01-09.
13897
138982003-01-29 Michael Snyder <msnyder@redhat.com>
13899
13900 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13901 * gdb.base/display.exp: Allow for leading underscore in symbol.
13902 * gdb.base/args.exp: Skip if target does not support args passing.
13903
139042003-01-22 Daniel Jacobowitz <drow@mvista.com>
13905
13906 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13907 gdb_test. Accept a list of expect arguments as the third
13908 parameter.
13909 (gdb_test): Use it.
13910
139112003-01-20 Elena Zannoni <ezannoni@redhat.com>
13912
13913 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13914 allow for different test tree configurations. Update some
13915 tescases accordingly.
13916 * gdb.arch/altivec-regs.exp: Ditto.
13917 * gdb.asm/asm-source.exp: Ditto.
13918 * gdb.base/advance.exp: Ditto.
13919 * gdb.base/display.exp: Ditto.
13920 * gdb.base/long_long.exp: Ditto.
13921 * gdb.base/mips_pro.exp: Ditto.
13922 * gdb.base/overlays.exp: Ditto.
13923 * gdb.base/relocate.exp: Ditto.
13924 * gdb.base/setshow.exp: Ditto.
13925 * gdb.base/step-line.exp: Ditto.
13926 * gdb.base/step-test.exp: Ditto.
13927 * gdb.base/until.exp: Ditto.
13928 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13929
139302003-01-17 David Carlton <carlton@math.stanford.edu>
13931
13932 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13933 corresponding to PR c++/945.
13934 Update copyright.
13935
139362003-01-17 David Carlton <carlton@math.stanford.edu>
13937
13938 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13939 corresponding to PR c++/68.
13940
139412003-01-17 David Carlton <carlton@math.stanford.edu>
13942
13943 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13944 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13945 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13946
139472003-01-15 Elena Zannoni <ezannoni@redhat.com>
13948
13949 * gdb.base/break.exp: Fix change of default location, because of
13950 removal of until tests.
13951 * gdb.base/help.exp: Update test for new 'until' help message.
13952 Add test for help on 'advance'.
13953 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13954
139552003-01-15 Mark Kettenis <kettenis@gnu.org>
13956
13957 * gdb.base/default.exp: Adapt "info float" test for recent changes
13958 to that command. Add test for "info vector".
13959 * gdb.base/float.exp: New file. Add test for "info float" that
13960 resembles the old test in gdb.base/default.exp.
13961
139622003-01-15 David Carlton <carlton@math.stanford.edu>
13963
13964 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13965
139662003-01-15 Elena Zannoni <ezannoni@redhat.com>
13967
13968 * gdb.base/break.exp: Move the tests of until command from here...
13969 * gdb.base/until.exp: ... to here. New file. Add other tests.
13970 * gdb.base/advance.c: New file.
13971 * gdb.base/advance.exp: New file.
13972
139732003-01-14 Elena Zannoni <ezannoni@redhat.com>
13974
13975 * gdb.base/args.c: New file.
13976 * gdb.base/args.exp: New file.
13977
139782003-01-14 Daniel Jacobowitz <drow@mvista.com>
13979
13980 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13981
139822003-01-14 Daniel Jacobowitz <drow@mvista.com>
13983
13984 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13985
139862003-01-14 Daniel Jacobowitz <drow@mvista.com>
13987
13988 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13989 dates.
13990
139912003-01-13 Daniel Jacobowitz <drow@mvista.com>
13992
13993 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13994
139952003-01-13 Daniel Jacobowitz <drow@mvista.com>
13996
13997 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13998 (ptype &*"foo").
13999 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14000
140012003-01-13 Daniel Jacobowitz <drow@mvista.com>
14002
14003 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14004 * gdb.mi/mi1-console.exp: Likewise.
14005
140062003-01-13 Daniel Jacobowitz <drow@mvista.com>
14007
14008 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14009 * gdb.mi/mi1-console.exp: Likewise.
14010
140112003-01-13 Daniel Jacobowitz <drow@mvista.com>
14012
14013 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14014
140152003-01-09 Daniel Jacobowitz <drow@mvista.com>
14016
14017 * gdb.base/detach.exp: New test.
14018
140192003-01-09 Daniel Jacobowitz <drow@mvista.com>
14020
14021 * Makefile.in (ALL_SUBDIRS): New variable.
14022 (subdirs, clean, distclean): Use it.
14023 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14024 regenerating Makefile, since it is generated from the top level.
14025 * gdb.asm/Makefile.in: Likewise.
14026 * gdb.base/Makefile.in: Likewise.
14027 * gdb.c++/Makefile.in: Likewise.
14028 * gdb.disasm/Makefile.in: Likewise.
14029 * gdb.java/Makefile.in: Likewise.
14030 * gdb.mi/Makefile.in: Likewise.
14031 * gdb.threads/Makefile.in: Likewise.
14032 * gdb.trace/Makefile.in: Likewise.
14033
140342003-01-09 David Carlton <carlton@math.stanford.edu>
14035
14036 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14037 Add copyright year 2003.
14038
140392003-01-06 Michael Chastain <mec@shout.net>
14040
14041 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14042 When selecting a thread, 'line' and 'file' are optional.
14043 * gdb.mi/mi1-pthreads.exp: Likewise.
14044
140452003-01-06 Andreas Schwab <schwab@suse.de>
14046
14047 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14048 failures.
14049
140502003-01-04 Daniel Jacobowitz <drow@mvista.com>
14051
14052 Fix PR gdb/844
14053 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14054 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14055
14056 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14057 instead of calling gdb_suppress_entire_file.
14058 * gdb.threads/print-threads.exp: Likewise.
14059 * gdb.threads/schedlock.exp: Likewise.
14060
14061 * gdb.threads/killed.exp: Return instead of calling
14062 gdb_suppress_entire_file.
14063 * gdb.threads/linux-dp.exp: Likewise.
14064 * gdb.threads/pthreads.exp: Likewise.
14065
140662003-01-04 Daniel Jacobowitz <drow@mvista.com>
14067
14068 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14069 stabs.
14070 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14071 * gdb.base/whatis.exp: Always allow (void) after function names.
14072
140732003-01-04 Daniel Jacobowitz <drow@mvista.com>
14074
14075 * gdb.c++/casts.exp: Correct regexp.
14076
140772003-01-04 Mark Kettenis <kettenis@gnu.org>
14078
14079 * configure.in: Call AC_CONFIG_HEADER. Don't call
14080 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14081 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14082 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14083 aforementioned directories in the AC_OUPUT call.
14084 * config.hin: New file.
14085 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14086 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14087 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14088 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14089 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14090 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14091 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14092 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14093 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14094 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14095 gdb.threads/configure.in, gdb.threads/configure,
14096 gdb.threads/config.in, gdb.trace/configure.in,
14097 gdb.trace/configure: Removed.
14098
140992003-01-03 Michael Chastain <mec@shout.net>
14100
14101 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14102 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14103
141042003-01-03 Daniel Jacobowitz <drow@mvista.com>
14105
14106 * gdb.base/store.exp: Fix regular expressions.
14107
141082002-12-28 Mark Kettenis <kettenis@gnu.org>
14109
14110 * configure.in: Rewrite.
14111 * configure: Regenerated.
14112
141132003-01-03 David Carlton <carlton@math.stanford.edu>
14114
14115 * gdb.base/psymtab.exp: New file.
14116 * gdb.base/psymtab1.c: Ditto.
14117 * gdb.base/psymtab2.c: Ditto.
14118
141192002-12-23 Adam Fedor <fedor@gnu.org>
14120
14121 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14122
141232002-12-23 David Carlton <carlton@math.stanford.edu>
14124
14125 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14126 and current_directory initialization.
14127
141282002-12-22 Jim Blandy <jimb@redhat.com>
14129
14130 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14131 rather than as part of the output file name.
14132
14133 * gdb.base/attach.exp: There's no need to copy the test program to
14134 /tmp; that was only ever necessary on HP/UX, and this test is
14135 entirely disabled there anyway.
14136
141372002-12-21 Jim Blandy <jimb@redhat.com>
14138
14139 * gdb.c++/psmang.exp: Doc fix.
14140
14141 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14142 test.
14143
141442002-12-20 David Carlton <carlton@math.stanford.edu>
14145
14146 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14147
141482002-12-18 Michael Chastain <mec@shout.net>
14149
14150 * gdb.c++/annota2.exp: Add copyright year 2002.
14151
141522002-12-17 David Carlton <carlton@math.stanford.edu>
14153
14154 * gdb.c++/try_catch.cc: Add marker comments.
14155 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14156 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14157 * gdb.c++/m-static.cc: Ditto.
14158 * gdb.c++/m-static1.cc: Ditto.
14159 * gdb.c++/try_catch.cc: Ditto.
14160
141612002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14162
14163 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14164 to see whether we are using the new -environment-directory
14165 command which resets via -r or the old version of the command
14166 which may prompt the user. Part of fix for gdb/741.
14167
141682002-12-13 Andrew Cagney <ac131313@redhat.com>
14169
14170 * gdb.fortran/types.exp: Update obsolete comment.
14171 * gdb.fortran/exprs.exp: Ditto.
14172 * lib/gdb.exp: Delete obsolete code.
14173 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14174 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14175 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14176 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14177 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14178 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14179 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14180 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14181 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14182 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14183 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14184 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14185 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14186 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14187 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14188 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14189 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14190 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14191 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14192 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14193 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14194 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14195 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14196 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14197 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14198 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14199 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14200 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14201 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14202 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14203 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14204 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14205 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14206 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14207 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14208 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14209 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14210
142112002-12-11 David Carlton <carlton@math.stanford.edu>
14212
14213 * gdb.c++/m-data.exp: Add test for members that shadow global
14214 variables: see PR gdb/804.
14215 * gdb.c++/m-data.cc: Ditto.
14216
142172002-12-10 Daniel Jacobowitz <drow@mvista.com>
14218
14219 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14220
142212002-12-06 David Carlton <carlton@math.stanford.edu>
14222
14223 * gdb.base/store.c: Don't declare functions static.
14224
142252002-12-04 Andrew Cagney <ac131313@redhat.com>
14226
14227 * gdb.base/store.exp, gdb.base/store.c: New files.
14228
142292002-12-03 Daniel Jacobowitz <drow@mvista.com>
14230
14231 * gdb.base/selftest.exp: Update for current gdb.
14232
142332002-12-03 Daniel Jacobowitz <drow@mvista.com>
14234
14235 * gdb.base/maint.exp: Only dump symbols from one source file
14236 or objfile.
14237
142382002-12-03 Daniel Jacobowitz <drow@mvista.com>
14239
14240 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14241 function call.
14242
142432002-11-25 Jim Blandy <jimb@redhat.com>
14244
14245 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14246 function appearing in error message.
14247
142482002-11-21 Daniel Jacobowitz <drow@mvista.com>
14249
14250 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14251
142522002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14253
14254 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14255 for mi1 and current mi is in correct format. New mi startup message
14256 should be in mi console format. This is part of fix for PR gdb/604.
14257
142582002-09-18 Fernando Nasser <fnasser@redhat.com>
14259
14260 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14261 which explicitly prints the zero offset as "+0".
14262
142632002-10-22 Daniel Jacobowitz <drow@mvista.com>
14264
14265 * gdb.threads/schedlock.c (args): Make unsigned.
14266
142672002-10-21 Daniel Jacobowitz <drow@mvista.com>
14268
14269 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14270 numbers. Allow "foo2|selected stack frame".
14271 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14272 * gdb.asm/asmsrc2.s: Likewise.
14273 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14274 comments.
14275 * gdb.asm/mips.inc: New file.
14276
142772002-10-18 Adam Fedor <fedor@gnu.org>
14278
14279 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14280 * gdb.base/help.exp: Likewise.
14281
142822002-10-17 Kevin Buettner <kevinb@redhat.com>
14283
14284 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14285 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14286
142872002-10-02 Jim Blandy <jimb@redhat.com>
14288
14289 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14290
142912002-10-01 Andrew Cagney <ac131313@redhat.com>
14292
14293 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14294 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14295 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14296 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14297 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14298 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14299 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14300
143012002-09-29 Andrew Cagney <ac131313@redhat.com>
14302
14303 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14304 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14305 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14306 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14307 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14308 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14309 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14310
143112002-09-27 Kevin Buettner <kevinb@redhat.com>
14312
14313 * gdb.base/annota1.exp (info break): Make directory components of
14314 path optional since not all compilers emit this debug information.
14315
14316 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14317 step ends up stepping out of the function instead of stopping on
14318 the epilogue.
14319
143202002-09-26 Keith Seitz <keiths@redhat.com>
14321
14322 * lib/insight-support.exp (gdbtk_start): Figure out where
14323 the insight executable is based on where gdb is. Use this
14324 executable to start insight instead of gdb.
14325
143262002-09-25 Andrew Cagney <cagney@redhat.com>
14327
14328 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14329
143302002-09-24 Andrew Cagney <ac131313@redhat.com>
14331
14332 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14333 test_isolated_complaints.
14334 (test_empty_complaint): New function.
14335 (test_empty_complaints): New function. Check no output when no
14336 complaints.
14337
143382002-09-19 Jim Blandy <jimb@redhat.com>
14339
14340 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14341
143422002-09-19 Andrew Cagney <ac131313@redhat.com>
14343
14344 * gdb.gdb/complaints.exp: New file.
14345
143462002-09-18 Andrew Cagney <ac131313@redhat.com>
14347
14348 * gdb.base/maint.exp: Check `help maint internal-warning'.
14349
143502002-09-18 David Carlton <carlton@math.stanford.edu>
14351
14352 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14353 numbers, and replace them by a single breakpoint after the
14354 constructors are all finished.
14355 Add test 4.
14356 * gdb.c++/m-static.cc: Add test 4.
14357 * gdb.c++/m-static.h: New file.
14358 * gdb.c++/m-static1.cc: New file.
14359
14360 * gdb.c++/printmethod.exp: New file.
14361 * gdb.c++/printmethod.cc: New file.
14362
14363 * gdb.c++/pr-574.exp: New file.
14364 * gdb.c++/pr-574.cc: New file.
14365
143662002-09-18 Corinna Vinschen <vinschen@redhat.com>
14367
14368 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14369 embedded targets which never actually exit.
14370
143712002-09-18 Fernando Nasser <fnasser@redhat.com>
14372
14373 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14374 "don't step after run" as unresolved or unsupported, instead of xfail.
14375
143762002-09-18 Corinna Vinschen <vinschen@redhat.com>
14377
14378 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14379 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14380 Add newline to expected string in "step out of main (status wrapper)"
14381 case.
14382
143832002-09-18 Corinna Vinschen <vinschen@redhat.com>
14384
14385 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14386 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14387
143882002-09-17 Tom Tromey <tromey@redhat.com>
14389
14390 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14391 \000, not \0, in double-quoted string.
14392
143932002-09-14 Corinna Vinschen <vinschen@redhat.com>
14394
14395 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14396 string after running the commands execution on breakpoint tests.
14397
143982002-09-13 Corinna Vinschen <vinschen@redhat.com>
14399
14400 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14401
144022002-09-12 Joel Brobecker <brobecker@gnat.com>
14403
14404 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14405
144062002-09-10 Keith Seitz <keiths@redhat.com>
14407
14408 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14409 runto proc.
14410 (mi_run_to_main): Use mi_runto.
14411 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14412
144132002-09-10 Keith Seitz <keiths@redhat.com>
14414
14415 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14416 regexp for stopping at main. Could have multiple event notifications.
14417 Don't assume that main was declared with no parameters.
14418 (mi_next): Use mi_step_to.
14419 (mi_step): Use mi_next_to.
14420
144212002-09-09 Corinna Vinschen <vinschen@redhat.com>
14422
14423 * gdb.base/default.exp: Fix expected string in `info float' test.
14424
144252002-09-09 Ben Elliston <bje@redhat.com>
14426
14427 * config/mips.exp: Update comments.
14428 * config/mips-idt.exp: Likewise.
14429 * config/nind.exp: Likewise.
14430 * config/slite.exp: Likewise.
14431 * config/sparclet.exp: Likewise.
14432 * config/udi.exp: Likewise.
14433 * config/vx.exp: Likewise.
14434 * config/vxworks29k.exp: Likewise.
14435
144362002-09-05 Jim Blandy <jimb@redhat.com>
14437
14438 * gdb.threads/killed.exp: Fix test failure message.
14439
144402002-09-04 Keith Seitz <keiths@redhat.com>
14441
14442 * lib/mi-support.exp: Update copyright.
14443 (mi_gdb_test): Increase the priority of the expected pattern
14444 so that it matches gdb_test.
14445
144462002-09-03 Keith Seitz <keiths@redhat.com>
14447
14448 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14449 Use integer comparison instead of string comparison for testing
14450 whether binary was built.
14451
144522002-09-03 Jim Blandy <jimb@redhat.com>
14453
14454 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14455
144562002-08-29 Jim Blandy <jimb@redhat.com>
14457
14458 * gdb.threads/pthreads.exp: Move the portable thread compilation
14459 code into a function in lib/gdb.exp, and call that from here.
14460 * lib/gdb.exp (gdb_compile_pthreads): New function.
14461
144622002-08-29 Keith Seitz <keiths@redhat.com>
14463
14464 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14465 expect_out so that callers can get at it.
14466
144672002-08-23 Daniel Jacobowitz <drow@mvista.com>
14468
14469 * gdb.threads/print-threads.c: New file.
14470 * gdb.threads/print-threads.exp: New file.
14471 * gdb.threads/schedlock.c: New file.
14472 * gdb.threads/schedlock.exp: New file.
14473
144742002-08-22 Elena Zannoni <ezannoni@redhat.com>
14475
14476 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14477 not altivec.c.
14478
144792002-08-17 Mark Kettenis <kettenis@gnu.org>
14480
14481 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14482 targets. The problem should be fixed now.
14483
144842002-08-15 Mark Kettenis <kettenis@gnu.org>
14485
14486 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14487 2002-07-24 change that removes final dots from error messages.
14488
144892002-08-13 Tom Tromey <tromey@redhat.com>
14490
14491 * gdb.base/readline.exp: New file.
14492
144932002-08-01 Andrew Cagney <ac131313@redhat.com>
14494
14495 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14496 supress message.
14497
144982002-08-01 Andrew Cagney <cagney@redhat.com>
14499
14500 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14501 CHILL_FOR_TARGET and CHILL_LIB.
14502 * configure.in (configdirs): Remove gdb.chill.
14503 * configure: Regenerate.
14504 * lib/gdb.exp: Obsolete references to chill.
14505 * gdb.fortran/types.exp: Ditto.
14506 * gdb.fortran/exprs.exp: Ditto.
14507
145082002-07-30 Kevin Buettner <kevinb@redhat.com>
14509
14510 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14511 set Irix-specific compile and link flags.
14512
145132002-07-29 Kevin Buettner <kevinb@redhat.com>
14514
14515 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14516 source files. The ``-o'' option doesn't work with the ``-E'' option
14517 when using the Irix compiler.
14518
145192002-07-19 Daniel Jacobowitz <drow@mvista.com>
14520
14521 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14522 Improve support for reusing an exec file. Copy exec file
14523 to target, and run gdbserver on the target instead of on the host.
14524
145252002-07-18 Jim Blandy <jimb@redhat.com>
14526
14527 * gdb.base/ending-run.exp: Don't expect to see the program end in
14528 some orderly fashion when we're running on a real stand-alone
14529 board.
14530
14531 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14532 targets that don't support interrupts.
14533
145342002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14535
14536 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14537 systems.
14538 Move comments in expect statements to inside the actions, so that they
14539 don't get matched against.
14540
145412002-07-10 Mark Kettenis <kettenis@gnu.org>
14542
14543 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14544 function when asleep" test.
14545
145462002-07-10 Andrew Cagney <ac131313@redhat.com>
14547
14548 * gdb.base/page.exp: Rewrite to handle problems with very long
14549 `info set' output. Update copyright.
14550
145512002-06-26 Andrew Cagney <ac131313@redhat.com>
14552
14553 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14554 gdb.threads-hp.
14555 * gdb.hp/configure: Regenerate.
14556 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14557 * gdb.hp/gdb.threads-hp/configure: Delete file.
14558 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14559
145602002-06-22 Andrew Cagney <ac131313@redhat.com>
14561
14562 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14563 setlocale, bindtextdomain and textdomain.
14564
145652002-06-11 Jim Blandy <jimb@redhat.com>
14566
14567 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14568 preprocessor macro information is present.
14569
14570 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14571 tests.
14572
145732002-06-06 Michael Snyder <msnyder@redhat.com>
14574
14575 * gdb.base/overlays.exp: Record addresses of overlay
14576 functions in TCL variables rather than in GDB variables,
14577 to avoid having GDB convert them to pointers (with loss
14578 of information).
14579
14580 * gdb.base/d10v.ld: Merge in several years worth of
14581 default linker script changes.
14582 * gdb.base/long_long.exp: Add check for sizeof (long double).
14583
145842002-06-06 Michal Ludvig <mludvig@suse.cz>
14585
14586 * gdb.asm/asm-source.exp: Add x86-64 target.
14587 * gdb.asm/x86_64.inc: New.
14588
145892002-05-30 Michael Chastain <mec@shout.net>
14590
14591 From Benjamin Kosnik <bkoz@redhat.com>:
14592 * gdb.c++/m-static.cc: New file.
14593 * gdb.c++/m-static.exp: New file.
14594
145952002-05-28 Michael Snyder <msnyder@redhat.com>
14596
14597 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14598 precision.
14599
146002002-05-27 Michael Chastain <mec@shout.net>
14601
14602 From Benjamin Kosnik <bkoz@redhat.com>:
14603 * gdb.c++/m-data.cc: New file.
14604 * gdb.c++/m-data.exp: New file.
14605
146062002-05-27 Michael Chastain <mec@shout.net>
14607
14608 From Benjamin Kosnik <bkoz@redhat.com>:
14609 * gdb.c++/try_catch.cc: New file.
14610 * gdb.c++/try_catch.exp: New file.
14611
146122002-05-27 Michael Chastain <mec@shout.net>
14613
14614 * gdb.c++/local.exp: Accept more nested types in output.
14615
146162002-05-26 Michael Chastain <mec@shout.net>
14617
14618 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14619
146202002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14621
14622 * lib/gdb.exp (gdb_wrapper_init): Just because
14623 gdb_wrapper_file exists, this does not mean that the file
14624 should not be rebuilt. That is what gdb_wrapper_initialized
14625 is for.
14626 (default_gdb_init): Reset gdb_wrapper_initialized.
14627
146282002-05-23 Michael Snyder <msnyder@redhat.com>
14629
14630 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14631 the precision of the floating point test results.
14632 * gdb.base/call-rt-st.exp: Ditto.
14633
14634 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14635 * gdb.base/call-rt-st.exp: Ditto.
14636
146372002-05-19 Michael Chastain <mec@shout.net>
14638
14639 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14640
146412002-05-19 Elena Zannoni <ezannoni@redhat.com>
14642
14643 * configure.in (configdirs): Add gdb.arch.
14644 * configure: Regenerate.
14645
146462002-05-17 Jim Blandy <jimb@redhat.com>
14647
14648 * gdb.base/completion.exp: Recognize the more detailed error
14649 messages produced by the macro expander's lexical analyzer.
14650
146512002-05-14 Elena Zannoni <ezannoni@redhat.com>
14652
14653 * gdb.arch/altivec-abi.c: New file.
14654 * gdb.arch/altivec-abi.exp: New file.
14655 * gdb.arch/altivec-regs.c: New file.
14656 * gdb.arch/altivec-regs.exp: New file.
14657
146582002-05-14 Daniel Jacobowitz <drow@mvista.com>
14659
14660 * gdb.base/maint.exp (maint print type): Update for new type
14661 structure.
14662
146632002-05-14 Elena Zannoni <ezannoni@redhat.com>
14664
14665 * gdb.arch: New directory.
14666 * gdb.arch/configure.in: New file.
14667 * gdb.arch/configure: New file.
14668 * gdb.arch/Makefile.in: New file.
14669
146702002-05-13 Corinna Vinschen <vinschen@redhat.com>
14671
14672 * gdb.asm/asm-source.exp: Add v850 as supported target.
14673 * gdb.asm/v850.inc: New file.
14674
146752002-05-13 Daniel Jacobowitz <drow@mvista.com>
14676
14677 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14678
146792002-05-12 Daniel Jacobowitz <drow@mvista.com>
14680
14681 * gdb.base/break.exp: Check 'break "marker2"'.
14682
146832002-05-10 Michael Snyder <msnyder@redhat.com>
14684
14685 * gdb.base/long_long.exp: Fix typo.
14686
146872002-05-10 Jim Blandy <jimb@redhat.com>
14688
14689 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14690 a bug.
14691
14692 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14693 Recognize more detailed error message produced by the macro
14694 expander's lexical analyzer.
14695 * lib/gdb.exp (test_print_reject): Same.
14696
146972002-05-09 Mark Kettenis <kettenis@gnu.org>
14698
14699 * gdb.c++/method.exp: Fix typo.
14700
147012002-05-08 Michael Snyder <msnyder@redhat.com>
14702
14703 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14704 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14705 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14706 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14707 Add iftarget clause for strongarm.
14708
147092002-05-06 Michael Snyder <msnyder@redhat.com>
14710
14711 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14712 (gdb_continue_to_end): Accept output from status wrapper.
14713 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14714 Clean up fail messages to match pass messages.
14715
14716 Enable the "needs_status_wrapper" testsuite feature.
14717 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14718 (gdb_compile): Conditionally call gdb_wrapper_init.
14719 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14720 * gdb.c++/method.exp: Recognize output from status wrapper.
14721
147222002-05-06 Ben Elliston <bje@redhat.com>
14723From Graydon Hoare <graydon@redhat.com>
14724
14725 * config/sid.exp: Include support for "rawsid" protocol.
14726
147272002-05-03 Jim Blandy <jimb@redhat.com>
14728
14729 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14730 * gdb.c++/hang3.C: New file.
14731
147322002-05-04 Andrew Cagney <ac131313@redhat.com>
14733
14734 * gdb.base/default.exp: Remove obsolete code.
14735 * gdb.c++/misc.exp: Ditto. Update copyright.
14736 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14737 * gdb.base/whatis.exp: Ditto. Update copyright.
14738 * gdb.base/scope.exp: Ditto. Update copyright.
14739 * gdb.base/ptype.exp: Ditto. Update copyright.
14740 * gdb.base/printcmds.exp: Ditto. Update copyright.
14741 * gdb.base/opaque.exp: Ditto. Update copyright.
14742 * gdb.base/list.exp: Ditto.
14743 * gdb.base/funcargs.exp: Ditto. Update copyright.
14744 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14745 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14746 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14747 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14748 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14749 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14750
147512002-05-02 Michael Snyder <msnyder@redhat.com>
14752
14753 * gdb.base/watchpoint.exp: Add xscale target.
14754 * gdb.base/long_long.exp: Add xscale target.
14755 * gdb.base/default.exp: Add xscale target.
14756
147572002-05-01 Jim Blandy <jimb@redhat.com>
14758
14759 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14760 gdb.c++/hang.exp: New test.
14761
147622002-05-01 Fred Fish <fnf@redhat.com>
14763
14764 * gdb.base/completion.exp: Handle completions of "./Make" for
14765 more than one completion possibility, as is the case when we
14766 build and test in the source tree.
14767
147682002-04-29 Anthony Green <green@redhat.com>
14769
14770 * gdb.java/jmisc1.exp: New file.
14771 * gdb.java/jmisc2.exp: New file.
14772
147732002-04-24 Daniel Jacobowitz <drow@mvista.com>
14774
14775 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14776
147772002-04-23 Elena Zannoni <ezannoni@redhat.com>
14778
14779 * gdb.base/help.exp: Change 'help status' to allow for target
14780 dependent output differences.
14781
147822002-04-22 Michael Chastain <mec@shout.net>
14783
14784 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14785
147862002-04-22 Michael Chastain <mec@shout.net>
14787
14788 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14789
147902002-04-17 David S. Miller <davem@redhat.com>
14791
14792 * gdb.asm/sparc64.inc: New file.
14793 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14794
147952002-04-19 Elena Zannoni <ezannoni@redhat.com>
14796
14797 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14798 instruction file directly into the build tree. Clean up at end of
14799 test.
14800
148012002-04-18 David S. Miller <davem@redhat.com>
14802
14803 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14804 handle 64-bit platforms correctly.
14805 * gdb.base/maint.exp: Likewise.
14806
148072002-04-18 Kevin Buettner <kevinb@redhat.com>
14808
14809 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14810 ``-fpic'' when compiling files comprising a shared library, but
14811 it does need additional linker flags in order to find shared
14812 libraries at run time.
14813
148142002-04-18 Kevin Buettner <kevinb@redhat.com>
14815
14816 * gdb.base/cvexpr.c (use): New function.
14817 (main): Invoke use() on all global variables to prevent
14818 some linkers from deleting these otherwise unused symbols.
14819
148202002-04-17 Michael Chastain <mec@shout.net>
14821From David S. Miller <davem@redhat.com>
14822
14823 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14824 handle 64-bit platforms correctly.
14825
148262002-04-12 Michael Snyder <msnyder@redhat.com>
14827From Jim Blandy <jimb@redhat.com>
14828 * gdb.base/foo.c (foox): Remove section attribute; the linker
14829 script can handle this instead.
14830 * gdb.base/bar.c (barx): Same.
14831 * gdb.base/baz.c (bazx): Same.
14832 * gdb.base/grbx.c (grbxx): Same.
14833
14834 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14835 manager doesn't automatically unmap overlays unnecessarily.
14836
148372002-04-10 Martin M. Hunt <hunt@redhat.com>
14838
14839 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14840 stepping out of main.
14841
148422002-04-09 Michael Chastain <mec@shout.net>
14843
14844 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14845 scope so that the nested scope tests will make sense.
14846 * gdb.c++/local.exp: Write patterns that actually work with gcc
14847 (the HP patterns "were never known to work with gcc").
14848 Keep the old aCC patterns too.
14849
148502002-04-09 Daniel Jacobowitz <drow@mvista.com>
14851
14852 * gdb.base/attach.exp: Correct target board test.
14853
148542002-04-08 Michael Chastain <mec@shout.net>
14855
14856 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14857 in a const method. Add some xfail and fail cases for configurations
14858 that do not emit the "const ...".
14859
148602002-04-07 Michael Chastain <mec@shout.net>
14861
14862 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14863 Accept "A * const" and "const A * const" as type of "this".
14864 Fix spelling of getFunky throughout. Make messages uniform.
14865
148662002-04-07 Elena Zannoni <ezannoni@redhat.com>
14867
14868 Work around for PR gdb/285:
14869 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14870
148712002-04-07 Elena Zannoni <ezannoni@redhat.com>
14872
14873 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14874 instructions file at run time instead of configure time.
14875 Sometimes we run the test in a directory that is not the one we
14876 configured in.
14877 * gdb.asm/configure.in: Delete creation of symlink.
14878 * gdb.asm/configure: Regenerate.
14879
148802002-04-05 J. Brobecker <brobecker@gnat.com>
14881
14882 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14883 xfullpath () function.
14884
148852002-04-04 Daniel Jacobowitz <drow@mvista.com>
14886
14887 * gdb.asm/Makefile.in: Correct dependencies.
14888
14889 * gdb.asm/powerpc.inc: New file.
14890 * gdb.asm/asm-source.exp: Add PowerPC.
14891 * gdb.asm/configure.in: Likewise.
14892 * gdb.asm/configure: Regenerated.
14893
148942002-04-04 Daniel Jacobowitz <drow@mvista.com>
14895
14896 * gdb.base/relocate.exp: New file.
14897 * gdb.base/relocate.c: New file.
14898
148992002-04-04 Fred Fish <fnf@redhat.com>
14900
14901 * gdb.base/step-test.exp: Update comment regarding stopping in
14902 memcpy/bcopy calls inserted as part of the compiler runtime.
14903
149042002-04-04 Michael Snyder <msnyder@redhat.com>
14905
14906 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14907
149082002-04-03 Daniel Jacobowitz <drow@mvista.com>
14909
14910 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14911 (gdb_expect): Remove $notransfer hack.
14912
149132002-04-02 Daniel Jacobowitz <drow@mvista.com>
14914
14915 * gdb.c++/classes.exp ("calling method for small class"): Match
14916 updated register output.
14917
149182002-03-30 Daniel Jacobowitz <drow@mvista.com>
14919
14920 Fix PR gdb/452
14921 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14922 when finished. Make gdb_file_cmd send "exec-file" when
14923 appropriate.
14924
149252002-03-30 Daniel Jacobowitz <drow@mvista.com>
14926
14927 * gdb.base/attach.exp: Remove extra setup_xfail.
14928
149292002-03-26 Michael Snyder <msnyder@redhat.com>
14930
14931 * gdb.base/default.exp: Add tests for dump, append, and restore.
14932 * gdb.base/help.exp: Add tests for dump, append, and restore.
14933 * gdb.base/dump.exp: New file, test dump, append and restore.
14934 * gdb.base/dump.c: New file.
14935
149362002-03-27 Michael Snyder <msnyder@redhat.com>
14937
14938 * gdb.base/help.exp: Modify expect strings to reflect
14939 clean-ups in help messages.
14940
149412002-03-26 Fred Fish <fnf@redhat.com>
14942
14943 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14944 have debugging info for those functions and the compiler uses them
14945 internally to copy structs around.
14946
149472002-03-26 Fred Fish <fnf@redhat.com>
14948
14949 * gdb.base/list.exp: Revert the change made yesterday and add note
14950 about why we don't list the default lines for remote targets.
14951
149522002-03-25 Michael Snyder <msnyder@redhat.com>
14953
14954 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14955
149562002-03-25 Fred Fish <fnf@redhat.com>
14957
14958 * gdb.base/list.exp: This test works on remote targets so remove
14959 the short circuit for remote targets. Update copyright.
14960
149612002-03-25 Fred Fish <fnf@redhat.com>
14962
14963 * gdb.base/attach.exp: Fix logic error that was suppressing this
14964 test for all non hppa*-*-hpux* targets, instead of the hp target.
14965 Move comments closer to the suppression point. Also now need to
14966 check that we are running natively.
14967
149682002-03-22 Michael Snyder <msnyder@redhat.com>
14969
14970 * gdb.base/default.exp: Add test for gcore. Update copyright.
14971 * gdb.base/help.exp: Add test for gcore. Update copyright.
14972
149732002-03-06 Fred Fish <fnf@redhat.com>
14974
14975 * gdb.base/funcargs.c: Remove extraneous ';' character.
14976 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14977
149782002-03-04 Michael Chastain <mec@shout.net>
14979
14980 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14981 accommodate gcc v3 function signature.
14982 * gdb.mi/mi0-var-cmd-exp: Ditto.
14983
149842002-02-24 Andrew Cagney <ac131313@redhat.com>
14985
14986 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14987 ``GNU/Linux'' or ``Linux kernel''
14988 * testsuite/gdb.threads/pthreads.c: Ditto.
14989
149902002-02-24 Michael Chastain <mec@shout.net>
14991
14992 * gdb.threads/pthreads.c (thread1): Add a return statement.
14993 (thread2): Likewise.
14994 (foo): Likewise.
14995
149962002-02-23 Michael Chastain <mec@shout.net>
14997
14998 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14999 to placate gcc.
15000
150012002-02-23 Michael Chastain <mec@shout.net>
15002
15003 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15004 test "ptype bint". The test passes on all my stabs configurations.
15005
150062002-02-21 Jim Blandy <jimb@redhat.com>
15007
15008 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15009 filename at a time, and watch for the ones we want to see.
15010
15011 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15012 types of pointers to prototyped functions.
15013
150142002-02-20 Andrew Cagney <ac131313@redhat.com>
15015
15016 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15017 signed, unsigned and straight char.
15018 (padding_char, padding_short, padding_int, padding_long,
15019 padding_long_long, padding_float, padding_double,
15020 padding_long_double): New global variables.
15021 (fill, fill_structs): New functions.
15022
15023 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15024 for correctly sized writes. Update copyright.
15025 (get_valueof): New procedure.
15026 (get_sizeof): Call get_valueof.
15027 (check_valueof): New procedure.
15028 (check_padding): New procedure.
15029
150302002-02-20 Michael Chastain <mec@shout.net>
15031
15032 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15033 to setup_xfail. Document some of the remaining calls.
15034
150352002-02-18 Michael Chastain <mec@shout.net>
15036
15037 * gdb.c++/userdef.exp: Update copyright year.
15038
150392002-02-18 Daniel Jacobowitz <drow@mvista.com>
15040
15041 * gdb.c++/userdef.exp: Test overloaded operators properly.
15042 Remove xfails.
15043
150442002-02-14 Michael Snyder <msnyder@redhat.com>
15045
15046 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15047
150482002-02-14 Daniel Jacobowitz <drow@mvista.com>
15049
15050 * gdb.base/a2-run.exp: Check for a remote target properly.
15051 * gdb.base/annota1.exp: Likewise.
15052 * gdb.base/list.exp: Likewise.
15053 * gdb.base/reread.exp: Likewise.
15054 * gdb.base/scope.exp: Likewise.
15055 * gdb.base/shlib-call.exp: Likewise.
15056 * gdb.base/term.exp: Likewise.
15057 * gdb.c++/annota2.exp: Likewise.
15058
150592002-02-13 Richard Earnshaw <rearnsha@arm.com>
15060
15061 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15062
150632002-02-10 Michael Chastain <mec@shout.net>
15064
15065 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15066 (call_after_alloca): Ditto.
15067
150682002-02-10 Daniel Jacobowitz <drow@mvista.com>
15069
15070 * gdb.base/ending-run.exp: Guard "cont" test with
15071 gdb_skip_stdio_test.
15072
150732002-02-06 Jim Blandy <jimb@redhat.com>
15074
15075 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15076 from here...
15077 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15078 To here. Disable this test on non-HP platforms. Add big comment.
15079
150802002-02-04 Michael Snyder <msnyder@redhat.com>
15081
15082 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15083 other than d10v and m32r.
15084
150852002-02-02 Richard Earnshaw <rearnsha@arm.com>
15086
15087 * gdb.base/default.exp: Rewrite test patterns to reduce time
15088 taken to match them.
15089
150902002-01-30 Daniel Jacobowitz <drow@mvista.com>
15091
15092 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15093 Allow a start function above main.
15094 * gdb.threads/linux-dp.exp: Fix copyright date.
15095
150962002-01-30 Daniel Jacobowitz <drow@mvista.com>
15097
15098 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15099 (check_philosopher_stack): Check for manager thread before checking
15100 for a just-starting thread.
15101
151022002-01-30 Daniel Jacobowitz <drow@mvista.com>
15103
15104 From Neil Booth <neil@daikokuya.demon.co.uk>:
15105 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15106 warnings.
15107
151082002-01-21 Fred Fish <fnf@redhat.com>
15109
15110 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15111 not caller.
15112
151132002-01-21 Jim Blandy <jimb@redhat.com>
15114
15115 * gdb.base/reread.exp: Check that GDB properly re-reads the
15116 executable file when it changes while no inferior is running.
15117
151182002-01-21 Fred Fish <fnf@redhat.com>
15119
15120 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15121 optionally accept the "shlib events" variation.
15122
151232002-01-21 Jim Blandy <jimb@redhat.com>
15124
15125 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15126 call `fflush' after every `printf', so that the output is produced
15127 at predictable points, regardless of whatever buffering does (or
15128 doesn't) take place.
15129 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15130 at different points.
15131
151322002-01-20 Daniel Jacobowitz <drow@mvista.com>
15133
15134 * gdb.c++/inherit.exp: Update copyright years.
15135 * gdb.c++/method.exp: Likewise.
15136
151372002-01-20 Daniel Jacobowitz <drow@mvista.com>
15138
15139 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15140 artificial methods/arguments.
15141 * gdb.c++/derivation.exp: Likewise.
15142 * gdb.c++/inherit.exp: Likewise.
15143 * gdb.c++/method.exp: Likewise.
15144 * gdb.c++/virtfunc.exp: Likewise.
15145
151462002-01-18 Andrew Cagney <ac131313@redhat.com>
15147
15148 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15149 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15150 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15151 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15152 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15153 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15154
151552002-01-17 Jim Blandy <jimb@redhat.com>
15156
15157 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15158 anchoring the pattern matching the entry point symbol's name.
15159
151602002-01-17 Andrew Cagney <ac131313@redhat.com>
15161
15162 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15163 continue/quit query. Update copyright.
15164
151652002-01-14 Michael Snyder <msnyder@redhat.com>
15166
15167 * gdb.base/gcore.exp: Remove extra debugging output.
15168
151692002-01-13 Daniel Jacobowitz <drow@mvista.com>
15170
15171 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15172 for slightly dubious v2 mangled string.
15173
151742002-01-13 Daniel Jacobowitz <drow@mvista.com>
15175
15176 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15177
151782002-01-10 Jason Merrill <jason@redhat.com>
15179
15180 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15181
15182 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15183 constructors.
15184 * gdb.c++/derivation.exp: Likewise.
15185 * gdb.c++/templates.exp: Likewise.
15186 * gdb.c++/virtfunc.exp: Likewise.
15187
151882002-01-10 Michael Snyder <msnyder@redhat.com>
15189
15190 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15191
151922002-01-08 Michael Snyder <msnyder@redhat.com>
15193
15194 * gdb.base/gcore.exp: New test for generate-core-file command.
15195 * gdb.base/gcore.c: Testcase for above.
15196 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15197
151982002-01-08 Jason Merrill <jason@redhat.com>
15199
15200 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15201
152022002-01-07 Fred Fish <fnf@redhat.com>
15203
15204 * gdb.c++/overload.exp: Remove unconditional xfails for:
15205 print foo_instance1.overloadargs(1)
15206 print foo_instance1.overloadargs(1, 2)
15207 print foo_instance1.overloadargs(1, 2, 3)
15208 print foo_instance1.overloadargs(1, 2, 3, 4)
15209 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15210 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15211 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15212 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15213 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15214 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15215 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15216 print foo_instance1.overload1arg()
15217 print foo_instance1.overload1arg((char)arg2)
15218 print foo_instance1.overload1arg((signed char)arg3)
15219 print foo_instance1.overload1arg((unsigned char)arg4)
15220 print foo_instance1.overload1arg((int)arg7)
15221 print foo_instance1.overload1arg((unsigned int)arg8)
15222 print foo_instance1.overload1arg((float)arg11)
15223 print foo_instance1.overload1arg((double)arg12)
15224
152252002-01-07 Michael Snyder <msnyder@redhat.com>
15226
15227 * gdb.base/huge.exp: New test. Print a very large target data object.
15228 (skip_huge_test): New test variable. Define if you want to skip this
15229 test. The test reads an 8 megabyte data object from the target, so it
15230 might be very time consuming on remote targets with a slow connection.
15231 * gdb.base/huge.c: New file. Test case for above.
15232
152332002-01-07 Fred Fish <fnf@redhat.com>
15234
15235 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15236 g_instance.bfoo, and g_instance.cfoo.
15237
152382002-01-07 Jeffrey A Law <law@redhat.com>
15239
15240 * gdb.base/break.c (multi_line_if_conditional): New function.
15241 (multi_ilne_while_conditional): Likewise.
15242 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15243 IF or WHILE condition puts the breakpoint at the start of
15244 the condition.
15245
15246 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15247 hppa*-*-hpux* expected failure.
15248 * gdb.base/structs.exp (do_function_calls): Similarly.
15249
15250 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15251 watchpoints.
15252
152532002-01-06 Andrew Cagney <ac131313@redhat.com>
15254
15255 Fix PR gdb/66.
15256 * gdb.base/structs.exp: Replace skip for a29k with skip for
15257 gdb,cannot_call_functions.
15258 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15259 * gdb.base/callfuncs.exp: Ditto.
15260 * gdb.base/call-rt-st.exp: Ditto.
15261 * gdb.base/call-strs.exp: Ditto.
15262 * gdb.base/callfwmall.exp: Ditto.
15263 * gdb.base/scope.exp: Obsolete xfail a29k.
15264 * gdb.c++/misc.exp: Ditto.
15265 * gdb.c++/cplusfuncs.exp: Ditto.
15266 * gdb.base/ptype.exp: Ditto.
15267 * gdb.base/printcmds.exp: Ditto.
15268 * gdb.base/opaque.exp: Ditto.
15269 * gdb.base/list.exp: Ditto.
15270 * gdb.base/funcargs.exp: Ditto.
15271 * gdb.base/default.exp: Ditto.
15272
152732002-01-04 Michael Snyder <msnyder@redhat.com>
15274
15275 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15276 * gdb.base/maint.exp: Add tests for maint info sections options.
15277
15278Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15279
15280 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15281
152822001-12-20 Corinna Vinschen <vinschen@redhat.com>
15283
15284 * gdb.asm/arm.inc: New file.
15285 * gdb.asm/asm-source.exp: Add arm targets.
15286 * gdb.asm/configure.in: Ditto.
15287 * gdb.asm/configure: Recreated from configure.in.
15288
15289Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15290
15291 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15292 with HP's compiler.
15293 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15294 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15295 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15296 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15297
15298 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15299 either HP's compilers or GCC.
15300
15301 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15302 a SIGBUS or SIGSEGV.
15303
15304 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15305
15306 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15307 can be compiled with either HP's compiler or GCC.
15308
15309 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15310 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15311 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15312
15313 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15314 to match current gdb output. Update due to using auto-solib-limit
15315 for limiting instead of overloading auto-solib-add.
15316 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15317 test program.
15318
15319 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15320 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15321 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15322 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15323 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15324 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15325 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15326 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15327 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15328 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15329 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15330 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15331 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15332
15333 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15334 a SIGTRAP to the inferior.
15335
153362001-12-19 Corinna Vinschen <vinschen@redhat.com>
15337
15338 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15339 Substitute call to target_link by call to gdb_compile.
15340
15341Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15342
15343 * gdb.base/break.exp: Fix HP specific search string when testing
15344 backtracing in a called function.
15345
15346 * gdb.base/constvars.exp: Only set lang to C++ if we're
15347 compiling the test with HP's compilers.
15348 * gdb.base/volatile.exp: Similarly.
15349
153502001-12-19 Jim Blandy <jimb@redhat.com>
15351
15352 * gdb.base/printcmds.exp: Expect the null character to be printed
15353 as '\0', and the '\013' to be printed as '\v'.
15354 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15355 * gdb.base/setvar.exp: Same.
15356
153572001-12-17 Jim Blandy <jimb@redhat.com>
15358
15359 * gdb.base/completion.exp: Rather than completing very long
15360 filenames, which can make the readline library produce output we
15361 don't recognize, cd to the directory first, and then complete
15362 using nice, short relative paths.
15363
15364 * gdb.base/completion.exp: On some systems, there is, in fact, a
15365 variable named `b' in scope, since GDB treats all static
15366 variables as being in scope. So use `no_var_named_this'
15367 instead of `b'.
15368
15369 * gdb.base/corefile.exp: Recognize the message saying that GDB
15370 can't find the core file's registers as a failure.
15371
153722001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15373
15374 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15375 test expect string more specific.
15376
153772001-12-13 Corinna Vinschen <vinschen@redhat.com>
15378
15379 * gdb.asm/asm-source.exp: Add support for xstormy16.
15380 * gdb.asm/configure.in: Ditto.
15381 * gdb.asm/configure: Rebuild.
15382 * gdb.asm/xstormy16.inc: New file.
15383
153842001-12-10 Fred Fish <fnf@redhat.com>
15385
15386 * gdb.base/maint.exp: Update to match changes in type dumping code.
15387
153882001-12-10 Jim Blandy <jimb@redhat.com>
15389
15390 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15391 matching the entry point symbol's name at the beginning of the
15392 line.
15393
153942001-12-07 Daniel Jacobowitz <drow@mvista.com>
15395
15396 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15397 gdb.c++/inherit.exp, gdb.c++/method.exp,
15398 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15399 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15400 and class layout support.
15401
154022001-12-07 Daniel Jacobowitz <drow@mvista.com>
15403
15404 * gdb.c++/classes.exp: Add test for static member function.
15405 * gdb.c++/misc.cc: Add class with static member function.
15406
154072001-12-07 Jim Blandy <jimb@redhat.com>
15408
15409 If GDB says it can't find the struct the function returned, report
15410 those tests as `unsupported'.
15411 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15412 Rewrite subsequent tests to use it.
15413
15414 If GDB says it can't find the struct the function returned, report
15415 those tests as `unsupported'.
15416 * gdb.base/structs.exp (call_struct_func): New function.
15417 (do_function_calls): Use call_struct_func to call the functions
15418 returning structs.
15419
15420 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15421 whether functions are prototyped or not, so we can't possibly pass
15422 arguments to t_float_values2 properly.
15423
15424 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15425 value of `timeout' for targets other than the mips*tx39-*.
15426
154272001-12-06 Michael Snyder <msnyder@redhat.com>
15428
15429 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15430 and detect whether the start symbol has a leading underscore.
15431
154322001-12-04 Jim Blandy <jimb@redhat.com>
15433
15434 * gdb.base/completion.exp: Clarify indentation.
15435
154362001-12-03 Jim Blandy <jimb@redhat.com>
15437
15438 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15439 variables on the S/390, not `.word'.
15440
154412001-11-30 Jim Blandy <jimb@redhat.com>
15442
15443 Add assembly-source tests for s390-ibm-linux.
15444 * gdb.asm/s390.inc: New file.
15445 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15446 the S/390 architecture.
15447 * gdb.asm/configure: Regenerated.
15448
154492001-11-30 Michael Snyder <msnyder@redhat.com>
15450
15451 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15452 next, info source, info sources, info line, global and static
15453 variables, and static functions.
15454 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15455 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15456 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15457 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15458 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15459 (gdbasm_leave): Restore frame pointer.
15460 (gdbasm_startup): Copy stack set-up from crt0.S.
15461
154622001-11-26 Fernando Nasser <fnasser@redhat.com>
15463
15464 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15465 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15466 to a local (non-static) variable. Copy tstruct.a to a static buffer
15467 and return a pointer to that buffer.
15468 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15469
154702001-11-24 Mark Kettenis <kettenis@gnu.org>
15471
15472 * gdb.asm/configure.in: Fix recognition of ix86 target.
15473 * gdb.asm/configure: Regenerate.
15474
154752001-11-21 Michael Snyder <msnyder@redhat.com>
15476
15477 * gdb.asm/sparc.inc: New file.
15478 * gdb.asm/asm-source.exp: Recognize sparc target.
15479 * gdb.asm/configure.in: Recognize sparc target.
15480 * gdb.asm/configure: Regenerate.
15481
154822001-11-21 Michael Snyder <msnyder@redhat.com>
15483
15484 * gdb.asm/m32r.inc: New file.
15485 * gdb.asm/asm-source.exp: Recognize m32r target.
15486 * gdb.asm/configure.in: Recognize m32r target.
15487 * gdb.asm/configure: Regenerate.
15488
154892001-11-20 Michael Snyder <msnyder@redhat.com>
15490
15491 * gdb.asm/i386.inc: New file.
15492 * gdb.asm/asm-source.exp: Recognize ix86 target.
15493 * gdb.asm/configure.in: Recognize ix86 target.
15494 * gdb.asm/configure: Regenerate.
15495
15496 * gdb.c++/namespace.exp: Fix quotes in output messages.
15497
154982001-11-14 Michael Snyder <msnyder@redhat.com>
15499
15500 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15501 qualifier in a type cast expression, to designate an address
15502 in the instruction space (Harvard architecture).
15503
155042001-11-13 Michael Snyder <msnyder@redhat.com>
15505
15506 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15507 Tests for expressions using 'const' and 'volatile'.
15508
155092001-11-13 Corinna Vinschen <vinschen@redhat.com>
15510
15511 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15512
155132001-11-12 Daniel Jacobowitz <drow@mvista.com>
15514
15515 * lib/mi-support.exp (mi_run_to_helper): Move comments
15516 outside of gdb_expect.
15517
155182001-11-11 Daniel Jacobowitz <drow@mvista.com>
15519
15520 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15521 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15522 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15523 mi0_run_to): New functions.
15524 * gdb.mi/mi-simplerun.exp: Use them.
15525 * gdb.mi/mi0-simplerun.exp: Likewise.
15526 * gdb.mi/mi-var-cmd.exp: Likewise.
15527 * gdb.mi/mi0-var-cmd.exp: Likewise.
15528
155292001-11-10 Andrew Cagney <ac131313@redhat.com>
15530
15531 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15532 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15533
155342001-11-09 Andrew Cagney <ac131313@redhat.com>
15535
15536 * gdb.base/restore.exp: Include $expected value in restored test
15537 message.
15538
155392001-11-09 Andrew Cagney <ac131313@redhat.com>
15540
15541 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15542 implemented.
15543
155442001-11-08 Michael Snyder <msnyder@redhat.com>
15545
15546 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15547 Add pass/fail message for stop at breakpoint in call dummy function.
15548
155492001-11-07 Michael Snyder <msnyder@redhat.com>
15550
15551 * gdb.c++/templates.exp (test_template_breakpoints):
15552 If we get an overload menu, but it does not match what
15553 we expect, we still need to issue the "cancel" command.
15554 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15555 making the whitespace optional. Argument for "new" may be
15556 "unsigned" as well as "unsigned int/long".
15557 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15558 making the whitespace optional. Also replace "(void) with
15559 "((void|)), making the keyword "void" optional.
15560 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15561 making the whitespace optional. Also replace "(void) with
15562 "((void|)), making the keyword "void" optional.
15563 * gdb.base/callfuncs.c (t_float_values): This function must
15564 _not_ be prototyped, and the following function (t_float_values2)
15565 must be prototyped (if the compiler supports it), so that GDB
15566 can be tested against both cases. Usually one case involves
15567 promotion of float to double, while the other does not.
15568 * gdb.base/callfwmall.c: Ditto.
15569 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15570 includes a stack frame for "start".
15571
155722001-11-05 Jim Blandy <jimb@redhat.com>
15573
15574 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15575 pointers are 32 bits long, and that offsets of relocs are always
15576 stored in the data (REL-style), and not in the reloc entry itself
15577 (RELA-style).
15578 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15579 stabs.
15580
155812001-11-01 Michael Snyder <msnyder@redhat.com>
15582
15583 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15584 and regular expression operators by using quoting.
15585
155862001-10-31 Michael Snyder <msnyder@redhat.com>
15587
15588 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15589 depending on what the symbol table contains.
15590 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15591 the output of the ptype command. Similarly, accept both "const &"
15592 and "const&".
15593
155942001-10-31 Corinna Vinschen <vinschen@redhat.com>
15595
15596 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15597 symbol `STORAGE' to allow to choose the storage class of
15598 the local datastructures.
15599 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15600 compiler directive.
15601
156022001-10-30 Michael Snyder <msnyder@redhat.com>
15603
15604 * gdb.base/jump.exp: Allow it to run for all targets.
15605
156062001-10-29 Corinna Vinschen <vinschen@redhat.com>
15607
15608 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15609 with new double_array size.
15610 (main): Change storage class of all local variables to static.
15611 Reduce size of double_array to 9.
15612 * gdb.base/call-ar-st.exp: Increase timeout value.
15613 Change expected output for double array to match new size in
15614 call-ar-st.c.
15615
156162001-10-29 Corinna Vinschen <vinschen@redhat.com>
15617
15618 * gdb.base/ending-run.exp: Create identical output when passing
15619 `step to end of run' case. Add regular expression branch satisfying
15620 Stormy16 target.
15621
156222001-10-28 Mark Kettenis <kettenis@gnu.org>
15623
15624 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15625 that we catch the expected failure under Linux/x86.
15626
156272001-10-29 Orjan Friberg <orjanf@axis.com>
15628
15629 * gdb.base/setvar.exp: Escape curly braces.
15630 * gdb.stabs/weird.exp: Ditto.
15631
156322001-10-27 Daniel Jacobowitz <drow@mvista.com>
15633
15634 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15635 * gdm.mi/mi0-hack-cli.exp: Likewise.
15636
156372001-10-25 Andrew Cagney <ac131313@redhat.com>
15638
15639 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15640 messages.
15641
156422001-10-21 Andrew Cagney <ac131313@redhat.com>
15643
15644 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15645 checking MI enabled.
15646
156472001-10-09 Corinna Vinschen <vinschen@redhat.com>
15648
15649 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15650
156512001-10-04 Frank Ch. Eigler <fche@redhat.com>
15652
15653 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15654 if gdb child process crashes, just signal an error.
15655
156562001-10-02 Jim Blandy <jimb@redhat.com>
15657
15658 * lib/gdb.exp (test_xfail_format): Simplify.
15659
15660 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15661 front of the variable name `format'. Simplify `if'.
15662
156632001-10-01 Daniel Jacobowitz <drow@mvista.com>
15664
15665 * gdb.threads/pthreads.exp: Wait for output and delay
15666 before sending ^C.
15667
156682001-10-01 Daniel Jacobowitz <drow@mvista.com>
15669
15670 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15671 some incorrect output instead of timing out.
15672 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15673
156742001-09-28 Corinna Vinschen <vinschen@redhat.com>
15675
15676 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15677 check to allow additional `int'.
15678
156792001-09-27 Daniel Jacobowitz <drow@mvista.com>
15680
15681 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15682 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15683
156842001-09-27 Michael Snyder <msnyder@redhat.com>
15685
15686 * lib/gdb.exp (test_debug_format): New proc.
15687 (setup_xfail_format): Use new proc test_debug_format.
15688 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15689 proc; use new service proc test_debug_format.
15690 Replace all other "gcc_compiled" tests with this test.
15691 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15692 proc; use new service proc test_debug_format.
15693 Replace all other "gcc_compiled" tests with this test.
15694
156952001-09-27 Michael Snyder <msnyder@redhat.com>
15696
15697 * gdb.base/cvexpr.exp: New file.
15698 * gdb.base/cvexpr.c: New file
15699 Test for expressions using const and volatile keywords.
15700
157012001-09-26 Corinna Vinschen <vinschen@redhat.com>
15702
15703 * gdb.base/constvars.exp: Check for different orders of keywords
15704 and additional "int" strings in output.
15705
157062001-09-22 Andrew Cagney <ac131313@redhat.com>
15707
15708 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15709 responses from "help maint".
15710
157112001-09-19 Frank Ch. Eigler <fche@redhat.com>
15712
15713 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15714 to localhost:NNN instead of :NNN, in case Xvfb is listening
15715 only on TCP.
15716
157172001-09-19 Corinna Vinschen <vinschen@redhat.com>
15718
15719 * gdb.base/recurse.exp: When checking leaving the watchpoint
15720 scope, recognize when gdb is in function's epilogue and pass.
15721
157222001-09-18 Keith Seitz <keiths@redhat.com>
15723
15724 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15725 support for running tests against sid targets.
15726 (gdbtk_done): Ditto.
15727
157282001-09-18 Corinna Vinschen <vinschen@redhat.com>
15729
15730 * gdb.base/ending-run.c (main): Set stdout buffersize
15731 to the same reasonable value for any target.
15732 * gdb.base/ending-run.exp: Add a regular expression
15733 to make testsuite happy on Sanyo Stormy16 target.
15734
157352001-09-17 Corinna Vinschen <vinschen@redhat.com>
15736
15737 * gdb.base/display.c (do_loops): Add float variable `f'.
15738 Increment f in loop.
15739 * gdb.base/display.exp: Increment timeout by 60 seconds.
15740 Change float display test to use variable `f'.
15741
157422001-09-17 Jim Blandy <jimb@redhat.com>
15743
15744 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15745 overflowing the limited breakpoint tables on some ROM monitors
15746 (like the ROM68K).
15747
157482001-09-15 Frank Ch. Eigler <fche@redhat.com>
15749
15750 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15751 the "-ac" (disable access control) flag.
15752
157532001-08-30 Jeff Holcomb <jeffh@redhat.com>
15754
15755 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15756 ints.
15757
157582001-08-30 Keith Seitz <keiths@redhat.com>
15759
15760 * lib/gdb.exp: Move all insight-related functionality into
15761 separate file.
15762 * lib/insight-support.exp: New file.
15763
157642001-08-29 Frank Ch. Eigler <fche@redhat.com>
15765
15766 * config/sid.exp (sid_start): Never set sid verbosity; disable
15767 expect_background {} that consumed its stdout; tolerate </dev/null.
15768 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15769
157702001-08-18 Andrew Cagney <ac131313@redhat.com>
15771
15772 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15773 CLI jump command to start it.
15774 (mi_run_to_main): Fail immediatly when unexpected output.
15775
157762001-08-18 Andrew Cagney <ac131313@redhat.com>
15777
15778 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15779 beginning of function. Fix PR gdb/191.
15780
157812001-08-16 Frank Ch. Eigler <fche@redhat.com>
15782
15783 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15784 what to force sid endianness to.
15785
157862001-08-15 Keith Seitz <keiths@redhat.com>
15787
15788 * lib/gdb.exp (gdbtk_start): Don't set environment
15789 variables for TCL_LIBRARY and friends. Insight will
15790 now figure these out for itself.
15791
157922001-08-02 Michael Snyder <msnyder@redhat.com>
15793
15794 * gdb.base/completion.exp: Remove the symbol "a64l" from
15795 the expect string; this is target-specific, and not related
15796 to what is being tested.
15797
157982001-08-02 Dave Brolley <brolley@redhat.com>
15799
15800 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15801
158022001-07-25 Michael Snyder <msnyder@redhat.com>
15803
15804 * gdb.base/consecutive.exp: New file. Test stepping over
15805 breakpoints on consecutive instructions.
15806 * gdb.base/consecutive.c: New file.
15807
15808 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15809 curly braces in regular expressions.
15810
158112001-07-25 Michael Snyder <msnyder@redhat.com>
15812
15813 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15814 legitimate output from stepping out of main.
15815
158162001-07-22 Keith Seitz <keiths@redhat.com>
15817
15818 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15819 the empty string, do not run the tests.
15820
158212001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15822
15823 * gdb.base/long_long.exp: Detect size of pointer. Take into
15824 account 2-byte pointers when testing for p/a results.
15825
158262001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15827
15828 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15829 and defined to 1K for m68hc11.
15830 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15831 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15832 (sizeof_random_data): New variable to tell the size of the data table;
15833 don't test past this size; always run to main.
15834
158352001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15836
15837 * gdb.base/return2.exp: return of long long and double fails for
15838 68HC11; don't execute these tests on that platform.
15839 * gdb.base/return.exp: Return of a double fails for 68hc11.
15840
158412001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15842
15843 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15844 tests that print a float.
15845 * call-rt-st.exp: Likewise.
15846
158472001-07-12 Mark Kettenis <kettenis@gnu.org>
15848
15849 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15850 running this test on Linux.
15851
158522001-06-24 Michael Chastain <chastain@redhat.com>
15853
15854 * gdb.base/arithmet.exp: Remove some tests to make all test names
15855 unique.
15856
158572001-07-03 Michael Snyder <msnyder@redhat.com>
15858
15859 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15860 the output of the ptype command.
15861
158622001-07-02 Michael Snyder <msnyder@redhat.com>
15863
15864 * gdb.base/completion.exp: Don't assume that break.c is the only
15865 source file that may contain functions named "marker".
15866 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15867
158682001-06-28 Andrew Cagney <ac131313@redhat.com>
15869
15870 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15871 of files to delete.
15872
15873 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15874 * gdb.disasm/h8300s.exp: New file.
15875 gdb.disasm/h8300s.s: Likewise.
15876
158772001-06-27 Andrew Cagney <ac131313@redhat.com>
15878
15879 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15880 empty breakpoint tables.
15881
158822001-06-25 Andrew Cagney <ac131313@redhat.com>
15883
15884 * lib/mi-support.exp: Update args=... part of stop-reason
15885 patterns. Accept either a list or a tuple.
15886
158872001-06-23 Andrew Cagney <ac131313@redhat.com>
15888
15889 * lib/mi-support.exp: Remove local emacs variable defining
15890 change-log-default-name.
15891
158922001-06-22 Michael Chastain <chastain@redhat.com>
15893
15894 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15895 This is operationally compatible with the previous version.
15896
158972001-06-13 Jim Blandy <jimb@redhat.com>
15898
15899 * lib/gdb.exp (gdb_test): Doc fix.
15900
159012001-06-10 Michael Chastain <chastain@redhat.com>
15902
15903 * gdb.base/exprs.exp: Remove a duplicate test.
15904
159052001-06-06 Jim Blandy <jimb@redhat.com>
15906
15907 * gdb.base/return2.exp (main): Use values to test float and double
15908 returns that are not NaN's, to avoid being confused by IEEE
15909 comparison rules.
15910
159112001-06-04 Michael Snyder <msnyder@redhat.com>
15912
15913 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15914 non-zero if control_c fails. Terminate the test on failure,
15915 rather than wait for 12 more tests to time out.
15916
159172001-06-06 Jim Blandy <jimb@redhat.com>
15918
15919 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15920 Don't forget to match the GDB prompt.
15921
15922 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15923
159242001-06-04 Jim Blandy <jimb@redhat.com>
15925
15926 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15927 command.
15928
159292001-05-31 Kevin Buettner <kevinb@redhat.com>
15930
15931 * gdb.base/annota1.exp (info break): Match four or more spaces
15932 after "Address".
15933
159342001-05-31 Michael Chastain <chastain@redhat.com>
15935
15936 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15937 (dm_type_int_star): Likewise.
15938 (dm_type_long_star): Likewise.
15939 (dm_type_void_star): Likewise.
15940
159412001-05-29 Kevin Buettner <kevinb@redhat.com>
15942
15943 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15944 to a known value in order to get consistent results regardless
15945 of the setting of INPUTRC or the presence or contents of .inputrc.
15946
159472001-05-24 Michael Snyder <msnyder@redhat.com>
15948
15949 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15950 Don't require that the main thread and the manager thread are the
15951 first in the list.
15952
15953 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15954 debugging. If test fails, issue an "unsupported" not a "fail".
15955
159562001-05-24 Jim Blandy <jimb@redhat.com>
15957
15958 Don't assume that short is shorter than int.
15959 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15960 assume that shorts are smaller than ints. On a 16-bit machine,
15961 this isn't true.
15962 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15963 an int, is not equal to ~0 stored in an unsigned char. This tests
15964 the same thing that the previous test meant to, but works on
15965 16-bit machines, too.
15966 ("print unsigned char != (~0)"): Same test, complemented.
15967
159682001-05-24 Michael Snyder <msnyder@redhat.com>
15969
15970 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15971 test for (full_coverage == 0). This makes the test run faster,
15972 and prevents dejagnu getting out of step.
15973
159742001-05-23 Kevin Buettner <kevinb@redhat.com>
15975
15976 * gdb.base/finish.exp (finish_void): Revise pattern for
15977 stopping on the call statement to not permit stopping at
15978 the start of the instructions comprising the call sequence.
15979
159802001-05-19 Michael Chastain <chastain@redhat.com>
15981
15982 * gdb.base/callfuncs.exp: Make all test names unique.
15983 * gdb.base/commands.exp: Make all test names unique.
15984 * gdb.base/condbreak.exp: Make all test names unique.
15985 * gdb.base/dbx.exp: Make all test names unique.
15986 * gdb.base/default.exp: Make all test names unique.
15987 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15988 and TIMEOUT messages to their corresponding PASS message.
15989 * gdb.base/ending-run.exp: Make all test names unique.
15990 * gdb.base/long_long.exp: Remove duplicate test.
15991
159922001-05-21 Kevin Buettner <kevinb@redhat.com>
15993
15994 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15995 stop on the call statement as well as the statement after the
15996 call.
15997
159982001-05-21 Michael Snyder <msnyder@redhat.com>
15999
16000 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16001
160022001-05-10 Elena Zannoni <ezannoni@redhat.com>
16003
16004 * gdb.base/completion.exp: Revamp test. Make it execute on all
16005 platforms.
16006
160072001-05-10 Elena Zannoni <ezannoni@redhat.com>
16008
16009 * config/gdbserver.exp (gdb_load): Handle the case
16010 in which the arguments to gdbserver are given in the
16011 baseboard configuration file.
16012 Also handle the case in which the server needs to do a
16013 load.
16014
160152001-05-07 Keith Seitz <keiths@cygnus.com>
16016
16017 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16018 set up the display for testing.
16019 (gdbtk_start): Convert all paths to paths that tcl will like.
16020 Export target information to environment.
16021 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16022 necessary.
16023 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16024 (to_tcl_path): New proc to convert a given pathname into
16025 a path acceptible as an argument to a tcl command.
16026 (_gdbtk_export_target_info): New proc to export target info
16027 into the environment for gdbtk testing.
16028 (gdbtk_done): New proc to signal end-of-test.
16029
160302001-05-06 Jim Blandy <jimb@redhat.com>
16031
16032 * restore.c: Make the code of caller0 correspond to its comment.
16033
160342001-05-03 Michael Snyder <msnyder@redhat.com>
16035
16036 * config/sid.exp (gdb_target_sid): Check for error messages.
16037 On error or timeout, don't make expect exit (which will terminate
16038 all subsequent tests); instead just make gdb exit.
16039 (gdb_load): Check for error messages. On error or timeout,
16040 return a negative value.
16041
160422001-04-24 Jim Blandy <jimb@redhat.com>
16043
16044 * gdb.c++/templates.exp: If we see the prompt for the overload
16045 list, but we haven't recognized any of the longer patterns,
16046 arrange for this test to fail, not hang.
16047
16048 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16049 variations.
16050
160512001-04-22 Michael Chastain <chastain@redhat.com>
16052
16053 * gdb.c++/local.exp: Use the 'runto' library function.
16054 * gdb.c++/namespace.exp: Likewise.
16055 * gdb.c++/overload.exp: Likewise.
16056
160572001-03-26 Kevin Buettner <kevinb@redhat.com>
16058
16059 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16060 * gdb.base/step-line.exp: New file. Test step/next in presence of
16061 #line directives.
16062 * gdb.base/step-line.c: New file. Test program for the above.
16063 * gdb.base/step-line.inp: New file. We pretend that this file has
16064 been transformed by some other tool into step-line.c.
16065
160662001-03-21 Jim Blandy <jimb@redhat.com>
16067
16068 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16069 unmangled operator names.
16070
160712001-03-20 Jim Blandy <jimb@redhat.com>
16072
16073 * gdb.threads/linux-dp.exp: Recognize an additional message
16074 generated by GDB when it doesn't understand how to debug threads
16075 on the target system.
16076
160772001-03-19 Andrew Cagney <ac131313@redhat.com>
16078
16079 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16080
160812001-03-12 Michael Chastain <chastain@redhat.com>
16082
16083 * gdb.c++/derivation.exp: Use the 'runto' library function.
16084
160852001-03-12 Michael Chastain <chastain@redhat.com>
16086
16087 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16088
160892001-02-24 Michael Chastain <chastain@redhat.com>
16090
16091 * gdb.c++/ref-types.exp: Change handwritten code to library
16092 function 'runto'.
16093
160942001-03-16 Orjan Friberg <orjanf@axis.com>
16095
16096 * gdb.base/signals.exp: Set count to 0 explicitly.
16097
160982001-03-15 Mark Salter <msalter@redhat.com>
16099
16100 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16101 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16102 (gdb_load): Add support for additional target_info: gdb_download_size
16103 and gdb_load_timeout.
16104
16105Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16106
16107 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16108 file -- to prevent failing when the compile fails but we have no
16109 intention of running the tests anyway.
16110
16111 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16112 tests if set.
16113
16114 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16115 integers.
16116
16117 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16118 * gdb.c++/namespace.exp: Ditto.
16119
161202001-03-07 Orjan Friberg <orjanf@axis.com>
16121
16122 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16123 * gdb.base/pointers.exp: Relax pattern match of decimals.
16124
161252001-03-06 Kevin Buettner <kevinb@redhat.com>
16126
16127 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16128 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16129 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16130 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16131 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16132 config/sh.exp, config/sid.exp, config/slite.exp,
16133 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16134 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16135 config/vxworks.exp, config/vxworks29k.exp,
16136 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16137 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16138 gdb.base/arithmet.exp, gdb.base/assign.exp,
16139 gdb.base/async.exp, gdb.base/attach.exp,
16140 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16141 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16142 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16143 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16144 gdb.base/commands.exp, gdb.base/completion.exp,
16145 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16146 gdb.base/constvars.exp, gdb.base/corefile.exp,
16147 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16148 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16149 gdb.base/ending-run.exp, gdb.base/environ.exp,
16150 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16151 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16152 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16153 gdb.base/funcargs.exp, gdb.base/help.exp,
16154 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16155 gdb.base/logical.exp, gdb.base/long_long.exp,
16156 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16157 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16158 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16159 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16160 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16161 gdb.base/regs.exp, gdb.base/relational.exp,
16162 gdb.base/remote.exp, gdb.base/reread.exp,
16163 gdb.base/restore.exp, gdb.base/return2.exp,
16164 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16165 gdb.base/selftest.exp, gdb.base/setshow.exp,
16166 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16167 gdb.base/sigall.exp, gdb.base/signals.exp,
16168 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16169 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16170 gdb.base/step-test.exp, gdb.base/structs.c,
16171 gdb.base/structs.exp, gdb.base/structs2.exp,
16172 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16173 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16174 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16175 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16176 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16177 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16178 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16179 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16180 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16181 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16182 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16183 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16184 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16185 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16186 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16187 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16188 gdb.trace/circ.exp, gdb.trace/collection.exp,
16189 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16190 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16191 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16192 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16193 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16194 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16195 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16196 notices.
16197
161982001-02-27 Michael Snyder <msnyder@cygnus.com>
16199
16200 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16201 first arg is int not float.
16202
162032001-02-22 Michael Snyder <msnyder@cygnus.com>
16204
16205 * gdb.base/reread.exp: Unsupported for non-native targets;
16206 doesn't work for remote debugging.
16207
162082001-02-19 Fernando Nasser <fnasser@redhat.com>
16209
16210 From Drew Moseley <dmoseley@redhat.com>
16211 * gdb.base/ending-run.exp: Properly handle the BSP state when
16212 stepping past the end of main.
16213
162142001-02-19 John Moore <jmoore@redhat.com>
16215
16216 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16217 Converted HPUX fix for non-expected items following multiple
16218 step commands into general solution for all platforms.
16219
162202001-02-18 Michael Chastain <chastain@redhat.com>
16221
16222 * gdb.c++/classes.exp (do_tests): Change runto statements
16223 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16224 statements demangler agnostic.
16225 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16226 (gdb_virtfunc_restart): Likewise.
16227
162282001-02-14 Michael Chastain <chastain@redhat.com>
16229
16230 * gdb.c++/inherit.exp (do_tests): Change runto statements
16231 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16232 statements demangler agnostic.
16233
16234Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16235
16236 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16237 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16238 before calling common_routine 15 times'' tests.
16239
162402001-02-11 Michael Chastain <chastain@redhat.com>
16241
16242 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16243 Helps the test script figure out which demangler is in use.
16244 (dm_type_foo_ref): Ditto.
16245 (dm_type_int_star): Ditto.
16246 (dm_type_long_star): Ditto.
16247 (dm_type_unsigned_int): Ditto.
16248 (dm_type_void): Ditto.
16249 (dm_type_void_star): Ditto.
16250 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16251 Probe the gdb demangler and set variables to accommodate
16252 formatting differences.
16253 (info_func_regexp): New function. Same as info_func, but
16254 matches against a regexp.
16255 (info_func): Match against a literal string.
16256 (print_addr_2): New function. Match against a literal string,
16257 which can be different from the input to gdb.
16258 (print_addr): Simply call print_addr_2 with the same argument twice.
16259 (test_lookup_operator_functions): Use demangler formatting variables.
16260 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16261 the tests in the same order as the C++ class declaration.
16262 (test_paddr_operator_functions): Ditto.
16263 (test_paddr_overloaded_functions): Ditto.
16264 (test_paddr_hairy_functions): Use demangler formatting variables.
16265 Add reference to gdb/19 for related tests.
16266 (do_tests): Call probe_demangler.
16267
162682001-01-30 Kevin Buettner <kevinb@redhat.com>
16269
16270 * gdb.c++/templates.cc (printf): Remove unused function definition.
16271
162722001-01-26 Felix Lee <flee@redhat.com>
16273
16274 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16275
162762001-01-25 matthew green <mrg@redhat.com>
16277
16278 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16279 up sid.
16280 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16281
162822001-01-25 matthew green <mrg@redhat.com>
16283
16284 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16285 Deprecate $sid_spawn_id.
16286 (sid_exit): Remove code necessary only for `spawn.'
16287
162882001-01-25 matthew green <mrg@redhat.com>
16289
16290 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16291
162922001-01-28 Michael Chastain <chastain@redhat.com>
16293
16294 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16295 to call when tests fail. It takes gdb out of the overloaded
16296 function choice menu back to the main prompt, so that the test
16297 program stays synchronized.
16298 (set_bp_overloaded): New proc to collect all the common
16299 code for setting a breakpoint on an overloaded name. Calls
16300 take_gdb_out_of_choice_menu when needed.
16301 (menu_overload1arg): New variable to collect the repeated
16302 instances of the expected menu for an overloaded name. Change
16303 the regular expression to handle changes in g++ type encoding:
16304 "void" can be either "void" or "", and "unsigned int" can be
16305 either "unsigned int" or "unsigned".
16306 (continue_to_bp_overloaded): Change regular expressions to handle
16307 changes in g++ type encoding.
16308 (no proc): Call take_gdb_out_of_choice_menu when needed.
16309 Remove redundant calls to "info break". Accept either "canceled"
16310 or "cancelled". Change regular expressions in "info break"
16311 calls to handle changes in g++ type encoding. Give all tests
16312 unique strings.
16313
163142001-01-17 Ben Elliston <bje@redhat.com>
16315
16316 * config/sid.exp: New file.
16317
16318Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16319
16320 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16321
163222000-12-21 Michael Snyder <msnyder@cygnus.com>
16323
16324 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16325 Add a RE to accept a non-ascii char if one is ever presented.
16326
163272000-12-20 Fernando Nasser <fnasser@redhat.com>
16328
16329 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16330
163312000-12-18 Michael Snyder <msnyder@cygnus.com>
16332
16333 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16334 in regexp. One '\' does not suffice on Linux.
16335
163362000-12-09 Michael Chastain <chastain@redhat.com>
16337
16338 * gdb.base/break.exp (test_clear_command): Use a marker function
16339 rather than 'main' for the test function. Also move this
16340 test to an execution point where the marker function names are
16341 guaranteed to be bound to functions. (Executing tests after a
16342 'finish' from main runs into name conflicts with local names
16343 in __libc_start_main).
16344
163452000-12-07 Michael Snyder <msnyder@cygnus.com>
16346
16347 * gdb.base/finish.exp: New test for gdb's "finish" command.
16348 * gdb.base/return2.exp: New test for gdb's "return" command.
16349 * gdb.base/return2.c: New source file for above.
16350
163512000-12-05 Michael Snyder <msnyder@cygnus.com>
16352
16353 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16354 * gdb.base/miscexprs.exp: Ditto.
16355 * gdb.base/pointers.exp: Ditto.
16356 * gdb.c++/derivation.exp: Ditto.
16357 * gdb.c++/local.exp: Ditto.
16358 * gdb.c++/namespace.exp: Ditto.
16359 * gdb.c++/overload.exp: Ditto.
16360 * gdb.c++/ref-types.exp: Ditto.
16361
163622000-12-05 Michael Snyder <msnyder@cygnus.com>
16363
16364 * gdb.base/constvars.exp: Test result of "up" command.
16365 * gdb.base/miscexprs.exp: Ditto.
16366 * gdb.base/pointers.exp: Ditto.
16367 * gdb.base/scope.exp: Ditto.
16368 * gdb.c++/derivation.exp: Ditto.
16369 * gdb.c++/local.exp: Ditto.
16370 * gdb.c++/namespace.exp: Ditto.
16371 * gdb.c++/overload.exp: Ditto.
16372 * gdb.c++/ref-types.exp: Ditto.
16373
163742000-11-22 Michael Chastain <chastain@redhat.com>
16375
16376 * mips_pro.exp: Accept either "middle -> top -> main" or
16377 "middle -> main" in the backtrace, because gcc can optimize
16378 tail calls to jumps. Remove setup_xfail for the hppa case.
16379 Add a comment with the original warning messages from PR 3016,
16380 which was filed in 1993, to preserve them for posterity.
16381
163822000-11-17 Nick Duffek <nsd@redhat.com>
16383
16384 * lib/gdb.exp (gdb_test): Override timeout with board info.
16385
163862000-11-17 Nick Duffek <nsd@redhat.com>
16387
16388 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16389 the second kill and detach messages.
16390
163912000-11-17 Nick Duffek <nsd@redhat.com>
16392
16393 * configure.in: Add AC_EXEEXT.
16394 * configure: Regenerate.
16395 * Makefile.in (just-check): Export EXEEXT.
16396 * lib/gdb.exp ($EXEEXT): Import from environment.
16397 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16398 expect "maint dump-me" on Cygwin.
16399 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16400 $EXEEXT.
16401
164022000-11-17 Nick Duffek <nsd@redhat.com>
16403
16404 * gdb.base/break.exp: Test backtrace and finish from called
16405 function on all platforms, not just HP-UX.
16406
164072000-11-03 Michael Snyder <msnyder@cygnus.com>
16408
16409 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16410 code from gdb_target_monitor, so it can be used independantly
16411 for gdbserver. Also comment out an unnecessary PUTS.
16412
164132000-11-03 Michael Snyder <msnyder@cygnus.com>
16414
16415 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16416 * gdb.base/corefile.exp: Expect the message "Program is being
16417 debugged already" when we send the "corefile" command, since
16418 the preceeding gdb_load may have connected gdb to a remote target.
16419 * gdb.base/display.exp: Disable hardware watchpoints if new
16420 board info variable "no_hardware_watchpoints" is true.
16421 Replace single-letter commands with more readable ones.
16422 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16423 if new board info variable "no_hardware_watchpoints" is true.
16424 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16425 to see if stdio (printf) testing is possible.
16426 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16427 board info variable "no_hardware_watchpoints" is true. Use new
16428 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16429
164302000-11-13 Fernando Nasser <fnasser@redhat.com>
16431
16432 From Orjan Friberg <orjanf@axis.com>:
16433 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16434 in array print pattern match.
16435
164362000-11-09 Fernando Nasser <fnasser@redhat.com>
16437
16438 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16439 spelling "cancelled" to U.S. spelling "canceled" to match changes
16440 made to gdb.
16441 * gdb.c++/ovldbreak.exp: Ditto.
16442
164432000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16444
16445 * gdb.base/callfuncs.c (main): Moved to end of file, call
16446 t_double_values to initialize the FPU before inferior calls are made.
16447 * gdb.base/callfuncs.exp: Test for register preservation after calling
16448 inferior functions. Add tests for continuining, finishing and
16449 returning from a stop in a call dummy.
16450
164512000-10-24 Michael Snyder <msnyder@cygnus.com>
16452
16453 * gdb.base/commands.exp: Break up long lines, and re-indent.
16454
164552000-10-19 Michael Snyder <msnyder@cygnus.com>
16456
16457 * config/gdbserver.exp: Rewritten from the ground up, to make it
16458 compatible with the current dejagnu tree, and to make it work with
16459 the new "gdbserver" in libremote.
16460
164612000-10-16 Michael Snyder <msnyder@cygnus.com>
16462
16463 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16464 * gdb.base/varargs.exp: Skip entire test if no printf support.
16465 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16466 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16467
164682000-10-13 Michael Snyder <msnyder@cygnus.com>
16469
16470 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16471 no floating point support.
16472 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16473 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16474 * gdb.base/call-rt-st.exp: Ditto.
16475 * gdb.base/call-strs.exp: Ditto.
16476
164772000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16478
16479 * gdb.base/sizeof.c: include <stdio.h>.
16480
16481 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16482 'finish', otherwise uncaptured gdb_prompt would potentially
16483 throw remaining test points out of sync.
16484
164852000-07-26 Scott Bambrough <scottb@netwinder.org>
16486
16487 * gdb.base/recurse.exp: Run tests for all targets.
16488 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16489 gnu-oldld case on ARM.
16490 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16491 for ARM targets.
16492
16493Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16494
16495 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16496 * gdb.java/configure: Rebuild.
16497
16498Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16499
16500 * gdb.java/jv-exp.exp: New file.
16501
16502Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16503
16504 * configure: Rebuilt.
16505 * configure.in (configdirs): Add gdb.java.
16506 * gdb.java/jmisc.java: New file.
16507 * gdb.java/jmisc.exp: New file.
16508 * gdb.java/Makefile.in: New file.
16509 * gdb.java/configure: Rebuilt.
16510 * gdb.java/configure.in: New file.
16511 * lib/java.exp: New file.
16512
16513Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16514
16515 * gdb.base/exprs.exp: Test casts to a pointer including over and
16516 underflow.
16517
16518Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16519
16520 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16521 and the compilers sizes.
16522
165232000-07-09 Nick Duffek <nsd@redhat.com>
16524
16525 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16526 (use_methods): New function.
16527 (main): Call use_methods().
16528 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16529 (do_tests): Call test_method_param_class.
16530
165312000-07-09 Nick Duffek <nsd@redhat.com>
16532
16533 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16534 spelling.
16535 (test_enums): New procedure. Move enum tests from end of script
16536 to here. Set breakpoint on function name instead of line number.
16537 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16538 (enums2): New marker function.
16539 (enums1): New function.
16540 (main): Call enums1(). Move enum tests to enums1().
16541
16542Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16543
16544 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16545 compile/link program. Update line numbers.
16546 * gdb.asm/d10v.inc: Define ``startup''.
16547 * gdb.asm/asmsrc1.s: Add definition of _start.
16548
16549Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16550
16551 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16552
165532000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16554
16555 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16556 of 'help maint print' command.
16557
16558Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16559
16560 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16561 they use gdb_expect_list.
16562
16563Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16564
16565 * gdb.base/commands.exp: Use ``set remote
16566 memory-read-packet-size'' instead of ``set endian big'' to test
16567 long commands.
16568
165692000-06-03 Daniel Berlin <dan@cgsoftware.com>
16570
16571 * gdb.c++/templates.exp (do_tests): Make all of these work under
16572 g++, and stop skipping them.
16573
16574 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16575 work under g++.
16576
16577 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16578 initialization.
16579
165802000-06-02 Michael Snyder <msnyder@cygnus.com>
16581
16582 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16583 the regular expression: accept an (almost) arbitrary sequence of
16584 "frames-invalid" and "breakpoints-invalid" messages both before
16585 and after the "starting" message.
16586
165872000-06-02 Michael Snyder <msnyder@cygnus.com>
16588
16589 * gdb.c++/local.exp: This test has never been known to work with g++.
16590
165912000-05-18 Michael Snyder <msnyder@cygnus.com>
16592
16593 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16594 Relax the regular expression a little, make it pass on Solaris 8.
16595
165962000-05-12 Kevin Buettner <kevinb@redhat.com>
16597
16598 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16599 a call, do not require that gdb stop on the line after the call.
16600 Instead, it is permissible for gdb to stop on the line of the
16601 call itself.
16602
166032000-05-12 Michael Snyder <msnyder@.cygnus.com>
16604
16605 * gdb.base/break.exp (bp on small function, optimized file):
16606 Add a second pass pattern. The behavior differs here between stabs
16607 and dwarf for one-line functions. Stabs preserves two line symbols
16608 (one before the prologue and one after) with the same line number,
16609 but dwarf regards these as duplicates and discards one of them.
16610 Therefore the address after the prologue (where the breakpoint is)
16611 has no exactly matching line symbol, and GDB reports the breakpoint
16612 as if it were in the middle of a line rather than at the beginning.
16613
166142000-05-08 Michael Snyder <msnyder@cygnus.com>
16615
16616 * gdb.base/interrupt.exp: Make "pass" message say "send"
16617 rather than "send_gdb" (for consistancy).
16618
16619Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16620
16621 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16622 * gdb.c++/templates.cc: Properly check for GCC version number.
16623 * lib/compiler.cc: Likewise
16624
166252000-04-28 Michael Snyder <msnyder@cygnus.com>
16626
16627 * gdb.base/break.exp: When compiled with -O2 optimization,
16628 gdb may not stop at the first line of main, due to code motion.
16629
166302000-04-26 Michael Snyder <msnyder@cygnus.com>
16631
16632 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16633 This test depends on parsing the printf output from the target.
16634 Since the sparclet stub doesn't do stdio, this will never work.
16635 * gdb.base/call-rt-st.exp: ditto.
16636 * gdb.base/call-strs: ditto.
16637
166382000-04-24 Michael Snyder <msnyder@cygnus.com>
16639
16640 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16641
16642 * gdb.base/ending-run.exp: After connecting to a remote target,
16643 but before running, the target will appear to be in a random
16644 location. Specify both a file and a line for breakpoints.
16645 Also, the function that calls main may be called 'init'
16646 rather than 'start'.
16647
166482000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16649
16650 * gdb.base/help.exp: Update output for add-symbol-file command.
16651
166522000-04-10 Fernando Nasser <fnasser@cygnus.com>
16653
16654 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16655 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16656
166572000-04-07 J.T. Conklin <jtc@redback.com>
16658
16659 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16660
16661 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16662
16663Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16664
16665 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16666 values that can be represented exactly.
16667 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16668 above change, and to not check against the directory part of the source
16669 file name.
16670 (step into print_long_arg_list): Likewise.
16671 (print print_small_structs from print_long_arg_list): Likewise.
16672 (print print_long_arg_list): Likewise.
16673
166742000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16675
16676 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16677
16678Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16679
16680 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16681
166822000-03-25 Daniel Berlin <dan@cgsoftware.com>
16683
16684 * gdb.base/commands.exp (deprecated_command_test): Add test for
16685 deprecate with no arguments.
16686
166872000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16688
16689 * gdb.base/break.exp: Add new test for setting breakpoints on
16690 optimized code so we can test breakpoints work even when function
16691 prologues may be optimized away
16692
166932000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16694
16695 From David Whedon <dwhedon@gordian.com>
16696 * gdb.base/commands.exp : Added command deprecator tests.
16697
166982000-03-22 Daniel Berlin <dan@cgsoftware.com>
16699
16700 * gdb.base/help.exp: Added test for new apropos command.
16701
167022000-03-21 Kevin Buettner <kevinb@redhat.com>
16703
16704 * gdb.base/pointers.c (usevar): New function.
16705 (main): Make sure that global variables v_int_pointer2, rptr,
16706 and y are all referenced someplace in the program by calling
16707 usevar() on them. [Some linkers delete symbols which are
16708 never referenced. The space remains, but there's no way to
16709 get a (symbolic) handle on the variable from the debugger.]
16710
167112000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16712
16713 * gdb.base/printcmds.c: Add typedeffed arrays.
16714
16715 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16716 procedure to test arrays that are typedef'd.
16717
167182000-03-13 James Ingham <jingham@leda.cygnus.com>
16719
16720 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16721 the library directories.
16722
16723Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16724
16725 * configure.in (configdirs): Add sub directory gdb.mi.
16726 * configure: Re-generate.
16727
16728 * gdb.mi: New directory.
16729
167302000-02-25 Scott Bambrough <scottb@netwinder.org>
16731
16732 * gdb.base/long_long.exp: Correct test suite failure when printing
16733 a long long value as a double on ARM platforms.
16734
167352000-02-16 Jim Blandy <jimb@redhat.com>
16736
16737 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16738 default source file is set properly before running this test.
16739
167402000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16741
16742 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16743 gdbtk/library directory, not in gdbtcl2.
16744
167452000-02-04 Jim Blandy <jimb@redhat.com>
16746
16747 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16748 backslash from regexp pattern.
16749
16750 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16751 procedure. Use it to run all the "continue to bp overloaded"
16752 tests. Note that this changes the names of the tests slightly.
16753 If the breakpoint hit message includes a hex PC value, because
16754 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16755 from the real source code, still consider that a pass.
16756
16757 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16758 XFAIL here if the breakpoint message contains a hex address. Note
16759 similar change on 1999-11-02.
16760
16761 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16762
16763 * gdb.base/ptype.exp: Establish a default source file before
16764 calling get_debug_format.
16765
167662000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16767
16768 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16769
167702000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16771
16772 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16773 of successive stepi commands -- while in the prologue we should see
16774 the function entry bracket.
16775
167762000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16777
16778 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16779 reach __change_mode() when stepping through the end of main().
16780
167812000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16782
16783 * gdb.base/default.exp: Fix expected pattern.
16784 * gdb.base/help.exp: Same.
16785
167862000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16787
16788 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16789 Don't use xfail's because that affects only the following test.
16790
16791 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16792 solaris or linux.
16793
16794 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16795
167962000-01-07 Michael Snyder <msnyder@cygnus.com>
16797
16798 * gdb.base/display.exp: Some yacc parsers like to say
16799 "A syntax error" rather than "A parse error". Accept both.
16800
168012000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16802
16803 * gdb.base/default.exp: Remove OS dependent string from "target
16804 remote" test.
16805 * gdb.base/help.exp: Same for "help target remote" test.
16806
168072000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16808
16809 From Jim Kingdon <kingdon@redhat.com>:
16810
16811 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16812 prompt (cleanup rather than necessity, but still might keep output
16813 from spilling to next test).
16814
168152000-01-02 Fred Fish <fnf@cygnus.com>
16816
16817 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16818 AIX, which defines them in <sys/types.h>.
16819
168201999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16821
16822 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16823 float" test.
16824
168251999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16826
16827 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16828
16829 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16830 outermost frame disallowed".
16831
168321999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16833
16834 * gdb.base/setvar.exp: New tests for setting the value of a struct
16835 with a constant list.
16836
168371999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16838
16839 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16840 require the user to type a cast before setting the value of a struct.
16841
168421999-12-06 Jim Blandy <jimb@cygnus.com>
16843
16844 * gdb.base/default.exp: Expect the new 'info float' command on
16845 all i386 platforms.
16846
16847 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16848 LinuxThreads libraries that don't support debugging.
16849
16850Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16851
16852 * gdb.base/remote.c: Fill the buffer with truely random data.
16853 Change the buffer type to ``unsigned char'' to simplify size
16854 arithmetic.
16855
16856 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16857 stub only handles 400-1 byte packets. Verify that the download
16858 worked.
16859
168601999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16861
16862 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16863 tests, using UNRESOLVED for the untested cases. Also, does not wait
16864 for a timeout if the prompt was received before a recognizable pattern.
16865
168661999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16867
16868 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16869
168701999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16871
16872 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16873 watchpoints.
16874
168751999-11-24 Jason Merrill <jason@casey.cygnus.com>
16876
16877 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16878
16879 * gdb.c++/local.exp: Be more flexible in recognizing local class
16880 name mangling. Don't allow horribly truncated method names.
16881 * gdb.c++/derivation.exp: Expect protected inheritance.
16882 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16883 * gdb.c++/virtfunc.exp: Likewise.
16884 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16885 when printing a nested enum.
16886
168871999-11-22 Jim Blandy <jimb@cygnus.com>
16888
16889 * gdb.base/step-test.exp: Properly await GDB's response to setting
16890 a breakpoint on the call to large_struct_by_value.
16891
16892 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16893 just because we have debug info for the `start' function.
16894
168951999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16896
16897 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16898 "Unknown signal" messages, which indicate (on LinuxThreads) that
16899 GDB doesn't know how to debug threads on this system. This is
16900 better than hanging while philosopher 0 dumps chatter into gdb.log.
16901
169021999-11-18 Tom Tromey <tromey@cygnus.com>
16903
16904 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16905
169061999-11-18 Fred Fish <fnf@cygnus.com>
16907
16908 * gdb.base/coremaker2.c: Add sample program for generating
16909 cores that is more self contained than coremaker.c. Eventually
16910 I'll add more code to this and tie it into the testsuite.
16911
169121999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16913
16914 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16915
169161999-11-10 Jimmy Guo <guo@cup.hp.com>
16917
16918 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16919 from $srcdir/lib/.
16920 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16921 and gdb.c++/.
16922
16923 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16924
16925 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16926 'continue with watch' test point.
16927
169281999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16929
16930 Merged from p2linux-990323-branch:
16931
16932 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16933
16934Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16935
16936 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16937 {limit,fixed}''. Test ``set download-write-size''.
16938
16939Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16940
16941 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16942 gdb_expect_list.
16943
16944Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16945
16946 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16947
169481999-11-03 Mark Salter <msalter@cygnus.com>
16949
16950 * gdb.base/break.exp: Fix "stub continue" pattern.
16951
169521999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16953
16954 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16955
169561999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16957
16958 * gdb.base/display.exp ("finish"): Add timeout clause.
16959
16960 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16961 plain prompt clause, so this doesn't have to time out in order to
16962 fail.
16963
16964 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16965 breakpoint hit messages include an address.
16966
16967 * gdb.base/display.exp: Don't forget to escape parens in regular
16968 expressions. Unix regexp notatation sucks.
16969
169701999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16971
16972 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16973 order for 'signalled' message.
16974
169751999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16976
16977 From Jimmy Guo <guo@cup.hp.com>:
16978 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16979 * gdb.base/annota1.c: Add code for tests to work with.
16980
169811999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16982
16983 * gdb.base/remote.exp: New test for remote downloading settings.
16984 * gdb.base/remote.c: New file with large .data.
16985
169861999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16987
16988 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16989 for LinuxThreads support, merged from the Code Fusion branch.
16990
16991Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16992
16993 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16994 containing exp_continue into a while within an expect. Don't
16995 attempt a start more than three times. Check return value from
16996 gdb_load.
16997
16998Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16999
17000 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17001 a pass case.
17002
170031999-10-01 Kevin Buettner <kevinb@cygnus.com>
17004
17005 * gdb.base/break.c (main): Added a statement that we can step
17006 off of.
17007 * gdb.base/break.exp: Added tests for setting a breakpoint
17008 at an offset and stepping onto a breakpoint.
17009
170101999-10-01 Fred Fish <fnf@cygnus.com>
17011
17012 * gdb.base/help.exp (help add-symbol-file): Update to match current
17013 gdb output.
17014
170151999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17016
17017 * gdb.base/break.exp: Code locations are in hex, don't forget!
17018 (For HP-UX.)
17019
170201999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17021
17022 * condbreak.exp: Use break.c as test program.
17023 * condbreak.c: Remove, redundant with break.c.
17024
170251999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17026
17027 * config/monitor.exp (gdb_target_monitor): Disable X- and
17028 Z-packets if the target needs it.
17029
170301999-09-13 James Ingham <jingham@leda.cygnus.com>
17031
17032 * gdb.c++/overload.exp: Added tests for listing overloaded
17033 functions with function pointers in the arg, explicitly calling
17034 out the version you want.
17035
170361999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17037
17038 * long_long.exp: Add variations of test cases that work for
17039 targets with 16-bit ints and 32-bit doubles.
17040
170411999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17042
17043 * break.c (main): Compare a possibly-uninitialized argc with an
17044 unlikely value that fits in 16 bits.
17045
170461999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17047
17048 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17049 0xfeeb, don't want negative numbers if ints are 16 bits.
17050
17051 * lib/gdb.exp (skip_cplus_tests): New proc.
17052 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17053 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17054 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17055 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17056 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17057 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17058 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17059 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17060
17061 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17062
17063Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17064
17065 * gdb.base/corefile.exp (up): Allow a parameter to appear
17066 in the frame that we're going up to.
17067
17068 From Jim Blandy <jimb@cygnus.com>:
17069
17070 * gdb.base/default.exp (info float): Expect some output now.
17071
17072 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17073 returning floating-point values to fail on the x86.
17074 * gdb.base/callfwmall.exp (do_function_calls): Same.
17075
17076 * gdb.base/list.exp (test_listsize): Correct expectations for
17077 listing line 1 with listsize 2. Also, listing a single line
17078 works now, as does listing three lines. [Kevin's note: There
17079 were a number of other cases fixed too where the expectations
17080 differed...]
17081
170821999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17083
17084 * gdb.base/selftest.exp: Add case for when version prints as
17085 constant string instead of char pointer.
17086
170871999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17088
17089 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17090 stepping out of main.
17091
17092 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17093 G++ used.
17094
17095 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17096 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17097
17098 * gdb.c++/ovldbreak.exp: Update match string in test that
17099 includes a warning of multiple breakpoints.
17100
171011999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17102
17103 * gdb.base/display.exp: Improve precision of step-after-finish
17104 added yesterday.
17105
17106 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17107 test.
17108
17109 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17110 configs when using G++, not just hppa*.
17111
171121999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17113
17114 * gdb.base/async.c: New file.
17115 * gdb.base/async.exp: New file.
17116
17117Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17118
17119 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17120 PA64.
17121
17122Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17123
17124 * gdb.base/display.exp: "finish" can leave us mid-line on many
17125 targets, deal with it. Add a small constant to main, instead of
17126 1000 since main+1000 may not be a valid address in the target.
17127
17128 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17129 on hpux11.
17130
17131 * gdb.base/attach.exp: Handle another hpux11 error message variant
17132 when attaching to a process that does not exist.
17133
171341999-08-19 J.T. Conklin <jtc@redback.com>
17135
17136 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17137 characters in 'continue to 1241' test.
17138
171391999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17140
17141 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17142 stop in print_long_arg_list, define and use a whitespace
17143 variable in print_small_structs test, add an XFAIL for Solaris.
17144 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17145 interested enough to fix.
17146
171471999-08-13 Keith Seitz <keiths@cygnus.com>
17148
17149 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17150 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17151 proc knows about targets other than the natives.
17152 (test_assign): Use "gdb_run_cmd" to "run" the target.
17153 Check that we've actually hit the breakpoint at main.
17154 When we attempt to assign a value to a local variable, check
17155 that the variable is in the current scope, i.e., don't use
17156 a test with an empty result.
17157
17158Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17159
17160 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17161 command.
17162
171631999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17164
17165 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17166 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17167 gdb.compat, gdb.threads-hp.
17168 gdb.hp/configure, gdb.hp/configure.in: New files.
17169 gdb.hp/Makefile.in: Recurse into new subdirs.
17170 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17171 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17172 in object files.
17173 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17174
171751999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17176
17177 * gdb.base/display.exp: Help expect by putting a newline in the
17178 funky printf, remove a bogus p/a test.
17179
171801999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17181
17182 * gdb.base/display.exp: Make sure that when we say 'run', we are
17183 connected to the target. This is necessary when running not
17184 natively.
17185
171861999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17187
17188 * gdb.base/step-test.exp: Removed some extraneous messages.
17189
17190 * gdb.base/long_long.exp: Don't run memory examination tests
17191 on little-endian targets (they will need a different set of
17192 results to match).
17193
171941999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17195
17196 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17197 until somebody decides to fix GDB.
17198
17199 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17200 constant as "ULL".
17201 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17202 matches for a couple x/2 commands.
17203
172041999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17205
17206 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17207 by merging in ref-types2 tests.
17208 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17209
17210 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17211 * gdb.c++/Makefile.in: Add standard actions.
17212 (EXECUTABLES): Rename from PROGS, update list.
17213 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17214 from gdb.hp.
17215 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17216 foo and bar locals.
17217 * gdb.c++/anon-union.exp: Fix tests to match.
17218 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17219 expect matches to handle output variations.
17220 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17221 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17222 output, add HP alternatives for new and delete prints.
17223 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17224 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17225 * gdb.c++/demangle.exp: Use $style when reporting failure.
17226 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17227 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17228 match alternatives.
17229 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17230 compilers.
17231 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17232 * gdb.c++/method.exp: Add match alternatives.
17233 * gdb.c++/misc.cc: Add bool types.
17234 * gdb.c++/misc.exp: Add tests for bool types.
17235 * gdb.c++/overload.exp: Add xfails.
17236 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17237 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17238 add some more template parameter tests (only for HP currently).
17239 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17240 * gdb.c++/virtfunc.cc: Add return type and value for main.
17241 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17242 match alternatives.
17243
172441999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17245
17246 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17247
172481999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17249
17250 * gdb.base/signals.exp: Don't expect getting a backtrace from
17251 within a signal handler to fail on Linux.
17252
172531999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17254
17255 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17256 * lib/gdb.exp: Remove some gratuitious semicolons.
17257 (delete_breakpoints): Increase timeout.
17258 (gdb_expect): Add -notransfer option.
17259 (gdb_test): Use -notransfer option.
17260 (get_compiler_info): Add f77 case.
17261 (get_compiler): New proc, split out from gdb_preprocess, add f77
17262 case.
17263 (gdb_preprocess): Call get_compiler.
17264
17265 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17266 * gdb.base/attach.exp, gdb.base/display.exp,
17267 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17268 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17269 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17270 third arg to gdb_test.
17271 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17272 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17273 HP-UX xfails, add others.
17274 * gdb.base/completion.exp: Reflect name change of self-test.
17275 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17276 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17277 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17278 HP failure number.
17279 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17280 useless HP-UX 10.30 references.
17281 * gdb.base/maint.exp: Loosen matches.
17282 * gdb.base/pointers.c (main): Declare more_code.
17283 * gdb.base/pointers.exp: Match on output of a `next'.
17284 * gdb.base/structs.c: Add prototypes.
17285 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17286 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17287
172881999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17289
17290 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17291 command.
17292
172931999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17294
17295 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17296 Fix run to main failures. Watchpoint can be hardware watchpoint.
17297
17298 * gdb.base/annota1.exp: Clean up some more, in case printf has
17299 debug info. Deal with lack of signal hanlder info in stack.
17300
17301 From Jim Kingdon <kingdon@redhat.com>:
17302 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17303
173041999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17305
17306 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17307 gdb.base/foll-vfork.exp: Don't run for crosses.
17308
17309Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17310
17311 * gdb.base/configure.in: Check for gdbvars.exp instead of
17312 a1-selftest.exp.
17313 * gdb.base/configure: Re-generate.
17314
173151999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17316
17317 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17318 in trying to run first and name is too long.
17319
17320 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17321 pointers2.c and pointers2.exp, respectively.
17322 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17323 doschk happier.
17324
173251999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17326
17327 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17328 callfuncs2.c and callfuncs2.exp.
17329
17330 * gdb.base/list.exp: Remove mistaken xfails.
17331 * gdb.base/list0.h: Add optional prototypes.
17332
17333Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17334
17335 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17336 calling malloc.
17337 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17338 * ptype.exp: Move test for get_debug_format to before its first
17339 use.
17340
173411999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17342
17343 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17344 * gdb.base/annota2.cc, annota2.exp: Move from here.
17345 * gdb.c++/annota2.cc, annota2.exp: To here.
17346 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17347
17348Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17349
17350 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17351 a consistent format.
17352
173531999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17354
17355 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17356 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17357 HP compilers, also set the globals $true and $false.
17358
17359 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17360 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17361 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17362 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17363 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17364 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17365 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17366 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17367 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17368 whatis.c} Add C++ compatible function definitions and return
17369 types, add includes for library functions.
17370 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17371 * gdb.base/step-test.c (myglob): Rename from glob.
17372 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17373 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17374 files, move here from gdb.hp.
17375 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17376 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17377 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17378 Adjust line numbers in regexps.
17379
17380 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17381 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17382 instead of 0/1.
17383
17384 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17385 foll-vfork.exp: New files, move here from gdb.hp.
17386 * gdb.base/page.exp: New file, test of pagination command.
17387
17388 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17389 recursion test.
17390 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17391
17392 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17393 gdb.base/solib.exp: Fix compiler invocation process.
17394
17395 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17396 HP-UX 11, turn off overload resolution explicitly.
17397 * gdb.base/commands.exp: Set argument list explicitly, add
17398 watchpoint test.
17399 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17400 them work.
17401 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17402 expressions properly.
17403 * gdb.base/corefile.exp: Loosen the match slightly.
17404 * gdb.base/default.exp: Allow "Error accessing memory" message
17405 also.
17406 * gdb.base/display.exp: Skip over x/0 j if PA64.
17407 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17408 * gdb.base/interrupt.exp: Ditto.
17409 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17410 in use.
17411 * gdb.base/list.exp: Add xfails for HP-UX.
17412 * gdb.base/long_long.exp: Refine some of the numeric matches.
17413 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17414 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17415 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17416 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17417 * gdb.base/ptype.exp: Succeed on more varieties of output.
17418 * gdb.base/scope.exp: Add xfails for HP-UX.
17419 * gdb.base/sect-cmd.exp: Add more cases.
17420 * gdb.base/setvar.exp: Add xfails for HP-UX.
17421 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17422 * gdb.base/signals.exp: Match on void symbolically.
17423 * gdb.base/step-test.exp: Add case for PA64.
17424 * gdb.base/term.exp: Add exit and restart.
17425 * gdb.base/twice.exp: Clean up after self.
17426 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17427 * gdb.base/whatis.exp: Allow more ways to pass tests.
17428
17429 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17430 no longer useful.
17431
17432Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17433
17434 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17435 list of patterns.
17436 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17437 print_double_array(double_array)", "continuing to breakpoint
17438 1018", "print print_double_array(array_d)" and "continuing to
17439 1034" tests.
17440
174411999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17442
17443 * Makefile.in: Add empty html and install-html targets.
17444
174451999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17446
17447 * config/mt-*: Remove, these haven't been used since 1996.
17448
174491999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17450
17451 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17452 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17453 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17454
174551999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17456
17457 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17458 simpler match case for the ptype of the big class.
17459
174601999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17461
17462 * gdb.exp: Fix test for gdb_prompt existence.
17463
174641999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17465
17466 * gdb.exp (gdb_test): Add fail after calls to perror.
17467
174681999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17469
17470 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17471
174721999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17473
17474 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17475
17476Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17477
17478 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17479 malloc() is linked in.
17480
174811999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17482
17483 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17484 step at end.
17485
17486 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17487
174881999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17489
17490 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17491
17492Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17493
17494 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17495 * gdb.base/mips_pro.exp: Likewise.
17496
174971999-06-02 Keith Seitz <keiths@cygnus.com>
17498
17499 * gdb.c++/templates.cc: Change all "new" operators to throw
17500 an exception.
17501 * gdb.c++/cplusfuncs.cc: Likewise.
17502
17503 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17504
17505Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17506
17507 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17508 * gdb.base/ending-run.exp: When stepping out of main, accept a
17509 step into an arbitrary assembler file.
17510
175111999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17512
17513 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17514 "breakpoint-invalid" to be printed.
17515 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17516 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17517 * gdb.base/annota2.cc: Initialize a.x to 0.
17518
175191999-05-17 Keith Seitz <keiths@cygnus.com>
17520
17521 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17522 when "skip_float_tests" set.
17523 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17524 "print print_ten_doubles", and "step into print_long_arg_list".
17525 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17526 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17527 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17528 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17529 "skip_float_tests" is set.
17530 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17531 when "skip_float_tests" set.
17532
175331999-05-06 Keith Seitz <keiths@cygnus.com>
17534
17535 * gdb.base/annota2.cc: Include stdio.h.
17536
17537Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17538
17539 * gdb.base/crossload.exp: Remove, this has been disabled ever
17540 since BFD stopped including all targets, and cross-GDB gets
17541 plenty of testing anyway.
17542 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17543 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17544 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17545 * gdb.base/README: Remove, was doc for this.
17546 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17547 needed.
17548
175491999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17550
17551 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17552 output.
17553
17554 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17555 * gdb.base/annota2.exp: New file. More annotation tests.
17556 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17557 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17558
175591999-04-23 Angela Marie Thomas <angela@cygnus.com>
17560
17561 * config/cfdbug.exp: New file.
17562
175631999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17564
17565 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17566 Marcus Daniel's and Dale Hawkins's demangler crashes.
17567
17568 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17569 test_lucid_style_demangling, test_arm_style_demangling,
17570 test_hp_style_demangling): Try Tom Tromey's core-dumping
17571 identifier under each demangling style.
17572
175731999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17574
17575 * gdb.c++/demangle.exp: Include the current demangling style
17576 in all test names.
17577 (current_demangling_style): New global variable.
17578 (set_demangling_style, test_demangling_core, test_demangling,
17579 test_demangling_exact): New functions.
17580 (test_gnu_style_demangling, test_lucid_style_demangling,
17581 test_arm_style_demangling, test_hp_style_demangling): Use those,
17582 instead of calling gdb_test and gdb_test_exact directly.
17583 (catch_demangling_errors): New function, which reports errors
17584 signalled by the demangling test functions in an orderly way.
17585 (do_tests): Use catch_demangling_errors.
17586
175871999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17588
17589 * gdb.base/signals.exp (test_handle_all_print): Use () for
17590 grouping in expressions, not {}.
17591
17592 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17593 initialized yet.
17594
175951999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17596
17597 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17598 are listed.
17599
176001999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17601
17602 * gdb.stabs/weird.exp: Test for CC being defined before
17603 looking at its value.
17604
176051999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17606
17607 * gdb.base/call-ar-st.exp: Remove stray '#'.
17608 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17609 "short int" and "long int".
17610 * gdb.c++/overload.cc: Cast the string added in the previous
17611 change, to mollify finicky HP compiler.
17612 * gdb.hp/reg-test.exp (testfile): Fix file name.
17613 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17614
17615 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17616 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17617 alternate form of enum ptype.
17618
176191999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17620
17621 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17622 * gdb.hp/*.exp: Change all to run compiler probe only after
17623 passing skip_hp_tests, so as not to waste time on guaranteed
17624 failure.
17625
17626 * gdb.c++/overload.cc: Pass string instead of char addr, always
17627 init ccpfoo.
17628 * gdb.c++/templates.cc: Fix syntax error.
17629
17630Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17631
17632 * gdb.base/commands.exp: Add test for correct position of '>'
17633 when issuing the 'commands' command after a 'while' or 'if'
17634 command.
17635
176361999-03-18 James Ingham <jingham@cygnus.com>
17637
17638 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17639
17640 * gdb.c++/method.exp: It was testing an uninitialized int on the
17641 stack and assuming it was positive.
17642
17643 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17644
17645 * gdb.base/step-test.exp: Catch a case where finish is broken and
17646 keep it from killing the rest of the tests.
17647 Use gdb_continue_to_end.
17648
17649 * gdb.base/sigall.exp: use gdb_continue_to_end.
17650
17651 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17652
17653 * gdb.base/display.exp: use runto_main, not run.
17654
17655 * gdb.base/default.exp: Check for the current error message in the
17656 r abbreviation test.
17657 Add strongarm to the targets that know info float.
17658
17659 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17660 run which doesn't work with monitors.
17661
17662 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17663
17664 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17665
17666 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17667 program. Traps the case (in Cygmon) when the program never really
17668 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17669 more places, so I used my name. Sorry Mark...
17670
17671 * config/monitor.exp (gdb_target_monitor): added another
17672 target_info parameter: remotebinarydownload. This will set the
17673 remotebinarydownload flag if this is causing some boards trouble.
17674
176751999-03-18 Mark Salter <msalter@cygnus.com>
17676
17677 * lib/gdb.exp (continue_to_exit): New function.
17678
17679 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17680 * gdb.base/ending-run.exp: Ditto.
17681 * gdb.base/step-test.exp: Ditto.
17682
176831999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17684
17685 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17686 (suggested by Art Haas <ahaas@neosoft.com>).
17687
176881999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17689
17690 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17691
17692Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17693
17694 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17695 descriptions of types (short unsigned int vs unsigned short, etc).
17696
176971999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17698
17699 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17700 a call to strlen; sometimes we do have sources.
17701
177021999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17703
17704 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17705 character, so GDB won't print garbage after its end.
17706
17707 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17708 breakpoint there instead. Sometimes GCC emits memcpy to handle
17709 the large structures being passed by value, so we step into that
17710 instead of sum_array_print, which obscures what we're really testing.
17711 * gdb.base/step-test.exp: However, we do want a test that notices
17712 the bizarre steps into memcpy, so do that here. Add check for
17713 stepping into function calls that pass large structures by value.
17714 ("Is that a noun clause, or are you just happy to see me?")
17715 Remove all references to specific line numbers.
17716 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17717 New type and function.
17718 (main): Call large_struct_by_value, passing it a large struct by value.
17719 * lib/gdb.exp (gdb_get_line_number): New function.
17720
17721 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17722 more portable.
17723
177241999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17725
17726 * lib/gdb.exp: Doc fixes.
17727
177281999-03-05 Nick Clifton <nickc@cygnus.com>
17729
17730 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17731
177321999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17733
17734 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17735 commands. They're not germane to this test, and they don't work
17736 that way on remote targets.
17737
177381999-03-01 James Ingham <jingham@cygnus.com>
17739
17740 * Changelog entries merged over from gdb development branch.
17741
17742 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17743
17744 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17745 for outputting results of test run.
17746
17747 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17748
17749 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17750
177511999-02-25 Felix Lee <flee@cygnus.com>
17752
17753 * lib/gdb.exp (debug_format): initialize
17754
177551999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17756
17757 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17758 * gdb.base/call-rt-st.c: Ditto.
17759
177601999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17761
17762 * gdb.threads/pthreads.exp (horiz): New variable.
17763 (test_startup): Fix regexps that capture thread numbers.
17764
177651999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17766
17767 * gdb.base/smoke.exp: Disambiguate two test case names (both
17768 called ``print'').
17769
17770Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17771
17772 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17773 compilation.
17774
177751999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17776
17777 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17778 actual output formatting.
17779 * gdb.base/smoke.exp: GDB removes leading 0's.
17780 * gdb.base/volatile.exp: Don't check type of remuneration;
17781 that variable is no longer defined in constvars.c.
17782 * gdb.base/step-test.c (main): Exit with explicit exit code.
17783 * gdb.base/step-test.exp: Remove two nexti checks--they are
17784 not portable.
17785
177861999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17787
17788 * gdb.base/help.exp ("help delete display"): Fix test to match
17789 gdb's output.
17790
17791 * gdb.base/long_long.c (known_types): Initialize values to zero.
17792 * gdb.base/long_long.exp: Step one more line
17793 so 'dec' is initialized in "get to known place". GDB removes
17794 leading zeros. Explicitly ask for hex formatting. Use
17795 unique test case names.
17796
17797Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17798
17799 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17800
17801 * gdb.c++/method.exp: Add missing close brace.
17802
178031999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17804
17805 * gdb.base/maint.exp: Use 'set height 0' to disable page
17806 prompting, not 'set height 400'.
17807
17808 Fix a bunch of timeouts.
17809 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17810 four separate tests, so expect doesn't take forever to match a ton
17811 of text against a regexp with lots of .* forms.
17812 ("maint print psymbols", "maint print symbols"): Make some of
17813 these greps more selective, so that expect doesn't try to wade
17814 through huge piles of output and time out.
17815
17816 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17817
17818 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17819 tests: one which doesn't expect shlib events to be reported, and
17820 another which does, but is XFAIL for all platforms other than
17821 HP/UX.
17822
17823 * gdb.base/break.exp: Teach the test suite that the `catch
17824 fork', `catch vfork', and `catch exec' commands produce error
17825 messages on platforms that don't provide these features.
17826
17827Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17828
17829 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17830 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17831 (shortening names from solib_threshold.exp etc), won't run on
17832 anything but HP-UX for the foreseeable future.
17833 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17834 reflect move.
17835
17836Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17837
17838 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17839 gdb.trace/Makefile.in (clean): Remove all test executables.
17840
17841Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17842
17843 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17844 successfully re-sets breakpoints in shared libraries.
17845 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17846
17847Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17848
17849 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17850 and compiled w/o GCC.
17851
17852 * gdb.hp/watch-cmd.exp: ditto.
17853
17854 * gdb.hp/watch-hp.exp: ditto.
17855
17856 * gdb.hp/xdb1.exp: ditto.
17857
17858 * gdb.hp/xdb2.exp: ditto.
17859
17860 * gdb.hp/dbx.exp: ditto.
17861
17862Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17863
17864 * constvars.c: Remove C++-isms.
17865 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17866 with GCC.
17867
17868Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17869
17870 The following changes are part of the HP merge.
17871
17872 * gdb.base/break.exp: new tests to verify that catchpoints for
17873 fork, vfork, and exec don't trigger inappropriately.
17874
17875 * gdb.base/opaque.exp: compile one file at a time, then link.
17876
17877 * gdb.base/signals.exp: be more restrictive about which hppa
17878 systems receive a setup_xfail. new tests.
17879
17880 * gdb.base/solib_threshold.build: new file.
17881 * gdb.base/solib_threshold.exp: new file.
17882 * gdb.base/solib_threshold.link_opts: new file.
17883 * gdb.base/solib_threshold.mk: new file.
17884 * gdb.base/gen_solib_threshold.c: new file.
17885
17886 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17887 tests. New tests for enums inside classes.
17888
17889 * gdb.c++/compiler.cc: indicate support of template debugging.
17890
17891 * gdb.c++/demangle.exp: run hp style demangling tests.
17892
17893 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17894 tests.
17895
17896 * gdb.c++/misc.cc: changes to support new tests.
17897
17898 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17899 to support new tests.
17900
17901 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17902 gcc, then skip these tests.
17903
17904Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17905
17906 The following files are part of the HP merge; some had longer
17907 names at HP, but have been renamed to be no more than 14
17908 characters in length.
17909
17910 * gdb.hp/ambiguous.cc: new file.
17911 * gdb.hp/ambiguous.exp: new file.
17912 * gdb.hp/attach.exp: new file.
17913 * gdb.hp/attach2.exp: new file.
17914 * gdb.hp/classes-hp.exp: new file.
17915 * gdb.hp/ctti.exp: new file.
17916 * gdb.hp/ctti-add.cc: new file.
17917 * gdb.hp/ctti-add1.cc: new file.
17918 * gdb.hp/ctti-add2.cc: new file.
17919 * gdb.hp/ctti-add3.cc: new file.
17920 * gdb.hp/dbx.exp: new file.
17921 * gdb.hp/exception.cc: new file.
17922 * gdb.hp/exception.exp: new file.
17923 * gdb.hp/foll-exec.c: new file.
17924 * gdb.hp/foll-exec.exp: new file.
17925 * gdb.hp/foll-fork.c: new file.
17926 * gdb.hp/foll-fork.exp: new file.
17927 * gdb.hp/foll-vfork.c: new file.
17928 * gdb.hp/foll-vfork.exp: new file.
17929 * gdb.hp/inherit-hp.exp: new file.
17930 * gdb.hp/more-steps.exp: new file.
17931 * gdb.hp/namespace.cc: new file.
17932 * gdb.hp/namespace.exp: new file.
17933 * gdb.hp/optimize.exp: new file.
17934 * gdb.hp/pxdb.c: new file.
17935 * gdb.hp/pxdb.exp: new file.
17936 * gdb.hp/quicksort.exp: new file.
17937 * gdb.hp/reg-test.exp: new file.
17938 * gdb.hp/reg-test.s: new file.
17939 * gdb.hp/sized-enum.c: new file.
17940 * gdb.hp/sized-enum.exp: new file.
17941 * gdb.hp/start-stop.exp: new file.
17942 * gdb.hp/templ-hp.cc: new file.
17943 * gdb.hp/templ-hp.exp: new file.
17944 * gdb.hp/thr-lib.c: new file.
17945 * gdb.hp/thr-lib.exp: new file.
17946 * gdb.hp/thr-lib.h: new file.
17947 * gdb.hp/thr-liblib.c: new file.
17948 * gdb.hp/virtfun-hp.c: new file.
17949 * gdb.hp/virtfun-hp.exp: new file.
17950 * gdb.hp/watch-cmd.exp: new file.
17951 * gdb.hp/watch-hp.exp: new file.
17952 * gdb.hp/xdb1.exp: new file.
17953 * gdb.hp/xdb2.exp: new file.
17954 * gdb.hp/xdb3.exp: new file.
17955
17956Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17957
17958 The following files are part of the HP merge; some had longer
17959 names at HP, but have been renamed to be no more than 14
17960 characters in length.
17961
17962 * gdb.base/ss.h: new file.
17963 * gdb.base/call-ar-st.c: new file.
17964 * gdb.base/call-ar-st.exp: new file.
17965 * gdb.base/call-rt-st.c: new file.
17966 * gdb.base/call-rt-st-exp: new file.
17967 * gdb.base/call-strs.exp: new file.
17968 * gdb.base/ena-dis-br.exp: new file.
17969 * gdb.base/environ.exp: new file.
17970 * gdb.base/long_long.exp: new file.
17971 * gdb.base/sect-cmd.exp: new file.
17972 * gdb.base/shlib-cl2.exp: new file.
17973 * gdb.base/smoke.exp: new file.
17974 * gdb.base/so-impl-ld.c: new file.
17975 * gdb.base/so-impl-ld.exp: new file.
17976 * gdb.base/so-indr-cl.c: new file.
17977 * gdb.base/so-indr-cl.exp: new file.
17978 * gdb.base/varargs.exp: new file.
17979 * gdb.base/volatile.exp: new file.
17980 * gdb.base/whatis-exp.exp: new file.
17981 * gdb.base/display.exp: new file.
17982 * gdb.c++/derivation.exp: new file.
17983 * gdb.c++/local.exp: new file.
17984 * gdb.c++/member-ptr.exp: new file.
17985 * gdb.c++/overload.exp: new file.
17986 * gdb.c++/ovldbreak.exp: new file.
17987 * gdb.c++/ref-types.exp: new file.
17988 * gdb.c++/ref-types2.exp: new file.
17989 * gdb.c++/userdef.exp: new file.
17990
17991Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17992
17993 * gdb.base/default.exp: Reflect wording change in remote.c.
17994
17995Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17996
17997 * gdb.base/help.exp: Update to reflect current text.
17998
17999Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18000
18001 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18002 they're stack variables and contain garbage.
18003 * gdb.c++/anon-union.exp: new file.
18004
18005 The following changes were made by David Taylor
18006 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18007 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18008 in changes by HP.
18009
18010 * gdb.base/bitops.exp: new file.
18011 * gdb.base/default.exp: change expected messages for catch and
18012 info catch tests to reflect HP merge changes.
18013 * gdb.base/enable-disable-break.exp
18014 * gdb.base/ending-run.c: new file.
18015 * gdb.base/long_long.c: new file.
18016 * gdb.base/maint.exp: new file.
18017 * gdb.base/pointers2.exp: new file.
18018 * gdb.base/shlib-call2.exp: new file.
18019 * gdb.base/solib.exp: new file.
18020 * gdb.base/step-test.c: new file.
18021 * gdb.c++/anon-union.cc: new file.
18022 * gdb.c++/local.cc: new file.
18023 * gdb.c++/member-pointer.cc: new file.
18024 * gdb.c++/method.cc: new file.
18025 * gdb.c++/ref-types.cc: new file.
18026 * gdb.c++/ref-types2.cc: new file.
18027 * gdb.c++/userdef.cc: new file.
18028
18029 * gdb.base/scope.exp: compile one file at a time, then link.
18030 * gdb.base/langs.exp: ditto.
18031 * gdb.base/list.exp: ditto.
18032
18033Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18034
18035 The following changes were made by David Taylor
18036 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18037 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18038 in changes by HP.
18039
18040 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18041 skip tests. When compiling pass c++ flag to gdb_compile.
18042 * gdb.c++/
18043
18044 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18045 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18046 (skip_hp_tests): new function.
18047 (gdb_preprocess): new function.
18048
18049 * configure.in (hpdir): decide whether to configure gdb.hp.
18050 * configure: regenerated.
18051
18052 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18053 to delete on clean.
18054 (EXECUTABLES): update to reflect new additions.
18055 * gdb.base/commands.exp: update message expected.
18056 * gdb.base/default.exp: add copyright notice.
18057 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18058 * gdb.base/help.exp: update messages to reflect current text.
18059 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18060 targets for recurse tests.
18061 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18062 skip this file.
18063
18064 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18065 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18066 compilation.
18067 * gdb.c++/misc.exp: ditto.
18068 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18069 run the tests. tell gdb_compile that it's a c++ compilation.
18070
18071 * gdb.threads/pthreads.exp: fix typo in message.
18072
18073 * gdb.base/all-bin.exp: new file.
18074 * gdb.base/arithmet.exp: new file.
18075 * gdb.base/assign.exp: new file.
18076 * gdb.base/completion.exp: new file.
18077 * gdb.base/cond-expr.exp: new file.
18078 * gdb.base/condbreak.exp: new file.
18079 * gdb.base/define.exp: new file.
18080 * gdb.base/dollar.exp: new file.
18081 * gdb.base/environment.exp: new file.
18082 * gdb.base/eval-skip.exp: new file.
18083 * gdb.base/jump.exp: new file.
18084 * gdb.base/logical.exp: new file.
18085 * gdb.base/pointers.exp: new file.
18086 * gdb.base/relational.exp: new file.
18087 * gdb.base/section_command.exp: new file.
18088 * gdb.base/whatis-expr.exp: new file.
18089
18090 * gdb.base/all-types.c: new file.
18091 * gdb.base/call-array-struct.c: new file.
18092 * gdb.base/call-return-struct.c: new file.
18093 * gdb.base/call-strings.c: new file.
18094 * gdb.base/callfuncs2.c: new file.
18095 * gdb.base/condbreak.c: new file.
18096 * gdb.base/constvars.c: new file.
18097 * gdb.base/display.c: new file.
18098 * gdb.base/int-type.c: new file.
18099 * gdb.base/jump.c: new file.
18100 * gdb.base/miscexprs.c: new file.
18101 * gdb.base/pointers.c: new file.
18102 * gdb.base/pointers2.c: new file.
18103 * gdb.base/shmain.c: new file.
18104 * gdb.base/shr1.c: new file.
18105 * gdb.base/shr2.c: new file.
18106 * gdb.base/solib.c: new file.
18107 * gdb.base/solib1.c: new file.
18108 * gdb.base/solib2.c: new file.
18109 * gdb.base/varargs.c: new file.
18110 * gdb.c++/derivation.cc: new file.
18111 * gdb.c++/overload.cc: new file.
18112 * gdb.c++/ovldbreak.cc: new file.
18113 * gdb.hp/attach.c: new file.
18114 * gdb.hp/attach2.c: new file.
18115 * gdb.hp/average.c: new file.
18116 * gdb.hp/compiler.c: new file.
18117 * gdb.hp/compiler.cc: new file.
18118 * gdb.hp/execd-program.c: new file.
18119 * gdb.hp/follow-exec.c: new file.
18120 * gdb.hp/follow-fork.c: new file.
18121 * gdb.hp/follow-vfork-and-exec.c: new file.
18122 * gdb.hp/misc-hp.cc: new file.
18123 * gdb.hp/more-steps.c: new file.
18124 * gdb.hp/optimize.c: new file.
18125 * gdb.hp/quicksort.c: new file.
18126 * gdb.hp/run-hp.c: new file.
18127 * gdb.hp/start-stop.c: new file.
18128 * gdb.hp/sum.c: new file.
18129 * gdb.hp/templates-hp.cc: new file.
18130 * gdb.hp/thread-local-in-lib.c: new file.
18131 * gdb.hp/thread-local-in-lib.h: new file.
18132 * gdb.hp/thread-local-in-lib.lib.c: new file.
18133 * gdb.hp/vforked-program.c: new file.
18134 * gdb.hp/virtfunc-hp.cc: new file.
18135 * gdb.hp/watchpoint-hp.c: new file.
18136 * gdb.hp/xdb.c: new file.
18137 * gdb.hp/xdb0.c: new file.
18138 * gdb.hp/xdb0.h: new file.
18139 * gdb.hp/xdb1.c: new file.
18140
18141Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18142
18143 The following change was made by Edith Epstein
18144 <eepstein@cygnus.com> as part of a project to merge in changes
18145 originally made by HP; HP did not create ChangeLog entries.
18146
18147 * gdb.c++/demangle.exp: changed the expected output for some
18148 ARM-style mangling -- removed second reference to datatype.
18149 For example, maint demangle __dt__11T1__pt__2_cFv
18150 T1<char>::~T1<char>(void)
18151 becomes,
18152 maint demangle __dt__11T1__pt__2_cFv
18153 T1<char>::~T1(void)
18154
18155 (test_hp_style_demangling): new hp specific demangling test cases.
18156
18157Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18158
18159 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18160 * gdb.trace/backtrace.exp: Likewise.
18161 * gdb.trace/circ.exp: Likewise.
18162 * gdb.trace/collection.exp: Likewise.
18163 * gdb.trace/deltrace.exp: Likewise.
18164 * gdb.trace/infotrace.exp: Likewise.
18165 * gdb.trace/limits.exp: Likewise.
18166 * gdb.trace/packetlen.exp: Likewise.
18167 * gdb.trace/passc-dyn.exp: Likewise.
18168 * gdb.trace/passcount.exp: Likewise.
18169 * gdb.trace/report.exp: Likewise.
18170 * gdb.trace/save-trace.exp: Likewise.
18171 * gdb.trace/tfind.exp: Likewise.
18172 * gdb.trace/tracecmd.exp: Likewise.
18173 * gdb.trace/while-dyn.exp: Likewise.
18174 * gdb.trace/while-stepping.exp: Likewise.
18175
181761998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18177
18178 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18179
18180Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18181
18182 From Brendan Kehoe:
18183 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18184 int return types.
18185
18186Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18187
18188 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18189 remote dos host testing right.
18190
18191Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18192
18193 * gdb.base/corefile.exp: remove some xfails.
18194
18195Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18196
18197 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18198 have different timestamps.
18199
18200Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18201
18202 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18203 gdb.base/default.exp: Replace "exec" with "executable".
18204
18205Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18206
18207 * gdb.base/default.exp: Change else if to elseif from previous
18208 delta.
18209
18210Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18211
18212 * gdb.base/default.exp: Add brace missing from previous delta.
18213
18214Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18215
18216 * gdb.base/default.exp: Support test for info float for all
18217 varieties of arm toolchain.
18218
18219Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18220
18221 * gdb.trace/*.exp: remove "remote_download" command.
18222
18223Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18224
18225 * gdb.trace/*.exp: remove -gdwarf from compile.
18226
18227Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18228
18229 * gdb.trace/configure.in(AC_INIT): typo
18230 * gdb.trace/configure: regenerated
18231
18232Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18233
18234 * config/m68k-emc.exp: New file.
18235 * lib/<emc-support.exp trace-support.exp}: New files.
18236 * configure.in: add new test directory gdb.trace.
18237 * gdb.trace/{configure configure.in Makefile.in}: New files.
18238 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18239 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18240 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18241 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18242 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18243 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18244 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18245
18246Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18247
18248 * gdb.c++/classes.exp: Change all regular expressions to match
18249 arbitrary combinations of newline/carriage-return, so that they
18250 will work equally well on Unix and Windows.
18251 * gdb.c++/inherit.exp: ditto.
18252 * gdb.c++/virtfunc.exp: ditto.
18253
182541998-08-11 Dawn Perchik <dawn@cygnus.com>
18255
18256 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18257
18258Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18259
18260 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18261 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18262 to use a0-a3/d0-d3 as needed.
18263
18264Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18265
18266 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18267 * gdb.disasm/am33.exp: Corresponding changes.
18268
182691998-07-11 Felix Lee <flee@cygnus.com>
18270
18271 * gdb.base/callfuncs.exp: add cmp10 test.
18272 * gdb.base/callfuncs.c (cmp10): new function.
18273
18274Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18275
18276 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18277 into two parts to get around a synchronization problem in expect.
18278
18279Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18280
18281 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18282
18283 * configure.in: Add options for gdbtk testsuite.
18284
18285 * configure: Regenerate.
18286
18287 * gdb.gdbtk: New directory to hold gdbtk tests.
18288
18289Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18290
18291 * gdb.fortran/types.exp: Escape brackets in expect patterns
18292 for test_float_literal_types_accepted tests.
18293 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18294 before run test.
18295
18296Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18297
18298 * am33.exp: Just compile, do not link the testcase.
18299 * am33.s: Add ".am33" pseudoop to force am33 mode.
18300
183011998-06-25 Felix Lee <flee@cygnus.com>
18302
18303 * gdb.base/setshow.exp: make sure $pc is sane.
18304
18305 * gdb.stabs/weird.exp: split expect patterns properly.
18306
18307Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18308
18309 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18310 * gdb.disasm/am33.exp: Run it.
18311
18312Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18313
18314 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18315 match processing (and eliminate spurious timeouts when running).
18316
18317Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18318
18319 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18320 exception test, but conditionalize it on target [mach | gnu].
18321
18322Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18323
18324 * gdb.base/overlays.exp: fixup compile line for linker script.
18325
18326Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18327
18328 * gdb.fortran/types.exp: don't guess at float size.
18329
18330Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18331
18332 * gdb.base/exprs.exp: delete test that depends on int size.
18333
18334Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18335
18336 * config/sim.exp: Removed checks for target triplets.
18337 (gdb_target_sim): Use gdb,target_sim_options.
18338
18339Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18340
18341 * gdb.base/reread.exp: New file.
18342 * gdb.base/reread1.c: New file.
18343 * gdb.base/reread2.c: New file.
18344
18345Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18346
18347 * config/sim.exp: Use 'target sim -sparclite' when running
18348 SPARClite programs.
18349
18350Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18351
18352 * gdb.base/structs2.exp: New file.
18353 * gdb.base/structs2.c: New file.
18354
18355Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18356
18357 * gdb.asm/common.inc: New file.
18358 * gdb.asm/d10v.inc: New file.
18359 * asm-source.exp: Pass -I's to gas to find .inc files.
18360 Update line numbers in expected output.
18361 * asmsrc1.s: Rewrite.
18362 * asmsrc2.s: Rewrite.
18363 * configure.in: Create arch.inc symlink.
18364 * configure: Regenerate.
18365 * Makefile.in (distclean): Delete arch.inc.
18366
18367Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18368
18369 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18370 (t_enum_value2): ditto
18371 (t_enum_value3): ditto
18372 (main): ditto
18373Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18374
18375 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18376 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18377 change.
18378 Use gdb_test instead of send_gdb/gdb_expect sequences.
18379
18380Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18381
18382 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18383 not void.
18384
18385Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18386
18387 * gdb.base/branches.c: Code with lots of loops and
18388 subroutines. Used to test gdbs ability to single step through PC
18389 changes, especially to test mips-tdep.c:mips_next_pc
18390
18391Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18392
18393 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18394 more rigorous EGCS C++ error checking.
18395
18396Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18397
18398 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18399 tests.
18400 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18401 function when asleep.
18402 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18403 for i*86 Linux and SVR4 signal handling problems.
18404 Remove linux xfail for `next to handler in signals_tests_1', fixed
18405 by recent infrun.c change.
18406 Limit backtrace to 10 frames to avoid timeout problems with infinite
18407 stack backtraces.
18408 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18409 target.[ch] change.
18410
18411Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18412
18413 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18414 for a newline from gdb before continuing.
18415 (default_gdb_exit): Just look for y or n.
18416 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18417 it does, fail the rests of the tests in the file.
18418
18419Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18420
18421 * config/cygmon.exp: New file.
18422
18423Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18424
18425 * gdb.base/list.exp: Fix problem with "list default lines around
18426 main" test on remote targets.
18427
18428 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18429 run test on remote targets.
18430
18431Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18432
18433 * gdb.asm: New directory.
18434 * configure.in: Configure it.
18435 * configure: Regenerate.
18436 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18437 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18438
18439Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18440
18441 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18442
18443Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18444
18445 * gdb.base/overlays (several files): Merge the two overlay
18446 managers into one. Change variables (foox, barx, bazx, grbxx)
18447 back into ints but force them to load in their proper sections.
18448
18449Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18450
18451 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18452 on-chip insn memory and IMAP1 to upper 128k.
18453 (D10VCopy): Handle memory regions crossing 16k boundaries.
18454 (D10VCopy): Transfer data in 32 bit chunks.
18455
18456Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18457
18458 * gdb.base/overlays.c (main): Exit normally when result is
18459 correct.
18460
18461 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18462 map. Include space for printf in .text segment.
18463
18464 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18465 updated d10v memory VMA/LMA map.
18466 (D10VCopy): Call D10VTranslate.
18467
18468Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18469
18470 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18471
18472 * gdb.base/bar.c (barx, bar): Change variable to small array so
18473 that it won't be put into the .sdata - small data -
18474 section. Update reference.
18475 * gdb.base/baz.c (bazx, baz): Ditto.
18476 * gdb.base/foo.c (foox, foo): Ditto.
18477 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18478
18479 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18480 to be arrays.
18481
18482Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18483
18484 * gdb.base/overlays.exp: fix up and get working again.
18485 Add tests for backtraces from an overlay function.
18486
18487Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18488
18489 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18490 "calling function with watchpoint enabled".
18491
18492Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18493
18494 * gdb.base/break.exp (test_next_with_recursion): Remove
18495 gdb_suppress_tests for d10v-*-*.
18496 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18497 pending review of whether it is useful or not.
18498
18499Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18500
18501 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18502
18503Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18504
18505 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18506 * config/dve.exp: New file to support Densan boards.
18507
18508Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18509
18510 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18511 reads and BSD.
18512
18513Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18514
18515 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18516 response.
18517
18518 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18519
18520Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18521
18522 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18523 test.
18524
18525 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18526 target_sizeof_long and target_bigendian_p.
18527 (structs_by_value, structs_by_reference): Check values according
18528 to targets word size and endianess.
18529
18530Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18531
18532 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18533 output.
18534
18535Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18536
18537 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18538 Update test of set args help to match source change.
18539
18540Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18541
18542 * gdb.base/default.exp: Expect help system output to be in
18543 alphabetical order.
18544 * gdb.base/help.exp: Ditto.
18545
18546Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18547
18548 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18549 "i*86-pc-linux-gnu*".
18550 * gdb.base/interrupt.exp: Ditto.
18551 * gdb.base/corefile.exp: Ditto.
18552
18553 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18554 define vxworks when building the testcase.
18555
18556 * gdb.base/ptype.exp: Fix testnames to be unique.
18557 * gdb.base/radix.exp: Ditto.
18558 * gdb.base/term.exp: Ditto.
18559 * gdb.base/whatis.exp: Ditto.
18560 * gdb.c++/classes.exp: Ditto.
18561
18562Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18563
18564 * gdb.base/callfuncs.exp: Fix indentation.
18565
18566 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18567 suppress_flag has been set.
18568 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18569 target feature.
18570
18571Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18572
18573 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18574 the testcase.
18575
18576 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18577 set_debug_traps() and breakpoint().
18578 * gdb.c++/misc.cc (main): Ditto.
18579 * gdb.c++/templates.cc (main): Ditto.
18580 * gdb.c++/virtfunc.cc (main): Ditto.
18581
18582Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18583
18584 * lib/gdb.exp(gdb_step_for_stub): New function.
18585 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18586 exists, reload the executable and do a "continue" instead of
18587 doing a jump.
18588 (runto_main): Use gdb_step_for_stub.
18589
18590 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18591 tests to have unique names.
18592 * gdb.base/callfuncs.exp: Ditto.
18593 * gdb.base/commands.exp: Ditto.
18594 * gdb.base/default.exp: Ditto.
18595 * gdb.base/help.exp: Ditto.
18596 * gdb.base/list.exp: Ditto.
18597 * gdb.base/opaque.exp: Ditto.
18598 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18599 similar tests.
18600
18601 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18602 * gdb.c++/cplusfuncs.cc: Ditto.
18603 * gdb.c++/virtfunc.cc: Ditto.
18604
18605 * config/monitor.exp: Keep track of the last file we saw, rather
18606 than trying to get the info from gdb.
18607
18608 * gdb.fortran/types.exp: Move comment to previous line.
18609
18610Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18611
18612 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18613 target mode.
18614
18615Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18616
18617 From Bob Manson:
18618 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18619 string from GDB when it connects.
18620
18621 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18622
18623Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18624
18625 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18626 if we can't get a debug format from GDB (we may be testing an
18627 older GDB). Use a 10 second timeout when checking for the format.
18628
18629 * gdb.stabs/weird.exp: Fix quoting.
18630
18631 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18632
18633Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18634
18635 * config/arm-ice.exp: New file.
18636
18637Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18638
18639 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18640 until it has been modified to work with the new testsuite.
18641
18642 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18643 testcase won't compile, cause all of the testcases in the file to
18644 fail instead.
18645
18646 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18647 (gdb_clear_suppressed): New procedure.
18648 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18649 it contains a positive value.
18650
18651Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18652
18653 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18654
18655 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18656
18657Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18658
18659 * lib/gdb.exp (setup_xfail_format): New function.
18660 (get_debug_format): New function to get debug format.
18661 (debug_format): New global variable to hold last value set
18662 by get_debug_format.
18663 * gdb.base/list.exp: Call get_debug_format and expect some
18664 tests to fail for DWARF 1 and COFF formats.
18665 * gdb.c++/ptype.exp: Ditto.
18666 * gdb.c++/classes.exp: Ditto.
18667 * gdb.c++/cplusfuncs.exp: Ditto.
18668 * gdb.c++/inherit.exp: Ditto.
18669 * gdb.c++/templates.exp: Ditto.
18670 * gdb.c++/virtfunc.exp: Ditto.
18671
18672Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18673
18674 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18675 host doesn't have a currently-open connection.
18676
18677 * config/sparclet.exp: Cleanups and fixes to make it generic for
18678 any gdb stub target. Handle cases where gdb doesn't respond when
18679 interrupted in a sane fashion.
18680
18681 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18682 same thing in a totally different way.
18683
18684 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18685 setting "timeout".
18686 (gdb_start): We set the global gdb_prompt variable in
18687 default_gdb_init now.
18688
18689Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18690
18691 * gdb.base/printcmds.exp: Fix "check for floating addition"
18692 regexp to accept results within approx +/- .01 of exact value.
18693 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18694
18695Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18696
18697 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18698 properly.
18699 (gdb_expect): Add optional timeout parameter, and add timeout
18700 value to various calls.
18701 (gdb_suppress_tests): Only give one warning message per group.
18702
18703Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18704
18705 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18706 global variables. Handle getting a value for $timeout more
18707 gracefully.
18708
18709Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18710
18711 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18712 initialize.
18713 (default_gdb_init): New procedure; allow gdb_init to be overridden
18714 by a target configuration file.
18715 (gdb_expect): Pass the timeout to remote_expect.
18716
18717 * config/monitor.exp(gdb_load): Fix typo in regexp.
18718
18719Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18720
18721 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18722
18723Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18724
18725 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18726 here. Call gdb_target_exec before rebooting the target, to make
18727 sure the connection to the target is closed.
18728 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18729 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18730 Also detect "Timeout reading from remote" error.
18731
18732 * config/gdbserver.exp: Pass the executable being loaded to
18733 gdb_target_monitor. Don't call gdb_file_cmd here; let
18734 gdb_target_monitor do it.
18735
18736 * gdb.disasm/hppa.exp: Don't use exec_output.
18737
18738Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18739
18740 * gdb.base/list.exp: If we're debugging a non-native target,
18741 try to set the pc register to point to the start of the
18742 program before doing the first list command.
18743
18744 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18745 test_calls after restarting.
18746
18747 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18748 reloading.
18749
18750 * gdb.base/watchpoint.exp: Fix typo.
18751
18752 * gdb.base/setshow.exp: Check for use_gdb_stub.
18753
18754 * gdb.base/break.exp: Fix continue until exit test for the gdb
18755 stub case.
18756 * gdb.base/langs.exp: Ditto.
18757
18758 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18759 gdb_load_offset. If we weren't given a file to load, figure out
18760 what the current file is and use it.
18761
18762 * config/i386-bozo.exp: New file.
18763
18764Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18765
18766 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18767 feature.
18768
18769 * config/proelf.exp: New entry.
18770
18771Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18772
18773 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18774 of regexps.
18775
18776 * gdb.base/watchpoint.exp: Don't run the test_stepping
18777 tests if gdb can't call functions on the target.
18778
18779 * gdb.base/setshow.exp: Don't run the set prompt tests if
18780 the board has gdb_prompt set.
18781
18782Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18783
18784 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18785 * gdb.base/commands.exp: Likewise.
18786 * gdb.base/setshow.exp: Likewise.
18787
18788Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18789
18790 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18791 feature.
18792
18793 * config/i960.exp: New file.
18794
18795Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18796
18797 * gdb.base/funcargs.exp: Check for gdb,short_int target
18798 feature instead of looking for explicit target triplets.
18799
18800Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18801
18802 * gdb.base/printcmds.exp: add a couple more tests a la
18803 "p 123DEADBEEF", to check parse_number.
18804 * top.c: change "to enable to enable" to "to enable" in a couple
18805 of help strings.
18806
18807Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18808
18809 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18810 on the mn10300.
18811
18812Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18813
18814 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18815 where the test executable is run with explicit args.
18816 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18817
18818Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18819
18820 * gdb.base/run.c: Use FAKEARGV to build test executable that
18821 does not require a command line arg, since most simulators
18822 don't currently support passing such an arg into the simulated
18823 program.
18824 * gdb.base/commands.exp: Change tests to insert the proper
18825 value as the arg to the first recursive factorial call. Change
18826 compilation line to define FAKEARGV at compile time.
18827
18828Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18829
18830 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18831 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18832 function with watchpoint enabled" test.
18833
18834Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18835
18836 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18837 Don't call gdb_test when the command doesn't return to a gdb prompt.
18838
18839 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18840 "Tests restarted" messages.
18841
18842Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18843
18844 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18845
18846Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18847
18848 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18849 for INFO SYMBOL; add help tests for OVERLAY commands.
18850 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18851 add tests for OVERLAY commands
18852 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18853 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18854 * gdb.base/sigall.c: add usestubs code frag
18855 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18856
18857Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18858
18859 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18860 failures.
18861 (gdb_stop_suppressing_tests): Note that tests have restarted.
18862
18863Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18864
18865 * config/h8300.exp: New file.
18866
18867Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18868
18869 * gdb.base/setshow.exp: Check for the existence of a
18870 feature, not its value.
18871
18872Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18873
18874 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18875
18876 * gdb.base/scope.exp: It's now init0(), not init().
18877
18878 * gdb.base/scope0.c: For now, change init() to be init0().
18879
18880 * config/monitor.exp: Use gdb_serial in preference to serial
18881 or netport.
18882
18883 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18884 and it's not already set.
18885
18886Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18887
18888 * gdb.base/setshow.exp: Only test the run command if the target
18889 isn't using a stub and if it supports argument passing.
18890
18891Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18892
18893 * config/udi.exp(gdb_start): Make sure UDICONF is set
18894 properly before starting gdb.
18895
18896Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18897
18898 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18899 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18900 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18901
18902Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18903
18904 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18905 specialized code to reboot the board, use remote_reboot instead.
18906
18907 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18908
18909 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18910
18911 * config/monitor.exp: Make sure we disconnect from the target.
18912 Also, try a reboot/reload cycle instead of failing if the
18913 load fails.
18914
18915Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18916
18917 * gdb.base/default.exp: Don't set match_max.
18918 * gdb.base/help.exp: Ditto.
18919 * gdb.base/list.exp: Ditto.
18920 * gdb.base/signals.exp: Ditto.
18921
18922 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18923 set, use remote_ld to download the testcase instead of
18924 the GDB loader.
18925
18926Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18927
18928 * config/vr5000.exp: New file.
18929
18930 * config/monitor.exp(gdb_target_monitor): Add pattern for
18931 "Ending remote" to detect errors in connecting.
18932
18933 * gdb.base/setshow.exp: Add .* within auto language test.
18934
18935 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18936 target feature.
18937
18938 * config/monitor.exp(gdb_load): Check for a failure when loading,
18939 and reboot the board if necessary.
18940
18941 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18942 a set of tests. Remove print.* from the patterns being checked.
18943
18944Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18945
18946 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18947 refer to gdb_spawn_id.
18948
18949 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18950 longer used.
18951 * config/sparclet.exp: Ditto.
18952 * config/sparclet-old.exp: Ditto.
18953 * config/slite.exp: Ditto.
18954 * config/sim.exp: Ditto.
18955 * gdb.base/funcargs.exp: Ditto.
18956
18957 * lib/gdb.exp:Remove references to gdb_spawn_id.
18958 (gdb_expect): Move to remote.exp.
18959
18960Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18961
18962 * config/monitor.exp: Detect the "Couldn't establish connection"
18963 message from GDB.
18964
18965Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18966
18967 * gdb.base/bitfields.exp: Use runto instead of explicit
18968 gdb_run_cmd/gdb_expect sequences.
18969
18970 * gdb.base/break.exp(text_next_with_recursion): Add match for
18971 gdb_expect call.
18972
18973 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18974 We also need to handle the "A program is being debugged already"
18975 prompt from gdb. Use gdb_test to set the baud rate.
18976
18977 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18978 to 20000. Really. I mean it.
18979
18980Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18981
18982 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18983 fails. If suppress_flag is set, skip perror message about not
18984 being able to send to GDB.
18985 (send_gdb): If suppress_flag is set, don't try to send commands to
18986 GDB.
18987 (gdb_expect): If suppress_flag is set, always fail immediately.
18988 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18989 (gdb_init): Call gdb_stop_suppressing_tests.
18990 (default_gdb_exit): Ditto.
18991 (default_gdb_start): Ditto.
18992
18993 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18994 gdb_stop_suppressing_tests as appropriate.
18995 * gdb.base/break.exp: Ditto.
18996 * gdb.base/callfuncs.exp: Ditto.
18997 * gdb.base/commands.exp: Ditto.
18998 * gdb.base/exprs.exp: Ditto.
18999 * gdb.base/funcargs.exp: Ditto.
19000 * gdb.base/list.exp: Ditto.
19001 * gdb.base/recurse.exp: Ditto.
19002 * gdb.base/scope.exp: Ditto.
19003 * gdb.base/structs.exp: Ditto.
19004 * gdb.c++/inherit.exp: Ditto.
19005
19006Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19007
19008 * config/vr4300.exp: New file.
19009
19010 * gdb.*/*.exp: Call gdb_expect instead of expect.
19011
19012 * lib/gdb.exp(gdb_expect): New function.
19013
19014Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19015
19016 * lib/gdb.exp(gdb_init): New function.
19017
19018 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19019 for each individual variable set.
19020
19021 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19022 name.
19023
19024 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19025
19026 * gdb.base/scope.exp: Use gdb_test.
19027
19028 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19029 aborting; the testsuite driver will do that for us (see
19030 gdb_finish). Also, use gdb_test in a few more places.
19031
19032Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19033
19034 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19035
19036Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19037
19038 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19039 and "add_tests" are not at the same address.
19040
19041Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19042
19043 * gdb.base/ptype.exp: Use gdb_test.
19044
19045Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19046
19047 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19048 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19049 left in. No longer expect them to fail.
19050
19051 * gdb.stabs/*.mt; Deleted, no longer used.
19052 * gdb.stabs/configure.in: Remove references to target makefile
19053 frags.
19054 * gdb.stabs/configure: Rebuilt.
19055
19056 * gdb.disasm/*.mt: Deleted, no longer used.
19057 * gdb.disasm/configure.in: Remove references to target makefile
19058 frags. Use "sh3.s" as the unique filename for this directory.
19059 * gdb.disasm/configure: Rebuilt.
19060
19061 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19062 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19063 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19064
19065Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19066
19067 * config/udi.exp: Use mondfe,name instead of remote_host.
19068
19069Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19070
19071 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19072 a function with a watchpoint enabled on the mn10200.
19073
19074 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19075 before trying to create it!
19076
19077Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19078
19079 * config/vx.exp: Use hostname instead of netport.
19080
19081 * config/vxworks.exp: New file.
19082
19083 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19084
19085 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19086 gdb before assuming everything worked. Send a ^C if a timeout
19087 occurs.
19088
19089 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19090 $gdb_spawn_id directly.
19091 (gdb_run_cmd): Try _start as well as start. Use the target feature
19092 gdb,start_symbol as the symbol to start from when jumping.
19093
19094Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19095
19096 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19097 redundant) test.
19098
19099 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19100 it doesn't lose for 16bit integer systems.
19101
19102Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19103
19104 * gdb.fortran/types.exp: If the target doesn't support "double"
19105 data types, then expect "real" types to only be 4 bytes.
19106
19107 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19108 call tests if the target doesn't support inferior function calls.
19109
19110 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19111 in printf tests.
19112
19113Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19114
19115 * gdb.base/help.exp: Disable "help set", "help show", and
19116 "help support". Simplify regexp for "help stack".
19117
19118 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19119 to 60 seconds. Temporarily set match_max to 15000 around the
19120 "info copying" test.
19121
19122 * gdb.base/nodebug.exp: Don't try to do an inferior function
19123 call if the target doesn't support them.
19124 * gdb.base/printcmds.exp: Likewise.
19125 * gdb.base/setvar.exp: Likewise.
19126 * gdb.base/structs.exp: Likewise.
19127 * gdb.c++/templates.exp: Likewise.
19128 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19129
19130 * gdb.base/recurse.exp: Enable for the mn10200.
19131
19132 * configure.in: Do configure gdb.stabs directory for *-*-elf
19133 targets.
19134 * configure: Rebuilt.
19135
19136 * gdb.base/break.exp: Check for gdb,noresults before testing
19137 exit status and/or results from the target.
19138 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19139 * lib/gdb.exp: Remove old (now bogus) initialization of
19140 noinferior, noargs, noresults and nosignals.
19141
19142Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19143
19144 * config/sh.exp: New file.
19145
19146 * config/slite.exp: Try to connect multiple times to the board
19147 before rebooting. Only send a "monitor run" if need_monitor_run
19148 is set.
19149
19150 * gdb.base/break.exp: Don't do the "stub continue" test if
19151 the target has gdb_stub set.
19152
19153 * gdb.base/callfuncs.exp: Increase the timeout.
19154
19155 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19156 if the target has gdb,noinferiorio set.
19157
19158 * gdb.base/list.exp: Increase match_max to 10000 characters.
19159
19160 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19161
19162 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19163 target.
19164
19165 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19166
19167Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19168
19169 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19170 trying to delete the copy of gdb. Catch the file delete so we
19171 don't die if the delete fails; also, the file should be copied to
19172 the host, not to the build.
19173
19174Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19175
19176 * lib/gdb.exp(gdb_test): Surround the result pattern with
19177 parenthesis in case it contains multiple regexps separated
19178 with |.
19179
19180 * gdb.base/watchpoint.exp: Use gdb_test.
19181 * gdb.base/default.exp: Ditto.
19182
19183Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19184
19185 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19186
19187 * gdb.base/scope.exp: Use gdb_test.
19188 * gdb.c++/classes.exp: Ditto.
19189 * gdb.c++/inherit.exp: Ditto.
19190
19191Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19192
19193 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19194 remote_exec instead.
19195 * gdb.base/corefile.exp: Don't be ridiculous.
19196 * gdb.base/*.c: Add missing stub invocations.
19197
19198Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19199
19200 * config/slite.exp: Miscellaneous fixes.
19201
19202 * lib/gdb.exp: Fix runto.
19203
19204 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19205 the target.
19206
19207 * gdb.base/watchpoint.exp: Fix regexp.
19208
19209 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19210 close and wait commands, as the descriptor may now be
19211 invalid. Always call "remote_close host".
19212
19213Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19214
19215 Major rewrite for testsuite revision.
19216
19217 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19218 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19219 instead of relying on spawn_id to always contain a valid
19220 spawn id.
19221 (get_compiler_info): New procedure to build the ${binfile}.ci
19222 file, instead of replicating this in N different places.
19223 (gdb_compile): New procedure.
19224
19225 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19226 appropriate arguments) instead of compile. Use gdb_test in a lot
19227 more places. Use send_gdb instead of send. Always run gdb_start
19228 at the start of a testcase, as this is no longer done magically.
19229
19230 config/*-gdb.exp: Rename without the -gdb suffix.
19231
19232 config/mips.exp: Use remote_close instead of exit_remote_shell.
19233 config/monitor.exp: Use target_info instead of looking at
19234 baud, timeout, etc.
19235 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19236
19237Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19238
19239 * gdb.c++/templates.exp (test_ptype_of_templates),
19240 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19241 Update expect patterns for destructors and assignment operators
19242 to match corresponding c-typeprint.c changes.
19243 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19244 to destructor breakpoint test, GDB should be able to set the
19245 destructor breakpoint without specifying arguments.
19246
19247Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19248
19249 * gdb.threads/pthreads.exp: Change result for failure to compile due
19250 to lack of pthreads runtime support from an error to simply an
19251 unsupported test, per dejagnu standards.
19252
19253Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19254
19255 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19256 where GDB exits to reduce pattern match time.
19257 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19258
19259 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19260
19261Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19262
19263 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19264 * gdb.base/default.exp: ditto.
19265 * gdb.base/nodebug.exp: ditto.
19266 * gdb.base/printcmds.exp: ditto.
19267 * gdb.base/ptype.exp: ditto.
19268 * gdb.base/setvar.exp: ditto.
19269 * gdb.base/structs.exp: ditto.
19270 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19271
19272Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19273
19274 * configure, */configure: Rebuild with autoconf 2.12.
19275
19276Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19277
19278 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19279 use new i*86-pc-linux*-gnu quads.
19280 * gdb.base/corefile.exp: Ditto.
19281 * gdb.base/signals.exp: Ditto.
19282 * gdb.base/sigall.exp: Ditto.
19283 * gdb.base/interrupt.exp: Ditto.
19284
19285 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19286 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19287 RedHat 4.0.
19288
19289 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19290 linux. This allows the test case to at least compile on latest
19291 linux, but still not run due to missing the threads runtime library.
19292
19293Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19294
19295 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19296 directory to search gdb directory. Accept and step over conditional
19297 stack alignment code. Consume $prompt in failure cases.
19298 Reset timeout to $oldtimeout instead of some arbitrary value.
19299 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19300 timeout problems with infinite stack backtraces.
19301 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19302 Accept function parameters for linkfunc member.
19303
19304Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19305
19306 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19307 (CXXFLAGS): Remove, unreferenced.
19308 (B_OPTIONS): Add for -B options and add code to initialize with
19309 previous -B options and also add -B option to pick up cross compiled
19310 runtime.
19311 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19312 doing cross compiles.
19313 (target_alias): Declare global.
19314 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19315 to verify that gcc exists in build tree, and if so set CC to that
19316 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19317
19318Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19319
19320 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19321 ptype test for anonymous union. Fixup testcase to match
19322 current gcc debug output.
19323
19324Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19325
19326 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19327 force argument to an unsigned long type.
19328
19329Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19330
19331 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19332 tests and anonymous union print/ptype tests.
19333 * gdb.base/list.exp (test_forward-search): Increase timeout by
19334 5 minutes for the "search extremely long line" case.
19335 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19336 completely optional and that the pass/fail messages use the command as
19337 the message if that third arg is a null string.
19338 (gdb_test_exact): Arrange that a null string pattern means match a
19339 null string output rather than any output, which might include random
19340 errors.
19341 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19342 backtrace test.
19343 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19344 always failing and failure is now exposed by gdb.exp changes.
19345
19346Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19347
19348 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19349 weren't being noted.
19350
19351Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19352
19353 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19354 * gdb.stabs/weird.exp: Remove v_comb xfails.
19355
19356Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19357
19358 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19359 list.exp scope.exp watchpoint.exp]
19360 Make all timeout error msgs explicitly say "(timeout)".
19361
19362Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19363
19364 * config/monitor.exp: Increase download timeout to 1000 seconds.
19365
19366Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19367
19368 * config/m32r.exp: Increase timeout to 120 seconds.
19369
19370Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19371
19372 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19373 and accept older ordering as obsolescent gcc or gdb.
19374 * gdb.c++/templates.exp: Ditto.
19375 * gdb.c++/virtfunc.exp: Ditto.
19376
19377Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19378
19379 * gdb.base/coremaker.c: Add code to mmap some data so we
19380 can check that it ends up in the core file.
19381 * gdb.base/corefile.exp: Add test to read mmapped data
19382 from core file.
19383
19384Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19385
19386 * config/m32r.exp: New file.
19387
19388Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19389
19390 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19391 that cflags can contains -gstabs, and work correctly for other tests.
19392
19393Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19394
19395 * gdb.base/setshow.exp: New file, tests show and set.
19396 * gdb.base/setshow.c: New file, tests show and set.
19397 * gdb.base/help.exp: Add test for help set|show annotate.
19398 * gdb.base/default.exp: Add test for set|show annotate.
19399
19400Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19401
19402 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19403 errors unique.
19404 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19405 explicitly.
19406
19407Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19408
19409 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19410 and width commands. This is done elsewhere.
19411 * (gdb_start): Don't call gdb_start_sim here. That's already
19412 done in gdb_load. This fixes lots of failures in default.exp.
19413
19414Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19415
19416 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19417 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19418 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19419 in the same we we treat other failures (since it may be an expected
19420 condition), rather than as an error.
19421 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19422 old test format.
19423
19424Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19425
19426 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19427 (distclean maintainer-clean realclean): No need to remove files
19428 twice. Nuke the duplicates.
19429 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19430 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19431 Remove config.h along with other config files.
19432
19433Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19434
19435 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19436 "p func1 ()" and note that rests of tests are skipped.
19437 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19438 setup_xfails for "print func2::coremaker_local".
19439 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19440 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19441 affected by the previous run test.
19442 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19443 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19444 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19445 "pass int powerset tuple" and "pass modeless int powerset tuple".
19446 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19447 "real write 4" and "real write 8".
19448 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19449 setup_xfails for "print vs1 after tuple assign 2",
19450 "print \$i after tuple assign 2", and
19451 "print vs2 after tuple assign 2".
19452 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19453 meaningful error message and return -1 so the caller can
19454 suppress further tests and avoid a cascade of errors.
19455
19456Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19457
19458 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19459 format for printing version.
19460 * gdb.base/default.exp: Ditto.
19461 * gdb.base/interrupt.exp: Fix problem with cascade of
19462 errors if child process dies while calling a function.
19463
19464Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19465
19466 * Makefile.in (VPATH): Add
19467 * Makefile.in (Makefile, config.status): Fix rules so things get
19468 remade when necessary.
19469
19470Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19471
19472 * Makefile.in (just-check): Add path to sibling expect dir
19473 to environment variable specified by RPATH_ENVVAR.
19474
19475Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19476
19477 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19478 (just-check): Add shared library paths for libstdc++, tk,
19479 tcl, bfd, and opcodes to the environment variable specified
19480 in RPATH_ENVVAR.
19481 * configure.in: Add support to recognize --enable-shared flag
19482 and generate correct value for RPATH_ENVVAR.
19483 * configure: Regenerated with autoconf.
19484
19485Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19486
19487 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19488 include all osf versions.
19489 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19490 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19491 when target is linux. When failing to build pthreads test
19492 executable, give more meaningful message.
19493 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19494 arg for pthread_create.
19495
19496Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19497
19498 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19499 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19500 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19501 and -lpthreads (everybody else).
19502 (test_startup): Fail gracefully if threads are not supported.
19503 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19504 "p/c array_index("abcdef",2)" when not gcc compiled.
19505 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19506 "print func2::coremaker_local" when not gcc compiled.
19507 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19508 "ptype on opaque struct tagname (statically)",
19509 "ptype on opaque struct tagname (dynamically) 1", and
19510 "ptype on opaque struct tagname (dynamically) 2"
19511 for not compiled with gcc.
19512 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19513 backtrace when compiled with gcc.
19514 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19515 than always return success.
19516
19517Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19518
19519 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19520
19521Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19522
19523 * gdb.base/structs.exp: Undo last change.
19524
19525Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19526
19527 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19528 encapsulate all the steps/nexts done during self test, starting
19529 at main, and makes them less sensitive to optimization issues.
19530 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19531 signal handler" test.
19532 * gdb.threads/pthreads.exp: Only run this for native configs.
19533 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19534 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19535 tests.
19536 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19537 for "runto test_calls(void)" test.
19538
19539Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19540
19541 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19542 and don't expect address info in breakpoint confirmations.
19543
19544Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19545
19546 * gdb.base/list.exp (test_forward_search): Increase timeout
19547 temporarily by 60 seconds for searching extremely long line,
19548 and then reset to old value when done. Increase expect input
19549 buffer to 10000.
19550
19551Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19552
19553 * gdb.base/list.exp (test_forward_search): Fix to handle very
19554 long source line without overflowing expect's input buffer.
19555
19556Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19557
19558 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19559 "buffer_full".
19560
19561 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19562 "buffer_full".
19563
19564 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19565 "buffer_full".
19566
19567 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19568 "buffer_full".
19569
19570Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19571
19572 * configure.in (configdirs): Add gdb.threads.
19573 * configure: Regenerated with autoconf.
19574 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19575 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19576 * gdb.threads/configure: New, generated with autoconf.
19577
19578Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19579
19580 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19581
19582Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19583
19584 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19585 each signal's status in the output of "handle all print".
19586 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19587 the \r\n sequence that immediately precedes the gdb prompt.
19588 * gdb.base/a1-selftest.exp: Save original timeout and restore
19589 after test.
19590
19591Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19592
19593 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19594 symbol.
19595
19596Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19597
19598 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19599
19600Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19601
19602 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19603 timeout by 60 seconds.
19604
19605Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19606
19607 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19608 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19609 error return.
19610
19611Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19612
19613 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19614 gdb initialization, also report how long dejagnu waited. Restore
19615 old timeout before doing error return. Temporarily increase timeout
19616 by 3 minutes to allow for slow startups over heavy NFS use.
19617
19618Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19619
19620 * lib/gdb.exp: Report timeout value for verbosity level 2.
19621 * config/gdbserver.exp: Ditto.
19622 * config/hppro.exp: Ditto.
19623 * config/mips-gdb.exp: Ditto.
19624 * config/monitor.exp: Ditto.
19625 * config/netware.exp: Ditto.
19626 * config/sim-gdb.exp: Ditto.
19627 * config/slite-gdb.exp: Ditto.
19628 * config/udi-gdb.exp: Ditto.
19629 * config/unix-gdb.exp: Ditto.
19630 * config/vx-gdb.exp: Ditto.
19631 * gdb.base/a1-selftest.exp: Ditto.
19632 * gdb.base/a2-run.exp: Ditto.
19633 * gdb.base/break.exp: Ditto.
19634 * gdb.base/corefile.exp: Ditto.
19635 * gdb.base/list.exp: Ditto.
19636 * gdb.base/recurse.exp: Ditto.
19637 * gdb.base/scope.exp: Ditto.
19638 * gdb.base/signals.exp: Ditto.
19639
19640Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19641
19642 * gdb.threads/Makefile.in (docdir): Removed.
19643
19644Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19645
19646 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19647 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19648 @srcdir@.
19649 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19650 autoconf 2.5 or higher.
19651 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19652
19653Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19654
19655 * configure: Regenerated.
19656 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19657 avoid name clashes with SunOS headers.
19658
19659Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19660
19661 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19662
19663Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19664
19665 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19666 prototype information ends up in the compiler info file.
19667
19668Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19669
19670 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19671 attempting to regenerate it. Eliminate use of a temporary file
19672 and just generate the info file directly. Source it immediately,
19673 for consistency of use.
19674 * gdb.base/corefile.exp: Ditto
19675 * gdb.base/exprs.exp: Ditto.
19676 * gdb.base/funcargs.exp: Ditto.
19677 * gdb.base/langs.exp: Ditto.
19678 * gdb.base/list.exp: Ditto.
19679 * gdb.base/mips_pro.exp: Ditto.
19680 * gdb.base/nodebug.exp: Ditto.
19681 * gdb.base/opaque.exp: Ditto.
19682 * gdb.base/ptype.exp: Ditto.
19683 * gdb.base/scope.exp: Ditto.
19684 * gdb.base/setvar.exp: Ditto.
19685 * gdb.base/signals.exp: Ditto.
19686 * gdb.base/whatis.exp: Ditto.
19687 * gdb.c++/templates.exp: Ditto.
19688 * gdb.c++/virtfunc.exp: Ditto.
19689 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19690 whether or not to add -lstdc++ to the compile command line args.
19691
19692Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19693
19694 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19695 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19696 Increase timeout, a lot of single stepping might be needed if the
19697 target has no hardware watchpoints.
19698
19699Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19700
19701 * gdb.base/break.exp: Ignore compiler warnings when compiling
19702 break.c.
19703 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19704 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19705 from remote-sim.
19706 * gdb.base/exprs.exp: Add h8300 xfails.
19707 * gdb.base/funcargs.exp: Likewise.
19708 * gdb.base/nodebug.exp: Likewise.
19709 * gdb.base/printcmds.exp: Likewise.
19710 * gdb.base/ptype.exp: Likewise.
19711 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19712 h8300 xfails.
19713 * gdb.base/return.exp: Handle float/double precision problems
19714 on the h8300.
19715 * gdb.base/funcargs.c: Explicitly make last constant argument to
19716 call_after_alloca_subr an unsigned long type.
19717 * gdb.base/return.c: Include stdio.h.
19718
19719Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19720
19721 * config/abug.exp: New file for the older Motorola Bug monitor
19722 that runs on the mvme13x series VME boards.
19723 * config/monitor.exp: Use the new config array for target settings
19724 if they exist.
19725
19726Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19727
19728 * sim-gdb.exp: Make the SH simulator allocate less space when
19729 it is targeted.
19730
19731Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19732
19733 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19734 test.
19735
19736Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19737
19738 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19739 "rs6000-*-*" for "list function in include file" when gcc compiled.
19740 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19741 for "p ctable1[120]".
19742 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19743 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19744 Remove setup_xfail for "rs6000-*-*" for
19745 "print 'scope0.c'::filelocal before run".
19746 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19747 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19748 since some compilers don't allow both options to be given
19749 on the same command line. Create object file and move it.
19750
19751Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19752
19753 * gdb.base/corefile.exp: Always regenerate the core file, since
19754 we always regenerate the coremaker program. Detect special case
19755 where registers cannot be read from core file.
19756
19757Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19758
19759 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19760 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19761 * gdb.c++/templates.exp: Only match on basename of file since
19762 some formats like xcoff don't encode directory information.
19763 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19764 and rs6000 AIX xcoff targets.
19765 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19766 * configure: Regenerate.
19767 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19768 here, rather than in distclean.
19769
19770Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19771
19772 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19773 defined, and use it to compile the test case with -O2. The
19774 native compilation still uses no optimization.
19775 * gdb.base/mips_pro.c: Remove inline assembly code since
19776 it is compiled PIC by default, which results in assembler
19777 warnings that make the testsuite think the compilation
19778 was unsuccessful.
19779
19780Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19781
19782 * gdb.c++/misc.exp: Add note to message for
19783 "print s.a for foo struct" that this is a known gcc 2.7.2
19784 and earlier bug.
19785
19786Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19787
19788 * gdb.base/break.exp: Fix pattern for matching "Delete all
19789 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19790 setup_xfail for deleting all breakpoints test. Fix various
19791 timeout messages to include "(timeout)".
19792 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19793 for "p t_float_values2(3.14159,float_val2)".
19794 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19795 for "continue to call2g" when gcc compiled.
19796 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19797 "up to foo in langs.exp", "show language at foo in langs.exp",
19798 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19799 and "show language at fsub in langs.exp".
19800 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19801 "list line 1 in include file", "list message for lines past EOF",
19802 "list function in include file", "list list0.h:foo", and
19803 "list filename:function; nonexistant function".
19804 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19805 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19806 and "ptype t_char_array" to be for native cc only.
19807
19808Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19809
19810 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19811 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19812 "print func2::coremaker_local", and "backtrace in corefile.exp".
19813
19814Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19815
19816 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19817 "bt in signals.exp". This problem only appears when running
19818 the testsuite, and then only intermittently.
19819
19820Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19821
19822 * gdb.base/return.exp (return_tests): Differentiate between
19823 two tests of continuing.
19824
19825Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19826
19827 * */Makefile.in (maintainer-clean): Remove config.log.
19828 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19829 * gdb.c++/Makefile.in (PROGS): Add inherit.
19830 (clean): Remove *.ci.
19831
19832Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19833
19834 * gdb.c++/misc.cc: Add test code from Mike Stump.
19835 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19836
19837Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19838
19839 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19840 to "alpha-*-osf2*" and add comment.
19841 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19842 setup_xfail for "step over execarg initialization" and
19843 "step over corearg initialization".
19844 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19845 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19846 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19847 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19848 "print func2::coremaker_local", and "backtrace in corefile.exp".
19849 * gdb.base/signals.exp: Build and source signals.ci.
19850 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19851 to be for gcc only.
19852 * lib/gdb.exp: Move verbose statements outside conditionals.
19853
19854Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19855
19856 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19857 Feb 3 procfs.c change.
19858
19859Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19860
19861 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19862
19863Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19864
19865 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19866 from dejagnu's apparent default of 10 seconds, which gives random
19867 results when running the tests over NFS on moderately loaded systems.
19868 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19869
19870Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19871
19872 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19873 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19874 result reports.
19875
19876Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19877
19878 * configure.in (CY_AC_PATH_TCLH): Remove.
19879 * configure: Regenerate.
19880
19881Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19882
19883 * gdb.c++/Makefile.in (clean): Add missing '{'.
19884
19885Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19886
19887 * lib/gdb.exp: Provide a default value for noinferior.
19888
19889 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19890 Load libgloss.exp.
19891
19892Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19893
19894 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19895 the executable, not the .o to run the tests from.
19896
19897Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19898
19899 * gdb.base/break.exp: Don't test for program exit or exit status
19900 if $noresults if nonzero.
19901 * gdb.base/langs.exp: Likewise.
19902 * gdb.base/watchpoint.exp: Likewise.
19903
19904 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19905 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19906 trying to compile the testcase.
19907
19908Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19909
19910 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19911 * gdb.base/signals.exp (continue to handler): Likewise.
19912
19913Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19914
19915 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19916
19917 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19918
19919Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19920
19921 * gdb.base/corefile.exp: Recognize "not found" as failure
19922 when trying to determine if a core file was generated.
19923 If no core file was generate the first time, try again without
19924 the ulimit -c to work around braindamaged shells.
19925
19926Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19927
19928 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19929 [] tests with "test" and enclose string in quotes.
19930 * gdb.stabs/configure: Rebuild
19931
19932Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19933
19934 Changes in sync with expect:
19935 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19936 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19937 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19938 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19939 argument to AC_REQUIRE.
19940 * configure: Regenerated.
19941
19942Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19943
19944 * gdb.base/corefile.exp: When generating a core, discard any
19945 error messages about ulimit not found and the "core dumped"
19946 message from the shell that runs the coredumper.
19947
19948Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19949
19950 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19951
19952 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19953 which sed script to run. Expect failure for v_comb test
19954 on PA targets too.
19955
19956Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19957
19958 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19959 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19960
19961Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19962
19963 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19964 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19965 "sparc-sun-solaris*" xfails for "p v_comb".
19966 * lib/gdb.exp (default_gdb_start): Fix typo.
19967 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19968 messages to not include the full program name that caused
19969 the core dump since some systems (such as solaris) apparently
19970 truncate this path to about 80 characters.
19971 When generating a core file first try increasing the core file
19972 size limit to unlimited since some systems may default it to
19973 zero, and it is harmless to try it. Move the test for failing
19974 to generate a core file to where it will actually get executed.
19975 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19976 new gdb result from g++ debug info improvements and make old
19977 pattern obsolescent. Also account for size_t differences
19978 (may be int or long).
19979 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19980 initialization before function call is placed in the delay slot
19981 and thus appears to be skipped over by commands such as "next".
19982
19983Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19984
19985 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19986
19987Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19988
19989 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19990 input source file; fix code to compile test to deal with this
19991 convention.
19992 * gdb.c++/*.exp: Likewise.
19993
19994Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19995
19996 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19997 "bt in signals.exp".
19998
19999Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20000
20001 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20002 "step over execarg initialization" and
20003 "step over corearg initialization".
20004
20005Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20006
20007 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20008 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20009
20010Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20011
20012 From Rob Savoye (rob@poseidon.cygnus.com)
20013 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20014 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20015 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20016 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20017 configure.in}: Major reworking for autoconfig.
20018 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20019 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20020 New files.
20021 * config/unix-gdb.exp: Make GDB global.
20022 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20023 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20024 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20025 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20026 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20027 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20028 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20029 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20030 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20031 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20032 pr-8136.exp, result.exp, string.exp, tuples.exp},
20033 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20034 to returns as necessary, arrange for test to compile own testcase
20035 executable.
20036 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20037
20038Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20039
20040 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20041 clear_xfail at end of test which might not call either pass or fail.
20042 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20043 "backtrace through signal handler".
20044
20045Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20046
20047 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20048 continuing from a job control stop signal.
20049 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20050
20051Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20052
20053 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20054 * gdb.base/corefile.exp: Likewise.
20055 * gdb.base/funcargs.exp: Likewise.
20056
20057Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20058
20059 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20060 * config/monitor.exp: Add support for setting baud rate.
20061
20062Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20063
20064 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20065 i*86-*-linux* xfails for "backtrace through signal handler".
20066 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20067 "print func2::coremaker_local".
20068 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20069 alpha-dec-osf2* xfail for
20070 "delete all breakpoints when none".
20071
20072Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20073
20074 * gdb.base/break.exp: Change test that deletes all breakpoints
20075 when no user breakpoints are installed. A post 4.15 change
20076 causes gdb to no longer prompt in this case.
20077
20078Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20079
20080 * gdb.base/return.exp (return_tests): Change xfail for test
20081 "correct value returned double test" to stop xfailing at
20082 Solaris 2.5. Apparently the bug has been fixed.
20083
20084Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20085
20086 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20087 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20088
20089Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20090
20091 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20092 * gdb.disasm/hppa.s: Corresponding changes.
20093
20094Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20095
20096 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20097 makefile fragment.
20098 * config/mt-hpux: Deleted.
20099
20100Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20101
20102 * Many files: When warning about suppressed tests due to a
20103 nonexistant test binary, avoid incrementing the warning count.
20104
20105Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20106
20107 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20108
20109Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20110
20111 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20112 "sparc-*-solaris2*".
20113
20114Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20115
20116 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20117 Add global and local variables and initialize them.
20118 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20119 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20120 extracts the file name and terminating signal from the core file.
20121 * TODO: Remove note about tests for correct mapping of corefile.
20122 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20123 from optimizing it away.
20124 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20125 handles common blocks.
20126
20127Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20128
20129 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20130 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20131
20132Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20133
20134 * Makefile.in (maintainer-clean): New target, synonym for
20135 realclean.
20136 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20137 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20138 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20139 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20140 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20141 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20142
20143Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20144
20145 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20146 xfails when not gcc compiled for "print foo::funclocal".
20147 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20148 "print foo::funclocal at foo",
20149 "print 'scope1.c'::foo::funclocal at foo",
20150 "print foo::funclocal_bss at foo",
20151 "print 'scope1.c'::foo::funclocal_bss at foo",
20152 "print foo::funclocal_ro at foo",
20153 "print 'scope1.c'::foo::funclocal_ro at foo",
20154 "print bar::funclocal at foo" and
20155 "print 'scope1.c'::bar::funclocal at foo".
20156 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20157 gcc compiled for "print foo::funclocal at bar".
20158 Expand all messages to ensure that they identify that
20159 the test is at bar().
20160 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20161 gcc compiled for:
20162 "ptype on opaque struct pointer (statically)",
20163 "ptype on opaque struct tagname (statically)",
20164 "ptype on opaque struct pointer (dynamically) 1",
20165 "ptype on opaque struct tagname (dynamically) 1",
20166 "ptype on opaque struct pointer (dynamically) 2" and
20167 "ptype on opaque struct tagname (dynamically) 2
20168 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20169 gcc compiled for:
20170 "p datalocal"
20171 "whatis datalocal",
20172 "ptype datalocal",
20173 "p bsslocal",
20174 "whatis bsslocal", and
20175 "ptype bsslocal".
20176 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20177 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20178 when not gcc compiled.
20179 * gdb.base/funcargs.exp (float_and_integral_args): Add
20180 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20181 compiled.
20182 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20183 "backtrace from call6a" when not gcc compiled.
20184 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20185 "backtrace from call7a" when not gcc compiled.
20186 * gdb.base/callfuncs.exp (do_function_calls):
20187 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20188 "p t_char_array_values(char_array_val2,char_array_val1)",
20189 "p t_char_array_values(char_array_val1,char_array_val2)",
20190 "p t_char_array_values("carray 1","carray 2")",
20191 "p t_char_array_values("carray 1",char_array_val2)",
20192 "p t_char_array_values(char_array_val1,"carray 2")",
20193 "p sum_args(1,{2})",
20194 "p sum_args(2,{2,3})",
20195 "p sum_args(3,{2,3,4})",
20196 "p sum_args(4,{2,3,4,5})"
20197 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20198 "backtrace in corefile.exp" when not gcc compiled.
20199
20200Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20201
20202 * gdb.base/signals.exp: Rewrite `handle all print' test as
20203 a procedure. Accept blanks or TABs as whitespace, increase
20204 timeout and expect input buffer size for the large output
20205 from the command. Remove "i*86-*-bsdi2.0" xfail.
20206
20207Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20208
20209 * gdb.base/setvar.exp: Add new testcases for truncation when
20210 assigning invalid values to bitfields.
20211
20212Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20213
20214 * gdb.base/callfuncs.exp (do_function_calls): Remove
20215 mips-sgi-irix* xfail for
20216 "call inferior func with struct - returns char *"
20217 and fix test so that an optional (unsigned char *) cast is
20218 accepted in the result.
20219
20220Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20221
20222 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20223 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20224 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20225 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20226 that accidentally got checked in.
20227
20228Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20229
20230 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20231 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20232 compiled test.
20233 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20234 Add mips-sgi-irix5* xfail for not gcc compiled.
20235 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20236 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20237 "p top", "whatis top", "p middle", and "whatis middle".
20238 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20239 "whatis signed char" for not gcc compiled.
20240 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20241 "set variable signed char=-1 (-1)" and
20242 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20243 * gdb.base/funcargs.exp (float_and_integral_args):
20244 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20245 Add mips-sgi-irix* xfail when not gcc compiled for
20246 "continue to call2b".
20247 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20248 "continue to call2g".
20249 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20250 "backtrace from call6a"
20251 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20252 "backtrace from call7k".
20253 Add mips-sgi-irix5* xfail when not gcc compiled for
20254 "backtrace from call7a".
20255 (localvars_after_alloca): Fix gdb_test cmds for
20256 "print * after runto ...".
20257 Remove rs6000-*-* xfails for
20258 "print i after runto localvars_after_alloca" and
20259 "print l after runto localvars_after_alloca"
20260 for all compilers.
20261 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20262 when not compiled with gcc, for:
20263 "print signed char == (minus)",
20264 "print signed char != (minus)",
20265 "print signed char < (minus)",
20266 "print signed char > (minus)".
20267 * gdb.base/callfuncs.exp (do_function_calls):
20268 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20269 "call inferior func with struct - returns char *".
20270 * gdb.base/return.exp (return_tests): Change xfail for
20271 "correct value returned double test" to include Solaris 2.4.
20272 * gdb.base/funcargs.exp (float_and_integral_args):
20273 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20274
20275Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20276
20277 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20278 enumeration bitfields if compiling with GNU C.
20279 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20280 to empty' prompt.
20281
20282Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20283
20284 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20285 test for PRO targets.
20286
20287 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20288 breakpoints in the inferior at any given time by making
20289 two groups of breakpoints for call2*, call6* and call7*
20290 tests.
20291
20292Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20293
20294 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20295 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20296 from optimizing it away.
20297 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20298 "call inferior func with struct".
20299
20300Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20301
20302 * configure.in: Only configure gdb.chill for particular targets.
20303
20304Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20305
20306 * gdb.base/Makefile.in: Add action to .c.o transformation
20307 rule that generates a .ci file for each .o file and remove
20308 explicit .c.o rules except for callfuncs.o.
20309 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20310 generates a .ci file for each .o file and remove explicit
20311 .cc.o rules.
20312 (clean): Remove *.tmp *.ci files.
20313 (EXECUTABLES): Remove templ-info.exp.
20314 * gdb.base/compiler.c: New file.
20315 * gdb.c++/compiler.cc: New file
20316 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20317 Change rs6000-*-* xfail for
20318 "print 'scope0.c'::filelocal_ro" and
20319 "print 'scope1.c'::filelocal" and
20320 "print 'scope1.c'::filelocal_bss" and
20321 "print 'scope1.c'::filelocal_ro" and
20322 "print 'scope1.c'::foo::funclocal" and
20323 "print 'scope1.c'::foo::funclocal_ro" and
20324 "print 'scope1.c'::bar::funclocal" and
20325 "print 'scope0.c'::filelocal_ro" and
20326 "print 'scope1.c'::filelocal at foo" and
20327 "print 'scope1.c'::filelocal_bss at foo" and
20328 "print 'scope1.c'::filelocal_ro at foo" and
20329 "print 'scope1.c'::foo::funclocal at foo" and
20330 "print 'scope1.c'::foo::funclocal_bss at foo" and
20331 "print 'scope1.c'::foo::funclocal_ro at foo" and
20332 "print 'scope1.c'::bar::funclocal at foo" and
20333 "print 'scope0.c'::filelocal_ro" and
20334 "print 'scope1.c'::filelocal" and
20335 "print 'scope1.c'::filelocal_bss" and
20336 "print 'scope1.c'::filelocal_ro" and
20337 "print 'scope1.c'::foo::funclocal" and
20338 "print 'scope1.c'::foo::funclocal_bss" and
20339 "print 'scope1.c'::foo::funclocal_ro" and
20340 "print 'scope1.c'::bar::funclocal" and
20341 "print 'scope1.c'::bar::funclocal_bss"
20342 to only be xfail'd when not compiled with gcc.
20343 Add rs6000-*-* xfail for
20344 "print 'scope0.c'::filelocal_bss before run"
20345 when compiled with gcc.
20346 (test_at_main): Add rs6000-*-* xfail for
20347 "print filelocal_ro in test_at_main"
20348 when compiled with gcc.
20349 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20350 Add rs6000-*-aix* xfail for
20351 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20352 "ptype t_char_array", not compiled with gcc.
20353 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20354 xfail for "list foo (in include file)" when gcc compiled.
20355 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20356 (integral_args): Add rs6000-*-* xfail for
20357 "run to call0a" if not compiled with gcc.
20358 (unsigned_integral_args): Add rs6000-*-* xfail for
20359 "run to call1a" if not compiled with gcc.
20360 (float_and_integral_args): Add rs6000-*-* xfail for
20361 "run to call2a" if not compiled with gcc and for
20362 "continue to call2b" for any compiler.
20363 Add rs6000-*-* xfail to
20364 "print f1 after run to call2a" for gcc compiled.
20365 (discard_and_shuffle): Add rs6000-*-* xfail for
20366 "run to call6a".
20367 (shuffle_round_robin): Add rs6000-*-* xfail for
20368 "backtrace from call7a" if not compiled with gcc.
20369 Add rs6000-*-* xfail for
20370 "backtrace from call7b" if compiled with gcc.
20371 (call_after_alloca): Add rs6000-*-* xfail for
20372 "print c in call_after_alloca" and
20373 "print s in call_after_alloca" and
20374 "backtrace from call_after_alloca_subr"
20375 if not compiled with gcc.
20376 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20377 "print c in localvars_in_indirect_call" and
20378 "print c in localvars_in_indirect_call" and
20379 "backtrace in indirectly called function" and
20380 "stepping into indirectly called function"
20381 if not compiled with gcc.
20382 (localvars_after_alloca): Add rs6000-*-* xfail for
20383 "print c after runto localvars_after_alloca" and
20384 "print s after runto localvars_after_alloca" and
20385 "print i after runto localvars_after_alloca" and
20386 "print l after runto localvars_after_alloca"
20387 for all compilers.
20388 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20389 than whatis-info.exp.
20390 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20391 than opaque-info.exp.
20392 Setup rs6000-*-* xfail for
20393 "ptype on opaque struct pointer (statically)" and
20394 "ptype on opaque struct pointer (dynamically)" when
20395 not compiled with gcc.
20396 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20397 rather than callf-info.exp.
20398 (do_function_calls): Add clear_xfail for rs6000-*-* for
20399 "p t_float_values2(3.14159,float_val2)". Seems to work
20400 fine there, both with xlc and gcc. Need to find out what
20401 it is doing right and fix other platforms.
20402 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20403 "call inferior func with struct - returns int",
20404 "call inferior func with struct - returns long",
20405 "call inferior func with struct - returns float",
20406 "call inferior func with struct - returns double",
20407 "call inferior func with struct - returns char *",
20408 but only if not gcc compiled (presumes xlc compiled).
20409 Change rs6000-*-* xfails for
20410 "call inferior func with struct - returns char" and
20411 " call inferior func with struct - returns short" to only
20412 xfail if not using gcc.
20413 (clean mostlyclean): Remove *.ci and *.tmp files.
20414 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20415 than templ-info.exp.
20416 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20417 Add rs6000-*-* xfail for "up to foo in langs.exp"
20418 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20419 when not gcc compiled.
20420
20421Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20422
20423 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20424 * gdb.base/corefile.exp: Likewise.
20425 * gdb.base/list.exp: Likewise.
20426 * gdb.base/scope.exp: Likewise.
20427 * gdb.base/siganls.exp: Likewise.
20428
20429 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20430 compiler output.
20431 * gdb.base/whatis.exp: Likewise.
20432
20433Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20434
20435 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20436 failure (opcode table has been fixed to match reality).
20437
20438Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20439
20440 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20441 "call inferior func with struct - returns char",
20442 "call inferior func with struct - returns short"
20443
20444 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20445 "print 'scope0.c'::filelocal at main",
20446 "print 'scope0.c'::filelocal_bss in test_at_main",
20447 "print 'scope0.c'::filelocal at foo",
20448 "print 'scope0.c'::filelocal_bss in test_at_foo",
20449 "print 'scope0.c'::filelocal at bar",
20450 "print 'scope0.c'::filelocal_bss in test_at_bar"
20451
20452 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20453 in source file 1". This bug seems to have been fixed with both
20454 gcc and native cc (was native assembler bug?).
20455
20456Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20457
20458 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20459 "backtrace through signal handler" to "i*86-*-sysv4*".
20460 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20461 continue" case. Add "known SVR4 bug" to fail message.
20462 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20463 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20464 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20465 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20466 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20467 "up to foo in langs.exp", "show language at foo in
20468 langs.exp", "up to cppsub_ in langs.exp", "show
20469 language at cppsub_ in langs.exp", "up to fsub in
20470 langs.exp", and "show language at fsub in langs.exp".
20471 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20472 "bactrace in corefile.exp".
20473 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20474 "call inferior function with struct - returns float" and
20475 "call inferior function with struct - returns double".
20476
20477Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20478
20479 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20480 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20481 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20482 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20483
20484Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20485
20486 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20487 (or overriden) "CHILL" macro rather then bare "gcc".
20488 Also look for ../../gcc/xgcc since that is what we will
20489 actually need, not "Makefile". Remove following assignment
20490 of CHILL to CHILL_FOR_TARGET because that results in
20491 recursive definition.
20492
20493Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20494
20495 * gdb.base/corefile.exp: Change xfail for backtrace in
20496 corefile.exp from linuxaout to all linux.
20497 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20498 cases where we miss the breakpoint at the signal handler
20499 for some reason. Setup xfail for linuxoldld/linuxaout and
20500 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20501 hitting SIGURG breakpoint.
20502 * gdb.base/signals.exp: Setup xfail for "next" acting like
20503 continue to add linuxoldld. Setup xfail for all linux for
20504 "next to handler in signals_tests_1", "backtrace in
20505 signals_tests_1", "continue to func1", "pass SIGUSR1",
20506 and continue to handler".
20507
20508Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20509
20510 * Update all FSF addresses except those in COPYING* files.
20511
20512Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20513
20514 * gdb.base/a2-run.exp: Change messages to be more explicit about
20515 the status of args, and quote binfile in results.
20516
20517Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20518
20519 * gdb.base/callfuncs.exp: Add tests for passing structs to
20520 inferior functions and return various types.
20521 * gdb.base/callfuncs.c: Add functions to receive a struct
20522 and return a member of the struct, in various types.
20523
20524Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20525
20526 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20527
20528Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20529
20530 * config/vxworks29k.exp: New file, sources vxworks.exp.
20531
20532Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20533
20534 * config/gdbremote.exp: New file. Testing framework using
20535 gdbserver.
20536
20537Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20538
20539 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20540 "call function when asleep" and "send end of file".
20541 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20542 for "backtrace in corefile.exp".
20543 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20544 for "backtrace through signal handler".
20545 * gdb.base/corefile.exp: Make sure we actually generate a core file
20546 before trying the core tests. Some systems allow the user to suppress
20547 generation of core files and default to that (linux for example).
20548 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20549 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20550
20551Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20552
20553 * gdb.threads: New directory with some crude multi-threaded
20554 gdb tests (step.exp and step2.exp).
20555 * config/mt-lynx (STEP_EXECUTABLE): Define.
20556 (THREADFLAGS): Define.
20557
20558Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20559
20560 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20561
20562 * gdb.base/signals.exp: Disable whole file for lynx until
20563 further notice.
20564
20565 * gdb.base/signals.exp: xfail test where "next" acts like
20566 "continue" for lynx.
20567
20568 * gdb.base/interrupt.exp: xfail test for calling function while
20569 inferior is asleep for lynx.
20570
20571 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20572 than one cr-lf after each command.
20573
20574Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20575
20576 * configure.in: Reinstate setting of stabsdirs variable, fix
20577 typo in setting up configdirs for native builds.
20578
20579 * gdb.base/return.exp: Fix typo in return double test.
20580 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20581 compiler from optimizing them away.
20582
20583Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20584
20585 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20586 sequences to be echo'd by gdb when using gdb_test.
20587 * gdb.chill/chexp.exp: Likewise.
20588 * gdb.fortran/exprs.exp: Likewise
20589
20590Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20591
20592 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20593 after the inferior gdb has started.
20594
20595 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20596 after each command.
20597 * gdb.base/funcargs.exp: Likewise.
20598 * gdb.base/gdbvars.exp: Likewise.
20599 * gdb.base/interrupt.exp: Likewise.
20600 * gdb.base/list.exp: Likewise.
20601 * gdb.base/watchpoint.exp: Likewise.
20602 * gdb.c++/demangle.exp: Likewise.
20603 * gdb.c++/inherit.exp: Likewise.
20604 * gdb.chill/chexp.exp: Likewise.
20605 * gdb.fortran/exprs.exp: Likewise.
20606
20607 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20608 test if we can't handle IO to/from the inferior.
20609
20610 * gdb.c++/misc.exp: Always check for a program already being
20611 started after sending a "run" command to gdb.
20612
20613 * gdb.base/twice.exp: Start with a fresh gdb.
20614
20615 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20616 only depend on gdb's expression code, not the chill runtime.
20617
20618 * gdb.base/return.c: Put return values into variables so we
20619 can have gdb print them rather than depending on the program
20620 to print them.
20621 * gdb.base/return.exp: Corresponding changes.
20622
20623 * lib/gdb.exp: Provide default value for noinferiorio.
20624 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20625 the inferior.
20626
20627 * gdb.base/break.exp: Always check for a program already being
20628 started after sending a "run" command to gdb.
20629 (text_next_with_recursion): Don't check the output from the
20630 program's printf statement. Instead just make sure the program
20631 exited.
20632
20633 * gdb.base/commands.exp: Protect tests which need arguments with
20634 $noargs conditionals.
20635
20636Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20637
20638 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20639 of structure member arrays to match gdb/valops.c:value_addr change.
20640
20641Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20642
20643 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20644 cases.
20645
20646Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20647
20648 * configure.in (configdirs): Remove gdb.chill from default list
20649 of subdirs and then add it back in only if doing a native build.
20650 The current chill compiler does not yet work in any cross build.
20651 * Revert all signal changes from Jul 6.
20652 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20653 for sh-hms targets, allowing these tests to link, with no other
20654 changes. Testing is suppressed by setting "nosignals" in site.exp.
20655
20656Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20657
20658 * configure.in (signaldirs): Define and add to configdirs for all
20659 targets except some specific ones that are known to not support signals.
20660 Also clean up formatting.
20661 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20662 (signals, sigall): Remove rules to build.
20663 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20664 Moved to new gdb.signals directory.
20665 * gdb.signals: New test directory.
20666 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20667 signals.c signals.exp}: New or moved files.
20668
20669Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20670
20671 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20672
20673Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20674
20675 * gdb.base/return.exp: Xfail `return double' test failure
20676 on at least Solaris 2.3 and handle future/past versions on
20677 a case by case basis as appropriate. Also update message
20678 to include i*86 failures.
20679
20680Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20681
20682 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20683
20684 * lib/gdb.exp: Fix comment which erroneously identified
20685 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20686 gdb_file_cmd not gdb_load).
20687 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20688
20689 * gdb.base/setvar.exp: Make test names consistent between pass and
20690 fail cases. Use gdb_test more.
20691
20692Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20693
20694 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20695
20696Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20697
20698 * gdb.base/help.exp: Fix expected help string for `show commands'.
20699
20700Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20701
20702 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20703
20704 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20705 of a text section.
20706
20707Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20708
20709 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20710 that loop eventually terminates. Fix Connection refused logic so
20711 that testsuite will expire nicely.
20712
20713Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20714
20715 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20716 config/rom68k.exp: New tcl glue for the appropriate monitors.
20717 These all just end up calling monitor.exp.
20718 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20719 refused' by retrying. Cleanup some timeout issues.
20720 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20721 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20722 callers don't have to set/restore global timeout variable.
20723
20724 * The following set of changes centralizes management of the global
20725 timeout variable. This way, it can be set in one target dependent
20726 place instead of dozens of places scattered throughout the test suite.
20727 If you need to lengthen a timeout, then you should either set timeout
20728 in one of the config/{target}.exp files, or multiply it by a factor.
20729 Setting it to an absolute value is always going to lose for some
20730 targets.
20731 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20732 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20733 * gdb.base/funcargs.exp: Don't set timeout.
20734 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20735 * gdb.base/printcmds.exp (test_print_string_constants
20736 test_print_array_constants): Don't set timeout.
20737 * gdb.base/ptype.exp: Don't set timeout.
20738 * gdb.base/recurse.exp: Don't set timeout.
20739 * gdb.base/return.exp: Don't set timeout.
20740 * gdb.base/watchpoint.exp: Don't set timeout.
20741 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20742 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20743
20744Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20745
20746 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20747
20748Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20749
20750 * lib/gdb.exp: Disable chill tests for irix5.
20751
20752Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20753
20754 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20755 each test pass or fail.
20756
20757Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20758
20759 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20760 xlc not gcc.
20761
20762Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20763
20764 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20765
20766Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20767
20768 * config/est.exp: Fix copyright and comments. Remove dead code.
20769 Use targetname, serialport and baud variables instead of fixed
20770 constants.
20771 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20772 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20773
20774Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20775
20776 * gdb.base/watchpoint.exp: Don't run
20777 test_watchpoint_triggered_in_syscall for sunos.
20778
20779Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20780
20781 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20782 they don't seem to exist. Do include stdio.h.
20783
20784Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20785
20786 * gdb.base/a1-selftest.exp: Add alpha xfail.
20787
20788Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20789
20790 * gdb.base/watchpoint.c (main): Prompt before calling read().
20791 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20792 Revise accordingly. Remove cruft about sending "123" several
20793 times, until it gets noticed. Clean up the "print buf[0]" stuff
20794 so that it passes or fails, and waits for prompts in the usual way.
20795
20796Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20797
20798 * gdb.base/recurse.exp: Fix comment.
20799
20800 * TODO: Remove item about printing variables in nodebug.exp. Add
20801 item about enabling tests which are only run on some targets.
20802
20803 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20804 fail, make test names unique, use new gdb_test convention
20805 regarding pattern, use gdb_test more, etc.).
20806
20807 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20808 fail, make test names unique, etc.).
20809
20810Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20811
20812 * gdb.base/nodebug.c: Change return type of top and middle to
20813 short.
20814 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20815 are fixed by the recent mdebugread.c changes. Allow `short ()'
20816 as type for top and middle.
20817
20818Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20819
20820 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20821 nearly as I can tell, the whole thing was an accident in Stu's
20822 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20823 to replace a send/expect pair with gdb_test, but ended up only
20824 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20825 of 30 Mar 1995 took care of it, but left this vestigial comment
20826 which I am now nuking.
20827
20828Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20829
20830 * gdb.base/break.exp: Look for different line number for
20831 breakpoint at main depending on usestubs.
20832
20833Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20834
20835 * gdb.base/list.exp: Adjust some alternate expect patterns to
20836 match recent list0.c change. Add alternate expect pattern for
20837 output from `list default lines around main' for optimizing
20838 compilers.
20839
20840Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20841
20842 * lib/gdb.exp: If nosignals is not set, set it to 0.
20843
20844Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20845
20846 * config/slite-gdb.exp: Responds to load symbol table prompt.
20847 * gdb.base/break.exp: Adjust line number, fix rerun.
20848 * gdb.base/langs0.c: Add #ifdef usestubs.
20849
20850Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20851
20852 * gdb.base/list.exp: Adjust line contents after adding new lines in
20853 list0.c. Also fix a syntax error.
20854
20855 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20856 * gdb.base/break.exp: ditto.
20857 * gdb.base/list.exp: ditto.
20858 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20859 * gdb.base/run.c: ditto.
20860 * gdb.base/list0.c: ditto.
20861 * gdb.base/funcargs.c: ditto.
20862
20863Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20864
20865 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20866 $targetname, $serialport and $baud instead of hardwired variables.
20867 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20868 target doesn't support signals.
20869
20870Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20871
20872 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20873
20874Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20875
20876 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20877 Don't rely on the value of an auto variable before it has been
20878 initialized. Use gdb_test more.
20879
20880Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20881
20882 * lib/gdb.exp (default_gdb_version): A version number must start
20883 with a digit, but other than that contains all characters up to
20884 the first whitespace character.
20885
20886Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20887
20888 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20889
20890Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20891
20892 * gdb.c++/*.exp: Warn if executable does not exist. The original
20893 reason for skipping the warning was that configure.in sometimes
20894 intentionally skipped building the executables but the tcl code
20895 had no way of knowing. That (a) was always bogus with respect to
20896 error handling, (b) is no longer true (right now there is no way
20897 to skip C++ tests).
20898
20899 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20900
20901Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20902
20903 * gdb.base/list.exp: Add expect patterns for output from
20904 SunPRO compiled executables.
20905 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20906 types.
20907
20908Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20909
20910 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20911 number (we are already testing that the correct source line text
20912 gets printed).
20913
20914 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20915 that is what is intended, but something needed to be done to get
20916 sunos4 native working again.
20917
20918 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20919
20920 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20921 apparently went with a (very) old xfail.
20922
20923Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20924
20925 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20926 runto_main is a proc in gdb.exp that will do 'step' for target use
20927 stubs.
20928 * gdb.base/exprs.exp: ditto.
20929 * gdb.base/interrupt.exp: ditto.
20930 * gdb.base/opaque.exp: ditto.
20931 * gdb.base/printcmds.exp: ditto.
20932 * gdb.base/ptype.exp: ditto.
20933 * gdb.base/scope.exp: ditto.
20934 * gdb.base/setvar.exp: ditto.
20935 * gdb.base/signals.exp: ditto.
20936 * gdb.base/twice.exp: ditto.
20937 * gdb.c++/classes.exp: ditto.
20938 * gdb.c++/inherit.exp: ditto.
20939 * gdb.c++/templates.exp: ditto.
20940 * gdb.base/break.exp: no run and hit main for stubs. Change line
20941 numbers for breakpoints and info breakpoint.
20942 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20943 breakpoint().
20944 * gdb.base/callfuncs.c: ditto.
20945 * gdb.base/exprs: ditto.
20946 * gdb.base/interrupt.c: ditto.
20947 * gdb.base/opaque0.c: ditto.
20948 * gdb.base/printcmds.c: ditto.
20949 * gdb.base/ptype.c: ditto.
20950 * gdb.base/scope0.c: ditto.
20951 * gdb.base/setvar.c: ditto.
20952 * gdb.base/signals.c: ditto.
20953 * gdb.base/twice.c: ditto.
20954 * gdb.c++/misc.cc: ditto.
20955 * gdb.c++/templates.cc: ditto.
20956
20957Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20958
20959 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20960
20961 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20962 somewhere between `read' and `main.c'. I'm pretty sure the
20963 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20964 and it isn't particularly useful.
20965
20966 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20967
20968Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20969
20970 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20971
20972Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20973
20974 * config/mt-slite: add LIBS and -nostdlib.
20975 * config/slite-gdb.exp: add this new file to support sparclite target.
20976
20977Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20978
20979 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20980
20981 * gdb.base/a2-run.exp: Change argument to istarget from
20982 "*-*-vxworks" to "*-*-vxworks*".
20983 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20984
20985Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20986
20987 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20988 will not runto main but do a 'step' to step out of breakpoint().
20989 * config/mt-slite: add -Dusestubs.
20990
20991Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20992
20993 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20994 instead of just @.
20995
20996 * gdb.base/signals.exp: Add test for "handle all print".
20997 * TODO: Remove "handle all print". Also remove item about
20998 checking copyright date (I don't like the idea of a spurious FAIL
20999 based on when we run the tests).
21000
21001 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21002 for SunOS4 (reason for failure not investigated). Remove
21003 redundant test for $binfile.
21004
21005 * gdb.base/nodebug.c (array_index): Call malloc.
21006
21007 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21008
21009Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21010
21011 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21012 conventions and slightly simplify the matching regexp.
21013
21014Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21015
21016 * gdb.base/break.exp: Update gdb_test invocation to use new
21017 convention.
21018
21019 * lib/gdb.exp: If noargs is not set, set it to 0.
21020
21021 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21022 tests unique.
21023
21024 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21025
21026Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21027
21028 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21029 one argument of type "<non-float parameter>".
21030
21031Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21032
21033 * config/rom68k.exp: New file to support Motorola IDP board.
21034 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21035 * gdb.base/break.c: Change things around so that this program
21036 doesn't depend upon args. This is necessary to make remote
21037 targets work (in general, they can't take args).
21038 * gdb.base/break.exp: Don't try to send args to program. Don't
21039 expect output. Also, replace lots of code with gdb_test.
21040
21041Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21042
21043 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21044 printing of '\'' (which is what the comment says we are testing,
21045 even though we were not), not '''.
21046 (test_integer_literals_rejected): Test that printing ''' is an error.
21047
21048 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21049 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21050 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21051 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21052 Use gdb_test not test_print_accept.
21053 * lib/gdb.exp: Remove test_print_accept.
21054
21055 * gdb.base/signals.exp (signal_tests_1): Make pass message
21056 consistent with fail message.
21057
21058 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21059 unsigned char; the bug (PR 1821) is fixed.
21060
21061 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21062
21063 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21064 successful tests--makes xfailing them work right.
21065
21066Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21067
21068 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21069 only \r\n, not .*. The test can pass .* as the last thing in
21070 $pattern if that is what it wants. In addition to providing this
21071 flexibility, this change should speed up pattern matching in cases
21072 where the pattern already ended with .* (there were a number of
21073 them). This change also helps catch bad patterns--in the old
21074 scheme the typo "char \*" instead of "char \\*" would pass. Now
21075 it is caught.
21076 * Many .exp files: Update callers.
21077
21078 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21079 clearer and does not spuriously match multiple ('s. Likewise for
21080 ) and *.
21081
21082 * gdb.base/nodebug.exp: Test ability to call a function and pass
21083 it a string (even with no debugging info).
21084
21085 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21086 "p '\'", which is the same as "p ''" once tcl gets done with
21087 quoting, to "p '\\'", which I suspect is what is intended (one
21088 backslash gets sent to GDB).
21089
21090 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21091
21092Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21093
21094 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21095 1817) was fixed literally years ago.
21096
21097Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21098
21099 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21100 test, it causes stepping out of call_after_alloca_subr with
21101 optimizing compilers.
21102 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21103 fails.
21104
21105 * gdb.c++/templates.exp: Source templ-info.exp only if
21106 the templates executable exists.
21107
21108 * gdb.c++/misc.cc (class Contains_static_instance,
21109 class Contains_nested_static_instance),
21110 gdb.c++/classes.exp (test_static_members): Test printing of
21111 a class that contains a static instance of the class.
21112
21113Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21114
21115 * gdb.base/langs2.c (cppsub_): Don't prototype.
21116 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21117 only, I believe).
21118
21119Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21120
21121 * lib/gdb.exp (skip_chill_tests): New procedure.
21122
21123 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21124
21125Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21126
21127 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21128 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21129
21130Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21131
21132 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21133
21134 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21135 disassemble 8, not 16, instructions for part 4.
21136
21137 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21138 support the latter anymore.
21139
21140 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21141 -DNO_PROTOTYPES.
21142 * gdb.base/callfuncs.c: Control use of prototypes based on
21143 NO_PROTOTYPES, not __STDC__.
21144 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21145 t_float_values2 tests if prototypes in use.
21146
21147 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21148 t_double_values): When checking differences against DELTA, check
21149 that difference is within the range (-DELTA,DELTA), not just
21150 (-infinity,DELTA).
21151
21152Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21153
21154 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21155 'file' command firts, then 'target', then 'load', this is due to gdb
21156 target set up.
21157 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21158
21159Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21160
21161 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21162 FP load/store variants.
21163 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21164
21165Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21166
21167 * gdb.base/term.exp: Do not give a warning if not native, it is
21168 not an abnormal condition.
21169
21170Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21171
21172 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21173 t_char_array".
21174
21175Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21176
21177 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21178 are getting the version number.
21179
21180 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21181 if not native, it is not an abnormal condition.
21182
21183Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21184
21185 * lib/gdb.exp: Just use "file exists", rather than undocumented
21186 dejagnu procedure "findfile".
21187
21188Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21189
21190 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21191 (LDFLAGS): Set to -Xlinker -Ur.
21192
21193 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21194 Removed, these values are set by lib/gdb.exp.
21195
21196 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21197
21198Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21199
21200 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21201 of replicating gdb startup code.
21202
21203 * config/mt-vxworks (LDFLAGS): Set to -r.
21204 (CFLAGS_FOR_TARGET): Removed.
21205
21206 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21207 (gdb) and gdb for vxworks uses (vxgdb).
21208
21209 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21210 executable is not in the tree and host != target, use sed and
21211 program_transform_name to determine the gdb name used by the
21212 target.
21213
21214 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21215 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21216
21217Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21218
21219 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21220 floats, chars, and shorts where there are ANSI-style function
21221 definitions.
21222
21223 * gdb.base/langs.exp, gdb.base/langs*: New test.
21224 * gdb.base/Makefile.in: Build it.
21225 * TODO: Remove item about checking that C names don't get C++
21226 demangling applied; this test tests it.
21227
21228Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21229
21230 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21231 went with the const70 xfail. The xfail went away a year ago.
21232
21233 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21234
21235 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21236 for hp300.
21237
21238 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21239
21240 * gdb.base/a1-selftest.exp: Don't run on hp300.
21241
21242Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21243
21244 * Makefile.in (site.exp): Set host_alias and target_alias as well
21245 as host_triplet and target_triplet.
21246
21247Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21248
21249 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21250
21251 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21252 places as other ecoff systems).
21253
21254 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21255 ultrix.
21256
21257Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21258
21259 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21260 remove them.
21261 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21262 variable and "variable" in addition to "data variable".
21263 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21264
21265 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21266 2.
21267 * gdb.base/list1.c (long_line): Add additional statement at start
21268 of function.
21269 * gdb.base/list.exp (test_forward_search): Update line number to
21270 reflect new statement.
21271
21272Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21273
21274 * gdb.base/signals.exp: Reinitialize searched source directories
21275 after gdb_start call.
21276
21277Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21278
21279 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21280 * gdb.stabs/Makefile.in: Likewise.
21281
21282 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21283 change. Instead split the tests into smaller pieces.
21284 * gdb.disasm/hppa.s: Corresponding changes.
21285
21286Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21287
21288 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21289 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21290
21291 * gdb.base/funcargs.exp: Modify many tests so that every test
21292 either passes or fails. Make some test names unique.
21293
21294Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21295
21296 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21297 Call stty to set interrupt character.
21298
21299 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21300 for HP assembler versus GNU assembler based on actual behavior of
21301 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21302
21303 * TODO: Suggest a few more stepping tests.
21304
21305Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21306
21307 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21308 restart GDB for h8300 after a continue.
21309 (return): Add pattern to match a29k-udi behavior.
21310 * gdb.base/nodebug.exp: Remove obsolete comment.
21311 * gdb.base/regs.exp: New file, testing of register displays.
21312 * gdb.base/return.exp: Fix typo in reference to $objdir.
21313 * gdb.base/whatis.exp: Always start with a fresh GDB.
21314
21315Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21316
21317 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21318 higher, these tests generate a lot of output.
21319
21320Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21321
21322 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21323 code following the catch silently ignored some errors; without the
21324 catch they should be thrown like any other tcl error. Also, the
21325 catch used "" instead of {} which meant all the callers who wanted
21326 to include one of the characters "[]$ had to quote it an extra time.
21327 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21328 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21329 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21330 Remove extra quoting.
21331
21332Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21333
21334 * gdb.base/commands.exp: Make test names unique; every test either
21335 passes or fails. Update some comments.
21336
21337 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21338
21339Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21340
21341 The following fixes a FAIL caused by the fact that the alpha stabs
21342 configuration didn't use the ".if alpha" code in weird.def.
21343 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21344 bit pointer, so the 32 bit version works even on the alpha.
21345 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21346 Remove the stuff which allowed us to have separate versions for
21347 alpha and everything else.
21348
21349 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21350 regexp which "info func operator\[\](" is supposed to match. Fix
21351 string to send to GDB. Note that GDB still doesn't work right. Add a
21352 new test for "info func .perator\[\](" which GDB does handle correctly.
21353
21354 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21355
21356Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21357
21358 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21359 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21360 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21361 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21362 it makes the tests harder to understand and confuses test-o-matic.
21363 The preferred style is that each test provides a PASS or a FAIL,
21364 and has a unique message (e.g. "continue #54" not just "continue")
21365 which is the same for the pass and the fail.
21366 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21367 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21368 to lib/gdb.exp.
21369 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21370 prt_accept which was basically the same thing. Likewise for
21371 test_print_reject and prt_reject.
21372 * lib/gdb.exp (test_print_reject): Add some more error message
21373 patterns to match from the former printcmds.exp (prt_reject).
21374 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21375 One defect of the passcount stuff is that some of it failed to
21376 report XPASS where appropriate.
21377 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21378 stuff before and after arg in expected pattern.
21379 (test_paddr_operator_functions): Re-do test without print_addr_of;
21380 this is the only test which seems to want extra stuff there.
21381
21382Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21383
21384 * gdb.base/nodebug.exp: Update new tests to reflect improved
21385 wording of gdb output.
21386
21387 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21388 and "ptype" work on variables in files compiled without -g.
21389 Replaces commented out "maint print msymbol" tests.
21390
21391Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21392
21393 * gdb.base/setvar.c (dummy): Call malloc.
21394
21395 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21396 losing with the irix4 sed.
21397
21398 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21399 ALRM" on irix4.
21400
21401Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21402
21403 * TODO: Remove items about corefile.exp testing new exec-file and
21404 backtrace; both are now done. Add items about printing enums.
21405
21406Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21407
21408 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21409 "get signal $thissig" test fails.
21410
21411 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21412
21413Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21414
21415 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21416 compiler warning with dec alpha compiler.
21417
21418 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21419 extra \n from gdb_test call (this explains why the prompt test
21420 that I removed yesterday was there).
21421 (user_defined_command_test): Remove extra \n and prompt test.
21422
21423 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21424 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21425 doesn't exist.
21426 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21427 Also remove alpha workaround, which turns out to be because
21428 SIGABRT == SIGLOST.
21429
21430 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21431
21432 * gdb.base/help.exp: Don't test "help show".
21433
21434Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21435
21436 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21437 "set print address" is on.
21438 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21439 pass prompt to gdb_test; gdb_test already looks for the prompt.
21440
21441 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21442
21443 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21444 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21445 was to make sure that gdb can read a core file. But (a) the "read
21446 the corefile" part didn't make it to a1-selftest.exp, we just
21447 delete the corefile after creating it, and (b) we test reading
21448 corefiles in corefile.exp anyway. Also, this test left around a
21449 xgdb process on Solaris.
21450
21451 * gdb.base/corefile.exp: Also test backtrace.
21452
21453Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21454
21455 * gdb.base/commands.exp: Test a simple user defined command with
21456 arguments and if/while statements; verify the full user command is
21457 printed by "show user".
21458
21459 * gdb.base/commands.exp: Test if/while commands as part of a
21460 breakpoint command list; verify they appear in breakpoint
21461 information.
21462
21463Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21464
21465 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21466 than by dividing by zero.
21467
21468Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21469
21470 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21471 performing an inferior call with watchpoints enabled.
21472 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21473 call.
21474
21475Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21476
21477 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21478 of "file" command.
21479
21480 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21481 Add additional pattern for when "int operator int(void);" appears
21482 in a different order.
21483
21484Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21485
21486 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21487
21488 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21489 and "signal" with ".*".
21490
21491Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21492
21493 * TODO: Add note about "handle all nostop".
21494
21495 * gdb.base/{sigall.c, sigall.exp}: New test.
21496 * gdb.base/Makefile.in: Add it.
21497
21498Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21499
21500 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21501 when invoking GDB, suppresses any windowing interface.
21502
21503Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21504
21505 * config/sim-gdb: New file, simulator testing support.
21506
21507Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21508
21509 * gdb.base/interrupt.exp: Test calling func1 twice.
21510
21511Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21512
21513 * gdb.base/list.exp (test_forward_search): Set timeout higher
21514 when we'll be getting lots of output from gdb.
21515
21516 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21517 "init_malloc" to after the expect statement. Run it if that
21518 regexp is taken, but also for two others which happen if source
21519 cannot be found.
21520
21521Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21522
21523 * gdb.base/printcmds.exp: New test, for printing register before
21524 program is running.
21525
21526Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21527
21528 * gdb.base/list.exp: Correct some alternate expect patterns
21529 to reflect changes in list1.c.
21530
21531Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21532
21533 * TODO: Add item regarding large frames.
21534
21535 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21536
21537 * TODO: Remove item about enabling return.exp; it
21538 is enabled. Suggest a few more "return" tests.
21539
21540Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21541
21542 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21543 anonymous unions.
21544
21545Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21546
21547 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21548 and pr-5646.o, so "make" is the same as "make all", not "make
21549 pr-4975.o".
21550
21551Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21552
21553 * gdb.base/list.exp: Adjust expectations to reflect changes in
21554 list1.c.
21555 (test_forward_search): New test proc.
21556 * gdb.base/list1.c (long_line): New function, has long source line.
21557
21558Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21559
21560 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21561 additional line of code that was added.
21562
21563Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21564
21565 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21566 tests so as not to overflow expect's input buffers.
21567 * gdb.disasm/hppa.exp: Corresponding changes.
21568
21569Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21570
21571 Beginnings of template debugging tests.
21572 * gdb.c++/templ-info.cc: New file to test for template
21573 debugging capability of the compiler.
21574 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21575 templ-info.cc.
21576 * gdb.c++/templates.cc: Add explicit template instantiations
21577 to enable compiling with -fno-implicit-templates. Add destructor
21578 and 'value' method to T5 class for template tests.
21579 * gdb.c++/templates.exp: Add testcases for printing of template
21580 types, setting breakpoints on template methods and calling a
21581 template method.
21582
21583Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21584
21585 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21586 branch target since some assemblers (gas-2.5) may emit a
21587 relocation for the branch instead of resolving it in the
21588 assembler.
21589
21590Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21591
21592 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21593 through signal handler.
21594
21595Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21596
21597 * configure.in (*-*-netware): Use config/mt-netware.
21598
21599 * config/mt-netware: New file.
21600 * config/mt-i386-netware: Removed, separate configs for different
21601 netware architectures are no longer needed now that we have
21602 --with-headers.
21603
21604Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21605
21606 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21607 by the recent changes to use ANSI C arithmetic conversions.
21608
21609Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21610
21611 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21612 bug involving using inferior_pid to figure out whether to select a
21613 frame.
21614
21615Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21616
21617 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21618 match the current disassembler output.
21619
21620Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21621
21622 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21623 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21624 types, expect "int" as type of integer values (for now).
21625
21626Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21627
21628 * gdb.base/commands.exp: New tests for if/while commands.
21629
21630Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21631
21632 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21633 by .*, since hex values have different syntax in Chill mode.
21634
21635Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21636
21637 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21638 linefeed from expect pattern for repeated types with indices > 9.
21639
21640Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21641
21642 First part of Fortran test suite.
21643 * gdb.fortran: New directory.
21644 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21645
21646Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21647
21648 * gdb.base/default.exp: Update expect pattern for load command
21649 without arguments.
21650
21651Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21652
21653 * configure.in: Change i386 to i[345]86.
21654 * gdb.base/configure.in: Likewise.
21655 * gdb.c++/configure.in: Likewise.
21656 * gdb.chill/configure.in: Likewise.
21657
21658Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21659
21660 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21661 patterns, since that is not a valid context for comments.
21662
21663Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21664
21665 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21666 repeated types and repeated types with indices > 9.
21667
21668Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21669
21670 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21671 2417; old bug has been fixed.
21672
21673Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21674
21675 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21676 send the newline ourselves instead of assuming gdb_test will do
21677 so when passed an empty input string.
21678
21679 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21680 stabs testcode.
21681
21682Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21683
21684 * lib/gdb.exp (gdb_test): Don't send anything if the first
21685 argument is an empty string. This makes cases where we want to
21686 match output that is already in expect's buffers (for example,
21687 matching a breakpoint after gdb_run_cmd has been called) work
21688 reliably.
21689
21690Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21691
21692 * config/netware.exp: New file.
21693
21694Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21695
21696 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21697 the -B and -L prefixes so we can find the debugging stub.
21698
21699 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21700 there and we are using the gcc from the tree.
21701
21702 * gdb.base/types.c: Removed.
21703
21704 * gdb.base/configure.in: Look for makefile fragments in ../config.
21705 Recognize i386-*-netware.
21706 * gdb.c++/configure.in: Likewise.
21707
21708Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21709
21710 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21711 the correct TCL syntax.
21712
21713Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21714
21715 * gdb.base/opaque.exp: use runto instead of messing around with
21716 breakpoints. Simplify by using gdb_test.
21717
21718 * gdb.base/bitfields.exp: restart between tests on netware targets
21719 because breakpoints aren't relocated after target death. Run
21720 processes to completion.
21721
21722 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21723
21724Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21725
21726 * Makefile.in: Remove extra tabs that confuse some versions
21727 of "make". Use the newly built gdb to test with by default,
21728 rather than the first one in the tester's search path.
21729
21730Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21731
21732 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21733
21734 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21735 condition help.
21736
21737Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21738
21739 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21740
21741 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21742 running.
21743 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21744 * gdb.base/funcargs.exp: Likewise.
21745
21746 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21747 * gdb.base/funcargs.exp: Likewise.
21748
21749 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21750 message is "".
21751
21752Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21753
21754 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21755 return,signals,twice}.exp: Handle non-existant binaries
21756 consistantly.
21757
21758 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21759 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21760 might testing a cross development system.
21761
21762Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21763
21764 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21765 runtest script is relative to ${srcdir}, not ${rootdir}.
21766
21767Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21768
21769 * gdb.base/signals.exp: Allow for optionality of breakpoint
21770 address.
21771
21772Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21773
21774 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21775
21776Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21777
21778 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21779 for size_t definition.
21780 * gdb.c++/templates.cc: Likewise
21781
21782 * config/mt-i386-netware: New file.
21783
21784 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21785 defined.
21786
21787 * gdb.base/Makefile.in: Added support for systems that name core
21788 files by appending "core" to the program name.
21789 * gdb.base/a1-selftest.exp: Likewise.
21790
21791Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21792
21793 * gdb.base/return.exp: Add comment and message for `return double'
21794 test failure on Sparc Solaris.
21795
21796Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21797
21798 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21799
21800Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21801
21802 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21803 from optimizing them away.
21804 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21805 patterns to include default constructors and assignment operators,
21806 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21807 character in the output of the virtual base pointer.
21808
21809Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21810
21811 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21812 expression match in print_addr_of to avoid unintented matches.
21813 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21814 versions up to 2.5.8.
21815
21816Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21817
21818 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21819 included file to run under newer versions of expect.
21820 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21821 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21822 Remove xfail for the virtual table of BDDHookV.
21823
21824Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21825
21826 * lib/gdb.exp (string_to_regexp): Set a default result.
21827 (default_gdb_start): Fix misleading message.
21828
21829Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21830
21831 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21832 Remove all CC, etc definitions.
21833 * config/mt-hpux: New file.
21834 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21835 (CFLAGS, LDFLAGS): Define.
21836 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21837
21838 * Makefile.in (site.exp): Don't insert host_os, etc.
21839 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21840 (distclean): Check existence of subdir.
21841 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21842 * gdb.base/Makefile.in: General cleanup and simplification.
21843 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21844 to build executables. Use default rule to build .o files.
21845 (EXPECT, RUNTEST, CC): Fix relative pathname.
21846 (site.exp): Don't insert host_os, etc.
21847 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21848 and/or SIGUSR1 defined.
21849 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21850 * gdb.c++/Makefile.in: General cleanup and simplification.
21851 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21852 (CFLAGS): Remove.
21853 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21854
21855Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21856
21857 * gdb.base/recurse.exp: Misc changes to get tests running again
21858 after Kung's changes to the watchpoint code.
21859 * gdb.base/watchpoint.exp: Likewise.
21860
21861Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21862
21863 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21864
21865Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21866
21867 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21868 * lib/gdb.exp (default_gdb_start): Define.
21869 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21870 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21871 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21872 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21873 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21874 Don't call gdb_target_udi in between tests.
21875
21876Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21877
21878 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21879 (which was basically just a local version of the same thing). In
21880 addition to avoiding duplication, gdb_test_exact is faster.
21881 * lib/gdb.exp (gdb_test_exact): Fix typo.
21882
21883 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21884 don't give an error.
21885
21886 * gdb.base/term.exp: Call delete_breakpoints before starting.
21887
21888 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21889 (t10): Add comment.
21890
21891Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21892
21893 Reorganization of the GDB Test Suite.
21894
21895 * gdb.base: New directory, contains all the basic tests.
21896 * gdb.c++: New directory, tests specific to C++.
21897 * gdb.chill: New directory, tests specific to Chill.
21898 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21899 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21900 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21901 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21902 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21903 t30-31 to chill).
21904 * */gdbme.*: Rename to match appropriate expect scripts.
21905 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21906 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21907 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21908 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21909 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21910 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21911 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21912 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21913 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21914 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21915 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21916 gdb.c++/virtfunc.cc: New names of C++ files.
21917 * gdb.chill/chillvars.ch: New name of Chill file.
21918 * gdb.base/configure.in, gdb.c++/configure.in,
21919 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21920 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21921 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21922 * configure.in (configdirs): Update to reflect directory changes.
21923 (target_abbrev): No longer define for any configuration.
21924 * Makefile.in: Cosmetic improvements to header comments.
21925
21926Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21927
21928 Various changes to gdb.t31:
21929
21930 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21931 * gdbme.ch: Make all key-words and predefineds be upper-case.
21932 * chillvars.exp: Expect key-words and predefinds in upper-case.
21933
21934 * chillvars.exp: Use gdb_test_exact many places.
21935 Change expected output for arrays (which now includes index labels).
21936
21937 * pr-5020.exp, gdme.ch (module PR_5020):
21938 New test, for PR-5020.
21939
21940Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21941
21942 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21943 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21944
21945Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21946
21947 * Makefile.in: Fix bit-rot in definitions of CHILL,
21948 CHILL_FOR_TARGET and Chill_LIB.
21949 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21950 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21951 CHILL, and CHILL_LIB.
21952
21953Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21954
21955 * Revert the previous changes. Please see Rob's directory
21956 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21957
21958Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21959
21960 * Makefile.in, configure.in, config/mips-gdb.exp,
21961 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21962 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21963 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21964 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21965 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21966 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21967 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21968 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21969 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21970 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21971 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21972 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21973 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21974 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21975 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21976 changes from 94Q1.
21977
21978Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21979
21980 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21981 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21982 Rob's new testing fragments.
21983
21984Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21985
21986 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21987 lib/gdb.exp: Replace error proc calls with perror.
21988
21989Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21990
21991 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21992 version also, match on casted version strings, and match on
21993 gdb startup case where the line numbers might be messed up.
21994
21995Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21996
21997 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21998 (CFLAGS): Delete it from here.
21999
22000Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22001
22002 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22003
22004Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22005
22006 * Makefile.in (RUNTEST): Default to just "runtest".
22007
22008Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22009
22010 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22011 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22012 the code has been restructured.
22013
22014Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22015
22016 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22017 \n, not just one of each.
22018
22019 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22020 /bin/cc gives a warning if you do.
22021
22022Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22023
22024 * gdb.t24/demangle.exp: change expect pattern of
22025 __t10ListS_link1ZUiRCUiPT0
22026
22027Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22028
22029 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22030 on local variables in recursive functions.
22031
22032 * gdb.t07/Makefile.in: Build the new test.
22033
22034Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22035
22036 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22037 directly. Instead compare the return values from actual calls.
22038
22039Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22040
22041 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22042
22043Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22044
22045 * From Peter Schauer with minor modifications.
22046 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22047 stops in mid-line in the caller. Add xfail for returning a float
22048 value on X86 targets.
22049
22050Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22051
22052 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22053 to avoid expect lossage.
22054 (fmem_LRbug_tests): Likewise.
22055 * gdb.disasm/hppa.s: Corresponding changes.
22056
22057 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22058 conditions to work with latest dejagnu/expect.
22059
22060 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22061 expected to fail on the PA.
22062 (backtrace in call with trampolines): Explicitly require main
22063 to be frame #1 (no trampolines should show up in backtrace).
22064
22065 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22066 "continue -expect".
22067 * gdb.t06/break.exp: Likewise.
22068 * gdb.t07/watchpoint.exp: Likewise.
22069 * gdb.t13/bitfields.exp: Likewise.
22070 * gdb.t15/{funcargs,return}.exp: Likewise.
22071 * gdb.stabs/weird.exp: Likewise.
22072 * config/{mips,udi}-gdb.exp: Likewise.
22073
22074 * hppa.sed: Enclose comments within a sed command to avoid
22075 losing with the old OSF1 sed.
22076
22077Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22078
22079 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22080 sequent dynix.
22081 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22082 * gdb.t15/funcargs.exp: Conditionally step again to really
22083 finish from marker_call_with_trampolines. Handle the case where
22084 the first step from within call_with_trampolines already steps
22085 us back to main.
22086 * gdb.t15/gdbme.c: Add comment to closing brace of
22087 call_with_trampolines for funcargs.exp.
22088
22089Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22090
22091 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22092 Fix typo(s).
22093
22094Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22095
22096 * gdb.t07/gdbme.c: More code for watchpoint testing.
22097
22098 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22099 "Hardware watchpoint" throughout file.
22100 (test_watchpoint_triggered_in_syscall): New test.
22101 (test_complex_watchpoint): New test.
22102
22103Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22104
22105 * gdbme.c (call_with_trampolines): New function to try and step
22106 into. Tests trampoline problems on the PA.
22107
22108 * funcargs.exp (localvars_in_indirect_call): No longer expect
22109 stepping into indirect call to fail on PAs.
22110 (test_stepping_over_trampolines): New test.
22111
22112Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22113
22114 * TODO: Add suggestions for static member function tests, and
22115 completion tests.
22116
22117Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22118
22119 * TODO: Add suggestions for "p/a" tests.
22120
22121 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22122 (default_gdb_exit): Replace all the hair with sending "quit" to
22123 the process with a simple close.
22124
22125Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22126
22127 * TODO: Add suggestions for shared library tests.
22128
22129Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22130
22131 * TODO: Add suggestions for x/s tests.
22132
22133Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22136 "enable once", and "enable breakpoints once" with ".*".
22137
22138Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22139
22140 * TODO: Add suggestions about structure passing tests.
22141
22142Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22143
22144 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22145 the primary1 test, use work around if __GNUC__ < 2.
22146 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22147 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22148 Test for bad output rather than waiting for timeout. Issue
22149 second continue only if first continue failed.
22150
22151Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22152
22153 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22154 operator[] test with gdb_test because the old code didn't seem to
22155 be getting the quoting right with the new dejagnu.
22156
22157Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22158
22159 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22160 one from the path.
22161 * Makefile.in: Use a fresh expect if there is one, use runtest
22162 from the src tree if there is one.
22163
22164Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22165
22166 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22167 next over recursive call. Revise the tests from that point on
22168 (which had been skipped) to match GDB's actual (correct) output.
22169
22170 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22171 with next over a breakpoint whose condition is false.
22172
22173 * gdb.t00/help.exp: Comment out "help set print" tests just like
22174 (and for same reason as) "help set" test.
22175
22176Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22177
22178 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22179 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22180
22181Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22182
22183 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22184 necessary gdb_target_udi.
22185
22186 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22187
22188 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22189 1838 and 2417; they are fixed.
22190
22191 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22192 gdb.t03/ptype.exp (ptype structure, ptype union):
22193 Remove xfails; the test is looser than when the xfails were added.
22194
22195 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22196 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22197
22198 * gdb.t01/run.exp: Only run shell test if isnative.
22199
22200 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22201 since "run" automatically loads if necessary. Call gdb_target_udi
22202 after the "file" since "file" kills any execution target.
22203
22204 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22205 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22206 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22207 argument for UDI.
22208
22209Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22210
22211 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22212
22213 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22214
22215Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22216
22217 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22218 properly quoting regexps. This makes the second argument to
22219 demangle a fixed string, which matches the callers, instead of a
22220 shell-style pattern which is what the previous implementation
22221 used. Update some of the callers.
22222
22223Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22224
22225 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22226 (comib_nullified_tests): Fix typo.
22227 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22228 strings. No longer expected to fail.
22229
22230 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22231 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22232 strings. No longer expected to fail.
22233
22234 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22235 string. No longer expected to fail.
22236
22237Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22238
22239 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22240 No longer expected to fail.
22241
22242 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22243 string. No longer expected to fail.
22244
22245Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22246
22247 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22248 only in the names (I probably got most of them). I was even
22249 generous with some which differed in underscores in names, and
22250 probably missed a few, and I *still* was able to remove almost a
22251 third of the file with almost no impact on testsuite coverage.
22252
22253Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22254
22255 * gdb.t00/default.exp: Match udi_attach error message as well as
22256 the one from child_attach.
22257
22258 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22259
22260 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22261
22262 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22263 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22264
22265 * Move test with enums and partial symbols back to
22266 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22267 Reverts the change of 26 May 93. Per today's change to
22268 stabs.texinfo, the behavior that weird.exp was expecting was
22269 unreasonable; what is important is that the compiler+gdb get
22270 things right, which happens with a recent gcc. Also fix the test
22271 to deal with native compilers which put out the stab gdb can't
22272 deal with.
22273
22274Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22275
22276 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22277 in the names. The main thing these accomplish is to slow things down.
22278 Many more such duplicates surely remain.
22279
22280 * gdb.t00/help.exp: Comment out "help support" test just like
22281 (and for same reason as) "help set" test.
22282
22283Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22284
22285 * gdb.t06/break.exp: Remove setup_xfails for
22286 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22287 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22288 about known bug in gcc to include up through 2.5.8.
22289 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22290 well as "_vb$".
22291 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22292 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22293 with latest gcc and gdb.
22294 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22295 well as "_vb$".
22296
22297Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22298
22299 * configure.in (hppa*-*-*): Also configure and build stabs-only
22300 tests.
22301
22302Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22303
22304 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22305 * gdb.t10/configure.in (hppa*-*-*): Use it.
22306
22307Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22308
22309 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22310
22311Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22312
22313 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22314 versions prior to 1.13.5.
22315
22316Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22317
22318 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22319 the prompt is at the start of a line.
22320
22321Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22322
22323 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22324 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22325 in the copr tests now.
22326 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22327 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22328 expected to fail.
22329
22330Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22331
22332 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22333 gdb.t31/chillvars.exp, lib/gdb.exp:
22334 Tweak to run under either version of expect.
22335 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22336 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22337 * gdb.t11/list.exp: Remove extraneous whitespace.
22338
22339Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22340
22341 * gdb.t16/printcmds.exp (test_print_strings): Accept
22342 "(unsigned char *) " before the string.
22343
22344 * TODO: Add notes about printing of fancy types and GDB expressions.
22345
22346Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22347
22348 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22349 * gdb.t06/configure.in: Don't try to compile signals test program
22350 if doing mips-idt-ecoff.
22351
22352Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22353
22354 * Most .exp files: Tweak to run under either version of expect.
22355
22356Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22357
22358 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22359 xfails; I'm not sure why they are failing, but not because of PR 1806.
22360
22361Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22362
22363 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22364 defined in lib/gdb.exp.
22365
22366Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22367
22368 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22369 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22370 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22371 have to be typeless.
22372
22373Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22374
22375 * TODO: Add suggestion for copyright year test.
22376
22377Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22378
22379 * configure.in (*-*-lynxos*): Add stabs tests.
22380
22381Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22382
22383 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22384 so insert a tab before any assembler directive in column zero.
22385
22386 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22387 stores.
22388 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22389 stores.
22390 (fpu_short_memory_tests): Likewise.
22391
22392Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22393
22394 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22395 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22396 .stabs directives in comments.
22397
22398Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22399
22400 * TODO: New file, describing tests we could write.
22401 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22402
22403Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22404
22405 * gdb.t06/signals.exp: Add kludge to force re-sync.
22406
22407 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22408 to xgdb instead of gdb, get out of gdb.
22409
22410Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22411
22412 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22413 for info.
22414
22415Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22416
22417 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22418 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22419 * gdb.stabs/hppa.sed: New sed script for the PA.
22420
22421Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22422
22423 * gdb.stabs: Re-write weird.def and configuration to use sed
22424 instead of cpp. sed is portable and POSIX; cpp is neither.
22425
22426Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22427
22428 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22429
22430Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22431
22432 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22433
22434Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22435
22436 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22437 "_vb$".
22438 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22439 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22440
22441Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22442
22443 * lib/gdb.exp: Comment out code which depends on non-existent
22444 `transform' procedure.
22445
22446Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22447
22448 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22449 * lib/gdb.exp: Transform tool name.
22450 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22451 1.1's new error handling system.
22452
22453Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22454
22455 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22456
22457Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22458
22459 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22460 They made pattern matching so slow that timeouts happened on
22461 heavily loaded systems. Now any output from "show print" which
22462 gets us back to the GDB prompt is a PASS.
22463
22464Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22465
22466 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22467
22468Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22469
22470 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22471
22472 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22473 It is not from PR 3220.
22474
22475Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22476
22477 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22478 just started failing because they depended on the order the
22479 subcommands are presented, or exact docstring text. This kind of
22480 test is a pain and has minimal benefit.
22481
22482Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22483
22484 * gdb.t09/corefile.exp: At end of test, use "core" command with
22485 no arguments.
22486
22487Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22488
22489 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22490 17}/Makefile.in: Make it possible to run the testsuite with Sun
22491 make and CC = cross gcc by adding explicit build rules for .o
22492 files.
22493
22494Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22495
22496 * gdb.t15/funcargs.exp: Don't put comments on same line as
22497 setup_xfail (@#$*%& tcl braindamage!).
22498
22499Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22500
22501 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22502
22503Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22504
22505 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22506 * gdb.t20/inherit.exp: remove three dumplicate entries.
22507
22508Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22509
22510 * gdb.t06/break.exp: For "next over recursive call", fail on any
22511 incorrect output, not just on "factorial (value=2)".
22512
22513Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22514
22515 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22516 working now. Add an xfail if accesing a bss variable causes
22517 a memory error if the target is not yet run.
22518
22519Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22520
22521 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22522 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22523 name of __st* demangling (2 strings). Did Kung really get the
22524 more than 95 others right without testing them?
22525
22526Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22527
22528 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22529
22530Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22531
22532 * configure.in (configdirs): Add gdb.disasm
22533 * gdb.disasm: New directory for GDB disassembler tests.
22534 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22535
22536Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22537
22538 * gdb.t00/help.exp: Don't test "help set".
22539
22540 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22541 from within expect statements. None of these happen anymore and
22542 they cause regressions to be silently unnoticed.
22543
22544 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22545 messages) about known failures with gcc cygnus-2.4.5-930417.
22546
22547 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22548 comp-info.exp so it gets built if it doesn't exist.
22549
22550 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22551 it is no longer used.
22552 * gdb.t13/comp-info.c: Removed.
22553
22554Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22555
22556 * gdb.t06/signals.exp: Add xfail for sun3.
22557
22558Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22559
22560 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22561 relevant because ^C doesn't get sent but failure can be reproduced
22562 interactively).
22563
22564Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22565
22566 * gdb.stabs/alpha.mt: New configuration file for alpha.
22567 * gdb.stabs/configure.in: Use it.
22568 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22569 sharing with alpha.mt, redefine long to word via preprocessor.
22570 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22571 for alpha.
22572 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22573 native cc.
22574 * gdb.t00/teststrategy.exp: Change expect string so that we
22575 consume the `(xgdb)' from the command echo and from the gdb prompt.
22576 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22577 gdb currently compares all values as long, so this failure probably
22578 applies to any configuration where LONGEST is bigger than a target int.
22579 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22580 with gcc.
22581 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22582 to handle opaque pointers, gcc is.
22583 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22584 as first argument. Include <sys/types.h> and change all operator
22585 new definitions to use size_t.
22586 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22587 now that we use size_t.
22588
22589Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22590
22591 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22592 a long or float array cast all array members to the same type.
22593 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22594 with 64 bit longs.
22595 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22596 on alpha.
22597 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22598
22599Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22600
22601 * gdb.t24 (demangle.exp): Constructors of templates have names like
22602 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22603 section 14.6 of the ARM.
22604
22605 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22606 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22607 accomplish little and slow down the testsuite.
22608
22609 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22610 Accept spaces various places.
22611
22612Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22613
22614 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22615 with watchpoint enabled.
22616
22617 * Makefile.in: Remove definition of CC and remove the second
22618 definition of CXX (the "CXX = gcc" one remains). These definitions
22619 were causing backquotes to be expanded within backquotes, which
22620 doesn't work.
22621
22622Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22623
22624 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22625
22626Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22627
22628 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22629 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22630 by mips cc and contains no stabs entries.
22631
22632Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22633
22634 * config/vx-gdb.exp: Use fake device to load files rather than
22635 NFS.
22636 * lib/gdb.exp: New proc to do "file" command.
22637 * config/unix-gdb.exp: Use new "file" proc.
22638
22639Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22640
22641 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22642 Rework board rebooting slightly.
22643 (gdb_exit): Don't exit from the remote shell; there isn't one.
22644 * gdb.stabs/weird.exp: If a program is being debugged already,
22645 kill it.
22646 * gdb.t04/setvar.exp: Stop and restart gdb.
22647 * gdb.t05/expr.exp: Likewise.
22648 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22649 restart gdb and reload the program.
22650 * gdb.t08/opaque.exp: Likewise.
22651 * gdb.t12/scope.exp: Likewise.
22652 * gdb.t13/bitfields.exp: Likewise.
22653 * gdb.t15/funcargs.exp: Likewise.
22654 * gdb.t20/classes.exp: Likewise.
22655 * gdb.t03/ptype.exp: Increase timeout.
22656 * gdb.t16/printcmds.exp (test_print_string_constants,
22657 test_print_array_constants): Likewise.
22658 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22659 * gdb.t20/classes.exp (do_tests): Likewise.
22660 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22661
22662Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22663
22664 * gdb.stabs: Renamed *wierd* to *weird*.
22665
22666Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22667
22668 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22669 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22670
22671Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22672
22673 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22674 (do_tests): Remove xfail for whatis on one_var and two_var.
22675
22676Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22677
22678 * Makefile.in: Made cross building work better by adding
22679 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22680
22681Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22682
22683 * gdb.t15/{return.c,return.exp,Makefile.in}:
22684 New test, currently commented out.
22685
22686Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22687
22688 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22689 still running and removes the leftover named socket so GDb can do
22690 clean restarts.
22691
22692Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22693
22694 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22695 console, not GDB.
22696 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22697 cross testing works better with "make check"
22698 * config/unix-gdb: Use default procedures for exit and version.
22699 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22700 with the newest VxWorks.
22701
22702Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22703
22704 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22705 old form.
22706
22707 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22708 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22709
22710 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22711
22712 * config/unix-gdb.exp: Remove this version of gdb_exit
22713 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22714 Rob says he'll look at it when he gets back to testing boards.
22715
22716Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22717
22718 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22719 an expected fail for certain ptype commands.
22720
22721 * gdb.t20/classes.exp: Update expected results of "ptype class
22722 Base1" to account for the constructor that now appears in the type.
22723
22724Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22725
22726 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22727 disappeared from list.
22728 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22729 "alldone" proc with call to cleanup and exit.
22730 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22731 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22732 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22733 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22734 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22735 "alldone" proc with simple returns that suppress remaining
22736 tests. The alldone proc went away many months ago.
22737
22738Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22739
22740 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22741
22742 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22743
22744Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22745
22746 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22747 as vax gdb will display them.
22748
22749Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22750
22751 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22752 optimizers.
22753
22754 * scope.exp: Change "bad value for localval" messages so each one
22755 is unique.
22756
22757 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22758 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22759
22760 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22761
22762Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22763
22764 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22765 doesn't exist (due to optimization).
22766
22767Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22768
22769 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22770 contains \r because the filename is long.
22771
22772 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22773 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22774
22775Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22776
22777 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22778 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22779 Ultrix.
22780 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22781 int tests.
22782 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22783
22784Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22785
22786 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22787
22788 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22789 to match does not match the passing case but still matches the
22790 failing case.
22791
22792Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22793
22794 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22795
22796Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22797
22798 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22799 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22800 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22801 Remove various versions of gdb_exit.
22802 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22803 gdb_exit.
22804 * config/unix-gdb.exp: gdb_exit remains here, and should override
22805 the generic version, since it's doing a lot of wierd stuff that
22806 the other versions aren't. FIXME, fold it in, or abandon this
22807 version.
22808
22809Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22810
22811 * gdb.t24/demangle.exp: Add tests for PR 3220.
22812
22813Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22814
22815 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22816
22817Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22818
22819 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22820 "i386-*-*". Works for i486 as well.
22821
22822 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22823 bug, and expand domain of xfail to all SVR4 systems, since the
22824 actual problem is likely to be in generic SVR4 /proc support.
22825
22826Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22827
22828 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22829
22830Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22831
22832 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22833 xfails for other systems. Match a missing 'Continuing.' as an
22834 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22835
22836 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22837 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22838 Only issue warning for missing executables if -all option is used.
22839
22840 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22841 file if -all option is used. It's like an unpredictable XFAIL.
22842
22843Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22844
22845 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22846 for dynamically linked binaries.
22847
22848 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22849
22850Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22851
22852 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22853 to state that this is a known bug in old versions of g++.
22854
22855Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22856
22857 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22858 while waiting for `Continuing'.
22859
22860Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22861
22862 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22863 in text, data, and bss.
22864 * gdb.t10/nodebug.c: Add local and global test variables for
22865 initialized and uninitialized data.
22866
22867Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22868
22869 * config/unix-gdb.exp (gdb_exit): Add "wait".
22870
22871Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22872
22873 * gdb.t06/signals.exp: xfail the continue from the handler for all
22874 targets.
22875
22876 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22877 function with watchpoints enabled, the i386 call dummy starts with
22878 a call.
22879
22880 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22881 386 bsd names its corefiles.
22882
22883Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22884
22885 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22886 compilers don't grok it.
22887 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22888 with small octal ints rather than character constants, which
22889 are signed and might not fit if first promoted to int.
22890
22891Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22892
22893 * gdb.t09/Makefile.in (clean): Remove corefile.
22894
22895Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22896
22897 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22898
22899Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22900 and Jim Kingdon (kingdon@cygnus.com)
22901
22902 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22903 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22904 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22905
22906Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22907
22908 * gdb.t17/interrupt.exp: Add xfail for hppa.
22909
22910Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22911
22912 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22913 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22914 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22915 to determine signed-ness of bitfields and use the result to setup
22916 the xfail.
22917 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22918 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22919 call line is reached if necessary.
22920
22921Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22922
22923 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22924
22925Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22926
22927 * gdb.t06/break.exp: Also test `clear' command.
22928
22929Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22930
22931 * gdb.t00/teststrategy.exp: Remove extra quote.
22932
22933 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22934 watchpoint enabled to be for all non-68k machines.
22935
22936 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22937
22938Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22939
22940 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22941 targets use aout.mt instead of ecoff.mt as gas understands
22942 standard aout format.
22943
22944Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22945
22946 * lib/gdb.exp (runto): Don't insist that function we are running to
22947 was compiled with -g.
22948
22949 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22950
22951 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22952 to get back into the read system call.
22953 Accept leading newline in case where we woke it up.
22954
22955Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22956
22957 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22958 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22959 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22960 enable ecoff configuration.
22961
22962Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22963
22964 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22965
22966Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22967
22968 * gdb.t16/printcmds.exp: Add another printf test.
22969
22970Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22971
22972 * configure.in: If configured -with-stabs on any target, add
22973 stabsdirs to configdirs.
22974
22975Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22976
22977 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22978 fun" so pattern does not match the command itself.
22979
22980Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22981
22982 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22983
22984Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22985
22986 * gdb.t17/interrupt.exp: Test for more things.
22987
22988Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22989
22990 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22991 compiler arranges the code and line numbers.
22992
22993 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22994
22995Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22996
22997 * gdb.t00/help.exp: Increase expect input buffer size.
22998
22999Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23000
23001 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23002
23003 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23004
23005 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23006
23007 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23008 [0-9]*, not just [0-9].
23009
23010Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23011
23012 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23013
23014 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23015
23016Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23017
23018 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23019
23020Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23021
23022 * gdb.t06/signals.c: Add xfails for sun3.
23023
23024 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23025
23026 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23027 test_stepping tests.
23028
23029Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23030
23031 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23032
23033 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23034
23035 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23036 rather than actually putting it through cpp twice.
23037
23038 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23039
23040Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23041
23042 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23043 no longer needed.
23044
23045Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23046
23047 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23048
23049 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23050 C++ features prints as "struct", make it a pass, not an xfail.
23051
23052Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23053
23054 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23055 Don't require VA to print as "class" rather than "struct".
23056
23057Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23058
23059 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23060
23061Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23062
23063 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23064
23065Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23066
23067 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23068 order.
23069
23070Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23071
23072 * gdb.t16/printcmds.exp: Add printf tests.
23073
23074 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23075
23076 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23077
23078Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23079
23080 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23081 pass counts, to counteract any existing or future setup_xfails.
23082
23083Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23084
23085 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23086 {BEGIN,END}_COMMON for common block instead of STAB.
23087 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23088
23089 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23090 intp_var should be N_GSYM not N_LSYM.
23091 wierd-aout.S: Use a label for the value of the N_SO.
23092 wierd.def: Remove all backslashes.
23093 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23094
23095Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23096
23097 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23098 get the expected next to inheritance3.
23099
23100Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23101
23102 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23103 now that gcc-2.4 gets it right.
23104
23105Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23106
23107 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23108
23109 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23110 generating comp-info.exp which works for cross-compilation.
23111
23112Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23113
23114 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23115 "*-*-sysv4.*".
23116
23117Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23118
23119 * gdb.t01/run.exp: Start with a fresh gdb.
23120 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23121 SVR4.x.
23122
23123Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23124
23125 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23126 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23127 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23128 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23129 things to remove.
23130
23131Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23132
23133 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23134 test cases from bug reports.
23135
23136Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23137
23138 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23139 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23140 avoid spurious xfails.
23141 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23142 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23143 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23144
23145Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23146
23147 * gdb.t00/teststrategy.exp: Rework to provide more useful
23148 description of each test, fix problem with systems that define
23149 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23150 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23151 results for "next over recursive call" so timeouts aren't taken
23152 by error.
23153
23154Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23155
23156 * gdb.t12/scope.exp: Test printing of variables before run.
23157
23158 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23159 printed in wrong order due to sorting.
23160
23161Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23162
23163 * gdb.t00/teststrategy.exp: Fix expected results for printing
23164 user entered string constant. Is array of char, prints with no
23165 address.
23166
23167 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23168 commands.
23169 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23170 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23171 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23172 of struct of char arrays.
23173 * gdb.t00/radix.exp: New tests for radix commands.
23174
23175Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23176
23177 * gdb.t16/printcmd.exp: Print a variable before running program
23178 (with xfail for AIX).
23179
23180Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23181
23182 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23183
23184 * gdb.t16/printcmd.exp: Don't print variables before running program.
23185
23186 * gdb.t06/break.exp: Don't require envp argument to main.
23187
23188 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23189
23190 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23191 Add xfails for rs6000.
23192
23193 * gdb.t02/whatis.exp: Change other tests not to re-test something
23194 we already tested.
23195
23196 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23197 each type used has a variable of that type.
23198
23199Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23200
23201 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23202
23203Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23204
23205 * configure.in: change srctrigger to be a file, not a directory
23206
23207Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23208
23209 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23210
23211 * gdb.t11/list.exp: Fixed a couple of typos.
23212
23213Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23214
23215 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23216 is fixed and PR is closed.
23217 * gdb.t16 (gdbme.c): Add simple test string variable.
23218 * gdb.t16 (printcmds.exp): Add tests with simple test string
23219 variable, primarily for boundaries on "set print elements".
23220
23221Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23222
23223 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23224 Make leading 0's optional and don't expect a tab in the middle
23225 of the number.
23226
23227 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23228
23229 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23230 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23231 don't end command passed to gdb_test with newline.
23232
23233 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23234 signed keyword away, don't expect signed bitfields to be signed.
23235
23236 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23237 printing with only as many 1's as are in the field as well as printing
23238 with 32 1's (see comment).
23239
23240Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23241
23242 * gdb.t00/default.exp: Start with a fresh gdb.
23243 * configure.in (configdirs): Remove gdb.t31 until the chill
23244 compiler works again. It no longer is able to find chillrt0
23245 since it isn't in libchill.a anymore.
23246 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23247 wierd.o, make more modular.
23248 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23249 spurious newlines that caused problems.
23250
23251Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23252
23253 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23254 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23255 gdb.stabs/wierd.{exp,def}: Many new tests.
23256
23257 * gdb.t00/default.exp: update info line for new message.
23258
23259 * gdb.t02/{whatis.exp,gdbme.c}:
23260 Test that "char *" doesn't print as "caddr_t".
23261
23262Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23263
23264 * gdb.t00/help.exp: Use .* in place of some help messages which
23265 just changed.
23266 gdb.t00/default.exp: Update "info frame" test for new message.
23267 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23268 Remove some xfails
23269
23270Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23271
23272 * gdb.t03/{gdbme.c,ptype.exp}:
23273 Add tests for typedef'd struct and union without tags.
23274 Also check "whatis" on a variable of a typedef'd enum without a tag.
23275
23276 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23277 PRMS 1823; the bug still exists but isn't reproduced by this test
23278 anymore), and remove rs6000 XFAIL (the bug is fixed).
23279
23280 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23281 duplicated from whatis.exp. For those that are left, accept
23282 "long", "long int", or "int" for long variables (whatis.exp already
23283 has an XFAIL for "int", so no need to fail it here).
23284
23285 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23286 Deal with GCC's names for types now that GDB uses the compiler's names.
23287
23288 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23289 setup_xfail's for sunos4. If we #defined the signed keyword away,
23290 don't expect GDB to know that char it is signed.
23291
23292 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23293
23294Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23295
23296 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23297 should work on any system, regardless of debugging format.
23298 * gdb.t21/demangle.exp: Move to gdb.t24.
23299 * gdb.t24/demangle.exp: Move from gdb.t21.
23300 * gdb.t24/{Makefile.in, configure.in}: New files.
23301
23302Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23303
23304 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23305 * gdb.stabs: New directory.
23306
23307Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23308
23309 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23310 not just "Quit anyway?".
23311
23312Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23313
23314 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23315 that all setup_xfails are immediately followed by clear_xfails.
23316
23317Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23318
23319 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23320 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23321 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23322 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23323 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23324 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23325 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23326 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23327 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23328 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23329 gdb.t31/chillvars.exp, lib/gdb.exp:
23330 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23331 bug-gdb@prep.ai.mit.edu.
23332
23333Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23334
23335 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23336 with 0.0, not integer 0.
23337
23338Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23339
23340 * gdb.t06/break.exp: Update for "Kill the program" message change.
23341
23342Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23343
23344 * Makefile.in (GDBFLAGS): Set to -nx.
23345 * Makefile.in (site.exp): Use GDBFLAGS.
23346
23347Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23348
23349 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23350 Makefiles.
23351 (check): depend on just-check.
23352 (just-check): added so that tests can be run without a noop
23353 build pass.
23354
23355Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23356
23357 Switch to using configure's configdirs.
23358 * Makefile.in (Makefile): add configure.in dependency.
23359 (SUBDIRS): removed redundant assignment.
23360 * configure.in: switch subdirs assignment to configdirs.
23361 * gdb.t*/configure.in: new files.
23362
23363Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23364
23365 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23366 works.
23367
23368Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23369
23370 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23371 in explicit rules. Apparently this is not supported by some makes.
23372
23373Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23374
23375 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23376
23377Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23378
23379 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23380 disappeared.
23381
23382Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23383
23384 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23385
23386Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23387
23388 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23389 watchpoint problem that is now fixed.
23390 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23391 uninitialized convenience variables.
23392 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23393 structures.
23394
23395Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23396
23397 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23398 which causes expect to get out of sync with gdb on long output
23399 from help set.
23400 * gdb.t09/corefile.exp: Make expected pattern for core file
23401 failing signal and frame output format less sun specific.
23402
23403Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23404
23405 * gdb.t31/chillvars.exp: Add and remove initial dummy
23406 breakpoint, so that symbol table is forced in.
23407 (Needed at least on Sunos4, though it seems not SVR4.)
23408 * gdb.t31/chillvars.exp: Update for changed output format.
23409
23410Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23411
23412 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23413
23414Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23415
23416 * Makefile.in: Added --srcdir when invoking runtest, removed the
23417 need for a local config file. (optional now)
23418
23419Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23420
23421 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23422 failure count used to force early termination. Add some more
23423 expected failures for gnu style demangling.
23424
23425Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23426
23427 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23428 pmi variable from gdb.t20/gdbme to get optimized away.
23429 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23430 Check for written corefile upon timeout _and_ eof.
23431
23432Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23433
23434 * config/unix-gdb.exp: Add missing return 0.
23435
23436Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23437
23438 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23439 test termination.
23440
23441Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23442
23443 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23444 disappeared.
23445
23446Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23447
23448 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23449 time as i860 support works.
23450
23451 * gdb.t15/funcargs.exp: Fix expected outputs to include
23452 "backtrace 100\r" rather than just "backtrace\r", to match last
23453 change.
23454
23455Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23456
23457 * config/udi-gdb.exp (gdb_exit): Remove close command.
23458 (gdb_target_udi): New procedure to set the UDI target.
23459 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23460 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23461 Added waits for prompts after several question responses. Added
23462 some more responses used by a29k-amd-udi-gdb.
23463 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23464 pass different arguments, restart UDI connection after program
23465 completion.
23466 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23467 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23468 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23469 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23470 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23471 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23472 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23473 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23474 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23475 after program completion.
23476 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23477 compiled with a SELECT_VECS setting.
23478 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23479 infinite recursion.
23480
23481 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23482 Added checks for COFF results, and made them expected failures for
23483 all targets. It would be better to make them expected failures
23484 for COFF targets only.
23485
23486Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23487
23488 * Makefile.in: add null dvi target, don't bother to recurse
23489 through test directories for info and install-info; rename
23490 $(datadir) to be dejagnu instead of deja-gnu
23491
23492Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23493
23494 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23495 compiler to coredump.
23496 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23497 code.
23498
23499Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23500
23501 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23502 coredump.
23503 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23504 code.
23505
23506Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23507
23508 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23509 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23510 which in a shell. Deletes xgdb when done.
23511 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23512 Tests the return from the "set height" or "set width" commands.
23513 Added a few return codes where needed.
23514
23515Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23516
23517 * Makefile.in (SUBDIRS): Add gdb.t17.
23518 * configure.in (subdirs): Add gdb.t17.
23519 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23520 files to test gdb's calling of functions in the inferior with
23521 the correct arguments and gdb's ability to retrieve any
23522 result returned.
23523
23524Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23525
23526 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23527 may be called after gdb goes away. Previous versions of expect
23528 needed these to avoid file descriptor leaks, but they cause
23529 errors with the current revision of expect.
23530 * gdb.t00/gdbvars.exp: Use -re on expected output after
23531 setting sevenbit-strings.
23532 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23533 to set sevenbit-strings consistent across tests.
23534 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23535 set sevenbit-strings consistent across tests.
23536
23537Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23538
23539 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23540 expected output to match current "expect" expectations.
23541
23542Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23543
23544 * gdb.t00/default.exp: Change expected output for default "source"
23545 command, to match new gdb behavior which requires a filename to
23546 source.
23547
23548Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23549
23550 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23551 expected fail for i486-*-* that misses the marker2 function.
23552 * gdb.t10/crossload.exp (bfddefault): Allow successful
23553 recognition of a format to pass even if no symbols are found.
23554 Explicitly catch failures where the format is not recognized
23555 or is ambiguous, and add the reason to the fail message.
23556 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23557 the cause is and invalid target and add reason to failure message.
23558 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23559 elf32-i386, elf32-sparc, and elf32-i860.
23560 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23561 Set up expected failure for 'filename'::variable scope resolution,
23562 which is now apparently broken on all targets.
23563 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23564 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23565 gdb.t23/templates.exp: Change failure for missing binfile into
23566 just a warning.
23567 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23568 references.
23569
23570Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23571
23572 * gdb.t00/default.exp: Add expected output for default "source"
23573 command, to match new gdb behavior.
23574 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23575
23576Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23577
23578 * config/*-gdb.exp: returns an error, rather than exiting on
23579 internal errors.
23580
23581Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23582
23583 * gdb.t03/gdbme.c: Add pointer to struct variable.
23584 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23585 referencing struct members.
23586
23587Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23588
23589 * configure.in (mips-idt-ecoff): New target.
23590 * config/mips-gdb.exp: New file for remote board using MIPS remote
23591 debugging protocol.
23592
23593 * Redid configuration scheme. Removed gdb.t*/configure.in.
23594 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23595 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23596 distclean targets. Built executables via .o files. Adjusted
23597 tests to account for source files in $(srcdir) rather than
23598 $(objdir).
23599 * lib/gdb.exp (runto): Don't expect () after the function name,
23600 because it may have arguments.
23601
23602Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23603
23604 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23605 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23606 expected failures for mips-idt-* and mips-sgi-*.
23607 * gdb.t00/default.exp (attach): Kill process if requested.
23608 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23609 that does not read core files.
23610 * gdb.t01/run.exp: Removed checks for exit status code.
23611 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23612 it is linked in.
23613 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23614 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23615 appropriate, rather than doing it by hand.
23616 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23617 execution.
23618 * gdb.t10/crossload.exp: Kill existing program if needed.
23619 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23620 appropriate, rather than doing it by hand. Always increase
23621 timeout for this test, not just for VxWorks.
23622
23623Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23624
23625 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23626 of Chill STRUCT types and STRUCT values.
23627 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23628 than "char".
23629 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23630 struct2): New struct definitions and initializations to test
23631 simple Chill STRUCT types.
23632
23633Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23634
23635 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23636 the null byte at the end of strings.
23637 * gdb.t00/default.exp: Make show version insensitive to copyright
23638 date.
23639 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23640 to avoid dependencies on target char signedness.
23641 * gdb.t16/printcmds.exp: Update expected results for explicitly
23642 unsigned char.
23643 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23644 now work.
23645 * gdb.t21/demangle.exp: Add many more patterns for template
23646 demangling, most of them being expected failures.
23647 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23648 string we are matching for, to match on the whole string.
23649 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23650 and fix a whole bunch that had incorrect expected output but were
23651 passing anyway because of the bug in "proc demangle".
23652 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23653 type.
23654 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23655
23656Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23657
23658 * gdb/testsuite: made modifications to testcases, etc., to allow
23659 them to work properly given the reorganization of deja-gnu and the
23660 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23661
23662Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23663
23664 * gdb/testsuite: Initial creation of gdb/testsuite.
23665 Migrated dejagnu testcases and support files for testing nm to
23666 gdb/testsuite from deja-gnu. These files were moved "as is"
23667 with no modifications. This migration is part of a major overhaul
23668 of dejagnu. The modifications to these testcases, etc., which
23669 will allow them to work with the new version of dejagnu will be
23670 made in a future update.
23671
23672 For additional changes see gdb.mi/ChangeLog-1999-2003.
23673\f
23674;; Local Variables:
23675;; mode: change-log
23676;; left-margin: 8
23677;; fill-column: 74
23678;; version-control: never
23679;; End:
23680
23681 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23682 2003, 2004, 2005 Free Software Foundation, Inc.
23683 Copying and distribution of this file, with or without modification,
23684 are permitted provided the copyright notice and this notice are preserved.
This page took 0.159541 seconds and 4 git commands to generate.