include/elf/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * gdb.python/py-section-script.exp: Skip test if no Python support.
4
5 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
6
7 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
8
9 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
10
11 * gdb.python/py-parameter.exp: Update tests to the new Python
12 parameter API. Add "no documentation" test. Add deprecated API
13 backward compatibility test.
14
15 2011-03-09 Tom Tromey <tromey@redhat.com>
16
17 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
18 gdb_continue_to_end.
19
20 2011-03-09 Mark Kettenis <kettenis@gnu.org>
21
22 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
23 tabs.
24
25 2011-03-09 Tom Tromey <tromey@redhat.com>
26
27 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
28 parentheses.
29 (gdb_continue_to_end): Add "allow_extra" parameter. Use
30 $command.
31 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
32 argument to gdb_continue_to_end.
33 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
34 argument to gdb_continue_to_end.
35 * gdb.cp/annota3.exp: Fix regex.
36 * gdb.cp/annota2.exp: Fix regex.
37 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
38 gdb_continue_to_end.
39 * gdb.base/call-signal-resume.exp: Revert earlier patch.
40 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
41 gdb_continue_to_end.
42
43 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 * gdb.server/ext-run.exp
46 (load new file without any gdbserver inferior): New test.
47
48 2011-03-07 Tom Tromey <tromey@redhat.com>
49
50 * Makefile.in (TAGS): Rewrite.
51
52 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
53
54 * gdb.trace/report.exp (12.1: trace report #1): New match for the
55 initial commands echo. New match for `Found trace'. Anchor all the
56 other matches. Anchor and match for `No trace frame found' the final
57 match.
58
59 2011-03-07 Tom Tromey <tromey@redhat.com>
60
61 * Makefile.in (TAGS): New target.
62
63 2011-03-07 Tom Tromey <tromey@redhat.com>
64
65 * lib/opencl.exp (skip_opencl_tests): Update for exit message
66 change.
67 * lib/mi-support.exp (mi_gdb_test): Update for exit message
68 change.
69 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
70 exit message change.
71 (skip_altivec_tests): Update for exit message change.
72 (skip_vsx_tests): Likewise.
73 (gdb_continue_to_end): Likewise. Add 'command' argument.
74 * lib/cell.exp (skip_cell_tests): Update for exit message change.
75 * gdb.threads/tls.exp: Update for exit message change.
76 * gdb.threads/thread-unwindonsignal.exp: Use
77 gdb_continue_to_end.
78 * gdb.threads/step.exp (step_it): Update for exit message change.
79 (continue_all): Likewise.
80 * gdb.threads/print-threads.exp (test_all_threads): Update for
81 exit message change.
82 * gdb.threads/interrupted-hand-call.exp: Use
83 gdb_continue_to_end.
84 * gdb.threads/execl.exp: Use gdb_continue_to_end.
85 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
86 gdb_continue_to_end.
87 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
88 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
89 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
90 * gdb.cp/method.exp: Update for exit message change.
91 * gdb.cp/mb-templates.exp: Update for exit message change.
92 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
93 * gdb.cp/annota3.exp: Update for exit message change.
94 * gdb.cp/annota2.exp: Update for exit message change.
95 * gdb.cell/fork.exp: Use gdb_continue_to_end.
96 * gdb.base/term.exp: Update for exit message change.
97 * gdb.base/step-test.exp (test_i): Update for exit message change.
98 * gdb.base/sigstep.exp (advance): Update for exit message change.
99 (advancei): Likewise.
100 * gdb.base/siginfo.exp: Update for exit message change.
101 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
102 * gdb.base/reread.exp: Use gdb_continue_to_end.
103 * gdb.base/langs.exp: Use gdb_continue_to_end.
104 * gdb.base/interrupt.exp: Update for exit message change.
105 * gdb.base/gdb1555.exp: Update for exit message change.
106 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
107 * gdb.base/ending-run.exp: Update for exit message change.
108 * gdb.base/chng-syms.exp: Update for exit message change.
109 * gdb.base/checkpoint.exp: Update for exit message change.
110 * gdb.base/catch-syscall.exp (check_for_program_end): Use
111 gdb_continue_to_end.
112 (test_catch_syscall_with_wrong_args): Likewise.
113 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
114 * gdb.base/break-interp.exp (test_ld): Update for exit message
115 change.
116 * gdb.base/bang.exp: Update for exit message change.
117 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
118 (do_call_attach_tests): Likewise.
119 * gdb.base/a2-run.exp: Update for exit message change.
120 * gdb.arch/ppc-dfp.exp: Update for exit message change.
121 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
122 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
123
124 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
125
126 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
127
128 2011-03-03 Tom Tromey <tromey@redhat.com>
129
130 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
131 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
132 * gdb.hp/gdb.aCC/configure.ac: Remove.
133 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
134 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
135 * gdb.hp/gdb.base-hp/configure.ac: Remove.
136 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
137 * gdb.hp/gdb.compat/configure (Makefile): Remove.
138 * gdb.hp/gdb.compat/configure.ac: Remove.
139 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
140 * gdb.hp/gdb.defects/configure (Makefile): Remove.
141 * gdb.hp/gdb.defects/configure.ac: Remove.
142 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
143 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
144 * gdb.hp/gdb.objdbg/configure.ac: Remove.
145 * gdb.hp/configure.ac: Remove.
146 * gdb.hp/configure: Remove.
147 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
148 substitution.
149 (Makefile): Remove rule.
150 * gdb.cell/configure.ac: Remove.
151 * gdb.cell/configure: Remove.
152 * gdb.stabs/Makefile.in (Makefile): Remove.
153 (distclean): Don't remove config.status or config.log.
154 * gdb.stabs/configure (Makefile): Remove.
155 * gdb.stabs/configure.ac: Remove.
156 * configure: Rebuild.
157 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
158 Remove stabs- and cell-specific logic. Test for existence of
159 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
160 subdirectories, gdb.cell, and and gdb.stabs.
161 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
162
163 2011-03-03 Joel Brobecker <brobecker@adacore.com>
164
165 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
166 end of buffer.
167
168 2011-03-02 Joel Brobecker <brobecker@adacore.com>
169
170 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
171 gdb_test when running a test where we expected no output back.
172
173 2011-02-28 Michael Snyder <msnyder@vmware.com>
174
175 * gdb.cp/overload.cc: Change initializer value to integer.
176
177 2011-02-27 Michael Snyder <msnyder@vmware.com>
178
179 * gdb.multi/base.exp: Add test for remove-inferiors.
180
181 2011-02-26 Joel Brobecker <brobecker@adacore.com>
182
183 * gdb.python/py-frame.exp: Simplify the initialization phase
184 using prepare_for_testing.
185
186 2011-02-25 Michael Snyder <msnyder@vmware.com>
187
188 * gdb.multi/base.exp: Add tests for info inferiors with args.
189
190 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
191
192 * gdb.dwarf2/dw2-ranges.S: Rename to ...
193 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
194 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
195 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
196 asmfile3. Comment the STABS (#3) file compilation. Compile
197 everything through assembler. Provide KFAIL for symtab/12497.
198 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
199 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
200 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
201 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
202
203 2011-02-24 Michael Snyder <msnyder@vmware.com>
204
205 * gdb.base/break.exp: Add tests for delete breakpoints using
206 convenience variables and value history references.
207
208 2011-02-24 Michael Snyder <msnyder@vmware.com>
209
210 * gdb.base/break.exp: Remove debugging 'printf' accidentally
211 left behind in previous check-in.
212
213 2011-02-23 Michael Snyder <msnyder@vmware.com>
214
215 * gdb.base/break.exp: Add tests for "info break" with arguments.
216 * gdb.trace/infotrace.exp: Update patterns for error and help.
217 * gdb.base/completion.exp: Update pattern.
218 * gdb.base/ena-dis-br.exp: Update pattern.
219 * gdb.base/help.exp: Update patterns.
220
221 2011-02-23 Michael Snyder <msnyder@vmware.com>
222
223 * gdb.base/memattr.exp: New test.
224 * gdb.base/memattr.c: Test load for memattr.exp.
225
226 2011-02-22 Doug Evans <dje@google.com>
227
228 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
229
230 2011-02-22 Michael Snyder <msnyder@vmware.com>
231
232 * Makefile.in: Make more clean.
233 * gdb.ada/Makefile.in: Ditto.
234 * gdb.arch/Makefile.in: Ditto.
235 * gdb.asm/Makefile.in: Ditto.
236 * gdb.base/Makefile.in: Ditto.
237 * gdb.cp/Makefile.in: Ditto.
238 * gdb.dwarf2/Makefile.in: Ditto.
239 * gdb.java/Makefile.in: Ditto.
240 * gdb.mi/Makefile.in: Ditto.
241 * gdb.modula2/Makefile.in: Ditto.
242 * gdb.python/Makefile.in: Ditto.
243 * gdb.server/Makefile.in: Ditto.
244 * gdb.stabs/Makefile.in: Ditto.
245 * gdb.threads/Makefile.in: Ditto.
246 * gdb.trace/Makefile.in: Ditto.
247
248 2011-02-22 Michael Snyder <msnyder@vmware.com>
249
250 * gdb.threads/thread-find.exp: Add tests for bad input to
251 info threads.
252
253 2011-02-22 Joel Brobecker <brobecker@adacore.com>
254
255 * gdb.python/py-breakpoint.exp: Fix the expected output of
256 one of the "maint info breakpoints" tests to accept the output
257 generated on platforms that do not have hardware watchpoints.
258
259 2011-02-22 Joel Brobecker <brobecker@adacore.com>
260
261 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
262 clean_restart. Be a little stricter in the expected output
263 for one of the tests. Fix a typo in one of the comments.
264
265 2011-02-22 Joel Brobecker <brobecker@adacore.com>
266
267 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
268 Delete variable binfile, no longer use. Add or modify test
269 comments to make them unique.
270
271 2011-02-21 Michael Snyder <msnyder@vmware.com>
272
273 * Makefile.in: Update for make clean.
274 * gdb.ada/Makefile.in: Ditto.
275 * gdb.arch/Makefile.in: Ditto.
276 * gdb.asm/Makefile.in: Ditto.
277 * gdb.base/Makefile.in: Ditto.
278 * gdb.cp/Makefile.in: Ditto.
279 * gdb.dwarf2/Makefile.in: Ditto.
280 * gdb.java/Makefile.in: Ditto.
281 * gdb.mi/Makefile.in: Ditto.
282 * gdb.modula2/Makefile.in: Ditto.
283 * gdb.python/Makefile.in: Ditto.
284 * gdb.server/Makefile.in: Ditto.
285 * gdb.stabs/Makefile.in: Ditto.
286 * gdb.threads/Makefile.in: Ditto.
287 * gdb.trace/Makefile.in: Ditto.
288
289 2011-02-21 Michael Snyder <msnyder@vmware.com>
290
291 * gdb.threads/thread-find.exp: Update patterns for changes in
292 output of "info threads" command.
293
294 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
295 Ulrich Weigand <uweigand@de.ibm.com>
296
297 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
298 (skip_hw_watchpoint_tests): Likewise.
299 (skip_hw_watchpoint_multi_tests): Likewise.
300
301 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
302
303 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
304 (skip_hw_watchpoint_tests): Likewise.
305 (skip_hw_watchpoint_multi_tests): Likewise.
306 (skip_hw_watchpoint_access_tests): Likewise.
307
308 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
309 * gdb.base/pr11022.exp: Likewise.
310 * gdb.base/watch-read.exp: Likewise.
311 * gdb.base/watch_thread_num.exp: Likewise.
312 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
313 * gdb.base/watchpoint-hw.exp: Likewise.
314 * gdb.base/watchpoint.exp: Likewise.
315 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
316 * gdb.threads/watchthreads-reorder.exp: Likewise.
317 * gdb.threads/watchthreads.exp: Likewise.
318 * gdb.threads/watchthreads2.exp: Likewise.
319
320 2011-02-21 Joel Brobecker <brobecker@adacore.com>
321
322 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
323 the debugger is unable to find the array bounds.
324
325 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
326
327 * gdb.cp/typedef-operator.exp: New file.
328 * gdb.cp/typedef-operator.cc: New file.
329
330 2011-02-17 Michael Snyder <msnyder@vmware.com>
331
332 * gdb.threads/thread-find.exp: Fix regular expressions.
333
334 2011-02-17 Joel Brobecker <brobecker@adacore.com>
335
336 * gdb.ada/packed_array: Expand testcase to test printing of
337 unconstrained packed array.
338
339 2011-02-17 Joel Brobecker <brobecker@adacore.com>
340
341 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
342
343 2011-02-16 Pedro Alves <pedro@codesourcery.com>
344
345 * gdb.trace/collection.c (globalarr3): New global.
346 (main): Initialize it before collecting, and and clear it
347 afterwards.
348 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
349 collecting with '{type} addr', where the addr expression is not an
350 rvalue.
351
352 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
353
354 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
355 a bool variable. Expect correct OpenCL names for vector types. Use the
356 uc3 variable name instead of referring to the uchar3 built-in type.
357 Escape the asterisk at the half pointer test.
358
359 2011-02-16 Pedro Alves <pedro@codesourcery.com>
360
361 * gdb.trace/collection.c (globalarr2): New global.
362 (main): Initialize it before collecting, and and clear it
363 afterwards.
364 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
365 collecting overlapping memory ranges.
366
367 2011-02-15 Michael Snyder <msnyder@vmware.com>
368
369 * gdb.base/default.exp: Add tests for thread commands.
370 * gdb.base/help.exp: Add tests for thread commands.
371 * gdb.threads/thread-find.exp: New test for thread find command.
372
373 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
374
375 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
376
377 2011-02-15 Yao Qi <yao@codesourcery.com>
378
379 PR tdep/12352
380 * gdb.arch/arm-disp-step.S : New test for str instruction.
381 * gdb.arch/arm-disp-step.exp : Likewise.
382
383 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
384
385 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
386 "vector_register2_vr" test strings. Test the extended floating
387 point registers (F32~F63).
388 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
389 IBM XL C compiler. Make the test program use a register provided
390 by the compiler for the lxvd2x instruction.
391
392 2011-02-14 Pedro Alves <pedro@codesourcery.com>
393
394 * gdb.trace/unavailable.cc (class Base, class Middle, class
395 Derived): New types.
396 (derived_unavail, derived_partial, derived_whole): New globals.
397 (virtual_partial): New global.
398 (virtualp): Point at virtual_partial.
399 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
400 related to unavailable vptr.
401
402 2011-02-14 Pedro Alves <pedro@codesourcery.com>
403
404 * gdb.trace/unavailable.cc (a, b, c): New globals.
405 (main): Set and clear them.
406 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
407 `a' and `c', and check that `b' isn't collected, although `a' and
408 `c' are.
409
410 2011-02-14 Pedro Alves <pedro@codesourcery.com>
411
412 * gdb.trace/unavailable.cc (struct Virtual): New.
413 (virtualp): New global pointer.
414 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
415 printing a pointer to an object whose type has a vtable, with
416 print object on.
417
418 2011-02-14 Pedro Alves <pedro@codesourcery.com>
419
420 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
421 value repeat handles unavailableness.
422
423 2011-02-14 Pedro Alves <pedro@codesourcery.com>
424
425 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
426 tests for building arrays from unavailable values, subscripting
427 non-memory rvalue unvailable arrays, and accessing fields or
428 baseclasses of non-lazy unavailable values,
429 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
430 struct types.
431 (g_smallstruct, g_smallstruct_b): New globals.
432
433 2011-02-14 Pedro Alves <pedro@codesourcery.com>
434
435 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
436
437 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
438
439 Fix const/volatile qualifiers of C++ types, PR c++/12328.
440 * gdb.cp/overload-const.exp: New file.
441 * gdb.cp/overload-const.cc: New file.
442
443 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
444
445 * gdb.opencl/callfuncs.cl: New file.
446 * gdb.opencl/callfuncs.exp: New test.
447 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
448
449 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
450
451 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
452 when computing result.
453 * gdb.arch/altivec-abi.exp: Update expected results.
454
455 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
456
457 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
458 * gdb.base/jit.exp: Likewise.
459 * gdb.base/pie-execl.exp: Likewise.
460 * gdb.base/solib-nodir.exp: Likewise.
461 * gdb.base/solib-overlap.exp: Likewise.
462
463 2011-02-07 Pedro Alves <pedro@codesourcery.com>
464
465 * gdb.trace/collection.c (global_pieces): New.
466 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
467 New procedure.
468 (gdb_trace_collection_test): Call it.
469
470 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
471
472 * gdb.python/py-evthreads.c: New file.
473 * gdb.python/py-evthreads.exp: New file.
474 * gdb.python/py-events.py: New file.
475 * gdb.python/py-events.exp: New file.
476 * gdb.python/py-events.c: New file.
477
478 2011-02-04 David Daney <ddaney@caviumnetworks.com>
479
480 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
481
482 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
483
484 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
485 gdb.base/disasm-end-cu.exp: New test for disassembling over the
486 boundary between two compilation units.
487
488 2011-02-02 Pedro Alves <pedro@codesourcery.com>
489
490 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
491 (Virtual): New structs.
492 (virtual_o, virtual_middle_b): New globals.
493 * gdb.cp/virtbase.exp: New tests.
494
495 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
496
497 * gdb.base/jit.exp: New file.
498 * gdb.base/jit-main.c: New file.
499 * gdb.base/jit-solib.c: New file.
500
501 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
502
503 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
504 proceed to initial kernel entry point.
505 * gdb.opencl/datatypes.exp: Likewise.
506 * gdb.opencl/operators.exp: Likewise.
507 * gdb.opencl/vec_comps.exp: Likewise.
508
509 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
510
511 * gdb.cp/nsnested.cc: New.
512 * gdb.cp/nsnested.exp: New.
513 * gdb.cp/nsnoimports.exp: New.
514 * gdb.cp/nsnoimports.cc: New.
515
516 2011-01-31 Joel Brobecker <brobecker@adacore.com>
517
518 * gdb.base/interact.exp: Add extra tests that verify that
519 the value of the interactive-mode setting does not change
520 after the script is sourced.
521
522 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
523
524 * gdb.cp/noparam.exp: New file.
525 * gdb.cp/noparam.cc: New file.
526
527 2011-01-28 Pedro Alves <pedro@codesourcery.com>
528
529 * gdb.trace/tfile.exp: Test that with no traceframe selected,
530 there's no stack or registers.
531
532 2011-01-26 Tom Tromey <tromey@redhat.com>
533
534 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
535 space before string output. Add test for "set print pretty off"
536 case.
537
538 2011-01-25 Pedro Alves <pedro@codesourcery.com>
539
540 * gdb.base/frame-args.exp: Adjust.
541 * gdb.dwarf2/dw2-noloc.exp: Adjust.
542 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
543 * gdb.dwarf2/pieces.exp: Adjust.
544 * gdb.opt/clobbered-registers-O2.exp: Adjust.
545 * gdb.opt/inline-locals.exp: Adjust.
546 * gdb.threads/fork-child-threads.exp: Adjust.
547
548 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
549
550 * gdb.opencl/convs_casts.cl: Move program scope variables into the
551 OpenCL kernel function. Add a comment as marker. Add address space
552 qualifiers for the remaining program scope variables.
553 * gdb.opencl/datatypes.cl: Likewise.
554 * gdb.opencl/operators.cl: Likewise.
555 * gdb.opencl/vec_comps.cl: Likewise.
556 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
557 Add breakpoint at the marker comment.
558 * gdb.opencl/datatypes.exp: Likewise.
559 * gdb.opencl/operators.exp: Likewise.
560 * gdb.opencl/vec_comps.exp: Likewise.
561
562 2011-01-24 Pedro Alves <pedro@codesourcery.com>
563
564 * gdb.base/printcmds.c (some_struct): New struct and instance.
565 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
566 procedure.
567 <global scope>: Call it.
568
569 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
570
571 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
572 argument to the gdb_compile_opencl_hostapp call.
573
574 2011-01-19 Yao Qi <yao@codesourcery.com>
575
576 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
577 positve list.
578
579 2011-01-19 Yao Qi <yao@codesourcery.com>
580
581 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
582 canonical form.
583 Remove "xscale-*-*"
584 * gdb.xml/tdesc-regs.exp: Likewise.
585 * gdb.python/py-section-script.exp: Replace ARM target triplet
586 with canonical form.
587 Match arm*-*-symbianelf*.
588 * gdb.base/dup-sect.exp: Likewise.
589 * lib/dwarf.exp: New.
590 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
591 dwarf2_support.
592 * gdb.dwarf2/dup-psym.exp: Likewise.
593 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
594 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
595 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
596 * gdb.dwarf2/dw2-basic.exp: Likewise.
597 * gdb.dwarf2/dw2-compressed.exp: Likewise.
598 * gdb.dwarf2/dw2-const.exp: Likewise.
599 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
600 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
601 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
602 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
603 * gdb.dwarf2/dw2-filename.exp: Likewise.
604 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
605 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
606 * gdb.dwarf2/dw2-intercu.exp: Likewise.
607 * gdb.dwarf2/dw2-intermix.exp: Likewise.
608 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
609 * gdb.dwarf2/dw2-noloc.exp: Likewise.
610 * gdb.dwarf2/dw2-op-call.exp: Likewise.
611 * gdb.dwarf2/dw2-producer.exp: Likewise.
612 * gdb.dwarf2/dw2-ranges.exp: Likewise.
613 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
614 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
615 * gdb.dwarf2/dw2-strp.exp: Likewise.
616 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
617 * gdb.dwarf2/implptr.exp: Likewise.
618 * gdb.dwarf2/mac-fileno.exp: Likewise.
619 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
620 * gdb.dwarf2/pieces.exp: Likewise.
621 * gdb.dwarf2/pr11465.exp: Likewise.
622 * gdb.dwarf2/valop.exp: Likewise.
623 * gdb.dwarf2/watch-notconst.exp: Likewise.
624 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
625
626 2011-01-19 Tom Tromey <tromey@redhat.com>
627
628 * gdb.python/py-infthread.exp: Add thread tests.
629
630 2011-01-14 Joel Brobecker <brobecker@adacore.com>
631
632 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
633
634 2011-01-14 Joel Brobecker <brobecker@adacore.com>
635
636 * gdb.ada/widewide: New testcase.
637
638 2011-01-13 Joel Brobecker <brobecker@adacore.com>
639
640 * gdb.base/interact.exp: New testcase.
641
642 2011-01-12 Tom Tromey <tromey@redhat.com>
643
644 * gdb.mi/gdb2549.exp: Update for error message changes.
645 * gdb.mi/mi-cli.exp: Likewise.
646 * gdb.mi/mi-disassemble.exp: Likewise.
647 * gdb.mi/mi-pthreads.exp: Likewise.
648 * gdb.mi/mi-regs.exp: Likewise.
649 * gdb.mi/mi-stack.exp: Likewise.
650 * gdb.mi/mi-var-block.exp: Likewise.
651 * gdb.mi/mi-var-cmd.exp: Likewise.
652 * gdb.mi/mi2-cli.exp: Likewise.
653 * gdb.mi/mi2-disassemble.exp: Likewise.
654 * gdb.mi/mi2-pthreads.exp: Likewise.
655 * gdb.mi/mi2-regs.exp: Likewise.
656 * gdb.mi/mi2-stack.exp: Likewise.
657 * gdb.mi/mi2-var-block.exp: Likewise.
658 * gdb.mi/mi2-var-cmd.exp: Likewise.
659
660 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
661 Jan Kratochvil <jan.kratochvil@redhat.com>
662
663 PR fortran/11104 and DWARF unbound arrays detection.
664 * gdb.fortran/multi-dim.exp: New file.
665 * gdb.fortran/multi-dim.f90: New file.
666
667 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
668
669 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
670 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
671 add new tests for opcode dumping.
672
673 2011-01-11 Tom Tromey <tromey@redhat.com>
674
675 * gdb.python/py-infthread.exp: Load gdb-python.exp.
676
677 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
678
679 Convert hardware watchpoints to use breakpoint_ops.
680 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
681 type is not supported.
682 * gdb.base/foll-fork.exp: Likewise.
683 * gdb.base/foll-vfork.exp: Likewise.
684
685 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
686
687 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
688 Use load_lib gdb-python.exp.
689 * gdb.python/python.exp: Ditto.
690 * gdb.python/py-function.exp: Ditto.
691
692 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
693
694 * gdb.threads/tls.exp ("info address me"): Fix expected output.
695
696 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
697
698 * configure: Regenerate.
699
700 2011-01-06 Tom Tromey <tromey@redhat.com>
701
702 * gdb.python/py-frame.exp: Test gdb.newest_frame.
703
704 2011-01-06 Joel Brobecker <brobecker@adacore.com>
705
706 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
707 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
708 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
709 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
710 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
711 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
712 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
713 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
714 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
715 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
716 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
717 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
718 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
719 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
720 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
721 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
722 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
723 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
724 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
725 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
726 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
727 gdb.ada/uninitialized_vars.exp,
728 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
729 Simplify by using clean_restart.
730
731 2011-01-06 Joel Brobecker <brobecker@adacore.com>
732
733 Add marker to be used as anchor for inserting breakpoints.
734 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
735 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
736 Likewise.
737
738 Remove uses of gdb_start_cmd.
739 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
740 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
741
742 Do not run testcase if testing with GDBserver.
743 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
744 if testing with GDBserver.
745
746 2011-01-06 Joel Brobecker <brobecker@adacore.com>
747
748 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
749 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
750 copyright header.
751
752 2011-01-05 Joel Brobecker <brobecker@adacore.com>
753
754 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
755 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
756 testsuite/gdb.fortran/complex.f,
757 testsuite/gdb.fortran/derived-type.f90,
758 testsuite/gdb.fortran/library-module-lib.f90,
759 testsuite/gdb.fortran/library-module-main.f90,
760 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
761 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
762 Copyright year update.
763
764 2011-01-05 Joel Brobecker <brobecker@adacore.com>
765
766 * gdb.base/langs1.f: Add copyright header.
767
768 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
769
770 * gdb.base/morestack.exp: New file.
771 * gdb.base/morestack.c: New file.
772
773 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
774
775 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
776
777 2010-12-29 Joel Brobecker <brobecker@adacore.com>
778
779 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
780 * gdb.ada/arrayptr.exp: Add test printing that new variable.
781
782 2010-12-29 Joel Brobecker <brobecker@adacore.com>
783
784 * gdb.ada/lang_switch.exp: Correct expected parameter value.
785
786 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
787
788 * gdb.threads/tls.exp: Fix typo.
789
790 * gdb.threads/thread-specific.exp (get_thread_list): Update.
791 * gdb.threads/execl.exp: Update.
792
793 2010-12-23 Yao Qi <yao@codesourcery.com>
794
795 * gdb.arch/arm-disp-step.exp: New.
796 * gdb.arch/arm-disp-step.S: New.
797
798 2010-12-21 Tom Tromey <tromey@redhat.com>
799
800 * gdb.threads/execl.exp: Update.
801 * gdb.threads/linux-dp.exp: Update.
802 * gdb.threads/manythreads.exp: Update.
803 * gdb.threads/tls.exp: Update.
804
805 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
806
807 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
808 (NextOverThrowDerivates) <resumebpt>: New.
809 (resumebpt_test): New.
810 (main): Call resumebpt_test.
811 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
812
813 2010-12-12 Stan Shebs <stan@codesourcery.com>
814
815 * gdb.trace/tsv.exp: Test print command on trace state variables.
816
817 2010-12-09 Tom Tromey <tromey@redhat.com>
818
819 * gdb.base/interp.exp: Add regression test.
820
821 2010-12-09 Tom Tromey <tromey@redhat.com>
822
823 * gdb.java/jnpe.java: New file.
824 * gdb.java/jnpe.exp: New file.
825 * gdb.cp/nextoverthrow.exp: New file.
826 * gdb.cp/nextoverthrow.cc: New file.
827
828 2010-12-07 Doug Evans <dje@google.com>
829
830 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
831 of data-directory.
832 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
833 updated.
834 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
835
836 2010-11-29 Michael Snyder <msnyder@vmware.com>
837
838 * gdb.base/callfuncs.exp: Test for skip_float_tests.
839 * gdb.base/call-sc.exp: Ditto.
840 * gdb.base/finish.exp: Ditto.
841 * gdb.base/return.exp: Ditto.
842 * gdb.base/return2.exp: Ditto.
843
844 2010-11-30 Doug Evans <dje@google.com>
845
846 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
847 (gdb_expect_list): Fix spelling errors in comments.
848 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
849 send_gdb/gdb_expect_list where applicable.
850 * gdb.base/call-ar-st.exp: Ditto.
851 * gdb.base/funcargs.exp: Ditto.
852 * gdb.base/gcore.exp: Ditto.
853 * gdb.base/page.exp: Ditto.
854 * gdb.base/sigaltstack.exp: Ditto.
855 * gdb.base/siginfo.exp: Ditto.
856 * gdb.base/sigstep.exp: Ditto.
857 * gdb.base/trace-commands.exp: Ditto.
858
859 2010-11-29 Doug Evans <dje@google.com>
860
861 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
862 printer-name;subprinter-name.
863
864 2010-11-29 Tom Tromey <tromey@redhat.com>
865
866 * gdb.dwarf2/implptr.exp: New file.
867 * gdb.dwarf2/implptr.c: New file.
868 * gdb.dwarf2/implptr.S: New file.
869
870 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
871
872 PR python/12199
873
874 * gdb.python/py-breakpoint.exp: Test the delete method.
875
876 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
877
878 Fix step_resume_breakpoint unsaved during an infcall.
879 * gdb.base/step-resume-infcall.exp: New file.
880 * gdb.base/step-resume-infcall.c: New file.
881
882 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
883
884 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
885
886 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
887
888 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
889 on ppc64's symbols; "finish" and "return" commands must accept to
890 show the caller line again as well as the line after.
891 * gdb.asm/powerpc64.inc: New file.
892
893 2010-11-23 Doug Evans <dje@google.com>
894
895 * lib/gdb.exp (gdb_test_sequence): New function.
896 (gdb_expect_list): Add verbose -log call for each pattern.
897 * gdb.base/signals.exp (test_handle_all_print): Call it.
898 Reduce timeout increment from 6 minutes to 1 minute.
899 * gdb.server/ext-run.exp: Call it.
900
901 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
902
903 PR python/12212
904
905 * gdb.python/python.exp: Check that selected_thread raises an
906 error when no inferior is loaded.
907
908 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
909
910 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
911 * gdb.dwarf2/dw2-stack-boundary.S: New file.
912
913 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
914
915 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
916 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
917
918 2010-11-18 Doug Evans <dje@google.com>
919
920 * gdb.server/ext-run.exp: Fix intermittent failures.
921
922 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
923
924 * gdb.stabs/gdb11479.exp: Use runto_main.
925
926 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
927
928 * gdb.base/break-entry.exp: Skip if using a stub.
929
930 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
931
932 * gdb.python/py-inferior.exp: Pack values in target endianness.
933
934 2010-11-12 Tom Tromey <tromey@redhat.com>
935
936 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
937 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
938 MemoryError.
939 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
940 type.
941 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
942 MemoryError.
943 (test_subscript_regression): Update exception type.
944
945 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
946
947 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
948 breakpoint tests.
949
950 2010-11-09 Pedro Alves <pedro@codesourcery.com>
951
952 * gdb.base/watchpoint.exp: Test "watch -location" with an
953 innacessible location.
954
955 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
956 Luis Machado <luisgpm@br.ibm.com>
957
958 * gdb.base/maint.exp: Expect "." prefix.
959 * gdb.base/nodebug.exp: Expect "." Likewise.
960 * gdb.base/sepsymtab.exp: Expect "." Likewise.
961 * gdb.base/watchpoint-cond-gone.exp: Likewise.
962 * gdb.base/watchpoint.exp: Expect a software watch to be created for
963 POWER server processors.
964
965 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
966 Luis Machado <luisgpm@br.ibm.com>
967
968 * gdb.base/break-entry.exp: convert entry point for
969 ppc64 and expect leading `.' on ppc64's symbols
970
971 2010-11-05 Doug Evans <dje@google.com>
972
973 * gdb.base/help.exp: Update expected output.
974 * gdb.python/py-param.exp: Delete, contents moved to ...
975 * gdb.python/py-parameter.exp: ... here. New file.
976 Add test for gdb.parameter ("directories").
977
978 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
979
980 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
981 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
982 * configure: Regenerate.
983 * gdb.opencl/Makefile.in: New File.
984 * gdb.opencl/datatypes.exp: Likewise.
985 * gdb.opencl/datatypes.cl: Likewise.
986 * gdb.opencl/operators.exp: Likewise.
987 * gdb.opencl/operators.cl: Likewise.
988 * gdb.opencl/vec_comps.exp: Likewise.
989 * gdb.opencl/vec_comps.cl: Likewise.
990 * gdb.opencl/convs_casts.exp: Likewise.
991 * gdb.opencl/convs_casts.cl: Likewise.
992 * lib/opencl.exp: Likewise.
993 * lib/opencl_hostapp.c: Likewise.
994 * lib/opencl_kernel.cl: Likewise.
995 * lib/cl_util.c: Likewise.
996 * lib/cl_util.c: Likewise.
997 * gdb.base/default.exp (set language): Add "opencl" to the list of
998 languages.
999
1000 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1001
1002 * gdb.cp/overload.exp: Added test for inheritance overload.
1003 * gdb.cp/overload.cc: Ditto.
1004 * gdb.cp/oranking.exp: Removed releveant kfails.
1005
1006 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1007 Joel Brobecker <brobecker@adacore.com>
1008
1009 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1010 check test_compiler_info.
1011
1012 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1013
1014 * gdb.base/gnu_vector.exp: Adjust expect messages.
1015
1016 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1017
1018 * gdb.base/gnu_vector.exp: Add unary operator tests.
1019
1020 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1021
1022 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1023
1024 2010-11-02 Doug Evans <dje@google.com>
1025
1026 * gdb.python/py-pp-maint.c: New file.
1027 * gdb.python/py-pp-maint.exp: New file.
1028 * gdb.python/py-pp-maint.py: New file.
1029
1030 2010-11-02 Tom Tromey <tromey@redhat.com>
1031
1032 * gdb.base/default.exp: Remove "scheme" from language list.
1033
1034 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1035
1036 Revert:
1037 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1038 * gdb.threads/sigstep-threads.exp: New file.
1039 * gdb.threads/sigstep-threads.c: New file.
1040
1041 2010-10-20 Michael Snyder <msnyder@vmware.com>
1042
1043 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1044
1045 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1046
1047 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1048 Skip test completely if gdb,no_hardware_watchpoints.
1049
1050 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1051
1052 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1053 strict, but do not check for any particular function name within libc.
1054
1055 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1056
1057 * gdb.cp/smartp.exp: New test.
1058 * gdb.cp/smartp.cc : New test.
1059
1060 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1061
1062 * gdb.cp/converts.exp: Test pointer to bool conversion.
1063 Test pointer to long conversion.
1064 * gdb.cp/oranking.exp: Removed relevant kfail.
1065
1066 2010-10-18 Tom Tromey <tromey@redhat.com>
1067
1068 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1069 argument to lazy_string.
1070 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1071 (pp_ls.to_string): Use it.
1072 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1073 Add "estring2" local.
1074
1075 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1076
1077 Fix s390x compatibility.
1078 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1079 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1080
1081 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1082
1083 * gdb.threads/sigstep-threads.exp: New file.
1084 * gdb.threads/sigstep-threads.c: New file.
1085
1086 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1087
1088 * gdb.base/pie-execl.exp: New file.
1089 * gdb.base/pie-execl.c: New file.
1090
1091 2010-10-13 Doug Evans <dje@google.com>
1092 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 PR exp/12117
1095 * gdb.cp/ptype-cv-cp.cc: New file.
1096 * gdb.cp/ptype-cv-cp.exp: New file.
1097
1098 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1099
1100 * gdb.cp/converts.cc: New test program.
1101 * gdb.cp/converts.exp: New test.
1102 * gdb.cp/overload.exp: Added test for void* vs int*.
1103 * gdb.cp/overload.exp: Ditto.
1104 * gdb.cp/oranking.exp: Removed related kfail.
1105
1106 2010-10-13 Doug Evans <dje@google.com>
1107
1108 * lib/gdb-python.exp (gdb_check_python_config): New function.
1109 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1110 * gdb.python/lib-types.cc: New file.
1111 * gdb.python/lib-types.exp: New file.
1112
1113 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 * gdb.python/py-error.exp: New file.
1116 * gdb.python/py-error.py: New file.
1117
1118 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1121 gdb_test_multiple.
1122
1123 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1126 * gdb.base/prelink.exp: Likewise.
1127 * gdb.base/solib-nodir.exp: Likewise.
1128 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1129 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1130 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1131
1132 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1133
1134 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1135 for the "info files" test to avoid timeouts on slow machines.
1136
1137 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1138
1139 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1140 (main): Make openlib dummy call.
1141
1142 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1145 * break-interp.exp (reach): Move the core body ...
1146 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1147 (test_ld): Provide always real argument, even to the linker. Replace
1148 dl_main by _dl_debug_state.
1149
1150 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1151
1152 Fix results of prelinked PIEs on ppc*.
1153 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1154 Accept also DISPLACEMENT "PRESENT".
1155 (main): Replace "ZERO" displacements by "PRESENT".
1156
1157 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1158
1159 * gdb.cp/oranking.exp: New test.
1160 * gdb.cp/oranking.cc: New test program.
1161
1162 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1163
1164 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1165 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1166
1167 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1168
1169 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1170 lush, lynx) New constant.
1171 * gdb.base/constvars.exp: Test const array types.
1172 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1173
1174 2010-10-06 Doug Evans <dje@google.com>
1175
1176 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1177 of syscall staging area.
1178
1179 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1180
1181 * gdb.base/gnu_vector.c: Add variable c4.
1182 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1183 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1184
1185 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1186
1187 * gdb.arch/altivec-abi.exp: Fix a typo.
1188
1189 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1190
1191 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1192 to match a thread ID.
1193
1194 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1195
1196 Fix s390x testcase compatibility.
1197 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1198
1199 2010-10-01 Doug Evans <dje@google.com>
1200
1201 * lib/gdb-python.exp: New file.
1202 * gdb.python/py-block.exp: Use it.
1203 * gdb.python/py-breakpoint.exp: Ditto.
1204 * gdb.python/py-frame.exp: Ditto.
1205 * gdb.python/py-inferior.exp: Ditto.
1206 * gdb.python/py-param.exp: Ditto.
1207 * gdb.python/py-prettyprint.exp: Ditto.
1208 * gdb.python/py-shared.exp: Ditto.
1209 * gdb.python/py-symbol.exp: Ditto.
1210 * gdb.python/py-symtab.exp: Ditto.
1211 * gdb.python/py-type.exp: Ditto.
1212 * gdb.python/py-value.exp: Ditto.
1213 * gdb.python/python.exp: Ditto.
1214
1215 2010-09-30 Tom Tromey <tromey@redhat.com>
1216
1217 * gdb.base/anon.exp: New file.
1218 * gdb.base/anon.c: New file.
1219
1220 2010-09-30 Tom Tromey <tromey@redhat.com>
1221
1222 * gdb.base/completion.exp: Test completion through anonymous
1223 union.
1224 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1225
1226 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1227
1228 Fix printing parameters of inlined functions.
1229 * gdb.dwarf2/dw2-inline-param.exp: New file.
1230 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1231 * gdb.dwarf2/dw2-inline-param.S: New file.
1232
1233 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1234
1235 PR corefiles/12071.
1236 * gdb.base/corefile.exp (quit with a process, no question: load core)
1237 (quit with a core file): New tests.
1238
1239 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1240
1241 Fix GDB crash on inferior calls with self-referencing classes.
1242 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1243 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1244 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1245
1246 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1247
1248 Fix lost siginfo_t for inferior calls.
1249 * gdb.base/siginfo-infcall.exp: New file.
1250 * gdb.base/siginfo-infcall.c: New file.
1251
1252 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1253
1254 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1255
1256 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1259 New test.
1260 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1261
1262 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1263
1264 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1265 type of our const type.
1266
1267 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1268
1269 * gdb.cp/pr12028.cc: New.
1270 * gdb.cp/pr12028.exp: New.
1271
1272 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1273
1274 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1275
1276 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1277 Jan Kratochvil <jan.kratochvil@redhat.com>
1278
1279 PR mi/11407
1280 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1281 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1282 * gdb.mi/dw2-ref-missing-frame.S New File.
1283 * gdb.mi/dw2-ref-missing-frame.exp New File.
1284
1285 2010-09-14 Tom Tromey <tromey@redhat.com>
1286
1287 PR symtab/8399:
1288 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1289
1290 2010-09-14 Tom Tromey <tromey@redhat.com>
1291
1292 PR exp/11803:
1293 * gdb.threads/tls.exp: Use C++.
1294 (check_thread_local): Use K::another_thread_local.
1295 * gdb.threads/tls.c (class K): New.
1296 (another_thread_local): Now a member of K.
1297 (spin): Update. No longer K&R C.
1298
1299 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1300
1301 * gdb.cp/koenig.cc: created class for testing member lookup.
1302 * gdb.cp/koenig.exp: Added test for member lookup.
1303
1304 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1305
1306 Fix false FAILs on sourcetree topdir directory containing "kill".
1307 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1308 source line matching regexp.
1309
1310 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1311
1312 * gdb.python/python.exp (set height 0, collect help from uiout)
1313 (verify help to uiout): New tests.
1314
1315 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1316
1317 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1318 is_lp64_target to check 64bit target.
1319
1320 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1321
1322 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1323 (test_ld) <powerpc64-*>: New.
1324
1325 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1326
1327 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1328
1329 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1330
1331 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1332 (FunctionArg::method): New function.
1333 (empty, arg): New variables.
1334 (main): Call arg.method.
1335 * gdb.cp/templates.exp (test_template_args): New function.
1336 (do_tests): Call it.
1337
1338 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1339
1340 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1341 of "next" to proceed over pthread_exit call.
1342
1343 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1344
1345 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1346 "maint print statistics" output to prevent expect timeouts.
1347
1348 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1351 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1352 (test_float_rejected): ... here.
1353 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1354 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1355 (test_float_rejected): ... here.
1356 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1357 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1358 (test_float_rejected): ... here.
1359 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1360 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1361 (test_float_rejected): ... here.
1362
1363 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1364
1365 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1366 before disabling hardware watchpoints.
1367 (test_inaccessible_watchpoint): Check that hardware watchpoints
1368 are used. Test for watchpoints on a constant address.
1369
1370 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1371
1372 * gdb.base/ui-redirect.exp: New file.
1373
1374 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1375 Joel Brobecker <brobecker@adacore.com>
1376
1377 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1378
1379 2010-08-31 Doug Evans <dje@google.com>
1380
1381 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1382
1383 2010-08-30 Tom Tromey <tromey@redhat.com>
1384
1385 PR python/11792:
1386 * gdb.python/py-value.exp (test_subscript_regression): Add
1387 dynamic_type test.
1388
1389 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1390
1391 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1392 instead of running to main. Do not test the main function.
1393 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1394 Add new main.
1395
1396 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1397
1398 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1399 one test.
1400
1401 2010-08-24 Doug Evans <dje@google.com>
1402
1403 PR symtab/11942
1404 * gdb.dwarf2/dw4-sig-types.cc: New file.
1405 * gdb.dwarf2/dw4-sig-types.h: New file.
1406 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1407 * gdb.dwarf2/dw4-sig-types.exp: New file.
1408
1409 2010-08-23 Tom Tromey <tromey@redhat.com>
1410
1411 PR python/11145:
1412 * gdb.python/py-value.c (Base, Derived): New types.
1413 (base): New global.
1414 * gdb.python/py-value.exp (test_subscript_regression): Add
1415 dynamic_cast test.
1416
1417 2010-08-23 Tom Tromey <tromey@redhat.com>
1418
1419 PR python/10676:
1420 * gdb.python/py-type.exp (test_fields): Add tests for type
1421 equality.
1422
1423 2010-08-23 Tom Tromey <tromey@redhat.com>
1424
1425 PR python/11915:
1426 * gdb.python/py-type.exp (test_fields): Add tests for array.
1427
1428 2010-08-23 Keith Seitz <keiths@redhat.com>
1429
1430 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1431 have any children. Create a new abbrev for it.
1432 Add missing terminal sequence to .debug_abbrev.
1433
1434 2010-08-20 Keith Seitz <keiths@redhat.com>
1435
1436 PR symtab/11465:
1437 * gdb.dwarf2/pr11465.exp: New test.
1438 * gdb.dwarf2/pr11465.S: New file.
1439 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1440 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1441
1442 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1443
1444 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1445 registers. Update data sets with the new v2_double element in the
1446 VSX register union. Add vector_register3_vr data set for the AltiVec
1447 registers. Use gdb_test_no_output instead of send_gdb.
1448
1449 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1450
1451 * gdb.python/py-shared.exp: New file, factored out from
1452 python.exp.
1453 * gdb.python/py-shared.c: New file.
1454 * gdb.python/py-shared-sl.c: New file.
1455 * gdb.python/python-1.c: New file.
1456 * gdb.python/python-sl.c: Delete.
1457 * gdb.python/python.c: Mention python-1.c.
1458 * gdb.python/python.exp: Move shared library tests to
1459 py-shared.exp.
1460 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1461 (MISCELLANEOUS): New.
1462 (clean mostlyclean): Also remove $MISCELLANEOUS.
1463
1464 2010-08-19 Doug Evans <dje@google.com>
1465
1466 PR exp/11926
1467 * gdb.base/printcmds.exp (test_float_accepted): New function.
1468 Move existing float tests there. Add tests for floats with suffixes.
1469 (test_float_rejected): New function.
1470 * gdb.java/jv-print.exp (test_float_accepted): New function.
1471 (test_float_rejected): New function.
1472 * gdb.objc/print.exp: New file.
1473 * gdb.pascal/print.exp: New file.
1474 * lib/objc.exp: New file.
1475
1476 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1477
1478 * gdb.base/default.exp (info set): Avoid full buffer error and force
1479 reading up to final gdb prompt.
1480 (show): Likewise.
1481
1482 2010-08-18 Tom Tromey <tromey@redhat.com>
1483
1484 PR symtab/11919:
1485 * gdb.base/completion.exp: Add test.
1486
1487 2010-08-18 Doug Evans <dje@google.com>
1488
1489 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1490 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1491 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1492 Simplify, early exit if runto_main fails.
1493 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1494 (set_lang_fortran): Moved to lib/fortran.exp.
1495 * gdb.fortran/types.exp: load_lib fortran.exp.
1496 (set_lang_fortran): Moved to lib/fortran.exp.
1497 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1498 * gdb.java/jprint.exp (set_lang_java): Ditto.
1499 * gdb.java/jv-exp.exp: load_lib java.exp.
1500 If set_lang_java fails, issue a warning instead of failure to be
1501 consistent with other set_lang_foo uses.
1502 (set_lang_java): Moved to lib/java.exp.
1503 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1504 If set_lang_java fails, issue a warning instead of failure to be
1505 consistent with other set_lang_foo uses.
1506 * gdb.pascal/types.exp: load_lib pascal.exp.
1507 (set_lang_pascal): Moved to lib/pascal.exp.
1508 * lib/fortran.exp: New file.
1509 * lib/java.exp (set_lang_java): New function.
1510 * lib/pascal.exp (set_lang_pascal): New function.
1511
1512 2010-08-18 Yao Qi <yao@codesourcery.com
1513
1514 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1515 func_nofb_start and func_loopfb_start, so that address of functions
1516 is equal to these labels on Thumb.
1517
1518 2010-08-18 Yao Qi <yao@codesourcery.com>
1519
1520 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1521 to reflect latest c source file.
1522
1523 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1524
1525 * gdb.cp/infcall-dlopen.exp: New file.
1526 * gdb.cp/infcall-dlopen.cc: New file.
1527 * gdb.cp/infcall-dlopen-lib.cc: New file.
1528
1529 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1530 Pedro Alves <pedro@codesourcery.com>
1531
1532 PR breakpoints/11371
1533
1534 * gdb.base/watch-cond-infcall.exp: New file.
1535 * gdb.base/watch-cond-infcall.c: New file.
1536
1537 2010-08-16 Tom Tromey <tromey@redhat.com>
1538
1539 * gdb.base/help.exp: Update.
1540 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1541 watchpoint.
1542 (test_watch_location): New proc.
1543 (test_watchpoint_in_big_blob): Delete watchpoint.
1544 * gdb.base/watchpoint.c (func5): New function.
1545 (main): Call it.
1546
1547 2010-08-16 Doug Evans <dje@google.com>
1548
1549 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1550
1551 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1552
1553 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1554 tests.
1555
1556 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1557
1558 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1559 * gdb.base/gnu_vector.c: New File.
1560 * gdb.base/gnu_vector.exp: Likewise.
1561
1562 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1563
1564 * gdb.python/python.c: New File.
1565 * gdb.python/python-sl.c: New File.
1566 * gdb.python/python.exp: Test solib_address and decode_line
1567 * functions.
1568
1569 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1570
1571 * gdb.python/python.exp (show height, set height 10)
1572 (verify pagination beforehand, verify pagination beforehand: q)
1573 (gdb.execute does not page, verify pagination afterwards)
1574 (verify pagination afterwards: q): New.
1575
1576 2010-08-02 Doug Evans <dje@google.com>
1577
1578 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1579 because of an older gcc, change test2
1580 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1581 to unsupported.
1582
1583 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1584
1585 * gdb.base/break-always.exp: Do not expect full paths to file
1586 names.
1587 * gdb.base/commands.exp: Likewise.
1588
1589 2010-07-30 Doug Evans <dje@google.com>
1590
1591 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1592 xfail them when run with older gccs.
1593
1594 * lib/gdb.exp (build_executable): Forward "c++" option to
1595 get_compiler_info.
1596
1597 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1598 "python print ttype.template_argument(1)" and
1599 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1600 if using gcc 4.4 or earlier.
1601
1602 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1603 attach-to-debugger handling.
1604
1605 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1606
1607 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1608 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1609 (main): Use copyreloc.
1610 * gdb.base/prelink.exp (split debug of executable)
1611 (.dynbss vs. .bss address shift): New tests.
1612
1613 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1614
1615 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1616 in gdb_test_multiple.
1617
1618 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1619
1620 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1621 environment.
1622
1623 2010-07-28 Tom Tromey <tromey@redhat.com>
1624
1625 PR python/11060:
1626 * gdb.python/py-type.c (Temargs): New template.
1627 (temvar): New variable.
1628 * gdb.python/py-type.exp (test_template): New proc.
1629
1630 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1631
1632 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1633 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1634
1635 2010-07-28 Tom Tromey <tromey@redhat.com>
1636
1637 PR c++/9946:
1638 * gdb.cp/temargs.exp: New file.
1639 * gdb.cp/temargs.cc: New file.
1640
1641 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * gdb.base/help.exp (help disassemble): Update the content.
1644
1645 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1646
1647 * gdb.threads/ia64-sigill.exp: New file.
1648 * gdb.threads/ia64-sigill.c: New file.
1649
1650 2010-07-27 Tom Tromey <tromey@redhat.com>
1651
1652 * gdb.opt/inline-cmds.c (ATTR): New define.
1653 (func1): Use it.
1654 (func2): Likewise.
1655 (func3): Likewise.
1656 (outer_inline1): Likewise.
1657 (outer_inline2): Likewise.
1658 * gdb.opt/inline-bt.c (ATTR): New define.
1659 (func1): Use it.
1660 (func2): Likewise.
1661 * gdb.opt/inline-locals.c (ATTR): New define.
1662 (func1): Use it.
1663 (func2): Likewise.
1664
1665 2010-07-27 Tom Tromey <tromey@redhat.com>
1666
1667 * gdb.stabs/gdb11479.c (hack): New function.
1668 (test): Use it.
1669 (test2): Use it.
1670 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1671 (int32_search_buf, int64_search_buf): No longer static.
1672 (x): Remove.
1673 * gdb.base/relocate.c (hack): New function.
1674
1675 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1676
1677 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1678 * gdb.python/py-value.c (func1): New function.
1679 (func2): Likewise.
1680
1681 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1682
1683 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1684 as not to clash with .data section.
1685
1686 2010-07-26 Jerome Guitton <guitton@adacore.com>
1687
1688 * gdb.base/code_elim.exp: New file.
1689 * gdb.base/code_elim1.c: New file.
1690 * gdb.base/code_elim2.c: New file.
1691
1692 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1693
1694 PR symtab/11827
1695
1696 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1697 (some_volatile_enum): New variable.
1698 * gdb.base/printcmds.exp (test_print_enums): New.
1699 <top level>: Call it.
1700
1701 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1702
1703 * gdb.cp/fpointer.cc: New test.
1704 * gdb.cp/fpointer.exp: New test.
1705
1706 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.base/solib-nodir.exp: New file.
1709 * lib/gdb.exp (runto): New case for a GDB internal error.
1710
1711 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1712 Ulrich Weigand <uweigand@de.ibm.com>
1713 Tom Tromey <tromey@redhat.com>
1714
1715 * gdb.base/charset-malloc.c: New file.
1716 * gdb.base/charset.c (malloc_stub): New prototype.
1717 (main): Call it instead of malloc itself.
1718 * gdb.base/charset.exp: Use only prepare_for_testing.
1719 (binfile): Remove the variable.
1720
1721 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1722
1723 Make core files the process_stratum.
1724 * gdb.base/corefile.exp (run: load core again)
1725 (run: sanity check we see the core file, run: with core)
1726 (run: core file is cleared, attach: load core again)
1727 (attach: sanity check we see the core file, attach: with core)
1728 (attach: core file is cleared): New tests.
1729 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1730
1731 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1732
1733 * gdb.arch/altivec-abi.exp: New tests.
1734
1735 2010-07-13 Tom Tromey <tromey@redhat.com>
1736
1737 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1738 (main): Use it.
1739 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1740
1741 2010-07-13 Tom Tromey <tromey@redhat.com>
1742
1743 * gdb.base/label.exp: New file.
1744 * gdb.base/label.c: New file.
1745
1746 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1747 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * lib/gdb.exp (is_ilp32_target): New.
1750 (is_lp64_target): Likewise.
1751
1752 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1753 target.
1754 * gdb.arch/amd64-disp-step.exp: Likewise.
1755 * gdb.arch/amd64-dword.exp: Likewise.
1756 * gdb.arch/amd64-i386-address.exp: Likewise.
1757 * gdb.arch/amd64-word.exp: Likewise.
1758
1759 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1760 target.
1761 * gdb.arch/i386-bp_permanent.exp: Likewise.
1762 * gdb.arch/i386-byte.exp: Likewise.
1763 * gdb.arch/i386-disp-step.exp: Likewise.
1764 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1765 * gdb.arch/i386-prologue.exp: Likewise.
1766 * gdb.arch/i386-size-overlap.exp: Likewise.
1767 * gdb.arch/i386-size.exp: Likewise.
1768 * gdb.arch/i386-sse.exp: Likewise.
1769 * gdb.arch/i386-unwind.exp: Likewise.
1770 * gdb.arch/i386-word.exp: Likewise.
1771
1772 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1773 test only when building 64-bit executables. Do not hard-code
1774 -m64 option.
1775
1776 2010-07-07 Doug Evans <dje@google.com>
1777
1778 * lib/gdb.exp (gdb_test_list_exact): New function.
1779 * gdb.base/default.exp (show convenience): Call it, add tests for
1780 $_sdata = void, $_thread = 0.
1781
1782 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1783 Joel Brobecker <brobecker@adacore.com>
1784
1785 Fix re-run of PIE executable, PR shlibs/11776.
1786 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1787 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1788 and re-"run" of the inferior.
1789
1790 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1791 Joel Brobecker <brobecker@adacore.com>
1792
1793 Cope with missing /usr/sbin/prelink.
1794 * lib/prelink-support.exp (prelink_no):
1795 <result == 1 && $output is "no such file or directory">: New.
1796 (prelink_yes): Likewise. Return on failed prelink_no.
1797
1798 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1799 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1802 build_executable by build_executable_own_libs. Replace "prelink -R"
1803 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1804 change.
1805 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1806 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1807 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1808 Replace build_executable by build_executable_own_libs's function
1809 build_executable_own_libs.
1810 (prelinkNO): Create new stub to call prelink_no.
1811 (prelinkYES): Create new stub to call prelink_yes.
1812 (test_attach): Rename calls of copy to file_copy.
1813 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1814 (copy): Move to ...
1815 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1816 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1817 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1818 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1819 special flags by gdb_compile_shlib. Replace second gdb_compile by
1820 build_executable_own_libs. Replace "prelink -R" execution by a call of
1821 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1822 a second call of prelink_yes. Replace restart commands by
1823 clean_restart.
1824 (prelink): Rename to ...
1825 (seen displacement message): ... this test. Extend its expectation
1826 strictness.
1827
1828 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1829
1830 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1831 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1832 displacement message exactly once.
1833
1834 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1835 Joel Brobecker <brobecker@adacore.com>
1836
1837 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1838 its restore after the <$relink_args != ""> loop. new comment.
1839
1840 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1841 Joel Brobecker <brobecker@adacore.com>
1842
1843 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1844 code for it. New variable relink_args.
1845 (prelinkYES): Call prelinkNO.
1846 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1847 in such case. Move the core code to ...
1848 (test_attach_gdb): ... a new function. Send GDB command "file".
1849 Extend expected "Attaching to " string.
1850
1851 2010-07-02 Tom Tromey <tromey@redhat.com>
1852
1853 * gdb.base/bitops.exp: Remove extraneous "pass".
1854
1855 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1856
1857 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1858
1859 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1860
1861 * gdb.base/help.exp: Adjust expected output.
1862
1863 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1864
1865 * gdb.base/help.exp: Adjust expected output.
1866
1867 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1868
1869 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1870 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1871 c++/11702.
1872
1873 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1874 Doug Evans <dje@google.com>
1875
1876 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1877 add .dynamic entry'.
1878
1879 2010-06-29 Doug Evans <dje@google.com>
1880
1881 Test PR c++/11702.
1882 * gdb.cp/m-static.exp: Add testcase.
1883 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1884
1885 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1886 Tom Tromey <tromey@redhat.com>
1887 Thiago Jung Bauermann <bauerman@br.ibm.com>
1888
1889 * gdb.python/py-inferior.c: New File.
1890 * gdb.python/py-infthread.c: New File.
1891 * gdb.python/py-inferior.exp: New File.
1892 * gdb.python/py-infthread.exp: New File.
1893
1894 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1895
1896 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1897 (ptype ::C::OtherFileClass typedefs): New.
1898 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1899 (C::OtherFileClass::cOtherFileClassVar2): New.
1900 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1901 cOtherFileClassVar2.
1902 (C::cOtherFileType2, C::cOtherFileVar2): New.
1903 (C::cOtherFileVar_use): use also cOtherFileVar2.
1904 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1905
1906 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1907
1908 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1909 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1910 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1911 (print ::C::cOtherFileVar)
1912 (whatis C::OtherFileClass::cOtherFileClassType)
1913 (whatis ::C::OtherFileClass::cOtherFileClassType)
1914 (print C::OtherFileClass::cOtherFileClassVar)
1915 (print ::cOtherFileClassVar)
1916 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1917 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1918 trailing content.
1919 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1920 (C::OtherFileClass::cOtherFileClassVar)
1921 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1922 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1923
1924 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1925
1926 Test PR c++/11703 and PR gdb/1448.
1927 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1928 gdb/1448.
1929
1930 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1933 (main) <rtti_data>: New.
1934 * gdb.cp/virtbase.exp (print rtti_data): New.
1935
1936 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1937 Joel Brobecker <brobecker@adacore.com>
1938
1939 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1940
1941 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1944
1945 2010-06-28 Doug Evans <dje@google.com>
1946
1947 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1948
1949 2010-06-27 Doug Evans <dje@google.com>
1950
1951 * gdb.cp/m-static.exp: Update expected test output.
1952
1953 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1954
1955 * gdb.gdb/selftest.exp: Adjust expected message for
1956 capturing start-up runtime.
1957
1958 2010-06-25 Tom Tromey <tromey@redhat.com>
1959
1960 PR python/10808:
1961 * gdb.python/python.exp: Add new tests.
1962
1963 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1964
1965 * gdb.cp/operator.cc: Created an import loop.
1966 * gdb.cp/operator.exp: Added testcase for import loop.
1967
1968 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 Test PR python/11407.
1971 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1972 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1973 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1974 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1975 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1976 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1977 binfile. Call gdb_compile with clean_restart twice.
1978 (func_nofb print, func_nofb backtrace, func_loopfb print)
1979 (func_loopfb backtrace): New.
1980
1981 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1982
1983 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1984 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1985 by a hand made one.
1986 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1987 i?86 requirement. Remove variables srcfile and binfile. New variable
1988 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1989
1990 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1991
1992 * gdb.cell/dwarfaddr.exp: New file.
1993 * gdb.cell/dwarfaddr.S: New file.
1994
1995 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1996
1997 Test PR 9436.
1998 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1999
2000 2010-06-24 Hui Zhu <teawater@gmail.com>
2001
2002 * gdb.base/eval.exp: New file.
2003
2004 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2005
2006 * gdb.cell/fork.exp: New file.
2007 * gdb.cell/fork.c: Likewise.
2008 * gdb.cell/fork-spu.c: Likewise.
2009
2010 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2011
2012 * lib/gdb.exp (banned_variables_traced): New global variable.
2013 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2014 (gdb_init): Use `trace add variable' instead of obsolete
2015 `trace variable'.
2016
2017 2010-06-21 Doug Evans <dje@google.com>
2018
2019 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2020
2021 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2022
2023 * gdb.arch/spu-ls.exp: New file.
2024 * gdb.arch/spu-ls.c: Likewise.
2025
2026 2010-06-18 Stan Shebs <stan@codesourcery.com>
2027
2028 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2029
2030 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2031
2032 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2033 * gdb.base/watch-cond.exp: Likewise.
2034 * gdb.python/py-breakpoint.exp: Likewise.
2035
2036 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2037
2038 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2039 clean_restart, make sure every test has a distinct message, and
2040 that messages don't include the executable' full path.
2041
2042 2010-06-17 Doug Evans <dje@google.com>
2043
2044 * gdb.arch/i386-size.exp: Updated expected output for
2045 DISASSEMBLY_OMIT_FNAME.
2046
2047 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2048 Sergio Durigan Junior <sergiodj@redhat.com>
2049
2050 * gdb.base/watch-notconst.c: New file.
2051 * gdb.base/watch-notconst.S: New file.
2052 * gdb.base/watch-notconst2.c: New file.
2053 * gdb.base/watch-notconst2.S: New file.
2054 * gdb.base/watch-notconst.exp: New file.
2055 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2056 (func4): Add operations on `global_ptr_ptr'.
2057 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2058 routine to test watchpoints created with a constant expression.
2059 (test_inaccessible_watchpoint): Include tests for watchpoints
2060 created with a constant expression.
2061
2062 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2063
2064 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2065 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2066 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2067 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2068 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2069 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2070 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2071 of `_start'.
2072
2073 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2074
2075 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2076 not supported on the target.
2077 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2078 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2079 * gdb.mi/mi-nsintrall.exp: Likewise.
2080 * gdb.mi/mi-nsmoribund.exp: Likewise.
2081 * gdb.mi/mi-nsthrexec.exp: Likewise.
2082
2083 2010-06-11 Stan Shebs <stan@codesourcery.com>
2084
2085 * gdb.base/permissions.exp: New file.
2086
2087 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2088
2089 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2090 does not support ELF executable class.
2091
2092 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2093
2094 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2095
2096 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2097
2098 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2099 (runto): Catch "The target does not support running in non-stop mode.".
2100
2101 2010-06-11 Michael Snyder <msnyder@vmware.com>
2102
2103 * gdb.base/setshow.exp (set language asm): Don't use
2104 gdb_test_no_output, fails on some targets.
2105
2106 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2107
2108 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2109 * gdb.cp/pr9167.exp: Likewise.
2110
2111 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2112
2113 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2114
2115 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2116
2117 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2118
2119 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2120
2121 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2122
2123 2010-06-11 Tom Tromey <tromey@redhat.com>
2124
2125 PR gdb/9977, PR exp/11636::
2126 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2127 (pieces_test_f6): Update expected output.
2128
2129 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2130
2131 * gdb.base/moribund-step.exp: New.
2132
2133 2010-06-08 Michael Snyder <msnyder@vmware.com>
2134
2135 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2136 * gdb.ada/boolean_expr.exp:
2137 * gdb.ada/frame_args.exp: Ditto.
2138 * gdb.ada/lang_switch.exp: Ditto.
2139 * gdb.ada/ptype_arith_binop.exp: Ditto.
2140 * gdb.ada/ref_param.exp: Ditto.
2141 * gdb.ada/type_coercion.exp:Ditto.
2142
2143 * gdb.asm/asm-source.exp: Ditto.
2144
2145 * gdb.base/attach.exp: Ditto.
2146 * gdb.base/bitfields2.exp: Ditto.
2147 * gdb.base/call-signal-resume.exp: Ditto.
2148 * gdb.base/callfuncs.exp: Ditto.
2149 * gdb.base/commands.exp: Ditto.
2150 * gdb.base/dbx.exp: Ditto.
2151 * gdb.base/default.exp: Ditto.
2152 * gdb.base/dump.exp: Ditto.
2153 * gdb.base/exprs.exp: Ditto.
2154 * gdb.base/freebpcmd.exp: Ditto.
2155 * gdb.base/interrupt.exp: Ditto.
2156 * gdb.base/list.exp: Ditto.
2157 * gdb.base/long_long.exp: Ditto.
2158 * gdb.base/maint.exp: Ditto.
2159 * gdb.base/ptype.exp: Ditto.
2160 * gdb.base/return.exp: Ditto.
2161 * gdb.base/setshow.exp: Ditto.
2162 * gdb.base/sigbpt.exp: Ditto.
2163 * gdb.base/sigrepeat.exp: Ditto.
2164
2165 * gdb.cp/classes.exp: Ditto.
2166
2167 * gdb.dwarf2/dw2-restore.exp: Ditto.
2168
2169 * gdb.gdb/selftest.exp: Ditto.
2170
2171 * gdb.multi/base.exp: Ditto.
2172 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2173
2174 * gdb.python/py-block.exp: Ditto.
2175 * gdb.python/py-prettyprint.exp: Ditto.
2176 * gdb.python/py-template.exp: Ditto.
2177
2178 * gdb.server/ext-attach.exp: Ditto.
2179 * gdb.server/ext-run.exp: Ditto.
2180 * gdb.server/server-mon.exp: Ditto.
2181
2182 * gdb.threads/fork-thread-pending.exp: Ditto.
2183 * gdb.threads/hand-call-in-threads.exp: Ditto.
2184 * gdb.threads/interrupted-hand-call.exp: Ditto.
2185 * gdb.threads/linux-dp.exp: Ditto.
2186 * gdb.threads/manythreads.exp: Ditto.
2187 * gdb.threads/print-threads.exp: Ditto.
2188 * gdb.threads/pthreads.exp: Ditto.
2189 * gdb.threads/schedlock.exp: Ditto.
2190 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2191 * gdb.threads/threadapply.exp: Ditto.
2192
2193 2010-06-08 Michael Snyder <msnyder@vmware.com>
2194
2195 * gdb.ada/exec_changed.exp:
2196 Use ".*" instead of "" as wildcard regexp.
2197
2198 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2199 * gdb.base/call-ar-st.exp: Ditto.
2200 * gdb.base/checkpoint.exp: Ditto.
2201 * gdb.base/default.exp: Ditto.
2202 * gdb.base/dump.exp: Ditto.
2203 * gdb.base/ending-run.exp: Ditto.
2204 * gdb.base/fileio.exp: Ditto.
2205 * gdb.base/miscexprs.exp: Ditto.
2206 * gdb.base/pointers.exp: Ditto.
2207 * gdb.base/readline.exp: Ditto.
2208 * gdb.base/reread.exp: Ditto.
2209 * gdb.base/restore.exp: Ditto.
2210 * gdb.base/shlib-call.exp: Ditto.
2211 * gdb.base/valgrind-db-attach.exp: Ditto.
2212 * gdb.base/volatile.exp: Ditto.
2213 * gdb.base/watchpoints.exp: Ditto.
2214
2215 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2216
2217 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2218 * gdb.python/py-value.exp: Ditto.
2219
2220 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2221 * gdb.trace/circ.exp: Ditto.
2222 * gdb.trace/collection.exp: Ditto.
2223 * gdb.trace/packetlen.exp: Ditto.
2224 * gdb.trace/passc-dyn.exp: Ditto.
2225 * gdb.trace/report.exp: Ditto.
2226 * gdb.trace/tfile.exp: Ditto.
2227 * gdb.trace/tfind.exp: Ditto.
2228 * gdb.trace/while-dyn.exp: Ditto.
2229
2230 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2231
2232 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2233
2234 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2235
2236 Test PR 10640.
2237 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2238
2239 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2240
2241 * gdb.cp/koenig.exp: Test for ADL operators.
2242 * gdb.cp/koenig.cc: Added ADL operators.
2243 * gdb.cp/operator.exp: New test.
2244 * gdb.cp/operator.cc: New test.
2245
2246 2010-06-04 Michael Snyder <msnyder@vmware.com>
2247
2248 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2249 * gdb.base/pending.exp: Ditto.
2250
2251 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2252
2253 2010-06-04 Doug Evans <dje@google.com>
2254
2255 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2256 disabled printers.
2257 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2258 (enable_lookup_function): New function.
2259
2260 2010-06-04 Tom Tromey <tromey@redhat.com>
2261
2262 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2263 of hash and id.
2264
2265 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2266
2267 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2268 newline.
2269 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2270 (empty verbose non-noisy clear, empty verbose noisy clear)
2271 (empty non-verbose noisy clear): Likewise.
2272
2273 2010-06-03 Michael Snyder <msnyder@vmware.com>
2274
2275 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2276 * gdb.base/display.exp: Ditto.
2277 * gdb.base/find.exp: Ditto.
2278 * gdb.base/ifelse.exp: Ditto.
2279 * gdb.base/multi-forks.exp: Ditto.
2280 * gdb.base/recurse.exp: Ditto.
2281 * gdb.base/setshow.exp: Ditto.
2282 * gdb.base/value-double-free.exp: Ditto.
2283 * gdb.base/watch-vfork.exp: Ditto.
2284 * gdb.base/watch_thread_num.exp: Ditto.
2285 * gdb.base/watchpoint-solib.exp: Ditto.
2286 * gdb.base/watchpoint.exp: Ditto.
2287 * gdb.base/watchpoints.exp: Ditto.
2288
2289 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2290 * gdb.cp/overload.exp: Ditto.
2291 * gdb.cp/virtfunc.exp: Ditto.
2292
2293 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2294
2295 * gdb.reverse/watch-precsave.exp:
2296 Replace gdb_test with gdb_test_no_output.
2297
2298 * gdb.threads/attach-into-signal.exp:
2299 Replace gdb_test with gdb_test_no_output.
2300 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2301 * gdb.threads/watchthreads.exp: Ditto.
2302 * gdb.threads/watchthreads2.exp: Ditto.
2303
2304 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2305 * gdb.trace/tfind.exp: Ditto.
2306
2307 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2308
2309 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2310 successful test if message is the empty string.
2311
2312 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 * gdb.fortran/module.exp (stopped language detection): New test.
2315
2316 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 Support DW_TAG_module as separate namespaces.
2319 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2320 gdb.fortran/library-module-lib.f90: New.
2321 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2322 (print i): Remove.
2323 (continue to breakpoint: i-is-1, print var_i value 1)
2324 (continue to breakpoint: i-is-2, print var_i value 2)
2325 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2326 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2327 (complete `modmany, complete `modmany`, complete `modmany`var)
2328 (show language, setting breakpoint at module): New tests.
2329 * gdb.fortran/module.f90 (module mod): Remove.
2330 (module mod1, module mod2, module modmany, subroutine sub1)
2331 (subroutine sub2, program module): New.
2332
2333 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2334
2335 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2336 (print value of rUC, print value of rI, print value of UI): ... here.
2337 * gdb.cp/anon-union.exp (pass): Rename to ...
2338 (print z 2): ... here.
2339
2340 2010-06-02 Michael Snyder <msnyder@vmware.com>
2341
2342 * gdb.trace/actions.exp: Use gdb_test_no_output.
2343 * gdb.trace/circ.exp: Ditto.
2344 * gdb.trace/packetlen.exp: Ditto.
2345 * gdb.trace/save-trace.exp: Ditto.
2346 * gdb.trace/tracecmd.exp: Ditto.
2347 * gdb.trace/tsv.exp: Ditto.
2348
2349 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2350 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2351 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2352 * gdb.threads/manythreads.exp: Ditto.
2353 * gdb.threads/print-threads.exp: Ditto.
2354 * gdb.threads/pthreads.exp: Ditto.
2355 * gdb.threads/schedlock.exp: Ditto.
2356 * gdb.threads/staticthreads.exp: Ditto.
2357 * gdb.threads/thread-specific.exp: Ditto.
2358 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2359 * gdb.threads/threadapply.exp: Ditto.
2360 * gdb.threads/watchthreads.exp: Ditto.
2361 * gdb.threads/watchthreads2.exp: Ditto.
2362
2363 * gdb.python/py-block.exp: Use gdb_test_no_output.
2364 * gdb.python/py-prettyprint.exp: Ditto.
2365 * gdb.python/py-template.exp: Ditto.
2366 * gdb.python/py-value.exp: Ditto.
2367
2368 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2369 * gdb.reverse/watch-reverse.exp: Ditto.
2370
2371 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2372 * gdb.server/ext-run.exp: Ditto.
2373
2374 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2375 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2376 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2377 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2378 * gdb.dwarf2/dw2-producer.exp: Ditto.
2379 * gdb.dwarf2/mac-fileno.exp: Ditto.
2380
2381 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2382 * gdb.gdb/selftest.exp: Ditto.
2383
2384 * gdb.multi/base.exp: Use gdb_test_no_output.
2385
2386 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2387
2388 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2389
2390 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2391
2392 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2393
2394 * gdb.cp/class2.exp: Use gdb_test_no_output.
2395 * gdb.cp/classes.exp: Ditto.
2396 * gdb.cp/extern-c.exp: Ditto.
2397 * gdb.cp/inherit.exp: Ditto.
2398 * gdb.cp/maint.exp: Ditto.
2399 * gdb.cp/mb-inline.exp: Ditto.
2400 * gdb.cp/mb-templates.exp: Ditto.
2401 * gdb.cp/method2.exp: Ditto.
2402 * gdb.cp/misc.exp: Ditto.
2403 * gdb.cp/ovldbreak.exp: Ditto.
2404 * gdb.cp/punctuator.exp: Ditto.
2405 * gdb.cp/templates.exp: Ditto.
2406 * gdb.cp/virtbase.exp: Ditto.
2407
2408 * gdb.threads/attach-stopped.exp:
2409 Replace uses of send_gdb / gdb_expect.
2410 * gdb.threads/attachstop-mt.exp:
2411 Replace uses of send_gdb / gdb_expect.
2412 * gdb.threads/gcore-thread.exp:
2413 Replace uses of send_gdb / gdb_expect.
2414 * gdb.threads/hand-call-in-threads.exp:
2415 Replace uses of send_gdb / gdb_expect.
2416 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2417 * gdb.threads/print-threads.exp:
2418 Replace uses of send_gdb / gdb_expect.
2419 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2420 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2421 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2422
2423 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2424 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2425 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2426 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2427 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2428 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2429 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2430 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2431 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2432 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2433 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2434
2435 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2436
2437 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2438
2439 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2440
2441 * gdb.cp/koenig.exp: Added new test case.
2442 * gdb.cp/koenig.cc: Ditto.
2443
2444 2010-06-01 Michael Snyder <msnyder@vmware.com>
2445
2446 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2447 * gdb.base/arrayidx.exp: Ditto.
2448 * gdb.base/attach.exp: Ditto.
2449 * gdb.base/auxv.exp: Ditto.
2450 * gdb.base/bigcre.exp: Ditto.
2451 * gdb.base/break-always.exp: Ditto.
2452 * gdb.base/break-interp.exp: Ditto.
2453 * gdb.base/break.exp: Ditto.
2454 * gdb.base/breakpoint-shadow.exp: Ditto.
2455 * gdb.base/call-ar-st.exp: Ditto.
2456 * gdb.base/call-sc.exp: Ditto.
2457 * gdb.base/call-signal-resume.exp: Ditto.
2458 * gdb.base/callfuncs.exp: Ditto.
2459 * gdb.base/catch-syscall.exp: Ditto.
2460 * gdb.base/charset.exp: Ditto.
2461 * gdb.base/code-expr.exp: Ditto.
2462 * gdb.base/commands.exp: Ditto.
2463 * gdb.base/cond-expr.exp: Ditto.
2464 * gdb.base/condbreak.exp: Ditto.
2465 * gdb.base/cursal.exp: Ditto.
2466 * gdb.base/cvexpr.exp: Ditto.
2467 * gdb.base/default.exp: Ditto.
2468 * gdb.base/del.exp: Ditto.
2469 * gdb.base/detach.exp: Ditto.
2470 * gdb.base/display.exp: Ditto.
2471 * gdb.base/ena-dis-br.exp: Ditto.
2472 * gdb.base/eval-skip.exp: Ditto.
2473 * gdb.base/foll-fork.exp: Ditto.
2474 * gdb.base/foll-vfork.exp: Ditto.
2475 * gdb.base/frame-args.exp: Ditto.
2476 * gdb.base/funcargs.exp: Ditto.
2477 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2478 * gdb.base/gdbvars.exp: Ditto.
2479 * gdb.base/help.exp: Ditto.
2480 * gdb.base/ifelse.exp: Ditto.
2481 * gdb.base/included.exp: Ditto.
2482 * gdb.base/list.exp: Ditto.
2483 * gdb.base/macscp.exp: Ditto.
2484 * gdb.base/maint.exp: Ditto.
2485 * gdb.base/multi-fork.exp: Ditto.
2486 * gdb.base/overlays.exp: Ditto.
2487 * gdb.base/page.exp: Ditto.
2488 * gdb.base/pending.exp: Ditto.
2489 * gdb.base/pointers.exp: Ditto.
2490 * gdb.base/pr11022.exp: Ditto.
2491 * gdb.base/prelink.exp: Ditto.
2492 * gdb.base/printcmds.exp: Ditto.
2493 * gdb.base/psymtab.exp: Ditto.
2494 * gdb.base/randomize.exp: Ditto.
2495 * gdb.base/relational.exp: Ditto.
2496 * gdb.base/relocate.exp: Ditto.
2497 * gdb.base/remote.exp: Ditto.
2498 * gdb.base/sepdebug.exp: Ditto.
2499 * gdb.base/set-lang-auto.exp: Ditto.
2500 * gdb.base/setshow.exp: Ditto.
2501 * gdb.base/setvar.exp: Ditto.
2502 * gdb.base/signals.exp: Ditto.
2503 * gdb.base/signull.exp: Ditto.
2504 * gdb.base/sigstep.exp: Ditto.
2505 * gdb.base/sizeof.exp: Ditto.
2506 * gdb.base/solib-disc.exp: Ditto.
2507 * gdb.base/store.exp: Ditto.
2508 * gdb.base/structs.exp: Ditto.
2509 * gdb.base/structs2.exp: Ditto.
2510 * gdb.base/subst.exp: Ditto.
2511 * gdb.base/term.exp: Ditto.
2512 * gdb.base/trace-commands.exp: Ditto.
2513 * gdb.base/unwindonsignal.exp: Ditto.
2514 * gdb.base/valgrind-db-attach.exp: Ditto.
2515 * gdb.base/varargs.exp: Ditto.
2516 * gdb.base/watch-cond.exp: Ditto.
2517 * gdb.base/watch_thread_num.exp: Ditto.
2518 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2519 * gdb.base/watchpoint.exp: Ditto.
2520 * gdb.base/whatis-exp.exp: Ditto.
2521
2522 2010-06-01 Michael Snyder <msnyder@vmware.com>
2523
2524 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2525 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2526 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2527 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2528 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2529 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2530 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2531 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2532 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2533 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2534 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2535 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2536 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2537 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2538 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2539
2540 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2541
2542 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2543 trailing newline.
2544 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2545 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2546 (p *args): ... here and remove excessive trailing newline.
2547
2548 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2549
2550 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2551
2552 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2553
2554 Accept the new Linux kernel "t (tracing stop)" string.
2555 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2556 Update comment.
2557 (state_wait) <T (tracing stop)>: New.
2558 (main): Update the state_wait expect string.
2559
2560 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2561
2562 * limits.c, limits.exp: Delete files.
2563 * Makefile.in (clean mostlyclean): Adjust.
2564 * tracecmd.exp: Adjust.
2565
2566 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2567
2568 * gdb.base/tui-layout.exp: New.
2569
2570 2010-05-28 Michael Snyder <msnyder@vmware.com>
2571
2572 * gdb.reverse/break-precsave.exp:
2573 Replace uses of send_gdb / gdb_expect.
2574 * gdb.reverse/break-reverse.exp:
2575 Replace uses of send_gdb / gdb_expect.
2576 * gdb.reverse/consecutive-precsave.exp:
2577 Replace uses of send_gdb / gdb_expect.
2578 * gdb.reverse/consecutive-reverse.exp:
2579 Replace uses of send_gdb / gdb_expect.
2580 * gdb.reverse/finish-precsave.exp:
2581 Replace uses of send_gdb / gdb_expect.
2582 * gdb.reverse/finish-reverse.exp:
2583 Replace uses of send_gdb / gdb_expect.
2584 * gdb.reverse/i386-precsave.exp:
2585 Replace uses of send_gdb / gdb_expect.
2586 * gdb.reverse/i386-reverse.exp:
2587 Replace uses of send_gdb / gdb_expect.
2588 * gdb.reverse/i386-sse-reverse.exp:
2589 Replace uses of send_gdb / gdb_expect.
2590 * gdb.reverse/i387-env-reverse.exp:
2591 Replace uses of send_gdb / gdb_expect.
2592 * gdb.reverse/i387-stack-reverse.exp:
2593 Replace uses of send_gdb / gdb_expect.
2594 * gdb.reverse/machinestate-precsave.exp:
2595 Replace uses of send_gdb / gdb_expect.
2596 * gdb.reverse/machinestate.exp:
2597 Replace uses of send_gdb / gdb_expect.
2598 * gdb.reverse/sigall-precsave.exp:
2599 Replace uses of send_gdb / gdb_expect.
2600 * gdb.reverse/sigall-reverse.exp:
2601 Replace uses of send_gdb / gdb_expect.
2602 * gdb.reverse/solib-precsave.exp:
2603 Replace uses of send_gdb / gdb_expect.
2604 * gdb.reverse/solib-reverse.exp:
2605 Replace uses of send_gdb / gdb_expect.
2606 * gdb.reverse/step-precsave.exp:
2607 Replace uses of send_gdb / gdb_expect.
2608 * gdb.reverse/step-reverse.exp:
2609 Replace uses of send_gdb / gdb_expect.
2610 * gdb.reverse/until-precsave.exp:
2611 Replace uses of send_gdb / gdb_expect.
2612 * gdb.reverse/until-reverse.exp:
2613 Replace uses of send_gdb / gdb_expect.
2614 * gdb.reverse/watch-precsave.exp:
2615 Replace uses of send_gdb / gdb_expect.
2616 * gdb.reverse/watch-reverse.exp:
2617 Replace uses of send_gdb / gdb_expect.
2618
2619 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2620
2621 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2622 excessive newline.
2623
2624 2010-05-27 Michael Snyder <msnyder@vmware.com>
2625
2626 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2627 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2628 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2629 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2630 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2631 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2632 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2633 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2634 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2635 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2636 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2637 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2638 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2639 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2640 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2641 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2642 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2643 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2644 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2645
2646 2010-05-26 Michael Snyder <msnyder@vmware.com>
2647
2648 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2649 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2650
2651 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2652 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2653 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2654
2655 * gdb.reverse/consecutive-reverse.exp:
2656 Replace uses of send_gdb / gdb_expect.
2657 * gdb.reverse/consecutive-precsave.exp:
2658 Replace uses of send_gdb / gdb_expect.
2659
2660 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2661 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2662 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2663 * gdb.mi/mi-ns-stale-regcache.exp:
2664 Replace uses of send_gdb / gdb_expect.
2665 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2666 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2667 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2668 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2669 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2670 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2671 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2672 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2673 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2674
2675 2010-05-26 Michael Snyder <msnyder@vmware.com>
2676
2677 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2678
2679 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2680
2681 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2682 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2683 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2684 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2685 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2686 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2687 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2688 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2689 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2690
2691 2010-05-25 Tom Tromey <tromey@redhat.com>
2692
2693 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2694
2695 2010-05-25 Tom Tromey <tromey@redhat.com>
2696
2697 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2698 argument order.
2699 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2700 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2701 order.
2702 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2703 order.
2704 * gdb.base/call-sc.exp (setup_kfails): Remove.
2705 (setup_compiler_kfails): Remove.
2706 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2707 argument order.
2708 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2709 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2710 (advancei): Fix setup_kfail argument order.
2711 * gdb.base/radix.exp: Fix setup_kfail argument order.
2712 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2713 order.
2714 * gdb.base/structs.exp (setup_kfails): Remove.
2715 (setup_compiler_kfails): Fix setup_kfail argument order.
2716 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2717 order.
2718 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2719 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2720 setup_kfail argument order.
2721 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2722
2723 2010-05-25 Tom Tromey <tromey@redhat.com>
2724
2725 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2726
2727 2010-05-25 Michael Snyder <msnyder@vmware.com>
2728
2729 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2730 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2731 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2732 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2733 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2734 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2735 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2736 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2737 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2738 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2739 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2740 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2741 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2742 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2743 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2744 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2745 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2746 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2747 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2748 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2749 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2750 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2751 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2752 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2753 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2754 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2755 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2756 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2757 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2758 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2759 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2760 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2761 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2762 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2763 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2764 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2765 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2766 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2767 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2768 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2769 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2770 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2771 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2772 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2773 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2774 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2775 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2776 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2777
2778 2010-05-25 Doug Evans <dje@google.com>
2779
2780 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2781 gdb.string_to_argv.
2782
2783 2010-05-21 Tom Tromey <tromey@redhat.com>
2784
2785 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2786 Call it.
2787 * gdb.dwarf2/pieces.S: Update.
2788 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2789
2790 2010-05-21 Tom Tromey <tromey@redhat.com>
2791
2792 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2793 Call it.
2794 * gdb.dwarf2/pieces.c (struct C): New.
2795 (f6): New function.
2796 * gdb.dwarf2/pieces.S: Replace.
2797
2798 2010-05-21 Tom Tromey <tromey@redhat.com>
2799
2800 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2801 Call it.
2802
2803 2010-05-21 Tom Tromey <tromey@redhat.com>
2804
2805 * gdb.dwarf2.pieces.exp: New file.
2806 * gdb.dwarf2.pieces.S: New file.
2807 * gdb.dwarf2.pieces.c: New file.
2808
2809 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2810 Joel Brobecker <brobecker@adacore.com>
2811
2812 * lib/gdb.exp (gdb_test_no_output): New function.
2813 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2814 when testing commands that should produce no output.
2815
2816 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2817
2818 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2819 parameter that we want to watch being a constant.
2820
2821 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2822
2823 * gdb.ada/cond_lang: New testcase.
2824
2825 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2826
2827 * lib/gdb.exp (banned_variables): New variable/constant.
2828 (gdb_init): Add write trace on variables listed in banned_variables.
2829 (gdb_finish): Remove write traces on variables listed in
2830 banned_variables.
2831
2832 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2833
2834 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2835 * gdb.cp/koenig.exp: Likewise.
2836
2837 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2838
2839 PR python/11482
2840
2841 * gdb.python/py-value.exp (test_value_hash): New function.
2842
2843 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2844
2845 PR exp/11530.
2846 * gdb.base/gdb11530.c: New file.
2847 * gdb.base/gdb11530.exp: New file.
2848
2849 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2850
2851 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2852 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2853
2854 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2855
2856 * gdb.cp/koenig.exp: New test.
2857 * gdb.cp/koenig.cc: New test program.
2858
2859 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2860
2861 Remove the use of prms_id and bug_id throughout the testsuite.
2862
2863 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2864
2865 PR exp/11349.
2866 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2867 use a reference local variable.
2868
2869 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2870
2871 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2872 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2873 variable different_dir. Move debugfile into a full directory pathname
2874 under DIFFERENT_DIR.
2875 * lib/gdb.exp (separate_debug_filename): Remove.
2876 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2877 variable debug_dir and mkdir of it. Update function comments.
2878
2879 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2880
2881 PR gdb/11557
2882
2883 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2884 files.
2885
2886 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2887
2888 * gdb.python/py-param.exp: New File.
2889
2890 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2891
2892 * gdb.base/default.exp: Fix "set language" test.
2893
2894 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2895
2896 PR breakpoints/11531.
2897 * gdb.base/gdb11531.c: New file.
2898 * gdb.base/gdb11531.exp: New file.
2899
2900 2010-04-26 Tom Tromey <tromey@redhat.com>
2901
2902 * gdb.base/completion.exp: Add tests for completion and deprecated
2903 commands.
2904
2905 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2906
2907 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2908 (print /x char_array): Escape curly brackets.
2909
2910 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2911
2912 Fix deadlock on looped list of loaded shared objects.
2913 * gdb.base/solib-corrupted.exp: New.
2914
2915 2010-04-23 Doug Evans <dje@google.com>
2916
2917 * gdb.python/py-section-script.c: New file.
2918 * gdb.python/py-section-script.exp: New file.
2919 * gdb.python/py-section-script.py: New file.
2920
2921 2010-04-20 Chris Moller <cmoller@redhat.com>
2922
2923 PR 10179
2924
2925 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2926 * gdb.base/pr10179-a.c:
2927 * gdb.base/pr10179-b.c:
2928 * gdb.base/pr10179.exp: New files.
2929
2930 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2931
2932 Fix crashes on dangling display expressions.
2933 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2934 is SEP.
2935 (lib_flags): Remove the "debug" keyword.
2936 (libsepdebug): New variable for iterating new loop.
2937 (save_pf_prefix): New variable wrapping the loop.
2938 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2939 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2940
2941 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2942
2943 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2944
2945 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2946
2947 PR stabs/11479.
2948 * gdb.stabs/gdb11479.exp: New file.
2949 * gdb.stabs/gdb11479.c: New file.
2950
2951 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2952
2953 * gdb.base/charset.c (Strin16, String32): New variables.
2954 * gdb.base/charset.exp (gdb_test): Test correct display
2955 of 16 or 32 bit strings.
2956
2957 2010-04-21 Chris Moller <cmoller@redhat.com>
2958
2959 PR 9167
2960 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2961 * gdb.cp/pr9167.cc: New file.
2962 * gdb.cp/pr9167.exp: New file.
2963
2964
2965 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2966
2967 PR pascal/11492.
2968 * gdb.pascal/gdb11492.pas: New file.
2969 * gdb.pascal/gdb11492.exp: New file.
2970
2971 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2972
2973 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2974
2975 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2976
2977 * gdb.ada/dyn_loc: New testcase.
2978
2979 2010-04-20 Chris Moller <cmoller@redhat.com>
2980
2981 PR 10867
2982
2983 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2984 * gdb.cp/pr10687.cc: New file.
2985 * gdb.cp/pr10687.exp: New file.
2986
2987
2988 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2989 Sergio Durigan Junior <sergiodj@redhat.com>
2990
2991 * gdb.fortran/logical.exp: New testcase.
2992 * gdb.fortran/logical.f90: New file.
2993
2994 2010-04-19 Doug Evans <dje@google.com>
2995
2996 * gdb.base/help.exp (help source): Update expected output.
2997
2998 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3001 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3002 gdb_exit and return.
3003 (executable): New variable.
3004 (binfile): Use it.
3005
3006 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3007
3008 PR breakpoints/8554.
3009
3010 * gdb.trace/save-trace.exp: Adjust.
3011
3012 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3013
3014 PR corefiles/11511
3015 * gdb.arch/system-gcore.exp: New.
3016 * gdb.arch/gcore.c: Likewise.
3017
3018 2010-04-15 Doug Evans <dje@google.com>
3019
3020 * gdb.python/py-progspace.c: New file.
3021 * gdb.python/py-progspace.exp: New file.
3022
3023 * gdb.base/source.exp: Add tests for "source -s".
3024
3025 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3026
3027 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3028 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3029 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3030 * gdb.python/py-mi.exp: New test for to_string returning None.
3031
3032 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3033
3034 * gdb.python/py-breakpoint.c: Make result global.
3035
3036 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3037
3038 Fix non-GNU make compatibility.
3039 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3040
3041 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3042
3043 * gdb.python/py-breakpoint.exp: New File.
3044 * gdb.python/py-breakpoint.C: Ditto.
3045
3046 2010-04-08 Stan Shebs <stan@codesourcery.com>
3047
3048 * gdb.trace/actions.exp: Clear default-collect.
3049 * gdb.trace/save-trace.exp: Clear default-collect.
3050
3051 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3052
3053 * gdb.python/py-value: Add null string variable.
3054 (test_lazy_string): Test zero length, NULL address lazy
3055 strings.
3056
3057 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3058
3059 * gdb.arch/i386-avx.c: New.
3060 * gdb.arch/i386-avx.exp: Likewise.
3061
3062 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3063
3064 2010-04-06 Doug Evans <dje@google.com>
3065
3066 * gdb.base/source-test.gdb: New file.
3067 * gdb.base/source.exp: Test source -v.
3068
3069 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3070
3071 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3072
3073 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3074
3075 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3076 within one line, unless it is followed by a double quote.
3077 * gdb.stabs/hppa.sed: Idem.
3078 * gdb.stabs/weird.def: Add char and String constants
3079 * gdb.stabs/weird.exp: Check for correct parsing of
3080 char and string constants.
3081 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3082 in .stabs to .stabx substitution.
3083
3084 2010-04-05 Stan Shebs <stan@codesourcery.com>
3085
3086 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3087 constant global.
3088 * gdb.trace/tfile.exp: Try to print them.
3089
3090 2010-04-04 Stan Shebs <stan@codesourcery.com>
3091
3092 * gdb.base/completion.exp: Update for new "info watchpoints".
3093 * gdb.base/default.exp: Ditto.
3094 * gdb.base/help.exp: Ditto.
3095 * gdb.base/watchpoint.exp: Ditto.
3096 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3097
3098 2010-04-04 Stan Shebs <stan@codesourcery.com>
3099
3100 * gdb.trace/tfile.exp: Sharpen tfind test.
3101
3102 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3103
3104 * gdb.base/break-entry.exp: New.
3105
3106 2010-04-02 Hui Zhu <teawater@gmail.com>
3107 Michael Snyder <msnyder@vmware.com>
3108
3109 * gdb.reverse/i386-sse-reverse.exp: New file.
3110 * gdb.reverse/i386-sse-reverse.c: New file.
3111
3112 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3113
3114 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3115
3116 2010-04-01 Stan Shebs <stan@codesourcery.com>
3117
3118 * gdb.trace/actions.exp: Tweak expected output.
3119 * gdb.trace/while-stepping.exp: Tweak expected output.
3120
3121 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3124
3125 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3126
3127 * gdb.base/commands.exp: Adjust.
3128 * gdb.cp/extern-c.exp: Adjust.
3129
3130 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3131
3132 * gdb.trace/collection.c (local_test_func): Define a local struct,
3133 and instanciate it.
3134
3135 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3136
3137 * gdb.trace/collection.exp (gdb_collect_args_test)
3138 (gdb_collect_argarray_test): XFAIL the tests that assume the
3139 argarray argument's elements are collected.
3140
3141 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3142
3143 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3144 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3145
3146 2010-03-31 Stan Shebs <stan@codesourcery.com>
3147
3148 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3149 and tracepoint conditionals.
3150 (gdb_verify_tracepoints): Delete unused return.
3151
3152 2010-03-26 Keith Seitz <keiths@redhat.com>
3153
3154 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3155 appear in the output before main.
3156 Remove KFAIL for gdb/2215 aka bz 9320.
3157
3158 2010-03-30 Doug Evans <dje@google.com>
3159
3160 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3161 by dejagnu.
3162 * gdb.arch/amd64-dword.exp: Ditto.
3163
3164 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3165 match.
3166 (break printf): Ditto.
3167
3168 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3169
3170 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3171 gcc < 4.4.
3172 * gdb.cp/shadow.exp: Ditto.
3173
3174 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3175
3176 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3177 "tstart" is silent.
3178
3179 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3180
3181 * gdb.trace/collection.exp (executable): New.
3182 (binfile): Use it.
3183 (fpreg, spreg, pcreg): New.
3184 (test_register): Use gdb_test_multiple. Pass /x to print.
3185 (prepare_for_trace_test): New.
3186 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3187 (gdb_collect_args_test, gdb_collect_argstruct_test)
3188 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3189 prepare_for_trace_test.
3190 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3191 fpreg, spreg and pcreg.
3192 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3193 prepare_for_trace_test.
3194 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3195 try to detect tracing support here. Don't set breakpoints at
3196 `begin' or `end' here.
3197 <global scope>: Use clean_restart. Run to main before checking
3198 for tracing support. Check for for tracing support here.
3199
3200 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3203 " as $displacement" to "seen displacement message".
3204
3205 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3206
3207 * gdb.trace/while-dyn.exp (executable): New variable.
3208 (binfile): Use it.
3209 (test_while_stepping): New function. Move most tests here. Call
3210 it once for each of the while-stepping, stepping and ws aliases.
3211
3212 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3213
3214 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3215 that do not provide the tagless_struct type name at all.
3216 (test_print_anon_union): Do not check value of uninitialized
3217 union member. Do not use cp_test_ptype_class, so we can accept
3218 "long" as well as "long int".
3219
3220 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3221
3222 * gdb.trace/tfile.c (tohex, bin2hex): New.
3223 (write_error_trace_file): Hexify error description.
3224
3225 2010-03-25 Stan Shebs <stan@codesourcery.com>
3226
3227 * gdb.trace/tfile.c: Generate an additional trace file, improve
3228 portability.
3229 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3230 files in a better way.
3231
3232 2010-03-25 Keith Seitz <keiths@redhat.com>
3233
3234 * gdb.java/jprint.exp: XFAIL printing of static class members
3235 because of GCC debuginfo problem.
3236
3237 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3240
3241 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3242
3243 * gdb.base/completion.exp: Allow long instead of long int.
3244 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3245 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3246 variable p.
3247 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3248 * gdb.base/pointers.exp: Allow long instead of long int.
3249 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3250 * gdb.base/step-line.exp: Allow a directory before the source file name.
3251
3252 2010-03-24 Tom Tromey <tromey@redhat.com>
3253
3254 PR breakpoints/9352:
3255 * gdb.base/default.exp: Update.
3256 * gdb.base/commands.exp: Update.
3257 * gdb.cp/extern-c.exp: Test setting commands on multiple
3258 breakpoints at once.
3259
3260 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3261
3262 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3263 if gdb,nosignals.
3264 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3265 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3266 exited".
3267
3268 2010-03-24 Stan Shebs <stan@codesourcery.com>
3269
3270 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3271
3272 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3273
3274 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3275 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3276 argument. Handle "short" and "long".
3277 (Top level): Pass overprototyped output for old_fptr and xptr.
3278
3279 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3280
3281 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3282 format strings and add casts to avoid compiler warnings.
3283
3284 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3285
3286 * lib/trace-support.exp (gdb_trace_setactions):
3287 Don't expect whitespace after ">" prompt.
3288 * gdb.trace/actions.exp: Adjust for output changes.
3289 * gdb.trace/while-stepping.exp: Likewise.
3290
3291 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3292
3293 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3294 and r157645).
3295
3296 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3297
3298 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3299 New.
3300
3301 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3302
3303 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3304 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3305
3306 2010-03-19 Stan Shebs <stan@codesourcery.com>
3307
3308 * gdb.trace/ax.exp: New file.
3309
3310 2010-03-19 Doug Evans <dje@google.com>
3311
3312 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3313 output from gcc.
3314
3315 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3316 named /usr/sbin/prelink<foo>.
3317
3318 2010-03-18 Stan Shebs <stan@codesourcery.com>
3319
3320 * gdb.trace/circ.exp: Test circular-trace-buffer.
3321 * gdb.trace/tfile.exp: Update tstatus test.
3322
3323 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3324
3325 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3326 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3327
3328 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3329
3330 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3331
3332 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3333
3334 * gdb.base/default.exp: Adjust the expected output of the finish
3335 and until commands when the inferior is not being run.
3336
3337 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3338
3339 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3340 * gdb.cp/nsusing.exp: Ditto.
3341
3342 2010-03-15 Tom Tromey <tromey@redhat.com>
3343
3344 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3345 * gdb.cp/userdef.cc (operator==): New function.
3346 (main): New locals mem1, mem2.
3347
3348 2010-03-15 Jie Zhang <jie@codesourcery.com>
3349
3350 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3351 Declare and use new loadtimeout variable.
3352
3353 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3354
3355 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3356 Use gdb_load later.
3357
3358 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3359
3360 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3361 literal. Add missing endlines to prints to stderr.
3362
3363 2010-03-12 Tom Tromey <tromey@redhat.com>
3364
3365 PR c++/9708:
3366 * gdb.cp/m-static.exp: Add regression test.
3367 * gdb.cp/m-static.cc (method): New method.
3368 (main): Call it.
3369
3370 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3371
3372 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3373 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3374
3375 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3376
3377 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3378
3379 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3380
3381 * lib/gdb.exp (skip_stl_tests): New.
3382 (gdb_compile): Symbian needs -ldl.
3383 (shlib_target_file): New.
3384 (shlib_symbol_file): New.
3385 (gdb_load_shlibs): Use shlib_target_file.
3386 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3387 * gdb.cp/exception.exp: Use skip_stl_tests.
3388 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3389 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3390 * gdb.cp/mb-templates.exp: Ditto.
3391 * gdb.base/commands.exp: Relax regexes.
3392 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3393 shlib_target_file and shlib_symbol_file.
3394 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3395 sections.
3396 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3397 * gdb.base/solib-disc.exp: Use
3398 shlib_target_file and shlib_symbol_file.
3399 * gdb.base/unload.exp: Don't skip on symbian. Use
3400 shlib_target_file and shlib_symbol_file.
3401 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3402
3403 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3404
3405 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3406 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3407 Issue a tfind end before looking for a tracepoint frame.
3408 * gdb.trace/tfind.exp: Adjust tstatus output.
3409 Adjust disassembly output.
3410 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3411
3412 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3413
3414 * gdb.base/break-interp.exp: Create new displacement parameter value
3415 for the test_ld calls.
3416 (reach): New parameter displacement, verify its content. New push of
3417 pf_prefix "reach-$func:". Import global expect_out.
3418 (test_core): New parameter displacement, verify its content. New push
3419 of pf_prefix "core:". New command "set verbose on". Import global
3420 expect_out.
3421 (test_attach): New parameter displacement, verify its content. New
3422 push of pf_prefix "attach:". New command "set verbose on". Import
3423 global expect_out.
3424 (test_ld): New parameter displacement, pass it to the reach, test_core
3425 and test_attach calls and verify its content in the "ld.so exit" test.
3426 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3427 (prelink): Update expected text, use gdb_test.
3428
3429 2010-03-10 Doug Evans <dje@google.com>
3430
3431 * gdb.base/checkpoint.exp: Fix comment.
3432 Lengthen timeout while doing >600 checkpoints test.
3433 Rename duplicate "kill all one" test to keep test names unique.
3434
3435 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3436
3437 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3438
3439 2010-03-08 Keith Seitz <keiths@redhat.com>
3440
3441 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3442 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3443 (dm_type_long): New function.
3444 (dm_type_unsigned_short): New function.
3445 (dm_type_unsigned_long): New function.
3446 (myint): New typedef.
3447 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3448 long, unsigned shor and long, operator char*, and typedef.
3449 (test_lookup_operator_functions): Add operator char* test.
3450 (test_paddr_operator_functions): Likewise.
3451 (test_paddr_overloaded_functions): Use probe values for
3452 short, long, and unsigned short and long.
3453 (test_paddr_hairy_functions): If the demangler probe detected
3454 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3455 demangler.
3456 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3457 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3458 and "print null_pmf".
3459 Add test "ptype a.*pmf".
3460 * gdb.cp/overload.exp: Allow optional "int" to appear with
3461 "short" and "long".
3462 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3463 long expect value for men_overload1arg.
3464 Allow "int" to appear with "short" and "long".
3465 When testing "info break", add argument for main (void).
3466 Also allow "int" to appear with "short" and "long".
3467 Ditto with "unsigned" and "long long".
3468 * gdb.java/jmain.exp: Do not enclose methods names in single
3469 quotes.
3470 * gdb.java/jmisc.exp: Likewise.
3471 * gdb.java/jprint.exp: Likewise.
3472 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3473
3474 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3475 * gdb.cp/exception.exp (backtrace after first throw)
3476 (backtrace after second throw): Allow a namespace before __cxa_throw.
3477 (backtrace after first catch, backtrace after second catch): Allow
3478 a namespace before __cxa_begin_catch.
3479
3480 * gdb.cp/cpexprs.exp: New file.
3481 * gdb.cp/cpexprs.cc: New file.
3482
3483 From Daniel Jacobowitz <dan@codesourcery.com>
3484 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3485 to use string_to_regexp.
3486 (ctor, dtor): New functions. Use them to match constructor
3487 and destructor function types.
3488 (Top level): Use runto_main.
3489
3490 2010-03-05 Tom Tromey <tromey@redhat.com>
3491
3492 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3493 gdb.target_charset.
3494 (pp_ns.to_string): Likewise.
3495
3496 2010-03-04 Keith Seitz <keiths@redhat.com>
3497
3498 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3499 can be quoted. Test that both the filename and function/line
3500 portions can be quoted at the same time.
3501
3502 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3503
3504 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3505
3506 2010-03-03 Doug Evans <dje@google.com>
3507
3508 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3509 libc contains libpthread.
3510
3511 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3512 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3513 of gdb_compile. Add another pattern to match android backtrace.
3514
3515 2010-03-03 Tom Tromey <tromey@redhat.com>
3516
3517 PR gdb/11345:
3518 * gdb.base/printcmds.exp (test_printf): Add test.
3519
3520 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3521
3522 * gdb.arch/amd64-byte.exp: New.
3523 * gdb.arch/amd64-dword.exp: Likewise.
3524 * gdb.arch/amd64-pseudo.c: Likewise.
3525 * gdb.arch/amd64-word.exp: Likewise.
3526 * gdb.arch/i386-byte.exp: Likewise.
3527 * gdb.arch/i386-pseudo.c: Likewise.
3528 * gdb.arch/i386-word.exp: Likewise.
3529
3530 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3531
3532 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3533 types. Add structreg, bitfields, and flags registers.
3534 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3535 registers.
3536
3537 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3540 (load_description): Set architecture if defined.
3541
3542 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3543
3544 * gdb.python/py-frame.exp: Add read_var block tests.
3545 * gdb.python/py-frame.c (block): New function.
3546
3547 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3548 Daniel Jacobowitz <dan@codesourcery.com>
3549
3550 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3551
3552 2010-02-25 David S. Miller <davem@davemloft.net>
3553
3554 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3555 fix logic for setting all_syscalls_numbers.
3556
3557 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3558
3559 * Makefile.in: Add py-block and py-symbol.
3560 * gdb.python/py-symbol.exp: New File.
3561 * gdb.python/py-symtab.exp: New File.
3562 * gdb.python/py-block.exp: New File.
3563 * gdb.python/py-symbol.c: New File.
3564 * gdb.python/py-block.c: New File.
3565
3566 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3567
3568 PR python/11314
3569 * lib/gdb.exp (skip_python_tests): New function.
3570 * gdb.python/py-cmd.exp: Use skip_python_tests.
3571 * gdb.python/py-frame.exp: Likewise.
3572 * gdb.python/py-function.exp: Likewise.
3573 * gdb.python/py-prettyprint.exp: Likewise.
3574 * gdb.python/py-template.exp: Likewise.
3575 * gdb.python/py-type.exp: Likewise.
3576 * gdb.python/py-value.exp: Likewise.
3577
3578 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3579
3580 PR9605
3581
3582 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3583
3584 2010-02-19 Tom Tromey <tromey@redhat.com>
3585
3586 PR c++/8693, PR c++/9496:
3587 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3588 regression tests.
3589
3590 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3591
3592 Fix compatibility with m68k as.
3593 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3594 Use only /* comments */.
3595
3596 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3597
3598 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3599 * configure: Regenerate.
3600
3601 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3602
3603 * gdb.python/py-type.exp: Check for Python support.
3604
3605 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3606
3607 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3608 `regsub' syntax available.
3609
3610 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3611
3612 * gdb.base/shmain.c (main): Remove printf call.
3613 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3614 * gdb.base/unload.c (main): Make format of fprintf a string
3615 literal. Add missing endlines to prints to stderr.
3616 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3617
3618 2010-02-17 Tom Tromey <tromey@redhat.com>
3619
3620 * gdb.java/jprint.java (jprint.props): New field.
3621 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3622
3623 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3624
3625 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3626 available.
3627
3628 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3629
3630 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3631 creation to support remote host testing.
3632
3633 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3634
3635 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3636 Recognize "command not found".
3637
3638 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3639
3640 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3641 single-stepping.
3642
3643 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3644
3645 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3646 if arguments are not supported.
3647
3648 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3649
3650 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3651 be const or non-const.
3652
3653 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3654
3655 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3656 mi_send_resuming_command to send -exec-continue.
3657
3658 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3659
3660 * gdb.base/list.exp (test_list_filename_and_function): Add test
3661 with single quotes.
3662 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3663 matching.
3664 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3665 Add KFAIL'd tests for PR gdb/11289.
3666
3667 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3668
3669 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3670
3671 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3672
3673 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3674 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3675 a temporary directory.
3676
3677 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3678
3679 * gdb.base/charset.exp: Use a single regular expression to match
3680 show host-charset and show target-charset output.
3681
3682 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3683
3684 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3685 "Illegal process-id" expect string more exact.
3686 (attach to digits-starting nonsense is prohibited): New.
3687
3688 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3689
3690 * gdb.base/prelink.exp (set verbose on): New.
3691
3692 2010-02-12 Tomas Holmberg <th@virtutech.com>
3693
3694 * mi-reverse.exp: New file. Test for reverse option to the
3695 following MI commands: exec-continue, exec-finish, exec-next,
3696 exec-step, exec-next-instruction, exec-step-instruction.
3697
3698 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3699
3700 * gdb.ada/ptype_tagged_param: New testcase.
3701
3702 2010-02-08 Tom Tromey <tromey@redhat.com>
3703
3704 PR c++/8017:
3705 * gdb.cp/overload.exp: Add tests.
3706 * gdb.cp/overload.cc (struct K): New.
3707 (namespace N): New.
3708 (main): Call new functions.
3709 (K::staticoverload): Define.
3710
3711 2010-02-08 Chris Moller <moller@mollerware.com>
3712
3713 PR gdb/10728
3714 * gdb.cp/pr10728-x.h: New file.
3715 * gdb.cp/pr10728-x.cc: New file.
3716 * gdb.cp/pr10728-y.cc: New file.
3717 * gdb.cp/pr10728.exp: New file.
3718 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3719
3720 2010-02-08 Chris Moller <moller@mollerware.com>
3721
3722 PR gdb/9067
3723 * gdb.cp/pr9067.exp: New
3724 * gdb.cp/pr9067.cc: New
3725 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3726
3727 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3728
3729 * lib/gdb.exp (gdb_test_timeout): New global variable.
3730 Set it to timeout if not already set.
3731 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3732
3733 2010-02-05 Doug Evans <dje@google.com>
3734
3735 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3736 user.
3737
3738 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3739
3740 PR c++/7935:
3741 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3742
3743 2010-02-04 Tom Tromey <tromey@redhat.com>
3744
3745 * gdb.cp/virtbase.exp: Make test case names unique.
3746
3747 2010-02-02 Tom Tromey <tromey@redhat.com>
3748
3749 * gdb.cp/virtbase.exp: Add regression tests.
3750 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3751 (main): Instantiate RHC.
3752
3753 2010-02-02 Tom Tromey <tromey@redhat.com>
3754
3755 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3756 type-printing change.
3757
3758 2010-02-02 Tom Tromey <tromey@redhat.com>
3759
3760 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3761 * gdb.cp/virtbase.cc: New file.
3762 * gdb.cp/virtbase.exp: New file.
3763 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3764
3765 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 PR libc/11214:
3768 * gdb.threads/current-lwp-dead.c: Include features.h.
3769 (HAS_NOMMU): New.
3770 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3771
3772 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3773
3774 * gdb.base/symbol-without-target_section.exp,
3775 gdb.base/symbol-without-target_section.c: New.
3776
3777 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3778
3779 * gdb.base/bigcore.exp: Reset increased timeout.
3780 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3781
3782 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3783
3784 * gdb.base/gcore.exp (capture_command_output): Use
3785 gdb_test_multiple.
3786
3787 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3788
3789 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3790 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3791 (Top level): Call it.
3792
3793 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3794
3795 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3796
3797 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3798
3799 * gdb.base/call-strs.exp, gdb.base/default.exp,
3800 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3801 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3802 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3803 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3804 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3805 * gdb.base/ending-run.exp: Correct restore of timeout.
3806 * gdb.base/page.exp: Remove unnecessary timeout setting.
3807
3808 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3809
3810 * gdb.ada/rec_return: New testcase.
3811
3812 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3813
3814 * gdb.ada/call_pn: New testcase.
3815
3816 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3817
3818 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3819 (Top level): Use it to resume.
3820 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3821 the Thumb mode displaced stepping error as unsupported.
3822
3823 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3824
3825 * gdb.cp/nsusing.exp: Added more tests.
3826 * gdb.cp/nsrecurs.exp: Ditto.
3827 * gdb.cp/nsusing.cc: Added test functions.
3828 * gdb.cp/nsrecurs.cc: Ditto.
3829
3830 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3831
3832 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3833 absolute directory pathnames in gdb.sum file.
3834
3835 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3836
3837 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3838 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3839
3840 2010-01-26 Tom Tromey <tromey@redhat.com>
3841
3842 PR exp/7643:
3843 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3844 setup_kfail.
3845
3846 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3847
3848 * gdb.cp/nsrecurs.exp: New test.
3849 * gdb.cp/nsrecurs.cc: New test program.
3850 * gdb.cp/nsstress.exp: New test.
3851 * gdb.cp/nsstress.cc: New test program.
3852 * gdb.cp/nsdecl.exp: New test.
3853 * gdb.cp/nsdecl.cc: New test program.
3854
3855 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3856
3857 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3858 imported into file scope.
3859 Marked test as xfail.
3860 * gdb.cp/namespace-using.cc (marker5): New function.
3861 * gdb.cp/shadow.exp: New test.
3862 * gdb.cp/shadow.cc: New test program.
3863 * gdb.cp/nsimport.exp: New test.
3864 * gdb.cp/nsimport.cc: New test program.
3865
3866 2010-01-25 Tom Tromey <tromey@redhat.com>
3867
3868 PR gdb/11049:
3869 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3870 with "set print null-stop on".
3871
3872 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3875 Adjust it for DISASSEMBLY_OMIT_FNAME.
3876
3877 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3878
3879 PR symtab/11199:
3880 * gdb.dwarf2/member-ptr-forwardref.exp,
3881 gdb.dwarf2/member-ptr-forwardref.S: New.
3882
3883 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3884
3885 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3886 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3887 thread1_tid_mutex. Remove gdbstop_mutex handling.
3888 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3889 thread2_tid_mutex. Remove gdbstop_mutex handling.
3890 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3891 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3892 pthread_cond_wait conditionalizations by while loops.
3893
3894 2010-01-20 Tom Tromey <tromey@redhat.com>
3895
3896 PR backtrace/10770:
3897 * gdb.dwarf2/pr10770.exp: New file.
3898 * gdb.dwarf2/pr10770.c: New file.
3899 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3900
3901 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3902
3903 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3904 that target was removed, and the test always runs native anyway.
3905
3906 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3907
3908 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3909 gdb.base/watchpoint-cond-gone-stripped.c: New.
3910
3911 2010-01-19 Tom Tromey <tromey@redhat.com>
3912
3913 PR c++/8000:
3914 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3915 existing tests.
3916 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3917 (main): Use AAA::SomeEnum.
3918
3919 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3920
3921 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3922 (test_ignore_count): Declare line_callme_body global.
3923 (run to breakpoint with ignore count): Use line_callme_body.
3924 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3925 (set line_main_hello, set line_main_return): Reindent.
3926 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3927 New.
3928 (continue to callee4): Use line_callee4_body.
3929 (check *stopped from CLI command): Use line_callee4_next.
3930 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3931 (set line_main_hello, set line_main_return): Reindent.
3932 (set line_callee4_head, set line_callee4_body): New.
3933 (continue to callee4): Use line_callee4_body.
3934
3935 2010-01-18 Tom Tromey <tromey@redhat.com>
3936
3937 PR c++/9680:
3938 * gdb.cp/casts.cc: Add new classes and variables.
3939 * gdb.cp/casts.exp: Test new operators.
3940
3941 2010-01-18 Tom Tromey <tromey@redhat.com>
3942 Thiago Jung Bauermann <bauerman@br.ibm.com>
3943
3944 * gdb.python/source2.py: New file.
3945 * gdb.python/source1: New file.
3946 * gdb.python/python.exp: Test "source" command.
3947
3948 2010-01-15 Stan Shebs <stan@codesourcery.com>
3949
3950 * gdb.trace/tfile.c: New file.
3951 * gdb.trace/tfile.exp: New file.
3952
3953 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3956
3957 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3960
3961 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3962
3963 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3964 (libfunc): New parameter action. Implement also selectable "sleep".
3965 * gdb.base/break-interp-main.c: Include assert.h.
3966 (libfunc): New parameter action.
3967 (main): New parameters argc and argv. Assert argc. Pass argv.
3968 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3969 (test_attach): New proc.
3970 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3971 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3972
3973 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3974
3975 * gdb.base/break-interp.exp (test_core): New proc.
3976 (test_ld): Call it.
3977
3978 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3979
3980 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3981 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3982 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3983 and gdb_compile_shlib. Use new -Wl compiler options.
3984 (dl bt, main bt): New tests.
3985
3986 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 Support PIEs with no symfile_objfile.
3989 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3990 (test_ld): New parameter trynosym.
3991 (test_ld <$trynosym>): New block.
3992
3993 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 * gdb.base/break-interp.exp: New file.
3996
3997 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3998
3999 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4000 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4001 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4002 test.
4003 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4004 * gdb.python/py-mi.exp: Add lazy string test.
4005
4006 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4007
4008 * lib/mi-support.exp (mi_check_thread_states): Handle
4009 core number in thread listing.
4010
4011 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4012
4013 * gdb.base/maint.exp: Adjust the expected output for the
4014 "maint print type" test. Use gdb_test_multiple instead of
4015 gdb_sent/gdb_expect.
4016
4017 2010-01-11 Doug Evans <dje@google.com>
4018
4019 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4020 from gdbserver_download. All callers updated.
4021
4022 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4023
4024 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4025
4026 Implement binary numbers parsing.
4027 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4028 (test_integer_literals_rejected): New binary tests.
4029
4030 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4031
4032 * gdb.cell/configure: Regenerate.
4033
4034 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4035
4036 * gdb.base/corefile.exp: Move the core finding block out and call it as
4037 core_find, new variable $corefile, replace corefile by $corefile and
4038 [file tail $corefile] for usage vs. test names resp.
4039 * lib/gdb.exp (core_find): Move it as a new function here. New
4040 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4041 $destcore. Return "" on error.
4042
4043 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4044
4045 Workaround PR binutils/10802.
4046 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4047 (twice).
4048
4049 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4050
4051 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4052
4053 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4054
4055 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4056 call, to avoid interruption.
4057
4058 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4059
4060 * gdb.stabs/weird.def (args93): New.
4061
4062 2010-01-07 Doug Evans <dje@google.com>
4063
4064 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4065
4066 2010-01-07 Tom Tromey <tromey@redhat.com>
4067
4068 * gdb.base/source.exp: Use correct line number.
4069
4070 2010-01-05 Stan Shebs <stan@codesourcery.com>
4071
4072 * gdb.trace/tracecmd.exp: Test ftrace.
4073
4074 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4075
4076 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4077
4078 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4079
4080 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4081 "uint_for_mi_testing".
4082
4083 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4084
4085 Test indented comment in file being sourced.
4086 * gdb.base/commands.exp: Test indented comment in file being sourced.
4087
4088 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4089
4090 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4091 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4092 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4093 notice.
4094
4095 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4096
4097 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4098 notice.
4099
4100 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4101
4102 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4103 missing $after_stopped and comma (,) expectation.
4104
4105 2009-12-31 Stan Shebs <stan@codesourcery.com>
4106
4107 * gdb.trace/actions.exp: Test teval action.
4108
4109 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4110
4111 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4112 (top level): Call test_watchpoint_in_big_blob.
4113 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4114 watchpoints.
4115 (func3): Write to buf.
4116
4117 2009-12-29 Stan Shebs <stan@codesourcery.com>
4118
4119 * gdb.trace/actions.exp: Test default-collect.
4120
4121 2009-12-28 Stan Shebs <stan@codesourcery.com>
4122
4123 * gdb.trace/tsv.exp: New file.
4124 * gdb.base/completion.exp: Update ambiguous info output.
4125
4126 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4127
4128 * gdb.base/find.c (main): Reference search buffers.
4129 * gdb.base/included.c (main): Reference integer.
4130 * gdb.base/ptype.c (charfoo): Declare.
4131 (intfoo): Call charfoo.
4132 * gdb.base/scope0.c (useitp): New function.
4133 (usestatics): Use useitp.
4134 (useit): Add a type for val.
4135 * gdb.base/scope1.c (useit1): Take a pointer argument.
4136 (usestatics1): Update calls to useit1.
4137 * gdb.cp/call-c.cc: Declare foo.
4138 (main): Call foo.
4139 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4140 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4141 (main): Call C::ensureRefs and ensureOtherRefs.
4142 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4143 variables.
4144 (ensureOtherRefs): New function.
4145 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4146 * gdb.cp/templates.cc (main): Call t5i.value.
4147
4148 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4149
4150 Fix compatibility with G++-4.5.
4151 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4152 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4153 (uncaught return): Remove.
4154
4155 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4156 Phil Muldoon <pmuldoon@redhat.com>
4157
4158 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4159 (bp_location13, bp_location14, bp_location17, bp_location18)
4160 (marker3_proto, marker4_proto): New variables.
4161 (breakpoint info): Update output.
4162 (run until breakpoint at marker3, run until breakpoint at marker4): New
4163 tests.
4164
4165 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4166
4167 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4168 Replace the printf call of Y by provided "y-set-1" label. New block
4169 for the second shared library.
4170 * gdb.base/unload.exp: Compile also the second library, call
4171 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4172 (single pending breakpoint info): Rename to ...
4173 (pending breakpoint info before run): ... this extended test.
4174 (libfile2, libname2, libsrcfile2, libsrc2)
4175 (lib_sl2): New variables.
4176 (exec_opts): Set also SHLIB_NAME2.
4177 (pending breakpoint info on first run at shrfunc1)
4178 (pending breakpoint info on second run at shrfunc1)
4179 (pending breakpoint info on second run at shrfunc2)
4180 (print y from libfile, print y from libfile2): New tests.
4181 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4182 * gdb.base/unloadshr2.c: New.
4183
4184 2009-12-22 Hui Zhu <teawater@gmail.com>
4185
4186 * gdb.reverse/sigall-reverse.exp: Adjust.
4187
4188 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4189
4190 PR gdb/10884
4191
4192 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4193 (main): Call do_bitfield_tests.
4194 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4195
4196 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4197
4198 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4199 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4200 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4201 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4202 gdb.modula2/unbounded1.c: Update copyright header.
4203
4204 2009-12-10 Chris Moller <moller@mollerware.com>
4205
4206 PR gdb/9399
4207 * gdb.cp/virtfunc2.exp: New tests
4208 * gdb.cp/virtfunc2.cc: New tests
4209 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4210
4211 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4212
4213 * gdb.reverse/i387-env-reverse.c: New file.
4214 * gdb.reverse/i387-env-reverse.exp: New file.
4215 * gdb.reverse/i387-stack-reverse.c: New file.
4216 * gdb.reverse/i387-stack-reverse.exp: New file.
4217
4218 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4219
4220 * gdb.python/py-type.exp (test_range): New test.
4221
4222 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4223
4224 PR python/10805
4225
4226 * gdb.python/py-type.exp: New file.
4227 * gdb.python/py-type.c: New file.
4228 * Makefile.in: Add py-type.
4229
4230 2009-12-03 Tom Tromey <tromey@redhat.com>
4231
4232 * gdb.python/py-value.exp (test_parse_and_eval): New
4233 function.
4234
4235 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4236
4237 PR gdb/11022
4238
4239 * gdb.base/pr11022.exp: New test.
4240 * gdb.base/pr11022.c: New test.
4241
4242 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4243
4244 Fix spurious false FAILs.
4245 * gdb.base/structs.c (chartest): New.
4246 (main): Fill-in chartest.
4247 * gdb.base/structs.exp (anychar_re, first): New.
4248 (start_structs_test): Import global anychar_re and first.
4249 New gdb_test call "set print elements 300; ${testfile}"
4250 (start_structs_test <$first>): New block.
4251 (any): Import global anychar_re. New variable ac. Use ${ac}.
4252
4253 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4254
4255 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4256
4257 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4258
4259 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4260 Force $srcfile file.
4261 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4262
4263 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4264
4265 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4266 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4267 * gdb.threads/watchthreads-reorder.exp: Likewise.
4268
4269 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4270
4271 PR gdb/8704
4272
4273 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4274 "if", and "thread". Correct matching in the previous test.
4275
4276 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4277
4278 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4279
4280 2009-11-23 Michael Snyder <msnyder@vmware.com>
4281
4282 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4283 * gdb.reverse-watch-precsave.exp: Ditto.
4284
4285 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4286
4287 * gdb.asm/asm-source.exp: Adjust.
4288 * gdb.base/help.exp: Adjust.
4289
4290 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4291
4292 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4293 (do_syscall_tests_without_xml): Set data-directory to
4294 /the/path/to/nowhere.
4295
4296 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4297
4298 * gdb.threads/local-watch-wrong-thread.c,
4299 gdb.threads/local-watch-wrong-thread.exp: New files.
4300
4301 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4302
4303 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4304 assume new `regsub' syntax available.
4305
4306 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.base/watchpoint-hw-hit-once.exp,
4309 gdb.base/watchpoint-hw-hit-once.c: New.
4310
4311 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4312
4313 * gdb.threads/watchthreads-reorder.exp,
4314 gdb.threads/watchthreads-reorder.c: New.
4315
4316 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4317
4318 * gdb.xml/tdesc-regs.exp: Use for m68k.
4319
4320 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4321
4322 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4323
4324 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4325
4326 * lib/gdb.exp (current_target_name): New procedure.
4327 (gdb_wrapper_target): New variable.
4328 (gdb_wrapper_init): Set gdb_wrapper_target.
4329 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4330 wrapper.
4331
4332 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4333
4334 * gdb.base/remote.exp: Delete the slowest load test.
4335 Do not load with fixed packet sizes.
4336
4337 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4338
4339 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4340
4341 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4342
4343 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4344 srcfile when setting a breakpoint.
4345
4346 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4347
4348 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4349 macros.
4350
4351 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4352
4353 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4354 to be in memory.
4355 * gdb.base/display.c (force_mem): New.
4356 (do_loops): Use it. Add breakpoint comments.
4357 (do_vars): Add a breakpoint comment.
4358 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4359 line numbers.
4360
4361 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4362
4363 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4364 instead of a bare "run".
4365
4366 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4367
4368 * gdb.python/py-prettyprint.exp: Adjust.
4369
4370 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4371
4372 * lib/cell.exp (skip_cell_tests): Clean up test files before
4373 returning.
4374
4375 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4376
4377 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4378 and the breakpoint menu. Do not call perror if a prompt is seen.
4379 Consume the following GDB prompt.
4380 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4381 * gdb.cp/namespace.exp: Use gdb_test.
4382 * gdb.cp/templates.exp: Use gdb_test.
4383 (test_template_breakpoints): Use gdb_test_multiple.
4384
4385 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4386
4387 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4388 (marker4): Reference values.
4389
4390 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4391
4392 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4393 is missing.
4394
4395 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4396
4397 * gdb.base/break.c (need_malloc): New.
4398 * gdb.base/constvars.c (main): Reference crass and crisp.
4399 * gdb.base/gdb1821.c (main): Reference bar.
4400 * gdb.cp/gdb1355.cc (main): Reference s1.
4401 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4402 (main): Call them.
4403 * gdb.cp/hang2.cc (dummy2): Define.
4404 * gdb.cp/hang3.cc (dummy3): Define.
4405 * gdb.cp/m-data.cc (main): Reference shadow.
4406
4407 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4408 Nathan Froyd <froydnj@codesourcery.com>
4409
4410 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4411 remote host.
4412
4413 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4414
4415 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4416 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4417 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4418 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4419 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4420 * gdb.dwarf2/dw2-producer.exp: Likewise.
4421 * gdb.dwarf2/mac-fileno.exp: Likewise.
4422 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4423 py-prettyprint.py to the remote host.
4424 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4425
4426 2009-11-11 Keith Seitz <keiths@redhat.com>
4427
4428 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4429 use it instead of "Foo".
4430 * gdb.cp/classes.exp (do_tests): Add a test to access
4431 a method through a typedef'd class name.
4432
4433 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4434
4435 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4436 exponents.
4437 * gdb.base/pointers.exp: Likewise.
4438 * gdb.cp/ref-types.exp: Likewise.
4439
4440 2009-11-11 Keith Seitz <keiths@redhat.com>
4441
4442 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4443 new[] and delete[].
4444 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4445 "void".
4446 (probe_demangler): Remove all single-quoting of
4447 method and variable names.
4448 (info_func_regexp): Remove the word "void" from any
4449 occurrence of "(void)".
4450 (print_addr_2): Remove all single-quoting of
4451 method names.
4452 (print_addr_2_kfail): Likewise.
4453 (print_addr): Single-quote C function names before
4454 passing to print_addr_2.
4455 (test_paddr_operator_functions): Remove single-quoting
4456 for method names.
4457 Add tests for operator new[] and operator delete[].
4458
4459 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4460
4461 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4462
4463 2009-11-09 Keith Seitz <keiths@redhat.com>
4464
4465 * gdb.cp/overload.exp: Add tests for resolving overloaded
4466 methods in expression parsing/evaluation.
4467
4468 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4469
4470 * lib/gdb.exp (default_gdb_version): Use --version instead of
4471 --command.
4472
4473 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4474
4475 * lib/gdb.exp (gdb_compile_test): New.
4476 (skip_ada_tests, skip_java_tests): New.
4477 (gdb_compile): Use gdb_compile_test for f77.
4478 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4479 * lib/java.exp (compile_java_from_source): Remove runtests check,
4480 use gdb_compile_test to record result.
4481 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4482 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4483 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4484 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4485 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4486 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4487 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4488 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4489 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4490 adjust gdb_compile invocations.
4491
4492 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4493
4494 * Makefile.in (abs_builddir): New.
4495 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4496 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4497 `$(abs_builddir)/site.exp'.
4498
4499 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4500
4501 * config/m68k-emc.exp, lib/emc-support.exp,
4502 gdb.trace/gdb_c_test.c: Delete.
4503 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4504 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4505 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4506 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4507 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4508 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4509 casing for m68k-*-elf.
4510
4511 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4512
4513 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4514 * gdb.arch/i386-prologue.exp: Likewise.
4515 * gdb.arch/i386-unwind.exp: Likewise.
4516
4517 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4518
4519 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4520
4521 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4522
4523 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4524
4525 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4526
4527 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4528
4529 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4532
4533 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4536 * gdb.base/sepdebug2.c: New file.
4537
4538 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4539
4540 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4541 the modified warnings for catch syscall. Verify if GDB was compiled
4542 with support for lib expat, and choose which tests to run depending
4543 on this.
4544
4545 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4546
4547 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4548 that composite commands are parsed OK. And also test
4549 that breakpoint commands do work.
4550
4551 2009-10-23 Michael Snyder <msnyder@vmware.com>
4552
4553 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4554 to allow for new disassembly style.
4555
4556 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4557
4558 * gdb.asm/asm-source.exp: Adjust.
4559
4560 2009-10-22 Michael Snyder <msnyder@vmware.com>
4561
4562 * gdb.reverse/break-precsave.exp: New test.
4563 * gdb.reverse/consecutive-precsave.exp: Ditto.
4564 * gdb.reverse/finish-precsave.exp: Ditto.
4565 * gdb.reverse/i386-precsave.exp: Ditto.
4566 * gdb.reverse/machinestate-precsave.exp: Ditto.
4567 * gdb.reverse/sigall-precsave.exp: Ditto.
4568 * gdb.reverse/solilb-precsave.exp: Ditto.
4569 * gdb.reverse/step-precsave.exp: Ditto.
4570 * gdb.reverse/until-precsave.exp: Ditto.
4571 * gdb.reverse/watch-precsave.exp: Ditto.
4572
4573 2009-10-22 Michael Snyder <msnyder@vmware.com>
4574
4575 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4576 for gdb_expect. Adjust one test's expect strings for the new
4577 format of disassemble.
4578 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4579 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4580 gdb_test_multiple.
4581 * gdb.reverse/step-reverse.exp: Delete 'return'.
4582 * gdb.reverse/until-reverse.exp: Delete blank lines.
4583 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4584
4585 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4586
4587 * gdb.base/consecutive.exp: Adjust.
4588 * gdb.base/display.exp: Likewise.
4589 * gdb.base/pc-fp.exp: Likewise.
4590 * gdb.base/sigbpt.exp: Likewise.
4591
4592 2009-10-19 Michael Snyder <msnyder@vmware.com>
4593
4594 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4595 * gdb.reverse/finish-reverse.c: Ditto.
4596 * gdb.reverse/sigall-reverse.c: Ditto.
4597 * gdb.reverse/solib-reverse.c: Ditto.
4598 * gdb.reverse/step-reverse.c: Ditto.
4599 * gdb.reverse/watch-reverse.c: Ditto.
4600
4601 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4602 Stan Shebs <stan@codesourcery.com>
4603
4604 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4605 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4606 "Executing new program".
4607 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4608 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4609 left listed after having been killed.
4610 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4611 * gdb.base/maint.exp: Adjust test.
4612
4613 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4614 * gdb.multi/Makefile.in: New.
4615 * gdb.multi/base.exp: New.
4616 * gdb.multi/goodbye.c: New.
4617 * gdb.multi/hangout.c: New.
4618 * gdb.multi/hello.c: New.
4619 * gdb.multi/bkpt-multi-exec.c: New.
4620 * gdb.multi/bkpt-multi-exec.exp: New.
4621 * gdb.multi/crashme.c: New.
4622
4623 2009-10-13 Tristan Gingold <gingold@adacore.com>
4624
4625 * gdb.base/sepdebug.exp: Check debug info are found.
4626
4627 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4628
4629 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4630 bits.
4631
4632 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4633
4634 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4635
4636 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4639 of the comments.
4640
4641 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4642
4643 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4644 * gdb.base/annota3.exp: Idem.
4645 * gdb.base/maint.exp: Idem.
4646
4647 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4648
4649 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4650 to default.
4651
4652 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4653
4654 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4655 mingw and cygwin targets.
4656
4657 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4658 Pedro Alves <pedro@codesourcery.com>
4659
4660 * lib/gdb.exp (gdb_compile): Avoid adding
4661 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4662
4663 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4664
4665 * gdb.base/shr1.c: Use %p in format string.
4666 * gdb.base/unload.c: Avoid warning in fprintf.
4667 * gdb.base/watchpoint-solib.c: Idem.
4668
4669 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4670
4671 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4672 long type.
4673 (test_unlink): Correct printf string.
4674 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4675 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4676
4677 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4678
4679 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4680 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4681 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4682
4683 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4684
4685 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4686 * gdb.objc/nondebug.exp: Likewise.
4687
4688 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4689
4690 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4691 target_info setting.
4692
4693 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4694 that detect new threads during "info threads".
4695
4696 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4697
4698 * gdb.threads/manythreads.c (main): Increase thread stack size
4699 to 2*PTHREAD_STACK_MIN.
4700 * gdb.threads/multi-create.c (main): Likewise.
4701 (create_function): Likewise.
4702
4703 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4704
4705 * gdb.base/dump.exp: Pass difference of pointer types instead
4706 of integer types as offset to restore in intarr3.srec case.
4707
4708 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4709
4710 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4711
4712 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4713
4714 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4715
4716 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4717
4718 New test for two watchpoints, with disabling of
4719 the first inserted.
4720 * testsuite/gdb.base/watchpoints.c: New file.
4721 * testsuite/gdb.base/watchpoints.exp: New file.
4722
4723 2009-09-25 Tom Tromey <tromey@redhat.com>
4724
4725 * gdb.base/charset.exp: Test utf-16 strings with Python.
4726
4727 2009-09-25 Tom Tromey <tromey@redhat.com>
4728
4729 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4730 UCS-4.
4731 * gdb.base/charset.c (utf_32_string): Rename.
4732 (init_utf32): Rename.
4733 (main): Update.
4734
4735 2009-09-22 Tom Tromey <tromey@redhat.com>
4736
4737 * gdb.python/py-function.exp: Add regression tests.
4738
4739 2009-09-21 Keith Seitz <keiths@redhat.com>
4740
4741 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4742 with invalid operator.
4743
4744 2009-09-21 Keith Seitz <keiths@redhat.com>
4745
4746 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4747 and destructor using typedef name of class.
4748 * gdb.cp/classes.cc (class Base1): Add a destructor.
4749 (base1): New typedef.
4750 (use_methods): Instanitate an object of type base1.
4751 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4752 (do_tests): Call test_template_typedef.
4753 * gdb.cp/templates.cc (Baz::~Baz): New method.
4754 (intBazOne): New typedef.
4755 (main): Instantiate intBazOne.
4756
4757 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4758
4759 PR python/10633
4760
4761 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4762 Function.
4763 (run_lang_tests): Add print elements test.
4764
4765 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4766
4767 * gdb.python/py-value.exp (test_subscript_regression): New
4768 function. Test for invalid subscripts.
4769 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4770 (ptr_ref): New function.
4771
4772 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4773
4774 * gdb.base/default.exp: Fix "show convenience".
4775
4776 2009-09-15 Tom Tromey <tromey@redhat.com>
4777
4778 * lib/mi-support.exp (mi_create_varobj): Update.
4779 (mi_create_floating_varobj): Likewise.
4780 (mi_create_dynamic_varobj): New proc.
4781 (mi_varobj_update): Update.
4782 (mi_varobj_update_with_type_change): Likewise.
4783 (mi_varobj_update_kv_helper): New proc.
4784 (mi_varobj_update_dynamic_helper): Rewrite.
4785 (mi_varobj_update_dynamic): New proc.
4786 (mi_list_varobj_children): Update.
4787 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4788 * gdb.python/python-prettyprint.py (pp_outer): New class.
4789 (pp_nullstr): Likewise.
4790 (lookup_function): Register new printers.
4791 * gdb.python/python-prettyprint.c (struct substruct): New type.
4792 (struct outerstruct): Likewise.
4793 (substruct_test): New function.
4794 (struct nullstr): New type.
4795 (string_1, string_2): New globals.
4796 (main): Add new tests.
4797 * gdb.python/python-mi.exp: Added regression tests.
4798 * gdb.mi/mi2-var-display.exp: Update.
4799 * gdb.mi/mi2-var-cmd.exp: Update.
4800 * gdb.mi/mi2-var-child.exp: Update.
4801 * gdb.mi/mi2-var-block.exp: Update.
4802 * gdb.mi/mi-var-invalidate.exp: Update.
4803 * gdb.mi/mi-var-display.exp: Update.
4804 * gdb.mi/mi-var-cmd.exp: Update.
4805 * gdb.mi/mi-var-child.exp: Update.
4806 * gdb.mi/mi-var-block.exp: Update.
4807 * gdb.mi/mi-break.exp: Update.
4808 * gdb.mi/gdb701.exp: Update.
4809
4810 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4811
4812 * Makefile.in: Inclusion of catch-syscall object.
4813 * gdb.base/catch-syscall.c: New file.
4814 * gdb.base/catch-syscall.exp: New file.
4815
4816 2009-09-12 Michael Snyder <msnyder@vmware.com>
4817
4818 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4819 that can support reverse debuggnig.
4820
4821 2009-09-11 Tom Tromey <tromey@redhat.com>
4822
4823 * gdb.dwarf2/valop.S: New file.
4824 * gdb.dwarf2/valop.exp: New file.
4825
4826 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4827
4828 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4829
4830 2009-09-10 Doug Evans <dje@google.com>
4831
4832 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4833 Add $gdb_prompt to second breakpoint regexp.
4834
4835 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4836
4837 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4838 names, add missing ones.
4839 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4840 * gdb.python/py-frame.c: Rename from python-frame.c.
4841 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4842 testfile name.
4843 * gdb.python/py-function.exp: Rename from python-function.exp.
4844 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4845 testfile name.
4846 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4847 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4848 Adjust testfile name.
4849 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4850 * gdb.python/py-template.cc: Rename from python-template.cc.
4851 * gdb.python/py-template.exp: Rename from python-template.exp.
4852 Adjust testfile name.
4853 * gdb.python/py-value.c: Rename from python-value.c.
4854 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4855 testfile name.
4856
4857 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4858
4859 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4860 $bpt2address.
4861 (Second breakpoint address is valid on ia64)
4862 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4863
4864 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4865
4866 * gdb.base/ending-run.exp: Restrict regular expression matching
4867 line number to require closing brace following.
4868
4869 2009-09-03 Doug Evans <dje@google.com>
4870
4871 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4872
4873 2009-09-02 Tom Tromey <tromey@redhat.com>
4874
4875 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4876
4877 2009-09-02 Tom Tromey <tromey@redhat.com>
4878
4879 * gdb.dwarf2/callframecfa.exp: New file.
4880 * gdb.dwarf2/callframecfa.S: New file.
4881
4882 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4883
4884 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4885 gdb.base/solib-overlap-main.c: New.
4886
4887 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4888
4889 PR gdb/10565
4890
4891 * gdb.base/bitfields.c (struct container, container): New.
4892 (main): Initialize it and call break5.
4893 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4894
4895 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4896
4897 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4898 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4899
4900 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4901
4902 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4903
4904 2009-08-26 Michael Snyder <msnyder@vmware.com>
4905
4906 * gdb.base/i386-reverse.c: New file.
4907 * gdb.base/i386-reverse.exp: New file.
4908 * gdb.base/Makefile.in: Add new files to be removed.
4909
4910 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4911
4912 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4913 environment-pwd for remote host.
4914 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4915
4916 2009-08-24 Keith Seitz <keiths@redhat.com>
4917
4918 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4919 Add two new C++ completer tests which limit the output to a
4920 given class.
4921
4922 2009-08-24 Michael Snyder <msnyder@vmware.com>
4923
4924 * gdb.base/del.exp: Fix typo in comment.
4925 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4926
4927 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4928
4929 * configure: Regenerate.
4930 * gdb.hp/configure: Likewise.
4931 * gdb.hp/gdb.aCC/configure: Likewise.
4932 * gdb.hp/gdb.base-hp/configure: Likewise.
4933 * gdb.hp/gdb.compat/configure: Likewise.
4934 * gdb.hp/gdb.defects/configure: Likewise.
4935 * gdb.hp/gdb.objdbg/configure: Likewise.
4936 * gdb.stabs/configure: Likewise.
4937
4938 2009-08-19 Doug Evans <dje@google.com>
4939
4940 * gdb.base/gdbvars.c: New file.
4941 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4942
4943 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4944
4945 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4946 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4947
4948 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4949
4950 * gdb.base/default.exp: Adjust "set language test": it's now an
4951 enum command. Larger help string moved to "help set language".
4952 * gdb.base/help.exp: Adjust "help set language" expected output,
4953 now lists all known languages.
4954
4955 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4956
4957 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4958 all frame arguments.
4959 * gdb.arch/altivec-regs.exp: Likewise.
4960
4961 2009-08-07 Tom Tromey <tromey@redhat.com>
4962
4963 * gdb.base/setshow.exp: Add tests for changes to set language, set
4964 check range, and set check type.
4965
4966 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4967
4968 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4969 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4970 Call it.
4971
4972 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4973
4974 * configure.ac: Run gdb.cell tests when appropriate.
4975 * configure: Regenerate.
4976 * lib/cell.exp: New file.
4977 * gdb.cell: New directory.
4978 * gdb.cell/configure.ac: New file.
4979 * gdb.cell/configure: New file.
4980 * gdb.cell/Makefile.in: New file.
4981 * gdb.cell/arch.exp: New file.
4982 * gdb.cell/break.c: New file.
4983 * gdb.cell/break.exp: New file.
4984 * gdb.cell/break-spu.c: New file.
4985 * gdb.cell/bt.c: New file.
4986 * gdb.cell/bt2-spu.c: New file.
4987 * gdb.cell/bt-spu.c: New file.
4988 * gdb.cell/bt.exp: New file.
4989 * gdb.cell/coremaker.c: New file.
4990 * gdb.cell/coremaker-spu.c: New file.
4991 * gdb.cell/core.exp: New file.
4992 * gdb.cell/gcore.exp: New file.
4993 * gdb.cell/data.c: New file.
4994 * gdb.cell/data.exp: New file.
4995 * gdb.cell/data-spu.c: New file.
4996 * gdb.cell/ea-cache.exp: New file.
4997 * gdb.cell/ea-cache.c: New file.
4998 * gdb.cell/ea-cache-spu.c: New file.
4999 * gdb.cell/ea-standalone.c: New file.
5000 * gdb.cell/ea-standalone.exp: New file.
5001 * gdb.cell/ea-test.c: New file.
5002 * gdb.cell/ea-test.exp: New file.
5003 * gdb.cell/f-regs.exp: New file.
5004 * gdb.cell/mem-access.c: New file.
5005 * gdb.cell/mem-access.exp: New file.
5006 * gdb.cell/mem-access-spu.c: New file.
5007 * gdb.cell/ptype.exp: New file.
5008 * gdb.cell/registers.exp: New file.
5009 * gdb.cell/size.c: New file.
5010 * gdb.cell/sizeof.exp: New file.
5011 * gdb.cell/size-spu.c: New file.
5012 * gdb.cell/solib.exp: New file.
5013 * gdb.cell/solib-symbol.exp: New file.
5014
5015 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5016
5017 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5018
5019 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5020
5021 * gdb.base/float.exp: Handle VFP registers.
5022
5023 2009-07-14 Michael Snyder <msnyder@vmware.com>
5024
5025 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5026 to bring gdb to the beginning of the calling line.
5027
5028 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5029 confusing the i386 epilogue unwinder.
5030
5031 2009-07-14 Stan Shebs <stan@codesourcery.com>
5032
5033 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5034
5035 2009-07-14 Michael Snyder <msnyder@vmware.com>
5036
5037 * gdb.reverse/step-reverse.exp (stepi into function call):
5038 Call instruction may not be first instruction in the line.
5039 (reverse stepi from a function call): Used wrong line number.
5040
5041 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5044
5045 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5046
5047 Fix gdb.base/macscp.exp when using custom inputrc.
5048 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5049 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5050 env(TERM) set.
5051 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5052 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5053
5054 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5055
5056 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5057 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5058 Change the compilation target to match the testcase name.
5059 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5060 testcase name.
5061 * a2-run.exp: Use for setup prepare_for_testing. Change the
5062 compilation target to match the testcase name.
5063 * gdb.base/commands.exp: Likewise.
5064 * gdb.base/finish.exp: Likewise.
5065 * gdb.base/float.exp: Likewise.
5066 * gdb.base/info-target.exp: Likewise.
5067 * gdb.base/relational.exp: Likewise.
5068 * gdb.base/term.exp: Likewise.
5069 * gdb.base/until.exp: Likewise.
5070 * gdb.base/volatile.exp: Likewise.
5071 * gdb.base/whatis-exp.exp: Likewise.
5072
5073 2009-07-11 Hui Zhu <teawater@gmail.com>
5074
5075 * gdb.base/help.exp (disassemble): Update expected help text.
5076
5077 2009-07-09 Tom Tromey <tromey@redhat.com>
5078
5079 * lib/gdb.exp: Handle TRANSCRIPT.
5080 (remote_spawn, remote_close, send_gdb): New procs.
5081
5082 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5083
5084 * gdb.python/python-prettyprint.c: Add counted null string
5085 structure.
5086 * gdb.python/python-prettyprint.exp: Print null string. Test for
5087 embedded nulls.
5088 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5089 * gdb.python/python-value.exp (test_value_in_inferior): Add
5090 variable length string fetch tests.
5091 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5092
5093 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5094
5095 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5096
5097 2009-07-07 Tom Tromey <tromey@redhat.com>
5098
5099 * gdb.base/call-rt-st.exp: Update for change to escape output.
5100 * gdb.base/callfuncs.exp: Likewise.
5101 * gdb.base/charset.exp: Likewise.
5102 * gdb.base/constvars.exp: Likewise.
5103 * gdb.base/long_long.exp: Likewise.
5104 * gdb.base/pointers.exp: Likewise.
5105 * gdb.base/printcmds.exp: Likewise.
5106 * gdb.base/setvar.exp: Likewise.
5107 * gdb.base/store.exp: Likewise.
5108 * gdb.cp/ref-types.exp: Likewise.
5109 * gdb.mi/mi-var-child.exp: Likewise.
5110 * gdb.mi/mi-var-display.exp: Likewise.
5111 * gdb.mi/mi2-var-display.exp: Likewise.
5112 * gdb.base/charset.exp: Test octal escape sequence length.
5113 Update for change to escape output.
5114
5115 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5116
5117 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5118
5119 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5120
5121 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5122
5123 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5124
5125 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5126 gdbserver increasing $portnum if "Can't bind address" has been seen.
5127
5128 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5129
5130 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5131 mingw32ce.
5132
5133 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5134
5135 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5136 VFP format.
5137
5138 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5139
5140 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5141 linux. Adjust to use "inferior", "info inferiors", "detach
5142 inferior" and "kill inferior" instead of "restart", "info fork",
5143 "detach fork" and "delete fork".
5144 * gdb.base/ending-run.exp: Spell out "info".
5145 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5146 the "kill" command.
5147
5148 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5149
5150 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5151 change to prefix TLS offset in hex with 0x.
5152
5153 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5154
5155 * gdb.base/default.exp: Update test case for "x" changes.
5156
5157 2009-07-01 Tristan Gingold <gingold@adacore.com>
5158
5159 * gdb.base/bigcore.exp: Make darwin untested.
5160
5161 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5162
5163 * gdb.base/completion.exp (directory completion): Create the directory.
5164 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5165 escapeuniquesub.
5166 (directory completion 2): Expect now ${escapeuniquesub}.
5167 (Glob remaining of directory test): Remove one excessive newline.
5168 Expect the real output.
5169
5170 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5171
5172 Fix `make check//%' target after `make check' has been ran.
5173 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5174 a mkdir call.
5175 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5176 (%/.dir): Remove.
5177
5178 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5181 the expected result record.
5182
5183 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5184
5185 Remove racy FAILs relying just on the timeouts.
5186 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5187 (annotation_level 2): Remove racy FAILs.
5188
5189 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5190
5191 gdb/10275
5192 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5193
5194 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5195
5196 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5197
5198 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5199
5200 * gdb.mi/mi-stack.exp: Testing symbolic options
5201 to -stack-list-locals and -stack-list-arguments.
5202
5203 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5204
5205 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5206
5207 2009-06-29 Tom Tromey <tromey@redhat.com>
5208
5209 * dg-extract-results.sh: New file.
5210 * Makefile.in (FORCE_PARALLEL): New variable.
5211 (CHECK_TARGET): New conditional variable.
5212 (check): Use CHECK_TARGET.
5213 (DO_RUNTEST): New variable.
5214 (check-single): New target.
5215 (TEST_DIRS): New variable.
5216 (TEST_TARGETS): Likewise.
5217 (check-parallel): New target.
5218 (check-gdb.%): New pattern.
5219 (BASE1_FILES): New variable.
5220 (BASE2_FILES): Likewise.
5221 (check-gdb.base%): New pattern.
5222 (%/.dir): New pattern.
5223 * configure: Rebuild.
5224 * aclocal.m4 (AM_CONDITIONAL): New defun.
5225 * configure.ac: Check whether user is using GNU make.
5226 (GMAKE): New conditional.
5227
5228 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5229
5230 * gdb.cp/namespace-nested-import.cc: New test.
5231 * gdb.cp/namespace-nested-import.exp: New test.
5232
5233 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5234
5235 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5236 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5237 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5238 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5239 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5240 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5241 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5242 gdb.opt/inline-markers.c: New files.
5243 * lib/gdb.exp (skip_inline_frame_tests): New function.
5244 (skip_inline_var_tests): New function.
5245
5246 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5247
5248 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5249 backtrace.
5250
5251 2009-06-27 Michael Snyder <msnyder@vmware.com>
5252
5253 * gdb.reverse: New directory.
5254 * gdb.reverse/break-reverse.c: New test.
5255 * gdb.reverse/break-reverse.exp: New test.
5256 * gdb.reverse/consecutive-reverse.c: New test.
5257 * gdb.reverse/consecutive-reverse.exp: New test.
5258 * gdb.reverse/finish-reverse.c: New test.
5259 * gdb.reverse/finish-reverse.exp: New test.
5260 * gdb.reverse/machinestate.c: New test.
5261 * gdb.reverse/ms1.c: New test.
5262 * gdb.reverse/machinestate.exp: New test.
5263 * gdb.reverse/Makefile.in: New file.
5264 * gdb.reverse/shr2.c: New test.
5265 * gdb.reverse/solib-reverse.c: New test.
5266 * gdb.reverse/solib-reverse.exp: New test.
5267 * gdb.reverse/step-reverse.c: New test.
5268 * gdb.reverse/step-reverse.exp: New test.
5269 * gdb.reverse/until-reverse.c: New test.
5270 * gdb.reverse/ur1.c: New test.
5271 * gdb.reverse/until-reverse.exp: New test.
5272 * gdb.reverse/watch-reverse.c: New test.
5273 * gdb.reverse/watch-reverse.exp: New test.
5274 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5275 * configure: Regenerate.
5276
5277 2009-06-26 Doug Evans <dje@google.com>
5278
5279 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5280
5281 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5282
5283 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5284 windows problem for 'file delete $binfile'.
5285
5286 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5287
5288 * gdb.cp/namespace-using.exp: New test.
5289 * gdb.cp/namespace-using.cc: New test.
5290
5291 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5292
5293 * gdb.ada/variant_record_packed_array: New testcase.
5294
5295 2009-06-23 Tom Tromey <tromey@redhat.com>
5296
5297 * gdb.base/charset.exp (test_combination): Regression test.
5298 * gdb.base/charset.c (my_wchar_t): New typedef.
5299 (myvar): New global.
5300 (main): Set myvar.
5301
5302 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5303
5304 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5305 target.
5306
5307 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5308
5309 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5310
5311 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5312
5313 * gdb.mi/gdb680.exp: Update test for error message.
5314
5315 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5316
5317 * gdb.base/annota1.exp: Allow multiple occurrences of the
5318 frames-invalid annotation.
5319 * gdb.cp/annota2.exp: Likewise.
5320
5321 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5322
5323 * gdb.cp/gdb2495.cc: New file.
5324 * gdb.cp/gdb2495.exp: New file.
5325
5326 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5327
5328 Report error on GDB crash during runto.
5329 * lib/gdb.exp (runto <eof>): New.
5330
5331 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5332
5333 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5334 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5335 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5336 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5337 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5338 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5339 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5340 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5341 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5342 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5343 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5344 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5345 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5346 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5347 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5348 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5349 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5350 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5351 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5352 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5353 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5354 gdb.trace/passcount.exp, gdb.trace/report.exp,
5355 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5356 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5357 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5358 executable.
5359
5360 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5361
5362 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5363 defined before referencing it.
5364
5365 2009-06-03 Doug Evans <dje@google.com>
5366
5367 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5368 * gdb.arch/i386-see.c: Ditto.
5369
5370 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5371
5372 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5373 (check_macro): Return 1 if undefined.
5374 If first test fails, check if macro debug information is available,
5375 and report unsupported test if no macro information is found.
5376
5377 2009-05-29 Doug Evans <dje@google.com>
5378
5379 * gdb.threads/hand-call-in-threads.exp: New.
5380 * gdb.threads/hand-call-in-threads.c: New.
5381
5382 2009-05-29 Michael Snyder <msnyder@vmware.com>
5383
5384 * gdb.base/break-always.exp: Change "1" to "on".
5385 Add confirmation check.
5386
5387 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5388
5389 * gdb.threads/threxit-hop-specific.c: New.
5390 * gdb.threads/threxit-hop-specific.exp: New.
5391 * gdb.threads/thread-execl.c: New.
5392 * gdb.threads/thread-execl.exp: New.
5393
5394 2009-05-27 Tom Tromey <tromey@redhat.com>
5395 Thiago Jung Bauermann <bauerman@br.ibm.com>
5396
5397 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5398 (mi_child_regexp): Likewise.
5399 (mi_list_varobj_children_range): Likewise.
5400 (mi_get_features): Likewise.
5401 (mi_list_varobj_children): Rewrite.
5402 * gdb.python/python-mi.exp: New file.
5403
5404 2009-05-27 Tom Tromey <tromey@redhat.com>
5405 Thiago Jung Bauermann <bauerman@br.ibm.com>
5406 Phil Muldoon <pmuldoon@redhat.com>
5407 Paul Pluzhnikov <ppluzhnikov@google.com>
5408
5409 * gdb.python/python-prettyprint.exp: New file.
5410 * gdb.python/python-prettyprint.c: New file.
5411 * gdb.python/python-prettyprint.py: New file.
5412 * gdb.base/display.exp: print/r is now valid.
5413
5414 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5415 Tom Tromey <tromey@redhat.com>
5416 Pedro Alves <pedro@codesourcery.com>
5417 Paul Pluzhnikov <ppluzhnikov@google.com>
5418
5419 * gdb.python/python-template.exp: New file.
5420 * gdb.python/python-template.cc: New file.
5421 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5422 tests.
5423 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5424 Call it.
5425 (test_value_after_death): New proc.
5426 * gdb.python/python-value.c (PTR): New typedef.
5427 (main): New variable 'x'.
5428
5429 2009-05-27 Tom Tromey <tromey@redhat.com>
5430
5431 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5432 tests.
5433 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5434 Call it.
5435
5436 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5437
5438 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5439
5440 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5441
5442 * gdb.threads/fork-thread-pending.c: New.
5443 * gdb.threads/fork-thread-pending.exp: New.
5444
5445 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5446
5447 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5448 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5449
5450 2009-05-18 Jon Beniston <jon@beniston.com>
5451
5452 * gdb.asm/asm-source.exp: Add lm32 target.
5453
5454 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5455
5456 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5457 `gdb_get_line_number'. Call `callee' in both parent and child.
5458 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5459 `gdb_get_line_number' instead of hardcoding line numbers.
5460 (catch_fork_unpatch_child): New procedure to test detaching
5461 breakpoints from child fork.
5462 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5463 hardcoding line numbers.
5464 (do_fork_tests): Run `catch_fork_unpatch_child'.
5465
5466 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5467
5468 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5469 of structure type enters or leaves the scope, it
5470 is reported by -var-update.
5471
5472 2009-05-11 Doug Evans <dje@sebabeach.org>
5473
5474 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5475 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5476 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5477
5478 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5479
5480 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5481
5482 2009-04-30 Doug Evans <dje@google.com>
5483
5484 * gdb.threads/watchthreads2.exp: New testcase.
5485 * gdb.threads/watchthreads2.c: New testcase.
5486
5487 2009-04-29 Doug Evans <dje@google.com>
5488
5489 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5490 * gdb.cp/mb-ctor.cc: Ditto.
5491 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5492 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5493 * gdb.cp/mb-inline1.cc: Call it.
5494 * gdb.cp/mb-inline2.cc: Ditto.
5495 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5496 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5497
5498 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5499
5500 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5501 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5502 Replace all uses of `decimal' by `nonzero'.
5503 (info macro FROM_COMMANDLINE): New test.
5504
5505 2009-04-27 Tom Tromey <tromey@redhat.com>
5506
5507 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5508
5509 2009-04-27 Doug Evans <dje@google.com>
5510
5511 * gdb.threads/watchthreads.c (main): Initialize args before starting
5512 the threads. Plus formatting cleanup.
5513 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5514 biased scheduling of one thread.
5515
5516 2009-04-27 Jerome Guitton <guitton@adacore.com>
5517
5518 * gdb.cp/templates.cc (GetMax): New template.
5519 (main): Declare two instances of GetMax.
5520 * gdb.cp/templates.exp: Add new test.
5521
5522 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5523
5524 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5525
5526 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5527
5528 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5529
5530 2009-04-15 Tom Tromey <tromey@redhat.com>
5531
5532 * gdb.base/charset.exp: Add regression test.
5533
5534 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5535
5536 * gdb.base/exe-lock.exp: New testcase.
5537
5538 2009-04-13 Tom Tromey <tromey@redhat.com>
5539
5540 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5541 operator on Frame.
5542
5543 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5544
5545 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5546 * gdb.server/ext-attach.exp: Likewise.
5547
5548 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5549
5550 Eliminate some sleep usage.
5551
5552 * gdb.mi/basics.c (do_nothing): New.
5553 (main): Use do_nothing instead of printf, so that
5554 not to introduce race condition between output of
5555 inferiour and output of gdb. Do not use sleep as it
5556 is not generally available on embedded targets.
5557
5558 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5559
5560 * gdb.server/ext-attach.exp: Expect an optional process id after
5561 "Detached from remote process".
5562
5563 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5564
5565 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5566 gdb.dwarf2/dw2-unresolved.exp: New.
5567
5568 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5569
5570 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5571 mi_run_to_main.
5572
5573 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5574
5575 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5576 mi_run_to_main. Skip thread exit test on remote targets.
5577 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5578 mi_run_to_main.
5579 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5580 mi_run_to_main.
5581 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5582 when expecting ^connected. Detect when the target doesn't support
5583 non-stop mode.
5584 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5585 supported. Return -1 on error, 0 on success.
5586 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5587 (mi_runto): Return mi_runto_helper's result explicitly.
5588
5589 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5590
5591 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5592
5593 2009-04-01 Tom Tromey <tromey@redhat.com>
5594
5595 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5596 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5597 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5598 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5599
5600 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5601 Jan Kratochvil <jan.kratochvil@redhat.com>
5602
5603 PR gdb/931
5604 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5605 output.
5606 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5607 for gdb/931.
5608 * dw2-strp.S (DW_AT_language): Change to C++.
5609 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5610
5611 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5612
5613 * gdb.ada/tasks: New testcase.
5614
5615 2009-03-30 Stan Shebs <stan@codesourcery.com>
5616
5617 * gdb.trace/actions.exp: Update to match new info trace format.
5618 * gdb.trace/deltrace.exp: Ditto.
5619 * gdb.trace/infotrace.exp: Ditto.
5620 * gdb.trace/passcount.exp: Ditto.
5621 * gdb.trace/save-trace.exp: Ditto.
5622 * gdb.trace/while-stepping.exp: Ditto.
5623 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5624
5625 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5626
5627 * gdb.python/python-frame.c: New file.
5628 * gdb.python/python-frame.exp: New file.
5629
5630 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5631
5632 * gdb.python/python-value.exp: Add tests for the address
5633 attribute.
5634
5635 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5638
5639 2009-03-26 Doug Evans <dje@google.com>
5640
5641 * gdb.mi/mi-nonstop-exit.exp: New file.
5642 * gdb.mi/non-stop-exit.c: New file.
5643
5644 2009-03-26 Tom Tromey <tromey@redhat.com>
5645
5646 Update for change to prologue skipping:
5647 * gdb.mi/mi2-simplerun.exp: Update.
5648 * gdb.mi/mi2-break.exp: Update.
5649 * gdb.mi/mi-simplerun.exp: Update.
5650 * gdb.mi/mi-break.exp: Update.
5651 * gdb.base/ending-run.exp: Update.
5652
5653 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5654
5655 * gdb.python/python-value.exp (test_value_in_inferior): Test
5656 gdb.Value.is_optimized_out attribute.
5657
5658 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5659
5660 * gdb.dwarf2/dw2-noloc-main.c: New file.
5661 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5662 (.text): Remove.
5663 (.data): New.
5664 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5665 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5666 (DW_TAG_subprogram func_cu1, noloc): Remove.
5667 (main): New.
5668 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5669 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5670 (file_symbols): New procedure.
5671
5672 2009-03-25 Tom Tromey <tromey@redhat.com>
5673
5674 * gdb.base/charset.exp (valid_target_charset): New proc.
5675 Use it to skip tests on invalid charsets.
5676
5677 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5678
5679 * gdb.base/completion.exp: Add a test for directory completion.
5680
5681 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5682
5683 Fix a racy FAIL.
5684 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5685 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5686
5687 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5688
5689 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5690 * gdb.python/python-function.exp: Add test for function returning
5691 a GDB value.
5692
5693 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5694
5695 * gdb.python/python-function.exp: New file.
5696
5697 2009-03-20 Tom Tromey <tromey@redhat.com>
5698
5699 * gdb.base/store.exp: Update for change to escape output.
5700 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5701 to escape output.
5702 * gdb.base/pointers.exp: Update for change to escape output.
5703 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5704 to escape output.
5705 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5706 escape output.
5707 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5708 to escape output.
5709 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5710 escape output.
5711 * gdb.base/setvar.exp: Update for change to escape output.
5712 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5713 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5714 to escape output.
5715 (test_print_string_constants): Likewise.
5716 * gdb.base/charset.exp (valid_host_charset): Check size of
5717 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5718 cases. Handle "auto"-related output.
5719 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5720 (uvar, Uvar): New globals.
5721
5722 2009-03-19 Jerome Guitton <guitton@adacore.com>
5723
5724 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5725 deltas.
5726 * gdb.ada/fixed_points.exp: Ditto.
5727
5728 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5729
5730 * return-nodebug.c: Don't include stdio.h.
5731 (init): Delete.
5732 (func): Delete definition and provide extern declaration.
5733 (t): New.
5734 (main): Don't call printf. Call func and store its result in t.
5735 * return-nodebug1.c: New.
5736 * return-nodebug.exp: Don't expect stdio output. Instead, print
5737 the global variable t. Drop printf formatters and cast types from
5738 foreach loop. Don't use prepare_for_testing. Compile
5739 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5740 define FORMAT or CAST.
5741
5742 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5743
5744 * gdb.base/solib-display.exp: Disable test for remote targers.
5745
5746 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5747
5748 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5749
5750 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 Fix a racy FAIL.
5753 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5754 code from `follow parent, print pids'.
5755 (`follow child, print pids', `follow parent, print pids'): Call it.
5756 Replace `gdb_test "break..."' by gdb_breakpoint.
5757
5758 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5759
5760 * gdb.mi/mi-cli.exp: Adjust for output difference in
5761 sync and async modes.
5762
5763 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5764
5765 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5766 that was checked in by mistake. Remove loading of ada.exp, since
5767 this is not necessary in this case.
5768
5769 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5770
5771 * gdb.ada/ptype_arith_binop.exp: New testcase.
5772
5773 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.ada/mod_from_name: New testcase.
5776
5777 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5778
5779 * gdb.ada/tick_last_segv: New testcase.
5780
5781 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5782
5783 * gdb.mi/mi-cli.exp: Remove debug print.
5784
5785 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5786
5787 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5788 include the token in ^running and frame info in *stopped.
5789
5790 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5791
5792 * solib-display.exp: New file.
5793 * solib-display-main.c: New file.
5794 * solib-display-lib.c: New file.
5795
5796 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5797
5798 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5799
5800 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5803 (list_and_check_macro): Use more specific test name.
5804 (next to definition): Make the test names unique.
5805
5806 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5807
5808 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5809
5810 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5811
5812 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5813 notifications.
5814 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5815 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5816 * lib/mi-support.exp (library_loaded_re): New.
5817 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5818
5819 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5820
5821 * gdb.gdb/observer.exp: Use test_notification observer, not
5822 normal_stop, everywhere.
5823 (test_normal_stop_notifications): Rename to...
5824 (test_notifications): ...this.
5825 (test_observer_normal_stop): Rename to...
5826 (test_observer): ...this.
5827
5828 2009-02-16 Doug Evans <dje@google.com>
5829
5830 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5831 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5832 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5833 (test_prefixed_syscall,test_int3): New tests.
5834 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5835 (test_prefixed_syscall,test_int3): New tests.
5836
5837 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5838
5839 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5840 (mi_expect_interrupt): Likewise.
5841 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5842 response.
5843
5844 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5845
5846 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5847 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5848 Replace calls to get_valueofx by get_hexadecimal_valueof.
5849
5850 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5851
5852 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5853 (get_integer_valueof): New procedure.
5854 (get_sizeof): Use new get_integer_value_of.
5855 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5856 by get_integer_valueof.
5857
5858 2009-02-13 Tom Tromey <tromey@redhat.com>
5859
5860 * gdb.base/remote.exp (get_sizeof): Remove.
5861 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5862 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5863 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5864 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5865 (get_sizeof): Likewise.
5866
5867 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5868
5869 PR fortran/9806
5870 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5871
5872 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5873
5874 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5875
5876 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5877
5878 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5879
5880 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5881
5882 * gdb.python/python-cmd.exp: New file.
5883
5884 2009-02-06 Tristan Gingold <gingold@adacore.com>
5885
5886 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5887
5888 2009-02-05 Tristan Gingold <gingold@adacore.com>
5889
5890 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5891 pointer is dereferenced and use this signal name in regexp.
5892 * gdb.base/signull.exp: Ditto.
5893 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5894 * gdb.base/signull.c (main): Ditto.
5895
5896 2009-02-04 Tom Tromey <tromey@redhat.com>
5897 Thiago Jung Bauermann <bauerman@br.ibm.com>
5898
5899 * gdb.python/python-value.exp: Use `gdb.history' instead of
5900 `gdb.value_from_history'.
5901 (test_value_numeric_ops): Add test for conversion of enum constant.
5902 * gdb.python/python-value.c (enum e): New type.
5903 (evalue): New global.
5904 (main): Use argv.
5905
5906 2009-02-04 Jerome Guitton <guitton@adacore.com>
5907
5908 * gdb.ada/uninitialized_vars: New test program.
5909 * gdb.ada/uninitialized_vars.exp: New testcase.
5910
5911 2009-02-02 Tom Tromey <tromey@redhat.com>
5912
5913 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5914 * gdb.cp/pr2489.cc: Rename...
5915 * gdb.cp/pr9594.cc: ... to this.
5916
5917 2009-02-02 Tom Tromey <tromey@redhat.com>
5918
5919 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5920 * gdb.cp/pr2489.cc: New file.
5921 * gdb.cp/cpcompletion.exp: New file.
5922
5923 2009-02-02 Tom Tromey <tromey@redhat.com>
5924
5925 PR exp/9059:
5926 * gdb.cp/call-c.exp: Add regression test.
5927 * gdb.cp/call-c.cc (FooHandle): New typedef.
5928 (main): New variable 'handle'.
5929
5930 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5931
5932 * lib/mi-support.exp (et_mi_thread_list)
5933 (check_mi_and_console_threads): Adjust for current thread in
5934 -thread-list-ids output.
5935
5936 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5937
5938 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5939 Call it.
5940
5941 2009-01-28 Doug Evans <dje@google.com>
5942
5943 * gdb.arch/amd64-disp-step.S: New file.
5944 * gdb.arch/amd64-disp-step.exp: New file.
5945 * gdb.arch/i386-disp-step.S: New file.
5946 * gdb.arch/i386-disp-step.exp: New file.
5947
5948 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5949
5950 * gdb.base/find.exp: Set newline variable
5951 using quotes instead of braces to fix cygwin failures.
5952
5953 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5954
5955 * gdb.base/radix.exp: Add tests to ensure that that set
5956 input-radix 0 and set output-radix 0 are really rejected.
5957
5958 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5959
5960 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5961 copyright years.
5962
5963 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5964
5965 PR gdb/9664:
5966 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5967
5968 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5969
5970 PR c++/9631:
5971 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5972
5973 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5974
5975 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5976 binfile definition to fix Windows OS failure.
5977
5978 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5979
5980 PR gdb/9346
5981 * gdb.base/interrupt.c (sigint_handler): New.
5982 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5983 on error.
5984 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5985 Test "signal SIGINT".
5986
5987 2009-01-19 Doug Evans <dje@google.com>
5988
5989 * gdb.base/break.exp: Update expected gdb output.
5990 * gdb.base/sepdebug.exp: Ditto.
5991 * gdb.mi/mi-syn-frame.exp: Ditto.
5992 * gdb.mi/mi2-syn-frame.exp: Ditto.
5993 * gdb.base/call-signal-resume.exp: New file.
5994 * gdb.base/call-signals.c: New file.
5995 * gdb.base/unwindonsignal.exp: New file.
5996 * gdb.base/unwindonsignal.c: New file.
5997 * gdb.threads/interrupted-hand-call.exp: New file.
5998 * gdb.threads/interrupted-hand-call.c: New file.
5999 * gdb.threads/thread-unwindonsignal.exp: New file.
6000
6001 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6002
6003 * gdb.base/define.exp: Test defining and hooking prefix commands.
6004 * gdb.python/python.exp: Update test for "show user" output.
6005
6006 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6007
6008 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6009 now the output exactly, using less wildcards. Expect also the output
6010 of gfortran-4.3. Update for the f-valprint.c modification from
6011 2008-04-22.
6012 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6013 Remove gdb_test test names where matching the command.
6014
6015 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6016
6017 PR breakpoints/9681:
6018 * gdb.base/watchpoint.exp: Add regression test.
6019
6020 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6021
6022 * gdb.threads/attach-into-signal.exp: Don't use
6023 gdb_suppress_entire_file.
6024 * gdb.threads/attach-stopped.exp: Ditto.
6025 * gdb.threads/attachstop-mt.exp: Ditto.
6026
6027 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6028
6029 PR gdb/8812:
6030 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6031
6032 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6033
6034 PR gdb/7536:
6035 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6036 and unsupported output radices are really rejected.
6037
6038 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6039
6040 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6041
6042 2008-12-22 Tom Tromey <tromey@redhat.com>
6043
6044 * gdb.cp/punctuator.exp: New file.
6045
6046 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6047
6048 * gdb.base/completion.exp (Completing non-existing component): New test.
6049
6050 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6051
6052 Fix for PR gdb/8648.
6053 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6054 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6055 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6056 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6057
6058 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6059
6060 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6061
6062 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6063
6064 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6065 compiler actually generate code at the expected line number.
6066
6067 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6068
6069 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6070
6071 2008-12-12 Tom Tromey <tromey@redhat.com>
6072
6073 * gdb.base/commands.exp (redefine_hook_test): New proc.
6074 Call it.
6075
6076 2008-12-11 Tom Tromey <tromey@redhat.com>
6077
6078 * gdb.base/macscp.exp: New regression test.
6079
6080 2008-12-11 Tom Tromey <tromey@redhat.com>
6081
6082 * gdb.base/macscp.exp: Print "address.addr".
6083 * gdb.base/macscp1.c (struct outer): New struct.
6084 (address): New global.
6085
6086 2008-12-09 Tom Tromey <tromey@redhat.com>
6087
6088 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6089 Call it.
6090
6091 2008-12-04 Doug Evans <dje@google.com>
6092
6093 * gdb.server/ext-run.exp: Relax regexp for init program.
6094
6095 2008-12-03 Tristan Gingold <gingold@adacore.com>
6096
6097 * gdb.base/macscp.exp: Generate an object file during compilation
6098 to work around Darwin dsymutil limitations.
6099
6100 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6101
6102 Test resolving external references to TLS variables.
6103 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6104 FILE2_THREAD_LOCAL.
6105 (testfile2, srcfile2): New variables.
6106 * gdb.threads/tls.c (file2_thread_local)
6107 (function_referencing_file2_thread_local): New.
6108 * gdb.threads/tls2.c: New file.
6109
6110 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6111
6112 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6113 rather than integer, as integer might not be big enough when
6114 on 64bit targets.
6115
6116 2008-11-27 Jerome Guitton <guitton@adacore.com>
6117
6118 * gdb.cp/formatted-ref.exp: Add equality test.
6119 * gdb.ada/formatted_ref.exp: Ditto.
6120
6121 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6122
6123 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6124 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6125
6126 2008-11-20 Andreas Schwab <schwab@suse.de>
6127
6128 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6129 matching syscall entry point.
6130 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6131 (tcatch_vfork_then_child_follow): Likewise. Finish through
6132 vfork even if we stopped at the syscall trampoline.
6133
6134 2008-11-20 Doug Evans <dje@google.com>
6135
6136 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6137
6138 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6139
6140 * gdb.arch/ppc-dfp.exp: New file.
6141 * gdb.arch/ppc-dfp.c: New file.
6142
6143 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6144
6145 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6146
6147 2008-11-17 Doug Evans <dje@google.com>
6148
6149 * gdb.mi/mi-syn-frame.exp: Update expected output.
6150 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6151
6152 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6153
6154 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6155 "thread N" results in =thread-selected.
6156 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6157 (mi_send_resuming_command_raw): Be prepared for
6158 =thread-selected.
6159
6160 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6161
6162 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6163 * lib/mi-support.exp: Likewise.
6164
6165 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6166
6167 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6168 commands from the expected output for "help catch".
6169
6170 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6171
6172 * gdb.ada/int_deref.exp: New testcase.
6173
6174 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6175
6176 * gdb.mi/gdb2549.exp: New file.
6177
6178 2008-11-11 Doug Evans <dje@google.com>
6179
6180 * gdb.base/callexit.exp: New file.
6181 * gdb.base/callexit.c: New file.
6182
6183 2008-11-10 Doug Evans <dje@google.com>
6184
6185 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6186 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6187 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6188 (default_gdb_start,default_gdb_exit): Ditto.
6189 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6190 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6191 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6192 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6193 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6194 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6195
6196 2008-11-03 Andreas Schwab <schwab@suse.de>
6197
6198 * gdb.base/hashline2.exp: Fix typo.
6199 * gdb.base/hashline3.exp: Likewise.
6200
6201 2008-10-30 Tom Tromey <tromey@redhat.com>
6202
6203 * gdb.base/pointers.exp: Add test.
6204 * gdb.base/pointers.c (k, S): New typedefs.
6205 (instance): New global.
6206
6207 2008-10-30 Andreas Schwab <schwab@suse.de>
6208
6209 * gdb.base/args.exp: Add tests for newlines.
6210
6211 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6212
6213 gdb.base/foll-exec.exp: Update the expected output of a couple
6214 of "info breakpoints" tests.
6215
6216 2008-10-28 Tom Tromey <tromey@redhat.com>
6217
6218 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6219
6220 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6221
6222 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6223 gdb_start_cmd.
6224 Use runto_main before any test that requires execution.
6225
6226 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6227
6228 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6229 instead of SIGINT.
6230
6231 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6232
6233 * gdb.base/completion.exp: Update expected output following
6234 the addition of the "info tasks" command.
6235
6236 2008-10-22 Tom Tromey <tromey@redhat.com>
6237
6238 * gdb.base/exprs.exp (test_expr): Add test for string
6239 concatenation.
6240
6241 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6242
6243 * configure.ac: Output gdb.python/Makefile.
6244 * configure: Regenerate.
6245 * gdb.python/Makefile.in: New.
6246
6247 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6248
6249 * gdb.base/foll-fork.exp: Adjust the expected output to match
6250 the new description for fork/vfork catchpoints in the "info
6251 breakpoints" output.
6252
6253 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6254
6255 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6256
6257 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6258
6259 * gdb.python/python-value.c: New file.
6260 * gdb.python/python-value.exp: New file.
6261
6262 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6263
6264 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6265
6266 2008-10-15 Denis Pilat <denis.pilat@st.com>
6267
6268 * gdb.cp/mb-ctor.exp: Fix a typo.
6269
6270 2008-10-09 Tom Tromey <tromey@redhat.com>
6271
6272 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6273 'fprintf' and 'stderr'.
6274
6275 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6276
6277 * gdb.ada/ref_tick_size.exp: New testcase.
6278
6279 2008-10-06 Doug Evans <dje@google.com>
6280
6281 * gdb.dwarf2/dw2-cu-size.exp: New file.
6282 * gdb.dwarf2/dw2-cu-size.S: New file.
6283
6284 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6285 .Ltype_int for clarity.
6286
6287 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6288
6289 PR gdb/2384:
6290 * gdb.cp/gdb2384.exp: Extended to test more cases.
6291 * gdb.cp/gdb2384.cc: Likewise.
6292 * gdb.cp/gdb2384-base.h: Likewise.
6293 * gdb.cp/gdb2384-base.cc: Likewise.
6294
6295 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6296
6297 * gdb.base/maint.exp (maint print type): Remove printing
6298 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6299
6300 2008-09-30 Tom Tromey <tromey@redhat.com>
6301
6302 * gdb.base/macscp.exp: Add completion tests.
6303 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6304 (TWENTY_THREE): Likewise.
6305 (FORTY_EIGHT): Likewise.
6306
6307 2008-09-30 Tom Tromey <tromey@redhat.com>
6308
6309 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6310 everywhere.
6311 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6312
6313 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6314
6315 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6316 testcase is derived from. Fix racy dependency on an expected PID
6317 number. No longer support the testcase on Linux kernel 2.4.x.
6318
6319 2008-09-27 Tom Tromey <tromey@redhat.com>
6320
6321 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6322 and varargs.
6323
6324 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6325
6326 * lib/mi-support.exp (mi_expect_interrupt): New.
6327 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6328 from gdb.mi/mi-nonstop.exp.
6329 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6330 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6331 lib/mi-support.exp.
6332 Use mi_check_thread_states throughout. Avoid ".*" and do not
6333 require an anchor after -exec-run.
6334
6335 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6336
6337 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6338 stop is pending. Avoid ".*" when two stops are pending.
6339 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6340 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6341 newlines in fullnames.
6342 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6343 (mi_expect_stop): Update comments. Only anchor in sync mode.
6344 Do not match newlines.
6345 (mi_send_resuming_command_raw): Always return status.
6346 (mi_get_stop_line): Do not match more than one line by accident.
6347 Only anchor in sync mode.
6348 (mi_run_inline_test): If -exec-next fails, give up.
6349
6350 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6351
6352 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6353 on SPU.
6354
6355 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6356
6357 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6358
6359 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6360
6361 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6362 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6363 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6364 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6365 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6366 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6367 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6368 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6369 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6370 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6371 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6372 Include the "= " sequence in the expected output of print tests.
6373
6374 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6375
6376 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6377 description for boolean types.
6378
6379 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6380
6381 * gdb.base/hook-stop-continue.c: New.
6382 * gdb.base/hook-stop-continue.exp: New.
6383
6384 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6385
6386 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6387
6388 2008-09-08 Jerome Guitton <guitton@adacore.com>
6389
6390 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6391 (stack_check_probe_2, stack_check_probe_loop_1)
6392 (stack_check_probe_loop_2): New functions.
6393 (main): Add call to these new functions.
6394 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6395 functions, check that the breakpoint is inserted at the appropriate
6396 location.
6397 (insert_breakpoint): Slightly refine this procedure so that it can
6398 be called several times in the test.
6399
6400 2008-09-08 Jerome Guitton <guitton@adacore.com>
6401
6402 * gdb.base/stack-checking.c: New file.
6403 * gdb.base/stack-checking.exp: New file.
6404
6405 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6406
6407 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6408 * gdb.arch/altivec-regs.exp: Likewise.
6409 * gdb.arch/vsx-regs.exp: Likewise.
6410
6411 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6412
6413 * gdb.arch/ppc-fp.exp: New file.
6414 * gdb.arch/ppc-fp.c: New file.
6415
6416 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6417
6418 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6419 lest gcc-4.3.1 optimizes the whole thing away.
6420
6421 2008-09-04 Michael Snyder <msnyder@vmware.com>
6422
6423 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6424 as "at" (for non-debug functions such as _start).
6425
6426 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6427
6428 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6429 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6430 software watchpoints.
6431 * gdb.base/watch_thread_num.exp: Likewise.
6432
6433 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6434
6435 * gdb.arch/i386-bp_permanent.exp: New test.
6436
6437 2008-08-24 Tom Tromey <tromey@redhat.com>
6438
6439 * gdb.base/maint.exp: Update "maint print type".
6440
6441 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6442
6443 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6444 support. Adjust the order of "*running" notifications.
6445 * gdb.mi/non-stop.c: Don't cast from int to void* and
6446 back.
6447
6448 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6449
6450 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6451 expect to find it in the "info frame" output.
6452
6453 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6454
6455 * gdb.base/interp.exp: Always consume both prompts.
6456
6457 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6458
6459 * gdb.base/pending.exp: Test pending breakpoints without symbols
6460 loaded.
6461
6462 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6463
6464 * lib/mi-support.exp (mi_expect_stop): Produce
6465 more details on failures.
6466 * gdb.mi/mi-nonstop.exp: New.
6467 * gdb.mi/non-stop.c: New.
6468
6469 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6470
6471 * gdb.mi/mi-async.exp: Use 'set target-async'.
6472 * lib/mi-support.exp: Use 'set/show target-async'.
6473
6474 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6475
6476 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6477
6478 2008-08-17 Tom Tromey <tromey@redhat.com>
6479
6480 * gdb.base/help.exp (help catch): Rewrite.
6481
6482 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6483
6484 * gdb.base/define.exp: Test indented command documentation.
6485 * gdb.python/python.exp: Test indented multi-line command.
6486
6487 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6488
6489 * testsuite/gdb.arch/vsx-regs.c: New source file.
6490 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6491 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6492
6493 2008-08-14 Tom Tromey <tromey@redhat.com>
6494
6495 * gdb.base/macscp.exp: Add regression test for "macro define" or
6496 "macro undef" with no arguments.
6497
6498 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6499
6500 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6501
6502 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6503
6504 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6505
6506 2008-08-06 Tom Tromey <tromey@redhat.com>
6507
6508 * gdb.python/python.exp: New file.
6509
6510 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6511
6512 Fix for PR gdb/1543.
6513 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6514 $LOCATION.
6515 (location): New variable.
6516 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6517 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6518 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6519 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6520 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6521 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6522 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6523 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6524 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6525 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6526 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6527 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6528 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6529 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6530 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6531 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6532 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6533 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6534 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6535 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6536 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6537 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6538 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6539 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6540 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6541 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6542 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6543 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6544 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6545 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6546 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6547 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6548 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6549 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6550 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6551 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6552 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6553 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6554 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6555 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6556 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6557 gdb.base/type-opaque.exp, gdb.base/until.exp,
6558 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6559 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6560 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6561 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6562 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6563 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6564 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6565 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6566 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6567 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6568 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6569 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6570 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6571 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6572 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6573 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6574 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6575 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6576 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6577 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6578 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6579 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6580 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6581 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6582 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6583 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6584 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6585 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6586 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6587 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6588 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6589 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6590 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6591 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6592 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6593 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6594 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6595 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6596 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6597 to bug-gdb@prep.ai.mit.edu .
6598
6599 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6600
6601 * lib/mi-support.exp (mi_load_shlibs): New.
6602 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6603
6604 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6605
6606 * lib/mi-support.exp (get_mi_thread_list)
6607 (check_mi_and_console_threads): New, moved from ...
6608 * gdb.mi/mi-pthread.exp: ...here.
6609 * gdb.mi/gdb669.exp (get_mi_thread_list)
6610 (check_mi_and_console_threads): Delete.
6611 * gdb.mi/mi2-pthread.exp: Likewise.
6612
6613 2008-07-28 Tom Tromey <tromey@redhat.com>
6614
6615 * Makefile.in (just-check): Remove. Move body to...
6616 (check): ... here.
6617
6618 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6619
6620 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6621 Add a test for duplicated SIGINTs.
6622
6623 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6624
6625 * gdb.threads/schedlock.exp (get_args): Update to work for any
6626 value of NUM.
6627 (Top level): Report the number of threads that did not resume.
6628
6629 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6630
6631 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6632
6633 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6634
6635 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6636 non-MI prompt.
6637
6638 2008-07-26 Tom Tromey <tromey@redhat.com>
6639
6640 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6641 (function_struct, function_struct_ptr): New globals.
6642 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6643 function pointer in a struct.
6644
6645 2008-07-26 Tom Tromey <tromey@redhat.com>
6646
6647 * gdb.base/macscp.exp: Add test for macro lexing bug.
6648
6649 2008-07-18 Tom Tromey <tromey@redhat.com>
6650
6651 * gdb.base/macscp.exp: Add macro tests.
6652
6653 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6654
6655 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6656
6657 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6658
6659 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6660
6661 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6662
6663 * gdb.cp/class2.exp: fix for failure on spu-elf
6664
6665 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6666
6667 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6668
6669 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6670
6671 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6672
6673 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6674
6675 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6676
6677 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6678
6679 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6680 of regexp to account for changes made to GDB in the printing of
6681 byte vectors.
6682
6683 2008-07-11 Tom Tromey <tromey@redhat.com>
6684
6685 * gdb.base/completion.exp: Add 'help' completion test.
6686
6687 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6688
6689 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6690
6691 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6692
6693 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6694
6695 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6696
6697 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6698
6699 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6700
6701 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6702
6703 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6704
6705 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6706
6707 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6708
6709 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6710 previous commit. Add a comment.
6711
6712 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6713
6714 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6715
6716 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6717
6718 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6719
6720 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6721
6722 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6723 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6724 compiling an executable, link in an object that forces unbuffered
6725 output.
6726 * lib/set_unbuffered_mode.c: New file.
6727
6728 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6729
6730 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6731
6732 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6733
6734 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6735 mi_expect_stop.
6736 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6737 Demand that *running is output.
6738 (detect_async): Perform checking every time.
6739 (mi_send_resuming_command): Extract everything into...
6740 (mi_send_resuming_command_raw): ...this.
6741 (mi_expect_stop): Don't accept any output before *stopped.
6742
6743 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6744
6745 Robustify mi-simplerun.
6746 * gdb.mi/basics.c (main): Add a call to sleep.
6747 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6748 * gdb.mi/mi2-cli.exp: Likewise.
6749 * gdb.mi/mi-break.exp: Likewise.
6750
6751 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6752
6753 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6754
6755 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6756
6757 * gdb.mi/mi-console.exp: Adjust.
6758 * gdb.mi/mi-syn-frame.exp: Adjust.
6759 * gdb.mi/mi2-console.exp: Adjust.
6760 * gdb.mi/mi2-syn-frame.exp: Adjust.
6761 * lib/mi-support.exp (mi_run_cmd): Adjust.
6762 (mi_send_resuming_command): Adjust.
6763
6764 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6765
6766 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6767 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6768 testing of stopped.
6769 * gdb.mi/mi2-syn-frame.exp: Likewise.
6770 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6771 (async, detect_async): New.
6772 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6773 depending on if we're running in sync or async mode.
6774
6775 2008-06-09 Tom Tromey <tromey@redhat.com>
6776
6777 * gdb.base/completion.exp: New tests for field name completion
6778 with spaces, and field name completion with '->'.
6779
6780 2008-06-06 Tom Tromey <tromey@redhat.com>
6781
6782 * gdb.base/break1.c (struct some_struct): New struct.
6783 (values): New global.
6784 * gdb.base/completion.exp: Add field name completion test.
6785
6786 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6787
6788 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6789 to pointer.
6790 * gdb.cp/call-c.cc: Likewise.
6791
6792 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6793
6794 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6795 annotation.
6796
6797 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6798 Pedro Alves <pedro@codesourcery.com>
6799
6800 * gdb.threads/execl.c, gdb.threads/execl1.c,
6801 gdb.threads/execl.exp: New tests.
6802
6803 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6804 Daniel Jacobowitz <dan@codesourcery.com>
6805
6806 * gdb.cp/exception.exp: Activate test, make it work with pending
6807 catchpoints.
6808
6809 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6810
6811 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6812
6813 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6814
6815 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6816 now printed.
6817 * gdb.mi/mi2-var-cmd.exp: Likewise.
6818
6819 2008-05-27 Andreas Schwab <schwab@suse.de>
6820
6821 * gdb.base/frame-args.exp: Handle arguments that are optimized
6822 out.
6823
6824 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6825
6826 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6827 quiet for ppc32 and group options into a single variable.
6828
6829 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6830
6831 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6832 of zero-size elements.
6833 * gdb.ada/null_array.exp: Test printing this new array.
6834
6835 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6836
6837 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6838
6839 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6840
6841 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6842 of the "finish" command.
6843
6844 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6845
6846 * gdb.base/annota1.exp: Test for new annotation.
6847
6848 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6849
6850 * gdb.base/fixsection.exp: New file.
6851 * gdb.base/fixsection0.c: New file.
6852 * gdb.base/fixsection1.c: New file.
6853
6854 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6855
6856 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6857 * gdb.base/annota3.exp: Likewise.
6858
6859 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6860
6861 * gdb.base/watch_thread_num.exp: Don't run tests that require
6862 watchpoints if the target doesn't support them.
6863
6864 2008-05-12 Doug Evans <dje@google.com>
6865
6866 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6867
6868 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6869
6870 * gdb.ada/assign_1.exp: New testcase.
6871
6872 2008-05-09 Doug Evans <dje@google.com>
6873
6874 * gdb.base/find.exp: New file.
6875 * gdb.base/find.c: New file.
6876
6877 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6878
6879 * gdb.base/commands.exp (watchpoint_command_test): Handle
6880 gdb,no_hardware_watchpoints.
6881 * gdb.base/float.exp: Allow ARM targets without floating point.
6882 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6883
6884 2008-05-06 Jerome Guitton <guitton@adacore.com>
6885 Joel Brobecker <brobecker@adacore.com>
6886
6887 * gdb.ada/lang_switch: New test program.
6888 * gdb.ada/lang_switch.exp: New testcase.
6889
6890 2008-05-05 Doug Evans <dje@google.com>
6891
6892 * gdb.base/help.exp (disassemble): Update expected help text.
6893
6894 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6895
6896 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6897
6898 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6899
6900 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6901 different times.
6902
6903 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6906 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6907 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6908 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6909
6910 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6911
6912 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6913 notification to appear.
6914
6915 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6916
6917 * gdb.base/fullname.c: New file.
6918 * gdb.base/fullname.exp: New file.
6919 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6920
6921 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6922
6923 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6924 expressions with macros.
6925
6926 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6929
6930 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6931
6932 * gdb.base/completion.exp: Handle lack of other symbols beginning
6933 with "a".
6934
6935 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6936
6937 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6938
6939 * gdb.asm/asmsrc1.s: Add scratch space.
6940
6941 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6942 Daniel Jacobowitz <dan@codesourcery.com>
6943
6944 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6945 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6946 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6947
6948 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6949
6950 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6951
6952 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6953
6954 * gdb.base/info-target.exp: New testcase.
6955
6956 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6957
6958 * gdb.cp/hang.exp: Use .cc instead of .C.
6959 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6960 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6961
6962 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6963
6964 * gdb.base/gdb1250.exp: Remove perror.
6965 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6966
6967 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6968
6969 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6970 .2byte.
6971
6972 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6973
6974 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6975 (maybe_kfail): New.
6976
6977 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6978
6979 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6980
6981 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6982
6983 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6984 * gdb.mi/mi2-syn-frame.exp: Likewise.
6985 * lib/mi-support.exp: Likewise.
6986
6987 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6988
6989 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6990 to specify regexp for the location to stop at.
6991 * gdb.base/break-always.c: New.
6992 * gdb.base/break-always.exp: New.
6993
6994 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6995
6996 * lib/mi-support.exp (mi_runto_helper): Adjust
6997 for the original-location field.
6998 (mi_create_breakpoint, mi_list_breakpoints): New.
6999 * gdb.mi/mi-break.exp: Adjust.
7000 * gdb.mi/mi2-break.exp: Adjust.
7001 * gdb.mi/mi-pending.exp: Adjust.
7002 * gdb.mi/mi-simplerun.exp: Adjust.
7003 * gdb.mi/mi2-simplerun.exp: Adjust.
7004 * gdb.mi/mi-syn-frame.exp: Adjust.
7005 * gdb.mi/mi2-syn-frame.exp: Adjust.
7006 * gdb.mi/mi-until.exp: Adjust.
7007 * gdb.mi/mi2-until.exp: Adjust.
7008 * gdb.mi/mi-var-display.exp: Adjust.
7009 * gdb.mi/mi2-var-display.exp: Adjust.
7010 * gdb.mi/mi-watch.exp: Adjust.
7011 * gdb.mi/mi2-watch.exp: Adjust.
7012
7013 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7014
7015 * aclocal.m4: Add override.m4.
7016 * configure: Regenerate.
7017
7018 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7019
7020 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7021 '-var-update --all-values' reports new value even the type
7022 of a variable object has changed.
7023
7024 2008-04-18 Craig Silverstein <csilvers@google.com>
7025
7026 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7027 files.
7028
7029 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7030
7031 * gdb.ada/atomic_enum: New test program.
7032 * gdb.ada/atomic_enum.exp: New testcase.
7033
7034 2008-04-17 Doug Evans <dje@google.com>
7035
7036 * gdb.opt/Makefile.in: Fix whitespace.
7037
7038 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7039
7040 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7041
7042 2008-04-17 Doug Evans <dje@google.com>
7043
7044 * gdb.base/hashline1.exp: New testcase.
7045 * gdb.base/hashline2.exp: New testcase.
7046 * gdb.base/hashline2.exp: New testcase.
7047
7048 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7049
7050 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7051
7052 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7053
7054 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7055 temporary breakpoint to match "Temporary breakpoint".
7056 * gdb.base/break.exp (delete_breakpoints): Likewise.
7057 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7058 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7059 * gdb.base/display.exp: Likewise.
7060 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7061 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7062 * gdb.base/restore.exp (restore_tests): Likewise.
7063 * gdb.base/sepdebug.exp: Likewise.
7064 * gdb.base/watchpoint.exp: Likewise.
7065 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7066 * gdb.mi/mi-pending.exp: Likewise.
7067 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7068 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7069 * gdb.mi/mi-var-cmd.exp: Likewise.
7070 * gdb.mi/mi-var-display.exp: Likewise.
7071 * gdb.mi/mi2-cli.exp: Likewise.
7072 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7073 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7074 * gdb.mi/mi2-var-display.exp: Likewise.
7075 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7076 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7077 new "disp" field.
7078 (mi_expect_stop): Move after_reason argument to be really after
7079 reason. This is to support fix for PR2424.
7080
7081 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7082
7083 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7084
7085 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7086
7087 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7088 field. Add more floating varobj tests.
7089 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7090 field.
7091 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7092 (main): Call do_at_tests.
7093 * lib/mi-support.exp (mi_create_floating_varobj)
7094 (mi_varobj_update_with_type_change): New.
7095
7096 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7097
7098 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7099 option of -var-evaluate-expression.
7100 * gdb.mi/mi2-var-display.exp: Likewise.
7101
7102 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7103
7104 Introduce test setup helpers.
7105 * lib/gdb.exp (build_executable, clean_restart)
7106 (prepare_for_testing): New.
7107 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7108 * gdb.base/return.exp: Likewise.
7109 * gdb.base/ending-run.exp: Likewise.
7110
7111 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7112
7113 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7114 Interface (MI) responses.
7115
7116 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7117
7118 * gdb.cp/breakpoint.cc: New code to test conditions involving
7119 member variables.
7120 * gdb.cp/breakpoint.exp: Test condition involving member
7121 variables.
7122
7123 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7124
7125 * lib/mi-support.exp (mi_expect_stop): New.
7126 (mi_run_cmd): Change the
7127 token. Use mi_send_resuming_command, use
7128 mi_expect_stop.
7129 (mi_execute_to_helper): Rename to mi_execute_to.
7130 (mi_send_resuming_command): Add more error patterns.
7131 (mi_wait_for_stop): Renamed to...
7132 (mi_get_stop_line): ...this.
7133 (mi_run_inline_test): Adjust.
7134
7135 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7136 * gdb.mi/mi-console.exp: Likewise.
7137 * gdb.mi/mi-pending.exp: Likewise.
7138 * gdb.mi/mi-simplerun.exp: Likewise.
7139 * gdb.mi/mi-stack.exp: Likewise.
7140 * gdb.mi/mi-stepi.exp: Likewise.
7141 * gdb.mi/mi-syn-frame.exp: Add comment.
7142 * gdb.mi/mi-until.exp: Likewise.
7143 * gdb.mi/mi-var-display.exp: Likewise.
7144 * gdb.mi/mi-watch.exp: Likewise.
7145 * gdb.mi/mi2-cli.exp: Likewise.
7146 * gdb.mi/mi2-console.exp: Likewise.
7147 * gdb.mi/mi2-simplerun.exp: Likewise.
7148 * gdb.mi/mi2-stack.exp: Likewise.
7149 * gdb.mi/mi2-stepi.exp: Likewise.
7150 * gdb.mi/mi2-until.exp: Likewise.
7151 * gdb.mi/mi2-var-display.exp: Likewise.
7152 * gdb.mi/mi2-watch.exp: Likewise.
7153
7154 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7155
7156 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7157
7158 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7159
7160 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7161
7162 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7163 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7164 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7165 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7166 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7167 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7168 expect an mi error duplicated in stderr.
7169
7170 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7171
7172 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7173 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7174 Add a couple of tests that verify the behavior when the new setting
7175 is set to "cancel" and "all".
7176 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7177 "ask" before we start the testing.
7178
7179 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7180
7181 * gdb.cp/casts.cc: Add class reference variables.
7182 * gdb.cp/casts.exp: New test cases for up/down casting references.
7183
7184 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7185
7186 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7187 instead of beginning to make an extra test pass.
7188 * gdb.mi/mi2-var-display.exp: Likewise.
7189
7190 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7191
7192 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7193
7194 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7195 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7196
7197 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7198 value. Add xfail for older kernels.
7199
7200 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7201
7202 Bring mi-support in line with gdb.exp.
7203 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7204 (mi_gdb_start): New function.
7205
7206 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7207
7208 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7209
7210 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7211
7212 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7213 * gdb.mi/mi2-var-display.exp: Likewise.
7214
7215 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7216
7217 * lib/mi-support.exp (mi_create_varobj_checked): New.
7218 (mi_list_varobj_children): Allow to check for a
7219 value.
7220 (mi_list_array_varobj_children): New.
7221
7222 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7223 and mi_list_varobj_children, as opposed to hardcoding
7224 expected strings.
7225 * gdb.mi/gdb701.exp: Likewise.
7226 * gdb.mi/gdb792.exp: Likewise.
7227 * gdb.mi/mi-var-block.exp: Likewise.
7228 * gdb.mi/mi-var-cmd.exp: Likewise.
7229 * gdb.mi/mi-var-invalidate.exp: Likewise.
7230 * gdb.mi/mi2-var-block.exp: Likewise.
7231 * gdb.mi/mi2-var-child.exp: Likewise.
7232 * gdb.mi/mi2-var-cmd.exp: Likewise.
7233 * gdb.mi/mi2-var-display.exp: Likewise.
7234
7235 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 Fix random false FAILs on i386.
7238 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7239
7240 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7241
7242 PR gdb/544
7243 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7244
7245 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7246
7247 PR gdb/544
7248 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7249
7250 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7251
7252 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7253 fixed PR gdb/544.
7254
7255 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7256
7257 * gdb.threads/fork-child-threads.exp: Test next over fork.
7258
7259 2008-03-21 Chris Demetriou <cgd@google.com>
7260
7261 * gdb.base/break.exp (rbreak junk): New test for rbreak
7262 "Junk at end of arguments" issue.
7263
7264 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7265
7266 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7267 *& to work on created array elements.
7268 (Top level): Test print $pc with a file. Test string operations
7269 without a target.
7270 * gdb.base/ptype.exp: Do not expect *& to work on created array
7271 elements.
7272
7273 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7274
7275 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7276 gdb.threads/staticthreads.exp: Update exit query.
7277
7278 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7279
7280 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7281
7282 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7283
7284 * gdb.base/watchpoint.c (global_ptr, func4): New.
7285 (main): Call func4.
7286 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7287 (test_inaccessible_watchpoint): New.
7288
7289 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7290
7291 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7292 select the largest.
7293
7294 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7295
7296 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7297 frames-invalid annotations.
7298
7299 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7300
7301 * gdb.base/assign.exp: avoid same output for different tests.
7302
7303 2008-02-27 Doug Evans <dje@google.com>
7304
7305 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7306 for bug 1738.
7307 (breakpoint_to_handler_entry): Ditto.
7308
7309 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7310
7311 * gdb.base/ending-run.exp: Use the first line of code inside
7312 function body to test breakpoints.
7313 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7314 location where the breakpoint is inserted when using the line
7315 where a function is declared. Fix typo in the description of
7316 one of the tests.
7317 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7318
7319 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7320
7321 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7322 tests.
7323
7324 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7325
7326 * gdb.base/args.exp: avoid same output for tests
7327 with single quotes.
7328
7329 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7330
7331 * gdb.base/annota1.exp: Adjust for 'info break'
7332 format changes.
7333 * gdb.base/annota3.exp: Likewise.
7334 * gdb.base/break.exp: Likewise.
7335 * gdb.base/condbreak.exp: Likewise.
7336 * gdb.base/pending.exp: Likewise.
7337 * gdb.base/sepdebug.exp: Likewise.
7338 * gdb.base/unload.exp: Likewise.
7339 * gdb.cp/ovldbreak.exp: Likewise.
7340 * gdb.mi/mi-pending.exp: Likewise.
7341
7342 2008-02-07 Doug Evans <dje@google.com>
7343
7344 * gdb.cp/mb-inline.exp: New.
7345 * gdb.cp/mb-inline.h: New.
7346 * gdb.cp/mb-inline1.cc: New.
7347 * gdb.cp/mb-inline2.cc: New.
7348
7349 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7350
7351 * gdb.pascal/floats.pas: New test program.
7352 * gdb.pascal/floats.exp: New testcase.
7353
7354 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7355
7356 * gdb.base/callfuncs.c (t_float_many_args): New function.
7357 (t_double_many_args): New function.
7358 * gdb.base/callfuncs.exp: Add tests for exceeding float
7359 and double parameters passed through the stack.
7360
7361 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7362
7363 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7364 gdb.ada/complete/foo.adb: New files.
7365 * gdb.ada/complete.exp: New testcase.
7366
7367 2008-02-03 Doug Evans <dje@google.com>
7368
7369 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7370
7371 * gdb.cp/gdb2384.exp: New file.
7372 * gdb.cp/gdb2384.cc: New file.
7373 * gdb.cp/gdb2384-base.h: New file.
7374 * gdb.cp/gdb2384-base.cc: New file.
7375
7376 2008-02-02 Doug Evans <dje@google.com>
7377
7378 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7379
7380 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7381
7382 * gdb.ada/sym_print_name: New test program.
7383 * gdb.ada/sym_print_name.exp: New testcase.
7384
7385 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7386
7387 * gdb.ada/nested/hello.adb: New file.
7388 * gdb.ada/nested.exp: New testcase.
7389 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7390
7391 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7392
7393 * gdb.mi/basic.c (return_1): New function.
7394 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7395 don't cause future evaluations of function to report
7396 creation of internal breakpoints.
7397
7398 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7399
7400 * gdb.mi/mi-break.exp (test_error): New.
7401 Call it.
7402
7403 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7404
7405 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7406 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7407
7408 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7409
7410 * gdb.pascal/integers.pas: New test program.
7411 * gdb.pascal/integers.exp: New testcase.
7412
7413 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7414
7415 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7416
7417 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7418
7419 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7420 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7421
7422 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7423
7424 * gdb.ada/formatted_ref: New test program.
7425 * gdb.ada/formatted_ref.exp: New testcase.
7426
7427 * gdb.cp/formatted-ref.cc: New file.
7428 * gdb.cp/formatted-ref.exp: New testcase.
7429
7430 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7431
7432 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7433
7434 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7435
7436 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7437 (test_file_list_exec_source_file): Update to new macro-info field.
7438
7439 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7440
7441 * gdb.ada/exprs: New test program.
7442 * gdb.ada/exprs.exp: New testcase.
7443
7444 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7445
7446 * dfp-test.c (DELTA, DELTA_B): New definitions.
7447 (double_val1, double_val2, double_val3, double_val4, double_val5,
7448 double_val6, double_val7, double_val8, double_val9, double_val10,
7449 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7450 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7451 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7452 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7453 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7454 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7455 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7456 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7457 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7458 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7459 dec128_val16): New global variables.
7460 (decimal_dec128_align): New function.
7461 (decimal_mixed): Likewise.
7462 (decimal_many_args_dec32): Likewise.
7463 (decimal_many_args_dec64): Likewise.
7464 (decimal_many_args_dec128): Likewise.
7465 (decimal_many_args_mixed): Likewise.
7466 * dfp-test.exp: Add tests calling new inferior functions.
7467
7468 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7469
7470 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7471 gdb.server/ext-run.exp: New files.
7472 * lib/gdbserver-support.exp (gdbserver_download): New.
7473 (gdbserver_start): New. Update gdbserver expected
7474 output.
7475 (gdbserver_spawn): Use them.
7476 (gdbserver_start_extended): New.
7477
7478 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7479
7480 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7481 Run on GNU/Linux.
7482 (do_exec_tests): Check for systems which do not support catchpoints.
7483 Do not match START.
7484 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7485 Run on GNU/Linux. Enable verbose output.
7486 (check_fork_catchpoints): New.
7487 (explicit_fork_child_follow, catch_fork_child_follow)
7488 (tcatch_fork_parent_follow): Update expected messages.
7489 (do_fork_tests): Use check_fork_catchpoints.
7490 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7491 Run on GNU/Linux. Enable verbose output.
7492 (check_vfork_catchpoints): New.
7493 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7494 expected messages.
7495 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7496
7497 2008-01-29 Jim Blandy <jimb@red-bean.com>
7498
7499 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7500 host' errors.
7501 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7502
7503 2008-01-29 Jim Blandy <jimb@red-bean.com>
7504
7505 * gdb.threads/sigthread.c: Use barriers to ensure that
7506 child_thread and child_thread_two are always initialized before we
7507 start to use them.
7508
7509 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7510
7511 * gdb.base/watchpoint-solib.exp: New.
7512 * gdb.base/watchpoint-solib.c: New.
7513 * gdb.base/watchpoint-solib-shr.c: New.
7514
7515 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7516
7517 * gdb.base/gdb1056.exp: Add unsigned integer test.
7518
7519 2008-01-28 Doug Evans <dje@google.com>
7520
7521 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7522
7523 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7524
7525 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7526
7527 * gdb.base/expand-psymtabs.exp: Doc fix.
7528
7529 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7530
7531 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7532
7533 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7534
7535 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7536 -var-set-format.
7537
7538 2008-01-23 Chris Demetriou <cgd@google.com>
7539
7540 * gdb.threads/thread_events.c: New testcase source file.
7541 * gdb.threads/thread_events.exp: New testcase expect file.
7542
7543 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7544
7545 * lib/gdb.exp: Add the variable octal.
7546
7547 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7548 -var-set-format.
7549
7550 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7551 Vladimir Prus <vladimir@codesourcery.com>
7552
7553 * gdb.base/float.exp: Allow missing floating point for m68k and
7554 PowerPC.
7555
7556 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7557
7558 * gdb.mi/basics.c: Setup for testing breakpoints
7559 ignore count.
7560 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7561 * gdb.mi/mi-cli.exp: Adjust.
7562 * gdb.mi/mi2-cli.exp: Adjust.
7563
7564 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7565
7566 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7567 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7568 with dummy_ptr's address.
7569 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7570 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7571 all targets.
7572 * gdb.mi/mi2-var-child.exp: Likewise.
7573
7574 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7575
7576 * gdb.ada/null_array: New test program.
7577 * gdb.ada/null_array.exp: New testcase.
7578
7579 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7580
7581 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7582 with required float modifiers.
7583
7584 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7585
7586 * gdb.ada/funcall_param: New test program.
7587 * gdb.ada/funcall_param.exp: New testcase.
7588
7589 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7590
7591 * gdb.ada/arrayparam: New test program.
7592 * gdb.ada/arrayparam.exp: New testcase.
7593
7594 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7595
7596 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7597 landed. Should also fix random failures in the test following it.
7598
7599 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7600
7601 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7602 for expressions with decimal float values.
7603 (test_dfp_conversions): New function to test casts to and from
7604 decimal float types.
7605 Call test_dfp_conversions.
7606 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7607 elements.
7608 (main): Initialize ds.float4 and ds.double8 elements.
7609 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7610 string to new error message.
7611 (d64_set_tests): Likewise.
7612 (d128_set_tests): Likewise.
7613 Add tests for expressions with decimal float variables. Add tests for
7614 conversions to and from decimal float types.
7615
7616 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7617
7618 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7619 * gdb.ada/packed_tagged.exp: New testcase.
7620
7621 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7622
7623 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7624 gdb.ada/homonym/homonym_main.adb: New files.
7625 * gdb.ada/homonym.exp: New testcase.
7626
7627 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7628
7629 * gdb.ada/packed_array.exp: Add testing of references to
7630 a packed array.
7631
7632 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7633
7634 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7635 New files.
7636 * gdb.ada/type_coercion.exp: New testcase.
7637
7638 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7639
7640 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7641 gdb.ada/tagged/foo.adb: New file.
7642 * gdb.ada/tagged.exp: New testcase.
7643
7644 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7645
7646 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7647 gdb.ada/ptype_field/foo.adb: New files.
7648 * gdb.ada/ptype_field.exp: New testcase.
7649
7650 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7651
7652 * gdb.ada/print_pc.exp: New testcase.
7653
7654 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7655
7656 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7657 gdb.ada/taft_type/p.adb: New files.
7658 * gdb.ada/taft_type.exp: New testcase.
7659
7660 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7661
7662 * gdb.ada/array_bounds/bar.adb: New file.
7663 * gdb.ada/array_bounds.exp: New testcase.
7664
7665 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7666
7667 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7668 gdb.ada/arrayptr/foo.adb: New files.
7669 * gdb.ada/arrayptr.exp: New testcase.
7670
7671 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7672
7673 * gdb.base/set-lang-auto.exp: New testcase.
7674
7675 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7676
7677 * gdb.ada/fun_addr/foo.adb: New file.
7678 * gdb.ada/fun_addr.exp: New testcase.
7679
7680 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7681
7682 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7683 New files
7684
7685 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7686
7687 * array_subscript_addr/p.adb: New file.
7688 * array_subscript_addr.exp: New testcase.
7689
7690 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7691
7692 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7693 New files.
7694 * gdb.ada/str_cmp_ref.exp: New testcase.
7695
7696 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7697
7698 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7699 gdb.ada/fun_in_declare/foo.adb: New files.
7700 * gdb.ada/fun_in_declare.exp: New testcase.
7701
7702 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7703
7704 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7705 gdb.ada/ref_param/pck.ads: New files.
7706 * gdb.ada/ref_param.exp: New testcase.
7707
7708 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7709
7710 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7711 gdb.ada/interface/foo.adb: New files.
7712 * gdb.ada/interface.exp: New testcase.
7713
7714 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7715
7716 * gdb.base/multi-forks.exp: Consume all output from child
7717 processes before proceeding to next test.
7718
7719 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7720
7721 * configure: Regenerated.
7722
7723 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7724
7725 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7726 gdb.ada/fixed_cmp/fixed.adb: New files.
7727 * gdb.ada/fixed_cmp.exp: New testcase.
7728
7729 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7730
7731 * gdb.ada/boolean_expr.exp: New testcase.
7732
7733 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7734
7735 * gdb.base/multi-forks.exp: Doc fix.
7736
7737 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7738
7739 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7740 * gdb.ada/char_param.exp: Do not compile our test program with
7741 -gnata, this is unnecessary.
7742 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7743
7744 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7745
7746 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7747 gdb.ada/print_chars/foo.adb: New files.
7748 * gdb.ada/print_chars.exp: New testcase.
7749
7750 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7751
7752 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7753 gdb.ada/char_param/foo.adb: New files.
7754 * gdb.ada/char_param.exp: New testcase.
7755
7756 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7757
7758 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7759 hard-coding source line numbers into the test.
7760 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7761 gdb_get_line_number to find.
7762
7763 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7764
7765 * gdb.base/ptype.c (highest): New struct type.
7766 (the_highest): New variable of that type.
7767 (main): Add dummy assignment to a field of variable the_highest.
7768 * gdb.base/ptype.exp: Test type printing of our new variable.
7769
7770 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7771
7772 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7773 and record first explicitly generated thread number.
7774 Use that thread number for thread specific watchpoint test.
7775 Add iteration number to repetitive tests.
7776
7777 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7778 Jim Blandy <jimb@codesourcery.com>
7779
7780 * gdb.base/expand-psymtabs.c: New testcase
7781 source file.
7782 * gdb.base/expand-psymtabs.exp: New testcase
7783 expect file.
7784
7785 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7786
7787 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7788 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7789
7790 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7791
7792 * gdb.ada/frame_args/foo.adb: New file.
7793 * gdb.ada/frame_args/pck.ads: New file.
7794 * gdb.ada/frame_args/pck.adb: New file.
7795 * gdb.ada/frame_args.exp: New testcase.
7796
7797 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7798
7799 * gdb.base/frame-args.c: New file.
7800 * gdb.base/frame-args.exp: New testcase.
7801
7802 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7803 Joseph Myers <joseph@codesourcery.com>
7804
7805 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7806
7807 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7808
7809 * gdb.mi/mi-pending.exp: New.
7810 * gdb.mi/mi-pending.c: New.
7811 * gdb.mi/mi-pendshr.c: New.
7812
7813 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7814
7815 * gdb.base/default.exp: Update expected output for 'info catch'.
7816
7817 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7820 must be set to binary.
7821
7822 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7823
7824 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7825
7826 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7827
7828 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7829 gdb.mi/mi-file-transfer.exp: New.
7830
7831 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7832
7833 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7834
7835 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7836
7837 * gdb.trace/backtrace.exp: Fix a typo.
7838 * gdb.trace/circ.exp: Likewise.
7839 * gdb.trace/collection.exp: Likewise.
7840 * gdb.trace/limits.exp: Likewise.
7841 * gdb.trace/report.exp: Likewise.
7842 * gdb.trace/tfind.exp: Likewise.
7843 * gdb.trace/while-dyn.exp: Likewise.
7844
7845 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7846
7847 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7848 objects of pointers that can't be dereferenced are now
7849 "noneditable".
7850
7851 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7852
7853 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7854 (target_cpu): Remove.
7855
7856 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7857
7858 * gdb.base/ending-run.exp: Expect the list of cleared
7859 breakpoint to come in natural order, not the reversed one.
7860
7861 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7862
7863 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7864 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7865
7866 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7867
7868 * gdb.base/printcmds.exp: New function
7869 test_printf_with_dfp.
7870
7871 2007-11-02 Doug Evans <dje@google.com>
7872
7873 * gdb.disasm/t01_mov.s: Remove carriage returns.
7874 * gdb.disasm/t02_mova.s: Ditto.
7875 * gdb.disasm/t03_add.s: Ditto.
7876 * gdb.disasm/t04_sub.s: Ditto.
7877 * gdb.disasm/t05_cmp.s: Ditto.
7878 * gdb.disasm/t06_ari2.s: Ditto.
7879 * gdb.disasm/t07_ari3.s: Ditto.
7880 * gdb.disasm/t08_or.s: Ditto.
7881 * gdb.disasm/t09_xor.s: Ditto.
7882 * gdb.disasm/t10_and.s: Ditto.
7883 * gdb.disasm/t11_logs.s: Ditto.
7884 * gdb.disasm/t12_bit.s: Ditto.
7885 * gdb.disasm/t13_otr.s: Ditto.
7886
7887 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7888
7889 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7890
7891 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7892
7893 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7894 provide DFP support.
7895
7896 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7897
7898 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7899 Test "set powerpc vector-abi". Skip auto-detection tests for old
7900 toolchains.
7901
7902 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7903
7904 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7905 with [string compare].
7906
7907 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7908
7909 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7910 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7911
7912 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7913
7914 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7915 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7916 * gdb.opt/Makefile.in: New makefile.
7917 * Makefile.in: Create new directory "gdb.opt".
7918 * configure.ac: Add "gdb.opt" directory.
7919 * configure: Regenerated.
7920
7921 2007-10-25 Doug Evans <dje@google.com>
7922
7923 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7924 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7925
7926 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7927 Thiago Jung Bauermann <bauerman@br.ibm.com>
7928
7929 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7930 Floating Point expressions.
7931 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7932 Floating Point variables.
7933 * gdb.base/dfp-test.c: new file containing program with Decimal
7934 Floating variables, used by gdb.base/dfp-test.exp.
7935
7936 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7937
7938 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7939
7940 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7941
7942 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7943 compiling test case with GCC.
7944 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7945
7946 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7947
7948 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7949 format changes.
7950
7951 2007-10-18 Michael Snyder <msnyder@specifix.com>
7952
7953 * gdb.base/dbx.exp: Add missing "-re " operator.
7954
7955 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7956
7957 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7958 * configure.ac: Removed trailing spaces after backslash.
7959 * gdb.modula2: New directory.
7960 * gdb.modula2/Makefile.in: New file.
7961 * gdb.modula2/unbounded-array.exp: New file.
7962 * gdb.modula2/unbounded1.c: New file.
7963
7964 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7965
7966 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7967
7968 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7969
7970 * gdb.base/sigstep.c (main): Add checks for
7971 return values for setitimer call.
7972 Call setitimer again with itimer = ITIMER_REAL
7973 if first call to setitimer fails.
7974
7975 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7976
7977 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7978 of $timeout.
7979
7980 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7981
7982 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7983
7984 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7985
7986 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7987 of gdb_expect call, to avoid interruption.
7988
7989 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7990
7991 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7992 (v_unsigned_long_long, v_long_long_array)
7993 (v_signed_long_long_array, v_unsigned_long_long_array)
7994 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7995 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7996 [!NO_LONG_LONG]: New.
7997 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7998 v_long_long_member.
7999
8000 (v_long_long_func, v_signed_long_long_func)
8001 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8002 (main) [!NO_LONG_LONG]: Initialize long long variants.
8003
8004 * gdb.base/whatis.exp: If board file requests no_long_long, build
8005 test with NO_LONG_LONG defined. Test long long, signed long long,
8006 and unsigned long long variants but only if board file doesn't
8007 disable it.
8008
8009 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8010 Daniel Jacobowitz <dan@codesourcery.com>
8011
8012 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8013 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8014 * configure: Regenerated.
8015 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8016 gdb.pascal/types.exp, lib/pascal.exp: New files.
8017
8018 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8019
8020 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8021 call.
8022 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8023 to return to the call.
8024 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8025 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8026 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8027 * gdb.mi/mi-until.exp (test_until): Likewise.
8028 * gdb.mi/mi2-until.exp (test_until): Likewise.
8029
8030 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8031
8032 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8033 two-char array.
8034 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8035
8036 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8037
8038 * gdb.threads/watchthreads.c (thread_function): Sleep between
8039 iterations.
8040 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8041 at once for S/390. Generate matching fails and passes.
8042
8043 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8044
8045 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8046 the 'struct_declarations' variable to zeros.
8047
8048 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8049
8050 * gdb.cp/mb-ctor.cc: New.
8051 * gdb.cp/mb-ctor.exp: New.
8052 * gdb.cp/mb-templates.cc: New.
8053 * gdb.cp/mb-templates.exp: New.
8054
8055 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8056
8057 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8058
8059 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8060
8061 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8062 targets.
8063 * configure: Regenerate.
8064
8065 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8066
8067 * gdb.base/annota1.exp: Adjust for 'info break'
8068 format changes.
8069 * gdb.base/annota3.exp: Likewise.
8070 * gdb.base/break.exp: Likewise.
8071 * gdb.base/condbreak.exp: Likewise.
8072 * gdb.base/pending.exp: Likewise.
8073 * gdb.base/sepdebug.exp: Likewise.
8074 * gdb.base/unload.exp: Likewise.
8075 * gdb.base/ovldbreak.exp: Likewise.
8076
8077 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8078
8079 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8080 messages.
8081 * gdb.base/chng-syms.exp: Likewise.
8082 * gdb.base/unload.exp: Likewise.
8083
8084 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8085
8086 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8087
8088 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8089
8090 * schedlock.c (NUM): Change to 1.
8091 (main): Use args[0] for the main thread.
8092 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8093 regardless of the number of threads.
8094
8095 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8096
8097 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8098 type down.
8099 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8100 test.
8101 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8102 watchpoint type down.
8103 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8104 test.
8105
8106 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8107
8108 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8109 Move all the tests here and run them twice, once using software
8110 watchpoints and once using hardware watchpoints.
8111 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8112
8113 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8114
8115 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8116 test.
8117
8118 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8119
8120 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8121 build-id.
8122
8123 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8124 know about $ORIGIN. Calculate output dir from $dest instead of
8125 using ${objdir}/{$subdir}.
8126
8127 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8128
8129 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8130 gcore, before continuing with the test.
8131
8132 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8133
8134 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8135 * gdb.mi/mi-watch.exp: Likewise.
8136
8137 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8138 Jim Blandy <jimb@codesourcery.com>
8139
8140 * gdb.arch/i386-sse.exp: Do not expect character constants.
8141 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8142 * gdb.base/display.exp: Allow print/s.
8143 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8144 and unsigned char array changes.
8145
8146 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8147
8148 * gdb.base/display.exp: Add tests for printf %p.
8149
8150 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8151
8152 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8153 the dll name to unicode.
8154
8155 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8156
8157 * gdb.base/default.exp (show version): Update the version text.
8158 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8159
8160 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8161
8162 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8163 New files.
8164
8165 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8166
8167 * lib/gdb.exp (build_id_debug_filename_get): New function.
8168 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8169 Remove the generate DEBUG file for the future testcase runs.
8170 New testcase for the NT_GNU_BUILD_ID retrieval.
8171 Move the final testing step to ...
8172 (test_different_dir): ... a new function.
8173 New parameter XFAIL to XFAIL all the tests performed.
8174 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8175 New parameter TYPE to PF_PREFIX all the tests performed.
8176
8177 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8178
8179 * gdb.mi/mi-var-cp.cc (path_expression): New
8180 function.
8181 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8182
8183 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8184
8185 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8186 to fit into SPU Local Store memory.
8187
8188 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8189
8190 * gdb.base/default.exp: Adjust the expected output of "info
8191 warranty" after the switch to GPLv3.
8192
8193 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8194
8195 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8196 to 30000 (from 20000).
8197
8198 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8199
8200 Switch the license of all .exp files to GPLv3.
8201 Switch the license of all .f and .f90 files to GPLv3.
8202 Switch the license of all .s and .S files to GPLv3.
8203
8204 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8205
8206 * configure.ac: Switch license to GPLv3.
8207
8208 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8209
8210 Switch the licensing to GPLv3 for all .ads and .adb files.
8211
8212 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8213
8214 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8215 and t_int_double.
8216 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8217
8218 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8219
8220 * gdb.base/step-line.c: Switch license to GPL version 3, and
8221 update copyright year.
8222 * gdb.base/step-line.inp: Likewise.
8223
8224 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8225
8226 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8227 changes inside gdb1555.c.
8228 * gdb.base/pending.exp: Likewise.
8229
8230 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8231
8232 * config/default.exp: New file.
8233
8234 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8235
8236 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8237 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8238
8239 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8240
8241 * gdb.base/dump.exp: Force the correct endianness for binary
8242 formats not carrying this information.
8243
8244 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8245
8246 * gdb.threads/staticthreads.exp: Match .*sem_post.
8247
8248 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8249
8250 * gdb.base/readline.exp (operate_and_get_next): Match the final
8251 prompt.
8252
8253 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8254
8255 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8256 to restarting SID.
8257
8258 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8259
8260 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8261 prior to `gdb_start'.
8262
8263 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8264
8265 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8266 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8267 Remove call to gdb_unload.
8268
8269 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8270 Daniel Jacobowitz <dan@codesourcery.com>
8271
8272 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8273 for __WIN32__.
8274 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8275 * gdb.base/unload.exp: Use shared library test routines.
8276
8277 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8278
8279 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8280 * gdb.base/solib-symbol-lib.c: Likewise.
8281 * gdb.base/solib-symbol-main.c: Likewise.
8282
8283 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8284
8285 * config/gdbserver.exp (gdb_reconnect): New.
8286 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8287 gdb.base/solib-disc.exp: New files.
8288 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8289 remote debugging".
8290 (gdb_compile): Add shlib_load flag.
8291 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8292 port.
8293 (gdbserver_reconnect): New.
8294
8295 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8296 Daniel Jacobowitz <dan@codesourcery.com>
8297
8298 * gdb.base/annota3.exp: Test for if construct.
8299
8300 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8301
8302 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8303
8304 2007-06-21 Chris Dearman <chris@mips.com>
8305 Maciej W. Rozycki <macro@mips.com>
8306
8307 * gdb.base/display.exp: Allow a newline after display/i.
8308 * gdb.base/pc-fp.exp: Likewise.
8309 * gdb.base/sigbpt.exp: Likewise.
8310
8311 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8312
8313 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8314 required features to be included.
8315
8316 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8317
8318 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8319 in info threads output.
8320
8321 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8322 Markus Deuling <deuling@de.ibm.com>
8323
8324 * gdb.arch/spu-info.exp: New testcase.
8325 * gdb.arch/spu-info.c: New file.
8326
8327 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8328
8329 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8330 tpcs_offset. Restore lr after the call.
8331 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8332
8333 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8334
8335 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8336 (gdbserver_run): Kill any running gdbserver.
8337 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8338
8339 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8340
8341 * gdb.base/sigbpt.exp: Preset segv_addr.
8342
8343 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8344
8345 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8346 (gdb_compile_shlib): Likewise.
8347 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8348 (default_gdb_init): Clear cleanfiles.
8349 (gdb_finish): Delete recorded cleanfiles.
8350 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8351
8352 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8353 Do not use isnative.
8354 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8355 gdb.base/so-impl-ld.exp: Likewise.
8356 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8357 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8358 gdb_compile.
8359
8360 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8361
8362 * config/unknown.exp: Remove.
8363
8364 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8365
8366 * gdb.base/info-proc.exp: Check is_remote.
8367
8368 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8369
8370 * gdb.base/gcore.exp: Initialize variable core_supported.
8371
8372 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8373
8374 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8375
8376 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8377
8378 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8379 * gdb.threads/print-threads.exp (test_all_threads): Allow
8380 negative and hexadecimal thread IDs.
8381
8382 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8383
8384 * gdb.java/jprint.java (public): Avoid invalid call to static
8385 method.
8386
8387 2007-05-14 Denis Pilat <denis.pilat@st.com>
8388
8389 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8390 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8391 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8392 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8393 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8394
8395 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8396
8397 * gdb.base/overlays.exp: Add support for targets with only code
8398 overlay support, not data overlay. Support spu-*-* target in
8399 this mode.
8400 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8401 * gdb.base/spu.ld: New file.
8402
8403 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8404
8405 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8406
8407 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8408
8409 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8410
8411 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8412
8413 * gdb.java/jmain.exp: Handle demangled names with and without method
8414 signatures.
8415
8416 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8417
8418 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8419 (have_a_very_merry_interrupt): Remove calls to puts.
8420 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8421 inferior output.
8422 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8423 test names.
8424
8425 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8426 Daniel Jacobowitz <dan@codesourcery.com>
8427
8428 * gdb.base/auxv.exp (core_works): Also check is_remote.
8429 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8430
8431 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8432
8433 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8434 message, not the undefined 'module' variable.
8435 * gdb.base/siginfo.exp: Likewise.
8436 * gdb.base/sigstep.exp: Likewise.
8437 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8438 serialport.
8439 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8440
8441 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8442
8443 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8444 target sim fails. Return 0 otherwise.
8445 (gdb_load): Return prematurely if gdb_target_sim fails.
8446
8447 2007-04-16 Denis Pilat <denis.pilat@st.com>
8448
8449 * gdb.base/setshow.exp: Reset height after having set it to 100.
8450
8451 2007-04-16 Denis Pilat <denis.pilat@st.com>
8452
8453 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8454
8455 2007-04-16 Denis Pilat <denis.pilat@st.com>
8456
8457 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8458
8459 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8460
8461 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8462 tests. Run the frozen varobjs test.
8463 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8464 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8465
8466 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8467
8468 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8469 gdb.base/type-opaque.exp: New files.
8470
8471 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8472
8473 * gdb.mi/mi-var-child.c
8474 (do_children_tests): User char[2] instead of
8475 char so that automatic printing of pointers to char
8476 don't give unpredicable result.
8477 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8478 local variables.
8479 * gdb.mi/mi-var-child.exp: Step to right line
8480 of do_children_tests.
8481 * gdb.mi/mi2-var-child.exp: Likewise.
8482 * gdb.mi/mi-var-cmd.exp: Step to right line of
8483 do_locals_tests.
8484 (do_children_tests): User char[2] instead of
8485 char so that automatic printing of pointers to char
8486 don't give unpredicable result.
8487 * gdb.mi/mi2-var-cmd.exp: Likewise.
8488 * lib/mi-support.exp (mi_continue_to_line):
8489 Pass test name to mi_wait_for_stop.
8490
8491 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8492
8493 * gdb.asm/asm-source.exp: Remove d10v case.
8494 * lib/gdb.exp (skip_cplus_tests): Likewise.
8495 * gdb.asm/d10v.inc: Deleted.
8496
8497 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8498
8499 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8500
8501 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8502
8503 * config/netware.exp: Delete file.
8504
8505 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8506
8507 * gdb.dwarf2/dw2-noloc.S: New file.
8508 * gdb.dwarf2/dw2-noloc.exp: New file.
8509
8510 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8511
8512 * gdb.cp/method2.cc: New test.
8513 * gdb.cp/method2.exp: New test.
8514 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8515
8516 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8517
8518 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8519
8520 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8521
8522 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8523
8524 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8525
8526 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8527 (gdb_load): Delete, replace with...
8528 (gdb_reload): ...this.
8529 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8530 * gdb.server/server-mon.exp: Likewise.
8531 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8532 (gdb_start_cmd): New.
8533 (gdb_file_cmd): Save the last loaded file.
8534 (gdb_reload): New.
8535 (gdb_gnu_strip_debug): Use transform.
8536 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8537 support here. Use new $last_loaded_file. Check mtime.
8538 (gdb_target_cmd): Handle ObjC failure case.
8539 (infer_host_exec): Delete.
8540 (gdbserver_load): Rename to...
8541 (gdbserver_run): ...this. Simplify.
8542 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8543 (mi_gdb_load): Move most contents to a new function...
8544 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8545 (mi_run_cmd): Use mi_gdb_target_load.
8546 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8547 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8548 Use gdb_run_cmd.
8549 * gdb.base/charsign.exp: Remove incorrect comment.
8550 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8551 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8552 gdb.base/start.exp: Use gdb_start_cmd.
8553
8554 2007-03-23 Nigel Stephens <nigel@mips.com>
8555 Maciej W. Rozycki <macro@mips.com>
8556
8557 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8558 * gdb.base/signull.exp: Similarly.
8559
8560 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8561
8562 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8563 messages available to test cases (like chng-sym.exp).
8564
8565 2007-03-14 Andreas Schwab <schwab@suse.de>
8566
8567 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8568 format changes.
8569
8570 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8571
8572 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8573 (optimized_1): New.
8574 (main): Call optimized_1.
8575 (gdb2029): Correct typos. Call gdb2029_marker.
8576 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8577 for gdb2029.
8578
8579 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8580
8581 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8582 as tabs. Remove redundant test pattern.
8583
8584 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8585
8586 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8587 for /a format output.
8588
8589 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8590
8591 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8592 collect output incrementally.
8593
8594 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8595
8596 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8597 for -var-create lpcharacter test.
8598 * gdb.mi/mi2-var-cmd.exp: Likewise.
8599
8600 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8601
8602 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8603 pass on targets where address zero is readable.
8604
8605 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8606
8607 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8608 just a single architecture.
8609
8610 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8611
8612 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8613 (fetch_all_registers): New function, uses gdb_test_multiple and
8614 exp_continue to fetch inferior output line-by-line.
8615 Replace all uses of do_get_all_registers by fetch_all_registers.
8616
8617 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8618
8619 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8620 in target_info.
8621
8622 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8623
8624 * gdb.threads/manythreads.exp: Use $message string for
8625 consistancy; add a default (timeout) case.
8626
8627 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8628
8629 * gdb.base/watchpoint.exp: Fix truncated comment.
8630
8631 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8632
8633 * Makefile.in: Remove spurious single-quotes from sed command.
8634
8635 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8636
8637 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8638 func.
8639 * gdb.mi/mi2-var-cmd.exp: Likewise.
8640
8641 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8642
8643 * gdb.dwarf2/dw2-producer.S: New file.
8644 * gdb.dwarf2/dw2-producer.exp: New testcase.
8645
8646 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8647
8648 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8649 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8650 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8651 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8652 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8653 Revert tests to use mi_gdb_test and include value field in output
8654 of -var-create.
8655
8656 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8657
8658 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8659
8660 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8661
8662 * gdb.base/maint.exp: Remove full paths from test names.
8663 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8664 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8665
8666 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8667
8668 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8669
8670 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8671
8672 * gdb.server/server-mon.exp: New test.
8673
8674 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8675
8676 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8677
8678 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8679
8680 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8681 register capitalization.
8682
8683 2007-02-13 Denis Pilat <denis.pilat@st.com>
8684
8685 * gdb.mi/mi-var-invalidate.exp: New file.
8686
8687 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8688
8689 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8690
8691 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8692
8693 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8694
8695 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8696
8697 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8698 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8699
8700 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8701
8702 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8703 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8704 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8705 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8706 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8707 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8708 Update tests to include value field in output of -var-create.
8709
8710 2007-02-08 Andreas Schwab <schwab@suse.de>
8711
8712 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8713
8714 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8715
8716 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8717 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8718
8719 2007-02-02 Denis Pilat <denis.pilat@st.com>
8720
8721 * gdb.threads/threadapply.exp: check that frame is not changed by
8722 the thread apply all command.
8723
8724 2007-01-31 Andreas Schwab <schwab@suse.de>
8725
8726 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8727
8728 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8729 in the dwarf sections.
8730 * gdb.dwarf2/mac-fileno.S: Likewise.
8731
8732 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8733 bspstore register on ia64.
8734
8735 2007-01-29 Andreas Schwab <schwab@suse.de>
8736
8737 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8738 "frame-begin" annotation.
8739
8740 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8741 number of "frames-invalid" annotations.
8742
8743 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8744
8745 * gdb.base/commands.exp: Call if_commands_test.
8746 (gdb_test_no_prompt, if_commands_test): New.
8747
8748 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8749
8750 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8751
8752 2007-01-27 Andreas Schwab <schwab@suse.de>
8753
8754 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8755 .short/.int/.quad in the dwarf sections.
8756 * gdb.dwarf2/dw2-intercu.S: Likewise.
8757 * gdb.dwarf2/dw2-intermix.S: Likewise.
8758
8759 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8760
8761 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8762 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8763 array.
8764 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8765 * gdb.base/setvar.exp: Likewise.
8766
8767 2007-01-26 Andreas Schwab <schwab@suse.de>
8768
8769 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8770 test.
8771
8772 * gdb.base/multi-forks.exp ("restart $i"): Also match
8773 __kernel_syscall_via_break.
8774
8775 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8776
8777 * lib/mi-support.exp (mi_delete_varobj): New.
8778 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8779 testcase.
8780 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8781 (main): Call the above.
8782 (reference_update_test, base_in_reference_test)
8783 (reference_to_pointer): Delete the created varobjs.
8784
8785 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8786
8787 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8788 * configure: Regenerated.
8789 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8790 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8791 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8792 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8793 * lib/gdb.exp (gdb_skip_xml_test): New function.
8794
8795 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8796
8797 * gdb.base/sigrepeat.exp: Correct error message.
8798
8799 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8800 Daniel Jacobowitz <dan@codesourcery.com>
8801
8802 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8803 gdb.arch/i386-gnu-cfi-asm.S: New files.
8804
8805 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8806
8807 * lib/gdb.exp: Abort on missing `site.exp'.
8808
8809 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8810 Daniel Jacobowitz <dan@codesourcery.com>
8811
8812 * gdb.base/included.c, gdb.base/included.exp,
8813 gdb.base/included.h: New files.
8814
8815 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8816
8817 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8818 (maximize_rlimit): Reduce limits on 64-bit systems.
8819
8820 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8821
8822 From Marcus Deuling <deuling@de.ibm.com>:
8823 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8824 every case.
8825
8826 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8827
8828 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8829 (test_path_specification): Use objdir instead of srcdir to always
8830 get an absolute filename.
8831
8832 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8833
8834 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8835
8836 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8837
8838 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8839 Make sure the variable we're using is in scope.
8840 (reference_to_pointer): Likewise.
8841
8842 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8843
8844 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8845 has no debug information.
8846
8847 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8848
8849 * gdb.base/annota1.exp: Remove extra send_gdb.
8850
8851 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8852
8853 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8854
8855 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8858
8859 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8860 Daniel Jacobowitz <dan@codesourcery.com>
8861
8862 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8863 lcharacter or linteger change. Correct duplicated test name.
8864 * gdb.mi/mi2-var-cmd.exp: Likewise.
8865
8866 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8867
8868 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8869
8870 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8871
8872 * gdb.base/nofield.c: New file.
8873 * gdb.base/nofield.exp: New testcase.
8874
8875 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8876
8877 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8878
8879 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8880 test.
8881
8882 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8883
8884 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8885
8886 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8887
8888 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8889 when continuing.
8890
8891 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8892
8893 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8894 Expect ".exe" extension.
8895
8896 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8897
8898 * gdb.base/charset.exp: Add explicit filename to break.
8899 * gdb.base/dbx.exp: Add explicit filename to breaks.
8900
8901 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8902
8903 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8904 * gdb.mi/mi2-file.exp: Likewise.
8905
8906 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8907
8908 Implement specification of MI tests as comments
8909 in C and C++ sources.
8910 * lib/mi-support.exp (mi_autotest_data): New variable.
8911 (mi_autotest_source): New variable.
8912 (count_newlines, mi_prepare_inline_tests)
8913 (mi_get_inline_test, mi_continue_to_line)
8914 (mi_run_inline_test, mi_tbreak)
8915 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8916 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8917 Run inline tests.
8918 * gdb.mi/mi-var-cp.cc: Define tests here.
8919
8920 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8921
8922 Simplify usage of mi_continue_to.
8923 * lib/mi-support.exp (mi_runto_helper): Renamed
8924 from mi_runto, added new parameter 'run_or_continue'.
8925 (mi_runto): Use mi_runto_helper.
8926 (mi_continue_to): Accept just function name as parameter.
8927 Use mi_runto_helper.
8928 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8929 * gdb.mi/mi2-var-cmd.exp: Likewise.
8930
8931 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8932
8933 Make this testcase a bit more realistic. The current code
8934 is too simplistic, and allows the compiler to optimize out
8935 some of the entities we need for this testcase.
8936 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8937 (Do_Nothing): Add extra parameter.
8938 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8939 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8940 by using a variable of type Void_Star.
8941
8942 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8943
8944 * gdb.ada/catch_ex/foo.adb: New file.
8945 * gdb.ada/catch_ex.exp: New testcase.
8946
8947 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8948
8949 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8950 pass --image-base to linker.
8951
8952 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8953 Daniel Jacobowitz <dan@codesourcery.com>
8954
8955 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8956 secondary prompts.
8957
8958 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8959
8960 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8961 output. Test the types of members and member pointers.
8962 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8963 gdb/2092.
8964 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8965 statement. Enable for GCC. Update expected output for some tests
8966 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8967 layout.
8968 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8969 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8970 (Diamond::vget_base): New.
8971 (main): Add new tests.
8972 * gdb.cp/printmethod.exp: Update expected output for member functions.
8973 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8974 print pEe->D::vg().
8975
8976 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8977
8978 * gdb.threads/tls.exp: Allow stops in sem_post.
8979
8980 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8981
8982 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8983 * gdb.base/annota3.exp: Likewise.
8984 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8985 again (instead of timing out).
8986 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8987 GCC bug 26475.
8988 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8989 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8990 test from jmisc1.exp.
8991 * gdb.java/jmisc1.exp: Delete.
8992 * gdb.java/jprint.exp: Adjust to work with method signatures including
8993 return types.
8994 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8995 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8996 * lib/java.exp (compile_java_from_source): Pass the correct type
8997 to target_compile.
8998
8999 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9000
9001 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9002 (stack_align_edx): New function.
9003 (stack_align_eax): New function.
9004 (main): Add calls to stack_align_edx and stack_align_eax.
9005 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9006 Add testing for the cases where the register used during a stack
9007 realignment is edx. Same for eax.
9008
9009 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9010
9011 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9012 and generic PE targets.
9013
9014 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9015
9016 * gdb.ada/array_return.exp: Update copyright date list.
9017
9018 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9019
9020 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9021 (Create_Small_Float_Vector): New function.
9022 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9023 function body.
9024 * gdb.ada/array_return/p.adb: Use new type and function from
9025 package Pck.
9026 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9027 able to print the value returned by a function returning an
9028 array of float.
9029
9030 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9031
9032 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9033 The associated tests should be PASSing.
9034
9035 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9036
9037 Test for base in references.
9038 * gdb.mi/mi-var-cp.cc: Add test code.
9039 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9040 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9041 * gdb.mi/mi2-watch.exp: Likewise.
9042 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9043 (mi_list_varobj_children): New function.
9044
9045 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9046
9047 * lib/mi-support.exp
9048 (mi_runto): Accept "()" after function name.
9049 (mi_create_varobj): New function.
9050 (mi_varobj_update): New function.
9051 (mi_Check_varobj_value): New function.
9052 * gdb.mi/mi-var-cp.exp: New file.
9053 * gdb.mi/mi-var-cp.cc: New file.
9054
9055 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9056
9057 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9058 gdb.base/weaklib2.c: New files.
9059
9060 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9061
9062 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9063 info. Adjust test names.
9064
9065 * gdb.base/break.c (main): Move position of malloc.
9066 * gdb.base/break.exp: Revert mistaken checkin.
9067
9068 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9069
9070 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9071 assignement of arrays and function pointers.
9072 * gdb.mi/var-cmd.c: Add declaration necessary for above
9073 tests.
9074
9075 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9076
9077 * gdb.base/break.c (main): Call malloc.
9078
9079 * gdb.threads/linux-dp.exp: Read thread table before and after
9080 creating each philosopher and verify it.
9081
9082 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9083 Paul Brook <paul@codesourcery.com>
9084 Daniel Jacobowitz <dan@codesourcery.com>
9085
9086 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9087 main to remove duplication. Add start function of the form
9088 '_*start[1-9]*'. Add RVDS start function.
9089
9090 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9091
9092 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9093
9094 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9095
9096 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9097 * gdb.asm/spu.inc: New file.
9098 * gdb.base/term.exp: Disable if [target_info exists noargs].
9099 * gdb.gdb/complaints.exp: Disable if ![isnative].
9100 * gdb.gdb/selftest.exp: Likewise.
9101 * gdb.gdb/observer.exp: Likewise.
9102 * gdb.gdb/xfullpath.exp: Likewise.
9103 * gdb.base/attach.exp: Disable on SPU target.
9104 * gdb.cp/bs145503.exp: Likewise.
9105 * gdb.cp/exception.exp: Likewise.
9106 * gdb.cp/userdef.exp: Likewise.
9107
9108 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9109
9110 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9111
9112 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9113
9114 * gdb.base/completion.exp: Fix completion tests for
9115 'info' and 'info '.
9116 * gdb.base/help.exp (help_test_raw, test_class_help)
9117 (test_prefix_command_help): Move...
9118 * lib/gdb.exp: Here.
9119 * gdb.base/main.exp: Adjust.
9120 * gdb.cp/maint.exp: Adjust.
9121 * gdb.trace/tracecmd.exp: Use test_help_class.
9122
9123 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9124
9125 * gdb.stabs/weird.exp (print_weird_var): Use
9126 gdb_test_multiple instead of gdb_expect.
9127
9128 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9129
9130 * gdb.base/help.exp (help_test_raw): New.
9131 (test_class_help): New.
9132 (test_prefix_command_help): New.
9133 Adjust testcases.
9134
9135 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9136
9137 * gdb.base/constvars.c (main): Write to crass and crips, so that
9138 they are allocated by the compiler.
9139
9140 2006-10-27 Andreas Schwab <schwab@suse.de>
9141
9142 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9143 "detach-fork".
9144
9145 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9146
9147 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9148 of patterns.
9149
9150 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9151
9152 * gdb.base/sepdebug.exp: Remove debug format test.
9153 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9154 Handle no-symtab.
9155 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9156
9157 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9158
9159 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9160 int to pointer or pointer to int.
9161 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9162
9163 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9164
9165 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9166
9167 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9170
9171 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9172
9173 PR c++/2116
9174 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9175
9176 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9177
9178 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9179 the corresponding bug has been fixed in GDB (PR/2018).
9180
9181 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9182
9183 * gdb.base/subst.exp: New testcase.
9184
9185 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9186
9187 * gdb.ada/array_return/pck.ads: Add copyright notice.
9188 * gdb.ada/array_return/pck.adb: Likewise.
9189 * gdb.ada/array_return/p.adb: Likewise.
9190 * gdb.ada/exec_changed/first.adb: Likewise.
9191 * gdb.ada/exec_changed/second.adb: Likewise.
9192
9193 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9194
9195 * gdb.ada/watch_arg/watch.adb: New file.
9196 * gdb.ada/watch_arg.exp: New testcase.
9197
9198 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9199
9200 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9201 via string_to_regexp.
9202 * gdb.mi/mi2-basics.exp: Likewise.
9203
9204 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9205
9206 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9207 Remove unused / obsolete files.
9208
9209 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9210
9211 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9212
9213 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9214
9215 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9216 HIGH_FRAME argument to -stack-list-arguments can be larger than
9217 the number of frames.
9218
9219 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9220
9221 * gdb.base/args.c (main): Add breakpoint marker.
9222 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9223 really test empty arguments.
9224 (args_load): Delete.
9225 (args_test): New.
9226
9227 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9228
9229 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9230 check for one file.
9231
9232 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9233
9234 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9235 HIGH_FRAME argument to -stack-list-locals can be larger than
9236 the number of frames.
9237
9238 2006-08-18 Fred Fish <fnf@specifix.com>
9239
9240 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9241 '$' in front of skip_vmx_tests_saved when setting that.
9242
9243 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9244
9245 * gdb.base/trace-commands.exp: New file.
9246
9247 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9248 Daniel Jacobowitz <dan@codesourcery.com>
9249
9250 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9251 expected output of the backtrace commands.
9252
9253 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9254
9255 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9256 untested followed by return combination.
9257 * gdb.arch/altivec-regs.exp: Likewise.
9258 * gdb.arch/e500-abi.exp: Likewise.
9259 * gdb.arch/e500-regs.exp: Likewise.
9260 * gdb.arch/gdb1291.exp: Likewise.
9261 * gdb.arch/gdb1431.exp: Likewise.
9262 * gdb.arch/gdb1558.exp: Likewise.
9263 * gdb.arch/i386-prologue.exp: Likewise.
9264 * gdb.arch/i386-unwind.exp: Likewise.
9265 * gdb.asm/asm-source.exp: Likewise.
9266 * gdb.base/a2-run.exp: Likewise.
9267 * gdb.base/advance.exp: Likewise.
9268 * gdb.base/all-bin.exp: Likewise.
9269 * gdb.base/annota1.exp: Likewise.
9270 * gdb.base/annota3.exp: Likewise.
9271 * gdb.base/args.exp: Likewise.
9272 * gdb.base/arithmet.exp: Likewise.
9273 * gdb.base/assign.exp: Likewise.
9274 * gdb.base/async.exp: Likewise.
9275 * gdb.base/attach.exp: Likewise.
9276 * gdb.base/bang.exp: Likewise.
9277 * gdb.base/bigcore.exp: Likewise.
9278 * gdb.base/bitfields.exp: Likewise.
9279 * gdb.base/bitfields2.exp: Likewise.
9280 * gdb.base/break.exp: Likewise.
9281 * gdb.base/call-sc.exp: Likewise.
9282 * gdb.base/call-strs.exp: Likewise.
9283 * gdb.base/callfuncs.exp: Likewise.
9284 * gdb.base/checkpoint.exp: Likewise.
9285 * gdb.base/chng-syms.exp: Likewise.
9286 * gdb.base/code-expr.exp: Likewise.
9287 * gdb.base/commands.exp: Likewise.
9288 * gdb.base/completion.exp: Likewise.
9289 * gdb.base/cond-expr.exp: Likewise.
9290 * gdb.base/condbreak.exp: Likewise.
9291 * gdb.base/consecutive.exp: Likewise.
9292 * gdb.base/constvars.exp: Likewise.
9293 * gdb.base/corefile.exp: Likewise.
9294 * gdb.base/cvexpr.exp: Likewise.
9295 * gdb.base/dbx.exp: Likewise.
9296 * gdb.base/define.exp: Likewise.
9297 * gdb.base/detach.exp: Likewise.
9298 * gdb.base/display.exp: Likewise.
9299 * gdb.base/dump.exp: Likewise.
9300 * gdb.base/ena-dis-br.exp: Likewise.
9301 * gdb.base/ending-run.exp: Likewise.
9302 * gdb.base/environ.exp: Likewise.
9303 * gdb.base/eval-skip.exp: Likewise.
9304 * gdb.base/exprs.exp: Likewise.
9305 * gdb.base/fileio.exp: Likewise.
9306 * gdb.base/finish.exp: Likewise.
9307 * gdb.base/float.exp: Likewise.
9308 * gdb.base/foll-exec.exp: Likewise.
9309 * gdb.base/foll-fork.exp: Likewise.
9310 * gdb.base/foll-vfork.exp: Likewise.
9311 * gdb.base/freebpcmd.exp: Likewise.
9312 * gdb.base/funcargs.exp: Likewise.
9313 * gdb.base/gcore.exp: Likewise.
9314 * gdb.base/gdb1090.exp: Likewise.
9315 * gdb.base/gdb1250.exp: Likewise.
9316 * gdb.base/huge.exp: Likewise.
9317 * gdb.base/info-proc.exp: Likewise.
9318 * gdb.base/interrupt.exp: Likewise.
9319 * gdb.base/jump.exp: Likewise.
9320 * gdb.base/langs.exp: Likewise.
9321 * gdb.base/lineinc.exp: Likewise.
9322 * gdb.base/list.exp: Likewise.
9323 * gdb.base/logical.exp: Likewise.
9324 * gdb.base/long_long.exp: Likewise.
9325 * gdb.base/macscp.exp: Likewise.
9326 * gdb.base/maint.exp: Likewise.
9327 * gdb.base/mips_pro.exp: Likewise.
9328 * gdb.base/miscexprs.exp: Likewise.
9329 * gdb.base/multi-forks.exp: Likewise.
9330 * gdb.base/opaque.exp: Likewise.
9331 * gdb.base/overlays.exp: Likewise.
9332 * gdb.base/pc-fp.exp: Likewise.
9333 * gdb.base/pointers.exp: Likewise.
9334 * gdb.base/printcmds.exp: Likewise.
9335 * gdb.base/psymtab.exp: Likewise.
9336 * gdb.base/ptype.exp: Likewise.
9337 * gdb.base/recurse.exp: Likewise.
9338 * gdb.base/relational.exp: Likewise.
9339 * gdb.base/relocate.exp: Likewise.
9340 * gdb.base/remote.exp: Likewise.
9341 * gdb.base/reread.exp: Likewise.
9342 * gdb.base/restore.exp: Likewise.
9343 * gdb.base/return.exp: Likewise.
9344 * gdb.base/return2.exp: Likewise.
9345 * gdb.base/scope.exp: Likewise.
9346 * gdb.base/sect-cmd.exp: Likewise.
9347 * gdb.base/sep.exp: Likewise.
9348 * gdb.base/sepdebug.exp: Likewise.
9349 * gdb.base/setshow.exp: Likewise.
9350 * gdb.base/setvar.exp: Likewise.
9351 * gdb.base/sigall.exp: Likewise.
9352 * gdb.base/sigbpt.exp: Likewise.
9353 * gdb.base/signals.exp: Likewise.
9354 * gdb.base/signull.exp: Likewise.
9355 * gdb.base/sizeof.exp: Likewise.
9356 * gdb.base/solib.exp: Likewise.
9357 * gdb.base/step-line.exp: Likewise.
9358 * gdb.base/step-test.exp: Likewise.
9359 * gdb.base/structs.exp: Likewise.
9360 * gdb.base/structs2.exp: Likewise.
9361 * gdb.base/term.exp: Likewise.
9362 * gdb.base/twice.exp: Likewise.
9363 * gdb.base/until.exp: Likewise.
9364 * gdb.base/varargs.exp: Likewise.
9365 * gdb.base/volatile.exp: Likewise.
9366 * gdb.base/watchpoint.exp: Likewise.
9367 * gdb.base/whatis-exp.exp: Likewise.
9368 * gdb.base/whatis.exp: Likewise.
9369 * gdb.cp/ambiguous.exp: Likewise.
9370 * gdb.cp/annota2.exp: Likewise.
9371 * gdb.cp/annota3.exp: Likewise.
9372 * gdb.cp/bool.exp: Likewise.
9373 * gdb.cp/breakpoint.exp: Likewise.
9374 * gdb.cp/casts.exp: Likewise.
9375 * gdb.cp/class2.exp: Likewise.
9376 * gdb.cp/classes.exp: Likewise.
9377 * gdb.cp/cplusfuncs.exp: Likewise.
9378 * gdb.cp/ctti.exp: Likewise.
9379 * gdb.cp/derivation.exp: Likewise.
9380 * gdb.cp/exception.exp: Likewise.
9381 * gdb.cp/gdb1355.exp: Likewise.
9382 * gdb.cp/hang.exp: Likewise.
9383 * gdb.cp/inherit.exp: Likewise.
9384 * gdb.cp/local.exp: Likewise.
9385 * gdb.cp/m-data.exp: Likewise.
9386 * gdb.cp/m-static.exp: Likewise.
9387 * gdb.cp/member-ptr.exp: Likewise.
9388 * gdb.cp/method.exp: Likewise.
9389 * gdb.cp/misc.exp: Likewise.
9390 * gdb.cp/namespace.exp: Likewise.
9391 * gdb.cp/overload.exp: Likewise.
9392 * gdb.cp/ovldbreak.exp: Likewise.
9393 * gdb.cp/pr-1023.exp: Likewise.
9394 * gdb.cp/pr-1210.exp: Likewise.
9395 * gdb.cp/pr-574.exp: Likewise.
9396 * gdb.cp/printmethod.exp: Likewise.
9397 * gdb.cp/psmang.exp: Likewise.
9398 * gdb.cp/ref-params.exp: Likewise.
9399 * gdb.cp/ref-types.exp: Likewise.
9400 * gdb.cp/rtti.exp: Likewise.
9401 * gdb.cp/templates.exp: Likewise.
9402 * gdb.cp/try_catch.exp: Likewise.
9403 * gdb.cp/userdef.exp: Likewise.
9404 * gdb.cp/virtfunc.exp: Likewise.
9405 * gdb.disasm/am33.exp: Likewise.
9406 * gdb.disasm/h8300s.exp: Likewise.
9407 * gdb.disasm/mn10300.exp: Likewise.
9408 * gdb.disasm/sh3.exp: Likewise.
9409 * gdb.disasm/t01_mov.exp: Likewise.
9410 * gdb.disasm/t02_mova.exp: Likewise.
9411 * gdb.disasm/t03_add.exp: Likewise.
9412 * gdb.disasm/t04_sub.exp: Likewise.
9413 * gdb.disasm/t05_cmp.exp: Likewise.
9414 * gdb.disasm/t06_ari2.exp: Likewise.
9415 * gdb.disasm/t07_ari3.exp: Likewise.
9416 * gdb.disasm/t08_or.exp: Likewise.
9417 * gdb.disasm/t09_xor.exp: Likewise.
9418 * gdb.disasm/t10_and.exp: Likewise.
9419 * gdb.disasm/t11_logs.exp: Likewise.
9420 * gdb.disasm/t12_bit.exp: Likewise.
9421 * gdb.disasm/t13_otr.exp: Likewise.
9422 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9423 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9424 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9425 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9426 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9427 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9428 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9429 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9430 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9431 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9432 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9433 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9434 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9435 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9436 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9437 * gdb.mi/gdb701.exp: Likewise.
9438 * gdb.mi/gdb792.exp: Likewise.
9439 * gdb.mi/mi-basics.exp: Likewise.
9440 * gdb.mi/mi-break.exp: Likewise.
9441 * gdb.mi/mi-cli.exp: Likewise.
9442 * gdb.mi/mi-console.exp: Likewise.
9443 * gdb.mi/mi-disassemble.exp: Likewise.
9444 * gdb.mi/mi-eval.exp: Likewise.
9445 * gdb.mi/mi-file.exp: Likewise.
9446 * gdb.mi/mi-read-memory.exp: Likewise.
9447 * gdb.mi/mi-regs.exp: Likewise.
9448 * gdb.mi/mi-return.exp: Likewise.
9449 * gdb.mi/mi-simplerun.exp: Likewise.
9450 * gdb.mi/mi-stack.exp: Likewise.
9451 * gdb.mi/mi-stepi.exp: Likewise.
9452 * gdb.mi/mi-syn-frame.exp: Likewise.
9453 * gdb.mi/mi-until.exp: Likewise.
9454 * gdb.mi/mi-var-block.exp: Likewise.
9455 * gdb.mi/mi-var-child.exp: Likewise.
9456 * gdb.mi/mi-var-cmd.exp: Likewise.
9457 * gdb.mi/mi-var-display.exp: Likewise.
9458 * gdb.mi/mi-watch.exp: Likewise.
9459 * gdb.mi/mi2-basics.exp: Likewise.
9460 * gdb.mi/mi2-break.exp: Likewise.
9461 * gdb.mi/mi2-cli.exp: Likewise.
9462 * gdb.mi/mi2-console.exp: Likewise.
9463 * gdb.mi/mi2-disassemble.exp: Likewise.
9464 * gdb.mi/mi2-eval.exp: Likewise.
9465 * gdb.mi/mi2-file.exp: Likewise.
9466 * gdb.mi/mi2-read-memory.exp: Likewise.
9467 * gdb.mi/mi2-regs.exp: Likewise.
9468 * gdb.mi/mi2-return.exp: Likewise.
9469 * gdb.mi/mi2-simplerun.exp: Likewise.
9470 * gdb.mi/mi2-stack.exp: Likewise.
9471 * gdb.mi/mi2-stepi.exp: Likewise.
9472 * gdb.mi/mi2-syn-frame.exp: Likewise.
9473 * gdb.mi/mi2-until.exp: Likewise.
9474 * gdb.mi/mi2-var-block.exp: Likewise.
9475 * gdb.mi/mi2-var-child.exp: Likewise.
9476 * gdb.mi/mi2-var-cmd.exp: Likewise.
9477 * gdb.mi/mi2-var-display.exp: Likewise.
9478 * gdb.mi/mi2-watch.exp: Likewise.
9479 * gdb.stabs/exclfwd.exp: Likewise.
9480 * gdb.stabs/weird.exp: Likewise.
9481 * gdb.threads/gcore-thread.exp: Likewise.
9482 * gdb.trace/actions.exp: Likewise.
9483 * gdb.trace/backtrace.exp: Likewise.
9484 * gdb.trace/circ.exp: Likewise.
9485 * gdb.trace/collection.exp: Likewise.
9486 * gdb.trace/deltrace.exp: Likewise.
9487 * gdb.trace/infotrace.exp: Likewise.
9488 * gdb.trace/limits.exp: Likewise.
9489 * gdb.trace/packetlen.exp: Likewise.
9490 * gdb.trace/passc-dyn.exp: Likewise.
9491 * gdb.trace/passcount.exp: Likewise.
9492 * gdb.trace/report.exp: Likewise.
9493 * gdb.trace/save-trace.exp: Likewise.
9494 * gdb.trace/tfind.exp: Likewise.
9495 * gdb.trace/tracecmd.exp: Likewise.
9496 * gdb.trace/while-dyn.exp: Likewise.
9497 * gdb.trace/while-stepping.exp: Likewise.
9498
9499 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9500
9501 * gdb.base/step-bt.c: New file.
9502 * gdb.base/step-bt.exp: New testcase.
9503
9504 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9505
9506 * config/monitor.exp (gdb_load): Remove support for obsolete
9507 download-write-size.
9508 * gdb.base/remote.exp: Likewise. Update all callers of
9509 gdb_timed_load.
9510
9511 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9512
9513 * cursal.exp: Pass binfile to gdb_load.
9514
9515 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9516
9517 * gdb.base/cursal.exp: Add "" to gdb_load call.
9518
9519 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9520
9521 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9522 NetBSD/ELF targets.
9523
9524 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9525
9526 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9527 operator*.
9528
9529 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9530
9531 * gdb.base/completion.exp: Update for change in "file" behavior.
9532 * gdb.stabs/weird.exp: Likewise.
9533 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9534 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9535
9536 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9537
9538 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9539 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9540
9541 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9542
9543 * gdb.base/default.exp: Update source command error message.
9544 * gdb.base/help.exp: Update 'help source' message.
9545
9546 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9547
9548 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9549 test.
9550
9551 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9552
9553 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9554
9555 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9556
9557 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9558
9559 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9560
9561 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9562
9563 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9564
9565 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9566 *-*-openbsd* from targets for wich we expect ARM FPA floating
9567 point format.
9568
9569 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9570
9571 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9572
9573 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9574
9575 * gdb.base/annota3.exp: Expect frame-begin annotation.
9576
9577 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9578
9579 * gdb.base/help.exp: Adjust "help unset" test to accept
9580 any list of unset commands.
9581
9582 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9583 Daniel Jacobowitz <dan@codesourcery.com>
9584
9585 * gdb.cp/ref-params.exp: New test.
9586 * gdb.cp/ref-params.cc: New source file.
9587 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9588
9589 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9590
9591 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9592 spaces/tabs in regular expressions since they might not be there.
9593
9594 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9595
9596 * gdb.base/ifelse.exp: New file.
9597
9598 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9599
9600 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9601 line.
9602 * gdb.base/huge.exp: Loop over compilation to find a size that
9603 is acceptable.
9604 * gdb.base/remote.exp: Correct expected strings.
9605 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9606
9607 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9608
9609 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9610
9611 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9612
9613 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9614 native.
9615
9616 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9617
9618 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9619 enable stabs testing.
9620
9621 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9622
9623 * gdb.base/auxv.exp: Intercept undefined command messages before
9624 gdb_test_multiple does.
9625
9626 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9627
9628 * Makefile.in (host_alias): Remove.
9629 (target_alias): Use @target_noncanonical@.
9630 (site.exp): Don't set host_alias.
9631 * aclocal.m4: Remove contents. Include acx.m4.
9632 * configure: Regenerated.
9633 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9634
9635 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9636
9637 * lib/gdb.exp (gdb_load_cmd): New.
9638
9639 * gdb.base/fileio.c: Add system(NULL) test.
9640 * gdb.base/fileio.exp: Check it.
9641
9642 * gdb.base/break.c: Add 10a breakpoint at }
9643 * gdb.base/break.exp: Add test for breakpoint at }
9644 * gdb.cp/anon-union.cc: Add code at end of function.
9645 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9646 * gdb.mi/var-cmd.c: Add code at end of function.
9647 * gdb.mi/mi-var-display.exp: Adjust end of next.
9648 * gdb.mi/mi2-var-display.exp: Likewise.
9649 * gdb.base/fileio.c: Add stop function and insert calls at
9650 stopping places.
9651 * gdb.base/fileio.exp: Breakpoint stop function and remove
9652 explicit line number references.
9653
9654 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9655
9656 * gdb.base/del.exp (test_delete_alias): New function.
9657 Now check that both "del" and "d" work as aliases for "delete".
9658
9659 2006-05-18 Fred Fish <fnf@specifix.com>
9660
9661 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9662 required. Check for spurious output after program exits normally.
9663
9664 2006-05-17 Fred Fish <fnf@specifix.com>
9665
9666 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9667 gdb_load, so it works in the simulator.
9668
9669 2006-05-11 Fred Fish <fnf@specifix.com>
9670
9671 * gdb.base/bang.exp: Ignore unexpected output between the
9672 "program exited normally" and the gdb prompt, as many other
9673 tests do.
9674
9675 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9676
9677 * gdb.base/help.exp: Make "delete checkpoint" part option for
9678 "help d" and "help delete" tests.
9679
9680 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9681
9682 * gdb.mi/mi-basics.exp: Add missing serial number to
9683 expected output in some mi_gdb_test statements.
9684 * gdb.mi/mi2-basics.exp: Likewise.
9685
9686 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9687
9688 * gdb.base/del.c: New file.
9689 * gdb.base/del.exp: New testcase.
9690
9691 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9692
9693 * gdb.base/break.exp: Do not assume a breakpoint on
9694 main will actually be in $srcfile when optimizing.
9695 * gdb.base/savedregs.exp: Do not require that the dummy
9696 frame location match up to a symbol and source file location.
9697 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9698 will get printed without a mi_cmd_data_list_register_values prefix.
9699 (*-data-list-register-*): Correct regular expressions to expect the new
9700 pseudo d? floating point registers.
9701 * gdb.mi/mi2-regs.exp: Likewise.
9702
9703 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9704
9705 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9706 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9707 is allocated by the compiler.
9708 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9709 anons, e, anone to force their allocation by the compiler.
9710
9711 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9712
9713 * gdb.base/help.exp: Update expected text for help d and
9714 help delete.
9715
9716 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9717
9718 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9719 NetBSD/ELF targets.
9720
9721 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9722
9723 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9724 single-step breakpoint fails; make this a KFAIL on
9725 sparc*-*-openbsd*.
9726 * gdb.base/siginfo.exp: Likewise.
9727 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9728
9729 2006-04-26 Michael Snyder <msnyder@redhat.com>
9730
9731 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9732 which may have to consume output from other forks.
9733 Add tests to make sure that "delete fork" succeeded.
9734
9735 2006-04-20 Michael Snyder <msnyder@redhat.com>
9736
9737 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9738 Add support for the Renesas M32C and M16C.
9739
9740 * gdb.asm/asm-source.exp: Add m32c target.
9741 * gdb.asm/m32c.inc: Support for m32c target.
9742
9743 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9744
9745 * gdb.base/commands.exp (recursive_source_test): New test.
9746
9747 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9748
9749 * gdb.base/float.exp: Add pattern for sparc targets.
9750
9751 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9752
9753 * gdb.base/commands.exp (stray_arg0_test): New test.
9754
9755 2006-03-30 Paul Brook <paul@codesourcery.com>
9756
9757 * gdb.mi/mi-until.exp: kfail broken until command.
9758 * gdb.mi/mi2-until.exp: Ditto.
9759
9760 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9761
9762 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9763
9764 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9765
9766 * gdb.base/prelink.exp: Anchor tested-for regular expression
9767 on gdb prompt.
9768
9769 2006-03-07 Paul Brook <paul@codesourcery.com>
9770
9771 * gdb.base/assign.exp: Correct fail message.
9772
9773 2006-03-07 Paul Brook <paul@codesourcery.com>
9774
9775 * lib/compiler.c: Extract armcc version number.
9776 * lib/compiler.cc: Ditto.
9777
9778 2006-03-07 Paul Brook <paul@codesourcery.com>
9779
9780 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9781 additional_flags=-w.
9782 * gdb.arch/altivec-regs.exp: Ditto.
9783 * gdb.arch/e500-abi.exp: Ditto.
9784 * gdb.arch/e500-regs.exp: Ditto.
9785 * gdb.base/all-bin.exp: Ditto.
9786 * gdb.base/annota1.exp: Ditto.
9787 * gdb.base/annota3.exp: Ditto.
9788 * gdb.base/args.exp: Ditto.
9789 * gdb.base/arithmet.exp: Ditto.
9790 * gdb.base/assign.exp: Ditto.
9791 * gdb.base/async.exp: Ditto.
9792 * gdb.base/bang.exp: Ditto.
9793 * gdb.base/break.exp: Ditto.
9794 * gdb.base/call-rt-st.exp: Ditto.
9795 * gdb.base/completion.exp: Ditto.
9796 * gdb.base/cond-expr.exp: Ditto.
9797 * gdb.base/condbreak.exp: Ditto.
9798 * gdb.base/consecutive.exp: Ditto.
9799 * gdb.base/define.exp: Ditto.
9800 * gdb.base/display.exp: Ditto.
9801 * gdb.base/ena-dis-br.exp: Ditto.
9802 * gdb.base/environ.exp: Ditto.
9803 * gdb.base/eval-skip.exp: Ditto.
9804 * gdb.base/info-proc.exp: Ditto.
9805 * gdb.base/jump.exp: Ditto.
9806 * gdb.base/logical.exp: Ditto.
9807 * gdb.base/long_long.exp: Ditto.
9808 * gdb.base/maint.exp: Ditto.
9809 * gdb.base/miscexprs.exp: Ditto.
9810 * gdb.base/pc-fp.exp: Ditto.
9811 * gdb.base/pointers.exp: Ditto.
9812 * gdb.base/relational.exp: Ditto.
9813 * gdb.base/reread.exp: Ditto.
9814 * gdb.base/sect-cmd.exp: Ditto.
9815 * gdb.base/sep.exp: Ditto.
9816 * gdb.base/sepdebug.exp: Ditto.
9817 * gdb.base/until.exp: Ditto.
9818 * gdb.base/whatis-exp.exp: Ditto.
9819 * gdb.cp/annota2.exp: Ditto.
9820 * gdb.cp/annota3.exp: Ditto.
9821 * gdb.trace/actions.exp: Ditto.
9822 * gdb.trace/backtrace.exp: Ditto.
9823 * gdb.trace/circ.exp: Ditto.
9824 * gdb.trace/collection.exp: Ditto.
9825 * gdb.trace/deltrace.exp: Ditto.
9826 * gdb.trace/infotrace.exp: Ditto.
9827 * gdb.trace/limits.exp: Ditto.
9828 * gdb.trace/packetlen.exp: Ditto.
9829 * gdb.trace/passc-dyn.exp: Ditto.
9830 * gdb.trace/passcount.exp: Ditto.
9831 * gdb.trace/report.exp: Ditto.
9832 * gdb.trace/save-trace.exp: Ditto.
9833 * gdb.trace/tfind.exp: Ditto.
9834 * gdb.trace/tracecmd.exp: Ditto.
9835 * gdb.trace/while-dyn.exp: Ditto.
9836 * gdb.trace/while-stepping.exp: Ditto.
9837 * lib/gdb.exp: Ditto.
9838 (gdb_compile): Handle nowarning option.
9839
9840 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9841
9842 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9843 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9844 Rename executable to prelinkt. Don't re-prelink if we didn't
9845 get a core file. Test prelink -u exit status to tell whether
9846 prelinking failed. Use gdb_test_multiple.
9847
9848 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9849
9850 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9851 (do_tests): Call it.
9852
9853 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9854
9855 * gdb.base/prelink.exp: New test.
9856 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9857
9858 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9859
9860 * gdb.fortran/derived-type.f90: New file.
9861 * gdb.fortran/derived-type.exp: New testcase.
9862
9863 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9864
9865 * gdb.base/default.exp: Allow ';' as a directory separator.
9866
9867 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9868
9869 * gdb.base/help.exp (help add-symbol-file): Update.
9870
9871 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9872
9873 * gdb.base/help.exp (help load): Update expected results.
9874
9875 2006-02-19 Fred Fish <fnf@specifix.com>
9876
9877 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9878 specifix hex value as part of results.
9879 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9880
9881 2006-02-16 Fred Fish <fnf@specifix.com>
9882
9883 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9884 ushort_addr, and slong_addr, so the typedefs are not optimized
9885 away.
9886 * gdb.base/whatis.exp: Add tests using type name for struct type,
9887 union type, enum type, and typedef.
9888
9889 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9890
9891 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9892
9893 2006-02-13 Jim Blandy <jimb@redhat.com>
9894
9895 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9896 case where it takes two "next" commands to skip past the init
9897 call.
9898
9899 2006-02-12 Fred Fish <fnf@specifix.com>
9900
9901 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9902 to handle cases where it takes two "next" commands to skip
9903 past the init call.
9904
9905 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9906
9907 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9908 on hppa32 targets.
9909
9910 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9911
9912 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9913 field.
9914
9915 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9916
9917 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9918
9919 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9920
9921 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9922 files.
9923
9924 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9925
9926 * gdb.cp/maint.exp: Set complaints to a positive value.
9927
9928 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9929
9930 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9931 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9932 function name.
9933
9934 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9935
9936 * gdb.base/checkpoint.c: Update copyright notice. Include
9937 <stdlib.h>.
9938
9939 2006-01-04 Jim Blandy <jimb@redhat.com>
9940
9941 * gdb.asm/asm-source.exp: Independently provide default values for
9942 asm-flags and debug-flags. Use 'string equal' to do the
9943 comparison, not the implicit expr's '==' operator. Remove
9944 now-unneeded assignments to asm-flags. In h8300 case, place
9945 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9946
9947 2006-01-04 Michael Snyder <msnyder@redhat.com>
9948
9949 * gdb.base/checkpoint.c: New file.
9950 * gdb.base/checkpoint.exp: New file.
9951 * gdb.base/multi-fork.c: New file.
9952 * gdb.base/multi-fork.exp: New file.
9953 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9954
9955 2006-01-04 Fred Fish <fnf@specifix.com>
9956
9957 * gdb.base/ptype.c (foo): Add typedef.
9958 (intfoo): Add function.
9959 * gdb.base/ptype1.c: New file.
9960 * gdb.base/ptype.exp: Handle compilation and linking with two
9961 source files. Test that proper type for "foo" is found based
9962 on source context rather than first match found in symtabs.
9963
9964 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9965
9966 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9967 * gdb.asm/openbsd.inc: Indent commands.
9968
9969 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9970
9971 * gdb.base/freebpcmd.exp: Increase timeout.
9972
9973 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9974
9975 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.base/default.exp: Update check for "show version".
9978
9979 2005-12-09 Randolph Chung <tausq@debian.org>
9980
9981 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9982 * gdb.asm/pa64.inc: New file.
9983
9984 2005-12-09 Randolph Chung <tausq@debian.org>
9985
9986 * gdb.asm/common.inc: Indent commands.
9987 * gdb.asm/asmsrc1.s: Likewise.
9988 * gdb.asm/asmsrc2.s: Likewise.
9989
9990 2005-12-09 Randolph Chung <tausq@debian.org>
9991
9992 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9993 (get_addr_of_sym): Remove duplicate print.
9994 (gen_core): xfail hppa*-*-hpux*, update expected output.
9995 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9996 * gdb.arch/pa64-nullify.s: New file.
9997
9998 2005-12-09 Randolph Chung <tausq@debian.org>
9999
10000 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10001
10002 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10003
10004 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10005 code generation for these functions.
10006 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10007 error message.
10008
10009 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10010
10011 * gdb.base/help.exp (help b, help br, help bre, help brea)
10012 (help break): Update the expected message.
10013
10014 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10015
10016 * gdb.asm/m68hc11.inc: Setup the data section.
10017 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10018 script for this test.
10019 (m6812-*-*): Likewise.
10020
10021 2005-11-09 Randolph Chung <tausq@debian.org>
10022
10023 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10024
10025 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10026
10027 * gdb.base/break.exp: Fix a comment typo.
10028
10029 2005-11-03 Jim Blandy <jimb@redhat.com>
10030
10031 Checked in by Elena Zannoni <ezannoni@redhat.com>
10032
10033 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10034
10035 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10036
10037 * gdb.arch/gdb1558.c: Include stdio.h.
10038
10039 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10040
10041 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10042
10043 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10044
10045 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10046
10047 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10048
10049 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10050 vscr" tests to better match output.
10051
10052 2005-10-12 Jim Blandy <jimb@redhat.com>
10053
10054 * gdb.base/structs.exp (any): New function.
10055 (test_struct_returns): Don't make any assumptions at all about
10056 what value the function returns when GDB can't set the return
10057 value.
10058
10059 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10060
10061 * gdb.ada/arrayidx/p.adb: New file.
10062 * gdb.ada/arrayidx.exp: New testcase
10063
10064 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10065
10066 * gdb.ada/array_return/pck.ads: New file.
10067 * gdb.ada/array_return/pck.adb: New file.
10068 * gdb.ada/array_return/p.adb: New file.
10069 * gdb.ada/array_return.exp: New testcase.
10070
10071 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10072
10073 * gdb.base/arrayidx.c: New file.
10074 * gdb.base/arrayidx.exp: New testcase.
10075
10076 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10077
10078 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10079 frames-invalid and breakpoints-invalid are no longer generated
10080 with level 3 so don't expect them in the output.
10081
10082 2005-09-27 Bob Rossi <bob@brasko.net>
10083
10084 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10085 from test. Escape the | in mi_gdb_test call.
10086 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10087 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10088 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10089 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10090 expected regex's in mi_gdb_test calls.
10091 * lib/mi-support.exp: Remove arbitrary .* from tests.
10092 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10093 Fully anchor GDB/MI expected results in mi_gdb_test.
10094 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10095 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10096
10097 2005-09-26 Paul Brook <paul@codesourcery.com>
10098
10099 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10100
10101 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10102
10103 * bfp-test.c: New file.
10104 * bfp-test.exp: New testcase.
10105
10106 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10107
10108 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10109 of subarray and substring variable.
10110 * gdb.fortran/subarray.f: New source file for the test of subarray
10111 and substring variable evaluation.
10112 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10113 of string constant.
10114
10115 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10116
10117 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10118 copyright dates.
10119
10120 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10121
10122 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10123 powerpc altivec' test with an almost identical 'info vector' test.
10124
10125 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10126
10127 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10128 vscr" tests to match output.
10129
10130 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10131
10132 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10133 output.
10134
10135 2005-09-11 Bob Rossi <bob@brasko.net>
10136
10137 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10138 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10139 commands that return an MI output command and an asyncronous MI output
10140 command.
10141 * gdb.mi/mi-console.exp: Ditto.
10142
10143 2005-09-11 Bob Rossi <bob@brasko.net>
10144
10145 * gdb.mi/mi-var-child.c: Include <string.h>.
10146
10147 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10148
10149 * killed.exp: Correct gdb_expect syntax.
10150
10151 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10152
10153 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10154
10155 2005-08-02 Bob Rossi <bob@brasko.net>
10156
10157 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10158 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10159 Change tests to inferior-tty-set/show.
10160 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10161 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10162 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10163 inferior. Use mi_gdb_test to get GDB and Inferior output.
10164 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10165 descriptor.
10166 (mi_inferior_tty_name): Add inferior PTY file name.
10167 (mi_gdb_start): Add INFERIOR_PTY parameter.
10168 (mi_gdb_test): Add IPATTERN parameter.
10169
10170 2005-08-02 Bob Rossi <bob@brasko.net>
10171
10172 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10173 parameter to mi_gdb_test.
10174 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10175
10176 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10177
10178 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10179 struct_declarations.
10180 * gdb.mi/mi-var-child.exp: Step over the initialization of
10181 struct_declarations.
10182
10183 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10184
10185 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10186 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10187 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10188 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10189 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10190 file.
10191
10192 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10193
10194 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10195 (do_children_tests): Assign values to the extra elements.
10196
10197 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10198 them for tests for "-var-update --no-values" and
10199 "-var-update --all-values".
10200 Add test for "-var-list-children --simple-values".
10201
10202 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10203
10204 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10205 "-stack-list-locals --simple-values" Improve doc strings and
10206 comments.
10207
10208 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10209
10210 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10211 *-*-openbsd*.
10212 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10213
10214 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10215 sigaltsatck'.
10216
10217 2005-07-14 Bob Rossi <bob@brasko.net>
10218
10219 * gdb.base/default.exp (tty): Changed output of command.
10220 * gdb.base/help.exp (help tty): Ditto.
10221
10222 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10223
10224 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10225
10226 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10227
10228 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10229 -stack-select-frame without arguments.
10230 (test_stack_frame_listing): Add test for newly implemented command
10231 -stack-info-frame.
10232
10233 2005-07-06 Bob Rossi <bob@brasko.net>
10234
10235 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10236 command.
10237 (Copyright): Update copyright.
10238
10239 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10240
10241 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10242 tests to evaluate exponentiation expression.
10243
10244 2005-06-29 Andreas Schwab <schwab@suse.de>
10245
10246 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10247 main to avoid warnings.
10248
10249 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10250
10251 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10252
10253 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10254 -stack-select-frame without arguments.
10255 (test_stack_frame_listing): Add test for newly implemented command
10256 -stack-info-frame.
10257
10258 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10259
10260 * gdb.fortran/array-element.f: New file.
10261 * gdb.fortran/array-element.exp: New testcase.
10262
10263 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * gdb.base/bigcore.exp: Correct checks for systems which can
10266 not dump a large core file.
10267
10268 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10269
10270 * gdb.base/relocate.c: Add a copyright notice.
10271 (dummy): Remove.
10272 * gdb.base/relocate.exp: Test printing the values of variables
10273 from a relocatable file.
10274
10275 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10276
10277 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10278 excess MI output after an error.
10279
10280 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10281
10282 * gdb.arch/alpha-step.c: New file.
10283 * gdb.arch/alpha-step.exp: New testcase.
10284
10285 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10286 Dennis Brueni <dennis@slickedit.com>
10287
10288 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10289 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10290 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10291 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10292 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10293 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10294 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10295
10296 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10297 Wu Zhou <woodzltc@cn.ibm.com>
10298
10299 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10300 IBM's xlc compiler.
10301 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10302 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10303
10304 2005-05-13 Jim Blandy <jimb@redhat.com>
10305
10306 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10307 calling gdb_suppress_entire_file.
10308 * gdb.base/charset.exp: Same.
10309 * gdb.base/call-rt-st.exp: Same.
10310
10311 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10312
10313 * lib/gdb.exp (fullname_syntax): Added global regex.
10314 (fullname_syntax_POSIX): Ditto.
10315 (fullname_syntax_UNC): Ditto.
10316 (fullname_syntax_DOS_CASE): Ditto.
10317 (fullname_syntax_DOS): Ditto.
10318 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10319 fullname_syntax variable to scope and use it.
10320 (test_file_list_exec_source_files): Ditto.
10321 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10322
10323 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10324
10325 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10326
10327 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10328
10329 * lib/gdb.exp (skip_altivec_tests): New function, based on
10330 check_vmx_hw_available from the GCC testsuite.
10331 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10332 * lib/gdb.arch/altivec-regs.exp: Likewise.
10333
10334 2005-05-02 Jim Blandy <jimb@redhat.com>
10335
10336 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10337 calling gdb_suppress_entire_file.
10338
10339 2005-04-30 Randolph Chung <tausq@debian.org>
10340
10341 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10342 Slightly relax "sem_post" name checking.
10343
10344 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10345
10346 * gdb.base/unload.exp: Use new shared library infrastructure.
10347
10348 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10349
10350 * gdb.base/so-impl-ld.exp: Use new shared library
10351 infrastructure.
10352
10353 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10354
10355 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10356 * gdb.asm/h8300.inc: New file.
10357
10358 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10359
10360 * gdb.base/shlib-call.exp: Change to use new shared library
10361 infrastructure.
10362
10363 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10364
10365 * gdb.base/pending.exp: Change to use new shared library
10366 infrastructure.
10367
10368 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10369
10370 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10371 use test_compiler_info instead of gcc_compiled, and update copyright.
10372
10373 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10374
10375 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10376 shared objects being adjusted and update copyright years.
10377
10378 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10379
10380 * ChangeLog: Correct some 2003-01-13 dates.
10381 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10382 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10383 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10384 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10385 gdb.trace/tfind.exp: Update copyright years.
10386
10387 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10388 Daniel Jacobowitz <dan@codesourcery.com>
10389
10390 * lib/gdb.exp (gdb_compile): Handle shlib=.
10391 (gdb_compile_shlib): New function.
10392
10393 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10394
10395 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10396
10397 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10398
10399 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10400 gdb.server.
10401 * configure.ac: Likewise.
10402 * configure: Regenerated.
10403 * gdb.gdbserver/Makefile.in: Moved to...
10404 * gdb.server/Makefile.in: ... here.
10405 * gdb.gdbserver/server.c: Moved to...
10406 * gdb.server/server.c: ... here.
10407 * gdb.gdbserver/server-run.exp: Moved to...
10408 * gdb.server/server-run.exp: ... here.
10409
10410 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10411
10412 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10413 * configure.ac: Create gdb.gdbserver/Makefile.
10414 * configure: Regenerated.
10415 * lib/gdbserver-support.exp: New file, derived from
10416 config/gdbserver.exp.
10417 * config/gdbserver.exp: Use gdbserver-support.exp.
10418 * gdb.gdbserver/Makefile.in: New file.
10419 * gdb.gdbserver/server.c: New file.
10420 * gdb.gdbserver/server-run.exp: New file.
10421
10422 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10423
10424 * lib/gdb.exp (test_compiler_info): Return compiler_info
10425 if no arguments are given.
10426
10427 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10428
10429 * gdb.arch/altivec-abi.exp: Check for compiler and set
10430 use altivec' flag accordingly.
10431 * gdb.arch/altivec-regs.exp: Likewise.
10432
10433 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10434
10435 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10436
10437 2005-03-27 Andreas Schwab <schwab@suse.de>
10438
10439 * gdb.base/bigcore.c (main): Add missing mode argument in open
10440 call.
10441
10442 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10443
10444 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10445 downloads.
10446 * config/gdbserver.exp (gdb_load): Likewise.
10447
10448 2005-03-14 Paul Brook <paul@codesourcery.com>
10449
10450 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10451 targets.
10452
10453 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10454
10455 * gdb.dwarf2/dup-psym.S: New file.
10456 * gdb.dwarf2/dup-psym.exp: New testcase.
10457
10458 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10459
10460 * gdb.ada/exec_changed/first.adb: New file.
10461 * gdb.ada/exec_changed/second.adb: New file.
10462 * gdb.ada/exec_changed.exp: New testcase.
10463
10464 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10465
10466 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10467 (A2): New class.
10468 (main): Test operator+.
10469 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10470 breakpoint test.
10471
10472 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10473 * gdb.base/signull.exp: Disable if gdb,nosignals.
10474 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10475 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10476 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10477 * gdb.mi/mi2-console.exp: Likewise.
10478 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10479 continue output at start.
10480 (gdb_collect_locals_test): Robustify regexp.
10481 * gdb.trace/passc-dyn.exp: Fix comment typo.
10482 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10483
10484 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10485
10486 * gdb.asm/asm-source.exp: Add iq2000 case.
10487 * gdb.asm/iq2000.inc: New file.
10488
10489 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10490
10491 * gdb.base/command.exp: Change hardcoded value to regular expression.
10492 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10493
10494 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10495
10496 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10497 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10498 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10499 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10500 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10501
10502 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10503
10504 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10505 changes.
10506
10507 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10508
10509 * lib/compiler.c: Add test for IBM's xlc compiler.
10510 * lib/compiler.cc: Likewise.
10511
10512 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10513
10514 * gdb.ada/fixed_points.exp: Create compilation object directory
10515 before running the test.
10516 * gdb.ada/null_record.exp: Likewise.
10517 * gdb.ada/packed_array.exp: Likewise.
10518 * gdb.ada/start.exp: Likewise.
10519
10520 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10521
10522 * gdb.ada/packed_array/pa.adb: New file.
10523 * gdb.ada/packed_array.exp: New testcase.
10524
10525 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10526
10527 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10528 files.
10529
10530 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10531 on *-*-openbsd*. Correctly match whitespace in regukar
10532 expressions.
10533
10534 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10535
10536 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10537 PR exp/1821
10538 * gdb.base/gdb1821.c: New test file.
10539 * gdb.base/gdb1821.exp: New test file.
10540
10541 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10542
10543 * gdb.base/start.c: New file.
10544 * gdb.base/start.exp: New testcase.
10545
10546 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10547
10548 * gdb.ada/start/dummy.adb: New file.
10549 * gdb.ada/start.exp: New testcase.
10550
10551 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10552
10553 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10554 for printing symbols and statistics.
10555 Add test for using relative pathnames in "maint print msymbols" test.
10556 Mark "maint info sections DATA" XFAIL on Cygwin.
10557 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10558 tests.
10559
10560 2005-02-09 Andreas Schwab <schwab@suse.de>
10561
10562 Committed by Andrew Cagney <cagney@gnu.org>
10563 * gdb.base/remotetimeout.exp: New file.
10564
10565 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10566
10567 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10568
10569 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10570
10571 * gdb.ada/gnat_ada.gpr: New file.
10572 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10573 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10574 * configure.ac: No longer generate gnat_ada.gpr.
10575 * configure: Regenerate.
10576 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10577 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10578 * gdb.ada/null_record/bar.ads: Likewise.
10579 * gdb.ada/null_record/bar.adb: Likewise.
10580 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10581 * gdb.ada/null_record.exp (testdir): New variable.
10582 (testfile): executable is now in testdir subdirectory.
10583 (srcfile): Use full path to the main compilation unit.
10584 * gdb.ada/fixed_points.exp: Same changes as above.
10585
10586 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10587
10588 * gdb.base/interp.exp: New test.
10589
10590 2005-01-24 Andrew Cagney <cagney@gnu.org>
10591
10592 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10593
10594 2005-01-19 Andrew Cagney <cagney@gnu.org>
10595
10596 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10597 configure.ac not configure.in.
10598
10599 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10600 of powerpc*-*-*.
10601 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10602 * gdb.base/list.exp (test_list_function)
10603 (test_list_filename_and_function): Ditto.
10604 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10605
10606 2005-01-16 Andrew Cagney <cagney@gnu.org>
10607
10608 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10609
10610 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10611
10612 2005-01-14 Andrew Cagney <cagney@gnu.org>
10613
10614 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10615 * gdb.mi/mi2-var-cmd.exp: Ditto.
10616
10617 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10618
10619 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10620
10621 2005-01-07 Andrew Cagney <cagney@gnu.org>
10622
10623 * configure.ac: Rename configure.in, require autoconf 2.59.
10624 * configure: Re-generate.
10625 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10626 * gdb.stabs/configure: Re-generate.
10627 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10628 * gdb.hp/configure: Re-generate.
10629 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10630 autoconf 2.59.
10631 * gdb.hp/gdb.objdbg/configure: Re-generate.
10632 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10633 autoconf 2.59.
10634 * gdb.hp/gdb.defects/configure: Re-generate.
10635 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10636 autoconf 2.59.
10637 * gdb.hp/gdb.compat/configure: Re-generate.
10638 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10639 autoconf 2.59.
10640 * gdb.hp/gdb.base-hp/configure: Re-generate.
10641 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10642 autoconf 2.59.
10643 * gdb.hp/gdb.aCC/configure: Re-generate.
10644
10645 2004-12-15 Jim Blandy <jimb@redhat.com>
10646
10647 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10648 under NPTL when there is debugging info available for libpthread.
10649
10650 2004-12-13 Jerome Guitton <guitton@gnat.com>
10651
10652 * gdb.ada/fixed_points.c: New file.
10653 * gdb.ada/fixed_points.exp: New file.
10654
10655 2004-12-03 Randolph Chung <tausq@debian.org>
10656
10657 * gdb.arch/pa-nullify.exp: New file.
10658 * gdb.arch/pa-nullify.s: New file.
10659
10660 2004-11-30 Randolph Chung <tausq@debian.org>
10661
10662 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10663 instead of "tbug". Fix regexp to work properly with gdb_test.
10664
10665 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10666
10667 * gdb.base/bitfields2.exp: New test.
10668 * gdb.base/bitfields2.c: New file.
10669
10670 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10671
10672 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10673
10674 2004-11-16 Randolph Chung <tausq@debian.org>
10675
10676 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10677
10678 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10679
10680 * gdb.threads/threadapply.exp: Correct "macro details" test.
10681
10682 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10683
10684 * gdb.threads/threadapply.exp: New test.
10685 * gdb.threads/threadapply.c: New file.
10686
10687 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10688
10689 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10690 frames.
10691
10692 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10693
10694 * gdb.base/cursal.exp: New file.
10695 * gdb.base/cursal.c: New file.
10696
10697 2004-11-03 Andrew Cagney <cagney@gnu.org>
10698
10699 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10700
10701 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10702
10703 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10704 NetBSD/ELF targets.
10705
10706 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10707
10708 * gdb.threads/bp_in_thread.c: New file, copied from
10709 pthread_cond_wait.c.
10710 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10711 file, rather than reusing the .c file from another testcase.
10712
10713 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10714
10715 * gdb.ada/null_record.exp: Check where we stopped after
10716 sending the start command, instead of where the associated
10717 temporary breakpoint was inserted.
10718
10719 2004-10-14 Andrew Cagney <cagney@gnu.org>
10720
10721 * gdb.mi/gdb701.c (main): Return 0.
10722
10723 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10724
10725 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10726
10727 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10728
10729 * gdb.threads/schedlock.c: Add comment markers to use to find
10730 line numbers.
10731 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10732 comments.
10733 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10734 breakpoint lines.
10735
10736 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10737
10738 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10739
10740 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10741
10742 * configure.in: Add gdb.dwarf2.
10743 * configure: Regenerated.
10744 * Makefile.in: Add gdb.dwarf2.
10745 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10746 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10747 gdb.dwarf2/file1.txt: New files.
10748
10749 2004-10-11 Orjan Friberg <orjanf@axis.com>
10750
10751 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10752 of "run", since the latter doesn't work with remote targets. Adjust
10753 the breakpoint numbering accordingly.
10754 * gdb.threads/pthread_cond_wait.exp: Ditto.
10755
10756 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10757
10758 * gdb.base/overlays.exp: Update copyright years.
10759
10760 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10761
10762 * gdb.base/overlays.exp: Disable if target is Linux.
10763
10764 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10765
10766 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10767
10768 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10769
10770 * gdb.asm/asm-source.exp: Add m32r-linux target.
10771 * gdb.asm/m32r-linux.inc: New file.
10772
10773 2004-09-24 Andrew Cagney <cagney@redhat.com>
10774 David Anderson <anderson@redhat.com>
10775
10776 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10777 command fails, assume things will work.
10778 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10779 (_GNU_SOURCE): Define.
10780 (print_unsigned, print_hex): Change parameter to "long long".
10781 (print_byte_count): New function, use to print byte counts.
10782 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10783 O_LARGEFILE.
10784 (main): Compute an upper bound on a corefile in max_core_size.
10785 Limit memory chunk size to max_core_size. Limit total memory
10786 allocated to max_core_size.
10787
10788 2004-09-23 Andrew Cagney <cagney@gnu.org>
10789
10790 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10791 from a separate process with code that creates a corefile by
10792 making the inferior dump core.
10793
10794 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10795
10796 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10797 block.
10798
10799 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10800
10801 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10802 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10803 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10804 Likewise.
10805
10806 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10807
10808 * gdb.java/jprint.exp: New test case for java inferior call.
10809 * gdb.java/jprint.java: Ditto.
10810
10811 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10812
10813 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10814
10815 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10816
10817 * gdb.threads/killed.c: Include <stdlib.h>.
10818 * gdb.threads/pthreads.c: Likewise.
10819
10820 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10821
10822 * gdb.threads/killed.c: Add copyright notice.
10823
10824 2004-09-10 Jason Molenda (jmolenda@apple.com)
10825
10826 * gdb.base/define.exp: Two new tests to verify zero space chars
10827 after 'if' and 'while' commands in a user-defined command is correctly
10828 parsed.
10829
10830 2004-09-08 Andrew Cagney <cagney@gnu.org>
10831
10832 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10833 delivery test with duplicate at end of file.
10834
10835 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10836
10837 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10838
10839 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10840
10841 * config/hppro.exp: Removed.
10842
10843 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10844
10845 * config/sparclet.exp: Removed.
10846
10847 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10848
10849 * config/udi.exp: Removed.
10850
10851 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10852
10853 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10854 of "exp_continue".
10855 (advancei): Likewise.
10856
10857 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10858
10859 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10860
10861 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10862
10863 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10864 to check for nodebug in executable.
10865 * gdb.gdb/observer.exp (setup_test): Likewise.
10866 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10867 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10868
10869 2004-09-01 Andrew Cagney <cagney@gnu.org>
10870
10871 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10872 files.
10873
10874 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10875
10876 * gdb.base/unload.exp: Fix expected warning message to match
10877 latest format.
10878
10879 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10880
10881 * gdb.base/call-rt-st.exp: Fix typos.
10882
10883 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10884
10885 * gdb.threads/thread_check.exp: New testcase.
10886 * gdb.threads/thread_check.c: New testcase.
10887
10888 2004-08-31 Andrew Cagney <cagney@gnu.org>
10889
10890 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10891 (skip_to_handler_entry): New procedures. Test stepping into a
10892 handler when the breakpoint is at the handler's entry point.
10893
10894 2004-08-30 Andrew Cagney <cagney@gnu.org>
10895
10896 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10897 gdb/1757.
10898
10899 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10900
10901 With code from Manoj Iyer <manjo@austin.ibm.com>:
10902 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10903 return value. Add an arm for "no debugging symbols found".
10904 Change a stray "error" to "perror".
10905 (gdb_run_cmd): Adapt to new return value.
10906 * gdb.base/remote.exp: Adapt to new return value.
10907 * gdb.gdb/complaints.exp: Likewise.
10908 * gdb.gdb/observer.exp: Likewise.
10909 * gdb.gdb/selftest.exp: Likewise.
10910 * gdb.gdb/xfullpath.exp: Likewise.
10911
10912 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10913
10914 * gdb.threads/bp_in_thread.exp: New testcase.
10915
10916 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10917
10918 Fix PR testsuite/1735.
10919 * gdb.threads/schedlock.c (thread_function): Add a cast
10920 to suppress a gcc warning.
10921 * gdb.threads/thread-specific.c (thread_function): Likewise.
10922
10923 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10924
10925 * gdb.base/unload.c: Include <stdlib.h>.
10926
10927 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10928
10929 From Paul Gilliam <pgilliam@us.ibm.com>:
10930 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10931 synchronized after the "return".
10932
10933 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10934
10935 * gdb.mi/basics.c: Include <stdio.h>.
10936 * gdb.mi/pthreads.c: Include <stdlib.h>.
10937 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10938
10939 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10940
10941 * gdb.threads/schedlock.c: Add copyright notice.
10942
10943 2004-08-25 Andrew Cagney <cagney@gnu.org>
10944
10945 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10946 (skip_over_handler, breakpoint_over_hander): New test procedures.
10947 (advance, advancei): Add a proper prefix, do not use
10948 rerun_to_main.
10949 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10950
10951 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10952
10953 * gdb.mi/basics.c: Add copyright notice.
10954 * gdb.mi/var-cmd.c: Add copyright notice.
10955
10956 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10957
10958 * lib/gdb.exp: Remove signed_keyword_not_used.
10959 * lib/compiler.c: Likewise.
10960 * lib/compiler.cc: Likewise.
10961
10962 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10963
10964 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10965 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10966
10967 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10968
10969 * gdb.base/whatis.c: Add copyright notice.
10970
10971 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10972
10973 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10974 it to skip the breakpoints encoded in the inline assembly.
10975
10976 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10977
10978 * Makefile.in: Add gdb.fortran.
10979
10980 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10981
10982 * gdb.base/call-sc.exp (test_scalar_returns):
10983 Fix cut-and-paste glitch in "Make fun return now".
10984
10985 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10986
10987 * configure.in: Add gdb.fortran.
10988 * configure: Regenerate.
10989 * gdb.fortran/Makefile.in: New file.
10990 * lib/gdb.exp (skip_fortran_tests): New procedure.
10991
10992 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10993
10994 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10995 reference to bug-gnu@prep.ai.mit.edu.
10996 * gdb.mi/mi-var-child.exp: Likewise.
10997 * gdb.mi/mi-var-cmd.exp: Likewise.
10998 * gdb.mi/mi-var-display.exp: Likewise.
10999 * gdb.mi/mi2-var-block.exp: Likewise.
11000 * gdb.mi/mi2-var-child.exp: Likewise.
11001 * gdb.mi/mi2-var-cmd.exp: Likewise.
11002 * gdb.mi/mi2-var-display.exp: Likewise.
11003
11004 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11005
11006 * gdb.base/unload.c (main): Make local variable msg const.
11007
11008 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11009
11010 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11011 to bug-gnu@prep.ai.mit.edu.
11012 * gdb.mi/mi-disassemble.exp: Likewise.
11013 * gdb.mi/mi-eval.exp: Likewise.
11014 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11015 default line number.
11016 * gdb.mi/mi-return.exp: Likewise.
11017 * gdb.mi/mi-simplerun.exp: Likewise.
11018 * gdb.mi/mi-stack.exp: Likewise.
11019 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11020 number with explicit range test.
11021 * gdb.mi/mi-watch.exp: Likewise.
11022 * gdb.mi/mi2-break.exp: Likewise.
11023 * gdb.mi/mi2-cli.exp: Likewise.
11024 * gdb.mi/mi2-disassemble.exp: Likewise.
11025 * gdb.mi/mi2-eval.exp: Likewise.
11026 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11027 default line number.
11028 * gdb.mi/mi2-return.exp: Likewise.
11029 * gdb.mi/mi2-simplerun.exp: Likewise.
11030 * gdb.mi/mi2-stack.exp: Likewise.
11031 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11032 number with explicit range test.
11033 * gdb.mi/mi2-watch.exp: Likewise.
11034
11035 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11036
11037 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11038 * gdb.cp/m-static.exp: Likewise.
11039 * gdb.cp/rtti.exp: Likewise.
11040
11041 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11042
11043 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11044
11045 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11046
11047 * ChangeLog: Prefix Local Variables with semi-colons and indent
11048 the reference to older ChangeLog files, to fix fontification in
11049 Emacs.
11050
11051 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11052
11053 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11054 * gdb.mi/mi2-break.exp: Likewise.
11055
11056 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11057
11058 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11059
11060 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11061
11062 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11063
11064 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11065
11066 * gdb.cp/classes.exp: Remove unused declarations. Just let
11067 test names default instead of providing special names. Remove
11068 extraneous demangler test.
11069
11070 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11071
11072 * gdb.base/unload.exp: New test for breakpoints in dynamically
11073 loaded libraries.
11074 * gdb.base/unload.c: Ditto.
11075 * gdb.base/unloadshr.c: Ditto.
11076
11077 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11078
11079 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11080 cp_test_ptype_class.
11081 (test_enums): Likewise.
11082
11083 2004-08-10 Andrew Cagney <cagney@gnu.org>
11084
11085 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11086 files.
11087
11088 2004-08-10 Andrew Cagney <cagney@gnu.org>
11089
11090 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11091 init_malloc call.
11092
11093 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11094
11095 * ChangeLog: Add copyright notice. The notice is copied
11096 from emacs 21.3 top level ChangeLog.
11097
11098 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11099
11100 * lib/cp-support.exp: New file.
11101 * lib/cp-support.exp (cp_test_type_class): New function.
11102 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11103 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11104 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11105 cp_test_ptype_class.
11106
11107 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11108
11109 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11110 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11111 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11112 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11113 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11114 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11115 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11116 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11117 gdb.mi/mi2-watch.exp: Update copyright years.
11118
11119 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11120
11121 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11122
11123 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11124
11125 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11126 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11127 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11128 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11129 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11130 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11131 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11132 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11133 gdb.mi/mi-watch.exp: Update copyright years.
11134
11135 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11136
11137 PR gdb/1738
11138 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11139 from a breakpoint with a pending signal.
11140
11141 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11142
11143 PR gdb/1736
11144 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11145 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11146 the prompt.
11147 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11148
11149 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11150
11151 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11152
11153 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11154
11155 PR gdb/1736
11156 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11157 for i?86-*-linux*.
11158
11159 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11160
11161 * gdb.arch/i386-prologue.exp: Compile without debug information.
11162
11163 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11164
11165 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11166 rather than asking gdb to search.
11167
11168 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11169
11170 * gdb.base/gcore.c: Include <string.h>.
11171
11172 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11173
11174 * gdb.base/gcore.c: Add copyright notice.
11175
11176 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11177
11178 * gdb.base/freebpcmd.c: Include <stdio.h>.
11179 * gdb.base/long_long.c: Include <string.h>.
11180 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11181 * gdb.base/siginfo.c: Include <string.h>.
11182 * gdb.base/sigstep.c: Include <string.h>.
11183
11184 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11185
11186 * gdb.base/complex.c: Include <stdlib.h>.
11187
11188 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11189
11190 * gdb.base/complex.c: Add copyright notice.
11191
11192 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11193
11194 * gdb.base/charset.c: Include <stdlib.h>.
11195
11196 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11197
11198 * gdb.base/auxv.c: Include <stdlib.h>.
11199
11200 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11201
11202 * gdb.base/auxv.c: Add copyright notice.
11203
11204 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11205
11206 * gdb.base/coremaker.c: Add copyright notice.
11207 * gdb.base/coremaker2.c: Add copyright notice.
11208
11209 2004-08-04 Andrew Cagney <cagney@gnu.org>
11210
11211 * gdb.base/store.exp: Update copyright.
11212 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11213 names, do not import gdb_prompt.
11214
11215 2004-08-01 Andrew Cagney <cagney@gnu.org>
11216
11217 Fix PR testsuite/1729.
11218 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11219 not use capture_value with value 4.
11220 (capture_value): Add optional test name parameter.
11221 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11222 the prefix, pass to capture_value.
11223
11224 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11225
11226 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11227 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11228 (main): Call new function.
11229
11230 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11231
11232 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11233
11234 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11235
11236 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11237
11238 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11239
11240 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11241 Accept more values of vtbl pointer. Remove some messages
11242 about "obsolete gcc or gdb".
11243
11244 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11245
11246 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11247
11248 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11249
11250 * gdb.base/asm-source.exp: Properly convert target board
11251 debug flags from gcc format to binutils format.
11252
11253 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11254
11255 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11256 gdb1718". PR backtrace/1718 partially fixed.
11257
11258 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11259
11260 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11261
11262 2004-07-26 Nick Clifton <nickc@redhat.com>
11263
11264 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11265 good default value for a specific architecture is available then
11266 set it to that value. Otherwise default to the -gstabs switch.
11267 Remove the -g... switches from the asm-flags variable. Allow the
11268 target board info to override the value if it wants to. Pass the
11269 switch on the assembler command line.
11270
11271 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11272
11273 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11274 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11275 (main): Call new function.
11276
11277 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11278
11279 Test for PR exp/1715.
11280 * gdb.base/radix.exp: Refactor common procedures. Make all
11281 test names unique. Change XFAIL to KFAIL.
11282
11283 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11284
11285 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11286 * gdb.ada/gnat_ada.gin: ... to here.
11287 * configure.in: Use gnat_ada.gin.
11288 * configure: Regenerate.
11289
11290 2004-07-20 Andrew Cagney <cagney@gnu.org>
11291
11292 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11293 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11294 XFAILs. Clean up test messages and comments. Check backtraces.
11295 Delete re-sync code.
11296
11297 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11298
11299 Fix PR cli/740.
11300 * gdb.base/annota1.exp: Honor gdb,nosignals.
11301 * gdb.base/annota3.exp: Likewise.
11302
11303 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11304
11305 * lib/java.exp: Update copyright notice.
11306
11307 2004-07-19 Andrew Cagney <cagney@gnu.org>
11308
11309 * gdb.base/selftest.exp: Copy file from here ...
11310 * gdb.gdb/selftest.exp: ... to here.
11311
11312 2004-07-16 Andrew Cagney <cagney@redhat.com>
11313
11314 * lib/insight-support.exp: Delete file.
11315 * lib/java.exp (java_init): Fix copyright.
11316
11317 2004-07-16 Andrew Cagney <cagney@gnu.org>
11318
11319 * gdb.base/restore.c: Append "prologue" to comments marking the a
11320 function's prologue.
11321 * gdb.base/restore.exp: Update copyright, re-indent.
11322 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11323 callerN" prefix where needed. Update patterns that match a
11324 function's prologue.
11325
11326 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11327
11328 * gdb.base/restore.c: Add copyright notice.
11329
11330 2004-07-16 Andrew Cagney <cagney@gnu.org>
11331
11332 * gdb.base/logical.exp: Update copyright.
11333 (evaluate): New procedure. Use to re-implement tests using
11334 several tables.
11335
11336 2004-07-14 Martin Hunt <hunt@redhat.com>
11337
11338 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11339 which fixes some problems where init.tcl was not found.
11340
11341 2004-07-13 Andrew Cagney <cagney@gnu.org>
11342
11343 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11344 (check_sizeof, check_valueof): Do not include the output in the
11345 test name. Use gdb_test.
11346 (get_valueof): Use gdb_test_multiple.
11347
11348 * gdb.base/step-test.exp: Update copyright. Use
11349 gdb_test_multiple. Ensure that test names do not include
11350 architecture dependent output.
11351
11352 * gdb.gdb/observer.exp: Update copyright.
11353 (setup_test): Use gdb_test_multiple.
11354 (attach_first_observer, attach_second_observer)
11355 (attach_third_observer, detach_first_observer)
11356 (detach_second_observer, detach_third_observer)
11357 (reset_counters, check_counters): Make $message a prefix.
11358 (test_normal_stop_notifications): Add "args" parameter - a list of
11359 init functions to be called. Make $message a prefix,
11360 (test_observer_normal_stop): Change the message prefixes so that
11361 they are unique, pass the attach / detach procedures to
11362 test_normal_stop_notifications.
11363
11364 * gdb.base/signull.exp (test_segv): Prefix all tests with
11365 "${name}". Clean up test messages.
11366
11367 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11368
11369 * gdb.base/ena-dis-br.exp: Update copyright.
11370 (break_at): New function. Replace send_gdb with gdb_test,
11371 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11372 ignore count, not stopped at bpt", with KFAIL.
11373
11374 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11375
11376 * gdb.base/attach.exp: Remove cleanupfile handling.
11377
11378 2004-07-12 Andrew Cagney <cagney@gnu.org>
11379
11380 * gdb.base/annota1.exp: Cleanup corefile test name.
11381 * gdb.base/annota3.exp: Ditto.
11382
11383 2004-07-12 Andrew Cagney <cagney@gnu.org>
11384
11385 * gdb.base/signals.exp: Clean up copyright, re-indent.
11386
11387 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11388 gdb_test and gdb_test_multiple.
11389
11390 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11391
11392 * gdb.java/jmain.exp: Fix expected line number for main to
11393 break at. Set XFAIL for break at main test since gcj does not
11394 provide line number info for first statement in main.
11395
11396 2004-07-08 Andrew Cagney <cagney@gnu.org>
11397
11398 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11399
11400 * gdb.base/sigbpt.exp: Make the common part of each test name a
11401 prefix instead of suffix.
11402
11403 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11404
11405 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11406 test from test_tbreak_creation_and_listing to
11407 test_file_list_exec_source_file
11408 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11409 Changed name of test from test_tbreak_creation_and_listing to
11410 test_file_list_exec_source_file
11411
11412 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11413
11414 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11415 the jmisc() constructor instead of <init>.
11416 * gdb.java/jmisc1.exp: Ditto.
11417
11418 2004-07-07 Andrew Cagney <cagney@gnu.org>
11419
11420 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11421 corrupting the PC.
11422
11423 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11424
11425 * gdb.cp/templates.exp: Accept whitespace change in demangler
11426 output.
11427
11428 2004-07-06 Andrew Cagney <cagney@gnu.org>
11429
11430 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11431
11432 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11433
11434 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11435 * lib/compiler.cc: Likewise.
11436
11437 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11438
11439 * lib/compiler.cc: Work around string preprocessing problem
11440 with old hp c++ compiler.
11441 * lib/compiler.c: Likewise.
11442
11443 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11444
11445 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11446 directives to conditionalize symbol prefixing.
11447 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11448 additional_flags handling. Add underscore prefix for Cygwin.
11449 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11450 conditionalize symbol prefixing.
11451 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11452 additional_flags handling. Add underscore prefix for Cygwin.
11453
11454 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11455
11456 * gdb.base/bigcore.exp: Skip test on Cygwin.
11457
11458 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11459
11460 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11461 formats for "info register". Use gdb_test_multiple. Fix
11462 the "invalid register" test.
11463
11464 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11465
11466 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11467 PID for Cygwin. Add Cygwin specific strings to check for in some
11468 tests.
11469 (do_attach_tests): Add a test for user interaction when attaching
11470 to a process with no matching symbol table already loaded.
11471
11472 2004-06-26 Andrew Cagney <cagney@gnu.org>
11473
11474 Test PR java/1567 and PR java/1565.
11475 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11476 * gdb.java/jmisc2.exp: Delete file.
11477
11478 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11479
11480 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11481
11482 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11483
11484 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11485 attach process.
11486
11487 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11488
11489 * gdb.cp/pr-1553.exp: Remove.
11490
11491 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11492
11493 * gdb.cp/pr-1553.cc: Remove.
11494 * gdb.cp/pr-1553.exp: Disable this test.
11495
11496 2004-06-20 Jim Blandy <jimb@redhat.com>
11497
11498 Fix PR testsuite/1680.
11499 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11500 regular expressions.
11501
11502 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11503
11504 Fix PR testsuite/1679.
11505 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11506 Issue an UNSUPPORTED result instead.
11507
11508 2004-06-18 Jim Blandy <jimb@redhat.com>
11509
11510 * gdb.base/charset.exp: Only send a control-C if we see a new
11511 prompt and incomplete command.
11512
11513 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11514
11515 * gdb.cp/pr-574.cc: Add copyright notice.
11516
11517 2004-06-17 Jim Blandy <jimb@redhat.com>
11518
11519 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11520 cases where the regexp has no groups; this grabs random text from
11521 the previous test suite, whatever that was.
11522
11523 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11524
11525 * gdb.cp/printmethod.cc: Add copyright notice.
11526
11527 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11528
11529 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11530
11531 2004-06-16 Andrew Cagney <cagney@gnu.org>
11532
11533 * gdb.base/signull.c: Update copyright. Include <string.h>.
11534 (bowler): Replace data_pointer with data_read
11535 and data_write cases. Add code_descriptor case.
11536 (zero, desc): New array and pointer.
11537 (data, code): Change to simple pointers.
11538 * gdb.base/signull.exp: Fix probe pattern matching a function
11539 descriptor SIGSEGV. Replace data_pointer with data_read and
11540 data_write tests.
11541
11542 2004-06-16 Andrew Cagney <cagney@gnu.org>
11543
11544 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11545
11546 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11547
11548 * gdb.base/long_long.c: Add copyright notice.
11549
11550 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11551
11552 * gdb.base/long_long.exp: Remove reference to
11553 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11554 to gdb_breakpoint and gdb_continue_to_breakpoint.
11555
11556 2004-06-14 Jim Blandy <jimb@redhat.com>
11557
11558 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11559 endian case.
11560
11561 2004-06-14 Andrew Cagney <cagney@gnu.org>
11562
11563 * gdb.base/gcore.exp (capture_command_output): Delete the always
11564 passing tests containing inferior values.
11565 * gdb.base/ending-run.exp: Do not include the breakpoint address
11566 in the test message. Update copyright.
11567 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11568 size in the test name, use gdb_test_multiple. Update copyright.
11569
11570 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11571
11572 * gdb.cp/ref-types.cc: Add copyright notice.
11573
11574 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11575
11576 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11577 hp_aCC_compiler.
11578 * lib/compiler.cc: Likewise.
11579 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11580 'set' commands. Log diagnostics for other lines. Set
11581 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11582
11583 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11584
11585 * gdb.cp/try_catch.cc: Add copyright notice.
11586
11587 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11588
11589 * gdb.cp/userdef.cc: Add copyright notice.
11590
11591 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11592
11593 * gdb.cp/virtfunc.cc: Add copyright notice.
11594
11595 2004-06-11 Randolph Chung <tausq@debian.org>
11596
11597 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11598 problem.
11599
11600 2004-06-10 Andrew Cagney <cagney@gnu.org>
11601
11602 * lib/compiler.cc, lib/compiler.c: Append either
11603 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11604 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11605 instead of gcc-3-3.
11606
11607 2004-06-09 Andrew Cagney <cagney@gnu.org>
11608
11609 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11610 gdb/1455, bug is specific to "long long" and "double".
11611
11612 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11613 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11614 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11615 fixed.
11616
11617 2004-06-09 Andrew Cagney <cagney@gnu.org>
11618
11619 * gdb.base/structs.exp (test_struct_returns): Replace
11620 "return_value_unknown" and "finish_value_unknown" by
11621 "return_value_known" and "finish_value_known". Instead of
11622 "return_value_unknown" iff "finish_value_unknown", check
11623 "return_value_known" implies "finish_value_known".
11624
11625 2004-06-08 Martin Hunt <hunt@redhat.com>
11626
11627 * gdb.base/float.exp: Add pattern for mips targets.
11628
11629 2004-06-08 Randolph Chung <tausq@debian.org>
11630
11631 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11632 message for unknown architectures more clear.
11633
11634 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11635
11636 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11637 start the execution of the program.
11638
11639 2004-06-07 Jim Blandy <jimb@redhat.com>
11640
11641 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11642 * gdb.arch/i386-cpuid.h: New helper file.
11643
11644 2004-06-07 Randolph Chung <tausq@debian.org>
11645
11646 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11647 has started.
11648
11649 2004-06-04 Roland McGrath <roland@redhat.com>
11650
11651 Fix PR gdb/1647.
11652 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11653 differently to be robust to output buffering differences.
11654
11655 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11656
11657 * gdb.threads/pthreads.exp: Update copyright years.
11658 (check_control_c): Change asynchronous 'after' to synchronous.
11659
11660 2004-06-04 Roland McGrath <roland@redhat.com>
11661
11662 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11663 next gdb prompt.
11664
11665 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11666
11667 Fix PR gdb/1636.
11668 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11669 calls to synchronous.
11670
11671 2004-05-26 Jim Blandy <jimb@redhat.com>
11672
11673 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11674
11675 2004-05-24 Randolph Chung <tausq@debian.org>
11676
11677 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11678 * gdb.asm/pa.inc: New file.
11679
11680 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11681
11682 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11683
11684 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11685 Daniel Jacobowitz <drow@mvista.com>
11686
11687 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11688 GDB prompt.
11689
11690 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11691
11692 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11693 setjmp/longjmp. Use sigaction instead of signal.
11694
11695 2004-05-19 J. Brobecker <brobecker@gnat.com>
11696 Michael Snyder <msnyder@redhat.com>
11697
11698 * gdb.threads/pthread_cond_wait.c: New file.
11699 * gdb.threads/pthread_cond_wait.exp: New testcase.
11700
11701 2004-05-13 Andrew Cagney <cagney@redhat.com>
11702
11703 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11704 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11705
11706 2004-05-11 Andrew Cagney <cagney@redhat.com>
11707
11708 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11709 fixed but revealed gdb/1639.
11710
11711 2004-05-10 Andrew Cagney <cagney@redhat.com>
11712
11713 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11714 func1" and "next to 2nd alarm", kernel bug avoided.
11715
11716 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11717
11718 PR external/1568
11719 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11720 XFAIL if it is smaller than bytes_allocated.
11721 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11722 (main): Make chunks_allocated unsigned. Correct comment.
11723
11724 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11725
11726 * gdb.arch/powerpc-aix-prologue.c: New file.
11727 * gdb.arch/powerpc-aix-prologue.exp: New file.
11728
11729 2004-05-07 Jim Blandy <jimb@redhat.com>
11730
11731 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11732 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11733
11734 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11735
11736 * gdb.base/sep.exp: No longer setup_kfail when the program was
11737 built with dwarf2.
11738
11739 2004-05-05 Jim Ingham <jingham@apple.com>
11740
11741 * gdb.base/pending.exp: Make sure pending breakpoints
11742 preserve the ignore count.
11743
11744 2004-04-27 Jerome Guitton <guitton@gnat.com>
11745
11746 * i386-prologue.exp: Add testcase for jump instruction as first
11747 instruction of the real code.
11748 * i386-prologue.c (jump_at_beginning): New function.
11749
11750 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11751
11752 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11753 x86_64-*-*.
11754
11755 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11756
11757 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11758 i*86-*-*.
11759
11760 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11761
11762 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11763 expression that checks the return type.
11764
11765 2004-04-23 Andrew Cagney <cagney@redhat.com>
11766
11767 * gdb.base/call-sc.exp: New test of scalar call/return values.
11768 * gdb.base/call-sc.c: Ditto.
11769
11770 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11771
11772 * gdb.threads/manythreads.c: Reduce thread stack size.
11773
11774 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11775
11776 * gdb.threads/manythreads.c: Add copyright notice.
11777
11778 2004-04-23 Andrew Cagney <cagney@redhat.com>
11779
11780 * gdb.base/siginfo.exp: Better handle step out of signal.
11781 * gdb.base/sigstep.exp: Ditto.
11782
11783 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11784 Daniel Jacobowitz <drow@mvista.com>
11785
11786 * gdb.threads/manythreads.c: New testcase.
11787 * gdb.threads/manythreads.exp: Ditto.
11788
11789 2004-04-22 Jim Blandy <jimb@redhat.com>
11790
11791 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11792 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11793
11794 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11795
11796 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11797
11798 2004-04-21 Andrew Cagney <cagney@redhat.com>
11799
11800 * gdb.base/sigstep.c: New file.
11801 * gdb.base/sigstep.exp: New file.
11802
11803 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11804
11805 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11806 call to observer_notify_normal_stop.
11807
11808 2004-04-15 Andrew Cagney <cagney@redhat.com>
11809
11810 * gdb.base/siginfo.c: New file.
11811 * gdb.base/siginfo.exp: New file.
11812
11813 2004-04-12 J. Brobecker <brobecker@gnat.com>
11814
11815 * gdb.base/sep.exp: Fix typo in comment.
11816
11817 2004-04-12 J. Brobecker <brobecker@gnat.com>
11818
11819 * gdb.base/sep.c: New file.
11820 * gdb.base/sep-proc.c: New file.
11821 * gdb.base/sep.exp: New testcase.
11822
11823 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11824
11825 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11826 support.
11827
11828 2004-04-05 Andrew Cagney <cagney@redhat.com>
11829
11830 * gdb.base/sigaltstack.c: New file.
11831 * gdb.base/sigaltstack.exp: New file.
11832
11833 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11834
11835 * gdb.base/foll-fork.exp: Update the expected output for
11836 "help set follow-fork-mode", to match a change that was made
11837 to the help of this variable on 2004-01-13.
11838
11839 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11840
11841 * lib/ada.exp: Add copyright notice.
11842 * bar.ads: Likewise.
11843 * bar.adb: Likewise.
11844 * null_record.adb: Likewise.
11845 * null_record.exp: Likewise.
11846 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11847
11848 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11849
11850 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11851 * configure: Regenerate.
11852
11853 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11854
11855 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11856 to build the application. Remove the message printed when in
11857 verbose mode, redundant with the UNSUPPORTED message above.
11858
11859 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11860
11861 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11862 * gdb.ada (null_record.exp): New testcase.
11863
11864 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11865
11866 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11867
11868 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11869
11870 * gdb.ada: New subdirectory.
11871 * gdb.ada/Makefile.in: New file.
11872 * gdb.ada/gnat_ada.gpr.in: New file.
11873
11874 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11875
11876 * lib/ada.exp: New file.
11877
11878 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11879
11880 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11881 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11882
11883 2004-03-22 Andrew Cagney <cagney@redhat.com>
11884
11885 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11886 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11887 Problem identified by Ulrich Weigand.
11888
11889 2004-03-17 David Carlton <carlton@kealia.com>
11890
11891 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11892 PR c++/826.
11893
11894 2004-03-16 Roland McGrath <roland@redhat.com>
11895
11896 * gdb.base/auxv.exp: New file.
11897 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11898
11899 2004-03-12 David Carlton <carlton@kealia.com>
11900
11901 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11902 * gdb.cp/pr-1553.cc: Ditto.
11903 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11904 pass branch.
11905
11906 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11907
11908 * gdb.cp/templates.exp: Accept more template types.
11909
11910 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11911
11912 From Corinna Vinschen with modifications.
11913 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11914 local variable obj_with_enum.
11915 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11916 results with obj_with_enum.
11917
11918 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11919
11920 * gdb.cp/classes.cc: New file, copied from misc.cc.
11921 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11922
11923 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11924
11925 * gdb.cp/misc.cc: Add copyright notice.
11926
11927 2004-03-05 David Carlton <carlton@kealia.com>
11928
11929 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11930 * gdb.cp/rtti.h: Update copyright.
11931 (namespace n2::n3): New.
11932 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11933 (n2::n3::func3): New.
11934 (main): Call n2::n3::func3.
11935 * gdb.cp/rtti2.cc: Update copyright.
11936 (n2::create3): New.
11937
11938 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11939
11940 * gdb.asm/openbsd.inc: Fix typo.
11941
11942 2004-03-03 Fred Fish <fnf@redhat.com>
11943
11944 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11945 "val" instead of unused "size". Update copyright year.
11946
11947 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11948
11949 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11950 to use unsigned char.
11951 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11952 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11953
11954 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11955
11956 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11957 line of output.
11958
11959 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11960
11961 * gdb.base/relocate.c (dummy): Initialize.
11962
11963 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11964
11965 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11966 a breakpoint at exit.
11967
11968 2004-02-27 Fred Fish <fnf@redhat.com>
11969
11970 * gdb.base/chng-syms.exp: Add expect condition to match failing
11971 case that isn't a timeout.
11972
11973 2004-02-27 Andrew Cagney <cagney@redhat.com>
11974
11975 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11976 support.
11977
11978 2004-02-26 Fred Fish <fnf@redhat.com>
11979
11980 * gdb.arch/gdb1431.c: Remove.
11981 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11982 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11983 of "until" incorrectly.
11984
11985 2004-02-26 J. Brobecker <brobecker@gnat.com>
11986
11987 * gdb.cp/class2.cc (empty): New class.
11988 (refer): New function.
11989 (main): Declare an object of type empty and use it.
11990 * gdb.cp/class2.exp: Print the value of an object of type empty.
11991
11992 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11993
11994 * gdb.base/langs.exp: Update query string to match the
11995 new nquery format used for pending breakpoints.
11996
11997 2004-02-26 Andrew Cagney <cagney@redhat.com>
11998
11999 Fix PR i18n/1570.
12000 * gdb.base/charset.c: Update copyright notice.
12001 (main, init_string): Remove the escape character '\e' tests.
12002 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12003 * gdb.base/charset.exp (valid_host_charset): Ditto.
12004 * gdb.base/setvar.exp: Ditto.
12005
12006 2004-02-24 Andrew Cagney <cagney@redhat.com>
12007
12008 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12009 mmapped data in core file" PASS and FAIL messages consistent.
12010
12011 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12012 setting a breakpoint. Work around PR java/1565.
12013
12014 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12015
12016 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12017 new nquery format.
12018 * gdb.base/pending.exp: Ditto.
12019
12020 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12021
12022 * configure.in: Run stabs tests on *BSD.
12023 * configure: Regenerated.
12024
12025 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12026
12027 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12028
12029 2004-02-20 Fred Fish <fnf@redhat.com>
12030
12031 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12032 blank in test for "returns short", for consistency with other
12033 "returns xxx" tests. Update copyright year.
12034
12035 2004-02-19 Fred Fish <fnf@redhat.com>
12036
12037 New testcase for PR breakpoint/1558.
12038 * gdb.arch/gdb1558.exp: New file.
12039 * gdb.arch/gdb1558.c: New file.
12040
12041 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12042
12043 * gdb.base/nodebug.exp: Fix typo.
12044
12045 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12046
12047 Committed by Jim Blandy <jimb@redhat.com>.
12048
12049 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12050
12051 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12052
12053 * gdb.base/float.exp: Support s390*-*-* targets.
12054
12055 2004-02-17 Adam Fedor <fedor@gnu.org>
12056
12057 * gdb.base/gdb1555.exp: New file.
12058 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12059
12060 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12061
12062 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12063
12064 2004-02-16 Fred Fish <fnf@redhat.com>
12065
12066 * gdb.arch/gdb1291.c: Remove
12067 * gdb.arch/gdb1291.s: New test input file.
12068 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12069 fail. Test for correct result, known incorrect result, other
12070 failures and timeouts.
12071
12072 2004-02-16 Andrew Cagney <cagney@redhat.com>
12073
12074 * gdb.base/bigcore.exp: New file.
12075 * gdb.base/bigcore.c: New file.
12076
12077 2004-02-13 Andrew Cagney <cagney@redhat.com>
12078
12079 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12080 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12081 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12082 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12083 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12084 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12085 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12086 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12087 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12088 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12089
12090 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12091
12092 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12093 executed is an alloc instruction.
12094
12095 2004-02-11 David Carlton <carlton@kealia.com>
12096
12097 * gdb.cp/breakpoint.exp: New.
12098 * gdb.cp/breakpoint.cc: New.
12099
12100 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12101
12102 Partial fix for PR gdb/1543.
12103 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12104 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12105 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12106 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12107 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12108 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12109 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12110 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12111 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12112 to bug-gdb@prep.ai.mit.edu .
12113 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12114 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12115 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12116 Likewise.
12117
12118 2004-02-10 Andrew Cagney <cagney@redhat.com>
12119
12120 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12121 using gdb_internal_error_resync.
12122
12123 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12124
12125 * gdb.threads/thread-specific.exp: Stop early if no threads are
12126 found.
12127
12128 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12129
12130 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12131
12132 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12133
12134 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12135 breakpoints.
12136
12137 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12138
12139 * config/sim.exp (gdb_load): Handle $arg == "".
12140 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12141 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12142
12143 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12144
12145 * gdb.base/maint.exp: Update test to reflect
12146 obstack changes.
12147
12148 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12149
12150 * gdb.base/pendshr.c (pendfunc): New function that calls
12151 pendfunc1.
12152 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12153
12154 2004-02-04 Fred Fish <fnf@redhat.com>
12155
12156 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12157 function symbols and update copyright years.
12158 * gdb.arch/gdb1291.c: Ditto.
12159
12160 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12161
12162 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12163
12164 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12165
12166 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12167
12168 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12169
12170 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12171
12172 2004-02-02 Fred Fish <fnf@redhat.com>
12173
12174 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12175 remote targets. Update copyright years.
12176
12177 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12178
12179 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12180 support.
12181 * gdb.base/langs.exp: Fix test which attempts to create
12182 breakpoint on non-existent function to handle new pending
12183 support.
12184 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12185 a breakpoint.
12186 * gdb.base/pending.exp: New test.
12187 * gdb.base/pending.c: New file.
12188 * gdb.base/pendshr.c: Ditto.
12189
12190 2004-02-02 David Carlton <carlton@kealia.com>
12191
12192 * gdb.cp/overload.exp: Add overloadNamespace tests.
12193 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12194 (overloadNamespace, XXX): New.
12195 (main): Call XXX::marker2.
12196
12197 2004-02-01 Fred Fish <fnf@redhat.com>
12198
12199 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12200 * gdb.base/finish.exp: Ditto.
12201 * gdb.base/gcore.exp: Ditto.
12202 * gdb.base/huge.exp: Ditto.
12203 * gdb.base/info-proc.exp: Ditto.
12204 * gdb.base/return2.exp: Ditto.
12205 * gdb.threads/gcore-thread.exp: Ditto.
12206
12207 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12208
12209 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12210
12211 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12212
12213 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12214 that opening the file succeeds on OpenBSD.
12215
12216 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12217
12218 * gdb.threads/thread-specific.c: New file.
12219 * gdb.threads/threads-specific.exp: New test script.
12220 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12221 to expect_out.
12222
12223 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12224
12225 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12226 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12227 only on the "print_small_structs from print_long_arg_list" test.
12228
12229 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12230
12231 * gdb.base/completion.exp: Kill a stray backslash.
12232
12233 From Jim Ingham <jingham@apple.com>:
12234 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12235 agrees with the result from sending a tab.
12236
12237 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12238
12239 * gdb.base/chng-syms.exp: Remove stray newline.
12240
12241 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12242
12243 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12244 *-*-openbsd*.
12245 * gdb.asm/openbsd.inc: New file.
12246
12247 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12248
12249 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12250 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12251 *-*solaris2*. Remove commented out default settings for
12252 asm-flags. Replace gdb_compile with target_link.
12253
12254 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12255
12256 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12257 for all tests. Remove old hp-ux and cygnus xfail cases.
12258
12259 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12260
12261 * gdb.base/chng-syms.exp: New file.
12262 * gdb.base/chng-syms.c: New file.
12263
12264 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12265
12266 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12267 Provide arms for current output in all my configurations.
12268
12269 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12270
12271 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12272 * lib/compiler.cc: Likewise.
12273 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12274 get the right preprocessor. Eval the output directly. Remove
12275 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12276 hp_f77_compiler and hp_f90_compiler completely.
12277 (gdb_preprocess): Delete.
12278 (get_compiler): Delete.
12279
12280 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12281
12282 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12283 <string.h>.
12284
12285 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12286
12287 * gdb.mi/mi-stack.exp: Update copyright.
12288
12289 2004-01-23 David Carlton <carlton@kealia.com>
12290
12291 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12292 test for cp_lookup_transparent_type.
12293 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12294 call them.
12295
12296 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12297
12298 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12299 after -var-update.
12300
12301 2004-01-23 David Carlton <carlton@kealia.com>
12302
12303 * gdb.cp/namespace.cc (C::ensureRefs): New.
12304 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12305
12306 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12307
12308 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12309 case "-stack-list-locals 2".
12310 * gdb.mi/mi-var-child.exp: Test for case
12311 "-var-list-children --all-values NAME".
12312
12313 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12314
12315 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12316
12317 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12318
12319 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12320 used with gdb_test_multiple.
12321
12322 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12323 read at address 0. This fixes PR testsuite/1504.
12324
12325 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12326
12327 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12328 Remove downloading, guessing the host executable, the calls to
12329 gdb_file_cmd and gdb_target_cmd, and "load" support.
12330 (infer_host_exec): New function broken out from gdb_load.
12331 (gdb_load): New wrapper for gdbserver_gdb_load.
12332 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12333 gdb_target_cmd. Use -target-select.
12334 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12335 Download binaries to the host. Clear last_mi_remote_file when
12336 we load a new binary.
12337 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12338 call gdbserver_gdb_load and mi_gdb_target_cmd.
12339
12340 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12341
12342 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12343 type patterns.
12344
12345 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12346
12347 * gdb.cp/templates.exp: Fix typo in test name of
12348 "print Foo<volatile char*>::foo".
12349
12350 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12351
12352 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12353
12354 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12355
12356 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12357 (clean mostlyclean): Remove empty rm.
12358
12359 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12360
12361 * gdb.base/setvar.exp: Add copyright years.
12362
12363 2004-01-14 David Carlton <carlton@bactrian.org>
12364
12365 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12366 PR c++/1511 and update coment.
12367 * gdb.cp/templates.exp: Update patterns to match current output.
12368 If changes involve something other than whitespace, KFAIL
12369 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12370
12371 2004-01-14 David Carlton <carlton@kealia.com>
12372
12373 * gdb.cp/namespace.exp: Add tests involving classes defined within
12374 namespaces.
12375 * gdb.cp/namespace.cc (C::CClass): New.
12376 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12377
12378 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12379
12380 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12381 what debug info we have. Print a better message if something goes
12382 wrong while producing the separate debug info file.
12383
12384 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12385
12386 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12387
12388 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12389
12390 * gdb.base/callfuncs.c: Add copyright notice.
12391
12392 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12393
12394 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12395 inheritance. PR gdb/1498, PR gcc/13539.
12396
12397 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12398
12399 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12400 test specific name.
12401 * gdb.mi/gdb669.exp: Ditto.
12402 * gdb.mi/mi-pthreads.exp: Ditto.
12403 * gdb.mi/mi1-pthreads.exp: Ditto.
12404 * gdb.mi/mi2-pthreads.exp: Ditto.
12405
12406 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12407
12408 * gdb.cp/member-ptr.cc: Add copyright notice.
12409
12410 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12411
12412 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12413 some patterns for recent versions of gcc and hpacc. Delete
12414 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12415 Delete tests that access a NULL pointer-to-member-data. This
12416 script is still disabled for gcc.
12417
12418 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12419
12420 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12421 escaped correctly.
12422
12423 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12424
12425 * gdb.base/sepdebug.exp: New file.
12426 * gdb.base/sepdebug.c: New file.
12427 * lib/gdb.exp (separate_debug_filename): New procedure.
12428 (gdb_gnu_strip_debug): New procedure.
12429
12430 2004-01-12 Andrew Cagney <cagney@redhat.com>
12431
12432 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12433 * gdb.mi/ChangeLog-1999-2003: New file.
12434
12435 2004-01-12 Andrew Cagney <cagney@redhat.com>
12436
12437 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12438 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12439 or EEXIST", treat EBUSY as an XFAIL.
12440
12441 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12442
12443 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12444 hp_cc_compiler.
12445
12446 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12447
12448 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12449 decorations.
12450
12451 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12452
12453 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12454 and "(aCC)" decorations. Remove obsolete doco about old
12455 test results.
12456
12457 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12458
12459 * gdb.cp/exception.exp: Fix typo in doco.
12460
12461 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12462
12463 * gdb.base/gdb1476.exp: Fix typo.
12464
12465 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12466
12467 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12468 file.
12469
12470 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12471
12472 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12473 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12474 Use gdb_compile. Remove restriction on gcc. Add some patterns
12475 for recent version of gdb. Delete second half, which was a copy
12476 of the first half with different build flags. This test is
12477 still disabled because it is still not ready for production.
12478
12479 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12480
12481 * gdb.cp/exception.cc: Add copyright notice.
12482 * gdb.cp/exception.exp: Add a notice that this file is broken
12483 because of line number changes caused by addition of copyright
12484 notice.
12485
12486 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12487
12488 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12489 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12490
12491 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12492
12493 * gdb.cp/classes.exp: Accept gnu abi 2.
12494 * gdb.cp/derivation.exp: Likewise.
12495 * gdb.cp/overload.exp: Likewise.
12496 * gdb.cp/virtfunc.exp: Likewise.
12497
12498 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12499
12500 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12501 semicolon after end of function.
12502
12503 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12506 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12507 boilerplate code for compiling and running the program under
12508 test. Add some string method tests.
12509
12510 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12511
12512 * gdb.cp/bs15503.cc: Add copyright notice.
12513 * gdb.cp/bs15503.exp: Adjust line number.
12514
12515 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12516
12517 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12518 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12519
12520 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12521
12522 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12523 hp_cc_compiler.
12524
12525 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12526
12527 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12528 * gdb.cp/ctti.exp: Use the marker instead of "next".
12529 With gcc, run further before bailing.
12530
12531 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 * gdb.cp/cttiadd.cc: Add copyright notice.
12534 * gdb.cp/cttiadd1.cc: Likewise.
12535 * gdb.cp/cttiadd2.cc: Likewise.
12536 * gdb.cp/cttiadd3.cc: Likewise.
12537
12538 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12539
12540 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12541 Use gdb_test, gdb_test_multiple. Use floating-point values that
12542 have exact representations in IEEE-ish formats.
12543
12544 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12545
12546 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12547 compilers. Delete duplicate call to get_compiler_info.
12548 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12549 * gdb.base/volatile.exp: Likewise.
12550
12551 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12552
12553 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12554 memory at address 0.
12555
12556 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12557
12558 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12559 to test for hp-ux assembler. Fix copyright years.
12560
12561 2004-01-07 Andrew Cagney <cagney@redhat.com>
12562
12563 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12564
12565 2004-01-07 Andrew Cagney <cagney@redhat.com>
12566
12567 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12568 when creating the read-only file. From analysis by Roland McGrath
12569 and Elena Zannoni.
12570
12571 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12572
12573 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12574
12575 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12576
12577 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12578 data pointers.
12579
12580 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12581
12582 * gdb.cp/m-static.exp: Compile one source file at a time.
12583 Delete unused call to get_compiler_info.
12584
12585 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12586
12587 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12588 * gdb.base/call-rt-st.exp: Likewise.
12589 * gdb.base/nodebug.exp: Likewise.
12590 * gdb.base/volatile.exp: Likewise.
12591 * gdb.cp/ref-types.exp: Likewise.
12592 * gdb.cp/templates.exp: Likewise.
12593
12594 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12595
12596 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12597
12598 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12599
12600 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12601 hppa*-hp-hpux*.
12602
12603 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12604
12605 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12606 x86_64-*-*.
12607
12608 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12609 sparc64-*-* and sparc*-solaris2*.
12610
12611 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12612
12613 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12614 return ${tests}" test. The ${tests} already mentions the
12615 filename.
12616
12617 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12618
12619 * gdb.cp/local.exp: Accept gcc abi 2.
12620
12621 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12622
12623 * gdb.cp/templates.exp: Accept gcc abi 2.
12624
12625 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12626
12627 * lib/compiler.cc: Remove supports_template_debugging.
12628 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12629
12630 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12631
12632 * gdb.cp/namespace.exp: Accept gcc abi 2.
12633
12634 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12635
12636 * gdb.cp/method.exp: Accept gcc abi 2.
12637
12638 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12639
12640 * gdb.cp/classes.exp: Generate identical results as old version.
12641 * gdb.cp/derivation.exp: Likewise.
12642 * gdb.cp/overload.exp: Likewise.
12643 * gdb.cp/virtfunc.exp: Likewise.
12644
12645 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12646
12647 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12648 mysterious bug with sourceware version of expect.
12649
12650 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12651
12652 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12653 current versions of gcc, including gcc abi 2. Remove gratuitous
12654 restart of test program. Use gdb_test_multiple and gdb_test for
12655 all tests. Add patterns to xfail missing "const" in "const char *"
12656 and kfail PR gdb/1155.
12657
12658 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12659
12660 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12661 current versions of gcc, including gcc abi 2. Remove gratuitous
12662 restart of test program. Use gdb_test_multiple and gdb_test for
12663 all tests. Add patterns to kfail PR gdb/1498.
12664
12665 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12666
12667 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12668 current versions of gcc, including gcc abi 2. Use "breakpoint"
12669 and "continue" instead of restarting the target program. Use
12670 gdb_test_multiple and gdb_test for all tests.
12671
12672 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12673
12674 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12675 for *-*-solaris2*.
12676
12677 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12678
12679 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12680 current versions of gcc, including gcc abi 2. Use "breakpoint"
12681 and "continue" instead of restarting the target program several
12682 times. Use gdb_test_multiple and gdb_test for all tests.
12683
12684 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12685
12686 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12687 source files.
12688
12689 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12690
12691 * gdb.base/environ.exp: Handle compiling test case from multiple
12692 source files.
12693
12694 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12695
12696 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12697
12698 2003-12-17 Jim Blandy <jimb@redhat.com>
12699
12700 * gdb.base/freebpcmd.c: Add copyright notice.
12701
12702 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12703
12704 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12705
12706 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12707
12708 2003-12-13 Jim Blandy <jimb@redhat.com>
12709
12710 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12711
12712 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12713
12714 * gdb.asm/frv.inc: New file.
12715 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12716
12717 2003-12-09 Fred Fish <fnf@redhat.com>
12718
12719 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12720 functions to break1.c and leave prototypes behind. Add more
12721 "set breakpoint NN here" comments.
12722 * gdb.base/break1.c: New file.
12723
12724 * gdb.base/break.exp: Handle compiling test case from multiple
12725 source files and change source file references as needed.
12726 * gdb.base/completion.exp: Ditto.
12727 * gdb.base/condbreak.exp: Ditto.
12728 * gdb.base/define.exp: Ditto.
12729 * gdb.base/ena-dis-br.exp: Ditto.
12730 * gdb.base/info-proc.exp: Ditto.
12731 * gdb.base/maint.exp: Ditto.
12732 * gdb.base/until.exp: Ditto.
12733
12734 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12735 hardcoded line numbers.
12736 * gdb.base/define.exp: Ditto.
12737 * gdb.base/ena-dis-br.exp: Ditto.
12738 * gdb.base/maint.exp: Ditto.
12739 * gdb.base/until.exp: Ditto.
12740
12741 * gdb.base/completion.exp: Use "break1" for completion tests since
12742 "break" is no longer a unique prefix.
12743
12744 2003-12-06 Andrew Cagney <cagney@redhat.com>
12745
12746 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12747 "return_value_unimplemented". When an unimplemented struct return
12748 architecture, report incorrect values as a KFAIL
12749
12750 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12751
12752 * gdb.cp/rtti.exp: Accept new wording of warning from
12753 cp_lookup_rtti_type.
12754
12755 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12756
12757 Partial fix for PR testsuite/1456.
12758 * gdb.base/scope.exp (test_at_main): Replace references to
12759 gcc_compiled with calls to test_compiler_info.
12760 (test_at_foo): Likewise.
12761 (test_at_bar): Likewise.
12762
12763 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12764
12765 Partial fix for PR testsuite/1456.
12766 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12767 to test_compiler_info.
12768
12769 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12770
12771 * gdb.base/so-impl-ld.exp: Update copyright notice.
12772
12773 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12774
12775 Partial fix for PR testsuite/1456.
12776 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12777 to test_compiler_info.
12778
12779 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12780
12781 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12782 from current versions of gdb. Clean up regular expressions.
12783 Delete redundant timeout case.
12784
12785 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12786
12787 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12788 from current versions of gdb. Clean up regular expressions.
12789 Delete redundant timeout case.
12790
12791 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12792
12793 Partial fix for PR testsuite/1456.
12794 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12795 gcc_compiled with call to test_compiler_info.
12796
12797 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12798
12799 Partial fix for PR testsuite/1456.
12800 * gdb.base/list.exp (test_list_function): Delete unused declaration
12801 of gcc_compiled.
12802
12803 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12804
12805 Partial fix for PR testsuite/1456.
12806 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12807 call to test_compiler_info.
12808
12809 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12810
12811 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12812 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12813 it to create the appropriate note.inc.
12814 * gdb.asm/asmsrc1.s: Include "note.inc".
12815 * gdb.asm/netbsd.inc: New file.
12816 * gdb.asm/empty.inc: New file.
12817
12818 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12819
12820 Partial fix for PR testsuite/1456.
12821 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12822 calls to test_compiler_info.
12823
12824 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12825
12826 Partial fix for PR testsuite/1456.
12827 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12828 calls to test_compiler_info.
12829
12830 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12831
12832 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12833 pattern for the KFAILs.
12834
12835 2003-11-25 Adam Fedor <fedor@gnu.org>
12836
12837 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12838 * gdb.objc/objcdecode.m: New file.
12839
12840 2003-11-25 Adam Fedor <fedor@gnu.org>
12841
12842 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12843 * gdb.objc/nondebug.m: New file.
12844
12845 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12846
12847 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12848 NetBSD as it does on FreeBSD. Modelled on a similar change by
12849 Mark Kettenis on 2003-05-30.
12850 (link-flags): Set to "--entry _start" regardless of target.
12851 Special linker flags are to be appended to $link-flags.
12852 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12853
12854 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12855
12856 * gdb.cp/method.exp: Accept output of new demangler.
12857
12858 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12859
12860 * gdb/class2.exp: New file.
12861 * gdb/class2.cc: New file.
12862
12863 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12864
12865 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12866 of new demangler.
12867
12868 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12869
12870 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12871 of gdb_test "run".
12872
12873 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12874
12875 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12876 "continue" into "run".
12877
12878 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12879
12880 Partial fix for PR testsuite/1456.
12881 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12882 call to test_compiler_info.
12883 * gdb.cp/ctti.exp: Likewise.
12884 * gdb.cp/derivation.exp: Likewise.
12885 * gdb.cp/member-ptr.exp: Likewise.
12886 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12887 reference to gcc_compiled.
12888
12889 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12890
12891 Fix PR testsuite/1463.
12892 * gdb.base/structs.exp (start_structs_test): Call
12893 get_debug_format before using the debug format.
12894
12895 2003-11-22 Andrew Cagney <cagney@redhat.com>
12896
12897 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12898 * gdb.base/structs.exp: Use gdb_test_multiple.
12899
12900 2003-11-20 Andrew Cagney <cagney@redhat.com>
12901
12902 * gdb.base/structs.exp: Handle and recover from internal errors.
12903 Replace "foo${n}" with "foo<n>" in test messages.
12904
12905 * gdb.base/structs.exp: Update copyright. Rewrite.
12906 * gdb.base/structs.c: Update copyright. Rewrite.
12907
12908 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12909 resync count exceeded.
12910
12911 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12912 from the internal error.
12913 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12914 Original from Jim Blandy.
12915 (gdb_test_multiple): Use gdb_internal_error_resync.
12916
12917 2003-11-19 Andrew Cagney <cagney@redhat.com>
12918
12919 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12920 KFAIL.
12921
12922 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12923
12924 New testcase for PR backtrace/1435.
12925 * gdb.arch/i386-unwind.exp: New file.
12926 * gdb.arch/i386-unwind.c: New file.
12927
12928 2003-11-17 Andrew Cagney <cagney@redhat.com>
12929
12930 * lib/gdb.exp (compiler_info): New global.
12931 (test_compiler_info): New function.
12932 (get_compiler_info): Set compiler_info.
12933 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12934 "compiler_info" to gcc-<major>-<minor>.
12935
12936 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12937
12938 * gdb.trace/configure: Remove.
12939
12940 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12941
12942 * gdb.base/break.c: Add comments to aid finding line numbers for
12943 breakpoints.
12944 * gdb.base/break.exp: Remove all references to explicit line
12945 numbers.
12946
12947 2003-11-11 Nick Clifton <nickc@redhat.com>
12948
12949 * gdb.base/shreloc.exp: Do not run for targets which do not
12950 support shared objects.
12951
12952 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12953
12954 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12955 Don't run tests if nofileio flag is given.
12956
12957 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12958
12959 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12960 as well as 'Watchpoint'.
12961
12962 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12963
12964 Reported by Jim Ingham <jingham@apple.com>:
12965 * gdb.base/annota1.exp: Match at least one occurrence of the
12966 signal handler annotation.
12967
12968 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12969
12970 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12971 as well as 'Watchpoint'.
12972
12973 2003-11-05 Michael Chastain <mec@shout.net>
12974
12975 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12976
12977 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12978
12979 * gdb.arch/gdb1291.c: New test file.
12980 * gdb.arch/gdb1291.exp: New test script.
12981 * gdb.arch/gdb1431.c: New test file.
12982 * gdb.arch/gdb1431.exp: New test script.
12983
12984 2003-10-22 Michael Chastain <mec@shout.net>
12985
12986 * gdb.mi/pthreads.c: Add copyright notice.
12987
12988 2003-10-22 Michael Chastain <mec@shout.net>
12989
12990 * gdb.threads/pthreads.c: Add copyright notice.
12991
12992 2003-10-20 Michael Chastain <mec@shout.net>
12993
12994 * gdb.base/gdb1056.exp: New test script.
12995
12996 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12997
12998 * gdb.threads/killed.exp: Use gdb_run_cmd.
12999
13000 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13001
13002 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13003 create a core file.
13004 * gdb.threads/gcore-thread.exp: Likewise.
13005
13006 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13007
13008 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13009 type, based on char type.
13010 (struct bit_flags_short_t): New bitfield type, based on short type.
13011 (init_bit_flags_char): New fuction.
13012 (init_bit_flags_short): Ditto.
13013 (print_bit_flags_char): Ditto.
13014 (print_bit_flags_short): Ditto.
13015 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13016
13017 2003-10-11 Michael Chastain <mec@shout.net>
13018
13019 * gdb.base/call-rt-st.exp: Update copyright year.
13020
13021 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13022
13023 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13024 * gdb.disasm/sh3.s: Ditto.
13025
13026 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13027
13028 * gdb.threads/switch-threads.exp: New test.
13029 * gdb.threads/switch-threads.c: New source file.
13030
13031 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13032
13033 * gdb.base/ending-run.exp: Add sh specific case.
13034
13035 2003-10-06 Andrew Cagney <cagney@redhat.com>
13036
13037 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13038 * gdb.disasm/mn10200.exp: Delete obsolete file.
13039
13040 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13041
13042 * ChangeLog: Correct an entry command.exp -> commands.exp.
13043 * gdb.base/commands.exp (bp_deleted_in_command_test)
13044 (temporary_breakpoint_commands): Check noargs.
13045
13046 2003-09-25 David Carlton <carlton@kealia.com>
13047
13048 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13049 of some print tests, where appropriate. Add tests for C::D::cd,
13050 E::ce, F::cXfX, G::XgX.
13051 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13052
13053 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13054
13055 * lib/java.exp (java_init): Import target_alias before using it.
13056
13057 2003-09-25 David Carlton <carlton@kealia.com>
13058
13059 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13060
13061 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13062
13063 * gdb.base/selftest.exp: Accomodate more instruction reordering
13064 weirdness.
13065
13066 2003-09-17 Michael Chastain <mec@shout.net>
13067
13068 * gdb.cp/gdb1355.exp: New file.
13069 * gdb.cp/gdb1355.c: New file.
13070
13071 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13072
13073 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13074 * gdb.asm/sh.inc: New file.
13075
13076 2003-09-11 David Carlton <carlton@kealia.com>
13077
13078 * gdb.cp/namespace.exp: Add tests for namespace types.
13079 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13080 (test_namespace): New.
13081
13082 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13083
13084 * gdb.base/relocate.exp: Handle new gdb output at startup.
13085 * gdb.stabs/weird.exp: Ditto.
13086
13087 2003-09-08 Michael Chastain <mec@shout.net>
13088
13089 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13090
13091 2003-09-07 Michael Chastain <mec@shout.net>
13092
13093 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13094 'parse error'.
13095
13096 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13097
13098 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13099
13100 2003-08-30 Michael Chastain <mec@shout.net>
13101
13102 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13103 * gdb.gdb/observer.exp: Ditto.
13104 * gdb.gdb/xfullpath.exp: Ditto.
13105
13106 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13107
13108 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13109 *-*-*bsd*.
13110
13111 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13112
13113 * gdb.base/dump.exp: Skip for ia64.
13114
13115 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13116
13117 * gdb.asm/asm-source.exp: Add ia64 support.
13118 * gdb.asm/ia64.inc: New file.
13119
13120 2003-08-22 Michael Chastain <mec@shout.net>
13121
13122 * gdb.cp: New directory.
13123 * gdb.cp/*: Copy from gdb.c++/*.
13124 * gdb.c++/*: Remove.
13125 * Makefile.in: Change gdb.c++ to gdb.cp.
13126 * configure.in: Ditto.
13127 * configure: Regnerate.
13128
13129 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13130
13131 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13132 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13133
13134 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13135
13136 * mi-var-display.exp (-var-list-children weird): Accept function
13137 pointers with argument types.
13138 * mi1-var-display.exp (-var-list-children weird): Likewise.
13139 * mi2-var-display.exp (-var-list-children weird): Likewise.
13140
13141 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13142
13143 * gdb.base/annota3.exp: Add missing newline.
13144
13145 2003-08-06 Michael Chastain <mec@shout.net>
13146
13147 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13148
13149 2003-08-12 Michael Snyder <msnyder@redhat.com>
13150
13151 * gdb.base/float.exp: Add test for SH.
13152
13153 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13154
13155 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13156
13157 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13158
13159 * gdb.base/completion.exp: Remove reduntant completion test
13160 on filename.
13161
13162 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13163
13164 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13165 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13166 gdb.trace/save-trace.exp: Make sure that full pathnames are
13167 escaped correctly.
13168
13169 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13170
13171 * configure.in: Don't generate config.h from config.hin.
13172 * configure: Regenerate.
13173 * config.hin: Remove file.
13174 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13175 * gdb.threads/pthreads.c: Ditto.
13176
13177 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13178
13179 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13180 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13181 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13182 Replace ld24 with seth/add3.
13183
13184 2003-08-02 Andrew Cagney <cagney@redhat.com>
13185
13186 * gdb.base/annota3.exp: New file.
13187 * gdb.base/annota3.c: New file.
13188 * gdb.c++/annota3.exp: New file.
13189 * gdb.c++/annota3.cc: New file.
13190
13191 2003-07-29 Michael Chastain <mec@shout.net>
13192
13193 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13194 actually failed.
13195 (do_pass): Likewise.
13196 * gdb.threads/tls.exp: Always initialize no_of_threads.
13197
13198 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13199
13200 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13201 pattern.
13202 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13203 * gdb.threads/tls.exp: Recognize one case of the host library not
13204 supporting TLS.
13205
13206 2003-07-27 Andrew Cagney <cagney@redhat.com>
13207
13208 * gdb.base/fileio.exp: Use SH when running commands using
13209 remote_exec.
13210
13211 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13212
13213 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13214 * gdb.base/relocate.c (dummy): New padding array.
13215
13216 2003-07-22 Michael Snyder <msnyder@redhat.com>
13217
13218 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13219
13220 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13221 patterns to be more general, accepting old and new output.
13222 Some output chars (such as '+') also must be quoted.
13223 Some addresses are displayed numerically instead of
13224 symbolically.
13225
13226 2003-07-23 Michael Snyder <msnyder@redhat.com>
13227
13228 * gdb.base/return2.exp: Don't test long-long return.
13229
13230 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13231 * gdb.disasm/t01_mov.exp: Ditto.
13232 * gdb.disasm/t02_mova.s: Ditto.
13233 * gdb.disasm/t02_mova.exp: Ditto.
13234 * gdb.disasm/t03_add.s: Ditto.
13235 * gdb.disasm/t03_add.exp: Ditto.
13236 * gdb.disasm/t04_sub.s: Ditto.
13237 * gdb.disasm/t04_sub.exp: Ditto.
13238 * gdb.disasm/t05_cmp.s: Ditto.
13239 * gdb.disasm/t05_cmp.exp: Ditto.
13240 * gdb.disasm/t06_ari2.s: Ditto.
13241 * gdb.disasm/t06_ari2.exp: Ditto.
13242 * gdb.disasm/t07_ari3.s: Ditto.
13243 * gdb.disasm/t07_ari3.exp: Ditto.
13244 * gdb.disasm/t08_or.s: Ditto.
13245 * gdb.disasm/t08_or.exp: Ditto.
13246 * gdb.disasm/t09_xor.s: Ditto.
13247 * gdb.disasm/t09_xor.exp: Ditto.
13248 * gdb.disasm/t10_and.s: Ditto.
13249 * gdb.disasm/t10_and.exp: Ditto.
13250 * gdb.disasm/t11_logs.s: Ditto.
13251 * gdb.disasm/t11_logs.exp: Ditto.
13252 * gdb.disasm/t12_bit.s: Ditto.
13253 * gdb.disasm/t12_bit.exp: Ditto.
13254 * gdb.disasm/t13_otr.s: Ditto.
13255 * gdb.disasm/t13_otr.exp: Ditto.
13256
13257 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13258
13259 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13260
13261 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13262
13263 * gdb.threads/tls.c : New file.
13264 * gdb.threads/tls.exp : New file.
13265 * gdb.threads/tls-main.c : New file.
13266 * gdb.threads/tls-shared.c : New file.
13267 * gdb.threads/tls-shared.exp : New file.
13268
13269 2003-07-22 Andreas Schwab <schwab@suse.de>
13270
13271 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13272
13273 2003-07-20 Andreas Schwab <schwab@suse.de>
13274
13275 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13276 due to insn reordering.
13277
13278 2003-07-15 Andrew Cagney <cagney@redhat.com>
13279
13280 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13281
13282 2003-07-15 Michael Chastain <mec@shout.net>
13283
13284 * gdb.base/gdb1250.exp: New file.
13285 * gdb.base/gdb1250.c: New file.
13286
13287 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13288
13289 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13290 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13291
13292 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13293
13294 * gdb.threads/tls.c: New file.
13295 * gdb.threads/tls.exp: New file.
13296 * gdb.threads/tls-main.c: New file.
13297 * gdb.threads/tls-shared.c: New file.
13298 * gdb.threads/tls-shared.exp: New file.
13299
13300 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13301
13302 * gdb.base/annota1.exp: Make sure that we properly escape the
13303 full path of the source file. Xfail more permissive patterns,
13304 due to a compiler debug info problem.
13305
13306 2003-07-07 Andreas Schwab <schwab@suse.de>
13307
13308 * gdb.asm/m68k.inc: New file.
13309 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13310
13311 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13312 arguments"): Also match negative number.
13313
13314 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13315
13316 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13317
13318 * gdb.base/store.c (charest): New typedef.
13319 (add_char): Rename to add_charest, update.
13320 (wack_char): Rename to wack_charest, update types. Return l + r
13321 to keep r live across the call.
13322 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13323 (wack_double, wack_doublest): Return l + r to keep r live across
13324 the call.
13325 * gdb.base/store.exp: Accomodate store.c changes.
13326
13327 2003-06-30 David Carlton <carlton@kealia.com>
13328
13329 * gdb.c++/maint.exp (test_invalid_name): New.
13330 (test_first_component): Add tests for invalid names.
13331
13332 2003-06-29 Michael Chastain <mec@shout.net>
13333
13334 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13335 output of '<VTT for class>' for virtual base classes.
13336
13337 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13338
13339 * gdb.base/completion.exp: Tab-complete "complet" instead of
13340 "compl".
13341 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13342
13343 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13344
13345 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13346 * gdb.base/volatile.exp: Likewise.
13347
13348 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13349
13350 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13351 gdb/1265.
13352
13353 2003-06-28 Michael Chastain <mec@shout.net>
13354 Daniel Jacobowitz <drow@mvista.com>
13355
13356 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13357 initial line count of 'captured_main' from 26 to 32.
13358 (test_with_self): Allow xmalloc call to be interleaved with the
13359 preceding two lines.
13360
13361 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13362
13363 * gdb.base/bang.exp: New testcase.
13364
13365 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13366
13367 * gdb.base/langs.exp: Add some tests for the "minimal" language
13368 support.
13369
13370 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13371
13372 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13373 the testcase.
13374
13375 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13376
13377 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13378 offset.
13379
13380 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13381
13382 * gdb.c++/pr-1210.cc: New file.
13383 * gdb.c++/pr-1210.exp: New file.
13384
13385 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13386
13387 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13388 000-exec-continue.
13389
13390 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13391
13392 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13393 on *-*-*bsd* instead of *-*-freebsd*.
13394
13395 2003-06-14 Andrew Cagney <cagney@redhat.com>
13396
13397 * gdb.base/store.exp: Test longest and doublest. Test all
13398 parameters. Weaken return statement match.
13399 * gdb.base/store.c: Add longest and doublest - aka long long and
13400 long double functions. Put all parameters into local register
13401 variables. Use negative values.
13402
13403 2003-06-14 Andrew Cagney <cagney@redhat.com>
13404
13405 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13406 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13407 exit status.
13408 * gdb.base/fileio.exp: Disable target when nointerrupts and
13409 noinferiorio, instead of limiting it to remote. Use remote_exec
13410 instead of system.
13411
13412 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13413
13414 * gdb.base/float.exp: Add ia64 support.
13415
13416 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13417
13418 * gdb.base/fileio.exp: Run only on remote targets.
13419
13420 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13421
13422 * gdb.base/fileio.c: New file, testing File-I/O.
13423 * gdb.base/fileio.exp: Ditto.
13424
13425 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13426
13427 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13428 shared objects after relocation at load time (gdb PR/1132).
13429 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13430 as above, part of the shared object relocation test.
13431
13432 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13433
13434 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13435 fully filled history list.
13436 * gdb.base/gdb_history: New file.
13437
13438 * gdb.base/signals.exp: XFAIL "continue to func1" on
13439 i*86-*-freebsd*.
13440
13441 * gdb.base/attach.exp: When trying to attach to a nonexistent
13442 process, make it possible to specify the PID based on the target,
13443 and do so for *-*-freebsd*.
13444
13445 2003-06-02 Richard Henderson <rth@redhat.com>
13446
13447 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13448
13449 2003-06-02 Richard Henderson <rth@redhat.com>
13450
13451 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13452
13453 2003-06-02 Richard Henderson <rth@redhat.com>
13454
13455 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13456
13457 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13458
13459 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13460 of globalvar.
13461
13462 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13463
13464 * gdb.asm/asm-source.exp: Check for memory read errors in
13465 disassembler test on *BSD too.
13466
13467 2003-06-01 Richard Henderson <rth@redhat.com>
13468
13469 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13470 for .frame.
13471 (gdbasm_call): Lose ldgp.
13472 (gdbasm_startup): Add frame information.
13473 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13474
13475 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13476
13477 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13478 i?86-*-*.
13479
13480 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13481
13482 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13483 FreeBSD.
13484
13485 2003-05-29 Richard Henderson <rth@redhat.com>
13486
13487 * gdb.asm/alpha.inc: New file.
13488 * gdb.asm/asm-source.exp: Use it.
13489
13490 2003-05-29 Jim Blandy <jimb@redhat.com>
13491
13492 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13493 'core.PID'.
13494
13495 2003-05-22 Jim Blandy <jimb@redhat.com>
13496
13497 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13498 backtrace.
13499
13500 2003-05-20 David Carlton <carlton@math.stanford.edu>
13501
13502 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13503 this time.
13504
13505 2003-05-19 David Carlton <carlton@bactrian.org>
13506
13507 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13508 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13509
13510 2003-05-19 David Carlton <carlton@bactrian.org>
13511
13512 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13513 namespace tests.
13514 Bump copyright date.
13515 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13516 (main): Call C::D::marker2.
13517 * gdb.c++/namespace1.cc: New file.
13518
13519 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13520
13521 Roland McGrath <roland@redhat.com>
13522 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13523 there is no manager thread.
13524
13525 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13526
13527 * gdb.threads/schedlock.exp: Remove assumption that all threads
13528 will run in a particular small time slice. Also ensure we break
13529 in one of the child threads rather than the main thread.
13530
13531 2003-05-07 Jim Blandy <jimb@redhat.com>
13532
13533 Add support for assembly source testing on the s390x.
13534 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13535 architecture.
13536 * gdb.asm/s390x.inc: New file.
13537
13538 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13539 succession of 'if' statements.
13540
13541 2003-05-05 Andrew Cagney <cagney@redhat.com>
13542
13543 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13544
13545 2003-05-05 Andrew Cagney <cagney@redhat.com>
13546
13547 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13548 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13549
13550 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13551
13552 * gdb.base/charset.exp: Update based on new behavior of set/show
13553 charset commands.
13554
13555 2003-05-01 Andrew Cagney <cagney@redhat.com>
13556
13557 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13558 variable do not give memory errors.
13559
13560 2003-04-30 Adam Fedor <fedor@gnu.org>
13561
13562 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13563 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13564 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13565 gdb.objc/basicclass.m: : New files
13566
13567 * lib/gdb.exp (gdb_compile_objc): New procedure.
13568
13569 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13570
13571 * gdb.base/signals.exp: Make backtrace tests more specific.
13572
13573 2003-04-23 David Carlton <carlton@bactrian.org>
13574
13575 * gdb.c++/maint.exp (test_first_component): Add tests for
13576 'operator' in more locations.
13577
13578 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13579
13580 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13581
13582 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13583
13584 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13585 func marke' instead. Update test name.
13586
13587 2003-04-15 David Carlton <carlton@math.stanford.edu>
13588
13589 * gdb.c++/maint.exp: New file.
13590
13591 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13592
13593 * gdb.threads/schedlock.c: Change type of thread function argument
13594 to long, to avoid warnings on 64-bit platforms.
13595
13596 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13597
13598 * gdb.base/attach.exp: Add new message from ptrace in case of
13599 attaching to nonexistent process.
13600
13601 2003-04-11 Jim Blandy <jimb@redhat.com>
13602
13603 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13604 gdb.c++/userdef.cc: Place comments on the lines to which the
13605 marker function might return.
13606 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13607 gdb.c++/userdef.exp: Look for those comments to check that we've
13608 returned to the right place, instead of checking line numbers.
13609
13610 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13611
13612 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13613 match on sourcefile name, instead of directory name.
13614
13615 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13616
13617 * gdb.base/completion.exp: Use string_to_regexp to match the
13618 working directory name.
13619
13620 2003-04-09 Jim Blandy <jimb@redhat.com>
13621
13622 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13623 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13624 after an inferior function call, report the failure, but allow the
13625 test to continue.
13626
13627 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13628
13629 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13630 with -DPROTOTYPES.
13631
13632 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13633
13634 * gdb.base/break.exp: Revert last patch.
13635
13636 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13637
13638 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13639 with -DPROTOTYPES.
13640
13641 2003-04-02 Andrew Cagney <cagney@redhat.com>
13642
13643 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13644 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13645 matching directories by the name breakpoint.
13646 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13647 Make "continue to marker1" consistent.
13648 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13649 message consistent.
13650 * lib/gdb.exp: Put "the program is no longer running", and "the
13651 program exited" in parenthesis.
13652 * lib/mi-support.exp: Ditto.
13653
13654 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13655
13656 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13657
13658 2003-03-29 Andrew Cagney <cagney@redhat.com>
13659
13660 * gdb.base/sizeof.c (main): Print the value of '\377'.
13661 * gdb.base/sizeof.exp: Check the sign of '\377'.
13662
13663 2003-03-27 Michael Chastain <mec@shout.net>
13664
13665 * gdb.base/gdb1090.exp: New file.
13666 * gdb.base/gdb1090.cc: New file.
13667
13668 2003-03-27 J. Brobecker <brobecker@gnat.com>
13669
13670 * gdb.gdb/observer.exp: New regression test.
13671
13672 2003-03-27 Michael Chastain <mec@shout.net>
13673
13674 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13675 * gdb.base/ptype.exp: Likewise.
13676
13677 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13678
13679 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13680
13681 2003-03-26 Michael Chastain <mec@shout.net>
13682
13683 * gdb.base/ptype.exp: Actually use some typedef'd types.
13684
13685 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13686
13687 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13688 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13689
13690 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13691
13692 * gdb.base/default.exp: Fix regular expression.
13693
13694 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13695
13696 * gdb.base/args.exp: Fix regular expression.
13697
13698 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13699
13700 * gdb.base/help.exp: Allow Win32 child process.
13701
13702 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13703
13704 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13705 when stepping out of main().
13706
13707 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13708
13709 * gdb.base/default.exp: Check for win32 specific message when calling
13710 "run" without executable.
13711
13712 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13713
13714 * gdb.base/args.exp: Expect .exe in output.
13715
13716 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13717
13718 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13719 Cygwin native.
13720
13721 2003-03-17 Andrew Cagney <cagney@redhat.com>
13722
13723 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13724 vector registes.
13725 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13726 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13727
13728 2003-03-17 David Carlton <carlton@math.stanford.edu>
13729
13730 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13731 test, for PR breakpoints/38.
13732 Call test_watchpoint_and_breakpoint.
13733 * gdb.base/watchpoint.c (func3): New function.
13734 (main): Call func3.
13735
13736 2003-03-04 David Carlton <carlton@math.stanford.edu>
13737
13738 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13739 Garply<Garply<char> >:: garply".
13740 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13741 with respect to PR c++/1111; note also PR c++/1113.
13742 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13743 respect to PR c++/1062.
13744 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13745
13746 2003-03-03 David Carlton <carlton@math.stanford.edu>
13747
13748 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13749 with respect to PR c++/57.
13750 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13751 c++/826.
13752 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13753 respect to PR c++/57.
13754
13755 2003-03-03 David Carlton <carlton@math.stanford.edu>
13756
13757 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13758 respect to PR c++/33 into FAILs.
13759
13760 2003-03-03 Michael Chastain <mec@shout.net>
13761
13762 * configure.in: Update copyright years.
13763
13764 2003-03-03 Michael Chastain <mec@shout.net>
13765
13766 * Makefile.in: Update copyright years.
13767
13768 2003-02-28 David Carlton <carlton@math.stanford.edu>
13769
13770 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13771 print class instead of struct and/or superfluous protection
13772 specifiers, as long as the resulting output is equivalent to the
13773 source code.
13774 Delete FIXME from end of messages on tests that don't need
13775 fixing.
13776
13777 2003-02-28 David Carlton <carlton@math.stanford.edu>
13778
13779 * gdb.c++/templates.exp (do_tests): Allow const in the two
13780 Foo<volatile char *>::foo tests.
13781
13782 2003-02-27 Michael Snyder <msnyder@redhat.com>
13783
13784 * gdb.base/restore.c (main): Return zero, so exit code
13785 will be consistant.
13786
13787 2003-02-26 David Carlton <carlton@math.stanford.edu>
13788
13789 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13790 char *>::foo" test with respect to PR c++/33. Create a new test
13791 which is identical to that one except that it doesn't put the
13792 space between the "char" and the "*"; KFAIL it, too.
13793
13794 2003-02-26 David Carlton <carlton@math.stanford.edu>
13795
13796 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13797 template types into either PASSes or KFAILs (corresponding to PR
13798 c++/57). Tweak indentation. Update copyright.
13799
13800 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13801
13802 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13803
13804 2003-02-13 Michael Chastain <mec@shout.net>
13805
13806 * gdb.base/exprs.exp: Remove i960 remnants.
13807 * gdb.base/funcargs.exp: Likewise.
13808 * gdb.base/list.exp: Likewise.
13809 * gdb.base/ptype.exp: Likewise.
13810
13811 2003-02-14 David Carlton <carlton@math.stanford.edu>
13812
13813 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13814 pEe->D::vg()" from XFAIL to KFAIL.
13815
13816 2003-02-13 Jason Molenda (jmolenda@apple.com)
13817
13818 * gdb.base/maint.exp: Update maint print statistics regexp to include
13819 new entries.
13820
13821 2003-02-13 Michael Chastain <mec@shout.net>
13822
13823 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13824
13825 2003-02-12 Michael Chastain <mec@shout.net>
13826
13827 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13828 * gdb.c++/inherit.exp: Likewise.
13829 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13830 * gdb.c++/templates.exp: Likewise.
13831 * gdb.c++/virtfunc.exp: Likewise.
13832
13833 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13834
13835 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13836 why the code is written that way.
13837
13838 2003-02-05 Michael Chastain <mec@shout.net>
13839
13840 * gdb.base/dump.exp: Add missing copyright line.
13841
13842 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13843
13844 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13845 at the beginning so the breakpoint doesn't get set on the loop.
13846
13847 2003-02-05 Michael Chastain <mec@shout.net>
13848
13849 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13850 output for configurations with gcc 2.95.3.
13851
13852 2003-02-05 Keith Seitz <keiths@redhat.com>
13853 Andrew Cagney <ac131313@redhat.com>
13854
13855 * gdb.mi/mi-cli.exp: New file.
13856
13857 2003-02-04 Michael Chastain <mec@shout.net>
13858
13859 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13860 Call perror and then continue.
13861
13862 2003-02-03 Michael Chastain <mec@shout.net>
13863
13864 * gdb.c++/pr-1023.cc: New file.
13865 * gdb.c++/pr-1023.exp: New file.
13866
13867 2003-02-05 Jim Blandy <jimb@redhat.com>
13868
13869 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13870 it's local to foobar. Check for it there, and check that it's not
13871 present in main.
13872 * gdb.c++/local.cc (marker2): New function.
13873 (foobar): Call marker1.
13874 (main): Call marker2 instead of marker1.
13875
13876 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13877
13878 * gdb.disasm/mn10200.exp: Obsolete file.
13879 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13880 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13881 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13882
13883 2003-02-04 David Carlton <carlton@math.stanford.edu>
13884
13885 * gdb.c++/overload.exp: Test intToChar(1).
13886 * gdb.c++/overload.cc (intToChar): New.
13887 (main): Call intToChar.
13888
13889 2003-02-03 David Carlton <carlton@math.stanford.edu>
13890
13891 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13892 'might_kfail' arg.
13893 KFAIL some of the continue_to_bp_overloaded calls, according to
13894 PR c++/1025.
13895
13896 2003-02-01 Michael Chastain <mec@shout.net>
13897
13898 * gdb.base/advance.c (marker1): New marker function.
13899 * gdb.base/advance.exp: When the 'advance' command lands on the
13900 return breakpoint, it can legitimately stop on either the
13901 current line or the next line. Accommodate both outcomes.
13902 * gdb.base/until.exp: Likewise.
13903
13904 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13905
13906 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13907 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13908 now a list, not a tuple.
13909 * gdb.mi/mi-var-display.exp: Ditto.
13910 * gdb.mi/gdb792.exp: Ditto.
13911
13912 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13913
13914 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13915 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13916 stack backtraces.
13917 * gdb.mi/mi-syn-frame.c: Part of same.
13918
13919 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13920
13921 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13922 gdb.mi/mi1-pthreads.exp: Return instead of calling
13923 gdb_suppress_entire_file.
13924
13925 2003-02-01 Mark Salter <msalter@redhat.com>
13926
13927 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13928
13929 2003-01-31 Mark Salter <msalter@redhat.com>
13930
13931 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13932 Support empty arg.
13933
13934 2003-01-30 Michael Chastain <mec@shout.net>
13935
13936 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13937 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13938 has been fixed in gdb/readline on 2003-01-09.
13939
13940 2003-01-29 Michael Snyder <msnyder@redhat.com>
13941
13942 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13943 * gdb.base/display.exp: Allow for leading underscore in symbol.
13944 * gdb.base/args.exp: Skip if target does not support args passing.
13945
13946 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13947
13948 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13949 gdb_test. Accept a list of expect arguments as the third
13950 parameter.
13951 (gdb_test): Use it.
13952
13953 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13954
13955 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13956 allow for different test tree configurations. Update some
13957 tescases accordingly.
13958 * gdb.arch/altivec-regs.exp: Ditto.
13959 * gdb.asm/asm-source.exp: Ditto.
13960 * gdb.base/advance.exp: Ditto.
13961 * gdb.base/display.exp: Ditto.
13962 * gdb.base/long_long.exp: Ditto.
13963 * gdb.base/mips_pro.exp: Ditto.
13964 * gdb.base/overlays.exp: Ditto.
13965 * gdb.base/relocate.exp: Ditto.
13966 * gdb.base/setshow.exp: Ditto.
13967 * gdb.base/step-line.exp: Ditto.
13968 * gdb.base/step-test.exp: Ditto.
13969 * gdb.base/until.exp: Ditto.
13970 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13971
13972 2003-01-17 David Carlton <carlton@math.stanford.edu>
13973
13974 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13975 corresponding to PR c++/945.
13976 Update copyright.
13977
13978 2003-01-17 David Carlton <carlton@math.stanford.edu>
13979
13980 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13981 corresponding to PR c++/68.
13982
13983 2003-01-17 David Carlton <carlton@math.stanford.edu>
13984
13985 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13986 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13987 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13988
13989 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13990
13991 * gdb.base/break.exp: Fix change of default location, because of
13992 removal of until tests.
13993 * gdb.base/help.exp: Update test for new 'until' help message.
13994 Add test for help on 'advance'.
13995 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13996
13997 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13998
13999 * gdb.base/default.exp: Adapt "info float" test for recent changes
14000 to that command. Add test for "info vector".
14001 * gdb.base/float.exp: New file. Add test for "info float" that
14002 resembles the old test in gdb.base/default.exp.
14003
14004 2003-01-15 David Carlton <carlton@math.stanford.edu>
14005
14006 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14007
14008 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14009
14010 * gdb.base/break.exp: Move the tests of until command from here...
14011 * gdb.base/until.exp: ... to here. New file. Add other tests.
14012 * gdb.base/advance.c: New file.
14013 * gdb.base/advance.exp: New file.
14014
14015 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14016
14017 * gdb.base/args.c: New file.
14018 * gdb.base/args.exp: New file.
14019
14020 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14021
14022 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14023
14024 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14025
14026 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14027
14028 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14029
14030 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14031 dates.
14032
14033 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14034
14035 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14036
14037 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14038
14039 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14040 (ptype &*"foo").
14041 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14042
14043 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14044
14045 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14046 * gdb.mi/mi1-console.exp: Likewise.
14047
14048 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14049
14050 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14051 * gdb.mi/mi1-console.exp: Likewise.
14052
14053 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14054
14055 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14056
14057 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14058
14059 * gdb.base/detach.exp: New test.
14060
14061 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14062
14063 * Makefile.in (ALL_SUBDIRS): New variable.
14064 (subdirs, clean, distclean): Use it.
14065 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14066 regenerating Makefile, since it is generated from the top level.
14067 * gdb.asm/Makefile.in: Likewise.
14068 * gdb.base/Makefile.in: Likewise.
14069 * gdb.c++/Makefile.in: Likewise.
14070 * gdb.disasm/Makefile.in: Likewise.
14071 * gdb.java/Makefile.in: Likewise.
14072 * gdb.mi/Makefile.in: Likewise.
14073 * gdb.threads/Makefile.in: Likewise.
14074 * gdb.trace/Makefile.in: Likewise.
14075
14076 2003-01-09 David Carlton <carlton@math.stanford.edu>
14077
14078 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14079 Add copyright year 2003.
14080
14081 2003-01-06 Michael Chastain <mec@shout.net>
14082
14083 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14084 When selecting a thread, 'line' and 'file' are optional.
14085 * gdb.mi/mi1-pthreads.exp: Likewise.
14086
14087 2003-01-06 Andreas Schwab <schwab@suse.de>
14088
14089 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14090 failures.
14091
14092 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14093
14094 Fix PR gdb/844
14095 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14096 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14097
14098 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14099 instead of calling gdb_suppress_entire_file.
14100 * gdb.threads/print-threads.exp: Likewise.
14101 * gdb.threads/schedlock.exp: Likewise.
14102
14103 * gdb.threads/killed.exp: Return instead of calling
14104 gdb_suppress_entire_file.
14105 * gdb.threads/linux-dp.exp: Likewise.
14106 * gdb.threads/pthreads.exp: Likewise.
14107
14108 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14109
14110 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14111 stabs.
14112 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14113 * gdb.base/whatis.exp: Always allow (void) after function names.
14114
14115 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14116
14117 * gdb.c++/casts.exp: Correct regexp.
14118
14119 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14120
14121 * configure.in: Call AC_CONFIG_HEADER. Don't call
14122 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14123 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14124 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14125 aforementioned directories in the AC_OUPUT call.
14126 * config.hin: New file.
14127 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14128 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14129 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14130 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14131 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14132 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14133 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14134 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14135 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14136 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14137 gdb.threads/configure.in, gdb.threads/configure,
14138 gdb.threads/config.in, gdb.trace/configure.in,
14139 gdb.trace/configure: Removed.
14140
14141 2003-01-03 Michael Chastain <mec@shout.net>
14142
14143 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14144 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14145
14146 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14147
14148 * gdb.base/store.exp: Fix regular expressions.
14149
14150 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14151
14152 * configure.in: Rewrite.
14153 * configure: Regenerated.
14154
14155 2003-01-03 David Carlton <carlton@math.stanford.edu>
14156
14157 * gdb.base/psymtab.exp: New file.
14158 * gdb.base/psymtab1.c: Ditto.
14159 * gdb.base/psymtab2.c: Ditto.
14160
14161 2002-12-23 Adam Fedor <fedor@gnu.org>
14162
14163 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14164
14165 2002-12-23 David Carlton <carlton@math.stanford.edu>
14166
14167 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14168 and current_directory initialization.
14169
14170 2002-12-22 Jim Blandy <jimb@redhat.com>
14171
14172 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14173 rather than as part of the output file name.
14174
14175 * gdb.base/attach.exp: There's no need to copy the test program to
14176 /tmp; that was only ever necessary on HP/UX, and this test is
14177 entirely disabled there anyway.
14178
14179 2002-12-21 Jim Blandy <jimb@redhat.com>
14180
14181 * gdb.c++/psmang.exp: Doc fix.
14182
14183 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14184 test.
14185
14186 2002-12-20 David Carlton <carlton@math.stanford.edu>
14187
14188 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14189
14190 2002-12-18 Michael Chastain <mec@shout.net>
14191
14192 * gdb.c++/annota2.exp: Add copyright year 2002.
14193
14194 2002-12-17 David Carlton <carlton@math.stanford.edu>
14195
14196 * gdb.c++/try_catch.cc: Add marker comments.
14197 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14198 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14199 * gdb.c++/m-static.cc: Ditto.
14200 * gdb.c++/m-static1.cc: Ditto.
14201 * gdb.c++/try_catch.cc: Ditto.
14202
14203 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14204
14205 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14206 to see whether we are using the new -environment-directory
14207 command which resets via -r or the old version of the command
14208 which may prompt the user. Part of fix for gdb/741.
14209
14210 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14211
14212 * gdb.fortran/types.exp: Update obsolete comment.
14213 * gdb.fortran/exprs.exp: Ditto.
14214 * lib/gdb.exp: Delete obsolete code.
14215 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14216 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14217 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14218 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14219 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14220 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14221 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14222 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14223 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14224 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14225 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14226 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14227 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14228 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14229 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14230 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14231 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14232 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14233 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14234 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14235 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14236 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14237 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14238 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14239 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14240 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14241 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14242 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14243 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14244 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14245 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14246 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14247 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14248 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14249 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14250 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14251 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14252
14253 2002-12-11 David Carlton <carlton@math.stanford.edu>
14254
14255 * gdb.c++/m-data.exp: Add test for members that shadow global
14256 variables: see PR gdb/804.
14257 * gdb.c++/m-data.cc: Ditto.
14258
14259 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14260
14261 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14262
14263 2002-12-06 David Carlton <carlton@math.stanford.edu>
14264
14265 * gdb.base/store.c: Don't declare functions static.
14266
14267 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14268
14269 * gdb.base/store.exp, gdb.base/store.c: New files.
14270
14271 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14272
14273 * gdb.base/selftest.exp: Update for current gdb.
14274
14275 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14276
14277 * gdb.base/maint.exp: Only dump symbols from one source file
14278 or objfile.
14279
14280 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14281
14282 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14283 function call.
14284
14285 2002-11-25 Jim Blandy <jimb@redhat.com>
14286
14287 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14288 function appearing in error message.
14289
14290 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14291
14292 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14293
14294 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14295
14296 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14297 for mi1 and current mi is in correct format. New mi startup message
14298 should be in mi console format. This is part of fix for PR gdb/604.
14299
14300 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14301
14302 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14303 which explicitly prints the zero offset as "+0".
14304
14305 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14306
14307 * gdb.threads/schedlock.c (args): Make unsigned.
14308
14309 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14310
14311 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14312 numbers. Allow "foo2|selected stack frame".
14313 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14314 * gdb.asm/asmsrc2.s: Likewise.
14315 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14316 comments.
14317 * gdb.asm/mips.inc: New file.
14318
14319 2002-10-18 Adam Fedor <fedor@gnu.org>
14320
14321 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14322 * gdb.base/help.exp: Likewise.
14323
14324 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14325
14326 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14327 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14328
14329 2002-10-02 Jim Blandy <jimb@redhat.com>
14330
14331 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14332
14333 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14334
14335 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14336 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14337 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14338 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14339 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14340 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14341 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14342
14343 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14344
14345 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14346 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14347 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14348 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14349 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14350 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14351 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14352
14353 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14354
14355 * gdb.base/annota1.exp (info break): Make directory components of
14356 path optional since not all compilers emit this debug information.
14357
14358 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14359 step ends up stepping out of the function instead of stopping on
14360 the epilogue.
14361
14362 2002-09-26 Keith Seitz <keiths@redhat.com>
14363
14364 * lib/insight-support.exp (gdbtk_start): Figure out where
14365 the insight executable is based on where gdb is. Use this
14366 executable to start insight instead of gdb.
14367
14368 2002-09-25 Andrew Cagney <cagney@redhat.com>
14369
14370 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14371
14372 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14373
14374 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14375 test_isolated_complaints.
14376 (test_empty_complaint): New function.
14377 (test_empty_complaints): New function. Check no output when no
14378 complaints.
14379
14380 2002-09-19 Jim Blandy <jimb@redhat.com>
14381
14382 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14383
14384 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14385
14386 * gdb.gdb/complaints.exp: New file.
14387
14388 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14389
14390 * gdb.base/maint.exp: Check `help maint internal-warning'.
14391
14392 2002-09-18 David Carlton <carlton@math.stanford.edu>
14393
14394 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14395 numbers, and replace them by a single breakpoint after the
14396 constructors are all finished.
14397 Add test 4.
14398 * gdb.c++/m-static.cc: Add test 4.
14399 * gdb.c++/m-static.h: New file.
14400 * gdb.c++/m-static1.cc: New file.
14401
14402 * gdb.c++/printmethod.exp: New file.
14403 * gdb.c++/printmethod.cc: New file.
14404
14405 * gdb.c++/pr-574.exp: New file.
14406 * gdb.c++/pr-574.cc: New file.
14407
14408 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14409
14410 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14411 embedded targets which never actually exit.
14412
14413 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14414
14415 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14416 "don't step after run" as unresolved or unsupported, instead of xfail.
14417
14418 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14419
14420 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14421 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14422 Add newline to expected string in "step out of main (status wrapper)"
14423 case.
14424
14425 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14426
14427 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14428 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14429
14430 2002-09-17 Tom Tromey <tromey@redhat.com>
14431
14432 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14433 \000, not \0, in double-quoted string.
14434
14435 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14436
14437 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14438 string after running the commands execution on breakpoint tests.
14439
14440 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14441
14442 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14443
14444 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14445
14446 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14447
14448 2002-09-10 Keith Seitz <keiths@redhat.com>
14449
14450 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14451 runto proc.
14452 (mi_run_to_main): Use mi_runto.
14453 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14454
14455 2002-09-10 Keith Seitz <keiths@redhat.com>
14456
14457 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14458 regexp for stopping at main. Could have multiple event notifications.
14459 Don't assume that main was declared with no parameters.
14460 (mi_next): Use mi_step_to.
14461 (mi_step): Use mi_next_to.
14462
14463 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14464
14465 * gdb.base/default.exp: Fix expected string in `info float' test.
14466
14467 2002-09-09 Ben Elliston <bje@redhat.com>
14468
14469 * config/mips.exp: Update comments.
14470 * config/mips-idt.exp: Likewise.
14471 * config/nind.exp: Likewise.
14472 * config/slite.exp: Likewise.
14473 * config/sparclet.exp: Likewise.
14474 * config/udi.exp: Likewise.
14475 * config/vx.exp: Likewise.
14476 * config/vxworks29k.exp: Likewise.
14477
14478 2002-09-05 Jim Blandy <jimb@redhat.com>
14479
14480 * gdb.threads/killed.exp: Fix test failure message.
14481
14482 2002-09-04 Keith Seitz <keiths@redhat.com>
14483
14484 * lib/mi-support.exp: Update copyright.
14485 (mi_gdb_test): Increase the priority of the expected pattern
14486 so that it matches gdb_test.
14487
14488 2002-09-03 Keith Seitz <keiths@redhat.com>
14489
14490 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14491 Use integer comparison instead of string comparison for testing
14492 whether binary was built.
14493
14494 2002-09-03 Jim Blandy <jimb@redhat.com>
14495
14496 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14497
14498 2002-08-29 Jim Blandy <jimb@redhat.com>
14499
14500 * gdb.threads/pthreads.exp: Move the portable thread compilation
14501 code into a function in lib/gdb.exp, and call that from here.
14502 * lib/gdb.exp (gdb_compile_pthreads): New function.
14503
14504 2002-08-29 Keith Seitz <keiths@redhat.com>
14505
14506 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14507 expect_out so that callers can get at it.
14508
14509 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14510
14511 * gdb.threads/print-threads.c: New file.
14512 * gdb.threads/print-threads.exp: New file.
14513 * gdb.threads/schedlock.c: New file.
14514 * gdb.threads/schedlock.exp: New file.
14515
14516 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14517
14518 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14519 not altivec.c.
14520
14521 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14522
14523 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14524 targets. The problem should be fixed now.
14525
14526 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14527
14528 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14529 2002-07-24 change that removes final dots from error messages.
14530
14531 2002-08-13 Tom Tromey <tromey@redhat.com>
14532
14533 * gdb.base/readline.exp: New file.
14534
14535 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14536
14537 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14538 supress message.
14539
14540 2002-08-01 Andrew Cagney <cagney@redhat.com>
14541
14542 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14543 CHILL_FOR_TARGET and CHILL_LIB.
14544 * configure.in (configdirs): Remove gdb.chill.
14545 * configure: Regenerate.
14546 * lib/gdb.exp: Obsolete references to chill.
14547 * gdb.fortran/types.exp: Ditto.
14548 * gdb.fortran/exprs.exp: Ditto.
14549
14550 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14551
14552 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14553 set Irix-specific compile and link flags.
14554
14555 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14556
14557 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14558 source files. The ``-o'' option doesn't work with the ``-E'' option
14559 when using the Irix compiler.
14560
14561 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14562
14563 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14564 Improve support for reusing an exec file. Copy exec file
14565 to target, and run gdbserver on the target instead of on the host.
14566
14567 2002-07-18 Jim Blandy <jimb@redhat.com>
14568
14569 * gdb.base/ending-run.exp: Don't expect to see the program end in
14570 some orderly fashion when we're running on a real stand-alone
14571 board.
14572
14573 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14574 targets that don't support interrupts.
14575
14576 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14577
14578 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14579 systems.
14580 Move comments in expect statements to inside the actions, so that they
14581 don't get matched against.
14582
14583 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14584
14585 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14586 function when asleep" test.
14587
14588 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14589
14590 * gdb.base/page.exp: Rewrite to handle problems with very long
14591 `info set' output. Update copyright.
14592
14593 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14594
14595 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14596 gdb.threads-hp.
14597 * gdb.hp/configure: Regenerate.
14598 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14599 * gdb.hp/gdb.threads-hp/configure: Delete file.
14600 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14601
14602 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14603
14604 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14605 setlocale, bindtextdomain and textdomain.
14606
14607 2002-06-11 Jim Blandy <jimb@redhat.com>
14608
14609 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14610 preprocessor macro information is present.
14611
14612 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14613 tests.
14614
14615 2002-06-06 Michael Snyder <msnyder@redhat.com>
14616
14617 * gdb.base/overlays.exp: Record addresses of overlay
14618 functions in TCL variables rather than in GDB variables,
14619 to avoid having GDB convert them to pointers (with loss
14620 of information).
14621
14622 * gdb.base/d10v.ld: Merge in several years worth of
14623 default linker script changes.
14624 * gdb.base/long_long.exp: Add check for sizeof (long double).
14625
14626 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14627
14628 * gdb.asm/asm-source.exp: Add x86-64 target.
14629 * gdb.asm/x86_64.inc: New.
14630
14631 2002-05-30 Michael Chastain <mec@shout.net>
14632
14633 From Benjamin Kosnik <bkoz@redhat.com>:
14634 * gdb.c++/m-static.cc: New file.
14635 * gdb.c++/m-static.exp: New file.
14636
14637 2002-05-28 Michael Snyder <msnyder@redhat.com>
14638
14639 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14640 precision.
14641
14642 2002-05-27 Michael Chastain <mec@shout.net>
14643
14644 From Benjamin Kosnik <bkoz@redhat.com>:
14645 * gdb.c++/m-data.cc: New file.
14646 * gdb.c++/m-data.exp: New file.
14647
14648 2002-05-27 Michael Chastain <mec@shout.net>
14649
14650 From Benjamin Kosnik <bkoz@redhat.com>:
14651 * gdb.c++/try_catch.cc: New file.
14652 * gdb.c++/try_catch.exp: New file.
14653
14654 2002-05-27 Michael Chastain <mec@shout.net>
14655
14656 * gdb.c++/local.exp: Accept more nested types in output.
14657
14658 2002-05-26 Michael Chastain <mec@shout.net>
14659
14660 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14661
14662 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14663
14664 * lib/gdb.exp (gdb_wrapper_init): Just because
14665 gdb_wrapper_file exists, this does not mean that the file
14666 should not be rebuilt. That is what gdb_wrapper_initialized
14667 is for.
14668 (default_gdb_init): Reset gdb_wrapper_initialized.
14669
14670 2002-05-23 Michael Snyder <msnyder@redhat.com>
14671
14672 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14673 the precision of the floating point test results.
14674 * gdb.base/call-rt-st.exp: Ditto.
14675
14676 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14677 * gdb.base/call-rt-st.exp: Ditto.
14678
14679 2002-05-19 Michael Chastain <mec@shout.net>
14680
14681 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14682
14683 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14684
14685 * configure.in (configdirs): Add gdb.arch.
14686 * configure: Regenerate.
14687
14688 2002-05-17 Jim Blandy <jimb@redhat.com>
14689
14690 * gdb.base/completion.exp: Recognize the more detailed error
14691 messages produced by the macro expander's lexical analyzer.
14692
14693 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14694
14695 * gdb.arch/altivec-abi.c: New file.
14696 * gdb.arch/altivec-abi.exp: New file.
14697 * gdb.arch/altivec-regs.c: New file.
14698 * gdb.arch/altivec-regs.exp: New file.
14699
14700 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14701
14702 * gdb.base/maint.exp (maint print type): Update for new type
14703 structure.
14704
14705 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14706
14707 * gdb.arch: New directory.
14708 * gdb.arch/configure.in: New file.
14709 * gdb.arch/configure: New file.
14710 * gdb.arch/Makefile.in: New file.
14711
14712 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14713
14714 * gdb.asm/asm-source.exp: Add v850 as supported target.
14715 * gdb.asm/v850.inc: New file.
14716
14717 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14718
14719 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14720
14721 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14722
14723 * gdb.base/break.exp: Check 'break "marker2"'.
14724
14725 2002-05-10 Michael Snyder <msnyder@redhat.com>
14726
14727 * gdb.base/long_long.exp: Fix typo.
14728
14729 2002-05-10 Jim Blandy <jimb@redhat.com>
14730
14731 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14732 a bug.
14733
14734 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14735 Recognize more detailed error message produced by the macro
14736 expander's lexical analyzer.
14737 * lib/gdb.exp (test_print_reject): Same.
14738
14739 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14740
14741 * gdb.c++/method.exp: Fix typo.
14742
14743 2002-05-08 Michael Snyder <msnyder@redhat.com>
14744
14745 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14746 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14747 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14748 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14749 Add iftarget clause for strongarm.
14750
14751 2002-05-06 Michael Snyder <msnyder@redhat.com>
14752
14753 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14754 (gdb_continue_to_end): Accept output from status wrapper.
14755 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14756 Clean up fail messages to match pass messages.
14757
14758 Enable the "needs_status_wrapper" testsuite feature.
14759 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14760 (gdb_compile): Conditionally call gdb_wrapper_init.
14761 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14762 * gdb.c++/method.exp: Recognize output from status wrapper.
14763
14764 2002-05-06 Ben Elliston <bje@redhat.com>
14765 From Graydon Hoare <graydon@redhat.com>
14766
14767 * config/sid.exp: Include support for "rawsid" protocol.
14768
14769 2002-05-03 Jim Blandy <jimb@redhat.com>
14770
14771 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14772 * gdb.c++/hang3.C: New file.
14773
14774 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14775
14776 * gdb.base/default.exp: Remove obsolete code.
14777 * gdb.c++/misc.exp: Ditto. Update copyright.
14778 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14779 * gdb.base/whatis.exp: Ditto. Update copyright.
14780 * gdb.base/scope.exp: Ditto. Update copyright.
14781 * gdb.base/ptype.exp: Ditto. Update copyright.
14782 * gdb.base/printcmds.exp: Ditto. Update copyright.
14783 * gdb.base/opaque.exp: Ditto. Update copyright.
14784 * gdb.base/list.exp: Ditto.
14785 * gdb.base/funcargs.exp: Ditto. Update copyright.
14786 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14787 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14788 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14789 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14790 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14791 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14792
14793 2002-05-02 Michael Snyder <msnyder@redhat.com>
14794
14795 * gdb.base/watchpoint.exp: Add xscale target.
14796 * gdb.base/long_long.exp: Add xscale target.
14797 * gdb.base/default.exp: Add xscale target.
14798
14799 2002-05-01 Jim Blandy <jimb@redhat.com>
14800
14801 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14802 gdb.c++/hang.exp: New test.
14803
14804 2002-05-01 Fred Fish <fnf@redhat.com>
14805
14806 * gdb.base/completion.exp: Handle completions of "./Make" for
14807 more than one completion possibility, as is the case when we
14808 build and test in the source tree.
14809
14810 2002-04-29 Anthony Green <green@redhat.com>
14811
14812 * gdb.java/jmisc1.exp: New file.
14813 * gdb.java/jmisc2.exp: New file.
14814
14815 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14816
14817 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14818
14819 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14820
14821 * gdb.base/help.exp: Change 'help status' to allow for target
14822 dependent output differences.
14823
14824 2002-04-22 Michael Chastain <mec@shout.net>
14825
14826 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14827
14828 2002-04-22 Michael Chastain <mec@shout.net>
14829
14830 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14831
14832 2002-04-17 David S. Miller <davem@redhat.com>
14833
14834 * gdb.asm/sparc64.inc: New file.
14835 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14836
14837 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14838
14839 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14840 instruction file directly into the build tree. Clean up at end of
14841 test.
14842
14843 2002-04-18 David S. Miller <davem@redhat.com>
14844
14845 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14846 handle 64-bit platforms correctly.
14847 * gdb.base/maint.exp: Likewise.
14848
14849 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14850
14851 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14852 ``-fpic'' when compiling files comprising a shared library, but
14853 it does need additional linker flags in order to find shared
14854 libraries at run time.
14855
14856 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14857
14858 * gdb.base/cvexpr.c (use): New function.
14859 (main): Invoke use() on all global variables to prevent
14860 some linkers from deleting these otherwise unused symbols.
14861
14862 2002-04-17 Michael Chastain <mec@shout.net>
14863 From David S. Miller <davem@redhat.com>
14864
14865 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14866 handle 64-bit platforms correctly.
14867
14868 2002-04-12 Michael Snyder <msnyder@redhat.com>
14869 From Jim Blandy <jimb@redhat.com>
14870 * gdb.base/foo.c (foox): Remove section attribute; the linker
14871 script can handle this instead.
14872 * gdb.base/bar.c (barx): Same.
14873 * gdb.base/baz.c (bazx): Same.
14874 * gdb.base/grbx.c (grbxx): Same.
14875
14876 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14877 manager doesn't automatically unmap overlays unnecessarily.
14878
14879 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14880
14881 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14882 stepping out of main.
14883
14884 2002-04-09 Michael Chastain <mec@shout.net>
14885
14886 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14887 scope so that the nested scope tests will make sense.
14888 * gdb.c++/local.exp: Write patterns that actually work with gcc
14889 (the HP patterns "were never known to work with gcc").
14890 Keep the old aCC patterns too.
14891
14892 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14893
14894 * gdb.base/attach.exp: Correct target board test.
14895
14896 2002-04-08 Michael Chastain <mec@shout.net>
14897
14898 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14899 in a const method. Add some xfail and fail cases for configurations
14900 that do not emit the "const ...".
14901
14902 2002-04-07 Michael Chastain <mec@shout.net>
14903
14904 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14905 Accept "A * const" and "const A * const" as type of "this".
14906 Fix spelling of getFunky throughout. Make messages uniform.
14907
14908 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14909
14910 Work around for PR gdb/285:
14911 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14912
14913 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14914
14915 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14916 instructions file at run time instead of configure time.
14917 Sometimes we run the test in a directory that is not the one we
14918 configured in.
14919 * gdb.asm/configure.in: Delete creation of symlink.
14920 * gdb.asm/configure: Regenerate.
14921
14922 2002-04-05 J. Brobecker <brobecker@gnat.com>
14923
14924 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14925 xfullpath () function.
14926
14927 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14928
14929 * gdb.asm/Makefile.in: Correct dependencies.
14930
14931 * gdb.asm/powerpc.inc: New file.
14932 * gdb.asm/asm-source.exp: Add PowerPC.
14933 * gdb.asm/configure.in: Likewise.
14934 * gdb.asm/configure: Regenerated.
14935
14936 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14937
14938 * gdb.base/relocate.exp: New file.
14939 * gdb.base/relocate.c: New file.
14940
14941 2002-04-04 Fred Fish <fnf@redhat.com>
14942
14943 * gdb.base/step-test.exp: Update comment regarding stopping in
14944 memcpy/bcopy calls inserted as part of the compiler runtime.
14945
14946 2002-04-04 Michael Snyder <msnyder@redhat.com>
14947
14948 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14949
14950 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14951
14952 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14953 (gdb_expect): Remove $notransfer hack.
14954
14955 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14956
14957 * gdb.c++/classes.exp ("calling method for small class"): Match
14958 updated register output.
14959
14960 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14961
14962 Fix PR gdb/452
14963 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14964 when finished. Make gdb_file_cmd send "exec-file" when
14965 appropriate.
14966
14967 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14968
14969 * gdb.base/attach.exp: Remove extra setup_xfail.
14970
14971 2002-03-26 Michael Snyder <msnyder@redhat.com>
14972
14973 * gdb.base/default.exp: Add tests for dump, append, and restore.
14974 * gdb.base/help.exp: Add tests for dump, append, and restore.
14975 * gdb.base/dump.exp: New file, test dump, append and restore.
14976 * gdb.base/dump.c: New file.
14977
14978 2002-03-27 Michael Snyder <msnyder@redhat.com>
14979
14980 * gdb.base/help.exp: Modify expect strings to reflect
14981 clean-ups in help messages.
14982
14983 2002-03-26 Fred Fish <fnf@redhat.com>
14984
14985 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14986 have debugging info for those functions and the compiler uses them
14987 internally to copy structs around.
14988
14989 2002-03-26 Fred Fish <fnf@redhat.com>
14990
14991 * gdb.base/list.exp: Revert the change made yesterday and add note
14992 about why we don't list the default lines for remote targets.
14993
14994 2002-03-25 Michael Snyder <msnyder@redhat.com>
14995
14996 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14997
14998 2002-03-25 Fred Fish <fnf@redhat.com>
14999
15000 * gdb.base/list.exp: This test works on remote targets so remove
15001 the short circuit for remote targets. Update copyright.
15002
15003 2002-03-25 Fred Fish <fnf@redhat.com>
15004
15005 * gdb.base/attach.exp: Fix logic error that was suppressing this
15006 test for all non hppa*-*-hpux* targets, instead of the hp target.
15007 Move comments closer to the suppression point. Also now need to
15008 check that we are running natively.
15009
15010 2002-03-22 Michael Snyder <msnyder@redhat.com>
15011
15012 * gdb.base/default.exp: Add test for gcore. Update copyright.
15013 * gdb.base/help.exp: Add test for gcore. Update copyright.
15014
15015 2002-03-06 Fred Fish <fnf@redhat.com>
15016
15017 * gdb.base/funcargs.c: Remove extraneous ';' character.
15018 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15019
15020 2002-03-04 Michael Chastain <mec@shout.net>
15021
15022 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15023 accommodate gcc v3 function signature.
15024 * gdb.mi/mi0-var-cmd-exp: Ditto.
15025
15026 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15027
15028 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15029 ``GNU/Linux'' or ``Linux kernel''
15030 * testsuite/gdb.threads/pthreads.c: Ditto.
15031
15032 2002-02-24 Michael Chastain <mec@shout.net>
15033
15034 * gdb.threads/pthreads.c (thread1): Add a return statement.
15035 (thread2): Likewise.
15036 (foo): Likewise.
15037
15038 2002-02-23 Michael Chastain <mec@shout.net>
15039
15040 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15041 to placate gcc.
15042
15043 2002-02-23 Michael Chastain <mec@shout.net>
15044
15045 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15046 test "ptype bint". The test passes on all my stabs configurations.
15047
15048 2002-02-21 Jim Blandy <jimb@redhat.com>
15049
15050 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15051 filename at a time, and watch for the ones we want to see.
15052
15053 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15054 types of pointers to prototyped functions.
15055
15056 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15057
15058 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15059 signed, unsigned and straight char.
15060 (padding_char, padding_short, padding_int, padding_long,
15061 padding_long_long, padding_float, padding_double,
15062 padding_long_double): New global variables.
15063 (fill, fill_structs): New functions.
15064
15065 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15066 for correctly sized writes. Update copyright.
15067 (get_valueof): New procedure.
15068 (get_sizeof): Call get_valueof.
15069 (check_valueof): New procedure.
15070 (check_padding): New procedure.
15071
15072 2002-02-20 Michael Chastain <mec@shout.net>
15073
15074 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15075 to setup_xfail. Document some of the remaining calls.
15076
15077 2002-02-18 Michael Chastain <mec@shout.net>
15078
15079 * gdb.c++/userdef.exp: Update copyright year.
15080
15081 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15082
15083 * gdb.c++/userdef.exp: Test overloaded operators properly.
15084 Remove xfails.
15085
15086 2002-02-14 Michael Snyder <msnyder@redhat.com>
15087
15088 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15089
15090 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15091
15092 * gdb.base/a2-run.exp: Check for a remote target properly.
15093 * gdb.base/annota1.exp: Likewise.
15094 * gdb.base/list.exp: Likewise.
15095 * gdb.base/reread.exp: Likewise.
15096 * gdb.base/scope.exp: Likewise.
15097 * gdb.base/shlib-call.exp: Likewise.
15098 * gdb.base/term.exp: Likewise.
15099 * gdb.c++/annota2.exp: Likewise.
15100
15101 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15102
15103 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15104
15105 2002-02-10 Michael Chastain <mec@shout.net>
15106
15107 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15108 (call_after_alloca): Ditto.
15109
15110 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15111
15112 * gdb.base/ending-run.exp: Guard "cont" test with
15113 gdb_skip_stdio_test.
15114
15115 2002-02-06 Jim Blandy <jimb@redhat.com>
15116
15117 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15118 from here...
15119 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15120 To here. Disable this test on non-HP platforms. Add big comment.
15121
15122 2002-02-04 Michael Snyder <msnyder@redhat.com>
15123
15124 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15125 other than d10v and m32r.
15126
15127 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15128
15129 * gdb.base/default.exp: Rewrite test patterns to reduce time
15130 taken to match them.
15131
15132 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15133
15134 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15135 Allow a start function above main.
15136 * gdb.threads/linux-dp.exp: Fix copyright date.
15137
15138 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15139
15140 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15141 (check_philosopher_stack): Check for manager thread before checking
15142 for a just-starting thread.
15143
15144 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15145
15146 From Neil Booth <neil@daikokuya.demon.co.uk>:
15147 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15148 warnings.
15149
15150 2002-01-21 Fred Fish <fnf@redhat.com>
15151
15152 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15153 not caller.
15154
15155 2002-01-21 Jim Blandy <jimb@redhat.com>
15156
15157 * gdb.base/reread.exp: Check that GDB properly re-reads the
15158 executable file when it changes while no inferior is running.
15159
15160 2002-01-21 Fred Fish <fnf@redhat.com>
15161
15162 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15163 optionally accept the "shlib events" variation.
15164
15165 2002-01-21 Jim Blandy <jimb@redhat.com>
15166
15167 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15168 call `fflush' after every `printf', so that the output is produced
15169 at predictable points, regardless of whatever buffering does (or
15170 doesn't) take place.
15171 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15172 at different points.
15173
15174 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15175
15176 * gdb.c++/inherit.exp: Update copyright years.
15177 * gdb.c++/method.exp: Likewise.
15178
15179 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15180
15181 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15182 artificial methods/arguments.
15183 * gdb.c++/derivation.exp: Likewise.
15184 * gdb.c++/inherit.exp: Likewise.
15185 * gdb.c++/method.exp: Likewise.
15186 * gdb.c++/virtfunc.exp: Likewise.
15187
15188 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15189
15190 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15191 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15192 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15193 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15194 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15195 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15196
15197 2002-01-17 Jim Blandy <jimb@redhat.com>
15198
15199 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15200 anchoring the pattern matching the entry point symbol's name.
15201
15202 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15203
15204 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15205 continue/quit query. Update copyright.
15206
15207 2002-01-14 Michael Snyder <msnyder@redhat.com>
15208
15209 * gdb.base/gcore.exp: Remove extra debugging output.
15210
15211 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15212
15213 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15214 for slightly dubious v2 mangled string.
15215
15216 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15217
15218 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15219
15220 2002-01-10 Jason Merrill <jason@redhat.com>
15221
15222 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15223
15224 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15225 constructors.
15226 * gdb.c++/derivation.exp: Likewise.
15227 * gdb.c++/templates.exp: Likewise.
15228 * gdb.c++/virtfunc.exp: Likewise.
15229
15230 2002-01-10 Michael Snyder <msnyder@redhat.com>
15231
15232 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15233
15234 2002-01-08 Michael Snyder <msnyder@redhat.com>
15235
15236 * gdb.base/gcore.exp: New test for generate-core-file command.
15237 * gdb.base/gcore.c: Testcase for above.
15238 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15239
15240 2002-01-08 Jason Merrill <jason@redhat.com>
15241
15242 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15243
15244 2002-01-07 Fred Fish <fnf@redhat.com>
15245
15246 * gdb.c++/overload.exp: Remove unconditional xfails for:
15247 print foo_instance1.overloadargs(1)
15248 print foo_instance1.overloadargs(1, 2)
15249 print foo_instance1.overloadargs(1, 2, 3)
15250 print foo_instance1.overloadargs(1, 2, 3, 4)
15251 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15252 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15253 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15254 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15255 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15256 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15257 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15258 print foo_instance1.overload1arg()
15259 print foo_instance1.overload1arg((char)arg2)
15260 print foo_instance1.overload1arg((signed char)arg3)
15261 print foo_instance1.overload1arg((unsigned char)arg4)
15262 print foo_instance1.overload1arg((int)arg7)
15263 print foo_instance1.overload1arg((unsigned int)arg8)
15264 print foo_instance1.overload1arg((float)arg11)
15265 print foo_instance1.overload1arg((double)arg12)
15266
15267 2002-01-07 Michael Snyder <msnyder@redhat.com>
15268
15269 * gdb.base/huge.exp: New test. Print a very large target data object.
15270 (skip_huge_test): New test variable. Define if you want to skip this
15271 test. The test reads an 8 megabyte data object from the target, so it
15272 might be very time consuming on remote targets with a slow connection.
15273 * gdb.base/huge.c: New file. Test case for above.
15274
15275 2002-01-07 Fred Fish <fnf@redhat.com>
15276
15277 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15278 g_instance.bfoo, and g_instance.cfoo.
15279
15280 2002-01-07 Jeffrey A Law <law@redhat.com>
15281
15282 * gdb.base/break.c (multi_line_if_conditional): New function.
15283 (multi_ilne_while_conditional): Likewise.
15284 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15285 IF or WHILE condition puts the breakpoint at the start of
15286 the condition.
15287
15288 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15289 hppa*-*-hpux* expected failure.
15290 * gdb.base/structs.exp (do_function_calls): Similarly.
15291
15292 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15293 watchpoints.
15294
15295 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15296
15297 Fix PR gdb/66.
15298 * gdb.base/structs.exp: Replace skip for a29k with skip for
15299 gdb,cannot_call_functions.
15300 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15301 * gdb.base/callfuncs.exp: Ditto.
15302 * gdb.base/call-rt-st.exp: Ditto.
15303 * gdb.base/call-strs.exp: Ditto.
15304 * gdb.base/callfwmall.exp: Ditto.
15305 * gdb.base/scope.exp: Obsolete xfail a29k.
15306 * gdb.c++/misc.exp: Ditto.
15307 * gdb.c++/cplusfuncs.exp: Ditto.
15308 * gdb.base/ptype.exp: Ditto.
15309 * gdb.base/printcmds.exp: Ditto.
15310 * gdb.base/opaque.exp: Ditto.
15311 * gdb.base/list.exp: Ditto.
15312 * gdb.base/funcargs.exp: Ditto.
15313 * gdb.base/default.exp: Ditto.
15314
15315 2002-01-04 Michael Snyder <msnyder@redhat.com>
15316
15317 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15318 * gdb.base/maint.exp: Add tests for maint info sections options.
15319
15320 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15321
15322 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15323
15324 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15325
15326 * gdb.asm/arm.inc: New file.
15327 * gdb.asm/asm-source.exp: Add arm targets.
15328 * gdb.asm/configure.in: Ditto.
15329 * gdb.asm/configure: Recreated from configure.in.
15330
15331 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15332
15333 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15334 with HP's compiler.
15335 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15336 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15337 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15338 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15339
15340 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15341 either HP's compilers or GCC.
15342
15343 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15344 a SIGBUS or SIGSEGV.
15345
15346 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15347
15348 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15349 can be compiled with either HP's compiler or GCC.
15350
15351 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15352 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15353 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15354
15355 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15356 to match current gdb output. Update due to using auto-solib-limit
15357 for limiting instead of overloading auto-solib-add.
15358 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15359 test program.
15360
15361 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15362 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15363 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15364 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15365 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15366 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15367 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15368 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15369 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15370 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15371 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15372 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15373 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15374
15375 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15376 a SIGTRAP to the inferior.
15377
15378 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15379
15380 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15381 Substitute call to target_link by call to gdb_compile.
15382
15383 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15384
15385 * gdb.base/break.exp: Fix HP specific search string when testing
15386 backtracing in a called function.
15387
15388 * gdb.base/constvars.exp: Only set lang to C++ if we're
15389 compiling the test with HP's compilers.
15390 * gdb.base/volatile.exp: Similarly.
15391
15392 2001-12-19 Jim Blandy <jimb@redhat.com>
15393
15394 * gdb.base/printcmds.exp: Expect the null character to be printed
15395 as '\0', and the '\013' to be printed as '\v'.
15396 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15397 * gdb.base/setvar.exp: Same.
15398
15399 2001-12-17 Jim Blandy <jimb@redhat.com>
15400
15401 * gdb.base/completion.exp: Rather than completing very long
15402 filenames, which can make the readline library produce output we
15403 don't recognize, cd to the directory first, and then complete
15404 using nice, short relative paths.
15405
15406 * gdb.base/completion.exp: On some systems, there is, in fact, a
15407 variable named `b' in scope, since GDB treats all static
15408 variables as being in scope. So use `no_var_named_this'
15409 instead of `b'.
15410
15411 * gdb.base/corefile.exp: Recognize the message saying that GDB
15412 can't find the core file's registers as a failure.
15413
15414 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15415
15416 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15417 test expect string more specific.
15418
15419 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15420
15421 * gdb.asm/asm-source.exp: Add support for xstormy16.
15422 * gdb.asm/configure.in: Ditto.
15423 * gdb.asm/configure: Rebuild.
15424 * gdb.asm/xstormy16.inc: New file.
15425
15426 2001-12-10 Fred Fish <fnf@redhat.com>
15427
15428 * gdb.base/maint.exp: Update to match changes in type dumping code.
15429
15430 2001-12-10 Jim Blandy <jimb@redhat.com>
15431
15432 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15433 matching the entry point symbol's name at the beginning of the
15434 line.
15435
15436 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15437
15438 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15439 gdb.c++/inherit.exp, gdb.c++/method.exp,
15440 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15441 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15442 and class layout support.
15443
15444 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15445
15446 * gdb.c++/classes.exp: Add test for static member function.
15447 * gdb.c++/misc.cc: Add class with static member function.
15448
15449 2001-12-07 Jim Blandy <jimb@redhat.com>
15450
15451 If GDB says it can't find the struct the function returned, report
15452 those tests as `unsupported'.
15453 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15454 Rewrite subsequent tests to use it.
15455
15456 If GDB says it can't find the struct the function returned, report
15457 those tests as `unsupported'.
15458 * gdb.base/structs.exp (call_struct_func): New function.
15459 (do_function_calls): Use call_struct_func to call the functions
15460 returning structs.
15461
15462 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15463 whether functions are prototyped or not, so we can't possibly pass
15464 arguments to t_float_values2 properly.
15465
15466 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15467 value of `timeout' for targets other than the mips*tx39-*.
15468
15469 2001-12-06 Michael Snyder <msnyder@redhat.com>
15470
15471 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15472 and detect whether the start symbol has a leading underscore.
15473
15474 2001-12-04 Jim Blandy <jimb@redhat.com>
15475
15476 * gdb.base/completion.exp: Clarify indentation.
15477
15478 2001-12-03 Jim Blandy <jimb@redhat.com>
15479
15480 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15481 variables on the S/390, not `.word'.
15482
15483 2001-11-30 Jim Blandy <jimb@redhat.com>
15484
15485 Add assembly-source tests for s390-ibm-linux.
15486 * gdb.asm/s390.inc: New file.
15487 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15488 the S/390 architecture.
15489 * gdb.asm/configure: Regenerated.
15490
15491 2001-11-30 Michael Snyder <msnyder@redhat.com>
15492
15493 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15494 next, info source, info sources, info line, global and static
15495 variables, and static functions.
15496 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15497 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15498 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15499 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15500 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15501 (gdbasm_leave): Restore frame pointer.
15502 (gdbasm_startup): Copy stack set-up from crt0.S.
15503
15504 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15505
15506 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15507 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15508 to a local (non-static) variable. Copy tstruct.a to a static buffer
15509 and return a pointer to that buffer.
15510 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15511
15512 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15513
15514 * gdb.asm/configure.in: Fix recognition of ix86 target.
15515 * gdb.asm/configure: Regenerate.
15516
15517 2001-11-21 Michael Snyder <msnyder@redhat.com>
15518
15519 * gdb.asm/sparc.inc: New file.
15520 * gdb.asm/asm-source.exp: Recognize sparc target.
15521 * gdb.asm/configure.in: Recognize sparc target.
15522 * gdb.asm/configure: Regenerate.
15523
15524 2001-11-21 Michael Snyder <msnyder@redhat.com>
15525
15526 * gdb.asm/m32r.inc: New file.
15527 * gdb.asm/asm-source.exp: Recognize m32r target.
15528 * gdb.asm/configure.in: Recognize m32r target.
15529 * gdb.asm/configure: Regenerate.
15530
15531 2001-11-20 Michael Snyder <msnyder@redhat.com>
15532
15533 * gdb.asm/i386.inc: New file.
15534 * gdb.asm/asm-source.exp: Recognize ix86 target.
15535 * gdb.asm/configure.in: Recognize ix86 target.
15536 * gdb.asm/configure: Regenerate.
15537
15538 * gdb.c++/namespace.exp: Fix quotes in output messages.
15539
15540 2001-11-14 Michael Snyder <msnyder@redhat.com>
15541
15542 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15543 qualifier in a type cast expression, to designate an address
15544 in the instruction space (Harvard architecture).
15545
15546 2001-11-13 Michael Snyder <msnyder@redhat.com>
15547
15548 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15549 Tests for expressions using 'const' and 'volatile'.
15550
15551 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15552
15553 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15554
15555 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15556
15557 * lib/mi-support.exp (mi_run_to_helper): Move comments
15558 outside of gdb_expect.
15559
15560 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15561
15562 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15563 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15564 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15565 mi0_run_to): New functions.
15566 * gdb.mi/mi-simplerun.exp: Use them.
15567 * gdb.mi/mi0-simplerun.exp: Likewise.
15568 * gdb.mi/mi-var-cmd.exp: Likewise.
15569 * gdb.mi/mi0-var-cmd.exp: Likewise.
15570
15571 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15572
15573 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15574 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15575
15576 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15577
15578 * gdb.base/restore.exp: Include $expected value in restored test
15579 message.
15580
15581 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15582
15583 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15584 implemented.
15585
15586 2001-11-08 Michael Snyder <msnyder@redhat.com>
15587
15588 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15589 Add pass/fail message for stop at breakpoint in call dummy function.
15590
15591 2001-11-07 Michael Snyder <msnyder@redhat.com>
15592
15593 * gdb.c++/templates.exp (test_template_breakpoints):
15594 If we get an overload menu, but it does not match what
15595 we expect, we still need to issue the "cancel" command.
15596 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15597 making the whitespace optional. Argument for "new" may be
15598 "unsigned" as well as "unsigned int/long".
15599 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15600 making the whitespace optional. Also replace "(void) with
15601 "((void|)), making the keyword "void" optional.
15602 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15603 making the whitespace optional. Also replace "(void) with
15604 "((void|)), making the keyword "void" optional.
15605 * gdb.base/callfuncs.c (t_float_values): This function must
15606 _not_ be prototyped, and the following function (t_float_values2)
15607 must be prototyped (if the compiler supports it), so that GDB
15608 can be tested against both cases. Usually one case involves
15609 promotion of float to double, while the other does not.
15610 * gdb.base/callfwmall.c: Ditto.
15611 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15612 includes a stack frame for "start".
15613
15614 2001-11-05 Jim Blandy <jimb@redhat.com>
15615
15616 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15617 pointers are 32 bits long, and that offsets of relocs are always
15618 stored in the data (REL-style), and not in the reloc entry itself
15619 (RELA-style).
15620 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15621 stabs.
15622
15623 2001-11-01 Michael Snyder <msnyder@redhat.com>
15624
15625 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15626 and regular expression operators by using quoting.
15627
15628 2001-10-31 Michael Snyder <msnyder@redhat.com>
15629
15630 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15631 depending on what the symbol table contains.
15632 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15633 the output of the ptype command. Similarly, accept both "const &"
15634 and "const&".
15635
15636 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15637
15638 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15639 symbol `STORAGE' to allow to choose the storage class of
15640 the local datastructures.
15641 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15642 compiler directive.
15643
15644 2001-10-30 Michael Snyder <msnyder@redhat.com>
15645
15646 * gdb.base/jump.exp: Allow it to run for all targets.
15647
15648 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15649
15650 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15651 with new double_array size.
15652 (main): Change storage class of all local variables to static.
15653 Reduce size of double_array to 9.
15654 * gdb.base/call-ar-st.exp: Increase timeout value.
15655 Change expected output for double array to match new size in
15656 call-ar-st.c.
15657
15658 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15659
15660 * gdb.base/ending-run.exp: Create identical output when passing
15661 `step to end of run' case. Add regular expression branch satisfying
15662 Stormy16 target.
15663
15664 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15665
15666 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15667 that we catch the expected failure under Linux/x86.
15668
15669 2001-10-29 Orjan Friberg <orjanf@axis.com>
15670
15671 * gdb.base/setvar.exp: Escape curly braces.
15672 * gdb.stabs/weird.exp: Ditto.
15673
15674 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15675
15676 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15677 * gdm.mi/mi0-hack-cli.exp: Likewise.
15678
15679 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15680
15681 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15682 messages.
15683
15684 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15685
15686 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15687 checking MI enabled.
15688
15689 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15690
15691 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15692
15693 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15694
15695 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15696 if gdb child process crashes, just signal an error.
15697
15698 2001-10-02 Jim Blandy <jimb@redhat.com>
15699
15700 * lib/gdb.exp (test_xfail_format): Simplify.
15701
15702 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15703 front of the variable name `format'. Simplify `if'.
15704
15705 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15706
15707 * gdb.threads/pthreads.exp: Wait for output and delay
15708 before sending ^C.
15709
15710 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15711
15712 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15713 some incorrect output instead of timing out.
15714 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15715
15716 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15717
15718 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15719 check to allow additional `int'.
15720
15721 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15722
15723 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15724 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15725
15726 2001-09-27 Michael Snyder <msnyder@redhat.com>
15727
15728 * lib/gdb.exp (test_debug_format): New proc.
15729 (setup_xfail_format): Use new proc test_debug_format.
15730 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15731 proc; use new service proc test_debug_format.
15732 Replace all other "gcc_compiled" tests with this test.
15733 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15734 proc; use new service proc test_debug_format.
15735 Replace all other "gcc_compiled" tests with this test.
15736
15737 2001-09-27 Michael Snyder <msnyder@redhat.com>
15738
15739 * gdb.base/cvexpr.exp: New file.
15740 * gdb.base/cvexpr.c: New file
15741 Test for expressions using const and volatile keywords.
15742
15743 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15744
15745 * gdb.base/constvars.exp: Check for different orders of keywords
15746 and additional "int" strings in output.
15747
15748 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15749
15750 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15751 responses from "help maint".
15752
15753 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15754
15755 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15756 to localhost:NNN instead of :NNN, in case Xvfb is listening
15757 only on TCP.
15758
15759 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15760
15761 * gdb.base/recurse.exp: When checking leaving the watchpoint
15762 scope, recognize when gdb is in function's epilogue and pass.
15763
15764 2001-09-18 Keith Seitz <keiths@redhat.com>
15765
15766 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15767 support for running tests against sid targets.
15768 (gdbtk_done): Ditto.
15769
15770 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15771
15772 * gdb.base/ending-run.c (main): Set stdout buffersize
15773 to the same reasonable value for any target.
15774 * gdb.base/ending-run.exp: Add a regular expression
15775 to make testsuite happy on Sanyo Stormy16 target.
15776
15777 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15778
15779 * gdb.base/display.c (do_loops): Add float variable `f'.
15780 Increment f in loop.
15781 * gdb.base/display.exp: Increment timeout by 60 seconds.
15782 Change float display test to use variable `f'.
15783
15784 2001-09-17 Jim Blandy <jimb@redhat.com>
15785
15786 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15787 overflowing the limited breakpoint tables on some ROM monitors
15788 (like the ROM68K).
15789
15790 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15791
15792 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15793 the "-ac" (disable access control) flag.
15794
15795 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15796
15797 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15798 ints.
15799
15800 2001-08-30 Keith Seitz <keiths@redhat.com>
15801
15802 * lib/gdb.exp: Move all insight-related functionality into
15803 separate file.
15804 * lib/insight-support.exp: New file.
15805
15806 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15807
15808 * config/sid.exp (sid_start): Never set sid verbosity; disable
15809 expect_background {} that consumed its stdout; tolerate </dev/null.
15810 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15811
15812 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15813
15814 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15815 CLI jump command to start it.
15816 (mi_run_to_main): Fail immediatly when unexpected output.
15817
15818 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15819
15820 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15821 beginning of function. Fix PR gdb/191.
15822
15823 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15824
15825 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15826 what to force sid endianness to.
15827
15828 2001-08-15 Keith Seitz <keiths@redhat.com>
15829
15830 * lib/gdb.exp (gdbtk_start): Don't set environment
15831 variables for TCL_LIBRARY and friends. Insight will
15832 now figure these out for itself.
15833
15834 2001-08-02 Michael Snyder <msnyder@redhat.com>
15835
15836 * gdb.base/completion.exp: Remove the symbol "a64l" from
15837 the expect string; this is target-specific, and not related
15838 to what is being tested.
15839
15840 2001-08-02 Dave Brolley <brolley@redhat.com>
15841
15842 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15843
15844 2001-07-25 Michael Snyder <msnyder@redhat.com>
15845
15846 * gdb.base/consecutive.exp: New file. Test stepping over
15847 breakpoints on consecutive instructions.
15848 * gdb.base/consecutive.c: New file.
15849
15850 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15851 curly braces in regular expressions.
15852
15853 2001-07-25 Michael Snyder <msnyder@redhat.com>
15854
15855 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15856 legitimate output from stepping out of main.
15857
15858 2001-07-22 Keith Seitz <keiths@redhat.com>
15859
15860 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15861 the empty string, do not run the tests.
15862
15863 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15864
15865 * gdb.base/long_long.exp: Detect size of pointer. Take into
15866 account 2-byte pointers when testing for p/a results.
15867
15868 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15869
15870 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15871 and defined to 1K for m68hc11.
15872 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15873 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15874 (sizeof_random_data): New variable to tell the size of the data table;
15875 don't test past this size; always run to main.
15876
15877 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15878
15879 * gdb.base/return2.exp: return of long long and double fails for
15880 68HC11; don't execute these tests on that platform.
15881 * gdb.base/return.exp: Return of a double fails for 68hc11.
15882
15883 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15884
15885 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15886 tests that print a float.
15887 * call-rt-st.exp: Likewise.
15888
15889 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15890
15891 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15892 running this test on Linux.
15893
15894 2001-06-24 Michael Chastain <chastain@redhat.com>
15895
15896 * gdb.base/arithmet.exp: Remove some tests to make all test names
15897 unique.
15898
15899 2001-07-03 Michael Snyder <msnyder@redhat.com>
15900
15901 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15902 the output of the ptype command.
15903
15904 2001-07-02 Michael Snyder <msnyder@redhat.com>
15905
15906 * gdb.base/completion.exp: Don't assume that break.c is the only
15907 source file that may contain functions named "marker".
15908 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15909
15910 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15911
15912 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15913 of files to delete.
15914
15915 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15916 * gdb.disasm/h8300s.exp: New file.
15917 gdb.disasm/h8300s.s: Likewise.
15918
15919 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15920
15921 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15922 empty breakpoint tables.
15923
15924 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15925
15926 * lib/mi-support.exp: Update args=... part of stop-reason
15927 patterns. Accept either a list or a tuple.
15928
15929 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15930
15931 * lib/mi-support.exp: Remove local emacs variable defining
15932 change-log-default-name.
15933
15934 2001-06-22 Michael Chastain <chastain@redhat.com>
15935
15936 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15937 This is operationally compatible with the previous version.
15938
15939 2001-06-13 Jim Blandy <jimb@redhat.com>
15940
15941 * lib/gdb.exp (gdb_test): Doc fix.
15942
15943 2001-06-10 Michael Chastain <chastain@redhat.com>
15944
15945 * gdb.base/exprs.exp: Remove a duplicate test.
15946
15947 2001-06-06 Jim Blandy <jimb@redhat.com>
15948
15949 * gdb.base/return2.exp (main): Use values to test float and double
15950 returns that are not NaN's, to avoid being confused by IEEE
15951 comparison rules.
15952
15953 2001-06-04 Michael Snyder <msnyder@redhat.com>
15954
15955 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15956 non-zero if control_c fails. Terminate the test on failure,
15957 rather than wait for 12 more tests to time out.
15958
15959 2001-06-06 Jim Blandy <jimb@redhat.com>
15960
15961 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15962 Don't forget to match the GDB prompt.
15963
15964 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15965
15966 2001-06-04 Jim Blandy <jimb@redhat.com>
15967
15968 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15969 command.
15970
15971 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15972
15973 * gdb.base/annota1.exp (info break): Match four or more spaces
15974 after "Address".
15975
15976 2001-05-31 Michael Chastain <chastain@redhat.com>
15977
15978 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15979 (dm_type_int_star): Likewise.
15980 (dm_type_long_star): Likewise.
15981 (dm_type_void_star): Likewise.
15982
15983 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15984
15985 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15986 to a known value in order to get consistent results regardless
15987 of the setting of INPUTRC or the presence or contents of .inputrc.
15988
15989 2001-05-24 Michael Snyder <msnyder@redhat.com>
15990
15991 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15992 Don't require that the main thread and the manager thread are the
15993 first in the list.
15994
15995 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15996 debugging. If test fails, issue an "unsupported" not a "fail".
15997
15998 2001-05-24 Jim Blandy <jimb@redhat.com>
15999
16000 Don't assume that short is shorter than int.
16001 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16002 assume that shorts are smaller than ints. On a 16-bit machine,
16003 this isn't true.
16004 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16005 an int, is not equal to ~0 stored in an unsigned char. This tests
16006 the same thing that the previous test meant to, but works on
16007 16-bit machines, too.
16008 ("print unsigned char != (~0)"): Same test, complemented.
16009
16010 2001-05-24 Michael Snyder <msnyder@redhat.com>
16011
16012 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16013 test for (full_coverage == 0). This makes the test run faster,
16014 and prevents dejagnu getting out of step.
16015
16016 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16017
16018 * gdb.base/finish.exp (finish_void): Revise pattern for
16019 stopping on the call statement to not permit stopping at
16020 the start of the instructions comprising the call sequence.
16021
16022 2001-05-19 Michael Chastain <chastain@redhat.com>
16023
16024 * gdb.base/callfuncs.exp: Make all test names unique.
16025 * gdb.base/commands.exp: Make all test names unique.
16026 * gdb.base/condbreak.exp: Make all test names unique.
16027 * gdb.base/dbx.exp: Make all test names unique.
16028 * gdb.base/default.exp: Make all test names unique.
16029 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16030 and TIMEOUT messages to their corresponding PASS message.
16031 * gdb.base/ending-run.exp: Make all test names unique.
16032 * gdb.base/long_long.exp: Remove duplicate test.
16033
16034 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16035
16036 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16037 stop on the call statement as well as the statement after the
16038 call.
16039
16040 2001-05-21 Michael Snyder <msnyder@redhat.com>
16041
16042 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16043
16044 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16045
16046 * gdb.base/completion.exp: Revamp test. Make it execute on all
16047 platforms.
16048
16049 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16050
16051 * config/gdbserver.exp (gdb_load): Handle the case
16052 in which the arguments to gdbserver are given in the
16053 baseboard configuration file.
16054 Also handle the case in which the server needs to do a
16055 load.
16056
16057 2001-05-07 Keith Seitz <keiths@cygnus.com>
16058
16059 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16060 set up the display for testing.
16061 (gdbtk_start): Convert all paths to paths that tcl will like.
16062 Export target information to environment.
16063 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16064 necessary.
16065 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16066 (to_tcl_path): New proc to convert a given pathname into
16067 a path acceptible as an argument to a tcl command.
16068 (_gdbtk_export_target_info): New proc to export target info
16069 into the environment for gdbtk testing.
16070 (gdbtk_done): New proc to signal end-of-test.
16071
16072 2001-05-06 Jim Blandy <jimb@redhat.com>
16073
16074 * restore.c: Make the code of caller0 correspond to its comment.
16075
16076 2001-05-03 Michael Snyder <msnyder@redhat.com>
16077
16078 * config/sid.exp (gdb_target_sid): Check for error messages.
16079 On error or timeout, don't make expect exit (which will terminate
16080 all subsequent tests); instead just make gdb exit.
16081 (gdb_load): Check for error messages. On error or timeout,
16082 return a negative value.
16083
16084 2001-04-24 Jim Blandy <jimb@redhat.com>
16085
16086 * gdb.c++/templates.exp: If we see the prompt for the overload
16087 list, but we haven't recognized any of the longer patterns,
16088 arrange for this test to fail, not hang.
16089
16090 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16091 variations.
16092
16093 2001-04-22 Michael Chastain <chastain@redhat.com>
16094
16095 * gdb.c++/local.exp: Use the 'runto' library function.
16096 * gdb.c++/namespace.exp: Likewise.
16097 * gdb.c++/overload.exp: Likewise.
16098
16099 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16100
16101 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16102 * gdb.base/step-line.exp: New file. Test step/next in presence of
16103 #line directives.
16104 * gdb.base/step-line.c: New file. Test program for the above.
16105 * gdb.base/step-line.inp: New file. We pretend that this file has
16106 been transformed by some other tool into step-line.c.
16107
16108 2001-03-21 Jim Blandy <jimb@redhat.com>
16109
16110 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16111 unmangled operator names.
16112
16113 2001-03-20 Jim Blandy <jimb@redhat.com>
16114
16115 * gdb.threads/linux-dp.exp: Recognize an additional message
16116 generated by GDB when it doesn't understand how to debug threads
16117 on the target system.
16118
16119 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16120
16121 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16122
16123 2001-03-12 Michael Chastain <chastain@redhat.com>
16124
16125 * gdb.c++/derivation.exp: Use the 'runto' library function.
16126
16127 2001-03-12 Michael Chastain <chastain@redhat.com>
16128
16129 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16130
16131 2001-02-24 Michael Chastain <chastain@redhat.com>
16132
16133 * gdb.c++/ref-types.exp: Change handwritten code to library
16134 function 'runto'.
16135
16136 2001-03-16 Orjan Friberg <orjanf@axis.com>
16137
16138 * gdb.base/signals.exp: Set count to 0 explicitly.
16139
16140 2001-03-15 Mark Salter <msalter@redhat.com>
16141
16142 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16143 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16144 (gdb_load): Add support for additional target_info: gdb_download_size
16145 and gdb_load_timeout.
16146
16147 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16148
16149 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16150 file -- to prevent failing when the compile fails but we have no
16151 intention of running the tests anyway.
16152
16153 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16154 tests if set.
16155
16156 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16157 integers.
16158
16159 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16160 * gdb.c++/namespace.exp: Ditto.
16161
16162 2001-03-07 Orjan Friberg <orjanf@axis.com>
16163
16164 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16165 * gdb.base/pointers.exp: Relax pattern match of decimals.
16166
16167 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16168
16169 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16170 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16171 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16172 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16173 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16174 config/sh.exp, config/sid.exp, config/slite.exp,
16175 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16176 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16177 config/vxworks.exp, config/vxworks29k.exp,
16178 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16179 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16180 gdb.base/arithmet.exp, gdb.base/assign.exp,
16181 gdb.base/async.exp, gdb.base/attach.exp,
16182 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16183 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16184 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16185 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16186 gdb.base/commands.exp, gdb.base/completion.exp,
16187 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16188 gdb.base/constvars.exp, gdb.base/corefile.exp,
16189 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16190 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16191 gdb.base/ending-run.exp, gdb.base/environ.exp,
16192 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16193 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16194 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16195 gdb.base/funcargs.exp, gdb.base/help.exp,
16196 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16197 gdb.base/logical.exp, gdb.base/long_long.exp,
16198 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16199 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16200 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16201 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16202 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16203 gdb.base/regs.exp, gdb.base/relational.exp,
16204 gdb.base/remote.exp, gdb.base/reread.exp,
16205 gdb.base/restore.exp, gdb.base/return2.exp,
16206 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16207 gdb.base/selftest.exp, gdb.base/setshow.exp,
16208 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16209 gdb.base/sigall.exp, gdb.base/signals.exp,
16210 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16211 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16212 gdb.base/step-test.exp, gdb.base/structs.c,
16213 gdb.base/structs.exp, gdb.base/structs2.exp,
16214 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16215 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16216 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16217 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16218 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16219 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16220 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16221 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16222 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16223 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16224 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16225 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16226 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16227 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16228 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16229 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16230 gdb.trace/circ.exp, gdb.trace/collection.exp,
16231 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16232 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16233 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16234 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16235 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16236 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16237 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16238 notices.
16239
16240 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16241
16242 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16243 first arg is int not float.
16244
16245 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16246
16247 * gdb.base/reread.exp: Unsupported for non-native targets;
16248 doesn't work for remote debugging.
16249
16250 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16251
16252 From Drew Moseley <dmoseley@redhat.com>
16253 * gdb.base/ending-run.exp: Properly handle the BSP state when
16254 stepping past the end of main.
16255
16256 2001-02-19 John Moore <jmoore@redhat.com>
16257
16258 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16259 Converted HPUX fix for non-expected items following multiple
16260 step commands into general solution for all platforms.
16261
16262 2001-02-18 Michael Chastain <chastain@redhat.com>
16263
16264 * gdb.c++/classes.exp (do_tests): Change runto statements
16265 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16266 statements demangler agnostic.
16267 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16268 (gdb_virtfunc_restart): Likewise.
16269
16270 2001-02-14 Michael Chastain <chastain@redhat.com>
16271
16272 * gdb.c++/inherit.exp (do_tests): Change runto statements
16273 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16274 statements demangler agnostic.
16275
16276 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16277
16278 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16279 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16280 before calling common_routine 15 times'' tests.
16281
16282 2001-02-11 Michael Chastain <chastain@redhat.com>
16283
16284 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16285 Helps the test script figure out which demangler is in use.
16286 (dm_type_foo_ref): Ditto.
16287 (dm_type_int_star): Ditto.
16288 (dm_type_long_star): Ditto.
16289 (dm_type_unsigned_int): Ditto.
16290 (dm_type_void): Ditto.
16291 (dm_type_void_star): Ditto.
16292 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16293 Probe the gdb demangler and set variables to accommodate
16294 formatting differences.
16295 (info_func_regexp): New function. Same as info_func, but
16296 matches against a regexp.
16297 (info_func): Match against a literal string.
16298 (print_addr_2): New function. Match against a literal string,
16299 which can be different from the input to gdb.
16300 (print_addr): Simply call print_addr_2 with the same argument twice.
16301 (test_lookup_operator_functions): Use demangler formatting variables.
16302 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16303 the tests in the same order as the C++ class declaration.
16304 (test_paddr_operator_functions): Ditto.
16305 (test_paddr_overloaded_functions): Ditto.
16306 (test_paddr_hairy_functions): Use demangler formatting variables.
16307 Add reference to gdb/19 for related tests.
16308 (do_tests): Call probe_demangler.
16309
16310 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16311
16312 * gdb.c++/templates.cc (printf): Remove unused function definition.
16313
16314 2001-01-26 Felix Lee <flee@redhat.com>
16315
16316 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16317
16318 2001-01-25 matthew green <mrg@redhat.com>
16319
16320 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16321 up sid.
16322 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16323
16324 2001-01-25 matthew green <mrg@redhat.com>
16325
16326 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16327 Deprecate $sid_spawn_id.
16328 (sid_exit): Remove code necessary only for `spawn.'
16329
16330 2001-01-25 matthew green <mrg@redhat.com>
16331
16332 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16333
16334 2001-01-28 Michael Chastain <chastain@redhat.com>
16335
16336 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16337 to call when tests fail. It takes gdb out of the overloaded
16338 function choice menu back to the main prompt, so that the test
16339 program stays synchronized.
16340 (set_bp_overloaded): New proc to collect all the common
16341 code for setting a breakpoint on an overloaded name. Calls
16342 take_gdb_out_of_choice_menu when needed.
16343 (menu_overload1arg): New variable to collect the repeated
16344 instances of the expected menu for an overloaded name. Change
16345 the regular expression to handle changes in g++ type encoding:
16346 "void" can be either "void" or "", and "unsigned int" can be
16347 either "unsigned int" or "unsigned".
16348 (continue_to_bp_overloaded): Change regular expressions to handle
16349 changes in g++ type encoding.
16350 (no proc): Call take_gdb_out_of_choice_menu when needed.
16351 Remove redundant calls to "info break". Accept either "canceled"
16352 or "cancelled". Change regular expressions in "info break"
16353 calls to handle changes in g++ type encoding. Give all tests
16354 unique strings.
16355
16356 2001-01-17 Ben Elliston <bje@redhat.com>
16357
16358 * config/sid.exp: New file.
16359
16360 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16361
16362 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16363
16364 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16365
16366 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16367 Add a RE to accept a non-ascii char if one is ever presented.
16368
16369 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16370
16371 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16372
16373 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16374
16375 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16376 in regexp. One '\' does not suffice on Linux.
16377
16378 2000-12-09 Michael Chastain <chastain@redhat.com>
16379
16380 * gdb.base/break.exp (test_clear_command): Use a marker function
16381 rather than 'main' for the test function. Also move this
16382 test to an execution point where the marker function names are
16383 guaranteed to be bound to functions. (Executing tests after a
16384 'finish' from main runs into name conflicts with local names
16385 in __libc_start_main).
16386
16387 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16388
16389 * gdb.base/finish.exp: New test for gdb's "finish" command.
16390 * gdb.base/return2.exp: New test for gdb's "return" command.
16391 * gdb.base/return2.c: New source file for above.
16392
16393 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16394
16395 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16396 * gdb.base/miscexprs.exp: Ditto.
16397 * gdb.base/pointers.exp: Ditto.
16398 * gdb.c++/derivation.exp: Ditto.
16399 * gdb.c++/local.exp: Ditto.
16400 * gdb.c++/namespace.exp: Ditto.
16401 * gdb.c++/overload.exp: Ditto.
16402 * gdb.c++/ref-types.exp: Ditto.
16403
16404 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16405
16406 * gdb.base/constvars.exp: Test result of "up" command.
16407 * gdb.base/miscexprs.exp: Ditto.
16408 * gdb.base/pointers.exp: Ditto.
16409 * gdb.base/scope.exp: Ditto.
16410 * gdb.c++/derivation.exp: Ditto.
16411 * gdb.c++/local.exp: Ditto.
16412 * gdb.c++/namespace.exp: Ditto.
16413 * gdb.c++/overload.exp: Ditto.
16414 * gdb.c++/ref-types.exp: Ditto.
16415
16416 2000-11-22 Michael Chastain <chastain@redhat.com>
16417
16418 * mips_pro.exp: Accept either "middle -> top -> main" or
16419 "middle -> main" in the backtrace, because gcc can optimize
16420 tail calls to jumps. Remove setup_xfail for the hppa case.
16421 Add a comment with the original warning messages from PR 3016,
16422 which was filed in 1993, to preserve them for posterity.
16423
16424 2000-11-17 Nick Duffek <nsd@redhat.com>
16425
16426 * lib/gdb.exp (gdb_test): Override timeout with board info.
16427
16428 2000-11-17 Nick Duffek <nsd@redhat.com>
16429
16430 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16431 the second kill and detach messages.
16432
16433 2000-11-17 Nick Duffek <nsd@redhat.com>
16434
16435 * configure.in: Add AC_EXEEXT.
16436 * configure: Regenerate.
16437 * Makefile.in (just-check): Export EXEEXT.
16438 * lib/gdb.exp ($EXEEXT): Import from environment.
16439 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16440 expect "maint dump-me" on Cygwin.
16441 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16442 $EXEEXT.
16443
16444 2000-11-17 Nick Duffek <nsd@redhat.com>
16445
16446 * gdb.base/break.exp: Test backtrace and finish from called
16447 function on all platforms, not just HP-UX.
16448
16449 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16450
16451 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16452 code from gdb_target_monitor, so it can be used independantly
16453 for gdbserver. Also comment out an unnecessary PUTS.
16454
16455 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16456
16457 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16458 * gdb.base/corefile.exp: Expect the message "Program is being
16459 debugged already" when we send the "corefile" command, since
16460 the preceeding gdb_load may have connected gdb to a remote target.
16461 * gdb.base/display.exp: Disable hardware watchpoints if new
16462 board info variable "no_hardware_watchpoints" is true.
16463 Replace single-letter commands with more readable ones.
16464 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16465 if new board info variable "no_hardware_watchpoints" is true.
16466 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16467 to see if stdio (printf) testing is possible.
16468 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16469 board info variable "no_hardware_watchpoints" is true. Use new
16470 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16471
16472 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16473
16474 From Orjan Friberg <orjanf@axis.com>:
16475 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16476 in array print pattern match.
16477
16478 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16479
16480 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16481 spelling "cancelled" to U.S. spelling "canceled" to match changes
16482 made to gdb.
16483 * gdb.c++/ovldbreak.exp: Ditto.
16484
16485 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16486
16487 * gdb.base/callfuncs.c (main): Moved to end of file, call
16488 t_double_values to initialize the FPU before inferior calls are made.
16489 * gdb.base/callfuncs.exp: Test for register preservation after calling
16490 inferior functions. Add tests for continuining, finishing and
16491 returning from a stop in a call dummy.
16492
16493 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16494
16495 * gdb.base/commands.exp: Break up long lines, and re-indent.
16496
16497 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16498
16499 * config/gdbserver.exp: Rewritten from the ground up, to make it
16500 compatible with the current dejagnu tree, and to make it work with
16501 the new "gdbserver" in libremote.
16502
16503 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16504
16505 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16506 * gdb.base/varargs.exp: Skip entire test if no printf support.
16507 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16508 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16509
16510 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16511
16512 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16513 no floating point support.
16514 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16515 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16516 * gdb.base/call-rt-st.exp: Ditto.
16517 * gdb.base/call-strs.exp: Ditto.
16518
16519 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16520
16521 * gdb.base/sizeof.c: include <stdio.h>.
16522
16523 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16524 'finish', otherwise uncaptured gdb_prompt would potentially
16525 throw remaining test points out of sync.
16526
16527 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16528
16529 * gdb.base/recurse.exp: Run tests for all targets.
16530 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16531 gnu-oldld case on ARM.
16532 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16533 for ARM targets.
16534
16535 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16536
16537 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16538 * gdb.java/configure: Rebuild.
16539
16540 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16541
16542 * gdb.java/jv-exp.exp: New file.
16543
16544 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16545
16546 * configure: Rebuilt.
16547 * configure.in (configdirs): Add gdb.java.
16548 * gdb.java/jmisc.java: New file.
16549 * gdb.java/jmisc.exp: New file.
16550 * gdb.java/Makefile.in: New file.
16551 * gdb.java/configure: Rebuilt.
16552 * gdb.java/configure.in: New file.
16553 * lib/java.exp: New file.
16554
16555 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16556
16557 * gdb.base/exprs.exp: Test casts to a pointer including over and
16558 underflow.
16559
16560 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16561
16562 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16563 and the compilers sizes.
16564
16565 2000-07-09 Nick Duffek <nsd@redhat.com>
16566
16567 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16568 (use_methods): New function.
16569 (main): Call use_methods().
16570 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16571 (do_tests): Call test_method_param_class.
16572
16573 2000-07-09 Nick Duffek <nsd@redhat.com>
16574
16575 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16576 spelling.
16577 (test_enums): New procedure. Move enum tests from end of script
16578 to here. Set breakpoint on function name instead of line number.
16579 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16580 (enums2): New marker function.
16581 (enums1): New function.
16582 (main): Call enums1(). Move enum tests to enums1().
16583
16584 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16585
16586 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16587 compile/link program. Update line numbers.
16588 * gdb.asm/d10v.inc: Define ``startup''.
16589 * gdb.asm/asmsrc1.s: Add definition of _start.
16590
16591 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16592
16593 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16594
16595 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16596
16597 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16598 of 'help maint print' command.
16599
16600 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16601
16602 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16603 they use gdb_expect_list.
16604
16605 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16606
16607 * gdb.base/commands.exp: Use ``set remote
16608 memory-read-packet-size'' instead of ``set endian big'' to test
16609 long commands.
16610
16611 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16612
16613 * gdb.c++/templates.exp (do_tests): Make all of these work under
16614 g++, and stop skipping them.
16615
16616 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16617 work under g++.
16618
16619 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16620 initialization.
16621
16622 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16623
16624 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16625 the regular expression: accept an (almost) arbitrary sequence of
16626 "frames-invalid" and "breakpoints-invalid" messages both before
16627 and after the "starting" message.
16628
16629 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16630
16631 * gdb.c++/local.exp: This test has never been known to work with g++.
16632
16633 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16634
16635 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16636 Relax the regular expression a little, make it pass on Solaris 8.
16637
16638 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16639
16640 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16641 a call, do not require that gdb stop on the line after the call.
16642 Instead, it is permissible for gdb to stop on the line of the
16643 call itself.
16644
16645 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16646
16647 * gdb.base/break.exp (bp on small function, optimized file):
16648 Add a second pass pattern. The behavior differs here between stabs
16649 and dwarf for one-line functions. Stabs preserves two line symbols
16650 (one before the prologue and one after) with the same line number,
16651 but dwarf regards these as duplicates and discards one of them.
16652 Therefore the address after the prologue (where the breakpoint is)
16653 has no exactly matching line symbol, and GDB reports the breakpoint
16654 as if it were in the middle of a line rather than at the beginning.
16655
16656 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16657
16658 * gdb.base/interrupt.exp: Make "pass" message say "send"
16659 rather than "send_gdb" (for consistancy).
16660
16661 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16662
16663 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16664 * gdb.c++/templates.cc: Properly check for GCC version number.
16665 * lib/compiler.cc: Likewise
16666
16667 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16668
16669 * gdb.base/break.exp: When compiled with -O2 optimization,
16670 gdb may not stop at the first line of main, due to code motion.
16671
16672 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16673
16674 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16675 This test depends on parsing the printf output from the target.
16676 Since the sparclet stub doesn't do stdio, this will never work.
16677 * gdb.base/call-rt-st.exp: ditto.
16678 * gdb.base/call-strs: ditto.
16679
16680 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16681
16682 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16683
16684 * gdb.base/ending-run.exp: After connecting to a remote target,
16685 but before running, the target will appear to be in a random
16686 location. Specify both a file and a line for breakpoints.
16687 Also, the function that calls main may be called 'init'
16688 rather than 'start'.
16689
16690 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16691
16692 * gdb.base/help.exp: Update output for add-symbol-file command.
16693
16694 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16695
16696 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16697 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16698
16699 2000-04-07 J.T. Conklin <jtc@redback.com>
16700
16701 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16702
16703 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16704
16705 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16706
16707 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16708 values that can be represented exactly.
16709 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16710 above change, and to not check against the directory part of the source
16711 file name.
16712 (step into print_long_arg_list): Likewise.
16713 (print print_small_structs from print_long_arg_list): Likewise.
16714 (print print_long_arg_list): Likewise.
16715
16716 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16717
16718 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16719
16720 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16721
16722 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16723
16724 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16725
16726 * gdb.base/commands.exp (deprecated_command_test): Add test for
16727 deprecate with no arguments.
16728
16729 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16730
16731 * gdb.base/break.exp: Add new test for setting breakpoints on
16732 optimized code so we can test breakpoints work even when function
16733 prologues may be optimized away
16734
16735 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16736
16737 From David Whedon <dwhedon@gordian.com>
16738 * gdb.base/commands.exp : Added command deprecator tests.
16739
16740 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16741
16742 * gdb.base/help.exp: Added test for new apropos command.
16743
16744 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16745
16746 * gdb.base/pointers.c (usevar): New function.
16747 (main): Make sure that global variables v_int_pointer2, rptr,
16748 and y are all referenced someplace in the program by calling
16749 usevar() on them. [Some linkers delete symbols which are
16750 never referenced. The space remains, but there's no way to
16751 get a (symbolic) handle on the variable from the debugger.]
16752
16753 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16754
16755 * gdb.base/printcmds.c: Add typedeffed arrays.
16756
16757 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16758 procedure to test arrays that are typedef'd.
16759
16760 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16761
16762 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16763 the library directories.
16764
16765 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16766
16767 * configure.in (configdirs): Add sub directory gdb.mi.
16768 * configure: Re-generate.
16769
16770 * gdb.mi: New directory.
16771
16772 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16773
16774 * gdb.base/long_long.exp: Correct test suite failure when printing
16775 a long long value as a double on ARM platforms.
16776
16777 2000-02-16 Jim Blandy <jimb@redhat.com>
16778
16779 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16780 default source file is set properly before running this test.
16781
16782 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16783
16784 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16785 gdbtk/library directory, not in gdbtcl2.
16786
16787 2000-02-04 Jim Blandy <jimb@redhat.com>
16788
16789 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16790 backslash from regexp pattern.
16791
16792 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16793 procedure. Use it to run all the "continue to bp overloaded"
16794 tests. Note that this changes the names of the tests slightly.
16795 If the breakpoint hit message includes a hex PC value, because
16796 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16797 from the real source code, still consider that a pass.
16798
16799 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16800 XFAIL here if the breakpoint message contains a hex address. Note
16801 similar change on 1999-11-02.
16802
16803 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16804
16805 * gdb.base/ptype.exp: Establish a default source file before
16806 calling get_debug_format.
16807
16808 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16809
16810 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16811
16812 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16813
16814 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16815 of successive stepi commands -- while in the prologue we should see
16816 the function entry bracket.
16817
16818 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16819
16820 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16821 reach __change_mode() when stepping through the end of main().
16822
16823 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16824
16825 * gdb.base/default.exp: Fix expected pattern.
16826 * gdb.base/help.exp: Same.
16827
16828 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16829
16830 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16831 Don't use xfail's because that affects only the following test.
16832
16833 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16834 solaris or linux.
16835
16836 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16837
16838 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16839
16840 * gdb.base/display.exp: Some yacc parsers like to say
16841 "A syntax error" rather than "A parse error". Accept both.
16842
16843 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16844
16845 * gdb.base/default.exp: Remove OS dependent string from "target
16846 remote" test.
16847 * gdb.base/help.exp: Same for "help target remote" test.
16848
16849 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16850
16851 From Jim Kingdon <kingdon@redhat.com>:
16852
16853 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16854 prompt (cleanup rather than necessity, but still might keep output
16855 from spilling to next test).
16856
16857 2000-01-02 Fred Fish <fnf@cygnus.com>
16858
16859 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16860 AIX, which defines them in <sys/types.h>.
16861
16862 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16863
16864 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16865 float" test.
16866
16867 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16868
16869 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16870
16871 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16872 outermost frame disallowed".
16873
16874 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16875
16876 * gdb.base/setvar.exp: New tests for setting the value of a struct
16877 with a constant list.
16878
16879 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16880
16881 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16882 require the user to type a cast before setting the value of a struct.
16883
16884 1999-12-06 Jim Blandy <jimb@cygnus.com>
16885
16886 * gdb.base/default.exp: Expect the new 'info float' command on
16887 all i386 platforms.
16888
16889 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16890 LinuxThreads libraries that don't support debugging.
16891
16892 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16893
16894 * gdb.base/remote.c: Fill the buffer with truely random data.
16895 Change the buffer type to ``unsigned char'' to simplify size
16896 arithmetic.
16897
16898 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16899 stub only handles 400-1 byte packets. Verify that the download
16900 worked.
16901
16902 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16903
16904 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16905 tests, using UNRESOLVED for the untested cases. Also, does not wait
16906 for a timeout if the prompt was received before a recognizable pattern.
16907
16908 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16909
16910 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16911
16912 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16913
16914 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16915 watchpoints.
16916
16917 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16918
16919 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16920
16921 * gdb.c++/local.exp: Be more flexible in recognizing local class
16922 name mangling. Don't allow horribly truncated method names.
16923 * gdb.c++/derivation.exp: Expect protected inheritance.
16924 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16925 * gdb.c++/virtfunc.exp: Likewise.
16926 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16927 when printing a nested enum.
16928
16929 1999-11-22 Jim Blandy <jimb@cygnus.com>
16930
16931 * gdb.base/step-test.exp: Properly await GDB's response to setting
16932 a breakpoint on the call to large_struct_by_value.
16933
16934 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16935 just because we have debug info for the `start' function.
16936
16937 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16938
16939 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16940 "Unknown signal" messages, which indicate (on LinuxThreads) that
16941 GDB doesn't know how to debug threads on this system. This is
16942 better than hanging while philosopher 0 dumps chatter into gdb.log.
16943
16944 1999-11-18 Tom Tromey <tromey@cygnus.com>
16945
16946 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16947
16948 1999-11-18 Fred Fish <fnf@cygnus.com>
16949
16950 * gdb.base/coremaker2.c: Add sample program for generating
16951 cores that is more self contained than coremaker.c. Eventually
16952 I'll add more code to this and tie it into the testsuite.
16953
16954 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16955
16956 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16957
16958 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16959
16960 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16961 from $srcdir/lib/.
16962 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16963 and gdb.c++/.
16964
16965 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16966
16967 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16968 'continue with watch' test point.
16969
16970 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16971
16972 Merged from p2linux-990323-branch:
16973
16974 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16975
16976 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16977
16978 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16979 {limit,fixed}''. Test ``set download-write-size''.
16980
16981 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16982
16983 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16984 gdb_expect_list.
16985
16986 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16987
16988 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16989
16990 1999-11-03 Mark Salter <msalter@cygnus.com>
16991
16992 * gdb.base/break.exp: Fix "stub continue" pattern.
16993
16994 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16995
16996 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16997
16998 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16999
17000 * gdb.base/display.exp ("finish"): Add timeout clause.
17001
17002 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17003 plain prompt clause, so this doesn't have to time out in order to
17004 fail.
17005
17006 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17007 breakpoint hit messages include an address.
17008
17009 * gdb.base/display.exp: Don't forget to escape parens in regular
17010 expressions. Unix regexp notatation sucks.
17011
17012 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17013
17014 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17015 order for 'signalled' message.
17016
17017 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17018
17019 From Jimmy Guo <guo@cup.hp.com>:
17020 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17021 * gdb.base/annota1.c: Add code for tests to work with.
17022
17023 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17024
17025 * gdb.base/remote.exp: New test for remote downloading settings.
17026 * gdb.base/remote.c: New file with large .data.
17027
17028 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17029
17030 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17031 for LinuxThreads support, merged from the Code Fusion branch.
17032
17033 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17034
17035 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17036 containing exp_continue into a while within an expect. Don't
17037 attempt a start more than three times. Check return value from
17038 gdb_load.
17039
17040 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17041
17042 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17043 a pass case.
17044
17045 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17046
17047 * gdb.base/break.c (main): Added a statement that we can step
17048 off of.
17049 * gdb.base/break.exp: Added tests for setting a breakpoint
17050 at an offset and stepping onto a breakpoint.
17051
17052 1999-10-01 Fred Fish <fnf@cygnus.com>
17053
17054 * gdb.base/help.exp (help add-symbol-file): Update to match current
17055 gdb output.
17056
17057 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17058
17059 * gdb.base/break.exp: Code locations are in hex, don't forget!
17060 (For HP-UX.)
17061
17062 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17063
17064 * condbreak.exp: Use break.c as test program.
17065 * condbreak.c: Remove, redundant with break.c.
17066
17067 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17068
17069 * config/monitor.exp (gdb_target_monitor): Disable X- and
17070 Z-packets if the target needs it.
17071
17072 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17073
17074 * gdb.c++/overload.exp: Added tests for listing overloaded
17075 functions with function pointers in the arg, explicitly calling
17076 out the version you want.
17077
17078 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17079
17080 * long_long.exp: Add variations of test cases that work for
17081 targets with 16-bit ints and 32-bit doubles.
17082
17083 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17084
17085 * break.c (main): Compare a possibly-uninitialized argc with an
17086 unlikely value that fits in 16 bits.
17087
17088 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17089
17090 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17091 0xfeeb, don't want negative numbers if ints are 16 bits.
17092
17093 * lib/gdb.exp (skip_cplus_tests): New proc.
17094 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17095 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17096 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17097 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17098 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17099 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17100 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17101 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17102
17103 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17104
17105 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17106
17107 * gdb.base/corefile.exp (up): Allow a parameter to appear
17108 in the frame that we're going up to.
17109
17110 From Jim Blandy <jimb@cygnus.com>:
17111
17112 * gdb.base/default.exp (info float): Expect some output now.
17113
17114 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17115 returning floating-point values to fail on the x86.
17116 * gdb.base/callfwmall.exp (do_function_calls): Same.
17117
17118 * gdb.base/list.exp (test_listsize): Correct expectations for
17119 listing line 1 with listsize 2. Also, listing a single line
17120 works now, as does listing three lines. [Kevin's note: There
17121 were a number of other cases fixed too where the expectations
17122 differed...]
17123
17124 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17125
17126 * gdb.base/selftest.exp: Add case for when version prints as
17127 constant string instead of char pointer.
17128
17129 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17130
17131 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17132 stepping out of main.
17133
17134 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17135 G++ used.
17136
17137 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17138 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17139
17140 * gdb.c++/ovldbreak.exp: Update match string in test that
17141 includes a warning of multiple breakpoints.
17142
17143 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17144
17145 * gdb.base/display.exp: Improve precision of step-after-finish
17146 added yesterday.
17147
17148 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17149 test.
17150
17151 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17152 configs when using G++, not just hppa*.
17153
17154 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17155
17156 * gdb.base/async.c: New file.
17157 * gdb.base/async.exp: New file.
17158
17159 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17160
17161 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17162 PA64.
17163
17164 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17165
17166 * gdb.base/display.exp: "finish" can leave us mid-line on many
17167 targets, deal with it. Add a small constant to main, instead of
17168 1000 since main+1000 may not be a valid address in the target.
17169
17170 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17171 on hpux11.
17172
17173 * gdb.base/attach.exp: Handle another hpux11 error message variant
17174 when attaching to a process that does not exist.
17175
17176 1999-08-19 J.T. Conklin <jtc@redback.com>
17177
17178 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17179 characters in 'continue to 1241' test.
17180
17181 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17182
17183 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17184 stop in print_long_arg_list, define and use a whitespace
17185 variable in print_small_structs test, add an XFAIL for Solaris.
17186 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17187 interested enough to fix.
17188
17189 1999-08-13 Keith Seitz <keiths@cygnus.com>
17190
17191 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17192 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17193 proc knows about targets other than the natives.
17194 (test_assign): Use "gdb_run_cmd" to "run" the target.
17195 Check that we've actually hit the breakpoint at main.
17196 When we attempt to assign a value to a local variable, check
17197 that the variable is in the current scope, i.e., don't use
17198 a test with an empty result.
17199
17200 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17201
17202 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17203 command.
17204
17205 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17206
17207 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17208 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17209 gdb.compat, gdb.threads-hp.
17210 gdb.hp/configure, gdb.hp/configure.in: New files.
17211 gdb.hp/Makefile.in: Recurse into new subdirs.
17212 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17213 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17214 in object files.
17215 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17216
17217 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17218
17219 * gdb.base/display.exp: Help expect by putting a newline in the
17220 funky printf, remove a bogus p/a test.
17221
17222 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17223
17224 * gdb.base/display.exp: Make sure that when we say 'run', we are
17225 connected to the target. This is necessary when running not
17226 natively.
17227
17228 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17229
17230 * gdb.base/step-test.exp: Removed some extraneous messages.
17231
17232 * gdb.base/long_long.exp: Don't run memory examination tests
17233 on little-endian targets (they will need a different set of
17234 results to match).
17235
17236 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17237
17238 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17239 until somebody decides to fix GDB.
17240
17241 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17242 constant as "ULL".
17243 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17244 matches for a couple x/2 commands.
17245
17246 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17247
17248 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17249 by merging in ref-types2 tests.
17250 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17251
17252 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17253 * gdb.c++/Makefile.in: Add standard actions.
17254 (EXECUTABLES): Rename from PROGS, update list.
17255 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17256 from gdb.hp.
17257 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17258 foo and bar locals.
17259 * gdb.c++/anon-union.exp: Fix tests to match.
17260 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17261 expect matches to handle output variations.
17262 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17263 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17264 output, add HP alternatives for new and delete prints.
17265 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17266 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17267 * gdb.c++/demangle.exp: Use $style when reporting failure.
17268 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17269 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17270 match alternatives.
17271 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17272 compilers.
17273 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17274 * gdb.c++/method.exp: Add match alternatives.
17275 * gdb.c++/misc.cc: Add bool types.
17276 * gdb.c++/misc.exp: Add tests for bool types.
17277 * gdb.c++/overload.exp: Add xfails.
17278 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17279 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17280 add some more template parameter tests (only for HP currently).
17281 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17282 * gdb.c++/virtfunc.cc: Add return type and value for main.
17283 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17284 match alternatives.
17285
17286 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17287
17288 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17289
17290 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17291
17292 * gdb.base/signals.exp: Don't expect getting a backtrace from
17293 within a signal handler to fail on Linux.
17294
17295 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17296
17297 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17298 * lib/gdb.exp: Remove some gratuitious semicolons.
17299 (delete_breakpoints): Increase timeout.
17300 (gdb_expect): Add -notransfer option.
17301 (gdb_test): Use -notransfer option.
17302 (get_compiler_info): Add f77 case.
17303 (get_compiler): New proc, split out from gdb_preprocess, add f77
17304 case.
17305 (gdb_preprocess): Call get_compiler.
17306
17307 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17308 * gdb.base/attach.exp, gdb.base/display.exp,
17309 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17310 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17311 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17312 third arg to gdb_test.
17313 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17314 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17315 HP-UX xfails, add others.
17316 * gdb.base/completion.exp: Reflect name change of self-test.
17317 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17318 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17319 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17320 HP failure number.
17321 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17322 useless HP-UX 10.30 references.
17323 * gdb.base/maint.exp: Loosen matches.
17324 * gdb.base/pointers.c (main): Declare more_code.
17325 * gdb.base/pointers.exp: Match on output of a `next'.
17326 * gdb.base/structs.c: Add prototypes.
17327 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17328 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17329
17330 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17331
17332 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17333 command.
17334
17335 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17336
17337 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17338 Fix run to main failures. Watchpoint can be hardware watchpoint.
17339
17340 * gdb.base/annota1.exp: Clean up some more, in case printf has
17341 debug info. Deal with lack of signal hanlder info in stack.
17342
17343 From Jim Kingdon <kingdon@redhat.com>:
17344 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17345
17346 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17347
17348 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17349 gdb.base/foll-vfork.exp: Don't run for crosses.
17350
17351 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17352
17353 * gdb.base/configure.in: Check for gdbvars.exp instead of
17354 a1-selftest.exp.
17355 * gdb.base/configure: Re-generate.
17356
17357 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17358
17359 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17360 in trying to run first and name is too long.
17361
17362 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17363 pointers2.c and pointers2.exp, respectively.
17364 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17365 doschk happier.
17366
17367 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17368
17369 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17370 callfuncs2.c and callfuncs2.exp.
17371
17372 * gdb.base/list.exp: Remove mistaken xfails.
17373 * gdb.base/list0.h: Add optional prototypes.
17374
17375 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17376
17377 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17378 calling malloc.
17379 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17380 * ptype.exp: Move test for get_debug_format to before its first
17381 use.
17382
17383 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17384
17385 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17386 * gdb.base/annota2.cc, annota2.exp: Move from here.
17387 * gdb.c++/annota2.cc, annota2.exp: To here.
17388 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17389
17390 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17391
17392 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17393 a consistent format.
17394
17395 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17396
17397 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17398 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17399 HP compilers, also set the globals $true and $false.
17400
17401 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17402 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17403 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17404 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17405 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17406 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17407 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17408 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17409 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17410 whatis.c} Add C++ compatible function definitions and return
17411 types, add includes for library functions.
17412 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17413 * gdb.base/step-test.c (myglob): Rename from glob.
17414 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17415 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17416 files, move here from gdb.hp.
17417 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17418 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17419 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17420 Adjust line numbers in regexps.
17421
17422 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17423 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17424 instead of 0/1.
17425
17426 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17427 foll-vfork.exp: New files, move here from gdb.hp.
17428 * gdb.base/page.exp: New file, test of pagination command.
17429
17430 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17431 recursion test.
17432 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17433
17434 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17435 gdb.base/solib.exp: Fix compiler invocation process.
17436
17437 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17438 HP-UX 11, turn off overload resolution explicitly.
17439 * gdb.base/commands.exp: Set argument list explicitly, add
17440 watchpoint test.
17441 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17442 them work.
17443 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17444 expressions properly.
17445 * gdb.base/corefile.exp: Loosen the match slightly.
17446 * gdb.base/default.exp: Allow "Error accessing memory" message
17447 also.
17448 * gdb.base/display.exp: Skip over x/0 j if PA64.
17449 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17450 * gdb.base/interrupt.exp: Ditto.
17451 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17452 in use.
17453 * gdb.base/list.exp: Add xfails for HP-UX.
17454 * gdb.base/long_long.exp: Refine some of the numeric matches.
17455 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17456 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17457 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17458 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17459 * gdb.base/ptype.exp: Succeed on more varieties of output.
17460 * gdb.base/scope.exp: Add xfails for HP-UX.
17461 * gdb.base/sect-cmd.exp: Add more cases.
17462 * gdb.base/setvar.exp: Add xfails for HP-UX.
17463 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17464 * gdb.base/signals.exp: Match on void symbolically.
17465 * gdb.base/step-test.exp: Add case for PA64.
17466 * gdb.base/term.exp: Add exit and restart.
17467 * gdb.base/twice.exp: Clean up after self.
17468 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17469 * gdb.base/whatis.exp: Allow more ways to pass tests.
17470
17471 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17472 no longer useful.
17473
17474 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17475
17476 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17477 list of patterns.
17478 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17479 print_double_array(double_array)", "continuing to breakpoint
17480 1018", "print print_double_array(array_d)" and "continuing to
17481 1034" tests.
17482
17483 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17484
17485 * Makefile.in: Add empty html and install-html targets.
17486
17487 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17488
17489 * config/mt-*: Remove, these haven't been used since 1996.
17490
17491 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17492
17493 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17494 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17495 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17496
17497 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17498
17499 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17500 simpler match case for the ptype of the big class.
17501
17502 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17503
17504 * gdb.exp: Fix test for gdb_prompt existence.
17505
17506 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17507
17508 * gdb.exp (gdb_test): Add fail after calls to perror.
17509
17510 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17511
17512 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17513
17514 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17515
17516 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17517
17518 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17519
17520 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17521 malloc() is linked in.
17522
17523 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17524
17525 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17526 step at end.
17527
17528 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17529
17530 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17531
17532 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17533
17534 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17535
17536 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17537 * gdb.base/mips_pro.exp: Likewise.
17538
17539 1999-06-02 Keith Seitz <keiths@cygnus.com>
17540
17541 * gdb.c++/templates.cc: Change all "new" operators to throw
17542 an exception.
17543 * gdb.c++/cplusfuncs.cc: Likewise.
17544
17545 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17546
17547 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17548
17549 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17550 * gdb.base/ending-run.exp: When stepping out of main, accept a
17551 step into an arbitrary assembler file.
17552
17553 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17554
17555 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17556 "breakpoint-invalid" to be printed.
17557 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17558 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17559 * gdb.base/annota2.cc: Initialize a.x to 0.
17560
17561 1999-05-17 Keith Seitz <keiths@cygnus.com>
17562
17563 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17564 when "skip_float_tests" set.
17565 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17566 "print print_ten_doubles", and "step into print_long_arg_list".
17567 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17568 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17569 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17570 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17571 "skip_float_tests" is set.
17572 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17573 when "skip_float_tests" set.
17574
17575 1999-05-06 Keith Seitz <keiths@cygnus.com>
17576
17577 * gdb.base/annota2.cc: Include stdio.h.
17578
17579 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17580
17581 * gdb.base/crossload.exp: Remove, this has been disabled ever
17582 since BFD stopped including all targets, and cross-GDB gets
17583 plenty of testing anyway.
17584 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17585 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17586 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17587 * gdb.base/README: Remove, was doc for this.
17588 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17589 needed.
17590
17591 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17592
17593 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17594 output.
17595
17596 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17597 * gdb.base/annota2.exp: New file. More annotation tests.
17598 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17599 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17600
17601 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17602
17603 * config/cfdbug.exp: New file.
17604
17605 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17606
17607 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17608 Marcus Daniel's and Dale Hawkins's demangler crashes.
17609
17610 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17611 test_lucid_style_demangling, test_arm_style_demangling,
17612 test_hp_style_demangling): Try Tom Tromey's core-dumping
17613 identifier under each demangling style.
17614
17615 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17616
17617 * gdb.c++/demangle.exp: Include the current demangling style
17618 in all test names.
17619 (current_demangling_style): New global variable.
17620 (set_demangling_style, test_demangling_core, test_demangling,
17621 test_demangling_exact): New functions.
17622 (test_gnu_style_demangling, test_lucid_style_demangling,
17623 test_arm_style_demangling, test_hp_style_demangling): Use those,
17624 instead of calling gdb_test and gdb_test_exact directly.
17625 (catch_demangling_errors): New function, which reports errors
17626 signalled by the demangling test functions in an orderly way.
17627 (do_tests): Use catch_demangling_errors.
17628
17629 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17630
17631 * gdb.base/signals.exp (test_handle_all_print): Use () for
17632 grouping in expressions, not {}.
17633
17634 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17635 initialized yet.
17636
17637 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17638
17639 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17640 are listed.
17641
17642 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17643
17644 * gdb.stabs/weird.exp: Test for CC being defined before
17645 looking at its value.
17646
17647 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17648
17649 * gdb.base/call-ar-st.exp: Remove stray '#'.
17650 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17651 "short int" and "long int".
17652 * gdb.c++/overload.cc: Cast the string added in the previous
17653 change, to mollify finicky HP compiler.
17654 * gdb.hp/reg-test.exp (testfile): Fix file name.
17655 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17656
17657 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17658 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17659 alternate form of enum ptype.
17660
17661 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17662
17663 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17664 * gdb.hp/*.exp: Change all to run compiler probe only after
17665 passing skip_hp_tests, so as not to waste time on guaranteed
17666 failure.
17667
17668 * gdb.c++/overload.cc: Pass string instead of char addr, always
17669 init ccpfoo.
17670 * gdb.c++/templates.cc: Fix syntax error.
17671
17672 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17673
17674 * gdb.base/commands.exp: Add test for correct position of '>'
17675 when issuing the 'commands' command after a 'while' or 'if'
17676 command.
17677
17678 1999-03-18 James Ingham <jingham@cygnus.com>
17679
17680 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17681
17682 * gdb.c++/method.exp: It was testing an uninitialized int on the
17683 stack and assuming it was positive.
17684
17685 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17686
17687 * gdb.base/step-test.exp: Catch a case where finish is broken and
17688 keep it from killing the rest of the tests.
17689 Use gdb_continue_to_end.
17690
17691 * gdb.base/sigall.exp: use gdb_continue_to_end.
17692
17693 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17694
17695 * gdb.base/display.exp: use runto_main, not run.
17696
17697 * gdb.base/default.exp: Check for the current error message in the
17698 r abbreviation test.
17699 Add strongarm to the targets that know info float.
17700
17701 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17702 run which doesn't work with monitors.
17703
17704 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17705
17706 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17707
17708 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17709 program. Traps the case (in Cygmon) when the program never really
17710 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17711 more places, so I used my name. Sorry Mark...
17712
17713 * config/monitor.exp (gdb_target_monitor): added another
17714 target_info parameter: remotebinarydownload. This will set the
17715 remotebinarydownload flag if this is causing some boards trouble.
17716
17717 1999-03-18 Mark Salter <msalter@cygnus.com>
17718
17719 * lib/gdb.exp (continue_to_exit): New function.
17720
17721 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17722 * gdb.base/ending-run.exp: Ditto.
17723 * gdb.base/step-test.exp: Ditto.
17724
17725 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17726
17727 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17728 (suggested by Art Haas <ahaas@neosoft.com>).
17729
17730 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17731
17732 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17733
17734 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17735
17736 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17737 descriptions of types (short unsigned int vs unsigned short, etc).
17738
17739 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17740
17741 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17742 a call to strlen; sometimes we do have sources.
17743
17744 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17745
17746 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17747 character, so GDB won't print garbage after its end.
17748
17749 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17750 breakpoint there instead. Sometimes GCC emits memcpy to handle
17751 the large structures being passed by value, so we step into that
17752 instead of sum_array_print, which obscures what we're really testing.
17753 * gdb.base/step-test.exp: However, we do want a test that notices
17754 the bizarre steps into memcpy, so do that here. Add check for
17755 stepping into function calls that pass large structures by value.
17756 ("Is that a noun clause, or are you just happy to see me?")
17757 Remove all references to specific line numbers.
17758 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17759 New type and function.
17760 (main): Call large_struct_by_value, passing it a large struct by value.
17761 * lib/gdb.exp (gdb_get_line_number): New function.
17762
17763 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17764 more portable.
17765
17766 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17767
17768 * lib/gdb.exp: Doc fixes.
17769
17770 1999-03-05 Nick Clifton <nickc@cygnus.com>
17771
17772 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17773
17774 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17775
17776 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17777 commands. They're not germane to this test, and they don't work
17778 that way on remote targets.
17779
17780 1999-03-01 James Ingham <jingham@cygnus.com>
17781
17782 * Changelog entries merged over from gdb development branch.
17783
17784 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17785
17786 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17787 for outputting results of test run.
17788
17789 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17790
17791 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17792
17793 1999-02-25 Felix Lee <flee@cygnus.com>
17794
17795 * lib/gdb.exp (debug_format): initialize
17796
17797 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17798
17799 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17800 * gdb.base/call-rt-st.c: Ditto.
17801
17802 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17803
17804 * gdb.threads/pthreads.exp (horiz): New variable.
17805 (test_startup): Fix regexps that capture thread numbers.
17806
17807 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17808
17809 * gdb.base/smoke.exp: Disambiguate two test case names (both
17810 called ``print'').
17811
17812 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17813
17814 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17815 compilation.
17816
17817 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17818
17819 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17820 actual output formatting.
17821 * gdb.base/smoke.exp: GDB removes leading 0's.
17822 * gdb.base/volatile.exp: Don't check type of remuneration;
17823 that variable is no longer defined in constvars.c.
17824 * gdb.base/step-test.c (main): Exit with explicit exit code.
17825 * gdb.base/step-test.exp: Remove two nexti checks--they are
17826 not portable.
17827
17828 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17829
17830 * gdb.base/help.exp ("help delete display"): Fix test to match
17831 gdb's output.
17832
17833 * gdb.base/long_long.c (known_types): Initialize values to zero.
17834 * gdb.base/long_long.exp: Step one more line
17835 so 'dec' is initialized in "get to known place". GDB removes
17836 leading zeros. Explicitly ask for hex formatting. Use
17837 unique test case names.
17838
17839 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17840
17841 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17842
17843 * gdb.c++/method.exp: Add missing close brace.
17844
17845 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17846
17847 * gdb.base/maint.exp: Use 'set height 0' to disable page
17848 prompting, not 'set height 400'.
17849
17850 Fix a bunch of timeouts.
17851 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17852 four separate tests, so expect doesn't take forever to match a ton
17853 of text against a regexp with lots of .* forms.
17854 ("maint print psymbols", "maint print symbols"): Make some of
17855 these greps more selective, so that expect doesn't try to wade
17856 through huge piles of output and time out.
17857
17858 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17859
17860 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17861 tests: one which doesn't expect shlib events to be reported, and
17862 another which does, but is XFAIL for all platforms other than
17863 HP/UX.
17864
17865 * gdb.base/break.exp: Teach the test suite that the `catch
17866 fork', `catch vfork', and `catch exec' commands produce error
17867 messages on platforms that don't provide these features.
17868
17869 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17870
17871 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17872 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17873 (shortening names from solib_threshold.exp etc), won't run on
17874 anything but HP-UX for the foreseeable future.
17875 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17876 reflect move.
17877
17878 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17879
17880 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17881 gdb.trace/Makefile.in (clean): Remove all test executables.
17882
17883 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17884
17885 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17886 successfully re-sets breakpoints in shared libraries.
17887 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17888
17889 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17890
17891 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17892 and compiled w/o GCC.
17893
17894 * gdb.hp/watch-cmd.exp: ditto.
17895
17896 * gdb.hp/watch-hp.exp: ditto.
17897
17898 * gdb.hp/xdb1.exp: ditto.
17899
17900 * gdb.hp/xdb2.exp: ditto.
17901
17902 * gdb.hp/dbx.exp: ditto.
17903
17904 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17905
17906 * constvars.c: Remove C++-isms.
17907 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17908 with GCC.
17909
17910 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17911
17912 The following changes are part of the HP merge.
17913
17914 * gdb.base/break.exp: new tests to verify that catchpoints for
17915 fork, vfork, and exec don't trigger inappropriately.
17916
17917 * gdb.base/opaque.exp: compile one file at a time, then link.
17918
17919 * gdb.base/signals.exp: be more restrictive about which hppa
17920 systems receive a setup_xfail. new tests.
17921
17922 * gdb.base/solib_threshold.build: new file.
17923 * gdb.base/solib_threshold.exp: new file.
17924 * gdb.base/solib_threshold.link_opts: new file.
17925 * gdb.base/solib_threshold.mk: new file.
17926 * gdb.base/gen_solib_threshold.c: new file.
17927
17928 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17929 tests. New tests for enums inside classes.
17930
17931 * gdb.c++/compiler.cc: indicate support of template debugging.
17932
17933 * gdb.c++/demangle.exp: run hp style demangling tests.
17934
17935 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17936 tests.
17937
17938 * gdb.c++/misc.cc: changes to support new tests.
17939
17940 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17941 to support new tests.
17942
17943 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17944 gcc, then skip these tests.
17945
17946 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17947
17948 The following files are part of the HP merge; some had longer
17949 names at HP, but have been renamed to be no more than 14
17950 characters in length.
17951
17952 * gdb.hp/ambiguous.cc: new file.
17953 * gdb.hp/ambiguous.exp: new file.
17954 * gdb.hp/attach.exp: new file.
17955 * gdb.hp/attach2.exp: new file.
17956 * gdb.hp/classes-hp.exp: new file.
17957 * gdb.hp/ctti.exp: new file.
17958 * gdb.hp/ctti-add.cc: new file.
17959 * gdb.hp/ctti-add1.cc: new file.
17960 * gdb.hp/ctti-add2.cc: new file.
17961 * gdb.hp/ctti-add3.cc: new file.
17962 * gdb.hp/dbx.exp: new file.
17963 * gdb.hp/exception.cc: new file.
17964 * gdb.hp/exception.exp: new file.
17965 * gdb.hp/foll-exec.c: new file.
17966 * gdb.hp/foll-exec.exp: new file.
17967 * gdb.hp/foll-fork.c: new file.
17968 * gdb.hp/foll-fork.exp: new file.
17969 * gdb.hp/foll-vfork.c: new file.
17970 * gdb.hp/foll-vfork.exp: new file.
17971 * gdb.hp/inherit-hp.exp: new file.
17972 * gdb.hp/more-steps.exp: new file.
17973 * gdb.hp/namespace.cc: new file.
17974 * gdb.hp/namespace.exp: new file.
17975 * gdb.hp/optimize.exp: new file.
17976 * gdb.hp/pxdb.c: new file.
17977 * gdb.hp/pxdb.exp: new file.
17978 * gdb.hp/quicksort.exp: new file.
17979 * gdb.hp/reg-test.exp: new file.
17980 * gdb.hp/reg-test.s: new file.
17981 * gdb.hp/sized-enum.c: new file.
17982 * gdb.hp/sized-enum.exp: new file.
17983 * gdb.hp/start-stop.exp: new file.
17984 * gdb.hp/templ-hp.cc: new file.
17985 * gdb.hp/templ-hp.exp: new file.
17986 * gdb.hp/thr-lib.c: new file.
17987 * gdb.hp/thr-lib.exp: new file.
17988 * gdb.hp/thr-lib.h: new file.
17989 * gdb.hp/thr-liblib.c: new file.
17990 * gdb.hp/virtfun-hp.c: new file.
17991 * gdb.hp/virtfun-hp.exp: new file.
17992 * gdb.hp/watch-cmd.exp: new file.
17993 * gdb.hp/watch-hp.exp: new file.
17994 * gdb.hp/xdb1.exp: new file.
17995 * gdb.hp/xdb2.exp: new file.
17996 * gdb.hp/xdb3.exp: new file.
17997
17998 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17999
18000 The following files are part of the HP merge; some had longer
18001 names at HP, but have been renamed to be no more than 14
18002 characters in length.
18003
18004 * gdb.base/ss.h: new file.
18005 * gdb.base/call-ar-st.c: new file.
18006 * gdb.base/call-ar-st.exp: new file.
18007 * gdb.base/call-rt-st.c: new file.
18008 * gdb.base/call-rt-st-exp: new file.
18009 * gdb.base/call-strs.exp: new file.
18010 * gdb.base/ena-dis-br.exp: new file.
18011 * gdb.base/environ.exp: new file.
18012 * gdb.base/long_long.exp: new file.
18013 * gdb.base/sect-cmd.exp: new file.
18014 * gdb.base/shlib-cl2.exp: new file.
18015 * gdb.base/smoke.exp: new file.
18016 * gdb.base/so-impl-ld.c: new file.
18017 * gdb.base/so-impl-ld.exp: new file.
18018 * gdb.base/so-indr-cl.c: new file.
18019 * gdb.base/so-indr-cl.exp: new file.
18020 * gdb.base/varargs.exp: new file.
18021 * gdb.base/volatile.exp: new file.
18022 * gdb.base/whatis-exp.exp: new file.
18023 * gdb.base/display.exp: new file.
18024 * gdb.c++/derivation.exp: new file.
18025 * gdb.c++/local.exp: new file.
18026 * gdb.c++/member-ptr.exp: new file.
18027 * gdb.c++/overload.exp: new file.
18028 * gdb.c++/ovldbreak.exp: new file.
18029 * gdb.c++/ref-types.exp: new file.
18030 * gdb.c++/ref-types2.exp: new file.
18031 * gdb.c++/userdef.exp: new file.
18032
18033 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18034
18035 * gdb.base/default.exp: Reflect wording change in remote.c.
18036
18037 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18038
18039 * gdb.base/help.exp: Update to reflect current text.
18040
18041 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18042
18043 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18044 they're stack variables and contain garbage.
18045 * gdb.c++/anon-union.exp: new file.
18046
18047 The following changes were made by David Taylor
18048 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18049 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18050 in changes by HP.
18051
18052 * gdb.base/bitops.exp: new file.
18053 * gdb.base/default.exp: change expected messages for catch and
18054 info catch tests to reflect HP merge changes.
18055 * gdb.base/enable-disable-break.exp
18056 * gdb.base/ending-run.c: new file.
18057 * gdb.base/long_long.c: new file.
18058 * gdb.base/maint.exp: new file.
18059 * gdb.base/pointers2.exp: new file.
18060 * gdb.base/shlib-call2.exp: new file.
18061 * gdb.base/solib.exp: new file.
18062 * gdb.base/step-test.c: new file.
18063 * gdb.c++/anon-union.cc: new file.
18064 * gdb.c++/local.cc: new file.
18065 * gdb.c++/member-pointer.cc: new file.
18066 * gdb.c++/method.cc: new file.
18067 * gdb.c++/ref-types.cc: new file.
18068 * gdb.c++/ref-types2.cc: new file.
18069 * gdb.c++/userdef.cc: new file.
18070
18071 * gdb.base/scope.exp: compile one file at a time, then link.
18072 * gdb.base/langs.exp: ditto.
18073 * gdb.base/list.exp: ditto.
18074
18075 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18076
18077 The following changes were made by David Taylor
18078 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18079 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18080 in changes by HP.
18081
18082 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18083 skip tests. When compiling pass c++ flag to gdb_compile.
18084 * gdb.c++/
18085
18086 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18087 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18088 (skip_hp_tests): new function.
18089 (gdb_preprocess): new function.
18090
18091 * configure.in (hpdir): decide whether to configure gdb.hp.
18092 * configure: regenerated.
18093
18094 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18095 to delete on clean.
18096 (EXECUTABLES): update to reflect new additions.
18097 * gdb.base/commands.exp: update message expected.
18098 * gdb.base/default.exp: add copyright notice.
18099 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18100 * gdb.base/help.exp: update messages to reflect current text.
18101 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18102 targets for recurse tests.
18103 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18104 skip this file.
18105
18106 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18107 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18108 compilation.
18109 * gdb.c++/misc.exp: ditto.
18110 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18111 run the tests. tell gdb_compile that it's a c++ compilation.
18112
18113 * gdb.threads/pthreads.exp: fix typo in message.
18114
18115 * gdb.base/all-bin.exp: new file.
18116 * gdb.base/arithmet.exp: new file.
18117 * gdb.base/assign.exp: new file.
18118 * gdb.base/completion.exp: new file.
18119 * gdb.base/cond-expr.exp: new file.
18120 * gdb.base/condbreak.exp: new file.
18121 * gdb.base/define.exp: new file.
18122 * gdb.base/dollar.exp: new file.
18123 * gdb.base/environment.exp: new file.
18124 * gdb.base/eval-skip.exp: new file.
18125 * gdb.base/jump.exp: new file.
18126 * gdb.base/logical.exp: new file.
18127 * gdb.base/pointers.exp: new file.
18128 * gdb.base/relational.exp: new file.
18129 * gdb.base/section_command.exp: new file.
18130 * gdb.base/whatis-expr.exp: new file.
18131
18132 * gdb.base/all-types.c: new file.
18133 * gdb.base/call-array-struct.c: new file.
18134 * gdb.base/call-return-struct.c: new file.
18135 * gdb.base/call-strings.c: new file.
18136 * gdb.base/callfuncs2.c: new file.
18137 * gdb.base/condbreak.c: new file.
18138 * gdb.base/constvars.c: new file.
18139 * gdb.base/display.c: new file.
18140 * gdb.base/int-type.c: new file.
18141 * gdb.base/jump.c: new file.
18142 * gdb.base/miscexprs.c: new file.
18143 * gdb.base/pointers.c: new file.
18144 * gdb.base/pointers2.c: new file.
18145 * gdb.base/shmain.c: new file.
18146 * gdb.base/shr1.c: new file.
18147 * gdb.base/shr2.c: new file.
18148 * gdb.base/solib.c: new file.
18149 * gdb.base/solib1.c: new file.
18150 * gdb.base/solib2.c: new file.
18151 * gdb.base/varargs.c: new file.
18152 * gdb.c++/derivation.cc: new file.
18153 * gdb.c++/overload.cc: new file.
18154 * gdb.c++/ovldbreak.cc: new file.
18155 * gdb.hp/attach.c: new file.
18156 * gdb.hp/attach2.c: new file.
18157 * gdb.hp/average.c: new file.
18158 * gdb.hp/compiler.c: new file.
18159 * gdb.hp/compiler.cc: new file.
18160 * gdb.hp/execd-program.c: new file.
18161 * gdb.hp/follow-exec.c: new file.
18162 * gdb.hp/follow-fork.c: new file.
18163 * gdb.hp/follow-vfork-and-exec.c: new file.
18164 * gdb.hp/misc-hp.cc: new file.
18165 * gdb.hp/more-steps.c: new file.
18166 * gdb.hp/optimize.c: new file.
18167 * gdb.hp/quicksort.c: new file.
18168 * gdb.hp/run-hp.c: new file.
18169 * gdb.hp/start-stop.c: new file.
18170 * gdb.hp/sum.c: new file.
18171 * gdb.hp/templates-hp.cc: new file.
18172 * gdb.hp/thread-local-in-lib.c: new file.
18173 * gdb.hp/thread-local-in-lib.h: new file.
18174 * gdb.hp/thread-local-in-lib.lib.c: new file.
18175 * gdb.hp/vforked-program.c: new file.
18176 * gdb.hp/virtfunc-hp.cc: new file.
18177 * gdb.hp/watchpoint-hp.c: new file.
18178 * gdb.hp/xdb.c: new file.
18179 * gdb.hp/xdb0.c: new file.
18180 * gdb.hp/xdb0.h: new file.
18181 * gdb.hp/xdb1.c: new file.
18182
18183 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18184
18185 The following change was made by Edith Epstein
18186 <eepstein@cygnus.com> as part of a project to merge in changes
18187 originally made by HP; HP did not create ChangeLog entries.
18188
18189 * gdb.c++/demangle.exp: changed the expected output for some
18190 ARM-style mangling -- removed second reference to datatype.
18191 For example, maint demangle __dt__11T1__pt__2_cFv
18192 T1<char>::~T1<char>(void)
18193 becomes,
18194 maint demangle __dt__11T1__pt__2_cFv
18195 T1<char>::~T1(void)
18196
18197 (test_hp_style_demangling): new hp specific demangling test cases.
18198
18199 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18200
18201 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18202 * gdb.trace/backtrace.exp: Likewise.
18203 * gdb.trace/circ.exp: Likewise.
18204 * gdb.trace/collection.exp: Likewise.
18205 * gdb.trace/deltrace.exp: Likewise.
18206 * gdb.trace/infotrace.exp: Likewise.
18207 * gdb.trace/limits.exp: Likewise.
18208 * gdb.trace/packetlen.exp: Likewise.
18209 * gdb.trace/passc-dyn.exp: Likewise.
18210 * gdb.trace/passcount.exp: Likewise.
18211 * gdb.trace/report.exp: Likewise.
18212 * gdb.trace/save-trace.exp: Likewise.
18213 * gdb.trace/tfind.exp: Likewise.
18214 * gdb.trace/tracecmd.exp: Likewise.
18215 * gdb.trace/while-dyn.exp: Likewise.
18216 * gdb.trace/while-stepping.exp: Likewise.
18217
18218 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18219
18220 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18221
18222 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18223
18224 From Brendan Kehoe:
18225 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18226 int return types.
18227
18228 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18229
18230 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18231 remote dos host testing right.
18232
18233 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18234
18235 * gdb.base/corefile.exp: remove some xfails.
18236
18237 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18238
18239 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18240 have different timestamps.
18241
18242 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18243
18244 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18245 gdb.base/default.exp: Replace "exec" with "executable".
18246
18247 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18248
18249 * gdb.base/default.exp: Change else if to elseif from previous
18250 delta.
18251
18252 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18253
18254 * gdb.base/default.exp: Add brace missing from previous delta.
18255
18256 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18257
18258 * gdb.base/default.exp: Support test for info float for all
18259 varieties of arm toolchain.
18260
18261 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18262
18263 * gdb.trace/*.exp: remove "remote_download" command.
18264
18265 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18266
18267 * gdb.trace/*.exp: remove -gdwarf from compile.
18268
18269 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18270
18271 * gdb.trace/configure.in(AC_INIT): typo
18272 * gdb.trace/configure: regenerated
18273
18274 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18275
18276 * config/m68k-emc.exp: New file.
18277 * lib/<emc-support.exp trace-support.exp}: New files.
18278 * configure.in: add new test directory gdb.trace.
18279 * gdb.trace/{configure configure.in Makefile.in}: New files.
18280 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18281 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18282 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18283 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18284 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18285 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18286 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18287
18288 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18289
18290 * gdb.c++/classes.exp: Change all regular expressions to match
18291 arbitrary combinations of newline/carriage-return, so that they
18292 will work equally well on Unix and Windows.
18293 * gdb.c++/inherit.exp: ditto.
18294 * gdb.c++/virtfunc.exp: ditto.
18295
18296 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18297
18298 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18299
18300 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18301
18302 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18303 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18304 to use a0-a3/d0-d3 as needed.
18305
18306 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18307
18308 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18309 * gdb.disasm/am33.exp: Corresponding changes.
18310
18311 1998-07-11 Felix Lee <flee@cygnus.com>
18312
18313 * gdb.base/callfuncs.exp: add cmp10 test.
18314 * gdb.base/callfuncs.c (cmp10): new function.
18315
18316 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18317
18318 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18319 into two parts to get around a synchronization problem in expect.
18320
18321 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18322
18323 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18324
18325 * configure.in: Add options for gdbtk testsuite.
18326
18327 * configure: Regenerate.
18328
18329 * gdb.gdbtk: New directory to hold gdbtk tests.
18330
18331 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18332
18333 * gdb.fortran/types.exp: Escape brackets in expect patterns
18334 for test_float_literal_types_accepted tests.
18335 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18336 before run test.
18337
18338 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18339
18340 * am33.exp: Just compile, do not link the testcase.
18341 * am33.s: Add ".am33" pseudoop to force am33 mode.
18342
18343 1998-06-25 Felix Lee <flee@cygnus.com>
18344
18345 * gdb.base/setshow.exp: make sure $pc is sane.
18346
18347 * gdb.stabs/weird.exp: split expect patterns properly.
18348
18349 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18350
18351 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18352 * gdb.disasm/am33.exp: Run it.
18353
18354 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18355
18356 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18357 match processing (and eliminate spurious timeouts when running).
18358
18359 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18360
18361 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18362 exception test, but conditionalize it on target [mach | gnu].
18363
18364 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18365
18366 * gdb.base/overlays.exp: fixup compile line for linker script.
18367
18368 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18369
18370 * gdb.fortran/types.exp: don't guess at float size.
18371
18372 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18373
18374 * gdb.base/exprs.exp: delete test that depends on int size.
18375
18376 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18377
18378 * config/sim.exp: Removed checks for target triplets.
18379 (gdb_target_sim): Use gdb,target_sim_options.
18380
18381 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18382
18383 * gdb.base/reread.exp: New file.
18384 * gdb.base/reread1.c: New file.
18385 * gdb.base/reread2.c: New file.
18386
18387 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18388
18389 * config/sim.exp: Use 'target sim -sparclite' when running
18390 SPARClite programs.
18391
18392 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18393
18394 * gdb.base/structs2.exp: New file.
18395 * gdb.base/structs2.c: New file.
18396
18397 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18398
18399 * gdb.asm/common.inc: New file.
18400 * gdb.asm/d10v.inc: New file.
18401 * asm-source.exp: Pass -I's to gas to find .inc files.
18402 Update line numbers in expected output.
18403 * asmsrc1.s: Rewrite.
18404 * asmsrc2.s: Rewrite.
18405 * configure.in: Create arch.inc symlink.
18406 * configure: Regenerate.
18407 * Makefile.in (distclean): Delete arch.inc.
18408
18409 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18410
18411 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18412 (t_enum_value2): ditto
18413 (t_enum_value3): ditto
18414 (main): ditto
18415 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18416
18417 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18418 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18419 change.
18420 Use gdb_test instead of send_gdb/gdb_expect sequences.
18421
18422 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18423
18424 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18425 not void.
18426
18427 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18428
18429 * gdb.base/branches.c: Code with lots of loops and
18430 subroutines. Used to test gdbs ability to single step through PC
18431 changes, especially to test mips-tdep.c:mips_next_pc
18432
18433 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18434
18435 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18436 more rigorous EGCS C++ error checking.
18437
18438 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18439
18440 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18441 tests.
18442 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18443 function when asleep.
18444 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18445 for i*86 Linux and SVR4 signal handling problems.
18446 Remove linux xfail for `next to handler in signals_tests_1', fixed
18447 by recent infrun.c change.
18448 Limit backtrace to 10 frames to avoid timeout problems with infinite
18449 stack backtraces.
18450 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18451 target.[ch] change.
18452
18453 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18454
18455 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18456 for a newline from gdb before continuing.
18457 (default_gdb_exit): Just look for y or n.
18458 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18459 it does, fail the rests of the tests in the file.
18460
18461 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18462
18463 * config/cygmon.exp: New file.
18464
18465 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18466
18467 * gdb.base/list.exp: Fix problem with "list default lines around
18468 main" test on remote targets.
18469
18470 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18471 run test on remote targets.
18472
18473 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18474
18475 * gdb.asm: New directory.
18476 * configure.in: Configure it.
18477 * configure: Regenerate.
18478 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18479 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18480
18481 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18482
18483 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18484
18485 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18486
18487 * gdb.base/overlays (several files): Merge the two overlay
18488 managers into one. Change variables (foox, barx, bazx, grbxx)
18489 back into ints but force them to load in their proper sections.
18490
18491 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18492
18493 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18494 on-chip insn memory and IMAP1 to upper 128k.
18495 (D10VCopy): Handle memory regions crossing 16k boundaries.
18496 (D10VCopy): Transfer data in 32 bit chunks.
18497
18498 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18499
18500 * gdb.base/overlays.c (main): Exit normally when result is
18501 correct.
18502
18503 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18504 map. Include space for printf in .text segment.
18505
18506 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18507 updated d10v memory VMA/LMA map.
18508 (D10VCopy): Call D10VTranslate.
18509
18510 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18511
18512 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18513
18514 * gdb.base/bar.c (barx, bar): Change variable to small array so
18515 that it won't be put into the .sdata - small data -
18516 section. Update reference.
18517 * gdb.base/baz.c (bazx, baz): Ditto.
18518 * gdb.base/foo.c (foox, foo): Ditto.
18519 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18520
18521 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18522 to be arrays.
18523
18524 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18525
18526 * gdb.base/overlays.exp: fix up and get working again.
18527 Add tests for backtraces from an overlay function.
18528
18529 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18530
18531 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18532 "calling function with watchpoint enabled".
18533
18534 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18535
18536 * gdb.base/break.exp (test_next_with_recursion): Remove
18537 gdb_suppress_tests for d10v-*-*.
18538 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18539 pending review of whether it is useful or not.
18540
18541 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18542
18543 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18544
18545 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18546
18547 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18548 * config/dve.exp: New file to support Densan boards.
18549
18550 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18551
18552 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18553 reads and BSD.
18554
18555 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18556
18557 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18558 response.
18559
18560 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18561
18562 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18563
18564 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18565 test.
18566
18567 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18568 target_sizeof_long and target_bigendian_p.
18569 (structs_by_value, structs_by_reference): Check values according
18570 to targets word size and endianess.
18571
18572 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18573
18574 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18575 output.
18576
18577 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18578
18579 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18580 Update test of set args help to match source change.
18581
18582 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18583
18584 * gdb.base/default.exp: Expect help system output to be in
18585 alphabetical order.
18586 * gdb.base/help.exp: Ditto.
18587
18588 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18589
18590 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18591 "i*86-pc-linux-gnu*".
18592 * gdb.base/interrupt.exp: Ditto.
18593 * gdb.base/corefile.exp: Ditto.
18594
18595 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18596 define vxworks when building the testcase.
18597
18598 * gdb.base/ptype.exp: Fix testnames to be unique.
18599 * gdb.base/radix.exp: Ditto.
18600 * gdb.base/term.exp: Ditto.
18601 * gdb.base/whatis.exp: Ditto.
18602 * gdb.c++/classes.exp: Ditto.
18603
18604 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18605
18606 * gdb.base/callfuncs.exp: Fix indentation.
18607
18608 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18609 suppress_flag has been set.
18610 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18611 target feature.
18612
18613 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18614
18615 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18616 the testcase.
18617
18618 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18619 set_debug_traps() and breakpoint().
18620 * gdb.c++/misc.cc (main): Ditto.
18621 * gdb.c++/templates.cc (main): Ditto.
18622 * gdb.c++/virtfunc.cc (main): Ditto.
18623
18624 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18625
18626 * lib/gdb.exp(gdb_step_for_stub): New function.
18627 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18628 exists, reload the executable and do a "continue" instead of
18629 doing a jump.
18630 (runto_main): Use gdb_step_for_stub.
18631
18632 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18633 tests to have unique names.
18634 * gdb.base/callfuncs.exp: Ditto.
18635 * gdb.base/commands.exp: Ditto.
18636 * gdb.base/default.exp: Ditto.
18637 * gdb.base/help.exp: Ditto.
18638 * gdb.base/list.exp: Ditto.
18639 * gdb.base/opaque.exp: Ditto.
18640 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18641 similar tests.
18642
18643 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18644 * gdb.c++/cplusfuncs.cc: Ditto.
18645 * gdb.c++/virtfunc.cc: Ditto.
18646
18647 * config/monitor.exp: Keep track of the last file we saw, rather
18648 than trying to get the info from gdb.
18649
18650 * gdb.fortran/types.exp: Move comment to previous line.
18651
18652 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18653
18654 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18655 target mode.
18656
18657 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18658
18659 From Bob Manson:
18660 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18661 string from GDB when it connects.
18662
18663 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18664
18665 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18666
18667 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18668 if we can't get a debug format from GDB (we may be testing an
18669 older GDB). Use a 10 second timeout when checking for the format.
18670
18671 * gdb.stabs/weird.exp: Fix quoting.
18672
18673 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18674
18675 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18676
18677 * config/arm-ice.exp: New file.
18678
18679 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18680
18681 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18682 until it has been modified to work with the new testsuite.
18683
18684 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18685 testcase won't compile, cause all of the testcases in the file to
18686 fail instead.
18687
18688 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18689 (gdb_clear_suppressed): New procedure.
18690 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18691 it contains a positive value.
18692
18693 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18694
18695 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18696
18697 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18698
18699 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18700
18701 * lib/gdb.exp (setup_xfail_format): New function.
18702 (get_debug_format): New function to get debug format.
18703 (debug_format): New global variable to hold last value set
18704 by get_debug_format.
18705 * gdb.base/list.exp: Call get_debug_format and expect some
18706 tests to fail for DWARF 1 and COFF formats.
18707 * gdb.c++/ptype.exp: Ditto.
18708 * gdb.c++/classes.exp: Ditto.
18709 * gdb.c++/cplusfuncs.exp: Ditto.
18710 * gdb.c++/inherit.exp: Ditto.
18711 * gdb.c++/templates.exp: Ditto.
18712 * gdb.c++/virtfunc.exp: Ditto.
18713
18714 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18715
18716 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18717 host doesn't have a currently-open connection.
18718
18719 * config/sparclet.exp: Cleanups and fixes to make it generic for
18720 any gdb stub target. Handle cases where gdb doesn't respond when
18721 interrupted in a sane fashion.
18722
18723 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18724 same thing in a totally different way.
18725
18726 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18727 setting "timeout".
18728 (gdb_start): We set the global gdb_prompt variable in
18729 default_gdb_init now.
18730
18731 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18732
18733 * gdb.base/printcmds.exp: Fix "check for floating addition"
18734 regexp to accept results within approx +/- .01 of exact value.
18735 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18736
18737 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18738
18739 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18740 properly.
18741 (gdb_expect): Add optional timeout parameter, and add timeout
18742 value to various calls.
18743 (gdb_suppress_tests): Only give one warning message per group.
18744
18745 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18746
18747 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18748 global variables. Handle getting a value for $timeout more
18749 gracefully.
18750
18751 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18752
18753 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18754 initialize.
18755 (default_gdb_init): New procedure; allow gdb_init to be overridden
18756 by a target configuration file.
18757 (gdb_expect): Pass the timeout to remote_expect.
18758
18759 * config/monitor.exp(gdb_load): Fix typo in regexp.
18760
18761 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18762
18763 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18764
18765 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18766
18767 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18768 here. Call gdb_target_exec before rebooting the target, to make
18769 sure the connection to the target is closed.
18770 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18771 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18772 Also detect "Timeout reading from remote" error.
18773
18774 * config/gdbserver.exp: Pass the executable being loaded to
18775 gdb_target_monitor. Don't call gdb_file_cmd here; let
18776 gdb_target_monitor do it.
18777
18778 * gdb.disasm/hppa.exp: Don't use exec_output.
18779
18780 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18781
18782 * gdb.base/list.exp: If we're debugging a non-native target,
18783 try to set the pc register to point to the start of the
18784 program before doing the first list command.
18785
18786 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18787 test_calls after restarting.
18788
18789 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18790 reloading.
18791
18792 * gdb.base/watchpoint.exp: Fix typo.
18793
18794 * gdb.base/setshow.exp: Check for use_gdb_stub.
18795
18796 * gdb.base/break.exp: Fix continue until exit test for the gdb
18797 stub case.
18798 * gdb.base/langs.exp: Ditto.
18799
18800 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18801 gdb_load_offset. If we weren't given a file to load, figure out
18802 what the current file is and use it.
18803
18804 * config/i386-bozo.exp: New file.
18805
18806 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18807
18808 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18809 feature.
18810
18811 * config/proelf.exp: New entry.
18812
18813 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18814
18815 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18816 of regexps.
18817
18818 * gdb.base/watchpoint.exp: Don't run the test_stepping
18819 tests if gdb can't call functions on the target.
18820
18821 * gdb.base/setshow.exp: Don't run the set prompt tests if
18822 the board has gdb_prompt set.
18823
18824 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18825
18826 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18827 * gdb.base/commands.exp: Likewise.
18828 * gdb.base/setshow.exp: Likewise.
18829
18830 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18831
18832 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18833 feature.
18834
18835 * config/i960.exp: New file.
18836
18837 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18838
18839 * gdb.base/funcargs.exp: Check for gdb,short_int target
18840 feature instead of looking for explicit target triplets.
18841
18842 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18843
18844 * gdb.base/printcmds.exp: add a couple more tests a la
18845 "p 123DEADBEEF", to check parse_number.
18846 * top.c: change "to enable to enable" to "to enable" in a couple
18847 of help strings.
18848
18849 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18850
18851 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18852 on the mn10300.
18853
18854 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18855
18856 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18857 where the test executable is run with explicit args.
18858 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18859
18860 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18861
18862 * gdb.base/run.c: Use FAKEARGV to build test executable that
18863 does not require a command line arg, since most simulators
18864 don't currently support passing such an arg into the simulated
18865 program.
18866 * gdb.base/commands.exp: Change tests to insert the proper
18867 value as the arg to the first recursive factorial call. Change
18868 compilation line to define FAKEARGV at compile time.
18869
18870 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18871
18872 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18873 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18874 function with watchpoint enabled" test.
18875
18876 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18877
18878 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18879 Don't call gdb_test when the command doesn't return to a gdb prompt.
18880
18881 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18882 "Tests restarted" messages.
18883
18884 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18885
18886 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18887
18888 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18889
18890 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18891 for INFO SYMBOL; add help tests for OVERLAY commands.
18892 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18893 add tests for OVERLAY commands
18894 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18895 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18896 * gdb.base/sigall.c: add usestubs code frag
18897 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18898
18899 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18900
18901 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18902 failures.
18903 (gdb_stop_suppressing_tests): Note that tests have restarted.
18904
18905 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18906
18907 * config/h8300.exp: New file.
18908
18909 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18910
18911 * gdb.base/setshow.exp: Check for the existence of a
18912 feature, not its value.
18913
18914 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18915
18916 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18917
18918 * gdb.base/scope.exp: It's now init0(), not init().
18919
18920 * gdb.base/scope0.c: For now, change init() to be init0().
18921
18922 * config/monitor.exp: Use gdb_serial in preference to serial
18923 or netport.
18924
18925 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18926 and it's not already set.
18927
18928 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18929
18930 * gdb.base/setshow.exp: Only test the run command if the target
18931 isn't using a stub and if it supports argument passing.
18932
18933 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18934
18935 * config/udi.exp(gdb_start): Make sure UDICONF is set
18936 properly before starting gdb.
18937
18938 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18939
18940 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18941 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18942 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18943
18944 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18945
18946 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18947 specialized code to reboot the board, use remote_reboot instead.
18948
18949 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18950
18951 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18952
18953 * config/monitor.exp: Make sure we disconnect from the target.
18954 Also, try a reboot/reload cycle instead of failing if the
18955 load fails.
18956
18957 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18958
18959 * gdb.base/default.exp: Don't set match_max.
18960 * gdb.base/help.exp: Ditto.
18961 * gdb.base/list.exp: Ditto.
18962 * gdb.base/signals.exp: Ditto.
18963
18964 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18965 set, use remote_ld to download the testcase instead of
18966 the GDB loader.
18967
18968 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18969
18970 * config/vr5000.exp: New file.
18971
18972 * config/monitor.exp(gdb_target_monitor): Add pattern for
18973 "Ending remote" to detect errors in connecting.
18974
18975 * gdb.base/setshow.exp: Add .* within auto language test.
18976
18977 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18978 target feature.
18979
18980 * config/monitor.exp(gdb_load): Check for a failure when loading,
18981 and reboot the board if necessary.
18982
18983 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18984 a set of tests. Remove print.* from the patterns being checked.
18985
18986 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18987
18988 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18989 refer to gdb_spawn_id.
18990
18991 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18992 longer used.
18993 * config/sparclet.exp: Ditto.
18994 * config/sparclet-old.exp: Ditto.
18995 * config/slite.exp: Ditto.
18996 * config/sim.exp: Ditto.
18997 * gdb.base/funcargs.exp: Ditto.
18998
18999 * lib/gdb.exp:Remove references to gdb_spawn_id.
19000 (gdb_expect): Move to remote.exp.
19001
19002 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19003
19004 * config/monitor.exp: Detect the "Couldn't establish connection"
19005 message from GDB.
19006
19007 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19008
19009 * gdb.base/bitfields.exp: Use runto instead of explicit
19010 gdb_run_cmd/gdb_expect sequences.
19011
19012 * gdb.base/break.exp(text_next_with_recursion): Add match for
19013 gdb_expect call.
19014
19015 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19016 We also need to handle the "A program is being debugged already"
19017 prompt from gdb. Use gdb_test to set the baud rate.
19018
19019 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19020 to 20000. Really. I mean it.
19021
19022 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19023
19024 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19025 fails. If suppress_flag is set, skip perror message about not
19026 being able to send to GDB.
19027 (send_gdb): If suppress_flag is set, don't try to send commands to
19028 GDB.
19029 (gdb_expect): If suppress_flag is set, always fail immediately.
19030 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19031 (gdb_init): Call gdb_stop_suppressing_tests.
19032 (default_gdb_exit): Ditto.
19033 (default_gdb_start): Ditto.
19034
19035 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19036 gdb_stop_suppressing_tests as appropriate.
19037 * gdb.base/break.exp: Ditto.
19038 * gdb.base/callfuncs.exp: Ditto.
19039 * gdb.base/commands.exp: Ditto.
19040 * gdb.base/exprs.exp: Ditto.
19041 * gdb.base/funcargs.exp: Ditto.
19042 * gdb.base/list.exp: Ditto.
19043 * gdb.base/recurse.exp: Ditto.
19044 * gdb.base/scope.exp: Ditto.
19045 * gdb.base/structs.exp: Ditto.
19046 * gdb.c++/inherit.exp: Ditto.
19047
19048 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19049
19050 * config/vr4300.exp: New file.
19051
19052 * gdb.*/*.exp: Call gdb_expect instead of expect.
19053
19054 * lib/gdb.exp(gdb_expect): New function.
19055
19056 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19057
19058 * lib/gdb.exp(gdb_init): New function.
19059
19060 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19061 for each individual variable set.
19062
19063 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19064 name.
19065
19066 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19067
19068 * gdb.base/scope.exp: Use gdb_test.
19069
19070 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19071 aborting; the testsuite driver will do that for us (see
19072 gdb_finish). Also, use gdb_test in a few more places.
19073
19074 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19075
19076 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19077
19078 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19079
19080 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19081 and "add_tests" are not at the same address.
19082
19083 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19084
19085 * gdb.base/ptype.exp: Use gdb_test.
19086
19087 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19088
19089 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19090 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19091 left in. No longer expect them to fail.
19092
19093 * gdb.stabs/*.mt; Deleted, no longer used.
19094 * gdb.stabs/configure.in: Remove references to target makefile
19095 frags.
19096 * gdb.stabs/configure: Rebuilt.
19097
19098 * gdb.disasm/*.mt: Deleted, no longer used.
19099 * gdb.disasm/configure.in: Remove references to target makefile
19100 frags. Use "sh3.s" as the unique filename for this directory.
19101 * gdb.disasm/configure: Rebuilt.
19102
19103 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19104 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19105 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19106
19107 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19108
19109 * config/udi.exp: Use mondfe,name instead of remote_host.
19110
19111 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19112
19113 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19114 a function with a watchpoint enabled on the mn10200.
19115
19116 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19117 before trying to create it!
19118
19119 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19120
19121 * config/vx.exp: Use hostname instead of netport.
19122
19123 * config/vxworks.exp: New file.
19124
19125 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19126
19127 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19128 gdb before assuming everything worked. Send a ^C if a timeout
19129 occurs.
19130
19131 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19132 $gdb_spawn_id directly.
19133 (gdb_run_cmd): Try _start as well as start. Use the target feature
19134 gdb,start_symbol as the symbol to start from when jumping.
19135
19136 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19137
19138 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19139 redundant) test.
19140
19141 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19142 it doesn't lose for 16bit integer systems.
19143
19144 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19145
19146 * gdb.fortran/types.exp: If the target doesn't support "double"
19147 data types, then expect "real" types to only be 4 bytes.
19148
19149 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19150 call tests if the target doesn't support inferior function calls.
19151
19152 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19153 in printf tests.
19154
19155 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19156
19157 * gdb.base/help.exp: Disable "help set", "help show", and
19158 "help support". Simplify regexp for "help stack".
19159
19160 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19161 to 60 seconds. Temporarily set match_max to 15000 around the
19162 "info copying" test.
19163
19164 * gdb.base/nodebug.exp: Don't try to do an inferior function
19165 call if the target doesn't support them.
19166 * gdb.base/printcmds.exp: Likewise.
19167 * gdb.base/setvar.exp: Likewise.
19168 * gdb.base/structs.exp: Likewise.
19169 * gdb.c++/templates.exp: Likewise.
19170 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19171
19172 * gdb.base/recurse.exp: Enable for the mn10200.
19173
19174 * configure.in: Do configure gdb.stabs directory for *-*-elf
19175 targets.
19176 * configure: Rebuilt.
19177
19178 * gdb.base/break.exp: Check for gdb,noresults before testing
19179 exit status and/or results from the target.
19180 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19181 * lib/gdb.exp: Remove old (now bogus) initialization of
19182 noinferior, noargs, noresults and nosignals.
19183
19184 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19185
19186 * config/sh.exp: New file.
19187
19188 * config/slite.exp: Try to connect multiple times to the board
19189 before rebooting. Only send a "monitor run" if need_monitor_run
19190 is set.
19191
19192 * gdb.base/break.exp: Don't do the "stub continue" test if
19193 the target has gdb_stub set.
19194
19195 * gdb.base/callfuncs.exp: Increase the timeout.
19196
19197 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19198 if the target has gdb,noinferiorio set.
19199
19200 * gdb.base/list.exp: Increase match_max to 10000 characters.
19201
19202 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19203
19204 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19205 target.
19206
19207 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19208
19209 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19210
19211 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19212 trying to delete the copy of gdb. Catch the file delete so we
19213 don't die if the delete fails; also, the file should be copied to
19214 the host, not to the build.
19215
19216 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19217
19218 * lib/gdb.exp(gdb_test): Surround the result pattern with
19219 parenthesis in case it contains multiple regexps separated
19220 with |.
19221
19222 * gdb.base/watchpoint.exp: Use gdb_test.
19223 * gdb.base/default.exp: Ditto.
19224
19225 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19226
19227 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19228
19229 * gdb.base/scope.exp: Use gdb_test.
19230 * gdb.c++/classes.exp: Ditto.
19231 * gdb.c++/inherit.exp: Ditto.
19232
19233 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19234
19235 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19236 remote_exec instead.
19237 * gdb.base/corefile.exp: Don't be ridiculous.
19238 * gdb.base/*.c: Add missing stub invocations.
19239
19240 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19241
19242 * config/slite.exp: Miscellaneous fixes.
19243
19244 * lib/gdb.exp: Fix runto.
19245
19246 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19247 the target.
19248
19249 * gdb.base/watchpoint.exp: Fix regexp.
19250
19251 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19252 close and wait commands, as the descriptor may now be
19253 invalid. Always call "remote_close host".
19254
19255 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19256
19257 Major rewrite for testsuite revision.
19258
19259 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19260 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19261 instead of relying on spawn_id to always contain a valid
19262 spawn id.
19263 (get_compiler_info): New procedure to build the ${binfile}.ci
19264 file, instead of replicating this in N different places.
19265 (gdb_compile): New procedure.
19266
19267 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19268 appropriate arguments) instead of compile. Use gdb_test in a lot
19269 more places. Use send_gdb instead of send. Always run gdb_start
19270 at the start of a testcase, as this is no longer done magically.
19271
19272 config/*-gdb.exp: Rename without the -gdb suffix.
19273
19274 config/mips.exp: Use remote_close instead of exit_remote_shell.
19275 config/monitor.exp: Use target_info instead of looking at
19276 baud, timeout, etc.
19277 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19278
19279 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19280
19281 * gdb.c++/templates.exp (test_ptype_of_templates),
19282 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19283 Update expect patterns for destructors and assignment operators
19284 to match corresponding c-typeprint.c changes.
19285 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19286 to destructor breakpoint test, GDB should be able to set the
19287 destructor breakpoint without specifying arguments.
19288
19289 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19290
19291 * gdb.threads/pthreads.exp: Change result for failure to compile due
19292 to lack of pthreads runtime support from an error to simply an
19293 unsupported test, per dejagnu standards.
19294
19295 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19296
19297 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19298 where GDB exits to reduce pattern match time.
19299 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19300
19301 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19302
19303 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19304
19305 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19306 * gdb.base/default.exp: ditto.
19307 * gdb.base/nodebug.exp: ditto.
19308 * gdb.base/printcmds.exp: ditto.
19309 * gdb.base/ptype.exp: ditto.
19310 * gdb.base/setvar.exp: ditto.
19311 * gdb.base/structs.exp: ditto.
19312 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19313
19314 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19315
19316 * configure, */configure: Rebuild with autoconf 2.12.
19317
19318 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19319
19320 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19321 use new i*86-pc-linux*-gnu quads.
19322 * gdb.base/corefile.exp: Ditto.
19323 * gdb.base/signals.exp: Ditto.
19324 * gdb.base/sigall.exp: Ditto.
19325 * gdb.base/interrupt.exp: Ditto.
19326
19327 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19328 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19329 RedHat 4.0.
19330
19331 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19332 linux. This allows the test case to at least compile on latest
19333 linux, but still not run due to missing the threads runtime library.
19334
19335 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19336
19337 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19338 directory to search gdb directory. Accept and step over conditional
19339 stack alignment code. Consume $prompt in failure cases.
19340 Reset timeout to $oldtimeout instead of some arbitrary value.
19341 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19342 timeout problems with infinite stack backtraces.
19343 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19344 Accept function parameters for linkfunc member.
19345
19346 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19347
19348 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19349 (CXXFLAGS): Remove, unreferenced.
19350 (B_OPTIONS): Add for -B options and add code to initialize with
19351 previous -B options and also add -B option to pick up cross compiled
19352 runtime.
19353 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19354 doing cross compiles.
19355 (target_alias): Declare global.
19356 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19357 to verify that gcc exists in build tree, and if so set CC to that
19358 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19359
19360 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19361
19362 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19363 ptype test for anonymous union. Fixup testcase to match
19364 current gcc debug output.
19365
19366 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19367
19368 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19369 force argument to an unsigned long type.
19370
19371 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19372
19373 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19374 tests and anonymous union print/ptype tests.
19375 * gdb.base/list.exp (test_forward-search): Increase timeout by
19376 5 minutes for the "search extremely long line" case.
19377 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19378 completely optional and that the pass/fail messages use the command as
19379 the message if that third arg is a null string.
19380 (gdb_test_exact): Arrange that a null string pattern means match a
19381 null string output rather than any output, which might include random
19382 errors.
19383 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19384 backtrace test.
19385 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19386 always failing and failure is now exposed by gdb.exp changes.
19387
19388 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19389
19390 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19391 weren't being noted.
19392
19393 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19394
19395 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19396 * gdb.stabs/weird.exp: Remove v_comb xfails.
19397
19398 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19399
19400 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19401 list.exp scope.exp watchpoint.exp]
19402 Make all timeout error msgs explicitly say "(timeout)".
19403
19404 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19405
19406 * config/monitor.exp: Increase download timeout to 1000 seconds.
19407
19408 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19409
19410 * config/m32r.exp: Increase timeout to 120 seconds.
19411
19412 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19413
19414 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19415 and accept older ordering as obsolescent gcc or gdb.
19416 * gdb.c++/templates.exp: Ditto.
19417 * gdb.c++/virtfunc.exp: Ditto.
19418
19419 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19420
19421 * gdb.base/coremaker.c: Add code to mmap some data so we
19422 can check that it ends up in the core file.
19423 * gdb.base/corefile.exp: Add test to read mmapped data
19424 from core file.
19425
19426 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19427
19428 * config/m32r.exp: New file.
19429
19430 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19431
19432 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19433 that cflags can contains -gstabs, and work correctly for other tests.
19434
19435 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19436
19437 * gdb.base/setshow.exp: New file, tests show and set.
19438 * gdb.base/setshow.c: New file, tests show and set.
19439 * gdb.base/help.exp: Add test for help set|show annotate.
19440 * gdb.base/default.exp: Add test for set|show annotate.
19441
19442 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19443
19444 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19445 errors unique.
19446 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19447 explicitly.
19448
19449 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19450
19451 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19452 and width commands. This is done elsewhere.
19453 * (gdb_start): Don't call gdb_start_sim here. That's already
19454 done in gdb_load. This fixes lots of failures in default.exp.
19455
19456 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19457
19458 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19459 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19460 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19461 in the same we we treat other failures (since it may be an expected
19462 condition), rather than as an error.
19463 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19464 old test format.
19465
19466 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19467
19468 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19469 (distclean maintainer-clean realclean): No need to remove files
19470 twice. Nuke the duplicates.
19471 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19472 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19473 Remove config.h along with other config files.
19474
19475 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19476
19477 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19478 "p func1 ()" and note that rests of tests are skipped.
19479 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19480 setup_xfails for "print func2::coremaker_local".
19481 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19482 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19483 affected by the previous run test.
19484 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19485 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19486 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19487 "pass int powerset tuple" and "pass modeless int powerset tuple".
19488 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19489 "real write 4" and "real write 8".
19490 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19491 setup_xfails for "print vs1 after tuple assign 2",
19492 "print \$i after tuple assign 2", and
19493 "print vs2 after tuple assign 2".
19494 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19495 meaningful error message and return -1 so the caller can
19496 suppress further tests and avoid a cascade of errors.
19497
19498 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19499
19500 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19501 format for printing version.
19502 * gdb.base/default.exp: Ditto.
19503 * gdb.base/interrupt.exp: Fix problem with cascade of
19504 errors if child process dies while calling a function.
19505
19506 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19507
19508 * Makefile.in (VPATH): Add
19509 * Makefile.in (Makefile, config.status): Fix rules so things get
19510 remade when necessary.
19511
19512 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19513
19514 * Makefile.in (just-check): Add path to sibling expect dir
19515 to environment variable specified by RPATH_ENVVAR.
19516
19517 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19518
19519 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19520 (just-check): Add shared library paths for libstdc++, tk,
19521 tcl, bfd, and opcodes to the environment variable specified
19522 in RPATH_ENVVAR.
19523 * configure.in: Add support to recognize --enable-shared flag
19524 and generate correct value for RPATH_ENVVAR.
19525 * configure: Regenerated with autoconf.
19526
19527 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19528
19529 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19530 include all osf versions.
19531 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19532 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19533 when target is linux. When failing to build pthreads test
19534 executable, give more meaningful message.
19535 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19536 arg for pthread_create.
19537
19538 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19539
19540 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19541 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19542 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19543 and -lpthreads (everybody else).
19544 (test_startup): Fail gracefully if threads are not supported.
19545 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19546 "p/c array_index("abcdef",2)" when not gcc compiled.
19547 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19548 "print func2::coremaker_local" when not gcc compiled.
19549 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19550 "ptype on opaque struct tagname (statically)",
19551 "ptype on opaque struct tagname (dynamically) 1", and
19552 "ptype on opaque struct tagname (dynamically) 2"
19553 for not compiled with gcc.
19554 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19555 backtrace when compiled with gcc.
19556 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19557 than always return success.
19558
19559 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19560
19561 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19562
19563 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19564
19565 * gdb.base/structs.exp: Undo last change.
19566
19567 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19568
19569 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19570 encapsulate all the steps/nexts done during self test, starting
19571 at main, and makes them less sensitive to optimization issues.
19572 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19573 signal handler" test.
19574 * gdb.threads/pthreads.exp: Only run this for native configs.
19575 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19576 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19577 tests.
19578 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19579 for "runto test_calls(void)" test.
19580
19581 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19582
19583 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19584 and don't expect address info in breakpoint confirmations.
19585
19586 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19587
19588 * gdb.base/list.exp (test_forward_search): Increase timeout
19589 temporarily by 60 seconds for searching extremely long line,
19590 and then reset to old value when done. Increase expect input
19591 buffer to 10000.
19592
19593 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19594
19595 * gdb.base/list.exp (test_forward_search): Fix to handle very
19596 long source line without overflowing expect's input buffer.
19597
19598 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19599
19600 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19601 "buffer_full".
19602
19603 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19604 "buffer_full".
19605
19606 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19607 "buffer_full".
19608
19609 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19610 "buffer_full".
19611
19612 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19613
19614 * configure.in (configdirs): Add gdb.threads.
19615 * configure: Regenerated with autoconf.
19616 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19617 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19618 * gdb.threads/configure: New, generated with autoconf.
19619
19620 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19621
19622 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19623
19624 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19625
19626 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19627 each signal's status in the output of "handle all print".
19628 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19629 the \r\n sequence that immediately precedes the gdb prompt.
19630 * gdb.base/a1-selftest.exp: Save original timeout and restore
19631 after test.
19632
19633 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19634
19635 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19636 symbol.
19637
19638 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19639
19640 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19641
19642 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19643
19644 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19645 timeout by 60 seconds.
19646
19647 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19648
19649 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19650 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19651 error return.
19652
19653 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19654
19655 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19656 gdb initialization, also report how long dejagnu waited. Restore
19657 old timeout before doing error return. Temporarily increase timeout
19658 by 3 minutes to allow for slow startups over heavy NFS use.
19659
19660 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19661
19662 * lib/gdb.exp: Report timeout value for verbosity level 2.
19663 * config/gdbserver.exp: Ditto.
19664 * config/hppro.exp: Ditto.
19665 * config/mips-gdb.exp: Ditto.
19666 * config/monitor.exp: Ditto.
19667 * config/netware.exp: Ditto.
19668 * config/sim-gdb.exp: Ditto.
19669 * config/slite-gdb.exp: Ditto.
19670 * config/udi-gdb.exp: Ditto.
19671 * config/unix-gdb.exp: Ditto.
19672 * config/vx-gdb.exp: Ditto.
19673 * gdb.base/a1-selftest.exp: Ditto.
19674 * gdb.base/a2-run.exp: Ditto.
19675 * gdb.base/break.exp: Ditto.
19676 * gdb.base/corefile.exp: Ditto.
19677 * gdb.base/list.exp: Ditto.
19678 * gdb.base/recurse.exp: Ditto.
19679 * gdb.base/scope.exp: Ditto.
19680 * gdb.base/signals.exp: Ditto.
19681
19682 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19683
19684 * gdb.threads/Makefile.in (docdir): Removed.
19685
19686 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19687
19688 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19689 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19690 @srcdir@.
19691 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19692 autoconf 2.5 or higher.
19693 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19694
19695 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19696
19697 * configure: Regenerated.
19698 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19699 avoid name clashes with SunOS headers.
19700
19701 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19702
19703 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19704
19705 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19706
19707 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19708 prototype information ends up in the compiler info file.
19709
19710 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19711
19712 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19713 attempting to regenerate it. Eliminate use of a temporary file
19714 and just generate the info file directly. Source it immediately,
19715 for consistency of use.
19716 * gdb.base/corefile.exp: Ditto
19717 * gdb.base/exprs.exp: Ditto.
19718 * gdb.base/funcargs.exp: Ditto.
19719 * gdb.base/langs.exp: Ditto.
19720 * gdb.base/list.exp: Ditto.
19721 * gdb.base/mips_pro.exp: Ditto.
19722 * gdb.base/nodebug.exp: Ditto.
19723 * gdb.base/opaque.exp: Ditto.
19724 * gdb.base/ptype.exp: Ditto.
19725 * gdb.base/scope.exp: Ditto.
19726 * gdb.base/setvar.exp: Ditto.
19727 * gdb.base/signals.exp: Ditto.
19728 * gdb.base/whatis.exp: Ditto.
19729 * gdb.c++/templates.exp: Ditto.
19730 * gdb.c++/virtfunc.exp: Ditto.
19731 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19732 whether or not to add -lstdc++ to the compile command line args.
19733
19734 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19735
19736 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19737 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19738 Increase timeout, a lot of single stepping might be needed if the
19739 target has no hardware watchpoints.
19740
19741 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19742
19743 * gdb.base/break.exp: Ignore compiler warnings when compiling
19744 break.c.
19745 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19746 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19747 from remote-sim.
19748 * gdb.base/exprs.exp: Add h8300 xfails.
19749 * gdb.base/funcargs.exp: Likewise.
19750 * gdb.base/nodebug.exp: Likewise.
19751 * gdb.base/printcmds.exp: Likewise.
19752 * gdb.base/ptype.exp: Likewise.
19753 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19754 h8300 xfails.
19755 * gdb.base/return.exp: Handle float/double precision problems
19756 on the h8300.
19757 * gdb.base/funcargs.c: Explicitly make last constant argument to
19758 call_after_alloca_subr an unsigned long type.
19759 * gdb.base/return.c: Include stdio.h.
19760
19761 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19762
19763 * config/abug.exp: New file for the older Motorola Bug monitor
19764 that runs on the mvme13x series VME boards.
19765 * config/monitor.exp: Use the new config array for target settings
19766 if they exist.
19767
19768 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19769
19770 * sim-gdb.exp: Make the SH simulator allocate less space when
19771 it is targeted.
19772
19773 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19774
19775 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19776 test.
19777
19778 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19779
19780 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19781 "rs6000-*-*" for "list function in include file" when gcc compiled.
19782 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19783 for "p ctable1[120]".
19784 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19785 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19786 Remove setup_xfail for "rs6000-*-*" for
19787 "print 'scope0.c'::filelocal before run".
19788 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19789 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19790 since some compilers don't allow both options to be given
19791 on the same command line. Create object file and move it.
19792
19793 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19794
19795 * gdb.base/corefile.exp: Always regenerate the core file, since
19796 we always regenerate the coremaker program. Detect special case
19797 where registers cannot be read from core file.
19798
19799 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19800
19801 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19802 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19803 * gdb.c++/templates.exp: Only match on basename of file since
19804 some formats like xcoff don't encode directory information.
19805 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19806 and rs6000 AIX xcoff targets.
19807 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19808 * configure: Regenerate.
19809 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19810 here, rather than in distclean.
19811
19812 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19813
19814 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19815 defined, and use it to compile the test case with -O2. The
19816 native compilation still uses no optimization.
19817 * gdb.base/mips_pro.c: Remove inline assembly code since
19818 it is compiled PIC by default, which results in assembler
19819 warnings that make the testsuite think the compilation
19820 was unsuccessful.
19821
19822 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19823
19824 * gdb.c++/misc.exp: Add note to message for
19825 "print s.a for foo struct" that this is a known gcc 2.7.2
19826 and earlier bug.
19827
19828 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19829
19830 * gdb.base/break.exp: Fix pattern for matching "Delete all
19831 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19832 setup_xfail for deleting all breakpoints test. Fix various
19833 timeout messages to include "(timeout)".
19834 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19835 for "p t_float_values2(3.14159,float_val2)".
19836 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19837 for "continue to call2g" when gcc compiled.
19838 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19839 "up to foo in langs.exp", "show language at foo in langs.exp",
19840 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19841 and "show language at fsub in langs.exp".
19842 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19843 "list line 1 in include file", "list message for lines past EOF",
19844 "list function in include file", "list list0.h:foo", and
19845 "list filename:function; nonexistant function".
19846 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19847 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19848 and "ptype t_char_array" to be for native cc only.
19849
19850 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19851
19852 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19853 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19854 "print func2::coremaker_local", and "backtrace in corefile.exp".
19855
19856 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19857
19858 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19859 "bt in signals.exp". This problem only appears when running
19860 the testsuite, and then only intermittently.
19861
19862 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19863
19864 * gdb.base/return.exp (return_tests): Differentiate between
19865 two tests of continuing.
19866
19867 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19868
19869 * */Makefile.in (maintainer-clean): Remove config.log.
19870 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19871 * gdb.c++/Makefile.in (PROGS): Add inherit.
19872 (clean): Remove *.ci.
19873
19874 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19875
19876 * gdb.c++/misc.cc: Add test code from Mike Stump.
19877 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19878
19879 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19880
19881 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19882 to "alpha-*-osf2*" and add comment.
19883 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19884 setup_xfail for "step over execarg initialization" and
19885 "step over corearg initialization".
19886 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19887 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19888 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19889 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19890 "print func2::coremaker_local", and "backtrace in corefile.exp".
19891 * gdb.base/signals.exp: Build and source signals.ci.
19892 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19893 to be for gcc only.
19894 * lib/gdb.exp: Move verbose statements outside conditionals.
19895
19896 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19897
19898 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19899 Feb 3 procfs.c change.
19900
19901 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19902
19903 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19904
19905 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19906
19907 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19908 from dejagnu's apparent default of 10 seconds, which gives random
19909 results when running the tests over NFS on moderately loaded systems.
19910 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19911
19912 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19913
19914 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19915 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19916 result reports.
19917
19918 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19919
19920 * configure.in (CY_AC_PATH_TCLH): Remove.
19921 * configure: Regenerate.
19922
19923 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19924
19925 * gdb.c++/Makefile.in (clean): Add missing '{'.
19926
19927 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19928
19929 * lib/gdb.exp: Provide a default value for noinferior.
19930
19931 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19932 Load libgloss.exp.
19933
19934 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19935
19936 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19937 the executable, not the .o to run the tests from.
19938
19939 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19940
19941 * gdb.base/break.exp: Don't test for program exit or exit status
19942 if $noresults if nonzero.
19943 * gdb.base/langs.exp: Likewise.
19944 * gdb.base/watchpoint.exp: Likewise.
19945
19946 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19947 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19948 trying to compile the testcase.
19949
19950 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19951
19952 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19953 * gdb.base/signals.exp (continue to handler): Likewise.
19954
19955 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19956
19957 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19958
19959 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19960
19961 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19962
19963 * gdb.base/corefile.exp: Recognize "not found" as failure
19964 when trying to determine if a core file was generated.
19965 If no core file was generate the first time, try again without
19966 the ulimit -c to work around braindamaged shells.
19967
19968 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19969
19970 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19971 [] tests with "test" and enclose string in quotes.
19972 * gdb.stabs/configure: Rebuild
19973
19974 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19975
19976 Changes in sync with expect:
19977 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19978 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19979 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19980 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19981 argument to AC_REQUIRE.
19982 * configure: Regenerated.
19983
19984 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19985
19986 * gdb.base/corefile.exp: When generating a core, discard any
19987 error messages about ulimit not found and the "core dumped"
19988 message from the shell that runs the coredumper.
19989
19990 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19991
19992 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19993
19994 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19995 which sed script to run. Expect failure for v_comb test
19996 on PA targets too.
19997
19998 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19999
20000 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20001 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20002
20003 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20004
20005 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20006 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20007 "sparc-sun-solaris*" xfails for "p v_comb".
20008 * lib/gdb.exp (default_gdb_start): Fix typo.
20009 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20010 messages to not include the full program name that caused
20011 the core dump since some systems (such as solaris) apparently
20012 truncate this path to about 80 characters.
20013 When generating a core file first try increasing the core file
20014 size limit to unlimited since some systems may default it to
20015 zero, and it is harmless to try it. Move the test for failing
20016 to generate a core file to where it will actually get executed.
20017 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20018 new gdb result from g++ debug info improvements and make old
20019 pattern obsolescent. Also account for size_t differences
20020 (may be int or long).
20021 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20022 initialization before function call is placed in the delay slot
20023 and thus appears to be skipped over by commands such as "next".
20024
20025 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20026
20027 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20028
20029 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20030
20031 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20032 input source file; fix code to compile test to deal with this
20033 convention.
20034 * gdb.c++/*.exp: Likewise.
20035
20036 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20037
20038 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20039 "bt in signals.exp".
20040
20041 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20042
20043 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20044 "step over execarg initialization" and
20045 "step over corearg initialization".
20046
20047 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20048
20049 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20050 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20051
20052 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20053
20054 From Rob Savoye (rob@poseidon.cygnus.com)
20055 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20056 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20057 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20058 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20059 configure.in}: Major reworking for autoconfig.
20060 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20061 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20062 New files.
20063 * config/unix-gdb.exp: Make GDB global.
20064 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20065 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20066 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20067 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20068 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20069 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20070 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20071 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20072 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20073 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20074 pr-8136.exp, result.exp, string.exp, tuples.exp},
20075 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20076 to returns as necessary, arrange for test to compile own testcase
20077 executable.
20078 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20079
20080 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20081
20082 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20083 clear_xfail at end of test which might not call either pass or fail.
20084 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20085 "backtrace through signal handler".
20086
20087 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20088
20089 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20090 continuing from a job control stop signal.
20091 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20092
20093 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20094
20095 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20096 * gdb.base/corefile.exp: Likewise.
20097 * gdb.base/funcargs.exp: Likewise.
20098
20099 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20100
20101 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20102 * config/monitor.exp: Add support for setting baud rate.
20103
20104 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20105
20106 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20107 i*86-*-linux* xfails for "backtrace through signal handler".
20108 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20109 "print func2::coremaker_local".
20110 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20111 alpha-dec-osf2* xfail for
20112 "delete all breakpoints when none".
20113
20114 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20115
20116 * gdb.base/break.exp: Change test that deletes all breakpoints
20117 when no user breakpoints are installed. A post 4.15 change
20118 causes gdb to no longer prompt in this case.
20119
20120 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20121
20122 * gdb.base/return.exp (return_tests): Change xfail for test
20123 "correct value returned double test" to stop xfailing at
20124 Solaris 2.5. Apparently the bug has been fixed.
20125
20126 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20127
20128 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20129 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20130
20131 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20132
20133 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20134 * gdb.disasm/hppa.s: Corresponding changes.
20135
20136 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20137
20138 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20139 makefile fragment.
20140 * config/mt-hpux: Deleted.
20141
20142 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20143
20144 * Many files: When warning about suppressed tests due to a
20145 nonexistant test binary, avoid incrementing the warning count.
20146
20147 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20148
20149 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20150
20151 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20152
20153 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20154 "sparc-*-solaris2*".
20155
20156 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20157
20158 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20159 Add global and local variables and initialize them.
20160 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20161 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20162 extracts the file name and terminating signal from the core file.
20163 * TODO: Remove note about tests for correct mapping of corefile.
20164 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20165 from optimizing it away.
20166 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20167 handles common blocks.
20168
20169 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20170
20171 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20172 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20173
20174 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20175
20176 * Makefile.in (maintainer-clean): New target, synonym for
20177 realclean.
20178 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20179 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20180 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20181 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20182 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20183 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20184
20185 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20186
20187 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20188 xfails when not gcc compiled for "print foo::funclocal".
20189 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20190 "print foo::funclocal at foo",
20191 "print 'scope1.c'::foo::funclocal at foo",
20192 "print foo::funclocal_bss at foo",
20193 "print 'scope1.c'::foo::funclocal_bss at foo",
20194 "print foo::funclocal_ro at foo",
20195 "print 'scope1.c'::foo::funclocal_ro at foo",
20196 "print bar::funclocal at foo" and
20197 "print 'scope1.c'::bar::funclocal at foo".
20198 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20199 gcc compiled for "print foo::funclocal at bar".
20200 Expand all messages to ensure that they identify that
20201 the test is at bar().
20202 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20203 gcc compiled for:
20204 "ptype on opaque struct pointer (statically)",
20205 "ptype on opaque struct tagname (statically)",
20206 "ptype on opaque struct pointer (dynamically) 1",
20207 "ptype on opaque struct tagname (dynamically) 1",
20208 "ptype on opaque struct pointer (dynamically) 2" and
20209 "ptype on opaque struct tagname (dynamically) 2
20210 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20211 gcc compiled for:
20212 "p datalocal"
20213 "whatis datalocal",
20214 "ptype datalocal",
20215 "p bsslocal",
20216 "whatis bsslocal", and
20217 "ptype bsslocal".
20218 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20219 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20220 when not gcc compiled.
20221 * gdb.base/funcargs.exp (float_and_integral_args): Add
20222 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20223 compiled.
20224 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20225 "backtrace from call6a" when not gcc compiled.
20226 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20227 "backtrace from call7a" when not gcc compiled.
20228 * gdb.base/callfuncs.exp (do_function_calls):
20229 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20230 "p t_char_array_values(char_array_val2,char_array_val1)",
20231 "p t_char_array_values(char_array_val1,char_array_val2)",
20232 "p t_char_array_values("carray 1","carray 2")",
20233 "p t_char_array_values("carray 1",char_array_val2)",
20234 "p t_char_array_values(char_array_val1,"carray 2")",
20235 "p sum_args(1,{2})",
20236 "p sum_args(2,{2,3})",
20237 "p sum_args(3,{2,3,4})",
20238 "p sum_args(4,{2,3,4,5})"
20239 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20240 "backtrace in corefile.exp" when not gcc compiled.
20241
20242 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20243
20244 * gdb.base/signals.exp: Rewrite `handle all print' test as
20245 a procedure. Accept blanks or TABs as whitespace, increase
20246 timeout and expect input buffer size for the large output
20247 from the command. Remove "i*86-*-bsdi2.0" xfail.
20248
20249 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20250
20251 * gdb.base/setvar.exp: Add new testcases for truncation when
20252 assigning invalid values to bitfields.
20253
20254 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20255
20256 * gdb.base/callfuncs.exp (do_function_calls): Remove
20257 mips-sgi-irix* xfail for
20258 "call inferior func with struct - returns char *"
20259 and fix test so that an optional (unsigned char *) cast is
20260 accepted in the result.
20261
20262 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20263
20264 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20265 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20266 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20267 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20268 that accidentally got checked in.
20269
20270 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20271
20272 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20273 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20274 compiled test.
20275 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20276 Add mips-sgi-irix5* xfail for not gcc compiled.
20277 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20278 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20279 "p top", "whatis top", "p middle", and "whatis middle".
20280 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20281 "whatis signed char" for not gcc compiled.
20282 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20283 "set variable signed char=-1 (-1)" and
20284 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20285 * gdb.base/funcargs.exp (float_and_integral_args):
20286 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20287 Add mips-sgi-irix* xfail when not gcc compiled for
20288 "continue to call2b".
20289 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20290 "continue to call2g".
20291 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20292 "backtrace from call6a"
20293 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20294 "backtrace from call7k".
20295 Add mips-sgi-irix5* xfail when not gcc compiled for
20296 "backtrace from call7a".
20297 (localvars_after_alloca): Fix gdb_test cmds for
20298 "print * after runto ...".
20299 Remove rs6000-*-* xfails for
20300 "print i after runto localvars_after_alloca" and
20301 "print l after runto localvars_after_alloca"
20302 for all compilers.
20303 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20304 when not compiled with gcc, for:
20305 "print signed char == (minus)",
20306 "print signed char != (minus)",
20307 "print signed char < (minus)",
20308 "print signed char > (minus)".
20309 * gdb.base/callfuncs.exp (do_function_calls):
20310 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20311 "call inferior func with struct - returns char *".
20312 * gdb.base/return.exp (return_tests): Change xfail for
20313 "correct value returned double test" to include Solaris 2.4.
20314 * gdb.base/funcargs.exp (float_and_integral_args):
20315 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20316
20317 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20318
20319 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20320 enumeration bitfields if compiling with GNU C.
20321 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20322 to empty' prompt.
20323
20324 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20325
20326 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20327 test for PRO targets.
20328
20329 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20330 breakpoints in the inferior at any given time by making
20331 two groups of breakpoints for call2*, call6* and call7*
20332 tests.
20333
20334 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20335
20336 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20337 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20338 from optimizing it away.
20339 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20340 "call inferior func with struct".
20341
20342 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20343
20344 * configure.in: Only configure gdb.chill for particular targets.
20345
20346 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20347
20348 * gdb.base/Makefile.in: Add action to .c.o transformation
20349 rule that generates a .ci file for each .o file and remove
20350 explicit .c.o rules except for callfuncs.o.
20351 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20352 generates a .ci file for each .o file and remove explicit
20353 .cc.o rules.
20354 (clean): Remove *.tmp *.ci files.
20355 (EXECUTABLES): Remove templ-info.exp.
20356 * gdb.base/compiler.c: New file.
20357 * gdb.c++/compiler.cc: New file
20358 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20359 Change rs6000-*-* xfail for
20360 "print 'scope0.c'::filelocal_ro" and
20361 "print 'scope1.c'::filelocal" and
20362 "print 'scope1.c'::filelocal_bss" and
20363 "print 'scope1.c'::filelocal_ro" and
20364 "print 'scope1.c'::foo::funclocal" and
20365 "print 'scope1.c'::foo::funclocal_ro" and
20366 "print 'scope1.c'::bar::funclocal" and
20367 "print 'scope0.c'::filelocal_ro" and
20368 "print 'scope1.c'::filelocal at foo" and
20369 "print 'scope1.c'::filelocal_bss at foo" and
20370 "print 'scope1.c'::filelocal_ro at foo" and
20371 "print 'scope1.c'::foo::funclocal at foo" and
20372 "print 'scope1.c'::foo::funclocal_bss at foo" and
20373 "print 'scope1.c'::foo::funclocal_ro at foo" and
20374 "print 'scope1.c'::bar::funclocal at foo" and
20375 "print 'scope0.c'::filelocal_ro" and
20376 "print 'scope1.c'::filelocal" and
20377 "print 'scope1.c'::filelocal_bss" and
20378 "print 'scope1.c'::filelocal_ro" and
20379 "print 'scope1.c'::foo::funclocal" and
20380 "print 'scope1.c'::foo::funclocal_bss" and
20381 "print 'scope1.c'::foo::funclocal_ro" and
20382 "print 'scope1.c'::bar::funclocal" and
20383 "print 'scope1.c'::bar::funclocal_bss"
20384 to only be xfail'd when not compiled with gcc.
20385 Add rs6000-*-* xfail for
20386 "print 'scope0.c'::filelocal_bss before run"
20387 when compiled with gcc.
20388 (test_at_main): Add rs6000-*-* xfail for
20389 "print filelocal_ro in test_at_main"
20390 when compiled with gcc.
20391 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20392 Add rs6000-*-aix* xfail for
20393 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20394 "ptype t_char_array", not compiled with gcc.
20395 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20396 xfail for "list foo (in include file)" when gcc compiled.
20397 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20398 (integral_args): Add rs6000-*-* xfail for
20399 "run to call0a" if not compiled with gcc.
20400 (unsigned_integral_args): Add rs6000-*-* xfail for
20401 "run to call1a" if not compiled with gcc.
20402 (float_and_integral_args): Add rs6000-*-* xfail for
20403 "run to call2a" if not compiled with gcc and for
20404 "continue to call2b" for any compiler.
20405 Add rs6000-*-* xfail to
20406 "print f1 after run to call2a" for gcc compiled.
20407 (discard_and_shuffle): Add rs6000-*-* xfail for
20408 "run to call6a".
20409 (shuffle_round_robin): Add rs6000-*-* xfail for
20410 "backtrace from call7a" if not compiled with gcc.
20411 Add rs6000-*-* xfail for
20412 "backtrace from call7b" if compiled with gcc.
20413 (call_after_alloca): Add rs6000-*-* xfail for
20414 "print c in call_after_alloca" and
20415 "print s in call_after_alloca" and
20416 "backtrace from call_after_alloca_subr"
20417 if not compiled with gcc.
20418 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20419 "print c in localvars_in_indirect_call" and
20420 "print c in localvars_in_indirect_call" and
20421 "backtrace in indirectly called function" and
20422 "stepping into indirectly called function"
20423 if not compiled with gcc.
20424 (localvars_after_alloca): Add rs6000-*-* xfail for
20425 "print c after runto localvars_after_alloca" and
20426 "print s after runto localvars_after_alloca" and
20427 "print i after runto localvars_after_alloca" and
20428 "print l after runto localvars_after_alloca"
20429 for all compilers.
20430 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20431 than whatis-info.exp.
20432 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20433 than opaque-info.exp.
20434 Setup rs6000-*-* xfail for
20435 "ptype on opaque struct pointer (statically)" and
20436 "ptype on opaque struct pointer (dynamically)" when
20437 not compiled with gcc.
20438 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20439 rather than callf-info.exp.
20440 (do_function_calls): Add clear_xfail for rs6000-*-* for
20441 "p t_float_values2(3.14159,float_val2)". Seems to work
20442 fine there, both with xlc and gcc. Need to find out what
20443 it is doing right and fix other platforms.
20444 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20445 "call inferior func with struct - returns int",
20446 "call inferior func with struct - returns long",
20447 "call inferior func with struct - returns float",
20448 "call inferior func with struct - returns double",
20449 "call inferior func with struct - returns char *",
20450 but only if not gcc compiled (presumes xlc compiled).
20451 Change rs6000-*-* xfails for
20452 "call inferior func with struct - returns char" and
20453 " call inferior func with struct - returns short" to only
20454 xfail if not using gcc.
20455 (clean mostlyclean): Remove *.ci and *.tmp files.
20456 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20457 than templ-info.exp.
20458 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20459 Add rs6000-*-* xfail for "up to foo in langs.exp"
20460 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20461 when not gcc compiled.
20462
20463 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20464
20465 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20466 * gdb.base/corefile.exp: Likewise.
20467 * gdb.base/list.exp: Likewise.
20468 * gdb.base/scope.exp: Likewise.
20469 * gdb.base/siganls.exp: Likewise.
20470
20471 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20472 compiler output.
20473 * gdb.base/whatis.exp: Likewise.
20474
20475 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20476
20477 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20478 failure (opcode table has been fixed to match reality).
20479
20480 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20481
20482 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20483 "call inferior func with struct - returns char",
20484 "call inferior func with struct - returns short"
20485
20486 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20487 "print 'scope0.c'::filelocal at main",
20488 "print 'scope0.c'::filelocal_bss in test_at_main",
20489 "print 'scope0.c'::filelocal at foo",
20490 "print 'scope0.c'::filelocal_bss in test_at_foo",
20491 "print 'scope0.c'::filelocal at bar",
20492 "print 'scope0.c'::filelocal_bss in test_at_bar"
20493
20494 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20495 in source file 1". This bug seems to have been fixed with both
20496 gcc and native cc (was native assembler bug?).
20497
20498 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20499
20500 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20501 "backtrace through signal handler" to "i*86-*-sysv4*".
20502 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20503 continue" case. Add "known SVR4 bug" to fail message.
20504 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20505 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20506 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20507 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20508 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20509 "up to foo in langs.exp", "show language at foo in
20510 langs.exp", "up to cppsub_ in langs.exp", "show
20511 language at cppsub_ in langs.exp", "up to fsub in
20512 langs.exp", and "show language at fsub in langs.exp".
20513 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20514 "bactrace in corefile.exp".
20515 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20516 "call inferior function with struct - returns float" and
20517 "call inferior function with struct - returns double".
20518
20519 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20520
20521 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20522 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20523 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20524 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20525
20526 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20527
20528 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20529 (or overriden) "CHILL" macro rather then bare "gcc".
20530 Also look for ../../gcc/xgcc since that is what we will
20531 actually need, not "Makefile". Remove following assignment
20532 of CHILL to CHILL_FOR_TARGET because that results in
20533 recursive definition.
20534
20535 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20536
20537 * gdb.base/corefile.exp: Change xfail for backtrace in
20538 corefile.exp from linuxaout to all linux.
20539 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20540 cases where we miss the breakpoint at the signal handler
20541 for some reason. Setup xfail for linuxoldld/linuxaout and
20542 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20543 hitting SIGURG breakpoint.
20544 * gdb.base/signals.exp: Setup xfail for "next" acting like
20545 continue to add linuxoldld. Setup xfail for all linux for
20546 "next to handler in signals_tests_1", "backtrace in
20547 signals_tests_1", "continue to func1", "pass SIGUSR1",
20548 and continue to handler".
20549
20550 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20551
20552 * Update all FSF addresses except those in COPYING* files.
20553
20554 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20555
20556 * gdb.base/a2-run.exp: Change messages to be more explicit about
20557 the status of args, and quote binfile in results.
20558
20559 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20560
20561 * gdb.base/callfuncs.exp: Add tests for passing structs to
20562 inferior functions and return various types.
20563 * gdb.base/callfuncs.c: Add functions to receive a struct
20564 and return a member of the struct, in various types.
20565
20566 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20567
20568 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20569
20570 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20571
20572 * config/vxworks29k.exp: New file, sources vxworks.exp.
20573
20574 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20575
20576 * config/gdbremote.exp: New file. Testing framework using
20577 gdbserver.
20578
20579 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20580
20581 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20582 "call function when asleep" and "send end of file".
20583 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20584 for "backtrace in corefile.exp".
20585 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20586 for "backtrace through signal handler".
20587 * gdb.base/corefile.exp: Make sure we actually generate a core file
20588 before trying the core tests. Some systems allow the user to suppress
20589 generation of core files and default to that (linux for example).
20590 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20591 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20592
20593 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20594
20595 * gdb.threads: New directory with some crude multi-threaded
20596 gdb tests (step.exp and step2.exp).
20597 * config/mt-lynx (STEP_EXECUTABLE): Define.
20598 (THREADFLAGS): Define.
20599
20600 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20601
20602 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20603
20604 * gdb.base/signals.exp: Disable whole file for lynx until
20605 further notice.
20606
20607 * gdb.base/signals.exp: xfail test where "next" acts like
20608 "continue" for lynx.
20609
20610 * gdb.base/interrupt.exp: xfail test for calling function while
20611 inferior is asleep for lynx.
20612
20613 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20614 than one cr-lf after each command.
20615
20616 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20617
20618 * configure.in: Reinstate setting of stabsdirs variable, fix
20619 typo in setting up configdirs for native builds.
20620
20621 * gdb.base/return.exp: Fix typo in return double test.
20622 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20623 compiler from optimizing them away.
20624
20625 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20626
20627 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20628 sequences to be echo'd by gdb when using gdb_test.
20629 * gdb.chill/chexp.exp: Likewise.
20630 * gdb.fortran/exprs.exp: Likewise
20631
20632 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20633
20634 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20635 after the inferior gdb has started.
20636
20637 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20638 after each command.
20639 * gdb.base/funcargs.exp: Likewise.
20640 * gdb.base/gdbvars.exp: Likewise.
20641 * gdb.base/interrupt.exp: Likewise.
20642 * gdb.base/list.exp: Likewise.
20643 * gdb.base/watchpoint.exp: Likewise.
20644 * gdb.c++/demangle.exp: Likewise.
20645 * gdb.c++/inherit.exp: Likewise.
20646 * gdb.chill/chexp.exp: Likewise.
20647 * gdb.fortran/exprs.exp: Likewise.
20648
20649 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20650 test if we can't handle IO to/from the inferior.
20651
20652 * gdb.c++/misc.exp: Always check for a program already being
20653 started after sending a "run" command to gdb.
20654
20655 * gdb.base/twice.exp: Start with a fresh gdb.
20656
20657 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20658 only depend on gdb's expression code, not the chill runtime.
20659
20660 * gdb.base/return.c: Put return values into variables so we
20661 can have gdb print them rather than depending on the program
20662 to print them.
20663 * gdb.base/return.exp: Corresponding changes.
20664
20665 * lib/gdb.exp: Provide default value for noinferiorio.
20666 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20667 the inferior.
20668
20669 * gdb.base/break.exp: Always check for a program already being
20670 started after sending a "run" command to gdb.
20671 (text_next_with_recursion): Don't check the output from the
20672 program's printf statement. Instead just make sure the program
20673 exited.
20674
20675 * gdb.base/commands.exp: Protect tests which need arguments with
20676 $noargs conditionals.
20677
20678 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20679
20680 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20681 of structure member arrays to match gdb/valops.c:value_addr change.
20682
20683 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20684
20685 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20686 cases.
20687
20688 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20689
20690 * configure.in (configdirs): Remove gdb.chill from default list
20691 of subdirs and then add it back in only if doing a native build.
20692 The current chill compiler does not yet work in any cross build.
20693 * Revert all signal changes from Jul 6.
20694 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20695 for sh-hms targets, allowing these tests to link, with no other
20696 changes. Testing is suppressed by setting "nosignals" in site.exp.
20697
20698 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20699
20700 * configure.in (signaldirs): Define and add to configdirs for all
20701 targets except some specific ones that are known to not support signals.
20702 Also clean up formatting.
20703 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20704 (signals, sigall): Remove rules to build.
20705 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20706 Moved to new gdb.signals directory.
20707 * gdb.signals: New test directory.
20708 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20709 signals.c signals.exp}: New or moved files.
20710
20711 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20712
20713 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20714
20715 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20716
20717 * gdb.base/return.exp: Xfail `return double' test failure
20718 on at least Solaris 2.3 and handle future/past versions on
20719 a case by case basis as appropriate. Also update message
20720 to include i*86 failures.
20721
20722 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20723
20724 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20725
20726 * lib/gdb.exp: Fix comment which erroneously identified
20727 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20728 gdb_file_cmd not gdb_load).
20729 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20730
20731 * gdb.base/setvar.exp: Make test names consistent between pass and
20732 fail cases. Use gdb_test more.
20733
20734 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20735
20736 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20737
20738 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20739
20740 * gdb.base/help.exp: Fix expected help string for `show commands'.
20741
20742 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20743
20744 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20745
20746 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20747 of a text section.
20748
20749 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20750
20751 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20752 that loop eventually terminates. Fix Connection refused logic so
20753 that testsuite will expire nicely.
20754
20755 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20756
20757 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20758 config/rom68k.exp: New tcl glue for the appropriate monitors.
20759 These all just end up calling monitor.exp.
20760 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20761 refused' by retrying. Cleanup some timeout issues.
20762 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20763 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20764 callers don't have to set/restore global timeout variable.
20765
20766 * The following set of changes centralizes management of the global
20767 timeout variable. This way, it can be set in one target dependent
20768 place instead of dozens of places scattered throughout the test suite.
20769 If you need to lengthen a timeout, then you should either set timeout
20770 in one of the config/{target}.exp files, or multiply it by a factor.
20771 Setting it to an absolute value is always going to lose for some
20772 targets.
20773 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20774 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20775 * gdb.base/funcargs.exp: Don't set timeout.
20776 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20777 * gdb.base/printcmds.exp (test_print_string_constants
20778 test_print_array_constants): Don't set timeout.
20779 * gdb.base/ptype.exp: Don't set timeout.
20780 * gdb.base/recurse.exp: Don't set timeout.
20781 * gdb.base/return.exp: Don't set timeout.
20782 * gdb.base/watchpoint.exp: Don't set timeout.
20783 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20784 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20785
20786 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20787
20788 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20789
20790 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20791
20792 * lib/gdb.exp: Disable chill tests for irix5.
20793
20794 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20795
20796 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20797 each test pass or fail.
20798
20799 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20800
20801 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20802 xlc not gcc.
20803
20804 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20805
20806 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20807
20808 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20809
20810 * config/est.exp: Fix copyright and comments. Remove dead code.
20811 Use targetname, serialport and baud variables instead of fixed
20812 constants.
20813 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20814 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20815
20816 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20817
20818 * gdb.base/watchpoint.exp: Don't run
20819 test_watchpoint_triggered_in_syscall for sunos.
20820
20821 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20822
20823 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20824 they don't seem to exist. Do include stdio.h.
20825
20826 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20827
20828 * gdb.base/a1-selftest.exp: Add alpha xfail.
20829
20830 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20831
20832 * gdb.base/watchpoint.c (main): Prompt before calling read().
20833 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20834 Revise accordingly. Remove cruft about sending "123" several
20835 times, until it gets noticed. Clean up the "print buf[0]" stuff
20836 so that it passes or fails, and waits for prompts in the usual way.
20837
20838 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20839
20840 * gdb.base/recurse.exp: Fix comment.
20841
20842 * TODO: Remove item about printing variables in nodebug.exp. Add
20843 item about enabling tests which are only run on some targets.
20844
20845 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20846 fail, make test names unique, use new gdb_test convention
20847 regarding pattern, use gdb_test more, etc.).
20848
20849 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20850 fail, make test names unique, etc.).
20851
20852 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20853
20854 * gdb.base/nodebug.c: Change return type of top and middle to
20855 short.
20856 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20857 are fixed by the recent mdebugread.c changes. Allow `short ()'
20858 as type for top and middle.
20859
20860 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20861
20862 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20863 nearly as I can tell, the whole thing was an accident in Stu's
20864 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20865 to replace a send/expect pair with gdb_test, but ended up only
20866 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20867 of 30 Mar 1995 took care of it, but left this vestigial comment
20868 which I am now nuking.
20869
20870 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20871
20872 * gdb.base/break.exp: Look for different line number for
20873 breakpoint at main depending on usestubs.
20874
20875 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20876
20877 * gdb.base/list.exp: Adjust some alternate expect patterns to
20878 match recent list0.c change. Add alternate expect pattern for
20879 output from `list default lines around main' for optimizing
20880 compilers.
20881
20882 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20883
20884 * lib/gdb.exp: If nosignals is not set, set it to 0.
20885
20886 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20887
20888 * config/slite-gdb.exp: Responds to load symbol table prompt.
20889 * gdb.base/break.exp: Adjust line number, fix rerun.
20890 * gdb.base/langs0.c: Add #ifdef usestubs.
20891
20892 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20893
20894 * gdb.base/list.exp: Adjust line contents after adding new lines in
20895 list0.c. Also fix a syntax error.
20896
20897 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20898 * gdb.base/break.exp: ditto.
20899 * gdb.base/list.exp: ditto.
20900 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20901 * gdb.base/run.c: ditto.
20902 * gdb.base/list0.c: ditto.
20903 * gdb.base/funcargs.c: ditto.
20904
20905 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20906
20907 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20908 $targetname, $serialport and $baud instead of hardwired variables.
20909 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20910 target doesn't support signals.
20911
20912 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20913
20914 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20915
20916 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20917
20918 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20919 Don't rely on the value of an auto variable before it has been
20920 initialized. Use gdb_test more.
20921
20922 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20923
20924 * lib/gdb.exp (default_gdb_version): A version number must start
20925 with a digit, but other than that contains all characters up to
20926 the first whitespace character.
20927
20928 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20929
20930 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20931
20932 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20933
20934 * gdb.c++/*.exp: Warn if executable does not exist. The original
20935 reason for skipping the warning was that configure.in sometimes
20936 intentionally skipped building the executables but the tcl code
20937 had no way of knowing. That (a) was always bogus with respect to
20938 error handling, (b) is no longer true (right now there is no way
20939 to skip C++ tests).
20940
20941 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20942
20943 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20944
20945 * gdb.base/list.exp: Add expect patterns for output from
20946 SunPRO compiled executables.
20947 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20948 types.
20949
20950 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20951
20952 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20953 number (we are already testing that the correct source line text
20954 gets printed).
20955
20956 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20957 that is what is intended, but something needed to be done to get
20958 sunos4 native working again.
20959
20960 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20961
20962 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20963 apparently went with a (very) old xfail.
20964
20965 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20966
20967 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20968 runto_main is a proc in gdb.exp that will do 'step' for target use
20969 stubs.
20970 * gdb.base/exprs.exp: ditto.
20971 * gdb.base/interrupt.exp: ditto.
20972 * gdb.base/opaque.exp: ditto.
20973 * gdb.base/printcmds.exp: ditto.
20974 * gdb.base/ptype.exp: ditto.
20975 * gdb.base/scope.exp: ditto.
20976 * gdb.base/setvar.exp: ditto.
20977 * gdb.base/signals.exp: ditto.
20978 * gdb.base/twice.exp: ditto.
20979 * gdb.c++/classes.exp: ditto.
20980 * gdb.c++/inherit.exp: ditto.
20981 * gdb.c++/templates.exp: ditto.
20982 * gdb.base/break.exp: no run and hit main for stubs. Change line
20983 numbers for breakpoints and info breakpoint.
20984 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20985 breakpoint().
20986 * gdb.base/callfuncs.c: ditto.
20987 * gdb.base/exprs: ditto.
20988 * gdb.base/interrupt.c: ditto.
20989 * gdb.base/opaque0.c: ditto.
20990 * gdb.base/printcmds.c: ditto.
20991 * gdb.base/ptype.c: ditto.
20992 * gdb.base/scope0.c: ditto.
20993 * gdb.base/setvar.c: ditto.
20994 * gdb.base/signals.c: ditto.
20995 * gdb.base/twice.c: ditto.
20996 * gdb.c++/misc.cc: ditto.
20997 * gdb.c++/templates.cc: ditto.
20998
20999 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21000
21001 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21002
21003 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21004 somewhere between `read' and `main.c'. I'm pretty sure the
21005 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21006 and it isn't particularly useful.
21007
21008 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21009
21010 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21011
21012 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21013
21014 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21015
21016 * config/mt-slite: add LIBS and -nostdlib.
21017 * config/slite-gdb.exp: add this new file to support sparclite target.
21018
21019 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21020
21021 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21022
21023 * gdb.base/a2-run.exp: Change argument to istarget from
21024 "*-*-vxworks" to "*-*-vxworks*".
21025 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21026
21027 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21028
21029 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21030 will not runto main but do a 'step' to step out of breakpoint().
21031 * config/mt-slite: add -Dusestubs.
21032
21033 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21034
21035 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21036 instead of just @.
21037
21038 * gdb.base/signals.exp: Add test for "handle all print".
21039 * TODO: Remove "handle all print". Also remove item about
21040 checking copyright date (I don't like the idea of a spurious FAIL
21041 based on when we run the tests).
21042
21043 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21044 for SunOS4 (reason for failure not investigated). Remove
21045 redundant test for $binfile.
21046
21047 * gdb.base/nodebug.c (array_index): Call malloc.
21048
21049 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21050
21051 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21052
21053 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21054 conventions and slightly simplify the matching regexp.
21055
21056 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21057
21058 * gdb.base/break.exp: Update gdb_test invocation to use new
21059 convention.
21060
21061 * lib/gdb.exp: If noargs is not set, set it to 0.
21062
21063 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21064 tests unique.
21065
21066 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21067
21068 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21069
21070 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21071 one argument of type "<non-float parameter>".
21072
21073 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21074
21075 * config/rom68k.exp: New file to support Motorola IDP board.
21076 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21077 * gdb.base/break.c: Change things around so that this program
21078 doesn't depend upon args. This is necessary to make remote
21079 targets work (in general, they can't take args).
21080 * gdb.base/break.exp: Don't try to send args to program. Don't
21081 expect output. Also, replace lots of code with gdb_test.
21082
21083 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21084
21085 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21086 printing of '\'' (which is what the comment says we are testing,
21087 even though we were not), not '''.
21088 (test_integer_literals_rejected): Test that printing ''' is an error.
21089
21090 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21091 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21092 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21093 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21094 Use gdb_test not test_print_accept.
21095 * lib/gdb.exp: Remove test_print_accept.
21096
21097 * gdb.base/signals.exp (signal_tests_1): Make pass message
21098 consistent with fail message.
21099
21100 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21101 unsigned char; the bug (PR 1821) is fixed.
21102
21103 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21104
21105 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21106 successful tests--makes xfailing them work right.
21107
21108 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21109
21110 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21111 only \r\n, not .*. The test can pass .* as the last thing in
21112 $pattern if that is what it wants. In addition to providing this
21113 flexibility, this change should speed up pattern matching in cases
21114 where the pattern already ended with .* (there were a number of
21115 them). This change also helps catch bad patterns--in the old
21116 scheme the typo "char \*" instead of "char \\*" would pass. Now
21117 it is caught.
21118 * Many .exp files: Update callers.
21119
21120 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21121 clearer and does not spuriously match multiple ('s. Likewise for
21122 ) and *.
21123
21124 * gdb.base/nodebug.exp: Test ability to call a function and pass
21125 it a string (even with no debugging info).
21126
21127 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21128 "p '\'", which is the same as "p ''" once tcl gets done with
21129 quoting, to "p '\\'", which I suspect is what is intended (one
21130 backslash gets sent to GDB).
21131
21132 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21133
21134 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21135
21136 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21137 1817) was fixed literally years ago.
21138
21139 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21140
21141 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21142 test, it causes stepping out of call_after_alloca_subr with
21143 optimizing compilers.
21144 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21145 fails.
21146
21147 * gdb.c++/templates.exp: Source templ-info.exp only if
21148 the templates executable exists.
21149
21150 * gdb.c++/misc.cc (class Contains_static_instance,
21151 class Contains_nested_static_instance),
21152 gdb.c++/classes.exp (test_static_members): Test printing of
21153 a class that contains a static instance of the class.
21154
21155 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21156
21157 * gdb.base/langs2.c (cppsub_): Don't prototype.
21158 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21159 only, I believe).
21160
21161 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21162
21163 * lib/gdb.exp (skip_chill_tests): New procedure.
21164
21165 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21166
21167 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21168
21169 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21170 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21171
21172 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21173
21174 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21175
21176 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21177 disassemble 8, not 16, instructions for part 4.
21178
21179 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21180 support the latter anymore.
21181
21182 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21183 -DNO_PROTOTYPES.
21184 * gdb.base/callfuncs.c: Control use of prototypes based on
21185 NO_PROTOTYPES, not __STDC__.
21186 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21187 t_float_values2 tests if prototypes in use.
21188
21189 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21190 t_double_values): When checking differences against DELTA, check
21191 that difference is within the range (-DELTA,DELTA), not just
21192 (-infinity,DELTA).
21193
21194 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21195
21196 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21197 'file' command firts, then 'target', then 'load', this is due to gdb
21198 target set up.
21199 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21200
21201 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21202
21203 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21204 FP load/store variants.
21205 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21206
21207 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21208
21209 * gdb.base/term.exp: Do not give a warning if not native, it is
21210 not an abnormal condition.
21211
21212 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21213
21214 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21215 t_char_array".
21216
21217 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21218
21219 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21220 are getting the version number.
21221
21222 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21223 if not native, it is not an abnormal condition.
21224
21225 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21226
21227 * lib/gdb.exp: Just use "file exists", rather than undocumented
21228 dejagnu procedure "findfile".
21229
21230 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21231
21232 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21233 (LDFLAGS): Set to -Xlinker -Ur.
21234
21235 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21236 Removed, these values are set by lib/gdb.exp.
21237
21238 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21239
21240 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21241
21242 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21243 of replicating gdb startup code.
21244
21245 * config/mt-vxworks (LDFLAGS): Set to -r.
21246 (CFLAGS_FOR_TARGET): Removed.
21247
21248 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21249 (gdb) and gdb for vxworks uses (vxgdb).
21250
21251 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21252 executable is not in the tree and host != target, use sed and
21253 program_transform_name to determine the gdb name used by the
21254 target.
21255
21256 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21257 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21258
21259 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21260
21261 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21262 floats, chars, and shorts where there are ANSI-style function
21263 definitions.
21264
21265 * gdb.base/langs.exp, gdb.base/langs*: New test.
21266 * gdb.base/Makefile.in: Build it.
21267 * TODO: Remove item about checking that C names don't get C++
21268 demangling applied; this test tests it.
21269
21270 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21271
21272 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21273 went with the const70 xfail. The xfail went away a year ago.
21274
21275 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21276
21277 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21278 for hp300.
21279
21280 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21281
21282 * gdb.base/a1-selftest.exp: Don't run on hp300.
21283
21284 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21285
21286 * Makefile.in (site.exp): Set host_alias and target_alias as well
21287 as host_triplet and target_triplet.
21288
21289 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21290
21291 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21292
21293 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21294 places as other ecoff systems).
21295
21296 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21297 ultrix.
21298
21299 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21300
21301 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21302 remove them.
21303 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21304 variable and "variable" in addition to "data variable".
21305 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21306
21307 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21308 2.
21309 * gdb.base/list1.c (long_line): Add additional statement at start
21310 of function.
21311 * gdb.base/list.exp (test_forward_search): Update line number to
21312 reflect new statement.
21313
21314 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21315
21316 * gdb.base/signals.exp: Reinitialize searched source directories
21317 after gdb_start call.
21318
21319 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21320
21321 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21322 * gdb.stabs/Makefile.in: Likewise.
21323
21324 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21325 change. Instead split the tests into smaller pieces.
21326 * gdb.disasm/hppa.s: Corresponding changes.
21327
21328 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21329
21330 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21331 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21332
21333 * gdb.base/funcargs.exp: Modify many tests so that every test
21334 either passes or fails. Make some test names unique.
21335
21336 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21337
21338 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21339 Call stty to set interrupt character.
21340
21341 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21342 for HP assembler versus GNU assembler based on actual behavior of
21343 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21344
21345 * TODO: Suggest a few more stepping tests.
21346
21347 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21348
21349 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21350 restart GDB for h8300 after a continue.
21351 (return): Add pattern to match a29k-udi behavior.
21352 * gdb.base/nodebug.exp: Remove obsolete comment.
21353 * gdb.base/regs.exp: New file, testing of register displays.
21354 * gdb.base/return.exp: Fix typo in reference to $objdir.
21355 * gdb.base/whatis.exp: Always start with a fresh GDB.
21356
21357 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21358
21359 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21360 higher, these tests generate a lot of output.
21361
21362 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21363
21364 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21365 code following the catch silently ignored some errors; without the
21366 catch they should be thrown like any other tcl error. Also, the
21367 catch used "" instead of {} which meant all the callers who wanted
21368 to include one of the characters "[]$ had to quote it an extra time.
21369 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21370 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21371 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21372 Remove extra quoting.
21373
21374 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21375
21376 * gdb.base/commands.exp: Make test names unique; every test either
21377 passes or fails. Update some comments.
21378
21379 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21380
21381 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21382
21383 The following fixes a FAIL caused by the fact that the alpha stabs
21384 configuration didn't use the ".if alpha" code in weird.def.
21385 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21386 bit pointer, so the 32 bit version works even on the alpha.
21387 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21388 Remove the stuff which allowed us to have separate versions for
21389 alpha and everything else.
21390
21391 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21392 regexp which "info func operator\[\](" is supposed to match. Fix
21393 string to send to GDB. Note that GDB still doesn't work right. Add a
21394 new test for "info func .perator\[\](" which GDB does handle correctly.
21395
21396 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21397
21398 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21399
21400 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21401 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21402 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21403 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21404 it makes the tests harder to understand and confuses test-o-matic.
21405 The preferred style is that each test provides a PASS or a FAIL,
21406 and has a unique message (e.g. "continue #54" not just "continue")
21407 which is the same for the pass and the fail.
21408 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21409 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21410 to lib/gdb.exp.
21411 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21412 prt_accept which was basically the same thing. Likewise for
21413 test_print_reject and prt_reject.
21414 * lib/gdb.exp (test_print_reject): Add some more error message
21415 patterns to match from the former printcmds.exp (prt_reject).
21416 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21417 One defect of the passcount stuff is that some of it failed to
21418 report XPASS where appropriate.
21419 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21420 stuff before and after arg in expected pattern.
21421 (test_paddr_operator_functions): Re-do test without print_addr_of;
21422 this is the only test which seems to want extra stuff there.
21423
21424 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21425
21426 * gdb.base/nodebug.exp: Update new tests to reflect improved
21427 wording of gdb output.
21428
21429 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21430 and "ptype" work on variables in files compiled without -g.
21431 Replaces commented out "maint print msymbol" tests.
21432
21433 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21434
21435 * gdb.base/setvar.c (dummy): Call malloc.
21436
21437 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21438 losing with the irix4 sed.
21439
21440 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21441 ALRM" on irix4.
21442
21443 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21444
21445 * TODO: Remove items about corefile.exp testing new exec-file and
21446 backtrace; both are now done. Add items about printing enums.
21447
21448 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21449
21450 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21451 "get signal $thissig" test fails.
21452
21453 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21454
21455 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21456
21457 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21458 compiler warning with dec alpha compiler.
21459
21460 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21461 extra \n from gdb_test call (this explains why the prompt test
21462 that I removed yesterday was there).
21463 (user_defined_command_test): Remove extra \n and prompt test.
21464
21465 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21466 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21467 doesn't exist.
21468 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21469 Also remove alpha workaround, which turns out to be because
21470 SIGABRT == SIGLOST.
21471
21472 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21473
21474 * gdb.base/help.exp: Don't test "help show".
21475
21476 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21477
21478 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21479 "set print address" is on.
21480 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21481 pass prompt to gdb_test; gdb_test already looks for the prompt.
21482
21483 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21484
21485 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21486 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21487 was to make sure that gdb can read a core file. But (a) the "read
21488 the corefile" part didn't make it to a1-selftest.exp, we just
21489 delete the corefile after creating it, and (b) we test reading
21490 corefiles in corefile.exp anyway. Also, this test left around a
21491 xgdb process on Solaris.
21492
21493 * gdb.base/corefile.exp: Also test backtrace.
21494
21495 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21496
21497 * gdb.base/commands.exp: Test a simple user defined command with
21498 arguments and if/while statements; verify the full user command is
21499 printed by "show user".
21500
21501 * gdb.base/commands.exp: Test if/while commands as part of a
21502 breakpoint command list; verify they appear in breakpoint
21503 information.
21504
21505 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21506
21507 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21508 than by dividing by zero.
21509
21510 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21511
21512 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21513 performing an inferior call with watchpoints enabled.
21514 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21515 call.
21516
21517 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21518
21519 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21520 of "file" command.
21521
21522 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21523 Add additional pattern for when "int operator int(void);" appears
21524 in a different order.
21525
21526 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21527
21528 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21529
21530 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21531 and "signal" with ".*".
21532
21533 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21534
21535 * TODO: Add note about "handle all nostop".
21536
21537 * gdb.base/{sigall.c, sigall.exp}: New test.
21538 * gdb.base/Makefile.in: Add it.
21539
21540 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21541
21542 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21543 when invoking GDB, suppresses any windowing interface.
21544
21545 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21546
21547 * config/sim-gdb: New file, simulator testing support.
21548
21549 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21550
21551 * gdb.base/interrupt.exp: Test calling func1 twice.
21552
21553 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21554
21555 * gdb.base/list.exp (test_forward_search): Set timeout higher
21556 when we'll be getting lots of output from gdb.
21557
21558 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21559 "init_malloc" to after the expect statement. Run it if that
21560 regexp is taken, but also for two others which happen if source
21561 cannot be found.
21562
21563 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21564
21565 * gdb.base/printcmds.exp: New test, for printing register before
21566 program is running.
21567
21568 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21569
21570 * gdb.base/list.exp: Correct some alternate expect patterns
21571 to reflect changes in list1.c.
21572
21573 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21574
21575 * TODO: Add item regarding large frames.
21576
21577 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21578
21579 * TODO: Remove item about enabling return.exp; it
21580 is enabled. Suggest a few more "return" tests.
21581
21582 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21583
21584 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21585 anonymous unions.
21586
21587 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21588
21589 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21590 and pr-5646.o, so "make" is the same as "make all", not "make
21591 pr-4975.o".
21592
21593 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21594
21595 * gdb.base/list.exp: Adjust expectations to reflect changes in
21596 list1.c.
21597 (test_forward_search): New test proc.
21598 * gdb.base/list1.c (long_line): New function, has long source line.
21599
21600 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21601
21602 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21603 additional line of code that was added.
21604
21605 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21606
21607 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21608 tests so as not to overflow expect's input buffers.
21609 * gdb.disasm/hppa.exp: Corresponding changes.
21610
21611 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21612
21613 Beginnings of template debugging tests.
21614 * gdb.c++/templ-info.cc: New file to test for template
21615 debugging capability of the compiler.
21616 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21617 templ-info.cc.
21618 * gdb.c++/templates.cc: Add explicit template instantiations
21619 to enable compiling with -fno-implicit-templates. Add destructor
21620 and 'value' method to T5 class for template tests.
21621 * gdb.c++/templates.exp: Add testcases for printing of template
21622 types, setting breakpoints on template methods and calling a
21623 template method.
21624
21625 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21626
21627 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21628 branch target since some assemblers (gas-2.5) may emit a
21629 relocation for the branch instead of resolving it in the
21630 assembler.
21631
21632 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21633
21634 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21635 through signal handler.
21636
21637 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21638
21639 * configure.in (*-*-netware): Use config/mt-netware.
21640
21641 * config/mt-netware: New file.
21642 * config/mt-i386-netware: Removed, separate configs for different
21643 netware architectures are no longer needed now that we have
21644 --with-headers.
21645
21646 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21647
21648 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21649 by the recent changes to use ANSI C arithmetic conversions.
21650
21651 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21652
21653 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21654 bug involving using inferior_pid to figure out whether to select a
21655 frame.
21656
21657 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21658
21659 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21660 match the current disassembler output.
21661
21662 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21663
21664 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21665 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21666 types, expect "int" as type of integer values (for now).
21667
21668 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21669
21670 * gdb.base/commands.exp: New tests for if/while commands.
21671
21672 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21673
21674 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21675 by .*, since hex values have different syntax in Chill mode.
21676
21677 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21678
21679 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21680 linefeed from expect pattern for repeated types with indices > 9.
21681
21682 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21683
21684 First part of Fortran test suite.
21685 * gdb.fortran: New directory.
21686 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21687
21688 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21689
21690 * gdb.base/default.exp: Update expect pattern for load command
21691 without arguments.
21692
21693 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21694
21695 * configure.in: Change i386 to i[345]86.
21696 * gdb.base/configure.in: Likewise.
21697 * gdb.c++/configure.in: Likewise.
21698 * gdb.chill/configure.in: Likewise.
21699
21700 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21701
21702 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21703 patterns, since that is not a valid context for comments.
21704
21705 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21706
21707 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21708 repeated types and repeated types with indices > 9.
21709
21710 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21711
21712 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21713 2417; old bug has been fixed.
21714
21715 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21716
21717 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21718 send the newline ourselves instead of assuming gdb_test will do
21719 so when passed an empty input string.
21720
21721 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21722 stabs testcode.
21723
21724 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21725
21726 * lib/gdb.exp (gdb_test): Don't send anything if the first
21727 argument is an empty string. This makes cases where we want to
21728 match output that is already in expect's buffers (for example,
21729 matching a breakpoint after gdb_run_cmd has been called) work
21730 reliably.
21731
21732 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21733
21734 * config/netware.exp: New file.
21735
21736 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21737
21738 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21739 the -B and -L prefixes so we can find the debugging stub.
21740
21741 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21742 there and we are using the gcc from the tree.
21743
21744 * gdb.base/types.c: Removed.
21745
21746 * gdb.base/configure.in: Look for makefile fragments in ../config.
21747 Recognize i386-*-netware.
21748 * gdb.c++/configure.in: Likewise.
21749
21750 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21751
21752 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21753 the correct TCL syntax.
21754
21755 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21756
21757 * gdb.base/opaque.exp: use runto instead of messing around with
21758 breakpoints. Simplify by using gdb_test.
21759
21760 * gdb.base/bitfields.exp: restart between tests on netware targets
21761 because breakpoints aren't relocated after target death. Run
21762 processes to completion.
21763
21764 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21765
21766 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21767
21768 * Makefile.in: Remove extra tabs that confuse some versions
21769 of "make". Use the newly built gdb to test with by default,
21770 rather than the first one in the tester's search path.
21771
21772 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21773
21774 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21775
21776 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21777 condition help.
21778
21779 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21780
21781 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21782
21783 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21784 running.
21785 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21786 * gdb.base/funcargs.exp: Likewise.
21787
21788 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21789 * gdb.base/funcargs.exp: Likewise.
21790
21791 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21792 message is "".
21793
21794 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21795
21796 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21797 return,signals,twice}.exp: Handle non-existant binaries
21798 consistantly.
21799
21800 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21801 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21802 might testing a cross development system.
21803
21804 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21805
21806 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21807 runtest script is relative to ${srcdir}, not ${rootdir}.
21808
21809 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21810
21811 * gdb.base/signals.exp: Allow for optionality of breakpoint
21812 address.
21813
21814 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21815
21816 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21817
21818 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21819
21820 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21821 for size_t definition.
21822 * gdb.c++/templates.cc: Likewise
21823
21824 * config/mt-i386-netware: New file.
21825
21826 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21827 defined.
21828
21829 * gdb.base/Makefile.in: Added support for systems that name core
21830 files by appending "core" to the program name.
21831 * gdb.base/a1-selftest.exp: Likewise.
21832
21833 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21834
21835 * gdb.base/return.exp: Add comment and message for `return double'
21836 test failure on Sparc Solaris.
21837
21838 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21839
21840 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21841
21842 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21843
21844 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21845 from optimizing them away.
21846 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21847 patterns to include default constructors and assignment operators,
21848 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21849 character in the output of the virtual base pointer.
21850
21851 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21852
21853 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21854 expression match in print_addr_of to avoid unintented matches.
21855 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21856 versions up to 2.5.8.
21857
21858 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21859
21860 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21861 included file to run under newer versions of expect.
21862 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21863 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21864 Remove xfail for the virtual table of BDDHookV.
21865
21866 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21867
21868 * lib/gdb.exp (string_to_regexp): Set a default result.
21869 (default_gdb_start): Fix misleading message.
21870
21871 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21872
21873 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21874 Remove all CC, etc definitions.
21875 * config/mt-hpux: New file.
21876 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21877 (CFLAGS, LDFLAGS): Define.
21878 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21879
21880 * Makefile.in (site.exp): Don't insert host_os, etc.
21881 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21882 (distclean): Check existence of subdir.
21883 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21884 * gdb.base/Makefile.in: General cleanup and simplification.
21885 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21886 to build executables. Use default rule to build .o files.
21887 (EXPECT, RUNTEST, CC): Fix relative pathname.
21888 (site.exp): Don't insert host_os, etc.
21889 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21890 and/or SIGUSR1 defined.
21891 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21892 * gdb.c++/Makefile.in: General cleanup and simplification.
21893 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21894 (CFLAGS): Remove.
21895 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21896
21897 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21898
21899 * gdb.base/recurse.exp: Misc changes to get tests running again
21900 after Kung's changes to the watchpoint code.
21901 * gdb.base/watchpoint.exp: Likewise.
21902
21903 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21904
21905 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21906
21907 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21908
21909 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21910 * lib/gdb.exp (default_gdb_start): Define.
21911 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21912 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21913 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21914 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21915 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21916 Don't call gdb_target_udi in between tests.
21917
21918 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21919
21920 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21921 (which was basically just a local version of the same thing). In
21922 addition to avoiding duplication, gdb_test_exact is faster.
21923 * lib/gdb.exp (gdb_test_exact): Fix typo.
21924
21925 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21926 don't give an error.
21927
21928 * gdb.base/term.exp: Call delete_breakpoints before starting.
21929
21930 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21931 (t10): Add comment.
21932
21933 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21934
21935 Reorganization of the GDB Test Suite.
21936
21937 * gdb.base: New directory, contains all the basic tests.
21938 * gdb.c++: New directory, tests specific to C++.
21939 * gdb.chill: New directory, tests specific to Chill.
21940 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21941 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21942 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21943 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21944 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21945 t30-31 to chill).
21946 * */gdbme.*: Rename to match appropriate expect scripts.
21947 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21948 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21949 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21950 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21951 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21952 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21953 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21954 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21955 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21956 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21957 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21958 gdb.c++/virtfunc.cc: New names of C++ files.
21959 * gdb.chill/chillvars.ch: New name of Chill file.
21960 * gdb.base/configure.in, gdb.c++/configure.in,
21961 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21962 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21963 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21964 * configure.in (configdirs): Update to reflect directory changes.
21965 (target_abbrev): No longer define for any configuration.
21966 * Makefile.in: Cosmetic improvements to header comments.
21967
21968 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21969
21970 Various changes to gdb.t31:
21971
21972 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21973 * gdbme.ch: Make all key-words and predefineds be upper-case.
21974 * chillvars.exp: Expect key-words and predefinds in upper-case.
21975
21976 * chillvars.exp: Use gdb_test_exact many places.
21977 Change expected output for arrays (which now includes index labels).
21978
21979 * pr-5020.exp, gdme.ch (module PR_5020):
21980 New test, for PR-5020.
21981
21982 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21983
21984 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21985 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21986
21987 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21988
21989 * Makefile.in: Fix bit-rot in definitions of CHILL,
21990 CHILL_FOR_TARGET and Chill_LIB.
21991 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21992 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21993 CHILL, and CHILL_LIB.
21994
21995 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21996
21997 * Revert the previous changes. Please see Rob's directory
21998 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21999
22000 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22001
22002 * Makefile.in, configure.in, config/mips-gdb.exp,
22003 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22004 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22005 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22006 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22007 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22008 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22009 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22010 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22011 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22012 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22013 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22014 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22015 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22016 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22017 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22018 changes from 94Q1.
22019
22020 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22021
22022 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22023 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22024 Rob's new testing fragments.
22025
22026 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22027
22028 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22029 lib/gdb.exp: Replace error proc calls with perror.
22030
22031 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22032
22033 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22034 version also, match on casted version strings, and match on
22035 gdb startup case where the line numbers might be messed up.
22036
22037 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22038
22039 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22040 (CFLAGS): Delete it from here.
22041
22042 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22043
22044 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22045
22046 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22047
22048 * Makefile.in (RUNTEST): Default to just "runtest".
22049
22050 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22051
22052 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22053 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22054 the code has been restructured.
22055
22056 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22057
22058 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22059 \n, not just one of each.
22060
22061 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22062 /bin/cc gives a warning if you do.
22063
22064 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22065
22066 * gdb.t24/demangle.exp: change expect pattern of
22067 __t10ListS_link1ZUiRCUiPT0
22068
22069 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22070
22071 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22072 on local variables in recursive functions.
22073
22074 * gdb.t07/Makefile.in: Build the new test.
22075
22076 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22077
22078 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22079 directly. Instead compare the return values from actual calls.
22080
22081 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22082
22083 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22084
22085 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22086
22087 * From Peter Schauer with minor modifications.
22088 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22089 stops in mid-line in the caller. Add xfail for returning a float
22090 value on X86 targets.
22091
22092 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22093
22094 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22095 to avoid expect lossage.
22096 (fmem_LRbug_tests): Likewise.
22097 * gdb.disasm/hppa.s: Corresponding changes.
22098
22099 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22100 conditions to work with latest dejagnu/expect.
22101
22102 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22103 expected to fail on the PA.
22104 (backtrace in call with trampolines): Explicitly require main
22105 to be frame #1 (no trampolines should show up in backtrace).
22106
22107 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22108 "continue -expect".
22109 * gdb.t06/break.exp: Likewise.
22110 * gdb.t07/watchpoint.exp: Likewise.
22111 * gdb.t13/bitfields.exp: Likewise.
22112 * gdb.t15/{funcargs,return}.exp: Likewise.
22113 * gdb.stabs/weird.exp: Likewise.
22114 * config/{mips,udi}-gdb.exp: Likewise.
22115
22116 * hppa.sed: Enclose comments within a sed command to avoid
22117 losing with the old OSF1 sed.
22118
22119 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22120
22121 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22122 sequent dynix.
22123 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22124 * gdb.t15/funcargs.exp: Conditionally step again to really
22125 finish from marker_call_with_trampolines. Handle the case where
22126 the first step from within call_with_trampolines already steps
22127 us back to main.
22128 * gdb.t15/gdbme.c: Add comment to closing brace of
22129 call_with_trampolines for funcargs.exp.
22130
22131 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22132
22133 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22134 Fix typo(s).
22135
22136 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22137
22138 * gdb.t07/gdbme.c: More code for watchpoint testing.
22139
22140 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22141 "Hardware watchpoint" throughout file.
22142 (test_watchpoint_triggered_in_syscall): New test.
22143 (test_complex_watchpoint): New test.
22144
22145 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22146
22147 * gdbme.c (call_with_trampolines): New function to try and step
22148 into. Tests trampoline problems on the PA.
22149
22150 * funcargs.exp (localvars_in_indirect_call): No longer expect
22151 stepping into indirect call to fail on PAs.
22152 (test_stepping_over_trampolines): New test.
22153
22154 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22155
22156 * TODO: Add suggestions for static member function tests, and
22157 completion tests.
22158
22159 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22160
22161 * TODO: Add suggestions for "p/a" tests.
22162
22163 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22164 (default_gdb_exit): Replace all the hair with sending "quit" to
22165 the process with a simple close.
22166
22167 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22168
22169 * TODO: Add suggestions for shared library tests.
22170
22171 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22172
22173 * TODO: Add suggestions for x/s tests.
22174
22175 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22176
22177 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22178 "enable once", and "enable breakpoints once" with ".*".
22179
22180 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22181
22182 * TODO: Add suggestions about structure passing tests.
22183
22184 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22185
22186 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22187 the primary1 test, use work around if __GNUC__ < 2.
22188 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22189 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22190 Test for bad output rather than waiting for timeout. Issue
22191 second continue only if first continue failed.
22192
22193 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22194
22195 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22196 operator[] test with gdb_test because the old code didn't seem to
22197 be getting the quoting right with the new dejagnu.
22198
22199 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22200
22201 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22202 one from the path.
22203 * Makefile.in: Use a fresh expect if there is one, use runtest
22204 from the src tree if there is one.
22205
22206 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22207
22208 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22209 next over recursive call. Revise the tests from that point on
22210 (which had been skipped) to match GDB's actual (correct) output.
22211
22212 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22213 with next over a breakpoint whose condition is false.
22214
22215 * gdb.t00/help.exp: Comment out "help set print" tests just like
22216 (and for same reason as) "help set" test.
22217
22218 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22219
22220 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22221 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22222
22223 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22224
22225 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22226 necessary gdb_target_udi.
22227
22228 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22229
22230 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22231 1838 and 2417; they are fixed.
22232
22233 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22234 gdb.t03/ptype.exp (ptype structure, ptype union):
22235 Remove xfails; the test is looser than when the xfails were added.
22236
22237 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22238 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22239
22240 * gdb.t01/run.exp: Only run shell test if isnative.
22241
22242 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22243 since "run" automatically loads if necessary. Call gdb_target_udi
22244 after the "file" since "file" kills any execution target.
22245
22246 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22247 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22248 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22249 argument for UDI.
22250
22251 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22252
22253 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22254
22255 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22256
22257 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22258
22259 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22260 properly quoting regexps. This makes the second argument to
22261 demangle a fixed string, which matches the callers, instead of a
22262 shell-style pattern which is what the previous implementation
22263 used. Update some of the callers.
22264
22265 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22266
22267 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22268 (comib_nullified_tests): Fix typo.
22269 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22270 strings. No longer expected to fail.
22271
22272 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22273 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22274 strings. No longer expected to fail.
22275
22276 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22277 string. No longer expected to fail.
22278
22279 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22280
22281 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22282 No longer expected to fail.
22283
22284 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22285 string. No longer expected to fail.
22286
22287 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22288
22289 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22290 only in the names (I probably got most of them). I was even
22291 generous with some which differed in underscores in names, and
22292 probably missed a few, and I *still* was able to remove almost a
22293 third of the file with almost no impact on testsuite coverage.
22294
22295 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22296
22297 * gdb.t00/default.exp: Match udi_attach error message as well as
22298 the one from child_attach.
22299
22300 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22301
22302 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22303
22304 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22305 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22306
22307 * Move test with enums and partial symbols back to
22308 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22309 Reverts the change of 26 May 93. Per today's change to
22310 stabs.texinfo, the behavior that weird.exp was expecting was
22311 unreasonable; what is important is that the compiler+gdb get
22312 things right, which happens with a recent gcc. Also fix the test
22313 to deal with native compilers which put out the stab gdb can't
22314 deal with.
22315
22316 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22317
22318 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22319 in the names. The main thing these accomplish is to slow things down.
22320 Many more such duplicates surely remain.
22321
22322 * gdb.t00/help.exp: Comment out "help support" test just like
22323 (and for same reason as) "help set" test.
22324
22325 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22326
22327 * gdb.t06/break.exp: Remove setup_xfails for
22328 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22329 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22330 about known bug in gcc to include up through 2.5.8.
22331 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22332 well as "_vb$".
22333 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22334 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22335 with latest gcc and gdb.
22336 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22337 well as "_vb$".
22338
22339 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22340
22341 * configure.in (hppa*-*-*): Also configure and build stabs-only
22342 tests.
22343
22344 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22345
22346 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22347 * gdb.t10/configure.in (hppa*-*-*): Use it.
22348
22349 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22350
22351 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22352
22353 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22354
22355 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22356 versions prior to 1.13.5.
22357
22358 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22359
22360 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22361 the prompt is at the start of a line.
22362
22363 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22364
22365 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22366 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22367 in the copr tests now.
22368 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22369 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22370 expected to fail.
22371
22372 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22373
22374 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22375 gdb.t31/chillvars.exp, lib/gdb.exp:
22376 Tweak to run under either version of expect.
22377 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22378 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22379 * gdb.t11/list.exp: Remove extraneous whitespace.
22380
22381 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22382
22383 * gdb.t16/printcmds.exp (test_print_strings): Accept
22384 "(unsigned char *) " before the string.
22385
22386 * TODO: Add notes about printing of fancy types and GDB expressions.
22387
22388 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22389
22390 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22391 * gdb.t06/configure.in: Don't try to compile signals test program
22392 if doing mips-idt-ecoff.
22393
22394 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22395
22396 * Most .exp files: Tweak to run under either version of expect.
22397
22398 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22399
22400 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22401 xfails; I'm not sure why they are failing, but not because of PR 1806.
22402
22403 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22404
22405 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22406 defined in lib/gdb.exp.
22407
22408 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22409
22410 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22411 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22412 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22413 have to be typeless.
22414
22415 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22416
22417 * TODO: Add suggestion for copyright year test.
22418
22419 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22420
22421 * configure.in (*-*-lynxos*): Add stabs tests.
22422
22423 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22424
22425 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22426 so insert a tab before any assembler directive in column zero.
22427
22428 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22429 stores.
22430 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22431 stores.
22432 (fpu_short_memory_tests): Likewise.
22433
22434 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22435
22436 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22437 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22438 .stabs directives in comments.
22439
22440 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22441
22442 * TODO: New file, describing tests we could write.
22443 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22444
22445 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22446
22447 * gdb.t06/signals.exp: Add kludge to force re-sync.
22448
22449 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22450 to xgdb instead of gdb, get out of gdb.
22451
22452 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22453
22454 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22455 for info.
22456
22457 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22458
22459 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22460 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22461 * gdb.stabs/hppa.sed: New sed script for the PA.
22462
22463 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22464
22465 * gdb.stabs: Re-write weird.def and configuration to use sed
22466 instead of cpp. sed is portable and POSIX; cpp is neither.
22467
22468 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22469
22470 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22471
22472 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22473
22474 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22475
22476 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22477
22478 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22479 "_vb$".
22480 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22481 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22482
22483 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22484
22485 * lib/gdb.exp: Comment out code which depends on non-existent
22486 `transform' procedure.
22487
22488 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22489
22490 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22491 * lib/gdb.exp: Transform tool name.
22492 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22493 1.1's new error handling system.
22494
22495 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22496
22497 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22498
22499 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22500
22501 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22502 They made pattern matching so slow that timeouts happened on
22503 heavily loaded systems. Now any output from "show print" which
22504 gets us back to the GDB prompt is a PASS.
22505
22506 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22507
22508 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22509
22510 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22511
22512 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22513
22514 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22515 It is not from PR 3220.
22516
22517 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22518
22519 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22520 just started failing because they depended on the order the
22521 subcommands are presented, or exact docstring text. This kind of
22522 test is a pain and has minimal benefit.
22523
22524 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22525
22526 * gdb.t09/corefile.exp: At end of test, use "core" command with
22527 no arguments.
22528
22529 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22530
22531 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22532 17}/Makefile.in: Make it possible to run the testsuite with Sun
22533 make and CC = cross gcc by adding explicit build rules for .o
22534 files.
22535
22536 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22537
22538 * gdb.t15/funcargs.exp: Don't put comments on same line as
22539 setup_xfail (@#$*%& tcl braindamage!).
22540
22541 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22542
22543 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22544
22545 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22546
22547 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22548 * gdb.t20/inherit.exp: remove three dumplicate entries.
22549
22550 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22551
22552 * gdb.t06/break.exp: For "next over recursive call", fail on any
22553 incorrect output, not just on "factorial (value=2)".
22554
22555 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22556
22557 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22558 working now. Add an xfail if accesing a bss variable causes
22559 a memory error if the target is not yet run.
22560
22561 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22562
22563 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22564 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22565 name of __st* demangling (2 strings). Did Kung really get the
22566 more than 95 others right without testing them?
22567
22568 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22569
22570 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22571
22572 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22573
22574 * configure.in (configdirs): Add gdb.disasm
22575 * gdb.disasm: New directory for GDB disassembler tests.
22576 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22577
22578 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22579
22580 * gdb.t00/help.exp: Don't test "help set".
22581
22582 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22583 from within expect statements. None of these happen anymore and
22584 they cause regressions to be silently unnoticed.
22585
22586 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22587 messages) about known failures with gcc cygnus-2.4.5-930417.
22588
22589 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22590 comp-info.exp so it gets built if it doesn't exist.
22591
22592 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22593 it is no longer used.
22594 * gdb.t13/comp-info.c: Removed.
22595
22596 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22597
22598 * gdb.t06/signals.exp: Add xfail for sun3.
22599
22600 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22601
22602 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22603 relevant because ^C doesn't get sent but failure can be reproduced
22604 interactively).
22605
22606 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22607
22608 * gdb.stabs/alpha.mt: New configuration file for alpha.
22609 * gdb.stabs/configure.in: Use it.
22610 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22611 sharing with alpha.mt, redefine long to word via preprocessor.
22612 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22613 for alpha.
22614 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22615 native cc.
22616 * gdb.t00/teststrategy.exp: Change expect string so that we
22617 consume the `(xgdb)' from the command echo and from the gdb prompt.
22618 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22619 gdb currently compares all values as long, so this failure probably
22620 applies to any configuration where LONGEST is bigger than a target int.
22621 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22622 with gcc.
22623 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22624 to handle opaque pointers, gcc is.
22625 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22626 as first argument. Include <sys/types.h> and change all operator
22627 new definitions to use size_t.
22628 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22629 now that we use size_t.
22630
22631 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22632
22633 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22634 a long or float array cast all array members to the same type.
22635 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22636 with 64 bit longs.
22637 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22638 on alpha.
22639 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22640
22641 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22642
22643 * gdb.t24 (demangle.exp): Constructors of templates have names like
22644 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22645 section 14.6 of the ARM.
22646
22647 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22648 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22649 accomplish little and slow down the testsuite.
22650
22651 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22652 Accept spaces various places.
22653
22654 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22655
22656 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22657 with watchpoint enabled.
22658
22659 * Makefile.in: Remove definition of CC and remove the second
22660 definition of CXX (the "CXX = gcc" one remains). These definitions
22661 were causing backquotes to be expanded within backquotes, which
22662 doesn't work.
22663
22664 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22665
22666 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22667
22668 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22669
22670 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22671 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22672 by mips cc and contains no stabs entries.
22673
22674 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22675
22676 * config/vx-gdb.exp: Use fake device to load files rather than
22677 NFS.
22678 * lib/gdb.exp: New proc to do "file" command.
22679 * config/unix-gdb.exp: Use new "file" proc.
22680
22681 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22682
22683 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22684 Rework board rebooting slightly.
22685 (gdb_exit): Don't exit from the remote shell; there isn't one.
22686 * gdb.stabs/weird.exp: If a program is being debugged already,
22687 kill it.
22688 * gdb.t04/setvar.exp: Stop and restart gdb.
22689 * gdb.t05/expr.exp: Likewise.
22690 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22691 restart gdb and reload the program.
22692 * gdb.t08/opaque.exp: Likewise.
22693 * gdb.t12/scope.exp: Likewise.
22694 * gdb.t13/bitfields.exp: Likewise.
22695 * gdb.t15/funcargs.exp: Likewise.
22696 * gdb.t20/classes.exp: Likewise.
22697 * gdb.t03/ptype.exp: Increase timeout.
22698 * gdb.t16/printcmds.exp (test_print_string_constants,
22699 test_print_array_constants): Likewise.
22700 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22701 * gdb.t20/classes.exp (do_tests): Likewise.
22702 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22703
22704 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22705
22706 * gdb.stabs: Renamed *wierd* to *weird*.
22707
22708 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22709
22710 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22711 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22712
22713 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22714
22715 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22716 (do_tests): Remove xfail for whatis on one_var and two_var.
22717
22718 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22719
22720 * Makefile.in: Made cross building work better by adding
22721 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22722
22723 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22724
22725 * gdb.t15/{return.c,return.exp,Makefile.in}:
22726 New test, currently commented out.
22727
22728 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22729
22730 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22731 still running and removes the leftover named socket so GDb can do
22732 clean restarts.
22733
22734 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22735
22736 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22737 console, not GDB.
22738 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22739 cross testing works better with "make check"
22740 * config/unix-gdb: Use default procedures for exit and version.
22741 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22742 with the newest VxWorks.
22743
22744 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22745
22746 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22747 old form.
22748
22749 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22750 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22751
22752 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22753
22754 * config/unix-gdb.exp: Remove this version of gdb_exit
22755 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22756 Rob says he'll look at it when he gets back to testing boards.
22757
22758 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22759
22760 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22761 an expected fail for certain ptype commands.
22762
22763 * gdb.t20/classes.exp: Update expected results of "ptype class
22764 Base1" to account for the constructor that now appears in the type.
22765
22766 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22767
22768 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22769 disappeared from list.
22770 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22771 "alldone" proc with call to cleanup and exit.
22772 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22773 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22774 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22775 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22776 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22777 "alldone" proc with simple returns that suppress remaining
22778 tests. The alldone proc went away many months ago.
22779
22780 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22781
22782 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22783
22784 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22785
22786 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22787
22788 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22789 as vax gdb will display them.
22790
22791 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22792
22793 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22794 optimizers.
22795
22796 * scope.exp: Change "bad value for localval" messages so each one
22797 is unique.
22798
22799 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22800 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22801
22802 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22803
22804 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22805
22806 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22807 doesn't exist (due to optimization).
22808
22809 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22810
22811 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22812 contains \r because the filename is long.
22813
22814 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22815 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22816
22817 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22818
22819 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22820 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22821 Ultrix.
22822 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22823 int tests.
22824 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22825
22826 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22827
22828 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22829
22830 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22831 to match does not match the passing case but still matches the
22832 failing case.
22833
22834 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22835
22836 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22837
22838 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22839
22840 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22841 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22842 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22843 Remove various versions of gdb_exit.
22844 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22845 gdb_exit.
22846 * config/unix-gdb.exp: gdb_exit remains here, and should override
22847 the generic version, since it's doing a lot of wierd stuff that
22848 the other versions aren't. FIXME, fold it in, or abandon this
22849 version.
22850
22851 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22852
22853 * gdb.t24/demangle.exp: Add tests for PR 3220.
22854
22855 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22856
22857 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22858
22859 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22860
22861 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22862 "i386-*-*". Works for i486 as well.
22863
22864 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22865 bug, and expand domain of xfail to all SVR4 systems, since the
22866 actual problem is likely to be in generic SVR4 /proc support.
22867
22868 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22869
22870 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22871
22872 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22873
22874 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22875 xfails for other systems. Match a missing 'Continuing.' as an
22876 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22877
22878 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22879 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22880 Only issue warning for missing executables if -all option is used.
22881
22882 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22883 file if -all option is used. It's like an unpredictable XFAIL.
22884
22885 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22886
22887 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22888 for dynamically linked binaries.
22889
22890 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22891
22892 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22893
22894 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22895 to state that this is a known bug in old versions of g++.
22896
22897 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22898
22899 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22900 while waiting for `Continuing'.
22901
22902 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22903
22904 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22905 in text, data, and bss.
22906 * gdb.t10/nodebug.c: Add local and global test variables for
22907 initialized and uninitialized data.
22908
22909 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22910
22911 * config/unix-gdb.exp (gdb_exit): Add "wait".
22912
22913 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22914
22915 * gdb.t06/signals.exp: xfail the continue from the handler for all
22916 targets.
22917
22918 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22919 function with watchpoints enabled, the i386 call dummy starts with
22920 a call.
22921
22922 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22923 386 bsd names its corefiles.
22924
22925 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22926
22927 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22928 compilers don't grok it.
22929 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22930 with small octal ints rather than character constants, which
22931 are signed and might not fit if first promoted to int.
22932
22933 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22934
22935 * gdb.t09/Makefile.in (clean): Remove corefile.
22936
22937 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22938
22939 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22940
22941 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22942 and Jim Kingdon (kingdon@cygnus.com)
22943
22944 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22945 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22946 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22947
22948 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22949
22950 * gdb.t17/interrupt.exp: Add xfail for hppa.
22951
22952 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22953
22954 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22955 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22956 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22957 to determine signed-ness of bitfields and use the result to setup
22958 the xfail.
22959 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22960 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22961 call line is reached if necessary.
22962
22963 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22964
22965 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22966
22967 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22968
22969 * gdb.t06/break.exp: Also test `clear' command.
22970
22971 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22972
22973 * gdb.t00/teststrategy.exp: Remove extra quote.
22974
22975 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22976 watchpoint enabled to be for all non-68k machines.
22977
22978 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22979
22980 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22981
22982 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22983 targets use aout.mt instead of ecoff.mt as gas understands
22984 standard aout format.
22985
22986 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22987
22988 * lib/gdb.exp (runto): Don't insist that function we are running to
22989 was compiled with -g.
22990
22991 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22992
22993 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22994 to get back into the read system call.
22995 Accept leading newline in case where we woke it up.
22996
22997 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22998
22999 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23000 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23001 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23002 enable ecoff configuration.
23003
23004 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23005
23006 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23007
23008 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23009
23010 * gdb.t16/printcmds.exp: Add another printf test.
23011
23012 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23013
23014 * configure.in: If configured -with-stabs on any target, add
23015 stabsdirs to configdirs.
23016
23017 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23018
23019 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23020 fun" so pattern does not match the command itself.
23021
23022 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23023
23024 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23025
23026 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23027
23028 * gdb.t17/interrupt.exp: Test for more things.
23029
23030 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23031
23032 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23033 compiler arranges the code and line numbers.
23034
23035 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23036
23037 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23038
23039 * gdb.t00/help.exp: Increase expect input buffer size.
23040
23041 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23042
23043 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23044
23045 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23046
23047 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23048
23049 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23050 [0-9]*, not just [0-9].
23051
23052 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23053
23054 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23055
23056 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23057
23058 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23059
23060 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23061
23062 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23063
23064 * gdb.t06/signals.c: Add xfails for sun3.
23065
23066 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23067
23068 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23069 test_stepping tests.
23070
23071 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23072
23073 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23074
23075 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23076
23077 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23078 rather than actually putting it through cpp twice.
23079
23080 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23081
23082 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23083
23084 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23085 no longer needed.
23086
23087 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23088
23089 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23090
23091 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23092 C++ features prints as "struct", make it a pass, not an xfail.
23093
23094 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23095
23096 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23097 Don't require VA to print as "class" rather than "struct".
23098
23099 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23100
23101 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23102
23103 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23104
23105 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23106
23107 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23108
23109 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23110 order.
23111
23112 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23113
23114 * gdb.t16/printcmds.exp: Add printf tests.
23115
23116 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23117
23118 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23119
23120 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23121
23122 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23123 pass counts, to counteract any existing or future setup_xfails.
23124
23125 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23126
23127 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23128 {BEGIN,END}_COMMON for common block instead of STAB.
23129 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23130
23131 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23132 intp_var should be N_GSYM not N_LSYM.
23133 wierd-aout.S: Use a label for the value of the N_SO.
23134 wierd.def: Remove all backslashes.
23135 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23136
23137 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23138
23139 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23140 get the expected next to inheritance3.
23141
23142 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23143
23144 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23145 now that gcc-2.4 gets it right.
23146
23147 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23148
23149 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23150
23151 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23152 generating comp-info.exp which works for cross-compilation.
23153
23154 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23155
23156 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23157 "*-*-sysv4.*".
23158
23159 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23160
23161 * gdb.t01/run.exp: Start with a fresh gdb.
23162 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23163 SVR4.x.
23164
23165 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23166
23167 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23168 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23169 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23170 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23171 things to remove.
23172
23173 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23174
23175 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23176 test cases from bug reports.
23177
23178 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23179
23180 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23181 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23182 avoid spurious xfails.
23183 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23184 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23185 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23186
23187 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23188
23189 * gdb.t00/teststrategy.exp: Rework to provide more useful
23190 description of each test, fix problem with systems that define
23191 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23192 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23193 results for "next over recursive call" so timeouts aren't taken
23194 by error.
23195
23196 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23197
23198 * gdb.t12/scope.exp: Test printing of variables before run.
23199
23200 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23201 printed in wrong order due to sorting.
23202
23203 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23204
23205 * gdb.t00/teststrategy.exp: Fix expected results for printing
23206 user entered string constant. Is array of char, prints with no
23207 address.
23208
23209 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23210 commands.
23211 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23212 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23213 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23214 of struct of char arrays.
23215 * gdb.t00/radix.exp: New tests for radix commands.
23216
23217 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23218
23219 * gdb.t16/printcmd.exp: Print a variable before running program
23220 (with xfail for AIX).
23221
23222 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23223
23224 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23225
23226 * gdb.t16/printcmd.exp: Don't print variables before running program.
23227
23228 * gdb.t06/break.exp: Don't require envp argument to main.
23229
23230 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23231
23232 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23233 Add xfails for rs6000.
23234
23235 * gdb.t02/whatis.exp: Change other tests not to re-test something
23236 we already tested.
23237
23238 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23239 each type used has a variable of that type.
23240
23241 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23242
23243 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23244
23245 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23246
23247 * configure.in: change srctrigger to be a file, not a directory
23248
23249 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23250
23251 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23252
23253 * gdb.t11/list.exp: Fixed a couple of typos.
23254
23255 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23256
23257 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23258 is fixed and PR is closed.
23259 * gdb.t16 (gdbme.c): Add simple test string variable.
23260 * gdb.t16 (printcmds.exp): Add tests with simple test string
23261 variable, primarily for boundaries on "set print elements".
23262
23263 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23264
23265 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23266 Make leading 0's optional and don't expect a tab in the middle
23267 of the number.
23268
23269 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23270
23271 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23272 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23273 don't end command passed to gdb_test with newline.
23274
23275 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23276 signed keyword away, don't expect signed bitfields to be signed.
23277
23278 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23279 printing with only as many 1's as are in the field as well as printing
23280 with 32 1's (see comment).
23281
23282 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23283
23284 * gdb.t00/default.exp: Start with a fresh gdb.
23285 * configure.in (configdirs): Remove gdb.t31 until the chill
23286 compiler works again. It no longer is able to find chillrt0
23287 since it isn't in libchill.a anymore.
23288 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23289 wierd.o, make more modular.
23290 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23291 spurious newlines that caused problems.
23292
23293 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23294
23295 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23296 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23297 gdb.stabs/wierd.{exp,def}: Many new tests.
23298
23299 * gdb.t00/default.exp: update info line for new message.
23300
23301 * gdb.t02/{whatis.exp,gdbme.c}:
23302 Test that "char *" doesn't print as "caddr_t".
23303
23304 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23305
23306 * gdb.t00/help.exp: Use .* in place of some help messages which
23307 just changed.
23308 gdb.t00/default.exp: Update "info frame" test for new message.
23309 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23310 Remove some xfails
23311
23312 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23313
23314 * gdb.t03/{gdbme.c,ptype.exp}:
23315 Add tests for typedef'd struct and union without tags.
23316 Also check "whatis" on a variable of a typedef'd enum without a tag.
23317
23318 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23319 PRMS 1823; the bug still exists but isn't reproduced by this test
23320 anymore), and remove rs6000 XFAIL (the bug is fixed).
23321
23322 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23323 duplicated from whatis.exp. For those that are left, accept
23324 "long", "long int", or "int" for long variables (whatis.exp already
23325 has an XFAIL for "int", so no need to fail it here).
23326
23327 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23328 Deal with GCC's names for types now that GDB uses the compiler's names.
23329
23330 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23331 setup_xfail's for sunos4. If we #defined the signed keyword away,
23332 don't expect GDB to know that char it is signed.
23333
23334 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23335
23336 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23337
23338 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23339 should work on any system, regardless of debugging format.
23340 * gdb.t21/demangle.exp: Move to gdb.t24.
23341 * gdb.t24/demangle.exp: Move from gdb.t21.
23342 * gdb.t24/{Makefile.in, configure.in}: New files.
23343
23344 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23345
23346 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23347 * gdb.stabs: New directory.
23348
23349 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23350
23351 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23352 not just "Quit anyway?".
23353
23354 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23355
23356 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23357 that all setup_xfails are immediately followed by clear_xfails.
23358
23359 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23360
23361 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23362 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23363 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23364 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23365 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23366 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23367 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23368 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23369 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23370 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23371 gdb.t31/chillvars.exp, lib/gdb.exp:
23372 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23373 bug-gdb@prep.ai.mit.edu.
23374
23375 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23376
23377 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23378 with 0.0, not integer 0.
23379
23380 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23381
23382 * gdb.t06/break.exp: Update for "Kill the program" message change.
23383
23384 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23385
23386 * Makefile.in (GDBFLAGS): Set to -nx.
23387 * Makefile.in (site.exp): Use GDBFLAGS.
23388
23389 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23390
23391 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23392 Makefiles.
23393 (check): depend on just-check.
23394 (just-check): added so that tests can be run without a noop
23395 build pass.
23396
23397 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23398
23399 Switch to using configure's configdirs.
23400 * Makefile.in (Makefile): add configure.in dependency.
23401 (SUBDIRS): removed redundant assignment.
23402 * configure.in: switch subdirs assignment to configdirs.
23403 * gdb.t*/configure.in: new files.
23404
23405 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23406
23407 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23408 works.
23409
23410 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23411
23412 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23413 in explicit rules. Apparently this is not supported by some makes.
23414
23415 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23416
23417 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23418
23419 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23420
23421 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23422 disappeared.
23423
23424 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23425
23426 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23427
23428 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23429
23430 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23431 watchpoint problem that is now fixed.
23432 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23433 uninitialized convenience variables.
23434 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23435 structures.
23436
23437 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23438
23439 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23440 which causes expect to get out of sync with gdb on long output
23441 from help set.
23442 * gdb.t09/corefile.exp: Make expected pattern for core file
23443 failing signal and frame output format less sun specific.
23444
23445 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23446
23447 * gdb.t31/chillvars.exp: Add and remove initial dummy
23448 breakpoint, so that symbol table is forced in.
23449 (Needed at least on Sunos4, though it seems not SVR4.)
23450 * gdb.t31/chillvars.exp: Update for changed output format.
23451
23452 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23453
23454 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23455
23456 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23457
23458 * Makefile.in: Added --srcdir when invoking runtest, removed the
23459 need for a local config file. (optional now)
23460
23461 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23462
23463 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23464 failure count used to force early termination. Add some more
23465 expected failures for gnu style demangling.
23466
23467 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23468
23469 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23470 pmi variable from gdb.t20/gdbme to get optimized away.
23471 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23472 Check for written corefile upon timeout _and_ eof.
23473
23474 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23475
23476 * config/unix-gdb.exp: Add missing return 0.
23477
23478 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23479
23480 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23481 test termination.
23482
23483 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23484
23485 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23486 disappeared.
23487
23488 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23489
23490 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23491 time as i860 support works.
23492
23493 * gdb.t15/funcargs.exp: Fix expected outputs to include
23494 "backtrace 100\r" rather than just "backtrace\r", to match last
23495 change.
23496
23497 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23498
23499 * config/udi-gdb.exp (gdb_exit): Remove close command.
23500 (gdb_target_udi): New procedure to set the UDI target.
23501 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23502 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23503 Added waits for prompts after several question responses. Added
23504 some more responses used by a29k-amd-udi-gdb.
23505 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23506 pass different arguments, restart UDI connection after program
23507 completion.
23508 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23509 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23510 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23511 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23512 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23513 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23514 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23515 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23516 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23517 after program completion.
23518 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23519 compiled with a SELECT_VECS setting.
23520 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23521 infinite recursion.
23522
23523 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23524 Added checks for COFF results, and made them expected failures for
23525 all targets. It would be better to make them expected failures
23526 for COFF targets only.
23527
23528 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23529
23530 * Makefile.in: add null dvi target, don't bother to recurse
23531 through test directories for info and install-info; rename
23532 $(datadir) to be dejagnu instead of deja-gnu
23533
23534 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23535
23536 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23537 compiler to coredump.
23538 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23539 code.
23540
23541 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23542
23543 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23544 coredump.
23545 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23546 code.
23547
23548 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23549
23550 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23551 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23552 which in a shell. Deletes xgdb when done.
23553 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23554 Tests the return from the "set height" or "set width" commands.
23555 Added a few return codes where needed.
23556
23557 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23558
23559 * Makefile.in (SUBDIRS): Add gdb.t17.
23560 * configure.in (subdirs): Add gdb.t17.
23561 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23562 files to test gdb's calling of functions in the inferior with
23563 the correct arguments and gdb's ability to retrieve any
23564 result returned.
23565
23566 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23567
23568 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23569 may be called after gdb goes away. Previous versions of expect
23570 needed these to avoid file descriptor leaks, but they cause
23571 errors with the current revision of expect.
23572 * gdb.t00/gdbvars.exp: Use -re on expected output after
23573 setting sevenbit-strings.
23574 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23575 to set sevenbit-strings consistent across tests.
23576 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23577 set sevenbit-strings consistent across tests.
23578
23579 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23580
23581 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23582 expected output to match current "expect" expectations.
23583
23584 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23585
23586 * gdb.t00/default.exp: Change expected output for default "source"
23587 command, to match new gdb behavior which requires a filename to
23588 source.
23589
23590 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23591
23592 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23593 expected fail for i486-*-* that misses the marker2 function.
23594 * gdb.t10/crossload.exp (bfddefault): Allow successful
23595 recognition of a format to pass even if no symbols are found.
23596 Explicitly catch failures where the format is not recognized
23597 or is ambiguous, and add the reason to the fail message.
23598 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23599 the cause is and invalid target and add reason to failure message.
23600 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23601 elf32-i386, elf32-sparc, and elf32-i860.
23602 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23603 Set up expected failure for 'filename'::variable scope resolution,
23604 which is now apparently broken on all targets.
23605 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23606 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23607 gdb.t23/templates.exp: Change failure for missing binfile into
23608 just a warning.
23609 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23610 references.
23611
23612 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23613
23614 * gdb.t00/default.exp: Add expected output for default "source"
23615 command, to match new gdb behavior.
23616 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23617
23618 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23619
23620 * config/*-gdb.exp: returns an error, rather than exiting on
23621 internal errors.
23622
23623 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23624
23625 * gdb.t03/gdbme.c: Add pointer to struct variable.
23626 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23627 referencing struct members.
23628
23629 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23630
23631 * configure.in (mips-idt-ecoff): New target.
23632 * config/mips-gdb.exp: New file for remote board using MIPS remote
23633 debugging protocol.
23634
23635 * Redid configuration scheme. Removed gdb.t*/configure.in.
23636 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23637 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23638 distclean targets. Built executables via .o files. Adjusted
23639 tests to account for source files in $(srcdir) rather than
23640 $(objdir).
23641 * lib/gdb.exp (runto): Don't expect () after the function name,
23642 because it may have arguments.
23643
23644 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23645
23646 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23647 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23648 expected failures for mips-idt-* and mips-sgi-*.
23649 * gdb.t00/default.exp (attach): Kill process if requested.
23650 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23651 that does not read core files.
23652 * gdb.t01/run.exp: Removed checks for exit status code.
23653 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23654 it is linked in.
23655 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23656 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23657 appropriate, rather than doing it by hand.
23658 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23659 execution.
23660 * gdb.t10/crossload.exp: Kill existing program if needed.
23661 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23662 appropriate, rather than doing it by hand. Always increase
23663 timeout for this test, not just for VxWorks.
23664
23665 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23666
23667 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23668 of Chill STRUCT types and STRUCT values.
23669 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23670 than "char".
23671 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23672 struct2): New struct definitions and initializations to test
23673 simple Chill STRUCT types.
23674
23675 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23676
23677 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23678 the null byte at the end of strings.
23679 * gdb.t00/default.exp: Make show version insensitive to copyright
23680 date.
23681 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23682 to avoid dependencies on target char signedness.
23683 * gdb.t16/printcmds.exp: Update expected results for explicitly
23684 unsigned char.
23685 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23686 now work.
23687 * gdb.t21/demangle.exp: Add many more patterns for template
23688 demangling, most of them being expected failures.
23689 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23690 string we are matching for, to match on the whole string.
23691 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23692 and fix a whole bunch that had incorrect expected output but were
23693 passing anyway because of the bug in "proc demangle".
23694 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23695 type.
23696 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23697
23698 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23699
23700 * gdb/testsuite: made modifications to testcases, etc., to allow
23701 them to work properly given the reorganization of deja-gnu and the
23702 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23703
23704 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23705
23706 * gdb/testsuite: Initial creation of gdb/testsuite.
23707 Migrated dejagnu testcases and support files for testing nm to
23708 gdb/testsuite from deja-gnu. These files were moved "as is"
23709 with no modifications. This migration is part of a major overhaul
23710 of dejagnu. The modifications to these testcases, etc., which
23711 will allow them to work with the new version of dejagnu will be
23712 made in a future update.
23713
23714 For additional changes see gdb.mi/ChangeLog-1999-2003.
23715 \f
23716 ;; Local Variables:
23717 ;; mode: change-log
23718 ;; left-margin: 8
23719 ;; fill-column: 74
23720 ;; version-control: never
23721 ;; End:
23722
23723 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23724 2003, 2004, 2005 Free Software Foundation, Inc.
23725 Copying and distribution of this file, with or without modification,
23726 are permitted provided the copyright notice and this notice are preserved.
This page took 0.560258 seconds and 4 git commands to generate.