Add gdb.lookup_global_symbol python function.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-02-22 Doug Evans <dje@google.com>
2
3 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
4
5 2011-02-22 Michael Snyder <msnyder@vmware.com>
6
7 * Makefile.in: Make more clean.
8 * gdb.ada/Makefile.in: Ditto.
9 * gdb.arch/Makefile.in: Ditto.
10 * gdb.asm/Makefile.in: Ditto.
11 * gdb.base/Makefile.in: Ditto.
12 * gdb.cp/Makefile.in: Ditto.
13 * gdb.dwarf2/Makefile.in: Ditto.
14 * gdb.java/Makefile.in: Ditto.
15 * gdb.mi/Makefile.in: Ditto.
16 * gdb.modula2/Makefile.in: Ditto.
17 * gdb.python/Makefile.in: Ditto.
18 * gdb.server/Makefile.in: Ditto.
19 * gdb.stabs/Makefile.in: Ditto.
20 * gdb.threads/Makefile.in: Ditto.
21 * gdb.trace/Makefile.in: Ditto.
22
23 2011-02-22 Michael Snyder <msnyder@vmware.com>
24
25 * gdb.threads/thread-find.exp: Add tests for bad input to
26 info threads.
27
28 2011-02-22 Joel Brobecker <brobecker@adacore.com>
29
30 * gdb.python/py-breakpoint.exp: Fix the expected output of
31 one of the "maint info breakpoints" tests to accept the output
32 generated on platforms that do not have hardware watchpoints.
33
34 2011-02-22 Joel Brobecker <brobecker@adacore.com>
35
36 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
37 clean_restart. Be a little stricter in the expected output
38 for one of the tests. Fix a typo in one of the comments.
39
40 2011-02-22 Joel Brobecker <brobecker@adacore.com>
41
42 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
43 Delete variable binfile, no longer use. Add or modify test
44 comments to make them unique.
45
46 2011-02-21 Michael Snyder <msnyder@vmware.com>
47
48 * Makefile.in: Update for make clean.
49 * gdb.ada/Makefile.in: Ditto.
50 * gdb.arch/Makefile.in: Ditto.
51 * gdb.asm/Makefile.in: Ditto.
52 * gdb.base/Makefile.in: Ditto.
53 * gdb.cp/Makefile.in: Ditto.
54 * gdb.dwarf2/Makefile.in: Ditto.
55 * gdb.java/Makefile.in: Ditto.
56 * gdb.mi/Makefile.in: Ditto.
57 * gdb.modula2/Makefile.in: Ditto.
58 * gdb.python/Makefile.in: Ditto.
59 * gdb.server/Makefile.in: Ditto.
60 * gdb.stabs/Makefile.in: Ditto.
61 * gdb.threads/Makefile.in: Ditto.
62 * gdb.trace/Makefile.in: Ditto.
63
64 2011-02-21 Michael Snyder <msnyder@vmware.com>
65
66 * gdb.threads/thread-find.exp: Update patterns for changes in
67 output of "info threads" command.
68
69 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
70 Ulrich Weigand <uweigand@de.ibm.com>
71
72 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
73 (skip_hw_watchpoint_tests): Likewise.
74 (skip_hw_watchpoint_multi_tests): Likewise.
75
76 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
77
78 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
79 (skip_hw_watchpoint_tests): Likewise.
80 (skip_hw_watchpoint_multi_tests): Likewise.
81 (skip_hw_watchpoint_access_tests): Likewise.
82
83 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
84 * gdb.base/pr11022.exp: Likewise.
85 * gdb.base/watch-read.exp: Likewise.
86 * gdb.base/watch_thread_num.exp: Likewise.
87 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
88 * gdb.base/watchpoint-hw.exp: Likewise.
89 * gdb.base/watchpoint.exp: Likewise.
90 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
91 * gdb.threads/watchthreads-reorder.exp: Likewise.
92 * gdb.threads/watchthreads.exp: Likewise.
93 * gdb.threads/watchthreads2.exp: Likewise.
94
95 2011-02-21 Joel Brobecker <brobecker@adacore.com>
96
97 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
98 the debugger is unable to find the array bounds.
99
100 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
101
102 * gdb.cp/typedef-operator.exp: New file.
103 * gdb.cp/typedef-operator.cc: New file.
104
105 2011-02-17 Michael Snyder <msnyder@vmware.com>
106
107 * gdb.threads/thread-find.exp: Fix regular expressions.
108
109 2011-02-17 Joel Brobecker <brobecker@adacore.com>
110
111 * gdb.ada/packed_array: Expand testcase to test printing of
112 unconstrained packed array.
113
114 2011-02-17 Joel Brobecker <brobecker@adacore.com>
115
116 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
117
118 2011-02-16 Pedro Alves <pedro@codesourcery.com>
119
120 * gdb.trace/collection.c (globalarr3): New global.
121 (main): Initialize it before collecting, and and clear it
122 afterwards.
123 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
124 collecting with '{type} addr', where the addr expression is not an
125 rvalue.
126
127 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
128
129 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
130 a bool variable. Expect correct OpenCL names for vector types. Use the
131 uc3 variable name instead of referring to the uchar3 built-in type.
132 Escape the asterisk at the half pointer test.
133
134 2011-02-16 Pedro Alves <pedro@codesourcery.com>
135
136 * gdb.trace/collection.c (globalarr2): New global.
137 (main): Initialize it before collecting, and and clear it
138 afterwards.
139 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
140 collecting overlapping memory ranges.
141
142 2011-02-15 Michael Snyder <msnyder@vmware.com>
143
144 * gdb.base/default.exp: Add tests for thread commands.
145 * gdb.base/help.exp: Add tests for thread commands.
146 * gdb.threads/thread-find.exp: New test for thread find command.
147
148 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
149
150 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
151
152 2011-02-15 Yao Qi <yao@codesourcery.com>
153
154 PR tdep/12352
155 * gdb.arch/arm-disp-step.S : New test for str instruction.
156 * gdb.arch/arm-disp-step.exp : Likewise.
157
158 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
159
160 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
161 "vector_register2_vr" test strings. Test the extended floating
162 point registers (F32~F63).
163 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
164 IBM XL C compiler. Make the test program use a register provided
165 by the compiler for the lxvd2x instruction.
166
167 2011-02-14 Pedro Alves <pedro@codesourcery.com>
168
169 * gdb.trace/unavailable.cc (class Base, class Middle, class
170 Derived): New types.
171 (derived_unavail, derived_partial, derived_whole): New globals.
172 (virtual_partial): New global.
173 (virtualp): Point at virtual_partial.
174 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
175 related to unavailable vptr.
176
177 2011-02-14 Pedro Alves <pedro@codesourcery.com>
178
179 * gdb.trace/unavailable.cc (a, b, c): New globals.
180 (main): Set and clear them.
181 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
182 `a' and `c', and check that `b' isn't collected, although `a' and
183 `c' are.
184
185 2011-02-14 Pedro Alves <pedro@codesourcery.com>
186
187 * gdb.trace/unavailable.cc (struct Virtual): New.
188 (virtualp): New global pointer.
189 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
190 printing a pointer to an object whose type has a vtable, with
191 print object on.
192
193 2011-02-14 Pedro Alves <pedro@codesourcery.com>
194
195 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
196 value repeat handles unavailableness.
197
198 2011-02-14 Pedro Alves <pedro@codesourcery.com>
199
200 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
201 tests for building arrays from unavailable values, subscripting
202 non-memory rvalue unvailable arrays, and accessing fields or
203 baseclasses of non-lazy unavailable values,
204 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
205 struct types.
206 (g_smallstruct, g_smallstruct_b): New globals.
207
208 2011-02-14 Pedro Alves <pedro@codesourcery.com>
209
210 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
211
212 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
213
214 Fix const/volatile qualifiers of C++ types, PR c++/12328.
215 * gdb.cp/overload-const.exp: New file.
216 * gdb.cp/overload-const.cc: New file.
217
218 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
219
220 * gdb.opencl/callfuncs.cl: New file.
221 * gdb.opencl/callfuncs.exp: New test.
222 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
223
224 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
225
226 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
227 when computing result.
228 * gdb.arch/altivec-abi.exp: Update expected results.
229
230 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
231
232 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
233 * gdb.base/jit.exp: Likewise.
234 * gdb.base/pie-execl.exp: Likewise.
235 * gdb.base/solib-nodir.exp: Likewise.
236 * gdb.base/solib-overlap.exp: Likewise.
237
238 2011-02-07 Pedro Alves <pedro@codesourcery.com>
239
240 * gdb.trace/collection.c (global_pieces): New.
241 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
242 New procedure.
243 (gdb_trace_collection_test): Call it.
244
245 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
246
247 * gdb.python/py-evthreads.c: New file.
248 * gdb.python/py-evthreads.exp: New file.
249 * gdb.python/py-events.py: New file.
250 * gdb.python/py-events.exp: New file.
251 * gdb.python/py-events.c: New file.
252
253 2011-02-04 David Daney <ddaney@caviumnetworks.com>
254
255 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
256
257 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
258
259 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
260 gdb.base/disasm-end-cu.exp: New test for disassembling over the
261 boundary between two compilation units.
262
263 2011-02-02 Pedro Alves <pedro@codesourcery.com>
264
265 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
266 (Virtual): New structs.
267 (virtual_o, virtual_middle_b): New globals.
268 * gdb.cp/virtbase.exp: New tests.
269
270 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
271
272 * gdb.base/jit.exp: New file.
273 * gdb.base/jit-main.c: New file.
274 * gdb.base/jit-solib.c: New file.
275
276 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
277
278 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
279 proceed to initial kernel entry point.
280 * gdb.opencl/datatypes.exp: Likewise.
281 * gdb.opencl/operators.exp: Likewise.
282 * gdb.opencl/vec_comps.exp: Likewise.
283
284 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
285
286 * gdb.cp/nsnested.cc: New.
287 * gdb.cp/nsnested.exp: New.
288 * gdb.cp/nsnoimports.exp: New.
289 * gdb.cp/nsnoimports.cc: New.
290
291 2011-01-31 Joel Brobecker <brobecker@adacore.com>
292
293 * gdb.base/interact.exp: Add extra tests that verify that
294 the value of the interactive-mode setting does not change
295 after the script is sourced.
296
297 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
298
299 * gdb.cp/noparam.exp: New file.
300 * gdb.cp/noparam.cc: New file.
301
302 2011-01-28 Pedro Alves <pedro@codesourcery.com>
303
304 * gdb.trace/tfile.exp: Test that with no traceframe selected,
305 there's no stack or registers.
306
307 2011-01-26 Tom Tromey <tromey@redhat.com>
308
309 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
310 space before string output. Add test for "set print pretty off"
311 case.
312
313 2011-01-25 Pedro Alves <pedro@codesourcery.com>
314
315 * gdb.base/frame-args.exp: Adjust.
316 * gdb.dwarf2/dw2-noloc.exp: Adjust.
317 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
318 * gdb.dwarf2/pieces.exp: Adjust.
319 * gdb.opt/clobbered-registers-O2.exp: Adjust.
320 * gdb.opt/inline-locals.exp: Adjust.
321 * gdb.threads/fork-child-threads.exp: Adjust.
322
323 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
324
325 * gdb.opencl/convs_casts.cl: Move program scope variables into the
326 OpenCL kernel function. Add a comment as marker. Add address space
327 qualifiers for the remaining program scope variables.
328 * gdb.opencl/datatypes.cl: Likewise.
329 * gdb.opencl/operators.cl: Likewise.
330 * gdb.opencl/vec_comps.cl: Likewise.
331 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
332 Add breakpoint at the marker comment.
333 * gdb.opencl/datatypes.exp: Likewise.
334 * gdb.opencl/operators.exp: Likewise.
335 * gdb.opencl/vec_comps.exp: Likewise.
336
337 2011-01-24 Pedro Alves <pedro@codesourcery.com>
338
339 * gdb.base/printcmds.c (some_struct): New struct and instance.
340 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
341 procedure.
342 <global scope>: Call it.
343
344 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
345
346 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
347 argument to the gdb_compile_opencl_hostapp call.
348
349 2011-01-19 Yao Qi <yao@codesourcery.com>
350
351 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
352 positve list.
353
354 2011-01-19 Yao Qi <yao@codesourcery.com>
355
356 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
357 canonical form.
358 Remove "xscale-*-*"
359 * gdb.xml/tdesc-regs.exp: Likewise.
360 * gdb.python/py-section-script.exp: Replace ARM target triplet
361 with canonical form.
362 Match arm*-*-symbianelf*.
363 * gdb.base/dup-sect.exp: Likewise.
364 * lib/dwarf.exp: New.
365 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
366 dwarf2_support.
367 * gdb.dwarf2/dup-psym.exp: Likewise.
368 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
369 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
370 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
371 * gdb.dwarf2/dw2-basic.exp: Likewise.
372 * gdb.dwarf2/dw2-compressed.exp: Likewise.
373 * gdb.dwarf2/dw2-const.exp: Likewise.
374 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
375 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
376 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
377 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
378 * gdb.dwarf2/dw2-filename.exp: Likewise.
379 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
380 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
381 * gdb.dwarf2/dw2-intercu.exp: Likewise.
382 * gdb.dwarf2/dw2-intermix.exp: Likewise.
383 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
384 * gdb.dwarf2/dw2-noloc.exp: Likewise.
385 * gdb.dwarf2/dw2-op-call.exp: Likewise.
386 * gdb.dwarf2/dw2-producer.exp: Likewise.
387 * gdb.dwarf2/dw2-ranges.exp: Likewise.
388 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
389 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
390 * gdb.dwarf2/dw2-strp.exp: Likewise.
391 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
392 * gdb.dwarf2/implptr.exp: Likewise.
393 * gdb.dwarf2/mac-fileno.exp: Likewise.
394 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
395 * gdb.dwarf2/pieces.exp: Likewise.
396 * gdb.dwarf2/pr11465.exp: Likewise.
397 * gdb.dwarf2/valop.exp: Likewise.
398 * gdb.dwarf2/watch-notconst.exp: Likewise.
399 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
400
401 2011-01-19 Tom Tromey <tromey@redhat.com>
402
403 * gdb.python/py-infthread.exp: Add thread tests.
404
405 2011-01-14 Joel Brobecker <brobecker@adacore.com>
406
407 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
408
409 2011-01-14 Joel Brobecker <brobecker@adacore.com>
410
411 * gdb.ada/widewide: New testcase.
412
413 2011-01-13 Joel Brobecker <brobecker@adacore.com>
414
415 * gdb.base/interact.exp: New testcase.
416
417 2011-01-12 Tom Tromey <tromey@redhat.com>
418
419 * gdb.mi/gdb2549.exp: Update for error message changes.
420 * gdb.mi/mi-cli.exp: Likewise.
421 * gdb.mi/mi-disassemble.exp: Likewise.
422 * gdb.mi/mi-pthreads.exp: Likewise.
423 * gdb.mi/mi-regs.exp: Likewise.
424 * gdb.mi/mi-stack.exp: Likewise.
425 * gdb.mi/mi-var-block.exp: Likewise.
426 * gdb.mi/mi-var-cmd.exp: Likewise.
427 * gdb.mi/mi2-cli.exp: Likewise.
428 * gdb.mi/mi2-disassemble.exp: Likewise.
429 * gdb.mi/mi2-pthreads.exp: Likewise.
430 * gdb.mi/mi2-regs.exp: Likewise.
431 * gdb.mi/mi2-stack.exp: Likewise.
432 * gdb.mi/mi2-var-block.exp: Likewise.
433 * gdb.mi/mi2-var-cmd.exp: Likewise.
434
435 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
436 Jan Kratochvil <jan.kratochvil@redhat.com>
437
438 PR fortran/11104 and DWARF unbound arrays detection.
439 * gdb.fortran/multi-dim.exp: New file.
440 * gdb.fortran/multi-dim.f90: New file.
441
442 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
443
444 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
445 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
446 add new tests for opcode dumping.
447
448 2011-01-11 Tom Tromey <tromey@redhat.com>
449
450 * gdb.python/py-infthread.exp: Load gdb-python.exp.
451
452 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
453
454 Convert hardware watchpoints to use breakpoint_ops.
455 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
456 type is not supported.
457 * gdb.base/foll-fork.exp: Likewise.
458 * gdb.base/foll-vfork.exp: Likewise.
459
460 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
461
462 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
463 Use load_lib gdb-python.exp.
464 * gdb.python/python.exp: Ditto.
465 * gdb.python/py-function.exp: Ditto.
466
467 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
468
469 * gdb.threads/tls.exp ("info address me"): Fix expected output.
470
471 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
472
473 * configure: Regenerate.
474
475 2011-01-06 Tom Tromey <tromey@redhat.com>
476
477 * gdb.python/py-frame.exp: Test gdb.newest_frame.
478
479 2011-01-06 Joel Brobecker <brobecker@adacore.com>
480
481 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
482 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
483 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
484 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
485 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
486 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
487 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
488 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
489 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
490 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
491 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
492 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
493 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
494 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
495 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
496 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
497 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
498 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
499 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
500 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
501 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
502 gdb.ada/uninitialized_vars.exp,
503 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
504 Simplify by using clean_restart.
505
506 2011-01-06 Joel Brobecker <brobecker@adacore.com>
507
508 Add marker to be used as anchor for inserting breakpoints.
509 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
510 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
511 Likewise.
512
513 Remove uses of gdb_start_cmd.
514 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
515 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
516
517 Do not run testcase if testing with GDBserver.
518 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
519 if testing with GDBserver.
520
521 2011-01-06 Joel Brobecker <brobecker@adacore.com>
522
523 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
524 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
525 copyright header.
526
527 2011-01-05 Joel Brobecker <brobecker@adacore.com>
528
529 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
530 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
531 testsuite/gdb.fortran/complex.f,
532 testsuite/gdb.fortran/derived-type.f90,
533 testsuite/gdb.fortran/library-module-lib.f90,
534 testsuite/gdb.fortran/library-module-main.f90,
535 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
536 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
537 Copyright year update.
538
539 2011-01-05 Joel Brobecker <brobecker@adacore.com>
540
541 * gdb.base/langs1.f: Add copyright header.
542
543 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
544
545 * gdb.base/morestack.exp: New file.
546 * gdb.base/morestack.c: New file.
547
548 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
549
550 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
551
552 2010-12-29 Joel Brobecker <brobecker@adacore.com>
553
554 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
555 * gdb.ada/arrayptr.exp: Add test printing that new variable.
556
557 2010-12-29 Joel Brobecker <brobecker@adacore.com>
558
559 * gdb.ada/lang_switch.exp: Correct expected parameter value.
560
561 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
562
563 * gdb.threads/tls.exp: Fix typo.
564
565 * gdb.threads/thread-specific.exp (get_thread_list): Update.
566 * gdb.threads/execl.exp: Update.
567
568 2010-12-23 Yao Qi <yao@codesourcery.com>
569
570 * gdb.arch/arm-disp-step.exp: New.
571 * gdb.arch/arm-disp-step.S: New.
572
573 2010-12-21 Tom Tromey <tromey@redhat.com>
574
575 * gdb.threads/execl.exp: Update.
576 * gdb.threads/linux-dp.exp: Update.
577 * gdb.threads/manythreads.exp: Update.
578 * gdb.threads/tls.exp: Update.
579
580 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
581
582 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
583 (NextOverThrowDerivates) <resumebpt>: New.
584 (resumebpt_test): New.
585 (main): Call resumebpt_test.
586 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
587
588 2010-12-12 Stan Shebs <stan@codesourcery.com>
589
590 * gdb.trace/tsv.exp: Test print command on trace state variables.
591
592 2010-12-09 Tom Tromey <tromey@redhat.com>
593
594 * gdb.base/interp.exp: Add regression test.
595
596 2010-12-09 Tom Tromey <tromey@redhat.com>
597
598 * gdb.java/jnpe.java: New file.
599 * gdb.java/jnpe.exp: New file.
600 * gdb.cp/nextoverthrow.exp: New file.
601 * gdb.cp/nextoverthrow.cc: New file.
602
603 2010-12-07 Doug Evans <dje@google.com>
604
605 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
606 of data-directory.
607 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
608 updated.
609 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
610
611 2010-11-29 Michael Snyder <msnyder@vmware.com>
612
613 * gdb.base/callfuncs.exp: Test for skip_float_tests.
614 * gdb.base/call-sc.exp: Ditto.
615 * gdb.base/finish.exp: Ditto.
616 * gdb.base/return.exp: Ditto.
617 * gdb.base/return2.exp: Ditto.
618
619 2010-11-30 Doug Evans <dje@google.com>
620
621 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
622 (gdb_expect_list): Fix spelling errors in comments.
623 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
624 send_gdb/gdb_expect_list where applicable.
625 * gdb.base/call-ar-st.exp: Ditto.
626 * gdb.base/funcargs.exp: Ditto.
627 * gdb.base/gcore.exp: Ditto.
628 * gdb.base/page.exp: Ditto.
629 * gdb.base/sigaltstack.exp: Ditto.
630 * gdb.base/siginfo.exp: Ditto.
631 * gdb.base/sigstep.exp: Ditto.
632 * gdb.base/trace-commands.exp: Ditto.
633
634 2010-11-29 Doug Evans <dje@google.com>
635
636 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
637 printer-name;subprinter-name.
638
639 2010-11-29 Tom Tromey <tromey@redhat.com>
640
641 * gdb.dwarf2/implptr.exp: New file.
642 * gdb.dwarf2/implptr.c: New file.
643 * gdb.dwarf2/implptr.S: New file.
644
645 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
646
647 PR python/12199
648
649 * gdb.python/py-breakpoint.exp: Test the delete method.
650
651 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
652
653 Fix step_resume_breakpoint unsaved during an infcall.
654 * gdb.base/step-resume-infcall.exp: New file.
655 * gdb.base/step-resume-infcall.c: New file.
656
657 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
658
659 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
660
661 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
662
663 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
664 on ppc64's symbols; "finish" and "return" commands must accept to
665 show the caller line again as well as the line after.
666 * gdb.asm/powerpc64.inc: New file.
667
668 2010-11-23 Doug Evans <dje@google.com>
669
670 * lib/gdb.exp (gdb_test_sequence): New function.
671 (gdb_expect_list): Add verbose -log call for each pattern.
672 * gdb.base/signals.exp (test_handle_all_print): Call it.
673 Reduce timeout increment from 6 minutes to 1 minute.
674 * gdb.server/ext-run.exp: Call it.
675
676 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
677
678 PR python/12212
679
680 * gdb.python/python.exp: Check that selected_thread raises an
681 error when no inferior is loaded.
682
683 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
684
685 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
686 * gdb.dwarf2/dw2-stack-boundary.S: New file.
687
688 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
689
690 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
691 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
692
693 2010-11-18 Doug Evans <dje@google.com>
694
695 * gdb.server/ext-run.exp: Fix intermittent failures.
696
697 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
698
699 * gdb.stabs/gdb11479.exp: Use runto_main.
700
701 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
702
703 * gdb.base/break-entry.exp: Skip if using a stub.
704
705 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
706
707 * gdb.python/py-inferior.exp: Pack values in target endianness.
708
709 2010-11-12 Tom Tromey <tromey@redhat.com>
710
711 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
712 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
713 MemoryError.
714 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
715 type.
716 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
717 MemoryError.
718 (test_subscript_regression): Update exception type.
719
720 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
721
722 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
723 breakpoint tests.
724
725 2010-11-09 Pedro Alves <pedro@codesourcery.com>
726
727 * gdb.base/watchpoint.exp: Test "watch -location" with an
728 innacessible location.
729
730 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
731 Luis Machado <luisgpm@br.ibm.com>
732
733 * gdb.base/maint.exp: Expect "." prefix.
734 * gdb.base/nodebug.exp: Expect "." Likewise.
735 * gdb.base/sepsymtab.exp: Expect "." Likewise.
736 * gdb.base/watchpoint-cond-gone.exp: Likewise.
737 * gdb.base/watchpoint.exp: Expect a software watch to be created for
738 POWER server processors.
739
740 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
741 Luis Machado <luisgpm@br.ibm.com>
742
743 * gdb.base/break-entry.exp: convert entry point for
744 ppc64 and expect leading `.' on ppc64's symbols
745
746 2010-11-05 Doug Evans <dje@google.com>
747
748 * gdb.base/help.exp: Update expected output.
749 * gdb.python/py-param.exp: Delete, contents moved to ...
750 * gdb.python/py-parameter.exp: ... here. New file.
751 Add test for gdb.parameter ("directories").
752
753 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
754
755 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
756 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
757 * configure: Regenerate.
758 * gdb.opencl/Makefile.in: New File.
759 * gdb.opencl/datatypes.exp: Likewise.
760 * gdb.opencl/datatypes.cl: Likewise.
761 * gdb.opencl/operators.exp: Likewise.
762 * gdb.opencl/operators.cl: Likewise.
763 * gdb.opencl/vec_comps.exp: Likewise.
764 * gdb.opencl/vec_comps.cl: Likewise.
765 * gdb.opencl/convs_casts.exp: Likewise.
766 * gdb.opencl/convs_casts.cl: Likewise.
767 * lib/opencl.exp: Likewise.
768 * lib/opencl_hostapp.c: Likewise.
769 * lib/opencl_kernel.cl: Likewise.
770 * lib/cl_util.c: Likewise.
771 * lib/cl_util.c: Likewise.
772 * gdb.base/default.exp (set language): Add "opencl" to the list of
773 languages.
774
775 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
776
777 * gdb.cp/overload.exp: Added test for inheritance overload.
778 * gdb.cp/overload.cc: Ditto.
779 * gdb.cp/oranking.exp: Removed releveant kfails.
780
781 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
782 Joel Brobecker <brobecker@adacore.com>
783
784 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
785 check test_compiler_info.
786
787 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
788
789 * gdb.base/gnu_vector.exp: Adjust expect messages.
790
791 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
792
793 * gdb.base/gnu_vector.exp: Add unary operator tests.
794
795 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
796
797 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
798
799 2010-11-02 Doug Evans <dje@google.com>
800
801 * gdb.python/py-pp-maint.c: New file.
802 * gdb.python/py-pp-maint.exp: New file.
803 * gdb.python/py-pp-maint.py: New file.
804
805 2010-11-02 Tom Tromey <tromey@redhat.com>
806
807 * gdb.base/default.exp: Remove "scheme" from language list.
808
809 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
810
811 Revert:
812 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
813 * gdb.threads/sigstep-threads.exp: New file.
814 * gdb.threads/sigstep-threads.c: New file.
815
816 2010-10-20 Michael Snyder <msnyder@vmware.com>
817
818 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
819
820 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
821
822 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
823 Skip test completely if gdb,no_hardware_watchpoints.
824
825 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
826
827 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
828 strict, but do not check for any particular function name within libc.
829
830 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
831
832 * gdb.cp/smartp.exp: New test.
833 * gdb.cp/smartp.cc : New test.
834
835 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
836
837 * gdb.cp/converts.exp: Test pointer to bool conversion.
838 Test pointer to long conversion.
839 * gdb.cp/oranking.exp: Removed relevant kfail.
840
841 2010-10-18 Tom Tromey <tromey@redhat.com>
842
843 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
844 argument to lazy_string.
845 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
846 (pp_ls.to_string): Use it.
847 * gdb.python/py-prettyprint.c (main): Move declarations to top.
848 Add "estring2" local.
849
850 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 Fix s390x compatibility.
853 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
854 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
855
856 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
857
858 * gdb.threads/sigstep-threads.exp: New file.
859 * gdb.threads/sigstep-threads.c: New file.
860
861 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 * gdb.base/pie-execl.exp: New file.
864 * gdb.base/pie-execl.c: New file.
865
866 2010-10-13 Doug Evans <dje@google.com>
867 Jan Kratochvil <jan.kratochvil@redhat.com>
868
869 PR exp/12117
870 * gdb.cp/ptype-cv-cp.cc: New file.
871 * gdb.cp/ptype-cv-cp.exp: New file.
872
873 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
874
875 * gdb.cp/converts.cc: New test program.
876 * gdb.cp/converts.exp: New test.
877 * gdb.cp/overload.exp: Added test for void* vs int*.
878 * gdb.cp/overload.exp: Ditto.
879 * gdb.cp/oranking.exp: Removed related kfail.
880
881 2010-10-13 Doug Evans <dje@google.com>
882
883 * lib/gdb-python.exp (gdb_check_python_config): New function.
884 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
885 * gdb.python/lib-types.cc: New file.
886 * gdb.python/lib-types.exp: New file.
887
888 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
889
890 * gdb.python/py-error.exp: New file.
891 * gdb.python/py-error.py: New file.
892
893 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
896 gdb_test_multiple.
897
898 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
899
900 * gdb.base/break-interp.exp: Use ldlags for linking flags.
901 * gdb.base/prelink.exp: Likewise.
902 * gdb.base/solib-nodir.exp: Likewise.
903 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
904 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
905 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
906
907 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
908
909 * break-interp.exp (test_ld): Use two separate gdb_expect statements
910 for the "info files" test to avoid timeouts on slow machines.
911
912 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
913
914 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
915 (main): Make openlib dummy call.
916
917 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
918
919 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
920 * break-interp.exp (reach): Move the core body ...
921 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
922 (test_ld): Provide always real argument, even to the linker. Replace
923 dl_main by _dl_debug_state.
924
925 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
926
927 Fix results of prelinked PIEs on ppc*.
928 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
929 Accept also DISPLACEMENT "PRESENT".
930 (main): Replace "ZERO" displacements by "PRESENT".
931
932 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
933
934 * gdb.cp/oranking.exp: New test.
935 * gdb.cp/oranking.cc: New test program.
936
937 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
938
939 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
940 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
941
942 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
943
944 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
945 lush, lynx) New constant.
946 * gdb.base/constvars.exp: Test const array types.
947 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
948
949 2010-10-06 Doug Evans <dje@google.com>
950
951 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
952 of syscall staging area.
953
954 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
955
956 * gdb.base/gnu_vector.c: Add variable c4.
957 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
958 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
959
960 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
961
962 * gdb.arch/altivec-abi.exp: Fix a typo.
963
964 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
965
966 * lib/mi-support.exp (thread_selected_re): Correct pattern used
967 to match a thread ID.
968
969 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
970
971 Fix s390x testcase compatibility.
972 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
973
974 2010-10-01 Doug Evans <dje@google.com>
975
976 * lib/gdb-python.exp: New file.
977 * gdb.python/py-block.exp: Use it.
978 * gdb.python/py-breakpoint.exp: Ditto.
979 * gdb.python/py-frame.exp: Ditto.
980 * gdb.python/py-inferior.exp: Ditto.
981 * gdb.python/py-param.exp: Ditto.
982 * gdb.python/py-prettyprint.exp: Ditto.
983 * gdb.python/py-shared.exp: Ditto.
984 * gdb.python/py-symbol.exp: Ditto.
985 * gdb.python/py-symtab.exp: Ditto.
986 * gdb.python/py-type.exp: Ditto.
987 * gdb.python/py-value.exp: Ditto.
988 * gdb.python/python.exp: Ditto.
989
990 2010-09-30 Tom Tromey <tromey@redhat.com>
991
992 * gdb.base/anon.exp: New file.
993 * gdb.base/anon.c: New file.
994
995 2010-09-30 Tom Tromey <tromey@redhat.com>
996
997 * gdb.base/completion.exp: Test completion through anonymous
998 union.
999 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1000
1001 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 Fix printing parameters of inlined functions.
1004 * gdb.dwarf2/dw2-inline-param.exp: New file.
1005 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1006 * gdb.dwarf2/dw2-inline-param.S: New file.
1007
1008 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1009
1010 PR corefiles/12071.
1011 * gdb.base/corefile.exp (quit with a process, no question: load core)
1012 (quit with a core file): New tests.
1013
1014 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1015
1016 Fix GDB crash on inferior calls with self-referencing classes.
1017 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1018 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1019 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1020
1021 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1022
1023 Fix lost siginfo_t for inferior calls.
1024 * gdb.base/siginfo-infcall.exp: New file.
1025 * gdb.base/siginfo-infcall.c: New file.
1026
1027 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1028
1029 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1030
1031 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1034 New test.
1035 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1036
1037 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1038
1039 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1040 type of our const type.
1041
1042 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1043
1044 * gdb.cp/pr12028.cc: New.
1045 * gdb.cp/pr12028.exp: New.
1046
1047 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1048
1049 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1050
1051 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1052 Jan Kratochvil <jan.kratochvil@redhat.com>
1053
1054 PR mi/11407
1055 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1056 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1057 * gdb.mi/dw2-ref-missing-frame.S New File.
1058 * gdb.mi/dw2-ref-missing-frame.exp New File.
1059
1060 2010-09-14 Tom Tromey <tromey@redhat.com>
1061
1062 PR symtab/8399:
1063 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1064
1065 2010-09-14 Tom Tromey <tromey@redhat.com>
1066
1067 PR exp/11803:
1068 * gdb.threads/tls.exp: Use C++.
1069 (check_thread_local): Use K::another_thread_local.
1070 * gdb.threads/tls.c (class K): New.
1071 (another_thread_local): Now a member of K.
1072 (spin): Update. No longer K&R C.
1073
1074 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1075
1076 * gdb.cp/koenig.cc: created class for testing member lookup.
1077 * gdb.cp/koenig.exp: Added test for member lookup.
1078
1079 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1080
1081 Fix false FAILs on sourcetree topdir directory containing "kill".
1082 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1083 source line matching regexp.
1084
1085 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1086
1087 * gdb.python/python.exp (set height 0, collect help from uiout)
1088 (verify help to uiout): New tests.
1089
1090 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1091
1092 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1093 is_lp64_target to check 64bit target.
1094
1095 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1096
1097 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1098 (test_ld) <powerpc64-*>: New.
1099
1100 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1101
1102 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1103
1104 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1105
1106 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1107 (FunctionArg::method): New function.
1108 (empty, arg): New variables.
1109 (main): Call arg.method.
1110 * gdb.cp/templates.exp (test_template_args): New function.
1111 (do_tests): Call it.
1112
1113 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1114
1115 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1116 of "next" to proceed over pthread_exit call.
1117
1118 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1119
1120 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1121 "maint print statistics" output to prevent expect timeouts.
1122
1123 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1124
1125 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1126 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1127 (test_float_rejected): ... here.
1128 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1129 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1130 (test_float_rejected): ... here.
1131 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1132 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1133 (test_float_rejected): ... here.
1134 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1135 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1136 (test_float_rejected): ... here.
1137
1138 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1139
1140 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1141 before disabling hardware watchpoints.
1142 (test_inaccessible_watchpoint): Check that hardware watchpoints
1143 are used. Test for watchpoints on a constant address.
1144
1145 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1146
1147 * gdb.base/ui-redirect.exp: New file.
1148
1149 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1150 Joel Brobecker <brobecker@adacore.com>
1151
1152 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1153
1154 2010-08-31 Doug Evans <dje@google.com>
1155
1156 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1157
1158 2010-08-30 Tom Tromey <tromey@redhat.com>
1159
1160 PR python/11792:
1161 * gdb.python/py-value.exp (test_subscript_regression): Add
1162 dynamic_type test.
1163
1164 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1165
1166 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1167 instead of running to main. Do not test the main function.
1168 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1169 Add new main.
1170
1171 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1172
1173 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1174 one test.
1175
1176 2010-08-24 Doug Evans <dje@google.com>
1177
1178 PR symtab/11942
1179 * gdb.dwarf2/dw4-sig-types.cc: New file.
1180 * gdb.dwarf2/dw4-sig-types.h: New file.
1181 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1182 * gdb.dwarf2/dw4-sig-types.exp: New file.
1183
1184 2010-08-23 Tom Tromey <tromey@redhat.com>
1185
1186 PR python/11145:
1187 * gdb.python/py-value.c (Base, Derived): New types.
1188 (base): New global.
1189 * gdb.python/py-value.exp (test_subscript_regression): Add
1190 dynamic_cast test.
1191
1192 2010-08-23 Tom Tromey <tromey@redhat.com>
1193
1194 PR python/10676:
1195 * gdb.python/py-type.exp (test_fields): Add tests for type
1196 equality.
1197
1198 2010-08-23 Tom Tromey <tromey@redhat.com>
1199
1200 PR python/11915:
1201 * gdb.python/py-type.exp (test_fields): Add tests for array.
1202
1203 2010-08-23 Keith Seitz <keiths@redhat.com>
1204
1205 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1206 have any children. Create a new abbrev for it.
1207 Add missing terminal sequence to .debug_abbrev.
1208
1209 2010-08-20 Keith Seitz <keiths@redhat.com>
1210
1211 PR symtab/11465:
1212 * gdb.dwarf2/pr11465.exp: New test.
1213 * gdb.dwarf2/pr11465.S: New file.
1214 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1215 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1216
1217 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1218
1219 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1220 registers. Update data sets with the new v2_double element in the
1221 VSX register union. Add vector_register3_vr data set for the AltiVec
1222 registers. Use gdb_test_no_output instead of send_gdb.
1223
1224 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1225
1226 * gdb.python/py-shared.exp: New file, factored out from
1227 python.exp.
1228 * gdb.python/py-shared.c: New file.
1229 * gdb.python/py-shared-sl.c: New file.
1230 * gdb.python/python-1.c: New file.
1231 * gdb.python/python-sl.c: Delete.
1232 * gdb.python/python.c: Mention python-1.c.
1233 * gdb.python/python.exp: Move shared library tests to
1234 py-shared.exp.
1235 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1236 (MISCELLANEOUS): New.
1237 (clean mostlyclean): Also remove $MISCELLANEOUS.
1238
1239 2010-08-19 Doug Evans <dje@google.com>
1240
1241 PR exp/11926
1242 * gdb.base/printcmds.exp (test_float_accepted): New function.
1243 Move existing float tests there. Add tests for floats with suffixes.
1244 (test_float_rejected): New function.
1245 * gdb.java/jv-print.exp (test_float_accepted): New function.
1246 (test_float_rejected): New function.
1247 * gdb.objc/print.exp: New file.
1248 * gdb.pascal/print.exp: New file.
1249 * lib/objc.exp: New file.
1250
1251 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1252
1253 * gdb.base/default.exp (info set): Avoid full buffer error and force
1254 reading up to final gdb prompt.
1255 (show): Likewise.
1256
1257 2010-08-18 Tom Tromey <tromey@redhat.com>
1258
1259 PR symtab/11919:
1260 * gdb.base/completion.exp: Add test.
1261
1262 2010-08-18 Doug Evans <dje@google.com>
1263
1264 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1265 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1266 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1267 Simplify, early exit if runto_main fails.
1268 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1269 (set_lang_fortran): Moved to lib/fortran.exp.
1270 * gdb.fortran/types.exp: load_lib fortran.exp.
1271 (set_lang_fortran): Moved to lib/fortran.exp.
1272 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1273 * gdb.java/jprint.exp (set_lang_java): Ditto.
1274 * gdb.java/jv-exp.exp: load_lib java.exp.
1275 If set_lang_java fails, issue a warning instead of failure to be
1276 consistent with other set_lang_foo uses.
1277 (set_lang_java): Moved to lib/java.exp.
1278 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1279 If set_lang_java fails, issue a warning instead of failure to be
1280 consistent with other set_lang_foo uses.
1281 * gdb.pascal/types.exp: load_lib pascal.exp.
1282 (set_lang_pascal): Moved to lib/pascal.exp.
1283 * lib/fortran.exp: New file.
1284 * lib/java.exp (set_lang_java): New function.
1285 * lib/pascal.exp (set_lang_pascal): New function.
1286
1287 2010-08-18 Yao Qi <yao@codesourcery.com
1288
1289 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1290 func_nofb_start and func_loopfb_start, so that address of functions
1291 is equal to these labels on Thumb.
1292
1293 2010-08-18 Yao Qi <yao@codesourcery.com>
1294
1295 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1296 to reflect latest c source file.
1297
1298 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1299
1300 * gdb.cp/infcall-dlopen.exp: New file.
1301 * gdb.cp/infcall-dlopen.cc: New file.
1302 * gdb.cp/infcall-dlopen-lib.cc: New file.
1303
1304 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1305 Pedro Alves <pedro@codesourcery.com>
1306
1307 PR breakpoints/11371
1308
1309 * gdb.base/watch-cond-infcall.exp: New file.
1310 * gdb.base/watch-cond-infcall.c: New file.
1311
1312 2010-08-16 Tom Tromey <tromey@redhat.com>
1313
1314 * gdb.base/help.exp: Update.
1315 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1316 watchpoint.
1317 (test_watch_location): New proc.
1318 (test_watchpoint_in_big_blob): Delete watchpoint.
1319 * gdb.base/watchpoint.c (func5): New function.
1320 (main): Call it.
1321
1322 2010-08-16 Doug Evans <dje@google.com>
1323
1324 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1325
1326 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1327
1328 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1329 tests.
1330
1331 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1332
1333 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1334 * gdb.base/gnu_vector.c: New File.
1335 * gdb.base/gnu_vector.exp: Likewise.
1336
1337 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1338
1339 * gdb.python/python.c: New File.
1340 * gdb.python/python-sl.c: New File.
1341 * gdb.python/python.exp: Test solib_address and decode_line
1342 * functions.
1343
1344 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1345
1346 * gdb.python/python.exp (show height, set height 10)
1347 (verify pagination beforehand, verify pagination beforehand: q)
1348 (gdb.execute does not page, verify pagination afterwards)
1349 (verify pagination afterwards: q): New.
1350
1351 2010-08-02 Doug Evans <dje@google.com>
1352
1353 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1354 because of an older gcc, change test2
1355 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1356 to unsupported.
1357
1358 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1359
1360 * gdb.base/break-always.exp: Do not expect full paths to file
1361 names.
1362 * gdb.base/commands.exp: Likewise.
1363
1364 2010-07-30 Doug Evans <dje@google.com>
1365
1366 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1367 xfail them when run with older gccs.
1368
1369 * lib/gdb.exp (build_executable): Forward "c++" option to
1370 get_compiler_info.
1371
1372 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1373 "python print ttype.template_argument(1)" and
1374 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1375 if using gcc 4.4 or earlier.
1376
1377 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1378 attach-to-debugger handling.
1379
1380 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1381
1382 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1383 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1384 (main): Use copyreloc.
1385 * gdb.base/prelink.exp (split debug of executable)
1386 (.dynbss vs. .bss address shift): New tests.
1387
1388 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1389
1390 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1391 in gdb_test_multiple.
1392
1393 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1394
1395 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1396 environment.
1397
1398 2010-07-28 Tom Tromey <tromey@redhat.com>
1399
1400 PR python/11060:
1401 * gdb.python/py-type.c (Temargs): New template.
1402 (temvar): New variable.
1403 * gdb.python/py-type.exp (test_template): New proc.
1404
1405 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1406
1407 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1408 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1409
1410 2010-07-28 Tom Tromey <tromey@redhat.com>
1411
1412 PR c++/9946:
1413 * gdb.cp/temargs.exp: New file.
1414 * gdb.cp/temargs.cc: New file.
1415
1416 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1417
1418 * gdb.base/help.exp (help disassemble): Update the content.
1419
1420 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1421
1422 * gdb.threads/ia64-sigill.exp: New file.
1423 * gdb.threads/ia64-sigill.c: New file.
1424
1425 2010-07-27 Tom Tromey <tromey@redhat.com>
1426
1427 * gdb.opt/inline-cmds.c (ATTR): New define.
1428 (func1): Use it.
1429 (func2): Likewise.
1430 (func3): Likewise.
1431 (outer_inline1): Likewise.
1432 (outer_inline2): Likewise.
1433 * gdb.opt/inline-bt.c (ATTR): New define.
1434 (func1): Use it.
1435 (func2): Likewise.
1436 * gdb.opt/inline-locals.c (ATTR): New define.
1437 (func1): Use it.
1438 (func2): Likewise.
1439
1440 2010-07-27 Tom Tromey <tromey@redhat.com>
1441
1442 * gdb.stabs/gdb11479.c (hack): New function.
1443 (test): Use it.
1444 (test2): Use it.
1445 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1446 (int32_search_buf, int64_search_buf): No longer static.
1447 (x): Remove.
1448 * gdb.base/relocate.c (hack): New function.
1449
1450 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1451
1452 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1453 * gdb.python/py-value.c (func1): New function.
1454 (func2): Likewise.
1455
1456 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1457
1458 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1459 as not to clash with .data section.
1460
1461 2010-07-26 Jerome Guitton <guitton@adacore.com>
1462
1463 * gdb.base/code_elim.exp: New file.
1464 * gdb.base/code_elim1.c: New file.
1465 * gdb.base/code_elim2.c: New file.
1466
1467 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1468
1469 PR symtab/11827
1470
1471 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1472 (some_volatile_enum): New variable.
1473 * gdb.base/printcmds.exp (test_print_enums): New.
1474 <top level>: Call it.
1475
1476 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1477
1478 * gdb.cp/fpointer.cc: New test.
1479 * gdb.cp/fpointer.exp: New test.
1480
1481 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * gdb.base/solib-nodir.exp: New file.
1484 * lib/gdb.exp (runto): New case for a GDB internal error.
1485
1486 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1487 Ulrich Weigand <uweigand@de.ibm.com>
1488 Tom Tromey <tromey@redhat.com>
1489
1490 * gdb.base/charset-malloc.c: New file.
1491 * gdb.base/charset.c (malloc_stub): New prototype.
1492 (main): Call it instead of malloc itself.
1493 * gdb.base/charset.exp: Use only prepare_for_testing.
1494 (binfile): Remove the variable.
1495
1496 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1497
1498 Make core files the process_stratum.
1499 * gdb.base/corefile.exp (run: load core again)
1500 (run: sanity check we see the core file, run: with core)
1501 (run: core file is cleared, attach: load core again)
1502 (attach: sanity check we see the core file, attach: with core)
1503 (attach: core file is cleared): New tests.
1504 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1505
1506 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1507
1508 * gdb.arch/altivec-abi.exp: New tests.
1509
1510 2010-07-13 Tom Tromey <tromey@redhat.com>
1511
1512 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1513 (main): Use it.
1514 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1515
1516 2010-07-13 Tom Tromey <tromey@redhat.com>
1517
1518 * gdb.base/label.exp: New file.
1519 * gdb.base/label.c: New file.
1520
1521 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1522 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * lib/gdb.exp (is_ilp32_target): New.
1525 (is_lp64_target): Likewise.
1526
1527 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1528 target.
1529 * gdb.arch/amd64-disp-step.exp: Likewise.
1530 * gdb.arch/amd64-dword.exp: Likewise.
1531 * gdb.arch/amd64-i386-address.exp: Likewise.
1532 * gdb.arch/amd64-word.exp: Likewise.
1533
1534 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1535 target.
1536 * gdb.arch/i386-bp_permanent.exp: Likewise.
1537 * gdb.arch/i386-byte.exp: Likewise.
1538 * gdb.arch/i386-disp-step.exp: Likewise.
1539 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1540 * gdb.arch/i386-prologue.exp: Likewise.
1541 * gdb.arch/i386-size-overlap.exp: Likewise.
1542 * gdb.arch/i386-size.exp: Likewise.
1543 * gdb.arch/i386-sse.exp: Likewise.
1544 * gdb.arch/i386-unwind.exp: Likewise.
1545 * gdb.arch/i386-word.exp: Likewise.
1546
1547 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1548 test only when building 64-bit executables. Do not hard-code
1549 -m64 option.
1550
1551 2010-07-07 Doug Evans <dje@google.com>
1552
1553 * lib/gdb.exp (gdb_test_list_exact): New function.
1554 * gdb.base/default.exp (show convenience): Call it, add tests for
1555 $_sdata = void, $_thread = 0.
1556
1557 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1558 Joel Brobecker <brobecker@adacore.com>
1559
1560 Fix re-run of PIE executable, PR shlibs/11776.
1561 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1562 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1563 and re-"run" of the inferior.
1564
1565 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1566 Joel Brobecker <brobecker@adacore.com>
1567
1568 Cope with missing /usr/sbin/prelink.
1569 * lib/prelink-support.exp (prelink_no):
1570 <result == 1 && $output is "no such file or directory">: New.
1571 (prelink_yes): Likewise. Return on failed prelink_no.
1572
1573 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1574 Joel Brobecker <brobecker@adacore.com>
1575
1576 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1577 build_executable by build_executable_own_libs. Replace "prelink -R"
1578 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1579 change.
1580 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1581 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1582 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1583 Replace build_executable by build_executable_own_libs's function
1584 build_executable_own_libs.
1585 (prelinkNO): Create new stub to call prelink_no.
1586 (prelinkYES): Create new stub to call prelink_yes.
1587 (test_attach): Rename calls of copy to file_copy.
1588 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1589 (copy): Move to ...
1590 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1591 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1592 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1593 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1594 special flags by gdb_compile_shlib. Replace second gdb_compile by
1595 build_executable_own_libs. Replace "prelink -R" execution by a call of
1596 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1597 a second call of prelink_yes. Replace restart commands by
1598 clean_restart.
1599 (prelink): Rename to ...
1600 (seen displacement message): ... this test. Extend its expectation
1601 strictness.
1602
1603 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1604
1605 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1606 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1607 displacement message exactly once.
1608
1609 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1610 Joel Brobecker <brobecker@adacore.com>
1611
1612 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1613 its restore after the <$relink_args != ""> loop. new comment.
1614
1615 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1616 Joel Brobecker <brobecker@adacore.com>
1617
1618 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1619 code for it. New variable relink_args.
1620 (prelinkYES): Call prelinkNO.
1621 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1622 in such case. Move the core code to ...
1623 (test_attach_gdb): ... a new function. Send GDB command "file".
1624 Extend expected "Attaching to " string.
1625
1626 2010-07-02 Tom Tromey <tromey@redhat.com>
1627
1628 * gdb.base/bitops.exp: Remove extraneous "pass".
1629
1630 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1631
1632 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1633
1634 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1635
1636 * gdb.base/help.exp: Adjust expected output.
1637
1638 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1639
1640 * gdb.base/help.exp: Adjust expected output.
1641
1642 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1643
1644 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1645 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1646 c++/11702.
1647
1648 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1649 Doug Evans <dje@google.com>
1650
1651 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1652 add .dynamic entry'.
1653
1654 2010-06-29 Doug Evans <dje@google.com>
1655
1656 Test PR c++/11702.
1657 * gdb.cp/m-static.exp: Add testcase.
1658 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1659
1660 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1661 Tom Tromey <tromey@redhat.com>
1662 Thiago Jung Bauermann <bauerman@br.ibm.com>
1663
1664 * gdb.python/py-inferior.c: New File.
1665 * gdb.python/py-infthread.c: New File.
1666 * gdb.python/py-inferior.exp: New File.
1667 * gdb.python/py-infthread.exp: New File.
1668
1669 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1670
1671 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1672 (ptype ::C::OtherFileClass typedefs): New.
1673 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1674 (C::OtherFileClass::cOtherFileClassVar2): New.
1675 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1676 cOtherFileClassVar2.
1677 (C::cOtherFileType2, C::cOtherFileVar2): New.
1678 (C::cOtherFileVar_use): use also cOtherFileVar2.
1679 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1680
1681 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1682
1683 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1684 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1685 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1686 (print ::C::cOtherFileVar)
1687 (whatis C::OtherFileClass::cOtherFileClassType)
1688 (whatis ::C::OtherFileClass::cOtherFileClassType)
1689 (print C::OtherFileClass::cOtherFileClassVar)
1690 (print ::cOtherFileClassVar)
1691 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1692 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1693 trailing content.
1694 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1695 (C::OtherFileClass::cOtherFileClassVar)
1696 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1697 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1698
1699 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1700
1701 Test PR c++/11703 and PR gdb/1448.
1702 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1703 gdb/1448.
1704
1705 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1706
1707 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1708 (main) <rtti_data>: New.
1709 * gdb.cp/virtbase.exp (print rtti_data): New.
1710
1711 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1712 Joel Brobecker <brobecker@adacore.com>
1713
1714 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1715
1716 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1717
1718 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1719
1720 2010-06-28 Doug Evans <dje@google.com>
1721
1722 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1723
1724 2010-06-27 Doug Evans <dje@google.com>
1725
1726 * gdb.cp/m-static.exp: Update expected test output.
1727
1728 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1729
1730 * gdb.gdb/selftest.exp: Adjust expected message for
1731 capturing start-up runtime.
1732
1733 2010-06-25 Tom Tromey <tromey@redhat.com>
1734
1735 PR python/10808:
1736 * gdb.python/python.exp: Add new tests.
1737
1738 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1739
1740 * gdb.cp/operator.cc: Created an import loop.
1741 * gdb.cp/operator.exp: Added testcase for import loop.
1742
1743 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1744
1745 Test PR python/11407.
1746 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1747 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1748 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1749 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1750 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1751 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1752 binfile. Call gdb_compile with clean_restart twice.
1753 (func_nofb print, func_nofb backtrace, func_loopfb print)
1754 (func_loopfb backtrace): New.
1755
1756 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1757
1758 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1759 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1760 by a hand made one.
1761 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1762 i?86 requirement. Remove variables srcfile and binfile. New variable
1763 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1764
1765 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1766
1767 * gdb.cell/dwarfaddr.exp: New file.
1768 * gdb.cell/dwarfaddr.S: New file.
1769
1770 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1771
1772 Test PR 9436.
1773 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1774
1775 2010-06-24 Hui Zhu <teawater@gmail.com>
1776
1777 * gdb.base/eval.exp: New file.
1778
1779 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1780
1781 * gdb.cell/fork.exp: New file.
1782 * gdb.cell/fork.c: Likewise.
1783 * gdb.cell/fork-spu.c: Likewise.
1784
1785 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1786
1787 * lib/gdb.exp (banned_variables_traced): New global variable.
1788 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1789 (gdb_init): Use `trace add variable' instead of obsolete
1790 `trace variable'.
1791
1792 2010-06-21 Doug Evans <dje@google.com>
1793
1794 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1795
1796 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1797
1798 * gdb.arch/spu-ls.exp: New file.
1799 * gdb.arch/spu-ls.c: Likewise.
1800
1801 2010-06-18 Stan Shebs <stan@codesourcery.com>
1802
1803 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1804
1805 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1806
1807 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1808 * gdb.base/watch-cond.exp: Likewise.
1809 * gdb.python/py-breakpoint.exp: Likewise.
1810
1811 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1812
1813 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1814 clean_restart, make sure every test has a distinct message, and
1815 that messages don't include the executable' full path.
1816
1817 2010-06-17 Doug Evans <dje@google.com>
1818
1819 * gdb.arch/i386-size.exp: Updated expected output for
1820 DISASSEMBLY_OMIT_FNAME.
1821
1822 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1823 Sergio Durigan Junior <sergiodj@redhat.com>
1824
1825 * gdb.base/watch-notconst.c: New file.
1826 * gdb.base/watch-notconst.S: New file.
1827 * gdb.base/watch-notconst2.c: New file.
1828 * gdb.base/watch-notconst2.S: New file.
1829 * gdb.base/watch-notconst.exp: New file.
1830 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1831 (func4): Add operations on `global_ptr_ptr'.
1832 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1833 routine to test watchpoints created with a constant expression.
1834 (test_inaccessible_watchpoint): Include tests for watchpoints
1835 created with a constant expression.
1836
1837 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1838
1839 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1840 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1841 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1842 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1843 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1844 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1845 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1846 of `_start'.
1847
1848 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1849
1850 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1851 not supported on the target.
1852 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1853 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1854 * gdb.mi/mi-nsintrall.exp: Likewise.
1855 * gdb.mi/mi-nsmoribund.exp: Likewise.
1856 * gdb.mi/mi-nsthrexec.exp: Likewise.
1857
1858 2010-06-11 Stan Shebs <stan@codesourcery.com>
1859
1860 * gdb.base/permissions.exp: New file.
1861
1862 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1863
1864 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1865 does not support ELF executable class.
1866
1867 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1868
1869 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1870
1871 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1872
1873 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1874 (runto): Catch "The target does not support running in non-stop mode.".
1875
1876 2010-06-11 Michael Snyder <msnyder@vmware.com>
1877
1878 * gdb.base/setshow.exp (set language asm): Don't use
1879 gdb_test_no_output, fails on some targets.
1880
1881 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1882
1883 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1884 * gdb.cp/pr9167.exp: Likewise.
1885
1886 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1887
1888 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1889
1890 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1891
1892 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1893
1894 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1895
1896 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1897
1898 2010-06-11 Tom Tromey <tromey@redhat.com>
1899
1900 PR gdb/9977, PR exp/11636::
1901 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1902 (pieces_test_f6): Update expected output.
1903
1904 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1905
1906 * gdb.base/moribund-step.exp: New.
1907
1908 2010-06-08 Michael Snyder <msnyder@vmware.com>
1909
1910 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1911 * gdb.ada/boolean_expr.exp:
1912 * gdb.ada/frame_args.exp: Ditto.
1913 * gdb.ada/lang_switch.exp: Ditto.
1914 * gdb.ada/ptype_arith_binop.exp: Ditto.
1915 * gdb.ada/ref_param.exp: Ditto.
1916 * gdb.ada/type_coercion.exp:Ditto.
1917
1918 * gdb.asm/asm-source.exp: Ditto.
1919
1920 * gdb.base/attach.exp: Ditto.
1921 * gdb.base/bitfields2.exp: Ditto.
1922 * gdb.base/call-signal-resume.exp: Ditto.
1923 * gdb.base/callfuncs.exp: Ditto.
1924 * gdb.base/commands.exp: Ditto.
1925 * gdb.base/dbx.exp: Ditto.
1926 * gdb.base/default.exp: Ditto.
1927 * gdb.base/dump.exp: Ditto.
1928 * gdb.base/exprs.exp: Ditto.
1929 * gdb.base/freebpcmd.exp: Ditto.
1930 * gdb.base/interrupt.exp: Ditto.
1931 * gdb.base/list.exp: Ditto.
1932 * gdb.base/long_long.exp: Ditto.
1933 * gdb.base/maint.exp: Ditto.
1934 * gdb.base/ptype.exp: Ditto.
1935 * gdb.base/return.exp: Ditto.
1936 * gdb.base/setshow.exp: Ditto.
1937 * gdb.base/sigbpt.exp: Ditto.
1938 * gdb.base/sigrepeat.exp: Ditto.
1939
1940 * gdb.cp/classes.exp: Ditto.
1941
1942 * gdb.dwarf2/dw2-restore.exp: Ditto.
1943
1944 * gdb.gdb/selftest.exp: Ditto.
1945
1946 * gdb.multi/base.exp: Ditto.
1947 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1948
1949 * gdb.python/py-block.exp: Ditto.
1950 * gdb.python/py-prettyprint.exp: Ditto.
1951 * gdb.python/py-template.exp: Ditto.
1952
1953 * gdb.server/ext-attach.exp: Ditto.
1954 * gdb.server/ext-run.exp: Ditto.
1955 * gdb.server/server-mon.exp: Ditto.
1956
1957 * gdb.threads/fork-thread-pending.exp: Ditto.
1958 * gdb.threads/hand-call-in-threads.exp: Ditto.
1959 * gdb.threads/interrupted-hand-call.exp: Ditto.
1960 * gdb.threads/linux-dp.exp: Ditto.
1961 * gdb.threads/manythreads.exp: Ditto.
1962 * gdb.threads/print-threads.exp: Ditto.
1963 * gdb.threads/pthreads.exp: Ditto.
1964 * gdb.threads/schedlock.exp: Ditto.
1965 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1966 * gdb.threads/threadapply.exp: Ditto.
1967
1968 2010-06-08 Michael Snyder <msnyder@vmware.com>
1969
1970 * gdb.ada/exec_changed.exp:
1971 Use ".*" instead of "" as wildcard regexp.
1972
1973 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1974 * gdb.base/call-ar-st.exp: Ditto.
1975 * gdb.base/checkpoint.exp: Ditto.
1976 * gdb.base/default.exp: Ditto.
1977 * gdb.base/dump.exp: Ditto.
1978 * gdb.base/ending-run.exp: Ditto.
1979 * gdb.base/fileio.exp: Ditto.
1980 * gdb.base/miscexprs.exp: Ditto.
1981 * gdb.base/pointers.exp: Ditto.
1982 * gdb.base/readline.exp: Ditto.
1983 * gdb.base/reread.exp: Ditto.
1984 * gdb.base/restore.exp: Ditto.
1985 * gdb.base/shlib-call.exp: Ditto.
1986 * gdb.base/valgrind-db-attach.exp: Ditto.
1987 * gdb.base/volatile.exp: Ditto.
1988 * gdb.base/watchpoints.exp: Ditto.
1989
1990 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1991
1992 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1993 * gdb.python/py-value.exp: Ditto.
1994
1995 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1996 * gdb.trace/circ.exp: Ditto.
1997 * gdb.trace/collection.exp: Ditto.
1998 * gdb.trace/packetlen.exp: Ditto.
1999 * gdb.trace/passc-dyn.exp: Ditto.
2000 * gdb.trace/report.exp: Ditto.
2001 * gdb.trace/tfile.exp: Ditto.
2002 * gdb.trace/tfind.exp: Ditto.
2003 * gdb.trace/while-dyn.exp: Ditto.
2004
2005 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2008
2009 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2010
2011 Test PR 10640.
2012 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2013
2014 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2015
2016 * gdb.cp/koenig.exp: Test for ADL operators.
2017 * gdb.cp/koenig.cc: Added ADL operators.
2018 * gdb.cp/operator.exp: New test.
2019 * gdb.cp/operator.cc: New test.
2020
2021 2010-06-04 Michael Snyder <msnyder@vmware.com>
2022
2023 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2024 * gdb.base/pending.exp: Ditto.
2025
2026 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2027
2028 2010-06-04 Doug Evans <dje@google.com>
2029
2030 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2031 disabled printers.
2032 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2033 (enable_lookup_function): New function.
2034
2035 2010-06-04 Tom Tromey <tromey@redhat.com>
2036
2037 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2038 of hash and id.
2039
2040 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2043 newline.
2044 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2045 (empty verbose non-noisy clear, empty verbose noisy clear)
2046 (empty non-verbose noisy clear): Likewise.
2047
2048 2010-06-03 Michael Snyder <msnyder@vmware.com>
2049
2050 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2051 * gdb.base/display.exp: Ditto.
2052 * gdb.base/find.exp: Ditto.
2053 * gdb.base/ifelse.exp: Ditto.
2054 * gdb.base/multi-forks.exp: Ditto.
2055 * gdb.base/recurse.exp: Ditto.
2056 * gdb.base/setshow.exp: Ditto.
2057 * gdb.base/value-double-free.exp: Ditto.
2058 * gdb.base/watch-vfork.exp: Ditto.
2059 * gdb.base/watch_thread_num.exp: Ditto.
2060 * gdb.base/watchpoint-solib.exp: Ditto.
2061 * gdb.base/watchpoint.exp: Ditto.
2062 * gdb.base/watchpoints.exp: Ditto.
2063
2064 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2065 * gdb.cp/overload.exp: Ditto.
2066 * gdb.cp/virtfunc.exp: Ditto.
2067
2068 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2069
2070 * gdb.reverse/watch-precsave.exp:
2071 Replace gdb_test with gdb_test_no_output.
2072
2073 * gdb.threads/attach-into-signal.exp:
2074 Replace gdb_test with gdb_test_no_output.
2075 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2076 * gdb.threads/watchthreads.exp: Ditto.
2077 * gdb.threads/watchthreads2.exp: Ditto.
2078
2079 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2080 * gdb.trace/tfind.exp: Ditto.
2081
2082 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2083
2084 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2085 successful test if message is the empty string.
2086
2087 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2088
2089 * gdb.fortran/module.exp (stopped language detection): New test.
2090
2091 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2092
2093 Support DW_TAG_module as separate namespaces.
2094 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2095 gdb.fortran/library-module-lib.f90: New.
2096 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2097 (print i): Remove.
2098 (continue to breakpoint: i-is-1, print var_i value 1)
2099 (continue to breakpoint: i-is-2, print var_i value 2)
2100 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2101 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2102 (complete `modmany, complete `modmany`, complete `modmany`var)
2103 (show language, setting breakpoint at module): New tests.
2104 * gdb.fortran/module.f90 (module mod): Remove.
2105 (module mod1, module mod2, module modmany, subroutine sub1)
2106 (subroutine sub2, program module): New.
2107
2108 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2109
2110 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2111 (print value of rUC, print value of rI, print value of UI): ... here.
2112 * gdb.cp/anon-union.exp (pass): Rename to ...
2113 (print z 2): ... here.
2114
2115 2010-06-02 Michael Snyder <msnyder@vmware.com>
2116
2117 * gdb.trace/actions.exp: Use gdb_test_no_output.
2118 * gdb.trace/circ.exp: Ditto.
2119 * gdb.trace/packetlen.exp: Ditto.
2120 * gdb.trace/save-trace.exp: Ditto.
2121 * gdb.trace/tracecmd.exp: Ditto.
2122 * gdb.trace/tsv.exp: Ditto.
2123
2124 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2125 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2126 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2127 * gdb.threads/manythreads.exp: Ditto.
2128 * gdb.threads/print-threads.exp: Ditto.
2129 * gdb.threads/pthreads.exp: Ditto.
2130 * gdb.threads/schedlock.exp: Ditto.
2131 * gdb.threads/staticthreads.exp: Ditto.
2132 * gdb.threads/thread-specific.exp: Ditto.
2133 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2134 * gdb.threads/threadapply.exp: Ditto.
2135 * gdb.threads/watchthreads.exp: Ditto.
2136 * gdb.threads/watchthreads2.exp: Ditto.
2137
2138 * gdb.python/py-block.exp: Use gdb_test_no_output.
2139 * gdb.python/py-prettyprint.exp: Ditto.
2140 * gdb.python/py-template.exp: Ditto.
2141 * gdb.python/py-value.exp: Ditto.
2142
2143 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2144 * gdb.reverse/watch-reverse.exp: Ditto.
2145
2146 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2147 * gdb.server/ext-run.exp: Ditto.
2148
2149 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2150 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2151 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2152 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2153 * gdb.dwarf2/dw2-producer.exp: Ditto.
2154 * gdb.dwarf2/mac-fileno.exp: Ditto.
2155
2156 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2157 * gdb.gdb/selftest.exp: Ditto.
2158
2159 * gdb.multi/base.exp: Use gdb_test_no_output.
2160
2161 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2162
2163 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2164
2165 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2166
2167 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2168
2169 * gdb.cp/class2.exp: Use gdb_test_no_output.
2170 * gdb.cp/classes.exp: Ditto.
2171 * gdb.cp/extern-c.exp: Ditto.
2172 * gdb.cp/inherit.exp: Ditto.
2173 * gdb.cp/maint.exp: Ditto.
2174 * gdb.cp/mb-inline.exp: Ditto.
2175 * gdb.cp/mb-templates.exp: Ditto.
2176 * gdb.cp/method2.exp: Ditto.
2177 * gdb.cp/misc.exp: Ditto.
2178 * gdb.cp/ovldbreak.exp: Ditto.
2179 * gdb.cp/punctuator.exp: Ditto.
2180 * gdb.cp/templates.exp: Ditto.
2181 * gdb.cp/virtbase.exp: Ditto.
2182
2183 * gdb.threads/attach-stopped.exp:
2184 Replace uses of send_gdb / gdb_expect.
2185 * gdb.threads/attachstop-mt.exp:
2186 Replace uses of send_gdb / gdb_expect.
2187 * gdb.threads/gcore-thread.exp:
2188 Replace uses of send_gdb / gdb_expect.
2189 * gdb.threads/hand-call-in-threads.exp:
2190 Replace uses of send_gdb / gdb_expect.
2191 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2192 * gdb.threads/print-threads.exp:
2193 Replace uses of send_gdb / gdb_expect.
2194 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2195 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2196 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2197
2198 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2199 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2200 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2201 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2202 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2203 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2204 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2205 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2206 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2207 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2208 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2209
2210 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2213
2214 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2215
2216 * gdb.cp/koenig.exp: Added new test case.
2217 * gdb.cp/koenig.cc: Ditto.
2218
2219 2010-06-01 Michael Snyder <msnyder@vmware.com>
2220
2221 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2222 * gdb.base/arrayidx.exp: Ditto.
2223 * gdb.base/attach.exp: Ditto.
2224 * gdb.base/auxv.exp: Ditto.
2225 * gdb.base/bigcre.exp: Ditto.
2226 * gdb.base/break-always.exp: Ditto.
2227 * gdb.base/break-interp.exp: Ditto.
2228 * gdb.base/break.exp: Ditto.
2229 * gdb.base/breakpoint-shadow.exp: Ditto.
2230 * gdb.base/call-ar-st.exp: Ditto.
2231 * gdb.base/call-sc.exp: Ditto.
2232 * gdb.base/call-signal-resume.exp: Ditto.
2233 * gdb.base/callfuncs.exp: Ditto.
2234 * gdb.base/catch-syscall.exp: Ditto.
2235 * gdb.base/charset.exp: Ditto.
2236 * gdb.base/code-expr.exp: Ditto.
2237 * gdb.base/commands.exp: Ditto.
2238 * gdb.base/cond-expr.exp: Ditto.
2239 * gdb.base/condbreak.exp: Ditto.
2240 * gdb.base/cursal.exp: Ditto.
2241 * gdb.base/cvexpr.exp: Ditto.
2242 * gdb.base/default.exp: Ditto.
2243 * gdb.base/del.exp: Ditto.
2244 * gdb.base/detach.exp: Ditto.
2245 * gdb.base/display.exp: Ditto.
2246 * gdb.base/ena-dis-br.exp: Ditto.
2247 * gdb.base/eval-skip.exp: Ditto.
2248 * gdb.base/foll-fork.exp: Ditto.
2249 * gdb.base/foll-vfork.exp: Ditto.
2250 * gdb.base/frame-args.exp: Ditto.
2251 * gdb.base/funcargs.exp: Ditto.
2252 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2253 * gdb.base/gdbvars.exp: Ditto.
2254 * gdb.base/help.exp: Ditto.
2255 * gdb.base/ifelse.exp: Ditto.
2256 * gdb.base/included.exp: Ditto.
2257 * gdb.base/list.exp: Ditto.
2258 * gdb.base/macscp.exp: Ditto.
2259 * gdb.base/maint.exp: Ditto.
2260 * gdb.base/multi-fork.exp: Ditto.
2261 * gdb.base/overlays.exp: Ditto.
2262 * gdb.base/page.exp: Ditto.
2263 * gdb.base/pending.exp: Ditto.
2264 * gdb.base/pointers.exp: Ditto.
2265 * gdb.base/pr11022.exp: Ditto.
2266 * gdb.base/prelink.exp: Ditto.
2267 * gdb.base/printcmds.exp: Ditto.
2268 * gdb.base/psymtab.exp: Ditto.
2269 * gdb.base/randomize.exp: Ditto.
2270 * gdb.base/relational.exp: Ditto.
2271 * gdb.base/relocate.exp: Ditto.
2272 * gdb.base/remote.exp: Ditto.
2273 * gdb.base/sepdebug.exp: Ditto.
2274 * gdb.base/set-lang-auto.exp: Ditto.
2275 * gdb.base/setshow.exp: Ditto.
2276 * gdb.base/setvar.exp: Ditto.
2277 * gdb.base/signals.exp: Ditto.
2278 * gdb.base/signull.exp: Ditto.
2279 * gdb.base/sigstep.exp: Ditto.
2280 * gdb.base/sizeof.exp: Ditto.
2281 * gdb.base/solib-disc.exp: Ditto.
2282 * gdb.base/store.exp: Ditto.
2283 * gdb.base/structs.exp: Ditto.
2284 * gdb.base/structs2.exp: Ditto.
2285 * gdb.base/subst.exp: Ditto.
2286 * gdb.base/term.exp: Ditto.
2287 * gdb.base/trace-commands.exp: Ditto.
2288 * gdb.base/unwindonsignal.exp: Ditto.
2289 * gdb.base/valgrind-db-attach.exp: Ditto.
2290 * gdb.base/varargs.exp: Ditto.
2291 * gdb.base/watch-cond.exp: Ditto.
2292 * gdb.base/watch_thread_num.exp: Ditto.
2293 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2294 * gdb.base/watchpoint.exp: Ditto.
2295 * gdb.base/whatis-exp.exp: Ditto.
2296
2297 2010-06-01 Michael Snyder <msnyder@vmware.com>
2298
2299 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2300 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2301 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2302 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2303 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2304 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2305 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2306 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2307 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2308 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2309 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2310 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2311 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2312 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2313 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2314
2315 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2316
2317 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2318 trailing newline.
2319 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2320 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2321 (p *args): ... here and remove excessive trailing newline.
2322
2323 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2324
2325 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2326
2327 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 Accept the new Linux kernel "t (tracing stop)" string.
2330 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2331 Update comment.
2332 (state_wait) <T (tracing stop)>: New.
2333 (main): Update the state_wait expect string.
2334
2335 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2336
2337 * limits.c, limits.exp: Delete files.
2338 * Makefile.in (clean mostlyclean): Adjust.
2339 * tracecmd.exp: Adjust.
2340
2341 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2342
2343 * gdb.base/tui-layout.exp: New.
2344
2345 2010-05-28 Michael Snyder <msnyder@vmware.com>
2346
2347 * gdb.reverse/break-precsave.exp:
2348 Replace uses of send_gdb / gdb_expect.
2349 * gdb.reverse/break-reverse.exp:
2350 Replace uses of send_gdb / gdb_expect.
2351 * gdb.reverse/consecutive-precsave.exp:
2352 Replace uses of send_gdb / gdb_expect.
2353 * gdb.reverse/consecutive-reverse.exp:
2354 Replace uses of send_gdb / gdb_expect.
2355 * gdb.reverse/finish-precsave.exp:
2356 Replace uses of send_gdb / gdb_expect.
2357 * gdb.reverse/finish-reverse.exp:
2358 Replace uses of send_gdb / gdb_expect.
2359 * gdb.reverse/i386-precsave.exp:
2360 Replace uses of send_gdb / gdb_expect.
2361 * gdb.reverse/i386-reverse.exp:
2362 Replace uses of send_gdb / gdb_expect.
2363 * gdb.reverse/i386-sse-reverse.exp:
2364 Replace uses of send_gdb / gdb_expect.
2365 * gdb.reverse/i387-env-reverse.exp:
2366 Replace uses of send_gdb / gdb_expect.
2367 * gdb.reverse/i387-stack-reverse.exp:
2368 Replace uses of send_gdb / gdb_expect.
2369 * gdb.reverse/machinestate-precsave.exp:
2370 Replace uses of send_gdb / gdb_expect.
2371 * gdb.reverse/machinestate.exp:
2372 Replace uses of send_gdb / gdb_expect.
2373 * gdb.reverse/sigall-precsave.exp:
2374 Replace uses of send_gdb / gdb_expect.
2375 * gdb.reverse/sigall-reverse.exp:
2376 Replace uses of send_gdb / gdb_expect.
2377 * gdb.reverse/solib-precsave.exp:
2378 Replace uses of send_gdb / gdb_expect.
2379 * gdb.reverse/solib-reverse.exp:
2380 Replace uses of send_gdb / gdb_expect.
2381 * gdb.reverse/step-precsave.exp:
2382 Replace uses of send_gdb / gdb_expect.
2383 * gdb.reverse/step-reverse.exp:
2384 Replace uses of send_gdb / gdb_expect.
2385 * gdb.reverse/until-precsave.exp:
2386 Replace uses of send_gdb / gdb_expect.
2387 * gdb.reverse/until-reverse.exp:
2388 Replace uses of send_gdb / gdb_expect.
2389 * gdb.reverse/watch-precsave.exp:
2390 Replace uses of send_gdb / gdb_expect.
2391 * gdb.reverse/watch-reverse.exp:
2392 Replace uses of send_gdb / gdb_expect.
2393
2394 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2395
2396 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2397 excessive newline.
2398
2399 2010-05-27 Michael Snyder <msnyder@vmware.com>
2400
2401 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2402 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2403 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2404 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2405 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2406 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2407 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2408 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2409 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2410 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2411 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2412 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2413 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2414 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2415 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2416 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2417 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2418 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2419 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2420
2421 2010-05-26 Michael Snyder <msnyder@vmware.com>
2422
2423 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2424 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2425
2426 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2427 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2428 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2429
2430 * gdb.reverse/consecutive-reverse.exp:
2431 Replace uses of send_gdb / gdb_expect.
2432 * gdb.reverse/consecutive-precsave.exp:
2433 Replace uses of send_gdb / gdb_expect.
2434
2435 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2436 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2437 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2438 * gdb.mi/mi-ns-stale-regcache.exp:
2439 Replace uses of send_gdb / gdb_expect.
2440 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2441 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2442 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2443 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2444 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2445 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2446 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2447 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2448 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2449
2450 2010-05-26 Michael Snyder <msnyder@vmware.com>
2451
2452 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2453
2454 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2455
2456 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2457 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2458 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2459 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2460 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2461 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2462 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2463 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2464 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2465
2466 2010-05-25 Tom Tromey <tromey@redhat.com>
2467
2468 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2469
2470 2010-05-25 Tom Tromey <tromey@redhat.com>
2471
2472 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2473 argument order.
2474 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2475 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2476 order.
2477 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2478 order.
2479 * gdb.base/call-sc.exp (setup_kfails): Remove.
2480 (setup_compiler_kfails): Remove.
2481 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2482 argument order.
2483 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2484 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2485 (advancei): Fix setup_kfail argument order.
2486 * gdb.base/radix.exp: Fix setup_kfail argument order.
2487 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2488 order.
2489 * gdb.base/structs.exp (setup_kfails): Remove.
2490 (setup_compiler_kfails): Fix setup_kfail argument order.
2491 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2492 order.
2493 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2494 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2495 setup_kfail argument order.
2496 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2497
2498 2010-05-25 Tom Tromey <tromey@redhat.com>
2499
2500 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2501
2502 2010-05-25 Michael Snyder <msnyder@vmware.com>
2503
2504 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2505 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2506 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2507 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2508 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2509 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2510 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2511 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2512 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2513 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2514 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2515 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2516 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2517 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2518 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2519 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2520 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2521 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2522 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2523 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2524 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2525 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2526 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2527 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2528 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2529 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2530 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2531 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2532 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2533 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2534 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2535 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2536 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2537 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2538 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2539 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2540 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2541 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2542 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2543 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2544 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2545 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2546 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2547 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2548 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2549 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2550 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2551 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2552
2553 2010-05-25 Doug Evans <dje@google.com>
2554
2555 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2556 gdb.string_to_argv.
2557
2558 2010-05-21 Tom Tromey <tromey@redhat.com>
2559
2560 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2561 Call it.
2562 * gdb.dwarf2/pieces.S: Update.
2563 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2564
2565 2010-05-21 Tom Tromey <tromey@redhat.com>
2566
2567 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2568 Call it.
2569 * gdb.dwarf2/pieces.c (struct C): New.
2570 (f6): New function.
2571 * gdb.dwarf2/pieces.S: Replace.
2572
2573 2010-05-21 Tom Tromey <tromey@redhat.com>
2574
2575 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2576 Call it.
2577
2578 2010-05-21 Tom Tromey <tromey@redhat.com>
2579
2580 * gdb.dwarf2.pieces.exp: New file.
2581 * gdb.dwarf2.pieces.S: New file.
2582 * gdb.dwarf2.pieces.c: New file.
2583
2584 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2585 Joel Brobecker <brobecker@adacore.com>
2586
2587 * lib/gdb.exp (gdb_test_no_output): New function.
2588 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2589 when testing commands that should produce no output.
2590
2591 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2592
2593 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2594 parameter that we want to watch being a constant.
2595
2596 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2597
2598 * gdb.ada/cond_lang: New testcase.
2599
2600 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2601
2602 * lib/gdb.exp (banned_variables): New variable/constant.
2603 (gdb_init): Add write trace on variables listed in banned_variables.
2604 (gdb_finish): Remove write traces on variables listed in
2605 banned_variables.
2606
2607 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2608
2609 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2610 * gdb.cp/koenig.exp: Likewise.
2611
2612 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2613
2614 PR python/11482
2615
2616 * gdb.python/py-value.exp (test_value_hash): New function.
2617
2618 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2619
2620 PR exp/11530.
2621 * gdb.base/gdb11530.c: New file.
2622 * gdb.base/gdb11530.exp: New file.
2623
2624 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2625
2626 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2627 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2628
2629 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2630
2631 * gdb.cp/koenig.exp: New test.
2632 * gdb.cp/koenig.cc: New test program.
2633
2634 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2635
2636 Remove the use of prms_id and bug_id throughout the testsuite.
2637
2638 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2639
2640 PR exp/11349.
2641 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2642 use a reference local variable.
2643
2644 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2645
2646 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2647 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2648 variable different_dir. Move debugfile into a full directory pathname
2649 under DIFFERENT_DIR.
2650 * lib/gdb.exp (separate_debug_filename): Remove.
2651 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2652 variable debug_dir and mkdir of it. Update function comments.
2653
2654 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2655
2656 PR gdb/11557
2657
2658 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2659 files.
2660
2661 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2662
2663 * gdb.python/py-param.exp: New File.
2664
2665 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2666
2667 * gdb.base/default.exp: Fix "set language" test.
2668
2669 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2670
2671 PR breakpoints/11531.
2672 * gdb.base/gdb11531.c: New file.
2673 * gdb.base/gdb11531.exp: New file.
2674
2675 2010-04-26 Tom Tromey <tromey@redhat.com>
2676
2677 * gdb.base/completion.exp: Add tests for completion and deprecated
2678 commands.
2679
2680 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2681
2682 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2683 (print /x char_array): Escape curly brackets.
2684
2685 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2686
2687 Fix deadlock on looped list of loaded shared objects.
2688 * gdb.base/solib-corrupted.exp: New.
2689
2690 2010-04-23 Doug Evans <dje@google.com>
2691
2692 * gdb.python/py-section-script.c: New file.
2693 * gdb.python/py-section-script.exp: New file.
2694 * gdb.python/py-section-script.py: New file.
2695
2696 2010-04-20 Chris Moller <cmoller@redhat.com>
2697
2698 PR 10179
2699
2700 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2701 * gdb.base/pr10179-a.c:
2702 * gdb.base/pr10179-b.c:
2703 * gdb.base/pr10179.exp: New files.
2704
2705 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 Fix crashes on dangling display expressions.
2708 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2709 is SEP.
2710 (lib_flags): Remove the "debug" keyword.
2711 (libsepdebug): New variable for iterating new loop.
2712 (save_pf_prefix): New variable wrapping the loop.
2713 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2714 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2715
2716 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2717
2718 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2719
2720 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2721
2722 PR stabs/11479.
2723 * gdb.stabs/gdb11479.exp: New file.
2724 * gdb.stabs/gdb11479.c: New file.
2725
2726 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2727
2728 * gdb.base/charset.c (Strin16, String32): New variables.
2729 * gdb.base/charset.exp (gdb_test): Test correct display
2730 of 16 or 32 bit strings.
2731
2732 2010-04-21 Chris Moller <cmoller@redhat.com>
2733
2734 PR 9167
2735 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2736 * gdb.cp/pr9167.cc: New file.
2737 * gdb.cp/pr9167.exp: New file.
2738
2739
2740 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2741
2742 PR pascal/11492.
2743 * gdb.pascal/gdb11492.pas: New file.
2744 * gdb.pascal/gdb11492.exp: New file.
2745
2746 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2747
2748 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2749
2750 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2751
2752 * gdb.ada/dyn_loc: New testcase.
2753
2754 2010-04-20 Chris Moller <cmoller@redhat.com>
2755
2756 PR 10867
2757
2758 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2759 * gdb.cp/pr10687.cc: New file.
2760 * gdb.cp/pr10687.exp: New file.
2761
2762
2763 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2764 Sergio Durigan Junior <sergiodj@redhat.com>
2765
2766 * gdb.fortran/logical.exp: New testcase.
2767 * gdb.fortran/logical.f90: New file.
2768
2769 2010-04-19 Doug Evans <dje@google.com>
2770
2771 * gdb.base/help.exp (help source): Update expected output.
2772
2773 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2774
2775 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2776 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2777 gdb_exit and return.
2778 (executable): New variable.
2779 (binfile): Use it.
2780
2781 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2782
2783 PR breakpoints/8554.
2784
2785 * gdb.trace/save-trace.exp: Adjust.
2786
2787 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 PR corefiles/11511
2790 * gdb.arch/system-gcore.exp: New.
2791 * gdb.arch/gcore.c: Likewise.
2792
2793 2010-04-15 Doug Evans <dje@google.com>
2794
2795 * gdb.python/py-progspace.c: New file.
2796 * gdb.python/py-progspace.exp: New file.
2797
2798 * gdb.base/source.exp: Add tests for "source -s".
2799
2800 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2801
2802 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2803 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2804 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2805 * gdb.python/py-mi.exp: New test for to_string returning None.
2806
2807 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2808
2809 * gdb.python/py-breakpoint.c: Make result global.
2810
2811 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2812
2813 Fix non-GNU make compatibility.
2814 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2815
2816 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2817
2818 * gdb.python/py-breakpoint.exp: New File.
2819 * gdb.python/py-breakpoint.C: Ditto.
2820
2821 2010-04-08 Stan Shebs <stan@codesourcery.com>
2822
2823 * gdb.trace/actions.exp: Clear default-collect.
2824 * gdb.trace/save-trace.exp: Clear default-collect.
2825
2826 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2827
2828 * gdb.python/py-value: Add null string variable.
2829 (test_lazy_string): Test zero length, NULL address lazy
2830 strings.
2831
2832 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 * gdb.arch/i386-avx.c: New.
2835 * gdb.arch/i386-avx.exp: Likewise.
2836
2837 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2838
2839 2010-04-06 Doug Evans <dje@google.com>
2840
2841 * gdb.base/source-test.gdb: New file.
2842 * gdb.base/source.exp: Test source -v.
2843
2844 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2845
2846 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2847
2848 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2849
2850 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2851 within one line, unless it is followed by a double quote.
2852 * gdb.stabs/hppa.sed: Idem.
2853 * gdb.stabs/weird.def: Add char and String constants
2854 * gdb.stabs/weird.exp: Check for correct parsing of
2855 char and string constants.
2856 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2857 in .stabs to .stabx substitution.
2858
2859 2010-04-05 Stan Shebs <stan@codesourcery.com>
2860
2861 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2862 constant global.
2863 * gdb.trace/tfile.exp: Try to print them.
2864
2865 2010-04-04 Stan Shebs <stan@codesourcery.com>
2866
2867 * gdb.base/completion.exp: Update for new "info watchpoints".
2868 * gdb.base/default.exp: Ditto.
2869 * gdb.base/help.exp: Ditto.
2870 * gdb.base/watchpoint.exp: Ditto.
2871 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2872
2873 2010-04-04 Stan Shebs <stan@codesourcery.com>
2874
2875 * gdb.trace/tfile.exp: Sharpen tfind test.
2876
2877 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.base/break-entry.exp: New.
2880
2881 2010-04-02 Hui Zhu <teawater@gmail.com>
2882 Michael Snyder <msnyder@vmware.com>
2883
2884 * gdb.reverse/i386-sse-reverse.exp: New file.
2885 * gdb.reverse/i386-sse-reverse.c: New file.
2886
2887 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2888
2889 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2890
2891 2010-04-01 Stan Shebs <stan@codesourcery.com>
2892
2893 * gdb.trace/actions.exp: Tweak expected output.
2894 * gdb.trace/while-stepping.exp: Tweak expected output.
2895
2896 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2899
2900 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2901
2902 * gdb.base/commands.exp: Adjust.
2903 * gdb.cp/extern-c.exp: Adjust.
2904
2905 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2906
2907 * gdb.trace/collection.c (local_test_func): Define a local struct,
2908 and instanciate it.
2909
2910 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2911
2912 * gdb.trace/collection.exp (gdb_collect_args_test)
2913 (gdb_collect_argarray_test): XFAIL the tests that assume the
2914 argarray argument's elements are collected.
2915
2916 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2917
2918 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2919 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2920
2921 2010-03-31 Stan Shebs <stan@codesourcery.com>
2922
2923 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2924 and tracepoint conditionals.
2925 (gdb_verify_tracepoints): Delete unused return.
2926
2927 2010-03-26 Keith Seitz <keiths@redhat.com>
2928
2929 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2930 appear in the output before main.
2931 Remove KFAIL for gdb/2215 aka bz 9320.
2932
2933 2010-03-30 Doug Evans <dje@google.com>
2934
2935 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2936 by dejagnu.
2937 * gdb.arch/amd64-dword.exp: Ditto.
2938
2939 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2940 match.
2941 (break printf): Ditto.
2942
2943 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2944
2945 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2946 gcc < 4.4.
2947 * gdb.cp/shadow.exp: Ditto.
2948
2949 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2950
2951 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2952 "tstart" is silent.
2953
2954 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2955
2956 * gdb.trace/collection.exp (executable): New.
2957 (binfile): Use it.
2958 (fpreg, spreg, pcreg): New.
2959 (test_register): Use gdb_test_multiple. Pass /x to print.
2960 (prepare_for_trace_test): New.
2961 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2962 (gdb_collect_args_test, gdb_collect_argstruct_test)
2963 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2964 prepare_for_trace_test.
2965 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2966 fpreg, spreg and pcreg.
2967 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2968 prepare_for_trace_test.
2969 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2970 try to detect tracing support here. Don't set breakpoints at
2971 `begin' or `end' here.
2972 <global scope>: Use clean_restart. Run to main before checking
2973 for tracing support. Check for for tracing support here.
2974
2975 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2976
2977 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2978 " as $displacement" to "seen displacement message".
2979
2980 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2981
2982 * gdb.trace/while-dyn.exp (executable): New variable.
2983 (binfile): Use it.
2984 (test_while_stepping): New function. Move most tests here. Call
2985 it once for each of the while-stepping, stepping and ws aliases.
2986
2987 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2988
2989 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2990 that do not provide the tagless_struct type name at all.
2991 (test_print_anon_union): Do not check value of uninitialized
2992 union member. Do not use cp_test_ptype_class, so we can accept
2993 "long" as well as "long int".
2994
2995 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2996
2997 * gdb.trace/tfile.c (tohex, bin2hex): New.
2998 (write_error_trace_file): Hexify error description.
2999
3000 2010-03-25 Stan Shebs <stan@codesourcery.com>
3001
3002 * gdb.trace/tfile.c: Generate an additional trace file, improve
3003 portability.
3004 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3005 files in a better way.
3006
3007 2010-03-25 Keith Seitz <keiths@redhat.com>
3008
3009 * gdb.java/jprint.exp: XFAIL printing of static class members
3010 because of GCC debuginfo problem.
3011
3012 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3013
3014 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3015
3016 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3017
3018 * gdb.base/completion.exp: Allow long instead of long int.
3019 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3020 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3021 variable p.
3022 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3023 * gdb.base/pointers.exp: Allow long instead of long int.
3024 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3025 * gdb.base/step-line.exp: Allow a directory before the source file name.
3026
3027 2010-03-24 Tom Tromey <tromey@redhat.com>
3028
3029 PR breakpoints/9352:
3030 * gdb.base/default.exp: Update.
3031 * gdb.base/commands.exp: Update.
3032 * gdb.cp/extern-c.exp: Test setting commands on multiple
3033 breakpoints at once.
3034
3035 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3036
3037 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3038 if gdb,nosignals.
3039 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3040 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3041 exited".
3042
3043 2010-03-24 Stan Shebs <stan@codesourcery.com>
3044
3045 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3046
3047 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3048
3049 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3050 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3051 argument. Handle "short" and "long".
3052 (Top level): Pass overprototyped output for old_fptr and xptr.
3053
3054 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3055
3056 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3057 format strings and add casts to avoid compiler warnings.
3058
3059 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3060
3061 * lib/trace-support.exp (gdb_trace_setactions):
3062 Don't expect whitespace after ">" prompt.
3063 * gdb.trace/actions.exp: Adjust for output changes.
3064 * gdb.trace/while-stepping.exp: Likewise.
3065
3066 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3069 and r157645).
3070
3071 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3074 New.
3075
3076 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3077
3078 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3079 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3080
3081 2010-03-19 Stan Shebs <stan@codesourcery.com>
3082
3083 * gdb.trace/ax.exp: New file.
3084
3085 2010-03-19 Doug Evans <dje@google.com>
3086
3087 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3088 output from gcc.
3089
3090 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3091 named /usr/sbin/prelink<foo>.
3092
3093 2010-03-18 Stan Shebs <stan@codesourcery.com>
3094
3095 * gdb.trace/circ.exp: Test circular-trace-buffer.
3096 * gdb.trace/tfile.exp: Update tstatus test.
3097
3098 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3099
3100 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3101 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3102
3103 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3104
3105 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3106
3107 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3108
3109 * gdb.base/default.exp: Adjust the expected output of the finish
3110 and until commands when the inferior is not being run.
3111
3112 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3113
3114 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3115 * gdb.cp/nsusing.exp: Ditto.
3116
3117 2010-03-15 Tom Tromey <tromey@redhat.com>
3118
3119 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3120 * gdb.cp/userdef.cc (operator==): New function.
3121 (main): New locals mem1, mem2.
3122
3123 2010-03-15 Jie Zhang <jie@codesourcery.com>
3124
3125 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3126 Declare and use new loadtimeout variable.
3127
3128 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3129
3130 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3131 Use gdb_load later.
3132
3133 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3134
3135 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3136 literal. Add missing endlines to prints to stderr.
3137
3138 2010-03-12 Tom Tromey <tromey@redhat.com>
3139
3140 PR c++/9708:
3141 * gdb.cp/m-static.exp: Add regression test.
3142 * gdb.cp/m-static.cc (method): New method.
3143 (main): Call it.
3144
3145 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3146
3147 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3148 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3149
3150 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3151
3152 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3153
3154 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3155
3156 * lib/gdb.exp (skip_stl_tests): New.
3157 (gdb_compile): Symbian needs -ldl.
3158 (shlib_target_file): New.
3159 (shlib_symbol_file): New.
3160 (gdb_load_shlibs): Use shlib_target_file.
3161 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3162 * gdb.cp/exception.exp: Use skip_stl_tests.
3163 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3164 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3165 * gdb.cp/mb-templates.exp: Ditto.
3166 * gdb.base/commands.exp: Relax regexes.
3167 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3168 shlib_target_file and shlib_symbol_file.
3169 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3170 sections.
3171 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3172 * gdb.base/solib-disc.exp: Use
3173 shlib_target_file and shlib_symbol_file.
3174 * gdb.base/unload.exp: Don't skip on symbian. Use
3175 shlib_target_file and shlib_symbol_file.
3176 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3177
3178 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3179
3180 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3181 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3182 Issue a tfind end before looking for a tracepoint frame.
3183 * gdb.trace/tfind.exp: Adjust tstatus output.
3184 Adjust disassembly output.
3185 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3186
3187 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3188
3189 * gdb.base/break-interp.exp: Create new displacement parameter value
3190 for the test_ld calls.
3191 (reach): New parameter displacement, verify its content. New push of
3192 pf_prefix "reach-$func:". Import global expect_out.
3193 (test_core): New parameter displacement, verify its content. New push
3194 of pf_prefix "core:". New command "set verbose on". Import global
3195 expect_out.
3196 (test_attach): New parameter displacement, verify its content. New
3197 push of pf_prefix "attach:". New command "set verbose on". Import
3198 global expect_out.
3199 (test_ld): New parameter displacement, pass it to the reach, test_core
3200 and test_attach calls and verify its content in the "ld.so exit" test.
3201 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3202 (prelink): Update expected text, use gdb_test.
3203
3204 2010-03-10 Doug Evans <dje@google.com>
3205
3206 * gdb.base/checkpoint.exp: Fix comment.
3207 Lengthen timeout while doing >600 checkpoints test.
3208 Rename duplicate "kill all one" test to keep test names unique.
3209
3210 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3211
3212 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3213
3214 2010-03-08 Keith Seitz <keiths@redhat.com>
3215
3216 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3217 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3218 (dm_type_long): New function.
3219 (dm_type_unsigned_short): New function.
3220 (dm_type_unsigned_long): New function.
3221 (myint): New typedef.
3222 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3223 long, unsigned shor and long, operator char*, and typedef.
3224 (test_lookup_operator_functions): Add operator char* test.
3225 (test_paddr_operator_functions): Likewise.
3226 (test_paddr_overloaded_functions): Use probe values for
3227 short, long, and unsigned short and long.
3228 (test_paddr_hairy_functions): If the demangler probe detected
3229 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3230 demangler.
3231 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3232 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3233 and "print null_pmf".
3234 Add test "ptype a.*pmf".
3235 * gdb.cp/overload.exp: Allow optional "int" to appear with
3236 "short" and "long".
3237 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3238 long expect value for men_overload1arg.
3239 Allow "int" to appear with "short" and "long".
3240 When testing "info break", add argument for main (void).
3241 Also allow "int" to appear with "short" and "long".
3242 Ditto with "unsigned" and "long long".
3243 * gdb.java/jmain.exp: Do not enclose methods names in single
3244 quotes.
3245 * gdb.java/jmisc.exp: Likewise.
3246 * gdb.java/jprint.exp: Likewise.
3247 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3248
3249 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3250 * gdb.cp/exception.exp (backtrace after first throw)
3251 (backtrace after second throw): Allow a namespace before __cxa_throw.
3252 (backtrace after first catch, backtrace after second catch): Allow
3253 a namespace before __cxa_begin_catch.
3254
3255 * gdb.cp/cpexprs.exp: New file.
3256 * gdb.cp/cpexprs.cc: New file.
3257
3258 From Daniel Jacobowitz <dan@codesourcery.com>
3259 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3260 to use string_to_regexp.
3261 (ctor, dtor): New functions. Use them to match constructor
3262 and destructor function types.
3263 (Top level): Use runto_main.
3264
3265 2010-03-05 Tom Tromey <tromey@redhat.com>
3266
3267 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3268 gdb.target_charset.
3269 (pp_ns.to_string): Likewise.
3270
3271 2010-03-04 Keith Seitz <keiths@redhat.com>
3272
3273 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3274 can be quoted. Test that both the filename and function/line
3275 portions can be quoted at the same time.
3276
3277 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3278
3279 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3280
3281 2010-03-03 Doug Evans <dje@google.com>
3282
3283 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3284 libc contains libpthread.
3285
3286 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3287 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3288 of gdb_compile. Add another pattern to match android backtrace.
3289
3290 2010-03-03 Tom Tromey <tromey@redhat.com>
3291
3292 PR gdb/11345:
3293 * gdb.base/printcmds.exp (test_printf): Add test.
3294
3295 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3296
3297 * gdb.arch/amd64-byte.exp: New.
3298 * gdb.arch/amd64-dword.exp: Likewise.
3299 * gdb.arch/amd64-pseudo.c: Likewise.
3300 * gdb.arch/amd64-word.exp: Likewise.
3301 * gdb.arch/i386-byte.exp: Likewise.
3302 * gdb.arch/i386-pseudo.c: Likewise.
3303 * gdb.arch/i386-word.exp: Likewise.
3304
3305 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3306
3307 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3308 types. Add structreg, bitfields, and flags registers.
3309 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3310 registers.
3311
3312 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3313
3314 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3315 (load_description): Set architecture if defined.
3316
3317 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3318
3319 * gdb.python/py-frame.exp: Add read_var block tests.
3320 * gdb.python/py-frame.c (block): New function.
3321
3322 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3323 Daniel Jacobowitz <dan@codesourcery.com>
3324
3325 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3326
3327 2010-02-25 David S. Miller <davem@davemloft.net>
3328
3329 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3330 fix logic for setting all_syscalls_numbers.
3331
3332 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3333
3334 * Makefile.in: Add py-block and py-symbol.
3335 * gdb.python/py-symbol.exp: New File.
3336 * gdb.python/py-symtab.exp: New File.
3337 * gdb.python/py-block.exp: New File.
3338 * gdb.python/py-symbol.c: New File.
3339 * gdb.python/py-block.c: New File.
3340
3341 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3342
3343 PR python/11314
3344 * lib/gdb.exp (skip_python_tests): New function.
3345 * gdb.python/py-cmd.exp: Use skip_python_tests.
3346 * gdb.python/py-frame.exp: Likewise.
3347 * gdb.python/py-function.exp: Likewise.
3348 * gdb.python/py-prettyprint.exp: Likewise.
3349 * gdb.python/py-template.exp: Likewise.
3350 * gdb.python/py-type.exp: Likewise.
3351 * gdb.python/py-value.exp: Likewise.
3352
3353 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3354
3355 PR9605
3356
3357 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3358
3359 2010-02-19 Tom Tromey <tromey@redhat.com>
3360
3361 PR c++/8693, PR c++/9496:
3362 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3363 regression tests.
3364
3365 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3366
3367 Fix compatibility with m68k as.
3368 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3369 Use only /* comments */.
3370
3371 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3372
3373 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3374 * configure: Regenerate.
3375
3376 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3377
3378 * gdb.python/py-type.exp: Check for Python support.
3379
3380 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3381
3382 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3383 `regsub' syntax available.
3384
3385 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3386
3387 * gdb.base/shmain.c (main): Remove printf call.
3388 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3389 * gdb.base/unload.c (main): Make format of fprintf a string
3390 literal. Add missing endlines to prints to stderr.
3391 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3392
3393 2010-02-17 Tom Tromey <tromey@redhat.com>
3394
3395 * gdb.java/jprint.java (jprint.props): New field.
3396 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3397
3398 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3399
3400 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3401 available.
3402
3403 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3404
3405 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3406 creation to support remote host testing.
3407
3408 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3409
3410 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3411 Recognize "command not found".
3412
3413 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3414
3415 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3416 single-stepping.
3417
3418 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3419
3420 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3421 if arguments are not supported.
3422
3423 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3424
3425 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3426 be const or non-const.
3427
3428 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3429
3430 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3431 mi_send_resuming_command to send -exec-continue.
3432
3433 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3434
3435 * gdb.base/list.exp (test_list_filename_and_function): Add test
3436 with single quotes.
3437 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3438 matching.
3439 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3440 Add KFAIL'd tests for PR gdb/11289.
3441
3442 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3443
3444 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3445
3446 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3447
3448 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3449 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3450 a temporary directory.
3451
3452 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3453
3454 * gdb.base/charset.exp: Use a single regular expression to match
3455 show host-charset and show target-charset output.
3456
3457 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3458
3459 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3460 "Illegal process-id" expect string more exact.
3461 (attach to digits-starting nonsense is prohibited): New.
3462
3463 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3464
3465 * gdb.base/prelink.exp (set verbose on): New.
3466
3467 2010-02-12 Tomas Holmberg <th@virtutech.com>
3468
3469 * mi-reverse.exp: New file. Test for reverse option to the
3470 following MI commands: exec-continue, exec-finish, exec-next,
3471 exec-step, exec-next-instruction, exec-step-instruction.
3472
3473 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3474
3475 * gdb.ada/ptype_tagged_param: New testcase.
3476
3477 2010-02-08 Tom Tromey <tromey@redhat.com>
3478
3479 PR c++/8017:
3480 * gdb.cp/overload.exp: Add tests.
3481 * gdb.cp/overload.cc (struct K): New.
3482 (namespace N): New.
3483 (main): Call new functions.
3484 (K::staticoverload): Define.
3485
3486 2010-02-08 Chris Moller <moller@mollerware.com>
3487
3488 PR gdb/10728
3489 * gdb.cp/pr10728-x.h: New file.
3490 * gdb.cp/pr10728-x.cc: New file.
3491 * gdb.cp/pr10728-y.cc: New file.
3492 * gdb.cp/pr10728.exp: New file.
3493 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3494
3495 2010-02-08 Chris Moller <moller@mollerware.com>
3496
3497 PR gdb/9067
3498 * gdb.cp/pr9067.exp: New
3499 * gdb.cp/pr9067.cc: New
3500 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3501
3502 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3503
3504 * lib/gdb.exp (gdb_test_timeout): New global variable.
3505 Set it to timeout if not already set.
3506 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3507
3508 2010-02-05 Doug Evans <dje@google.com>
3509
3510 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3511 user.
3512
3513 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3514
3515 PR c++/7935:
3516 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3517
3518 2010-02-04 Tom Tromey <tromey@redhat.com>
3519
3520 * gdb.cp/virtbase.exp: Make test case names unique.
3521
3522 2010-02-02 Tom Tromey <tromey@redhat.com>
3523
3524 * gdb.cp/virtbase.exp: Add regression tests.
3525 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3526 (main): Instantiate RHC.
3527
3528 2010-02-02 Tom Tromey <tromey@redhat.com>
3529
3530 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3531 type-printing change.
3532
3533 2010-02-02 Tom Tromey <tromey@redhat.com>
3534
3535 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3536 * gdb.cp/virtbase.cc: New file.
3537 * gdb.cp/virtbase.exp: New file.
3538 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3539
3540 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3541
3542 PR libc/11214:
3543 * gdb.threads/current-lwp-dead.c: Include features.h.
3544 (HAS_NOMMU): New.
3545 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3546
3547 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3548
3549 * gdb.base/symbol-without-target_section.exp,
3550 gdb.base/symbol-without-target_section.c: New.
3551
3552 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3553
3554 * gdb.base/bigcore.exp: Reset increased timeout.
3555 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3556
3557 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3558
3559 * gdb.base/gcore.exp (capture_command_output): Use
3560 gdb_test_multiple.
3561
3562 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3563
3564 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3565 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3566 (Top level): Call it.
3567
3568 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3569
3570 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3571
3572 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3573
3574 * gdb.base/call-strs.exp, gdb.base/default.exp,
3575 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3576 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3577 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3578 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3579 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3580 * gdb.base/ending-run.exp: Correct restore of timeout.
3581 * gdb.base/page.exp: Remove unnecessary timeout setting.
3582
3583 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3584
3585 * gdb.ada/rec_return: New testcase.
3586
3587 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3588
3589 * gdb.ada/call_pn: New testcase.
3590
3591 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3592
3593 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3594 (Top level): Use it to resume.
3595 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3596 the Thumb mode displaced stepping error as unsupported.
3597
3598 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3599
3600 * gdb.cp/nsusing.exp: Added more tests.
3601 * gdb.cp/nsrecurs.exp: Ditto.
3602 * gdb.cp/nsusing.cc: Added test functions.
3603 * gdb.cp/nsrecurs.cc: Ditto.
3604
3605 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3606
3607 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3608 absolute directory pathnames in gdb.sum file.
3609
3610 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3611
3612 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3613 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3614
3615 2010-01-26 Tom Tromey <tromey@redhat.com>
3616
3617 PR exp/7643:
3618 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3619 setup_kfail.
3620
3621 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3622
3623 * gdb.cp/nsrecurs.exp: New test.
3624 * gdb.cp/nsrecurs.cc: New test program.
3625 * gdb.cp/nsstress.exp: New test.
3626 * gdb.cp/nsstress.cc: New test program.
3627 * gdb.cp/nsdecl.exp: New test.
3628 * gdb.cp/nsdecl.cc: New test program.
3629
3630 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3631
3632 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3633 imported into file scope.
3634 Marked test as xfail.
3635 * gdb.cp/namespace-using.cc (marker5): New function.
3636 * gdb.cp/shadow.exp: New test.
3637 * gdb.cp/shadow.cc: New test program.
3638 * gdb.cp/nsimport.exp: New test.
3639 * gdb.cp/nsimport.cc: New test program.
3640
3641 2010-01-25 Tom Tromey <tromey@redhat.com>
3642
3643 PR gdb/11049:
3644 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3645 with "set print null-stop on".
3646
3647 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3648
3649 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3650 Adjust it for DISASSEMBLY_OMIT_FNAME.
3651
3652 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3653
3654 PR symtab/11199:
3655 * gdb.dwarf2/member-ptr-forwardref.exp,
3656 gdb.dwarf2/member-ptr-forwardref.S: New.
3657
3658 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3659
3660 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3661 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3662 thread1_tid_mutex. Remove gdbstop_mutex handling.
3663 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3664 thread2_tid_mutex. Remove gdbstop_mutex handling.
3665 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3666 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3667 pthread_cond_wait conditionalizations by while loops.
3668
3669 2010-01-20 Tom Tromey <tromey@redhat.com>
3670
3671 PR backtrace/10770:
3672 * gdb.dwarf2/pr10770.exp: New file.
3673 * gdb.dwarf2/pr10770.c: New file.
3674 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3675
3676 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3677
3678 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3679 that target was removed, and the test always runs native anyway.
3680
3681 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3682
3683 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3684 gdb.base/watchpoint-cond-gone-stripped.c: New.
3685
3686 2010-01-19 Tom Tromey <tromey@redhat.com>
3687
3688 PR c++/8000:
3689 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3690 existing tests.
3691 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3692 (main): Use AAA::SomeEnum.
3693
3694 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3695
3696 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3697 (test_ignore_count): Declare line_callme_body global.
3698 (run to breakpoint with ignore count): Use line_callme_body.
3699 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3700 (set line_main_hello, set line_main_return): Reindent.
3701 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3702 New.
3703 (continue to callee4): Use line_callee4_body.
3704 (check *stopped from CLI command): Use line_callee4_next.
3705 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3706 (set line_main_hello, set line_main_return): Reindent.
3707 (set line_callee4_head, set line_callee4_body): New.
3708 (continue to callee4): Use line_callee4_body.
3709
3710 2010-01-18 Tom Tromey <tromey@redhat.com>
3711
3712 PR c++/9680:
3713 * gdb.cp/casts.cc: Add new classes and variables.
3714 * gdb.cp/casts.exp: Test new operators.
3715
3716 2010-01-18 Tom Tromey <tromey@redhat.com>
3717 Thiago Jung Bauermann <bauerman@br.ibm.com>
3718
3719 * gdb.python/source2.py: New file.
3720 * gdb.python/source1: New file.
3721 * gdb.python/python.exp: Test "source" command.
3722
3723 2010-01-15 Stan Shebs <stan@codesourcery.com>
3724
3725 * gdb.trace/tfile.c: New file.
3726 * gdb.trace/tfile.exp: New file.
3727
3728 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3729
3730 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3731
3732 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3733
3734 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3735
3736 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3737
3738 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3739 (libfunc): New parameter action. Implement also selectable "sleep".
3740 * gdb.base/break-interp-main.c: Include assert.h.
3741 (libfunc): New parameter action.
3742 (main): New parameters argc and argv. Assert argc. Pass argv.
3743 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3744 (test_attach): New proc.
3745 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3746 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3747
3748 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 * gdb.base/break-interp.exp (test_core): New proc.
3751 (test_ld): Call it.
3752
3753 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3754
3755 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3756 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3757 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3758 and gdb_compile_shlib. Use new -Wl compiler options.
3759 (dl bt, main bt): New tests.
3760
3761 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3762
3763 Support PIEs with no symfile_objfile.
3764 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3765 (test_ld): New parameter trynosym.
3766 (test_ld <$trynosym>): New block.
3767
3768 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3769
3770 * gdb.base/break-interp.exp: New file.
3771
3772 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3773
3774 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3775 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3776 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3777 test.
3778 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3779 * gdb.python/py-mi.exp: Add lazy string test.
3780
3781 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3782
3783 * lib/mi-support.exp (mi_check_thread_states): Handle
3784 core number in thread listing.
3785
3786 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3787
3788 * gdb.base/maint.exp: Adjust the expected output for the
3789 "maint print type" test. Use gdb_test_multiple instead of
3790 gdb_sent/gdb_expect.
3791
3792 2010-01-11 Doug Evans <dje@google.com>
3793
3794 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3795 from gdbserver_download. All callers updated.
3796
3797 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3798
3799 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 Implement binary numbers parsing.
3802 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3803 (test_integer_literals_rejected): New binary tests.
3804
3805 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3806
3807 * gdb.cell/configure: Regenerate.
3808
3809 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3810
3811 * gdb.base/corefile.exp: Move the core finding block out and call it as
3812 core_find, new variable $corefile, replace corefile by $corefile and
3813 [file tail $corefile] for usage vs. test names resp.
3814 * lib/gdb.exp (core_find): Move it as a new function here. New
3815 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3816 $destcore. Return "" on error.
3817
3818 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 Workaround PR binutils/10802.
3821 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3822 (twice).
3823
3824 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3825
3826 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3827
3828 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3829
3830 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3831 call, to avoid interruption.
3832
3833 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3834
3835 * gdb.stabs/weird.def (args93): New.
3836
3837 2010-01-07 Doug Evans <dje@google.com>
3838
3839 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3840
3841 2010-01-07 Tom Tromey <tromey@redhat.com>
3842
3843 * gdb.base/source.exp: Use correct line number.
3844
3845 2010-01-05 Stan Shebs <stan@codesourcery.com>
3846
3847 * gdb.trace/tracecmd.exp: Test ftrace.
3848
3849 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3850
3851 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3852
3853 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3854
3855 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3856 "uint_for_mi_testing".
3857
3858 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3859
3860 Test indented comment in file being sourced.
3861 * gdb.base/commands.exp: Test indented comment in file being sourced.
3862
3863 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3864
3865 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3866 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3867 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3868 notice.
3869
3870 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3871
3872 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3873 notice.
3874
3875 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3876
3877 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3878 missing $after_stopped and comma (,) expectation.
3879
3880 2009-12-31 Stan Shebs <stan@codesourcery.com>
3881
3882 * gdb.trace/actions.exp: Test teval action.
3883
3884 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3885
3886 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3887 (top level): Call test_watchpoint_in_big_blob.
3888 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3889 watchpoints.
3890 (func3): Write to buf.
3891
3892 2009-12-29 Stan Shebs <stan@codesourcery.com>
3893
3894 * gdb.trace/actions.exp: Test default-collect.
3895
3896 2009-12-28 Stan Shebs <stan@codesourcery.com>
3897
3898 * gdb.trace/tsv.exp: New file.
3899 * gdb.base/completion.exp: Update ambiguous info output.
3900
3901 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3902
3903 * gdb.base/find.c (main): Reference search buffers.
3904 * gdb.base/included.c (main): Reference integer.
3905 * gdb.base/ptype.c (charfoo): Declare.
3906 (intfoo): Call charfoo.
3907 * gdb.base/scope0.c (useitp): New function.
3908 (usestatics): Use useitp.
3909 (useit): Add a type for val.
3910 * gdb.base/scope1.c (useit1): Take a pointer argument.
3911 (usestatics1): Update calls to useit1.
3912 * gdb.cp/call-c.cc: Declare foo.
3913 (main): Call foo.
3914 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3915 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3916 (main): Call C::ensureRefs and ensureOtherRefs.
3917 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3918 variables.
3919 (ensureOtherRefs): New function.
3920 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3921 * gdb.cp/templates.cc (main): Call t5i.value.
3922
3923 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3924
3925 Fix compatibility with G++-4.5.
3926 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3927 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3928 (uncaught return): Remove.
3929
3930 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3931 Phil Muldoon <pmuldoon@redhat.com>
3932
3933 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3934 (bp_location13, bp_location14, bp_location17, bp_location18)
3935 (marker3_proto, marker4_proto): New variables.
3936 (breakpoint info): Update output.
3937 (run until breakpoint at marker3, run until breakpoint at marker4): New
3938 tests.
3939
3940 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3941
3942 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3943 Replace the printf call of Y by provided "y-set-1" label. New block
3944 for the second shared library.
3945 * gdb.base/unload.exp: Compile also the second library, call
3946 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3947 (single pending breakpoint info): Rename to ...
3948 (pending breakpoint info before run): ... this extended test.
3949 (libfile2, libname2, libsrcfile2, libsrc2)
3950 (lib_sl2): New variables.
3951 (exec_opts): Set also SHLIB_NAME2.
3952 (pending breakpoint info on first run at shrfunc1)
3953 (pending breakpoint info on second run at shrfunc1)
3954 (pending breakpoint info on second run at shrfunc2)
3955 (print y from libfile, print y from libfile2): New tests.
3956 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3957 * gdb.base/unloadshr2.c: New.
3958
3959 2009-12-22 Hui Zhu <teawater@gmail.com>
3960
3961 * gdb.reverse/sigall-reverse.exp: Adjust.
3962
3963 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3964
3965 PR gdb/10884
3966
3967 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3968 (main): Call do_bitfield_tests.
3969 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
3970
3971 2009-12-20 Joel Brobecker <brobecker@adacore.com>
3972
3973 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3974 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3975 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3976 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3977 gdb.modula2/unbounded1.c: Update copyright header.
3978
3979 2009-12-10 Chris Moller <moller@mollerware.com>
3980
3981 PR gdb/9399
3982 * gdb.cp/virtfunc2.exp: New tests
3983 * gdb.cp/virtfunc2.cc: New tests
3984 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3985
3986 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3987
3988 * gdb.reverse/i387-env-reverse.c: New file.
3989 * gdb.reverse/i387-env-reverse.exp: New file.
3990 * gdb.reverse/i387-stack-reverse.c: New file.
3991 * gdb.reverse/i387-stack-reverse.exp: New file.
3992
3993 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3994
3995 * gdb.python/py-type.exp (test_range): New test.
3996
3997 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3998
3999 PR python/10805
4000
4001 * gdb.python/py-type.exp: New file.
4002 * gdb.python/py-type.c: New file.
4003 * Makefile.in: Add py-type.
4004
4005 2009-12-03 Tom Tromey <tromey@redhat.com>
4006
4007 * gdb.python/py-value.exp (test_parse_and_eval): New
4008 function.
4009
4010 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4011
4012 PR gdb/11022
4013
4014 * gdb.base/pr11022.exp: New test.
4015 * gdb.base/pr11022.c: New test.
4016
4017 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4018
4019 Fix spurious false FAILs.
4020 * gdb.base/structs.c (chartest): New.
4021 (main): Fill-in chartest.
4022 * gdb.base/structs.exp (anychar_re, first): New.
4023 (start_structs_test): Import global anychar_re and first.
4024 New gdb_test call "set print elements 300; ${testfile}"
4025 (start_structs_test <$first>): New block.
4026 (any): Import global anychar_re. New variable ac. Use ${ac}.
4027
4028 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4029
4030 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4031
4032 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4033
4034 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4035 Force $srcfile file.
4036 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4037
4038 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4039
4040 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4041 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4042 * gdb.threads/watchthreads-reorder.exp: Likewise.
4043
4044 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4045
4046 PR gdb/8704
4047
4048 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4049 "if", and "thread". Correct matching in the previous test.
4050
4051 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4052
4053 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4054
4055 2009-11-23 Michael Snyder <msnyder@vmware.com>
4056
4057 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4058 * gdb.reverse-watch-precsave.exp: Ditto.
4059
4060 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4061
4062 * gdb.asm/asm-source.exp: Adjust.
4063 * gdb.base/help.exp: Adjust.
4064
4065 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4066
4067 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4068 (do_syscall_tests_without_xml): Set data-directory to
4069 /the/path/to/nowhere.
4070
4071 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4072
4073 * gdb.threads/local-watch-wrong-thread.c,
4074 gdb.threads/local-watch-wrong-thread.exp: New files.
4075
4076 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4077
4078 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4079 assume new `regsub' syntax available.
4080
4081 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4082
4083 * gdb.base/watchpoint-hw-hit-once.exp,
4084 gdb.base/watchpoint-hw-hit-once.c: New.
4085
4086 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4087
4088 * gdb.threads/watchthreads-reorder.exp,
4089 gdb.threads/watchthreads-reorder.c: New.
4090
4091 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4092
4093 * gdb.xml/tdesc-regs.exp: Use for m68k.
4094
4095 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4096
4097 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4098
4099 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4100
4101 * lib/gdb.exp (current_target_name): New procedure.
4102 (gdb_wrapper_target): New variable.
4103 (gdb_wrapper_init): Set gdb_wrapper_target.
4104 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4105 wrapper.
4106
4107 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4108
4109 * gdb.base/remote.exp: Delete the slowest load test.
4110 Do not load with fixed packet sizes.
4111
4112 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4113
4114 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4115
4116 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4117
4118 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4119 srcfile when setting a breakpoint.
4120
4121 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4122
4123 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4124 macros.
4125
4126 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4127
4128 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4129 to be in memory.
4130 * gdb.base/display.c (force_mem): New.
4131 (do_loops): Use it. Add breakpoint comments.
4132 (do_vars): Add a breakpoint comment.
4133 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4134 line numbers.
4135
4136 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4137
4138 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4139 instead of a bare "run".
4140
4141 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4142
4143 * gdb.python/py-prettyprint.exp: Adjust.
4144
4145 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4146
4147 * lib/cell.exp (skip_cell_tests): Clean up test files before
4148 returning.
4149
4150 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4151
4152 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4153 and the breakpoint menu. Do not call perror if a prompt is seen.
4154 Consume the following GDB prompt.
4155 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4156 * gdb.cp/namespace.exp: Use gdb_test.
4157 * gdb.cp/templates.exp: Use gdb_test.
4158 (test_template_breakpoints): Use gdb_test_multiple.
4159
4160 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4161
4162 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4163 (marker4): Reference values.
4164
4165 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4166
4167 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4168 is missing.
4169
4170 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4171
4172 * gdb.base/break.c (need_malloc): New.
4173 * gdb.base/constvars.c (main): Reference crass and crisp.
4174 * gdb.base/gdb1821.c (main): Reference bar.
4175 * gdb.cp/gdb1355.cc (main): Reference s1.
4176 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4177 (main): Call them.
4178 * gdb.cp/hang2.cc (dummy2): Define.
4179 * gdb.cp/hang3.cc (dummy3): Define.
4180 * gdb.cp/m-data.cc (main): Reference shadow.
4181
4182 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4183 Nathan Froyd <froydnj@codesourcery.com>
4184
4185 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4186 remote host.
4187
4188 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4189
4190 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4191 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4192 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4193 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4194 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4195 * gdb.dwarf2/dw2-producer.exp: Likewise.
4196 * gdb.dwarf2/mac-fileno.exp: Likewise.
4197 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4198 py-prettyprint.py to the remote host.
4199 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4200
4201 2009-11-11 Keith Seitz <keiths@redhat.com>
4202
4203 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4204 use it instead of "Foo".
4205 * gdb.cp/classes.exp (do_tests): Add a test to access
4206 a method through a typedef'd class name.
4207
4208 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4209
4210 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4211 exponents.
4212 * gdb.base/pointers.exp: Likewise.
4213 * gdb.cp/ref-types.exp: Likewise.
4214
4215 2009-11-11 Keith Seitz <keiths@redhat.com>
4216
4217 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4218 new[] and delete[].
4219 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4220 "void".
4221 (probe_demangler): Remove all single-quoting of
4222 method and variable names.
4223 (info_func_regexp): Remove the word "void" from any
4224 occurrence of "(void)".
4225 (print_addr_2): Remove all single-quoting of
4226 method names.
4227 (print_addr_2_kfail): Likewise.
4228 (print_addr): Single-quote C function names before
4229 passing to print_addr_2.
4230 (test_paddr_operator_functions): Remove single-quoting
4231 for method names.
4232 Add tests for operator new[] and operator delete[].
4233
4234 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4235
4236 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4237
4238 2009-11-09 Keith Seitz <keiths@redhat.com>
4239
4240 * gdb.cp/overload.exp: Add tests for resolving overloaded
4241 methods in expression parsing/evaluation.
4242
4243 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4244
4245 * lib/gdb.exp (default_gdb_version): Use --version instead of
4246 --command.
4247
4248 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4249
4250 * lib/gdb.exp (gdb_compile_test): New.
4251 (skip_ada_tests, skip_java_tests): New.
4252 (gdb_compile): Use gdb_compile_test for f77.
4253 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4254 * lib/java.exp (compile_java_from_source): Remove runtests check,
4255 use gdb_compile_test to record result.
4256 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4257 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4258 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4259 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4260 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4261 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4262 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4263 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4264 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4265 adjust gdb_compile invocations.
4266
4267 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4268
4269 * Makefile.in (abs_builddir): New.
4270 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4271 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4272 `$(abs_builddir)/site.exp'.
4273
4274 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4275
4276 * config/m68k-emc.exp, lib/emc-support.exp,
4277 gdb.trace/gdb_c_test.c: Delete.
4278 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4279 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4280 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4281 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4282 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4283 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4284 casing for m68k-*-elf.
4285
4286 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4287
4288 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4289 * gdb.arch/i386-prologue.exp: Likewise.
4290 * gdb.arch/i386-unwind.exp: Likewise.
4291
4292 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4293
4294 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4295
4296 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4297
4298 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4299
4300 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4301
4302 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4303
4304 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4305
4306 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4307
4308 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4309
4310 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4311 * gdb.base/sepdebug2.c: New file.
4312
4313 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4314
4315 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4316 the modified warnings for catch syscall. Verify if GDB was compiled
4317 with support for lib expat, and choose which tests to run depending
4318 on this.
4319
4320 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4321
4322 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4323 that composite commands are parsed OK. And also test
4324 that breakpoint commands do work.
4325
4326 2009-10-23 Michael Snyder <msnyder@vmware.com>
4327
4328 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4329 to allow for new disassembly style.
4330
4331 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4332
4333 * gdb.asm/asm-source.exp: Adjust.
4334
4335 2009-10-22 Michael Snyder <msnyder@vmware.com>
4336
4337 * gdb.reverse/break-precsave.exp: New test.
4338 * gdb.reverse/consecutive-precsave.exp: Ditto.
4339 * gdb.reverse/finish-precsave.exp: Ditto.
4340 * gdb.reverse/i386-precsave.exp: Ditto.
4341 * gdb.reverse/machinestate-precsave.exp: Ditto.
4342 * gdb.reverse/sigall-precsave.exp: Ditto.
4343 * gdb.reverse/solilb-precsave.exp: Ditto.
4344 * gdb.reverse/step-precsave.exp: Ditto.
4345 * gdb.reverse/until-precsave.exp: Ditto.
4346 * gdb.reverse/watch-precsave.exp: Ditto.
4347
4348 2009-10-22 Michael Snyder <msnyder@vmware.com>
4349
4350 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4351 for gdb_expect. Adjust one test's expect strings for the new
4352 format of disassemble.
4353 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4354 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4355 gdb_test_multiple.
4356 * gdb.reverse/step-reverse.exp: Delete 'return'.
4357 * gdb.reverse/until-reverse.exp: Delete blank lines.
4358 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4359
4360 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4361
4362 * gdb.base/consecutive.exp: Adjust.
4363 * gdb.base/display.exp: Likewise.
4364 * gdb.base/pc-fp.exp: Likewise.
4365 * gdb.base/sigbpt.exp: Likewise.
4366
4367 2009-10-19 Michael Snyder <msnyder@vmware.com>
4368
4369 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4370 * gdb.reverse/finish-reverse.c: Ditto.
4371 * gdb.reverse/sigall-reverse.c: Ditto.
4372 * gdb.reverse/solib-reverse.c: Ditto.
4373 * gdb.reverse/step-reverse.c: Ditto.
4374 * gdb.reverse/watch-reverse.c: Ditto.
4375
4376 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4377 Stan Shebs <stan@codesourcery.com>
4378
4379 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4380 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4381 "Executing new program".
4382 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4383 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4384 left listed after having been killed.
4385 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4386 * gdb.base/maint.exp: Adjust test.
4387
4388 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4389 * gdb.multi/Makefile.in: New.
4390 * gdb.multi/base.exp: New.
4391 * gdb.multi/goodbye.c: New.
4392 * gdb.multi/hangout.c: New.
4393 * gdb.multi/hello.c: New.
4394 * gdb.multi/bkpt-multi-exec.c: New.
4395 * gdb.multi/bkpt-multi-exec.exp: New.
4396 * gdb.multi/crashme.c: New.
4397
4398 2009-10-13 Tristan Gingold <gingold@adacore.com>
4399
4400 * gdb.base/sepdebug.exp: Check debug info are found.
4401
4402 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4403
4404 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4405 bits.
4406
4407 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4408
4409 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4410
4411 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4412
4413 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4414 of the comments.
4415
4416 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4417
4418 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4419 * gdb.base/annota3.exp: Idem.
4420 * gdb.base/maint.exp: Idem.
4421
4422 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4423
4424 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4425 to default.
4426
4427 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4428
4429 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4430 mingw and cygwin targets.
4431
4432 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4433 Pedro Alves <pedro@codesourcery.com>
4434
4435 * lib/gdb.exp (gdb_compile): Avoid adding
4436 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4437
4438 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4439
4440 * gdb.base/shr1.c: Use %p in format string.
4441 * gdb.base/unload.c: Avoid warning in fprintf.
4442 * gdb.base/watchpoint-solib.c: Idem.
4443
4444 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4445
4446 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4447 long type.
4448 (test_unlink): Correct printf string.
4449 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4450 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4451
4452 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4453
4454 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4455 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4456 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4457
4458 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4459
4460 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4461 * gdb.objc/nondebug.exp: Likewise.
4462
4463 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4464
4465 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4466 target_info setting.
4467
4468 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4469 that detect new threads during "info threads".
4470
4471 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4472
4473 * gdb.threads/manythreads.c (main): Increase thread stack size
4474 to 2*PTHREAD_STACK_MIN.
4475 * gdb.threads/multi-create.c (main): Likewise.
4476 (create_function): Likewise.
4477
4478 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4479
4480 * gdb.base/dump.exp: Pass difference of pointer types instead
4481 of integer types as offset to restore in intarr3.srec case.
4482
4483 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4484
4485 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4486
4487 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4488
4489 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4490
4491 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4492
4493 New test for two watchpoints, with disabling of
4494 the first inserted.
4495 * testsuite/gdb.base/watchpoints.c: New file.
4496 * testsuite/gdb.base/watchpoints.exp: New file.
4497
4498 2009-09-25 Tom Tromey <tromey@redhat.com>
4499
4500 * gdb.base/charset.exp: Test utf-16 strings with Python.
4501
4502 2009-09-25 Tom Tromey <tromey@redhat.com>
4503
4504 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4505 UCS-4.
4506 * gdb.base/charset.c (utf_32_string): Rename.
4507 (init_utf32): Rename.
4508 (main): Update.
4509
4510 2009-09-22 Tom Tromey <tromey@redhat.com>
4511
4512 * gdb.python/py-function.exp: Add regression tests.
4513
4514 2009-09-21 Keith Seitz <keiths@redhat.com>
4515
4516 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4517 with invalid operator.
4518
4519 2009-09-21 Keith Seitz <keiths@redhat.com>
4520
4521 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4522 and destructor using typedef name of class.
4523 * gdb.cp/classes.cc (class Base1): Add a destructor.
4524 (base1): New typedef.
4525 (use_methods): Instanitate an object of type base1.
4526 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4527 (do_tests): Call test_template_typedef.
4528 * gdb.cp/templates.cc (Baz::~Baz): New method.
4529 (intBazOne): New typedef.
4530 (main): Instantiate intBazOne.
4531
4532 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4533
4534 PR python/10633
4535
4536 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4537 Function.
4538 (run_lang_tests): Add print elements test.
4539
4540 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4541
4542 * gdb.python/py-value.exp (test_subscript_regression): New
4543 function. Test for invalid subscripts.
4544 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4545 (ptr_ref): New function.
4546
4547 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4548
4549 * gdb.base/default.exp: Fix "show convenience".
4550
4551 2009-09-15 Tom Tromey <tromey@redhat.com>
4552
4553 * lib/mi-support.exp (mi_create_varobj): Update.
4554 (mi_create_floating_varobj): Likewise.
4555 (mi_create_dynamic_varobj): New proc.
4556 (mi_varobj_update): Update.
4557 (mi_varobj_update_with_type_change): Likewise.
4558 (mi_varobj_update_kv_helper): New proc.
4559 (mi_varobj_update_dynamic_helper): Rewrite.
4560 (mi_varobj_update_dynamic): New proc.
4561 (mi_list_varobj_children): Update.
4562 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4563 * gdb.python/python-prettyprint.py (pp_outer): New class.
4564 (pp_nullstr): Likewise.
4565 (lookup_function): Register new printers.
4566 * gdb.python/python-prettyprint.c (struct substruct): New type.
4567 (struct outerstruct): Likewise.
4568 (substruct_test): New function.
4569 (struct nullstr): New type.
4570 (string_1, string_2): New globals.
4571 (main): Add new tests.
4572 * gdb.python/python-mi.exp: Added regression tests.
4573 * gdb.mi/mi2-var-display.exp: Update.
4574 * gdb.mi/mi2-var-cmd.exp: Update.
4575 * gdb.mi/mi2-var-child.exp: Update.
4576 * gdb.mi/mi2-var-block.exp: Update.
4577 * gdb.mi/mi-var-invalidate.exp: Update.
4578 * gdb.mi/mi-var-display.exp: Update.
4579 * gdb.mi/mi-var-cmd.exp: Update.
4580 * gdb.mi/mi-var-child.exp: Update.
4581 * gdb.mi/mi-var-block.exp: Update.
4582 * gdb.mi/mi-break.exp: Update.
4583 * gdb.mi/gdb701.exp: Update.
4584
4585 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4586
4587 * Makefile.in: Inclusion of catch-syscall object.
4588 * gdb.base/catch-syscall.c: New file.
4589 * gdb.base/catch-syscall.exp: New file.
4590
4591 2009-09-12 Michael Snyder <msnyder@vmware.com>
4592
4593 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4594 that can support reverse debuggnig.
4595
4596 2009-09-11 Tom Tromey <tromey@redhat.com>
4597
4598 * gdb.dwarf2/valop.S: New file.
4599 * gdb.dwarf2/valop.exp: New file.
4600
4601 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4602
4603 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4604
4605 2009-09-10 Doug Evans <dje@google.com>
4606
4607 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4608 Add $gdb_prompt to second breakpoint regexp.
4609
4610 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4611
4612 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4613 names, add missing ones.
4614 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4615 * gdb.python/py-frame.c: Rename from python-frame.c.
4616 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4617 testfile name.
4618 * gdb.python/py-function.exp: Rename from python-function.exp.
4619 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4620 testfile name.
4621 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4622 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4623 Adjust testfile name.
4624 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4625 * gdb.python/py-template.cc: Rename from python-template.cc.
4626 * gdb.python/py-template.exp: Rename from python-template.exp.
4627 Adjust testfile name.
4628 * gdb.python/py-value.c: Rename from python-value.c.
4629 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4630 testfile name.
4631
4632 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4633
4634 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4635 $bpt2address.
4636 (Second breakpoint address is valid on ia64)
4637 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4638
4639 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4640
4641 * gdb.base/ending-run.exp: Restrict regular expression matching
4642 line number to require closing brace following.
4643
4644 2009-09-03 Doug Evans <dje@google.com>
4645
4646 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4647
4648 2009-09-02 Tom Tromey <tromey@redhat.com>
4649
4650 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4651
4652 2009-09-02 Tom Tromey <tromey@redhat.com>
4653
4654 * gdb.dwarf2/callframecfa.exp: New file.
4655 * gdb.dwarf2/callframecfa.S: New file.
4656
4657 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4658
4659 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4660 gdb.base/solib-overlap-main.c: New.
4661
4662 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4663
4664 PR gdb/10565
4665
4666 * gdb.base/bitfields.c (struct container, container): New.
4667 (main): Initialize it and call break5.
4668 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4669
4670 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4671
4672 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4673 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4674
4675 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4676
4677 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4678
4679 2009-08-26 Michael Snyder <msnyder@vmware.com>
4680
4681 * gdb.base/i386-reverse.c: New file.
4682 * gdb.base/i386-reverse.exp: New file.
4683 * gdb.base/Makefile.in: Add new files to be removed.
4684
4685 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4686
4687 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4688 environment-pwd for remote host.
4689 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4690
4691 2009-08-24 Keith Seitz <keiths@redhat.com>
4692
4693 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4694 Add two new C++ completer tests which limit the output to a
4695 given class.
4696
4697 2009-08-24 Michael Snyder <msnyder@vmware.com>
4698
4699 * gdb.base/del.exp: Fix typo in comment.
4700 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4701
4702 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4703
4704 * configure: Regenerate.
4705 * gdb.hp/configure: Likewise.
4706 * gdb.hp/gdb.aCC/configure: Likewise.
4707 * gdb.hp/gdb.base-hp/configure: Likewise.
4708 * gdb.hp/gdb.compat/configure: Likewise.
4709 * gdb.hp/gdb.defects/configure: Likewise.
4710 * gdb.hp/gdb.objdbg/configure: Likewise.
4711 * gdb.stabs/configure: Likewise.
4712
4713 2009-08-19 Doug Evans <dje@google.com>
4714
4715 * gdb.base/gdbvars.c: New file.
4716 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4717
4718 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4719
4720 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4721 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4722
4723 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4724
4725 * gdb.base/default.exp: Adjust "set language test": it's now an
4726 enum command. Larger help string moved to "help set language".
4727 * gdb.base/help.exp: Adjust "help set language" expected output,
4728 now lists all known languages.
4729
4730 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4731
4732 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4733 all frame arguments.
4734 * gdb.arch/altivec-regs.exp: Likewise.
4735
4736 2009-08-07 Tom Tromey <tromey@redhat.com>
4737
4738 * gdb.base/setshow.exp: Add tests for changes to set language, set
4739 check range, and set check type.
4740
4741 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4742
4743 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4744 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4745 Call it.
4746
4747 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4748
4749 * configure.ac: Run gdb.cell tests when appropriate.
4750 * configure: Regenerate.
4751 * lib/cell.exp: New file.
4752 * gdb.cell: New directory.
4753 * gdb.cell/configure.ac: New file.
4754 * gdb.cell/configure: New file.
4755 * gdb.cell/Makefile.in: New file.
4756 * gdb.cell/arch.exp: New file.
4757 * gdb.cell/break.c: New file.
4758 * gdb.cell/break.exp: New file.
4759 * gdb.cell/break-spu.c: New file.
4760 * gdb.cell/bt.c: New file.
4761 * gdb.cell/bt2-spu.c: New file.
4762 * gdb.cell/bt-spu.c: New file.
4763 * gdb.cell/bt.exp: New file.
4764 * gdb.cell/coremaker.c: New file.
4765 * gdb.cell/coremaker-spu.c: New file.
4766 * gdb.cell/core.exp: New file.
4767 * gdb.cell/gcore.exp: New file.
4768 * gdb.cell/data.c: New file.
4769 * gdb.cell/data.exp: New file.
4770 * gdb.cell/data-spu.c: New file.
4771 * gdb.cell/ea-cache.exp: New file.
4772 * gdb.cell/ea-cache.c: New file.
4773 * gdb.cell/ea-cache-spu.c: New file.
4774 * gdb.cell/ea-standalone.c: New file.
4775 * gdb.cell/ea-standalone.exp: New file.
4776 * gdb.cell/ea-test.c: New file.
4777 * gdb.cell/ea-test.exp: New file.
4778 * gdb.cell/f-regs.exp: New file.
4779 * gdb.cell/mem-access.c: New file.
4780 * gdb.cell/mem-access.exp: New file.
4781 * gdb.cell/mem-access-spu.c: New file.
4782 * gdb.cell/ptype.exp: New file.
4783 * gdb.cell/registers.exp: New file.
4784 * gdb.cell/size.c: New file.
4785 * gdb.cell/sizeof.exp: New file.
4786 * gdb.cell/size-spu.c: New file.
4787 * gdb.cell/solib.exp: New file.
4788 * gdb.cell/solib-symbol.exp: New file.
4789
4790 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4791
4792 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4793
4794 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4795
4796 * gdb.base/float.exp: Handle VFP registers.
4797
4798 2009-07-14 Michael Snyder <msnyder@vmware.com>
4799
4800 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4801 to bring gdb to the beginning of the calling line.
4802
4803 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4804 confusing the i386 epilogue unwinder.
4805
4806 2009-07-14 Stan Shebs <stan@codesourcery.com>
4807
4808 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4809
4810 2009-07-14 Michael Snyder <msnyder@vmware.com>
4811
4812 * gdb.reverse/step-reverse.exp (stepi into function call):
4813 Call instruction may not be first instruction in the line.
4814 (reverse stepi from a function call): Used wrong line number.
4815
4816 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4817
4818 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4819
4820 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 Fix gdb.base/macscp.exp when using custom inputrc.
4823 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4824 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4825 env(TERM) set.
4826 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4827 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4828
4829 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4830
4831 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4832 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4833 Change the compilation target to match the testcase name.
4834 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4835 testcase name.
4836 * a2-run.exp: Use for setup prepare_for_testing. Change the
4837 compilation target to match the testcase name.
4838 * gdb.base/commands.exp: Likewise.
4839 * gdb.base/finish.exp: Likewise.
4840 * gdb.base/float.exp: Likewise.
4841 * gdb.base/info-target.exp: Likewise.
4842 * gdb.base/relational.exp: Likewise.
4843 * gdb.base/term.exp: Likewise.
4844 * gdb.base/until.exp: Likewise.
4845 * gdb.base/volatile.exp: Likewise.
4846 * gdb.base/whatis-exp.exp: Likewise.
4847
4848 2009-07-11 Hui Zhu <teawater@gmail.com>
4849
4850 * gdb.base/help.exp (disassemble): Update expected help text.
4851
4852 2009-07-09 Tom Tromey <tromey@redhat.com>
4853
4854 * lib/gdb.exp: Handle TRANSCRIPT.
4855 (remote_spawn, remote_close, send_gdb): New procs.
4856
4857 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4858
4859 * gdb.python/python-prettyprint.c: Add counted null string
4860 structure.
4861 * gdb.python/python-prettyprint.exp: Print null string. Test for
4862 embedded nulls.
4863 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4864 * gdb.python/python-value.exp (test_value_in_inferior): Add
4865 variable length string fetch tests.
4866 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4867
4868 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4871
4872 2009-07-07 Tom Tromey <tromey@redhat.com>
4873
4874 * gdb.base/call-rt-st.exp: Update for change to escape output.
4875 * gdb.base/callfuncs.exp: Likewise.
4876 * gdb.base/charset.exp: Likewise.
4877 * gdb.base/constvars.exp: Likewise.
4878 * gdb.base/long_long.exp: Likewise.
4879 * gdb.base/pointers.exp: Likewise.
4880 * gdb.base/printcmds.exp: Likewise.
4881 * gdb.base/setvar.exp: Likewise.
4882 * gdb.base/store.exp: Likewise.
4883 * gdb.cp/ref-types.exp: Likewise.
4884 * gdb.mi/mi-var-child.exp: Likewise.
4885 * gdb.mi/mi-var-display.exp: Likewise.
4886 * gdb.mi/mi2-var-display.exp: Likewise.
4887 * gdb.base/charset.exp: Test octal escape sequence length.
4888 Update for change to escape output.
4889
4890 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4893
4894 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4895
4896 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4897
4898 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4899
4900 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4901 gdbserver increasing $portnum if "Can't bind address" has been seen.
4902
4903 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4904
4905 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4906 mingw32ce.
4907
4908 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4909
4910 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4911 VFP format.
4912
4913 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4914
4915 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4916 linux. Adjust to use "inferior", "info inferiors", "detach
4917 inferior" and "kill inferior" instead of "restart", "info fork",
4918 "detach fork" and "delete fork".
4919 * gdb.base/ending-run.exp: Spell out "info".
4920 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4921 the "kill" command.
4922
4923 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4924
4925 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4926 change to prefix TLS offset in hex with 0x.
4927
4928 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4929
4930 * gdb.base/default.exp: Update test case for "x" changes.
4931
4932 2009-07-01 Tristan Gingold <gingold@adacore.com>
4933
4934 * gdb.base/bigcore.exp: Make darwin untested.
4935
4936 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4937
4938 * gdb.base/completion.exp (directory completion): Create the directory.
4939 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4940 escapeuniquesub.
4941 (directory completion 2): Expect now ${escapeuniquesub}.
4942 (Glob remaining of directory test): Remove one excessive newline.
4943 Expect the real output.
4944
4945 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4946
4947 Fix `make check//%' target after `make check' has been ran.
4948 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4949 a mkdir call.
4950 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4951 (%/.dir): Remove.
4952
4953 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4954
4955 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4956 the expected result record.
4957
4958 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4959
4960 Remove racy FAILs relying just on the timeouts.
4961 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4962 (annotation_level 2): Remove racy FAILs.
4963
4964 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4965
4966 gdb/10275
4967 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4968
4969 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4970
4971 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4972
4973 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4974
4975 * gdb.mi/mi-stack.exp: Testing symbolic options
4976 to -stack-list-locals and -stack-list-arguments.
4977
4978 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4979
4980 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4981
4982 2009-06-29 Tom Tromey <tromey@redhat.com>
4983
4984 * dg-extract-results.sh: New file.
4985 * Makefile.in (FORCE_PARALLEL): New variable.
4986 (CHECK_TARGET): New conditional variable.
4987 (check): Use CHECK_TARGET.
4988 (DO_RUNTEST): New variable.
4989 (check-single): New target.
4990 (TEST_DIRS): New variable.
4991 (TEST_TARGETS): Likewise.
4992 (check-parallel): New target.
4993 (check-gdb.%): New pattern.
4994 (BASE1_FILES): New variable.
4995 (BASE2_FILES): Likewise.
4996 (check-gdb.base%): New pattern.
4997 (%/.dir): New pattern.
4998 * configure: Rebuild.
4999 * aclocal.m4 (AM_CONDITIONAL): New defun.
5000 * configure.ac: Check whether user is using GNU make.
5001 (GMAKE): New conditional.
5002
5003 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5004
5005 * gdb.cp/namespace-nested-import.cc: New test.
5006 * gdb.cp/namespace-nested-import.exp: New test.
5007
5008 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5009
5010 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5011 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5012 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5013 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5014 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5015 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5016 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5017 gdb.opt/inline-markers.c: New files.
5018 * lib/gdb.exp (skip_inline_frame_tests): New function.
5019 (skip_inline_var_tests): New function.
5020
5021 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5022
5023 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5024 backtrace.
5025
5026 2009-06-27 Michael Snyder <msnyder@vmware.com>
5027
5028 * gdb.reverse: New directory.
5029 * gdb.reverse/break-reverse.c: New test.
5030 * gdb.reverse/break-reverse.exp: New test.
5031 * gdb.reverse/consecutive-reverse.c: New test.
5032 * gdb.reverse/consecutive-reverse.exp: New test.
5033 * gdb.reverse/finish-reverse.c: New test.
5034 * gdb.reverse/finish-reverse.exp: New test.
5035 * gdb.reverse/machinestate.c: New test.
5036 * gdb.reverse/ms1.c: New test.
5037 * gdb.reverse/machinestate.exp: New test.
5038 * gdb.reverse/Makefile.in: New file.
5039 * gdb.reverse/shr2.c: New test.
5040 * gdb.reverse/solib-reverse.c: New test.
5041 * gdb.reverse/solib-reverse.exp: New test.
5042 * gdb.reverse/step-reverse.c: New test.
5043 * gdb.reverse/step-reverse.exp: New test.
5044 * gdb.reverse/until-reverse.c: New test.
5045 * gdb.reverse/ur1.c: New test.
5046 * gdb.reverse/until-reverse.exp: New test.
5047 * gdb.reverse/watch-reverse.c: New test.
5048 * gdb.reverse/watch-reverse.exp: New test.
5049 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5050 * configure: Regenerate.
5051
5052 2009-06-26 Doug Evans <dje@google.com>
5053
5054 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5055
5056 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5057
5058 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5059 windows problem for 'file delete $binfile'.
5060
5061 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5062
5063 * gdb.cp/namespace-using.exp: New test.
5064 * gdb.cp/namespace-using.cc: New test.
5065
5066 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5067
5068 * gdb.ada/variant_record_packed_array: New testcase.
5069
5070 2009-06-23 Tom Tromey <tromey@redhat.com>
5071
5072 * gdb.base/charset.exp (test_combination): Regression test.
5073 * gdb.base/charset.c (my_wchar_t): New typedef.
5074 (myvar): New global.
5075 (main): Set myvar.
5076
5077 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5078
5079 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5080 target.
5081
5082 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5083
5084 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5085
5086 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5087
5088 * gdb.mi/gdb680.exp: Update test for error message.
5089
5090 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5091
5092 * gdb.base/annota1.exp: Allow multiple occurrences of the
5093 frames-invalid annotation.
5094 * gdb.cp/annota2.exp: Likewise.
5095
5096 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5097
5098 * gdb.cp/gdb2495.cc: New file.
5099 * gdb.cp/gdb2495.exp: New file.
5100
5101 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5102
5103 Report error on GDB crash during runto.
5104 * lib/gdb.exp (runto <eof>): New.
5105
5106 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5107
5108 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5109 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5110 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5111 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5112 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5113 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5114 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5115 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5116 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5117 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5118 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5119 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5120 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5121 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5122 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5123 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5124 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5125 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5126 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5127 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5128 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5129 gdb.trace/passcount.exp, gdb.trace/report.exp,
5130 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5131 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5132 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5133 executable.
5134
5135 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5136
5137 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5138 defined before referencing it.
5139
5140 2009-06-03 Doug Evans <dje@google.com>
5141
5142 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5143 * gdb.arch/i386-see.c: Ditto.
5144
5145 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5146
5147 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5148 (check_macro): Return 1 if undefined.
5149 If first test fails, check if macro debug information is available,
5150 and report unsupported test if no macro information is found.
5151
5152 2009-05-29 Doug Evans <dje@google.com>
5153
5154 * gdb.threads/hand-call-in-threads.exp: New.
5155 * gdb.threads/hand-call-in-threads.c: New.
5156
5157 2009-05-29 Michael Snyder <msnyder@vmware.com>
5158
5159 * gdb.base/break-always.exp: Change "1" to "on".
5160 Add confirmation check.
5161
5162 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5163
5164 * gdb.threads/threxit-hop-specific.c: New.
5165 * gdb.threads/threxit-hop-specific.exp: New.
5166 * gdb.threads/thread-execl.c: New.
5167 * gdb.threads/thread-execl.exp: New.
5168
5169 2009-05-27 Tom Tromey <tromey@redhat.com>
5170 Thiago Jung Bauermann <bauerman@br.ibm.com>
5171
5172 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5173 (mi_child_regexp): Likewise.
5174 (mi_list_varobj_children_range): Likewise.
5175 (mi_get_features): Likewise.
5176 (mi_list_varobj_children): Rewrite.
5177 * gdb.python/python-mi.exp: New file.
5178
5179 2009-05-27 Tom Tromey <tromey@redhat.com>
5180 Thiago Jung Bauermann <bauerman@br.ibm.com>
5181 Phil Muldoon <pmuldoon@redhat.com>
5182 Paul Pluzhnikov <ppluzhnikov@google.com>
5183
5184 * gdb.python/python-prettyprint.exp: New file.
5185 * gdb.python/python-prettyprint.c: New file.
5186 * gdb.python/python-prettyprint.py: New file.
5187 * gdb.base/display.exp: print/r is now valid.
5188
5189 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5190 Tom Tromey <tromey@redhat.com>
5191 Pedro Alves <pedro@codesourcery.com>
5192 Paul Pluzhnikov <ppluzhnikov@google.com>
5193
5194 * gdb.python/python-template.exp: New file.
5195 * gdb.python/python-template.cc: New file.
5196 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5197 tests.
5198 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5199 Call it.
5200 (test_value_after_death): New proc.
5201 * gdb.python/python-value.c (PTR): New typedef.
5202 (main): New variable 'x'.
5203
5204 2009-05-27 Tom Tromey <tromey@redhat.com>
5205
5206 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5207 tests.
5208 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5209 Call it.
5210
5211 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5212
5213 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5214
5215 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5216
5217 * gdb.threads/fork-thread-pending.c: New.
5218 * gdb.threads/fork-thread-pending.exp: New.
5219
5220 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5221
5222 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5223 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5224
5225 2009-05-18 Jon Beniston <jon@beniston.com>
5226
5227 * gdb.asm/asm-source.exp: Add lm32 target.
5228
5229 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5230
5231 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5232 `gdb_get_line_number'. Call `callee' in both parent and child.
5233 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5234 `gdb_get_line_number' instead of hardcoding line numbers.
5235 (catch_fork_unpatch_child): New procedure to test detaching
5236 breakpoints from child fork.
5237 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5238 hardcoding line numbers.
5239 (do_fork_tests): Run `catch_fork_unpatch_child'.
5240
5241 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5242
5243 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5244 of structure type enters or leaves the scope, it
5245 is reported by -var-update.
5246
5247 2009-05-11 Doug Evans <dje@sebabeach.org>
5248
5249 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5250 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5251 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5252
5253 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5254
5255 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5256
5257 2009-04-30 Doug Evans <dje@google.com>
5258
5259 * gdb.threads/watchthreads2.exp: New testcase.
5260 * gdb.threads/watchthreads2.c: New testcase.
5261
5262 2009-04-29 Doug Evans <dje@google.com>
5263
5264 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5265 * gdb.cp/mb-ctor.cc: Ditto.
5266 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5267 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5268 * gdb.cp/mb-inline1.cc: Call it.
5269 * gdb.cp/mb-inline2.cc: Ditto.
5270 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5271 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5272
5273 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5274
5275 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5276 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5277 Replace all uses of `decimal' by `nonzero'.
5278 (info macro FROM_COMMANDLINE): New test.
5279
5280 2009-04-27 Tom Tromey <tromey@redhat.com>
5281
5282 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5283
5284 2009-04-27 Doug Evans <dje@google.com>
5285
5286 * gdb.threads/watchthreads.c (main): Initialize args before starting
5287 the threads. Plus formatting cleanup.
5288 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5289 biased scheduling of one thread.
5290
5291 2009-04-27 Jerome Guitton <guitton@adacore.com>
5292
5293 * gdb.cp/templates.cc (GetMax): New template.
5294 (main): Declare two instances of GetMax.
5295 * gdb.cp/templates.exp: Add new test.
5296
5297 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5298
5299 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5300
5301 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5302
5303 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5304
5305 2009-04-15 Tom Tromey <tromey@redhat.com>
5306
5307 * gdb.base/charset.exp: Add regression test.
5308
5309 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5310
5311 * gdb.base/exe-lock.exp: New testcase.
5312
5313 2009-04-13 Tom Tromey <tromey@redhat.com>
5314
5315 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5316 operator on Frame.
5317
5318 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5319
5320 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5321 * gdb.server/ext-attach.exp: Likewise.
5322
5323 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5324
5325 Eliminate some sleep usage.
5326
5327 * gdb.mi/basics.c (do_nothing): New.
5328 (main): Use do_nothing instead of printf, so that
5329 not to introduce race condition between output of
5330 inferiour and output of gdb. Do not use sleep as it
5331 is not generally available on embedded targets.
5332
5333 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5334
5335 * gdb.server/ext-attach.exp: Expect an optional process id after
5336 "Detached from remote process".
5337
5338 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5339
5340 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5341 gdb.dwarf2/dw2-unresolved.exp: New.
5342
5343 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5344
5345 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5346 mi_run_to_main.
5347
5348 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5349
5350 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5351 mi_run_to_main. Skip thread exit test on remote targets.
5352 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5353 mi_run_to_main.
5354 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5355 mi_run_to_main.
5356 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5357 when expecting ^connected. Detect when the target doesn't support
5358 non-stop mode.
5359 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5360 supported. Return -1 on error, 0 on success.
5361 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5362 (mi_runto): Return mi_runto_helper's result explicitly.
5363
5364 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5365
5366 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5367
5368 2009-04-01 Tom Tromey <tromey@redhat.com>
5369
5370 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5371 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5372 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5373 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5374
5375 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5376 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 PR gdb/931
5379 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5380 output.
5381 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5382 for gdb/931.
5383 * dw2-strp.S (DW_AT_language): Change to C++.
5384 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5385
5386 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5387
5388 * gdb.ada/tasks: New testcase.
5389
5390 2009-03-30 Stan Shebs <stan@codesourcery.com>
5391
5392 * gdb.trace/actions.exp: Update to match new info trace format.
5393 * gdb.trace/deltrace.exp: Ditto.
5394 * gdb.trace/infotrace.exp: Ditto.
5395 * gdb.trace/passcount.exp: Ditto.
5396 * gdb.trace/save-trace.exp: Ditto.
5397 * gdb.trace/while-stepping.exp: Ditto.
5398 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5399
5400 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5401
5402 * gdb.python/python-frame.c: New file.
5403 * gdb.python/python-frame.exp: New file.
5404
5405 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5406
5407 * gdb.python/python-value.exp: Add tests for the address
5408 attribute.
5409
5410 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5411
5412 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5413
5414 2009-03-26 Doug Evans <dje@google.com>
5415
5416 * gdb.mi/mi-nonstop-exit.exp: New file.
5417 * gdb.mi/non-stop-exit.c: New file.
5418
5419 2009-03-26 Tom Tromey <tromey@redhat.com>
5420
5421 Update for change to prologue skipping:
5422 * gdb.mi/mi2-simplerun.exp: Update.
5423 * gdb.mi/mi2-break.exp: Update.
5424 * gdb.mi/mi-simplerun.exp: Update.
5425 * gdb.mi/mi-break.exp: Update.
5426 * gdb.base/ending-run.exp: Update.
5427
5428 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5429
5430 * gdb.python/python-value.exp (test_value_in_inferior): Test
5431 gdb.Value.is_optimized_out attribute.
5432
5433 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5434
5435 * gdb.dwarf2/dw2-noloc-main.c: New file.
5436 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5437 (.text): Remove.
5438 (.data): New.
5439 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5440 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5441 (DW_TAG_subprogram func_cu1, noloc): Remove.
5442 (main): New.
5443 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5444 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5445 (file_symbols): New procedure.
5446
5447 2009-03-25 Tom Tromey <tromey@redhat.com>
5448
5449 * gdb.base/charset.exp (valid_target_charset): New proc.
5450 Use it to skip tests on invalid charsets.
5451
5452 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5453
5454 * gdb.base/completion.exp: Add a test for directory completion.
5455
5456 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5457
5458 Fix a racy FAIL.
5459 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5460 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5461
5462 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5463
5464 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5465 * gdb.python/python-function.exp: Add test for function returning
5466 a GDB value.
5467
5468 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5469
5470 * gdb.python/python-function.exp: New file.
5471
5472 2009-03-20 Tom Tromey <tromey@redhat.com>
5473
5474 * gdb.base/store.exp: Update for change to escape output.
5475 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5476 to escape output.
5477 * gdb.base/pointers.exp: Update for change to escape output.
5478 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5479 to escape output.
5480 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5481 escape output.
5482 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5483 to escape output.
5484 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5485 escape output.
5486 * gdb.base/setvar.exp: Update for change to escape output.
5487 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5488 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5489 to escape output.
5490 (test_print_string_constants): Likewise.
5491 * gdb.base/charset.exp (valid_host_charset): Check size of
5492 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5493 cases. Handle "auto"-related output.
5494 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5495 (uvar, Uvar): New globals.
5496
5497 2009-03-19 Jerome Guitton <guitton@adacore.com>
5498
5499 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5500 deltas.
5501 * gdb.ada/fixed_points.exp: Ditto.
5502
5503 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5504
5505 * return-nodebug.c: Don't include stdio.h.
5506 (init): Delete.
5507 (func): Delete definition and provide extern declaration.
5508 (t): New.
5509 (main): Don't call printf. Call func and store its result in t.
5510 * return-nodebug1.c: New.
5511 * return-nodebug.exp: Don't expect stdio output. Instead, print
5512 the global variable t. Drop printf formatters and cast types from
5513 foreach loop. Don't use prepare_for_testing. Compile
5514 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5515 define FORMAT or CAST.
5516
5517 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5518
5519 * gdb.base/solib-display.exp: Disable test for remote targers.
5520
5521 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5522
5523 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5524
5525 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5526
5527 Fix a racy FAIL.
5528 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5529 code from `follow parent, print pids'.
5530 (`follow child, print pids', `follow parent, print pids'): Call it.
5531 Replace `gdb_test "break..."' by gdb_breakpoint.
5532
5533 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5534
5535 * gdb.mi/mi-cli.exp: Adjust for output difference in
5536 sync and async modes.
5537
5538 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5539
5540 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5541 that was checked in by mistake. Remove loading of ada.exp, since
5542 this is not necessary in this case.
5543
5544 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5545
5546 * gdb.ada/ptype_arith_binop.exp: New testcase.
5547
5548 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5549
5550 * gdb.ada/mod_from_name: New testcase.
5551
5552 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5553
5554 * gdb.ada/tick_last_segv: New testcase.
5555
5556 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5557
5558 * gdb.mi/mi-cli.exp: Remove debug print.
5559
5560 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5561
5562 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5563 include the token in ^running and frame info in *stopped.
5564
5565 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5566
5567 * solib-display.exp: New file.
5568 * solib-display-main.c: New file.
5569 * solib-display-lib.c: New file.
5570
5571 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5572
5573 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5574
5575 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5576
5577 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5578 (list_and_check_macro): Use more specific test name.
5579 (next to definition): Make the test names unique.
5580
5581 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5582
5583 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5584
5585 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5586
5587 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5588 notifications.
5589 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5590 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5591 * lib/mi-support.exp (library_loaded_re): New.
5592 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5593
5594 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5595
5596 * gdb.gdb/observer.exp: Use test_notification observer, not
5597 normal_stop, everywhere.
5598 (test_normal_stop_notifications): Rename to...
5599 (test_notifications): ...this.
5600 (test_observer_normal_stop): Rename to...
5601 (test_observer): ...this.
5602
5603 2009-02-16 Doug Evans <dje@google.com>
5604
5605 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5606 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5607 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5608 (test_prefixed_syscall,test_int3): New tests.
5609 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5610 (test_prefixed_syscall,test_int3): New tests.
5611
5612 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5613
5614 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5615 (mi_expect_interrupt): Likewise.
5616 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5617 response.
5618
5619 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5620
5621 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5622 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5623 Replace calls to get_valueofx by get_hexadecimal_valueof.
5624
5625 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5626
5627 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5628 (get_integer_valueof): New procedure.
5629 (get_sizeof): Use new get_integer_value_of.
5630 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5631 by get_integer_valueof.
5632
5633 2009-02-13 Tom Tromey <tromey@redhat.com>
5634
5635 * gdb.base/remote.exp (get_sizeof): Remove.
5636 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5637 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5638 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5639 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5640 (get_sizeof): Likewise.
5641
5642 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5643
5644 PR fortran/9806
5645 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5646
5647 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5648
5649 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5650
5651 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5652
5653 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5654
5655 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5656
5657 * gdb.python/python-cmd.exp: New file.
5658
5659 2009-02-06 Tristan Gingold <gingold@adacore.com>
5660
5661 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5662
5663 2009-02-05 Tristan Gingold <gingold@adacore.com>
5664
5665 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5666 pointer is dereferenced and use this signal name in regexp.
5667 * gdb.base/signull.exp: Ditto.
5668 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5669 * gdb.base/signull.c (main): Ditto.
5670
5671 2009-02-04 Tom Tromey <tromey@redhat.com>
5672 Thiago Jung Bauermann <bauerman@br.ibm.com>
5673
5674 * gdb.python/python-value.exp: Use `gdb.history' instead of
5675 `gdb.value_from_history'.
5676 (test_value_numeric_ops): Add test for conversion of enum constant.
5677 * gdb.python/python-value.c (enum e): New type.
5678 (evalue): New global.
5679 (main): Use argv.
5680
5681 2009-02-04 Jerome Guitton <guitton@adacore.com>
5682
5683 * gdb.ada/uninitialized_vars: New test program.
5684 * gdb.ada/uninitialized_vars.exp: New testcase.
5685
5686 2009-02-02 Tom Tromey <tromey@redhat.com>
5687
5688 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5689 * gdb.cp/pr2489.cc: Rename...
5690 * gdb.cp/pr9594.cc: ... to this.
5691
5692 2009-02-02 Tom Tromey <tromey@redhat.com>
5693
5694 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5695 * gdb.cp/pr2489.cc: New file.
5696 * gdb.cp/cpcompletion.exp: New file.
5697
5698 2009-02-02 Tom Tromey <tromey@redhat.com>
5699
5700 PR exp/9059:
5701 * gdb.cp/call-c.exp: Add regression test.
5702 * gdb.cp/call-c.cc (FooHandle): New typedef.
5703 (main): New variable 'handle'.
5704
5705 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5706
5707 * lib/mi-support.exp (et_mi_thread_list)
5708 (check_mi_and_console_threads): Adjust for current thread in
5709 -thread-list-ids output.
5710
5711 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5712
5713 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5714 Call it.
5715
5716 2009-01-28 Doug Evans <dje@google.com>
5717
5718 * gdb.arch/amd64-disp-step.S: New file.
5719 * gdb.arch/amd64-disp-step.exp: New file.
5720 * gdb.arch/i386-disp-step.S: New file.
5721 * gdb.arch/i386-disp-step.exp: New file.
5722
5723 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5724
5725 * gdb.base/find.exp: Set newline variable
5726 using quotes instead of braces to fix cygwin failures.
5727
5728 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5729
5730 * gdb.base/radix.exp: Add tests to ensure that that set
5731 input-radix 0 and set output-radix 0 are really rejected.
5732
5733 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5734
5735 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5736 copyright years.
5737
5738 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5739
5740 PR gdb/9664:
5741 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5742
5743 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5744
5745 PR c++/9631:
5746 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5747
5748 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5749
5750 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5751 binfile definition to fix Windows OS failure.
5752
5753 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5754
5755 PR gdb/9346
5756 * gdb.base/interrupt.c (sigint_handler): New.
5757 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5758 on error.
5759 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5760 Test "signal SIGINT".
5761
5762 2009-01-19 Doug Evans <dje@google.com>
5763
5764 * gdb.base/break.exp: Update expected gdb output.
5765 * gdb.base/sepdebug.exp: Ditto.
5766 * gdb.mi/mi-syn-frame.exp: Ditto.
5767 * gdb.mi/mi2-syn-frame.exp: Ditto.
5768 * gdb.base/call-signal-resume.exp: New file.
5769 * gdb.base/call-signals.c: New file.
5770 * gdb.base/unwindonsignal.exp: New file.
5771 * gdb.base/unwindonsignal.c: New file.
5772 * gdb.threads/interrupted-hand-call.exp: New file.
5773 * gdb.threads/interrupted-hand-call.c: New file.
5774 * gdb.threads/thread-unwindonsignal.exp: New file.
5775
5776 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5777
5778 * gdb.base/define.exp: Test defining and hooking prefix commands.
5779 * gdb.python/python.exp: Update test for "show user" output.
5780
5781 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5782
5783 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5784 now the output exactly, using less wildcards. Expect also the output
5785 of gfortran-4.3. Update for the f-valprint.c modification from
5786 2008-04-22.
5787 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5788 Remove gdb_test test names where matching the command.
5789
5790 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5791
5792 PR breakpoints/9681:
5793 * gdb.base/watchpoint.exp: Add regression test.
5794
5795 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5796
5797 * gdb.threads/attach-into-signal.exp: Don't use
5798 gdb_suppress_entire_file.
5799 * gdb.threads/attach-stopped.exp: Ditto.
5800 * gdb.threads/attachstop-mt.exp: Ditto.
5801
5802 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5803
5804 PR gdb/8812:
5805 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5806
5807 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5808
5809 PR gdb/7536:
5810 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5811 and unsupported output radices are really rejected.
5812
5813 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5814
5815 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5816
5817 2008-12-22 Tom Tromey <tromey@redhat.com>
5818
5819 * gdb.cp/punctuator.exp: New file.
5820
5821 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5822
5823 * gdb.base/completion.exp (Completing non-existing component): New test.
5824
5825 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 Fix for PR gdb/8648.
5828 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5829 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5830 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5831 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5832
5833 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5834
5835 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5836
5837 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5838
5839 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5840 compiler actually generate code at the expected line number.
5841
5842 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5843
5844 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5845
5846 2008-12-12 Tom Tromey <tromey@redhat.com>
5847
5848 * gdb.base/commands.exp (redefine_hook_test): New proc.
5849 Call it.
5850
5851 2008-12-11 Tom Tromey <tromey@redhat.com>
5852
5853 * gdb.base/macscp.exp: New regression test.
5854
5855 2008-12-11 Tom Tromey <tromey@redhat.com>
5856
5857 * gdb.base/macscp.exp: Print "address.addr".
5858 * gdb.base/macscp1.c (struct outer): New struct.
5859 (address): New global.
5860
5861 2008-12-09 Tom Tromey <tromey@redhat.com>
5862
5863 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5864 Call it.
5865
5866 2008-12-04 Doug Evans <dje@google.com>
5867
5868 * gdb.server/ext-run.exp: Relax regexp for init program.
5869
5870 2008-12-03 Tristan Gingold <gingold@adacore.com>
5871
5872 * gdb.base/macscp.exp: Generate an object file during compilation
5873 to work around Darwin dsymutil limitations.
5874
5875 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5876
5877 Test resolving external references to TLS variables.
5878 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5879 FILE2_THREAD_LOCAL.
5880 (testfile2, srcfile2): New variables.
5881 * gdb.threads/tls.c (file2_thread_local)
5882 (function_referencing_file2_thread_local): New.
5883 * gdb.threads/tls2.c: New file.
5884
5885 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5886
5887 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5888 rather than integer, as integer might not be big enough when
5889 on 64bit targets.
5890
5891 2008-11-27 Jerome Guitton <guitton@adacore.com>
5892
5893 * gdb.cp/formatted-ref.exp: Add equality test.
5894 * gdb.ada/formatted_ref.exp: Ditto.
5895
5896 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5899 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5900
5901 2008-11-20 Andreas Schwab <schwab@suse.de>
5902
5903 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5904 matching syscall entry point.
5905 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5906 (tcatch_vfork_then_child_follow): Likewise. Finish through
5907 vfork even if we stopped at the syscall trampoline.
5908
5909 2008-11-20 Doug Evans <dje@google.com>
5910
5911 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5912
5913 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5914
5915 * gdb.arch/ppc-dfp.exp: New file.
5916 * gdb.arch/ppc-dfp.c: New file.
5917
5918 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5919
5920 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5921
5922 2008-11-17 Doug Evans <dje@google.com>
5923
5924 * gdb.mi/mi-syn-frame.exp: Update expected output.
5925 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5926
5927 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5928
5929 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5930 "thread N" results in =thread-selected.
5931 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5932 (mi_send_resuming_command_raw): Be prepared for
5933 =thread-selected.
5934
5935 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5936
5937 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5938 * lib/mi-support.exp: Likewise.
5939
5940 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5941
5942 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5943 commands from the expected output for "help catch".
5944
5945 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5946
5947 * gdb.ada/int_deref.exp: New testcase.
5948
5949 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5950
5951 * gdb.mi/gdb2549.exp: New file.
5952
5953 2008-11-11 Doug Evans <dje@google.com>
5954
5955 * gdb.base/callexit.exp: New file.
5956 * gdb.base/callexit.c: New file.
5957
5958 2008-11-10 Doug Evans <dje@google.com>
5959
5960 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5961 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5962 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5963 (default_gdb_start,default_gdb_exit): Ditto.
5964 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5965 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5966 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5967 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5968 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5969 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5970
5971 2008-11-03 Andreas Schwab <schwab@suse.de>
5972
5973 * gdb.base/hashline2.exp: Fix typo.
5974 * gdb.base/hashline3.exp: Likewise.
5975
5976 2008-10-30 Tom Tromey <tromey@redhat.com>
5977
5978 * gdb.base/pointers.exp: Add test.
5979 * gdb.base/pointers.c (k, S): New typedefs.
5980 (instance): New global.
5981
5982 2008-10-30 Andreas Schwab <schwab@suse.de>
5983
5984 * gdb.base/args.exp: Add tests for newlines.
5985
5986 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5987
5988 gdb.base/foll-exec.exp: Update the expected output of a couple
5989 of "info breakpoints" tests.
5990
5991 2008-10-28 Tom Tromey <tromey@redhat.com>
5992
5993 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5994
5995 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5996
5997 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5998 gdb_start_cmd.
5999 Use runto_main before any test that requires execution.
6000
6001 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6002
6003 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6004 instead of SIGINT.
6005
6006 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6007
6008 * gdb.base/completion.exp: Update expected output following
6009 the addition of the "info tasks" command.
6010
6011 2008-10-22 Tom Tromey <tromey@redhat.com>
6012
6013 * gdb.base/exprs.exp (test_expr): Add test for string
6014 concatenation.
6015
6016 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6017
6018 * configure.ac: Output gdb.python/Makefile.
6019 * configure: Regenerate.
6020 * gdb.python/Makefile.in: New.
6021
6022 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6023
6024 * gdb.base/foll-fork.exp: Adjust the expected output to match
6025 the new description for fork/vfork catchpoints in the "info
6026 breakpoints" output.
6027
6028 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6029
6030 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6031
6032 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6033
6034 * gdb.python/python-value.c: New file.
6035 * gdb.python/python-value.exp: New file.
6036
6037 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6038
6039 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6040
6041 2008-10-15 Denis Pilat <denis.pilat@st.com>
6042
6043 * gdb.cp/mb-ctor.exp: Fix a typo.
6044
6045 2008-10-09 Tom Tromey <tromey@redhat.com>
6046
6047 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6048 'fprintf' and 'stderr'.
6049
6050 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6051
6052 * gdb.ada/ref_tick_size.exp: New testcase.
6053
6054 2008-10-06 Doug Evans <dje@google.com>
6055
6056 * gdb.dwarf2/dw2-cu-size.exp: New file.
6057 * gdb.dwarf2/dw2-cu-size.S: New file.
6058
6059 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6060 .Ltype_int for clarity.
6061
6062 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6063
6064 PR gdb/2384:
6065 * gdb.cp/gdb2384.exp: Extended to test more cases.
6066 * gdb.cp/gdb2384.cc: Likewise.
6067 * gdb.cp/gdb2384-base.h: Likewise.
6068 * gdb.cp/gdb2384-base.cc: Likewise.
6069
6070 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6071
6072 * gdb.base/maint.exp (maint print type): Remove printing
6073 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6074
6075 2008-09-30 Tom Tromey <tromey@redhat.com>
6076
6077 * gdb.base/macscp.exp: Add completion tests.
6078 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6079 (TWENTY_THREE): Likewise.
6080 (FORTY_EIGHT): Likewise.
6081
6082 2008-09-30 Tom Tromey <tromey@redhat.com>
6083
6084 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6085 everywhere.
6086 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6087
6088 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6089
6090 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6091 testcase is derived from. Fix racy dependency on an expected PID
6092 number. No longer support the testcase on Linux kernel 2.4.x.
6093
6094 2008-09-27 Tom Tromey <tromey@redhat.com>
6095
6096 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6097 and varargs.
6098
6099 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6100
6101 * lib/mi-support.exp (mi_expect_interrupt): New.
6102 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6103 from gdb.mi/mi-nonstop.exp.
6104 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6105 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6106 lib/mi-support.exp.
6107 Use mi_check_thread_states throughout. Avoid ".*" and do not
6108 require an anchor after -exec-run.
6109
6110 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6111
6112 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6113 stop is pending. Avoid ".*" when two stops are pending.
6114 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6115 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6116 newlines in fullnames.
6117 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6118 (mi_expect_stop): Update comments. Only anchor in sync mode.
6119 Do not match newlines.
6120 (mi_send_resuming_command_raw): Always return status.
6121 (mi_get_stop_line): Do not match more than one line by accident.
6122 Only anchor in sync mode.
6123 (mi_run_inline_test): If -exec-next fails, give up.
6124
6125 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6126
6127 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6128 on SPU.
6129
6130 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6131
6132 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6133
6134 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6135
6136 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6137 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6138 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6139 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6140 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6141 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6142 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6143 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6144 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6145 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6146 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6147 Include the "= " sequence in the expected output of print tests.
6148
6149 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6150
6151 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6152 description for boolean types.
6153
6154 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6155
6156 * gdb.base/hook-stop-continue.c: New.
6157 * gdb.base/hook-stop-continue.exp: New.
6158
6159 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6160
6161 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6162
6163 2008-09-08 Jerome Guitton <guitton@adacore.com>
6164
6165 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6166 (stack_check_probe_2, stack_check_probe_loop_1)
6167 (stack_check_probe_loop_2): New functions.
6168 (main): Add call to these new functions.
6169 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6170 functions, check that the breakpoint is inserted at the appropriate
6171 location.
6172 (insert_breakpoint): Slightly refine this procedure so that it can
6173 be called several times in the test.
6174
6175 2008-09-08 Jerome Guitton <guitton@adacore.com>
6176
6177 * gdb.base/stack-checking.c: New file.
6178 * gdb.base/stack-checking.exp: New file.
6179
6180 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6181
6182 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6183 * gdb.arch/altivec-regs.exp: Likewise.
6184 * gdb.arch/vsx-regs.exp: Likewise.
6185
6186 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6187
6188 * gdb.arch/ppc-fp.exp: New file.
6189 * gdb.arch/ppc-fp.c: New file.
6190
6191 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6192
6193 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6194 lest gcc-4.3.1 optimizes the whole thing away.
6195
6196 2008-09-04 Michael Snyder <msnyder@vmware.com>
6197
6198 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6199 as "at" (for non-debug functions such as _start).
6200
6201 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6202
6203 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6204 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6205 software watchpoints.
6206 * gdb.base/watch_thread_num.exp: Likewise.
6207
6208 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6209
6210 * gdb.arch/i386-bp_permanent.exp: New test.
6211
6212 2008-08-24 Tom Tromey <tromey@redhat.com>
6213
6214 * gdb.base/maint.exp: Update "maint print type".
6215
6216 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6217
6218 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6219 support. Adjust the order of "*running" notifications.
6220 * gdb.mi/non-stop.c: Don't cast from int to void* and
6221 back.
6222
6223 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6224
6225 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6226 expect to find it in the "info frame" output.
6227
6228 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6229
6230 * gdb.base/interp.exp: Always consume both prompts.
6231
6232 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6233
6234 * gdb.base/pending.exp: Test pending breakpoints without symbols
6235 loaded.
6236
6237 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6238
6239 * lib/mi-support.exp (mi_expect_stop): Produce
6240 more details on failures.
6241 * gdb.mi/mi-nonstop.exp: New.
6242 * gdb.mi/non-stop.c: New.
6243
6244 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6245
6246 * gdb.mi/mi-async.exp: Use 'set target-async'.
6247 * lib/mi-support.exp: Use 'set/show target-async'.
6248
6249 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6250
6251 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6252
6253 2008-08-17 Tom Tromey <tromey@redhat.com>
6254
6255 * gdb.base/help.exp (help catch): Rewrite.
6256
6257 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6258
6259 * gdb.base/define.exp: Test indented command documentation.
6260 * gdb.python/python.exp: Test indented multi-line command.
6261
6262 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6263
6264 * testsuite/gdb.arch/vsx-regs.c: New source file.
6265 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6266 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6267
6268 2008-08-14 Tom Tromey <tromey@redhat.com>
6269
6270 * gdb.base/macscp.exp: Add regression test for "macro define" or
6271 "macro undef" with no arguments.
6272
6273 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6274
6275 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6276
6277 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6278
6279 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6280
6281 2008-08-06 Tom Tromey <tromey@redhat.com>
6282
6283 * gdb.python/python.exp: New file.
6284
6285 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6286
6287 Fix for PR gdb/1543.
6288 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6289 $LOCATION.
6290 (location): New variable.
6291 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6292 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6293 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6294 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6295 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6296 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6297 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6298 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6299 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6300 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6301 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6302 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6303 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6304 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6305 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6306 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6307 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6308 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6309 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6310 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6311 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6312 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6313 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6314 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6315 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6316 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6317 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6318 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6319 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6320 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6321 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6322 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6323 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6324 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6325 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6326 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6327 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6328 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6329 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6330 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6331 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6332 gdb.base/type-opaque.exp, gdb.base/until.exp,
6333 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6334 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6335 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6336 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6337 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6338 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6339 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6340 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6341 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6342 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6343 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6344 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6345 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6346 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6347 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6348 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6349 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6350 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6351 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6352 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6353 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6354 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6355 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6356 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6357 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6358 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6359 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6360 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6361 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6362 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6363 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6364 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6365 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6366 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6367 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6368 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6369 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6370 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6371 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6372 to bug-gdb@prep.ai.mit.edu .
6373
6374 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6375
6376 * lib/mi-support.exp (mi_load_shlibs): New.
6377 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6378
6379 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6380
6381 * lib/mi-support.exp (get_mi_thread_list)
6382 (check_mi_and_console_threads): New, moved from ...
6383 * gdb.mi/mi-pthread.exp: ...here.
6384 * gdb.mi/gdb669.exp (get_mi_thread_list)
6385 (check_mi_and_console_threads): Delete.
6386 * gdb.mi/mi2-pthread.exp: Likewise.
6387
6388 2008-07-28 Tom Tromey <tromey@redhat.com>
6389
6390 * Makefile.in (just-check): Remove. Move body to...
6391 (check): ... here.
6392
6393 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6394
6395 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6396 Add a test for duplicated SIGINTs.
6397
6398 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6399
6400 * gdb.threads/schedlock.exp (get_args): Update to work for any
6401 value of NUM.
6402 (Top level): Report the number of threads that did not resume.
6403
6404 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6405
6406 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6407
6408 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6409
6410 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6411 non-MI prompt.
6412
6413 2008-07-26 Tom Tromey <tromey@redhat.com>
6414
6415 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6416 (function_struct, function_struct_ptr): New globals.
6417 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6418 function pointer in a struct.
6419
6420 2008-07-26 Tom Tromey <tromey@redhat.com>
6421
6422 * gdb.base/macscp.exp: Add test for macro lexing bug.
6423
6424 2008-07-18 Tom Tromey <tromey@redhat.com>
6425
6426 * gdb.base/macscp.exp: Add macro tests.
6427
6428 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6429
6430 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6431
6432 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6433
6434 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6435
6436 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6437
6438 * gdb.cp/class2.exp: fix for failure on spu-elf
6439
6440 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6441
6442 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6443
6444 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6445
6446 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6447
6448 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6449
6450 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6451
6452 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6453
6454 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6455 of regexp to account for changes made to GDB in the printing of
6456 byte vectors.
6457
6458 2008-07-11 Tom Tromey <tromey@redhat.com>
6459
6460 * gdb.base/completion.exp: Add 'help' completion test.
6461
6462 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6463
6464 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6465
6466 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6467
6468 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6469
6470 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6471
6472 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6473
6474 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6475
6476 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6477
6478 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6479
6480 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6481
6482 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6483
6484 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6485 previous commit. Add a comment.
6486
6487 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6488
6489 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6490
6491 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6492
6493 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6494
6495 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6496
6497 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6498 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6499 compiling an executable, link in an object that forces unbuffered
6500 output.
6501 * lib/set_unbuffered_mode.c: New file.
6502
6503 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6504
6505 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6506
6507 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6508
6509 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6510 mi_expect_stop.
6511 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6512 Demand that *running is output.
6513 (detect_async): Perform checking every time.
6514 (mi_send_resuming_command): Extract everything into...
6515 (mi_send_resuming_command_raw): ...this.
6516 (mi_expect_stop): Don't accept any output before *stopped.
6517
6518 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6519
6520 Robustify mi-simplerun.
6521 * gdb.mi/basics.c (main): Add a call to sleep.
6522 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6523 * gdb.mi/mi2-cli.exp: Likewise.
6524 * gdb.mi/mi-break.exp: Likewise.
6525
6526 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6527
6528 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6529
6530 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6531
6532 * gdb.mi/mi-console.exp: Adjust.
6533 * gdb.mi/mi-syn-frame.exp: Adjust.
6534 * gdb.mi/mi2-console.exp: Adjust.
6535 * gdb.mi/mi2-syn-frame.exp: Adjust.
6536 * lib/mi-support.exp (mi_run_cmd): Adjust.
6537 (mi_send_resuming_command): Adjust.
6538
6539 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6540
6541 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6542 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6543 testing of stopped.
6544 * gdb.mi/mi2-syn-frame.exp: Likewise.
6545 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6546 (async, detect_async): New.
6547 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6548 depending on if we're running in sync or async mode.
6549
6550 2008-06-09 Tom Tromey <tromey@redhat.com>
6551
6552 * gdb.base/completion.exp: New tests for field name completion
6553 with spaces, and field name completion with '->'.
6554
6555 2008-06-06 Tom Tromey <tromey@redhat.com>
6556
6557 * gdb.base/break1.c (struct some_struct): New struct.
6558 (values): New global.
6559 * gdb.base/completion.exp: Add field name completion test.
6560
6561 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6562
6563 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6564 to pointer.
6565 * gdb.cp/call-c.cc: Likewise.
6566
6567 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6568
6569 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6570 annotation.
6571
6572 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6573 Pedro Alves <pedro@codesourcery.com>
6574
6575 * gdb.threads/execl.c, gdb.threads/execl1.c,
6576 gdb.threads/execl.exp: New tests.
6577
6578 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6579 Daniel Jacobowitz <dan@codesourcery.com>
6580
6581 * gdb.cp/exception.exp: Activate test, make it work with pending
6582 catchpoints.
6583
6584 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6585
6586 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6587
6588 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6589
6590 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6591 now printed.
6592 * gdb.mi/mi2-var-cmd.exp: Likewise.
6593
6594 2008-05-27 Andreas Schwab <schwab@suse.de>
6595
6596 * gdb.base/frame-args.exp: Handle arguments that are optimized
6597 out.
6598
6599 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6600
6601 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6602 quiet for ppc32 and group options into a single variable.
6603
6604 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6605
6606 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6607 of zero-size elements.
6608 * gdb.ada/null_array.exp: Test printing this new array.
6609
6610 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6613
6614 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6615
6616 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6617 of the "finish" command.
6618
6619 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6620
6621 * gdb.base/annota1.exp: Test for new annotation.
6622
6623 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6624
6625 * gdb.base/fixsection.exp: New file.
6626 * gdb.base/fixsection0.c: New file.
6627 * gdb.base/fixsection1.c: New file.
6628
6629 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6630
6631 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6632 * gdb.base/annota3.exp: Likewise.
6633
6634 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6635
6636 * gdb.base/watch_thread_num.exp: Don't run tests that require
6637 watchpoints if the target doesn't support them.
6638
6639 2008-05-12 Doug Evans <dje@google.com>
6640
6641 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6642
6643 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6644
6645 * gdb.ada/assign_1.exp: New testcase.
6646
6647 2008-05-09 Doug Evans <dje@google.com>
6648
6649 * gdb.base/find.exp: New file.
6650 * gdb.base/find.c: New file.
6651
6652 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6653
6654 * gdb.base/commands.exp (watchpoint_command_test): Handle
6655 gdb,no_hardware_watchpoints.
6656 * gdb.base/float.exp: Allow ARM targets without floating point.
6657 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6658
6659 2008-05-06 Jerome Guitton <guitton@adacore.com>
6660 Joel Brobecker <brobecker@adacore.com>
6661
6662 * gdb.ada/lang_switch: New test program.
6663 * gdb.ada/lang_switch.exp: New testcase.
6664
6665 2008-05-05 Doug Evans <dje@google.com>
6666
6667 * gdb.base/help.exp (disassemble): Update expected help text.
6668
6669 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6670
6671 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6672
6673 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6674
6675 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6676 different times.
6677
6678 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6679
6680 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6681 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6682 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6683 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6684
6685 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6686
6687 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6688 notification to appear.
6689
6690 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6691
6692 * gdb.base/fullname.c: New file.
6693 * gdb.base/fullname.exp: New file.
6694 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6695
6696 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6697
6698 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6699 expressions with macros.
6700
6701 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6702
6703 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6704
6705 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6706
6707 * gdb.base/completion.exp: Handle lack of other symbols beginning
6708 with "a".
6709
6710 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6711
6712 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6713
6714 * gdb.asm/asmsrc1.s: Add scratch space.
6715
6716 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6717 Daniel Jacobowitz <dan@codesourcery.com>
6718
6719 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6720 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6721 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6722
6723 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6724
6725 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6726
6727 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6728
6729 * gdb.base/info-target.exp: New testcase.
6730
6731 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6732
6733 * gdb.cp/hang.exp: Use .cc instead of .C.
6734 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6735 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6736
6737 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6738
6739 * gdb.base/gdb1250.exp: Remove perror.
6740 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6741
6742 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6743
6744 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6745 .2byte.
6746
6747 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6748
6749 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6750 (maybe_kfail): New.
6751
6752 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6753
6754 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6755
6756 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6757
6758 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6759 * gdb.mi/mi2-syn-frame.exp: Likewise.
6760 * lib/mi-support.exp: Likewise.
6761
6762 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6763
6764 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6765 to specify regexp for the location to stop at.
6766 * gdb.base/break-always.c: New.
6767 * gdb.base/break-always.exp: New.
6768
6769 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6770
6771 * lib/mi-support.exp (mi_runto_helper): Adjust
6772 for the original-location field.
6773 (mi_create_breakpoint, mi_list_breakpoints): New.
6774 * gdb.mi/mi-break.exp: Adjust.
6775 * gdb.mi/mi2-break.exp: Adjust.
6776 * gdb.mi/mi-pending.exp: Adjust.
6777 * gdb.mi/mi-simplerun.exp: Adjust.
6778 * gdb.mi/mi2-simplerun.exp: Adjust.
6779 * gdb.mi/mi-syn-frame.exp: Adjust.
6780 * gdb.mi/mi2-syn-frame.exp: Adjust.
6781 * gdb.mi/mi-until.exp: Adjust.
6782 * gdb.mi/mi2-until.exp: Adjust.
6783 * gdb.mi/mi-var-display.exp: Adjust.
6784 * gdb.mi/mi2-var-display.exp: Adjust.
6785 * gdb.mi/mi-watch.exp: Adjust.
6786 * gdb.mi/mi2-watch.exp: Adjust.
6787
6788 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6789
6790 * aclocal.m4: Add override.m4.
6791 * configure: Regenerate.
6792
6793 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6794
6795 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6796 '-var-update --all-values' reports new value even the type
6797 of a variable object has changed.
6798
6799 2008-04-18 Craig Silverstein <csilvers@google.com>
6800
6801 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6802 files.
6803
6804 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6805
6806 * gdb.ada/atomic_enum: New test program.
6807 * gdb.ada/atomic_enum.exp: New testcase.
6808
6809 2008-04-17 Doug Evans <dje@google.com>
6810
6811 * gdb.opt/Makefile.in: Fix whitespace.
6812
6813 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6814
6815 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6816
6817 2008-04-17 Doug Evans <dje@google.com>
6818
6819 * gdb.base/hashline1.exp: New testcase.
6820 * gdb.base/hashline2.exp: New testcase.
6821 * gdb.base/hashline2.exp: New testcase.
6822
6823 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6824
6825 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6826
6827 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6828
6829 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6830 temporary breakpoint to match "Temporary breakpoint".
6831 * gdb.base/break.exp (delete_breakpoints): Likewise.
6832 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6833 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6834 * gdb.base/display.exp: Likewise.
6835 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6836 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6837 * gdb.base/restore.exp (restore_tests): Likewise.
6838 * gdb.base/sepdebug.exp: Likewise.
6839 * gdb.base/watchpoint.exp: Likewise.
6840 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6841 * gdb.mi/mi-pending.exp: Likewise.
6842 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6843 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6844 * gdb.mi/mi-var-cmd.exp: Likewise.
6845 * gdb.mi/mi-var-display.exp: Likewise.
6846 * gdb.mi/mi2-cli.exp: Likewise.
6847 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6848 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6849 * gdb.mi/mi2-var-display.exp: Likewise.
6850 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6851 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6852 new "disp" field.
6853 (mi_expect_stop): Move after_reason argument to be really after
6854 reason. This is to support fix for PR2424.
6855
6856 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6857
6858 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6859
6860 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6861
6862 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6863 field. Add more floating varobj tests.
6864 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6865 field.
6866 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6867 (main): Call do_at_tests.
6868 * lib/mi-support.exp (mi_create_floating_varobj)
6869 (mi_varobj_update_with_type_change): New.
6870
6871 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6872
6873 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6874 option of -var-evaluate-expression.
6875 * gdb.mi/mi2-var-display.exp: Likewise.
6876
6877 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6878
6879 Introduce test setup helpers.
6880 * lib/gdb.exp (build_executable, clean_restart)
6881 (prepare_for_testing): New.
6882 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6883 * gdb.base/return.exp: Likewise.
6884 * gdb.base/ending-run.exp: Likewise.
6885
6886 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6887
6888 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6889 Interface (MI) responses.
6890
6891 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6892
6893 * gdb.cp/breakpoint.cc: New code to test conditions involving
6894 member variables.
6895 * gdb.cp/breakpoint.exp: Test condition involving member
6896 variables.
6897
6898 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6899
6900 * lib/mi-support.exp (mi_expect_stop): New.
6901 (mi_run_cmd): Change the
6902 token. Use mi_send_resuming_command, use
6903 mi_expect_stop.
6904 (mi_execute_to_helper): Rename to mi_execute_to.
6905 (mi_send_resuming_command): Add more error patterns.
6906 (mi_wait_for_stop): Renamed to...
6907 (mi_get_stop_line): ...this.
6908 (mi_run_inline_test): Adjust.
6909
6910 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6911 * gdb.mi/mi-console.exp: Likewise.
6912 * gdb.mi/mi-pending.exp: Likewise.
6913 * gdb.mi/mi-simplerun.exp: Likewise.
6914 * gdb.mi/mi-stack.exp: Likewise.
6915 * gdb.mi/mi-stepi.exp: Likewise.
6916 * gdb.mi/mi-syn-frame.exp: Add comment.
6917 * gdb.mi/mi-until.exp: Likewise.
6918 * gdb.mi/mi-var-display.exp: Likewise.
6919 * gdb.mi/mi-watch.exp: Likewise.
6920 * gdb.mi/mi2-cli.exp: Likewise.
6921 * gdb.mi/mi2-console.exp: Likewise.
6922 * gdb.mi/mi2-simplerun.exp: Likewise.
6923 * gdb.mi/mi2-stack.exp: Likewise.
6924 * gdb.mi/mi2-stepi.exp: Likewise.
6925 * gdb.mi/mi2-until.exp: Likewise.
6926 * gdb.mi/mi2-var-display.exp: Likewise.
6927 * gdb.mi/mi2-watch.exp: Likewise.
6928
6929 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6930
6931 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6932
6933 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6934
6935 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6936
6937 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6938 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6939 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6940 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6941 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6942 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6943 expect an mi error duplicated in stderr.
6944
6945 2008-04-03 Joel Brobecker <brobecker@adacore.com>
6946
6947 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6948 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6949 Add a couple of tests that verify the behavior when the new setting
6950 is set to "cancel" and "all".
6951 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6952 "ask" before we start the testing.
6953
6954 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6955
6956 * gdb.cp/casts.cc: Add class reference variables.
6957 * gdb.cp/casts.exp: New test cases for up/down casting references.
6958
6959 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6960
6961 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6962 instead of beginning to make an extra test pass.
6963 * gdb.mi/mi2-var-display.exp: Likewise.
6964
6965 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6966
6967 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6968
6969 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6970 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6971
6972 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6973 value. Add xfail for older kernels.
6974
6975 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6976
6977 Bring mi-support in line with gdb.exp.
6978 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6979 (mi_gdb_start): New function.
6980
6981 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6982
6983 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6984
6985 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6986
6987 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6988 * gdb.mi/mi2-var-display.exp: Likewise.
6989
6990 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6991
6992 * lib/mi-support.exp (mi_create_varobj_checked): New.
6993 (mi_list_varobj_children): Allow to check for a
6994 value.
6995 (mi_list_array_varobj_children): New.
6996
6997 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6998 and mi_list_varobj_children, as opposed to hardcoding
6999 expected strings.
7000 * gdb.mi/gdb701.exp: Likewise.
7001 * gdb.mi/gdb792.exp: Likewise.
7002 * gdb.mi/mi-var-block.exp: Likewise.
7003 * gdb.mi/mi-var-cmd.exp: Likewise.
7004 * gdb.mi/mi-var-invalidate.exp: Likewise.
7005 * gdb.mi/mi2-var-block.exp: Likewise.
7006 * gdb.mi/mi2-var-child.exp: Likewise.
7007 * gdb.mi/mi2-var-cmd.exp: Likewise.
7008 * gdb.mi/mi2-var-display.exp: Likewise.
7009
7010 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7011
7012 Fix random false FAILs on i386.
7013 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7014
7015 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7016
7017 PR gdb/544
7018 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7019
7020 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7021
7022 PR gdb/544
7023 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7024
7025 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7026
7027 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7028 fixed PR gdb/544.
7029
7030 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7031
7032 * gdb.threads/fork-child-threads.exp: Test next over fork.
7033
7034 2008-03-21 Chris Demetriou <cgd@google.com>
7035
7036 * gdb.base/break.exp (rbreak junk): New test for rbreak
7037 "Junk at end of arguments" issue.
7038
7039 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7040
7041 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7042 *& to work on created array elements.
7043 (Top level): Test print $pc with a file. Test string operations
7044 without a target.
7045 * gdb.base/ptype.exp: Do not expect *& to work on created array
7046 elements.
7047
7048 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7049
7050 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7051 gdb.threads/staticthreads.exp: Update exit query.
7052
7053 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7054
7055 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7056
7057 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7058
7059 * gdb.base/watchpoint.c (global_ptr, func4): New.
7060 (main): Call func4.
7061 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7062 (test_inaccessible_watchpoint): New.
7063
7064 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7065
7066 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7067 select the largest.
7068
7069 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7070
7071 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7072 frames-invalid annotations.
7073
7074 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7075
7076 * gdb.base/assign.exp: avoid same output for different tests.
7077
7078 2008-02-27 Doug Evans <dje@google.com>
7079
7080 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7081 for bug 1738.
7082 (breakpoint_to_handler_entry): Ditto.
7083
7084 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7085
7086 * gdb.base/ending-run.exp: Use the first line of code inside
7087 function body to test breakpoints.
7088 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7089 location where the breakpoint is inserted when using the line
7090 where a function is declared. Fix typo in the description of
7091 one of the tests.
7092 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7093
7094 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7095
7096 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7097 tests.
7098
7099 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7100
7101 * gdb.base/args.exp: avoid same output for tests
7102 with single quotes.
7103
7104 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7105
7106 * gdb.base/annota1.exp: Adjust for 'info break'
7107 format changes.
7108 * gdb.base/annota3.exp: Likewise.
7109 * gdb.base/break.exp: Likewise.
7110 * gdb.base/condbreak.exp: Likewise.
7111 * gdb.base/pending.exp: Likewise.
7112 * gdb.base/sepdebug.exp: Likewise.
7113 * gdb.base/unload.exp: Likewise.
7114 * gdb.cp/ovldbreak.exp: Likewise.
7115 * gdb.mi/mi-pending.exp: Likewise.
7116
7117 2008-02-07 Doug Evans <dje@google.com>
7118
7119 * gdb.cp/mb-inline.exp: New.
7120 * gdb.cp/mb-inline.h: New.
7121 * gdb.cp/mb-inline1.cc: New.
7122 * gdb.cp/mb-inline2.cc: New.
7123
7124 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7125
7126 * gdb.pascal/floats.pas: New test program.
7127 * gdb.pascal/floats.exp: New testcase.
7128
7129 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7130
7131 * gdb.base/callfuncs.c (t_float_many_args): New function.
7132 (t_double_many_args): New function.
7133 * gdb.base/callfuncs.exp: Add tests for exceeding float
7134 and double parameters passed through the stack.
7135
7136 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7137
7138 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7139 gdb.ada/complete/foo.adb: New files.
7140 * gdb.ada/complete.exp: New testcase.
7141
7142 2008-02-03 Doug Evans <dje@google.com>
7143
7144 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7145
7146 * gdb.cp/gdb2384.exp: New file.
7147 * gdb.cp/gdb2384.cc: New file.
7148 * gdb.cp/gdb2384-base.h: New file.
7149 * gdb.cp/gdb2384-base.cc: New file.
7150
7151 2008-02-02 Doug Evans <dje@google.com>
7152
7153 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7154
7155 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7156
7157 * gdb.ada/sym_print_name: New test program.
7158 * gdb.ada/sym_print_name.exp: New testcase.
7159
7160 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7161
7162 * gdb.ada/nested/hello.adb: New file.
7163 * gdb.ada/nested.exp: New testcase.
7164 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7165
7166 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7167
7168 * gdb.mi/basic.c (return_1): New function.
7169 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7170 don't cause future evaluations of function to report
7171 creation of internal breakpoints.
7172
7173 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7174
7175 * gdb.mi/mi-break.exp (test_error): New.
7176 Call it.
7177
7178 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7179
7180 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7181 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7182
7183 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7184
7185 * gdb.pascal/integers.pas: New test program.
7186 * gdb.pascal/integers.exp: New testcase.
7187
7188 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7189
7190 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7191
7192 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7193
7194 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7195 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7196
7197 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7198
7199 * gdb.ada/formatted_ref: New test program.
7200 * gdb.ada/formatted_ref.exp: New testcase.
7201
7202 * gdb.cp/formatted-ref.cc: New file.
7203 * gdb.cp/formatted-ref.exp: New testcase.
7204
7205 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7206
7207 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7208
7209 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7210
7211 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7212 (test_file_list_exec_source_file): Update to new macro-info field.
7213
7214 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7215
7216 * gdb.ada/exprs: New test program.
7217 * gdb.ada/exprs.exp: New testcase.
7218
7219 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7220
7221 * dfp-test.c (DELTA, DELTA_B): New definitions.
7222 (double_val1, double_val2, double_val3, double_val4, double_val5,
7223 double_val6, double_val7, double_val8, double_val9, double_val10,
7224 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7225 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7226 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7227 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7228 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7229 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7230 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7231 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7232 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7233 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7234 dec128_val16): New global variables.
7235 (decimal_dec128_align): New function.
7236 (decimal_mixed): Likewise.
7237 (decimal_many_args_dec32): Likewise.
7238 (decimal_many_args_dec64): Likewise.
7239 (decimal_many_args_dec128): Likewise.
7240 (decimal_many_args_mixed): Likewise.
7241 * dfp-test.exp: Add tests calling new inferior functions.
7242
7243 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7244
7245 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7246 gdb.server/ext-run.exp: New files.
7247 * lib/gdbserver-support.exp (gdbserver_download): New.
7248 (gdbserver_start): New. Update gdbserver expected
7249 output.
7250 (gdbserver_spawn): Use them.
7251 (gdbserver_start_extended): New.
7252
7253 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7254
7255 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7256 Run on GNU/Linux.
7257 (do_exec_tests): Check for systems which do not support catchpoints.
7258 Do not match START.
7259 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7260 Run on GNU/Linux. Enable verbose output.
7261 (check_fork_catchpoints): New.
7262 (explicit_fork_child_follow, catch_fork_child_follow)
7263 (tcatch_fork_parent_follow): Update expected messages.
7264 (do_fork_tests): Use check_fork_catchpoints.
7265 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7266 Run on GNU/Linux. Enable verbose output.
7267 (check_vfork_catchpoints): New.
7268 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7269 expected messages.
7270 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7271
7272 2008-01-29 Jim Blandy <jimb@red-bean.com>
7273
7274 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7275 host' errors.
7276 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7277
7278 2008-01-29 Jim Blandy <jimb@red-bean.com>
7279
7280 * gdb.threads/sigthread.c: Use barriers to ensure that
7281 child_thread and child_thread_two are always initialized before we
7282 start to use them.
7283
7284 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7285
7286 * gdb.base/watchpoint-solib.exp: New.
7287 * gdb.base/watchpoint-solib.c: New.
7288 * gdb.base/watchpoint-solib-shr.c: New.
7289
7290 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7291
7292 * gdb.base/gdb1056.exp: Add unsigned integer test.
7293
7294 2008-01-28 Doug Evans <dje@google.com>
7295
7296 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7297
7298 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7299
7300 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7301
7302 * gdb.base/expand-psymtabs.exp: Doc fix.
7303
7304 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7305
7306 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7307
7308 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7309
7310 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7311 -var-set-format.
7312
7313 2008-01-23 Chris Demetriou <cgd@google.com>
7314
7315 * gdb.threads/thread_events.c: New testcase source file.
7316 * gdb.threads/thread_events.exp: New testcase expect file.
7317
7318 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7319
7320 * lib/gdb.exp: Add the variable octal.
7321
7322 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7323 -var-set-format.
7324
7325 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7326 Vladimir Prus <vladimir@codesourcery.com>
7327
7328 * gdb.base/float.exp: Allow missing floating point for m68k and
7329 PowerPC.
7330
7331 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7332
7333 * gdb.mi/basics.c: Setup for testing breakpoints
7334 ignore count.
7335 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7336 * gdb.mi/mi-cli.exp: Adjust.
7337 * gdb.mi/mi2-cli.exp: Adjust.
7338
7339 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7340
7341 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7342 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7343 with dummy_ptr's address.
7344 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7345 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7346 all targets.
7347 * gdb.mi/mi2-var-child.exp: Likewise.
7348
7349 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7350
7351 * gdb.ada/null_array: New test program.
7352 * gdb.ada/null_array.exp: New testcase.
7353
7354 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7355
7356 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7357 with required float modifiers.
7358
7359 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7360
7361 * gdb.ada/funcall_param: New test program.
7362 * gdb.ada/funcall_param.exp: New testcase.
7363
7364 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7365
7366 * gdb.ada/arrayparam: New test program.
7367 * gdb.ada/arrayparam.exp: New testcase.
7368
7369 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7370
7371 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7372 landed. Should also fix random failures in the test following it.
7373
7374 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7375
7376 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7377 for expressions with decimal float values.
7378 (test_dfp_conversions): New function to test casts to and from
7379 decimal float types.
7380 Call test_dfp_conversions.
7381 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7382 elements.
7383 (main): Initialize ds.float4 and ds.double8 elements.
7384 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7385 string to new error message.
7386 (d64_set_tests): Likewise.
7387 (d128_set_tests): Likewise.
7388 Add tests for expressions with decimal float variables. Add tests for
7389 conversions to and from decimal float types.
7390
7391 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7392
7393 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7394 * gdb.ada/packed_tagged.exp: New testcase.
7395
7396 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7399 gdb.ada/homonym/homonym_main.adb: New files.
7400 * gdb.ada/homonym.exp: New testcase.
7401
7402 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7403
7404 * gdb.ada/packed_array.exp: Add testing of references to
7405 a packed array.
7406
7407 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7408
7409 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7410 New files.
7411 * gdb.ada/type_coercion.exp: New testcase.
7412
7413 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7414
7415 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7416 gdb.ada/tagged/foo.adb: New file.
7417 * gdb.ada/tagged.exp: New testcase.
7418
7419 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7420
7421 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7422 gdb.ada/ptype_field/foo.adb: New files.
7423 * gdb.ada/ptype_field.exp: New testcase.
7424
7425 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7426
7427 * gdb.ada/print_pc.exp: New testcase.
7428
7429 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7430
7431 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7432 gdb.ada/taft_type/p.adb: New files.
7433 * gdb.ada/taft_type.exp: New testcase.
7434
7435 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7436
7437 * gdb.ada/array_bounds/bar.adb: New file.
7438 * gdb.ada/array_bounds.exp: New testcase.
7439
7440 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7441
7442 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7443 gdb.ada/arrayptr/foo.adb: New files.
7444 * gdb.ada/arrayptr.exp: New testcase.
7445
7446 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7447
7448 * gdb.base/set-lang-auto.exp: New testcase.
7449
7450 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7451
7452 * gdb.ada/fun_addr/foo.adb: New file.
7453 * gdb.ada/fun_addr.exp: New testcase.
7454
7455 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7458 New files
7459
7460 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7461
7462 * array_subscript_addr/p.adb: New file.
7463 * array_subscript_addr.exp: New testcase.
7464
7465 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7466
7467 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7468 New files.
7469 * gdb.ada/str_cmp_ref.exp: New testcase.
7470
7471 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7472
7473 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7474 gdb.ada/fun_in_declare/foo.adb: New files.
7475 * gdb.ada/fun_in_declare.exp: New testcase.
7476
7477 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7478
7479 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7480 gdb.ada/ref_param/pck.ads: New files.
7481 * gdb.ada/ref_param.exp: New testcase.
7482
7483 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7484
7485 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7486 gdb.ada/interface/foo.adb: New files.
7487 * gdb.ada/interface.exp: New testcase.
7488
7489 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7490
7491 * gdb.base/multi-forks.exp: Consume all output from child
7492 processes before proceeding to next test.
7493
7494 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7495
7496 * configure: Regenerated.
7497
7498 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7499
7500 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7501 gdb.ada/fixed_cmp/fixed.adb: New files.
7502 * gdb.ada/fixed_cmp.exp: New testcase.
7503
7504 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7505
7506 * gdb.ada/boolean_expr.exp: New testcase.
7507
7508 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7509
7510 * gdb.base/multi-forks.exp: Doc fix.
7511
7512 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7513
7514 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7515 * gdb.ada/char_param.exp: Do not compile our test program with
7516 -gnata, this is unnecessary.
7517 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7518
7519 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7520
7521 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7522 gdb.ada/print_chars/foo.adb: New files.
7523 * gdb.ada/print_chars.exp: New testcase.
7524
7525 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7526
7527 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7528 gdb.ada/char_param/foo.adb: New files.
7529 * gdb.ada/char_param.exp: New testcase.
7530
7531 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7532
7533 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7534 hard-coding source line numbers into the test.
7535 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7536 gdb_get_line_number to find.
7537
7538 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7539
7540 * gdb.base/ptype.c (highest): New struct type.
7541 (the_highest): New variable of that type.
7542 (main): Add dummy assignment to a field of variable the_highest.
7543 * gdb.base/ptype.exp: Test type printing of our new variable.
7544
7545 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7546
7547 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7548 and record first explicitly generated thread number.
7549 Use that thread number for thread specific watchpoint test.
7550 Add iteration number to repetitive tests.
7551
7552 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7553 Jim Blandy <jimb@codesourcery.com>
7554
7555 * gdb.base/expand-psymtabs.c: New testcase
7556 source file.
7557 * gdb.base/expand-psymtabs.exp: New testcase
7558 expect file.
7559
7560 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7561
7562 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7563 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7564
7565 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7566
7567 * gdb.ada/frame_args/foo.adb: New file.
7568 * gdb.ada/frame_args/pck.ads: New file.
7569 * gdb.ada/frame_args/pck.adb: New file.
7570 * gdb.ada/frame_args.exp: New testcase.
7571
7572 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7573
7574 * gdb.base/frame-args.c: New file.
7575 * gdb.base/frame-args.exp: New testcase.
7576
7577 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7578 Joseph Myers <joseph@codesourcery.com>
7579
7580 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7581
7582 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7583
7584 * gdb.mi/mi-pending.exp: New.
7585 * gdb.mi/mi-pending.c: New.
7586 * gdb.mi/mi-pendshr.c: New.
7587
7588 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7589
7590 * gdb.base/default.exp: Update expected output for 'info catch'.
7591
7592 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7593
7594 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7595 must be set to binary.
7596
7597 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7598
7599 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7600
7601 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7602
7603 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7604 gdb.mi/mi-file-transfer.exp: New.
7605
7606 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7609
7610 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7611
7612 * gdb.trace/backtrace.exp: Fix a typo.
7613 * gdb.trace/circ.exp: Likewise.
7614 * gdb.trace/collection.exp: Likewise.
7615 * gdb.trace/limits.exp: Likewise.
7616 * gdb.trace/report.exp: Likewise.
7617 * gdb.trace/tfind.exp: Likewise.
7618 * gdb.trace/while-dyn.exp: Likewise.
7619
7620 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7621
7622 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7623 objects of pointers that can't be dereferenced are now
7624 "noneditable".
7625
7626 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7627
7628 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7629 (target_cpu): Remove.
7630
7631 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7632
7633 * gdb.base/ending-run.exp: Expect the list of cleared
7634 breakpoint to come in natural order, not the reversed one.
7635
7636 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7637
7638 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7639 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7640
7641 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7642
7643 * gdb.base/printcmds.exp: New function
7644 test_printf_with_dfp.
7645
7646 2007-11-02 Doug Evans <dje@google.com>
7647
7648 * gdb.disasm/t01_mov.s: Remove carriage returns.
7649 * gdb.disasm/t02_mova.s: Ditto.
7650 * gdb.disasm/t03_add.s: Ditto.
7651 * gdb.disasm/t04_sub.s: Ditto.
7652 * gdb.disasm/t05_cmp.s: Ditto.
7653 * gdb.disasm/t06_ari2.s: Ditto.
7654 * gdb.disasm/t07_ari3.s: Ditto.
7655 * gdb.disasm/t08_or.s: Ditto.
7656 * gdb.disasm/t09_xor.s: Ditto.
7657 * gdb.disasm/t10_and.s: Ditto.
7658 * gdb.disasm/t11_logs.s: Ditto.
7659 * gdb.disasm/t12_bit.s: Ditto.
7660 * gdb.disasm/t13_otr.s: Ditto.
7661
7662 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7663
7664 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7665
7666 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7667
7668 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7669 provide DFP support.
7670
7671 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7672
7673 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7674 Test "set powerpc vector-abi". Skip auto-detection tests for old
7675 toolchains.
7676
7677 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7678
7679 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7680 with [string compare].
7681
7682 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7683
7684 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7685 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7686
7687 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7688
7689 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7690 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7691 * gdb.opt/Makefile.in: New makefile.
7692 * Makefile.in: Create new directory "gdb.opt".
7693 * configure.ac: Add "gdb.opt" directory.
7694 * configure: Regenerated.
7695
7696 2007-10-25 Doug Evans <dje@google.com>
7697
7698 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7699 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7700
7701 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7702 Thiago Jung Bauermann <bauerman@br.ibm.com>
7703
7704 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7705 Floating Point expressions.
7706 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7707 Floating Point variables.
7708 * gdb.base/dfp-test.c: new file containing program with Decimal
7709 Floating variables, used by gdb.base/dfp-test.exp.
7710
7711 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7712
7713 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7714
7715 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7716
7717 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7718 compiling test case with GCC.
7719 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7720
7721 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7722
7723 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7724 format changes.
7725
7726 2007-10-18 Michael Snyder <msnyder@specifix.com>
7727
7728 * gdb.base/dbx.exp: Add missing "-re " operator.
7729
7730 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7731
7732 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7733 * configure.ac: Removed trailing spaces after backslash.
7734 * gdb.modula2: New directory.
7735 * gdb.modula2/Makefile.in: New file.
7736 * gdb.modula2/unbounded-array.exp: New file.
7737 * gdb.modula2/unbounded1.c: New file.
7738
7739 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7740
7741 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7742
7743 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7744
7745 * gdb.base/sigstep.c (main): Add checks for
7746 return values for setitimer call.
7747 Call setitimer again with itimer = ITIMER_REAL
7748 if first call to setitimer fails.
7749
7750 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7751
7752 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7753 of $timeout.
7754
7755 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7756
7757 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7758
7759 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7760
7761 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7762 of gdb_expect call, to avoid interruption.
7763
7764 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7765
7766 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7767 (v_unsigned_long_long, v_long_long_array)
7768 (v_signed_long_long_array, v_unsigned_long_long_array)
7769 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7770 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7771 [!NO_LONG_LONG]: New.
7772 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7773 v_long_long_member.
7774
7775 (v_long_long_func, v_signed_long_long_func)
7776 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7777 (main) [!NO_LONG_LONG]: Initialize long long variants.
7778
7779 * gdb.base/whatis.exp: If board file requests no_long_long, build
7780 test with NO_LONG_LONG defined. Test long long, signed long long,
7781 and unsigned long long variants but only if board file doesn't
7782 disable it.
7783
7784 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7785 Daniel Jacobowitz <dan@codesourcery.com>
7786
7787 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7788 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7789 * configure: Regenerated.
7790 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7791 gdb.pascal/types.exp, lib/pascal.exp: New files.
7792
7793 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7794
7795 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7796 call.
7797 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7798 to return to the call.
7799 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7800 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7801 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7802 * gdb.mi/mi-until.exp (test_until): Likewise.
7803 * gdb.mi/mi2-until.exp (test_until): Likewise.
7804
7805 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7806
7807 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7808 two-char array.
7809 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7810
7811 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7812
7813 * gdb.threads/watchthreads.c (thread_function): Sleep between
7814 iterations.
7815 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7816 at once for S/390. Generate matching fails and passes.
7817
7818 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7819
7820 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7821 the 'struct_declarations' variable to zeros.
7822
7823 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7824
7825 * gdb.cp/mb-ctor.cc: New.
7826 * gdb.cp/mb-ctor.exp: New.
7827 * gdb.cp/mb-templates.cc: New.
7828 * gdb.cp/mb-templates.exp: New.
7829
7830 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7831
7832 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7833
7834 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7835
7836 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7837 targets.
7838 * configure: Regenerate.
7839
7840 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7841
7842 * gdb.base/annota1.exp: Adjust for 'info break'
7843 format changes.
7844 * gdb.base/annota3.exp: Likewise.
7845 * gdb.base/break.exp: Likewise.
7846 * gdb.base/condbreak.exp: Likewise.
7847 * gdb.base/pending.exp: Likewise.
7848 * gdb.base/sepdebug.exp: Likewise.
7849 * gdb.base/unload.exp: Likewise.
7850 * gdb.base/ovldbreak.exp: Likewise.
7851
7852 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7853
7854 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7855 messages.
7856 * gdb.base/chng-syms.exp: Likewise.
7857 * gdb.base/unload.exp: Likewise.
7858
7859 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7860
7861 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7862
7863 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7864
7865 * schedlock.c (NUM): Change to 1.
7866 (main): Use args[0] for the main thread.
7867 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7868 regardless of the number of threads.
7869
7870 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7871
7872 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7873 type down.
7874 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7875 test.
7876 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7877 watchpoint type down.
7878 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7879 test.
7880
7881 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7882
7883 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7884 Move all the tests here and run them twice, once using software
7885 watchpoints and once using hardware watchpoints.
7886 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7887
7888 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7889
7890 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7891 test.
7892
7893 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7894
7895 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7896 build-id.
7897
7898 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7899 know about $ORIGIN. Calculate output dir from $dest instead of
7900 using ${objdir}/{$subdir}.
7901
7902 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7903
7904 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7905 gcore, before continuing with the test.
7906
7907 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7908
7909 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7910 * gdb.mi/mi-watch.exp: Likewise.
7911
7912 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7913 Jim Blandy <jimb@codesourcery.com>
7914
7915 * gdb.arch/i386-sse.exp: Do not expect character constants.
7916 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7917 * gdb.base/display.exp: Allow print/s.
7918 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7919 and unsigned char array changes.
7920
7921 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7922
7923 * gdb.base/display.exp: Add tests for printf %p.
7924
7925 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7926
7927 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7928 the dll name to unicode.
7929
7930 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7931
7932 * gdb.base/default.exp (show version): Update the version text.
7933 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7934
7935 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7936
7937 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7938 New files.
7939
7940 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7941
7942 * lib/gdb.exp (build_id_debug_filename_get): New function.
7943 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7944 Remove the generate DEBUG file for the future testcase runs.
7945 New testcase for the NT_GNU_BUILD_ID retrieval.
7946 Move the final testing step to ...
7947 (test_different_dir): ... a new function.
7948 New parameter XFAIL to XFAIL all the tests performed.
7949 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7950 New parameter TYPE to PF_PREFIX all the tests performed.
7951
7952 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7953
7954 * gdb.mi/mi-var-cp.cc (path_expression): New
7955 function.
7956 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7957
7958 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7959
7960 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7961 to fit into SPU Local Store memory.
7962
7963 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7964
7965 * gdb.base/default.exp: Adjust the expected output of "info
7966 warranty" after the switch to GPLv3.
7967
7968 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7969
7970 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7971 to 30000 (from 20000).
7972
7973 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7974
7975 Switch the license of all .exp files to GPLv3.
7976 Switch the license of all .f and .f90 files to GPLv3.
7977 Switch the license of all .s and .S files to GPLv3.
7978
7979 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7980
7981 * configure.ac: Switch license to GPLv3.
7982
7983 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7984
7985 Switch the licensing to GPLv3 for all .ads and .adb files.
7986
7987 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7988
7989 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7990 and t_int_double.
7991 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7992
7993 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7994
7995 * gdb.base/step-line.c: Switch license to GPL version 3, and
7996 update copyright year.
7997 * gdb.base/step-line.inp: Likewise.
7998
7999 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8000
8001 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8002 changes inside gdb1555.c.
8003 * gdb.base/pending.exp: Likewise.
8004
8005 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8006
8007 * config/default.exp: New file.
8008
8009 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8010
8011 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8012 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8013
8014 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8015
8016 * gdb.base/dump.exp: Force the correct endianness for binary
8017 formats not carrying this information.
8018
8019 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8020
8021 * gdb.threads/staticthreads.exp: Match .*sem_post.
8022
8023 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8024
8025 * gdb.base/readline.exp (operate_and_get_next): Match the final
8026 prompt.
8027
8028 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8029
8030 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8031 to restarting SID.
8032
8033 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8034
8035 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8036 prior to `gdb_start'.
8037
8038 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8039
8040 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8041 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8042 Remove call to gdb_unload.
8043
8044 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8045 Daniel Jacobowitz <dan@codesourcery.com>
8046
8047 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8048 for __WIN32__.
8049 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8050 * gdb.base/unload.exp: Use shared library test routines.
8051
8052 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8053
8054 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8055 * gdb.base/solib-symbol-lib.c: Likewise.
8056 * gdb.base/solib-symbol-main.c: Likewise.
8057
8058 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8059
8060 * config/gdbserver.exp (gdb_reconnect): New.
8061 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8062 gdb.base/solib-disc.exp: New files.
8063 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8064 remote debugging".
8065 (gdb_compile): Add shlib_load flag.
8066 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8067 port.
8068 (gdbserver_reconnect): New.
8069
8070 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8071 Daniel Jacobowitz <dan@codesourcery.com>
8072
8073 * gdb.base/annota3.exp: Test for if construct.
8074
8075 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8076
8077 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8078
8079 2007-06-21 Chris Dearman <chris@mips.com>
8080 Maciej W. Rozycki <macro@mips.com>
8081
8082 * gdb.base/display.exp: Allow a newline after display/i.
8083 * gdb.base/pc-fp.exp: Likewise.
8084 * gdb.base/sigbpt.exp: Likewise.
8085
8086 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8087
8088 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8089 required features to be included.
8090
8091 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8092
8093 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8094 in info threads output.
8095
8096 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8097 Markus Deuling <deuling@de.ibm.com>
8098
8099 * gdb.arch/spu-info.exp: New testcase.
8100 * gdb.arch/spu-info.c: New file.
8101
8102 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8103
8104 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8105 tpcs_offset. Restore lr after the call.
8106 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8107
8108 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8109
8110 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8111 (gdbserver_run): Kill any running gdbserver.
8112 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8113
8114 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8115
8116 * gdb.base/sigbpt.exp: Preset segv_addr.
8117
8118 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8119
8120 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8121 (gdb_compile_shlib): Likewise.
8122 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8123 (default_gdb_init): Clear cleanfiles.
8124 (gdb_finish): Delete recorded cleanfiles.
8125 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8126
8127 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8128 Do not use isnative.
8129 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8130 gdb.base/so-impl-ld.exp: Likewise.
8131 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8132 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8133 gdb_compile.
8134
8135 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8136
8137 * config/unknown.exp: Remove.
8138
8139 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8140
8141 * gdb.base/info-proc.exp: Check is_remote.
8142
8143 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8144
8145 * gdb.base/gcore.exp: Initialize variable core_supported.
8146
8147 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8148
8149 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8150
8151 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8152
8153 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8154 * gdb.threads/print-threads.exp (test_all_threads): Allow
8155 negative and hexadecimal thread IDs.
8156
8157 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8158
8159 * gdb.java/jprint.java (public): Avoid invalid call to static
8160 method.
8161
8162 2007-05-14 Denis Pilat <denis.pilat@st.com>
8163
8164 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8165 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8166 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8167 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8168 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8169
8170 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8171
8172 * gdb.base/overlays.exp: Add support for targets with only code
8173 overlay support, not data overlay. Support spu-*-* target in
8174 this mode.
8175 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8176 * gdb.base/spu.ld: New file.
8177
8178 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8179
8180 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8181
8182 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8183
8184 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8185
8186 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8187
8188 * gdb.java/jmain.exp: Handle demangled names with and without method
8189 signatures.
8190
8191 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8192
8193 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8194 (have_a_very_merry_interrupt): Remove calls to puts.
8195 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8196 inferior output.
8197 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8198 test names.
8199
8200 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8201 Daniel Jacobowitz <dan@codesourcery.com>
8202
8203 * gdb.base/auxv.exp (core_works): Also check is_remote.
8204 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8205
8206 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8207
8208 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8209 message, not the undefined 'module' variable.
8210 * gdb.base/siginfo.exp: Likewise.
8211 * gdb.base/sigstep.exp: Likewise.
8212 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8213 serialport.
8214 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8215
8216 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8217
8218 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8219 target sim fails. Return 0 otherwise.
8220 (gdb_load): Return prematurely if gdb_target_sim fails.
8221
8222 2007-04-16 Denis Pilat <denis.pilat@st.com>
8223
8224 * gdb.base/setshow.exp: Reset height after having set it to 100.
8225
8226 2007-04-16 Denis Pilat <denis.pilat@st.com>
8227
8228 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8229
8230 2007-04-16 Denis Pilat <denis.pilat@st.com>
8231
8232 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8233
8234 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8235
8236 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8237 tests. Run the frozen varobjs test.
8238 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8239 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8240
8241 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8242
8243 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8244 gdb.base/type-opaque.exp: New files.
8245
8246 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8247
8248 * gdb.mi/mi-var-child.c
8249 (do_children_tests): User char[2] instead of
8250 char so that automatic printing of pointers to char
8251 don't give unpredicable result.
8252 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8253 local variables.
8254 * gdb.mi/mi-var-child.exp: Step to right line
8255 of do_children_tests.
8256 * gdb.mi/mi2-var-child.exp: Likewise.
8257 * gdb.mi/mi-var-cmd.exp: Step to right line of
8258 do_locals_tests.
8259 (do_children_tests): User char[2] instead of
8260 char so that automatic printing of pointers to char
8261 don't give unpredicable result.
8262 * gdb.mi/mi2-var-cmd.exp: Likewise.
8263 * lib/mi-support.exp (mi_continue_to_line):
8264 Pass test name to mi_wait_for_stop.
8265
8266 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8267
8268 * gdb.asm/asm-source.exp: Remove d10v case.
8269 * lib/gdb.exp (skip_cplus_tests): Likewise.
8270 * gdb.asm/d10v.inc: Deleted.
8271
8272 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8273
8274 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8275
8276 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8277
8278 * config/netware.exp: Delete file.
8279
8280 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8281
8282 * gdb.dwarf2/dw2-noloc.S: New file.
8283 * gdb.dwarf2/dw2-noloc.exp: New file.
8284
8285 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8286
8287 * gdb.cp/method2.cc: New test.
8288 * gdb.cp/method2.exp: New test.
8289 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8290
8291 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8292
8293 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8294
8295 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8296
8297 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8298
8299 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8300
8301 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8302 (gdb_load): Delete, replace with...
8303 (gdb_reload): ...this.
8304 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8305 * gdb.server/server-mon.exp: Likewise.
8306 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8307 (gdb_start_cmd): New.
8308 (gdb_file_cmd): Save the last loaded file.
8309 (gdb_reload): New.
8310 (gdb_gnu_strip_debug): Use transform.
8311 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8312 support here. Use new $last_loaded_file. Check mtime.
8313 (gdb_target_cmd): Handle ObjC failure case.
8314 (infer_host_exec): Delete.
8315 (gdbserver_load): Rename to...
8316 (gdbserver_run): ...this. Simplify.
8317 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8318 (mi_gdb_load): Move most contents to a new function...
8319 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8320 (mi_run_cmd): Use mi_gdb_target_load.
8321 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8322 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8323 Use gdb_run_cmd.
8324 * gdb.base/charsign.exp: Remove incorrect comment.
8325 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8326 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8327 gdb.base/start.exp: Use gdb_start_cmd.
8328
8329 2007-03-23 Nigel Stephens <nigel@mips.com>
8330 Maciej W. Rozycki <macro@mips.com>
8331
8332 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8333 * gdb.base/signull.exp: Similarly.
8334
8335 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8336
8337 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8338 messages available to test cases (like chng-sym.exp).
8339
8340 2007-03-14 Andreas Schwab <schwab@suse.de>
8341
8342 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8343 format changes.
8344
8345 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8346
8347 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8348 (optimized_1): New.
8349 (main): Call optimized_1.
8350 (gdb2029): Correct typos. Call gdb2029_marker.
8351 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8352 for gdb2029.
8353
8354 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8355
8356 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8357 as tabs. Remove redundant test pattern.
8358
8359 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8360
8361 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8362 for /a format output.
8363
8364 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8365
8366 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8367 collect output incrementally.
8368
8369 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8370
8371 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8372 for -var-create lpcharacter test.
8373 * gdb.mi/mi2-var-cmd.exp: Likewise.
8374
8375 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8376
8377 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8378 pass on targets where address zero is readable.
8379
8380 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8381
8382 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8383 just a single architecture.
8384
8385 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8386
8387 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8388 (fetch_all_registers): New function, uses gdb_test_multiple and
8389 exp_continue to fetch inferior output line-by-line.
8390 Replace all uses of do_get_all_registers by fetch_all_registers.
8391
8392 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8393
8394 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8395 in target_info.
8396
8397 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8398
8399 * gdb.threads/manythreads.exp: Use $message string for
8400 consistancy; add a default (timeout) case.
8401
8402 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8403
8404 * gdb.base/watchpoint.exp: Fix truncated comment.
8405
8406 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8407
8408 * Makefile.in: Remove spurious single-quotes from sed command.
8409
8410 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8411
8412 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8413 func.
8414 * gdb.mi/mi2-var-cmd.exp: Likewise.
8415
8416 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8417
8418 * gdb.dwarf2/dw2-producer.S: New file.
8419 * gdb.dwarf2/dw2-producer.exp: New testcase.
8420
8421 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8422
8423 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8424 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8425 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8426 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8427 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8428 Revert tests to use mi_gdb_test and include value field in output
8429 of -var-create.
8430
8431 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8432
8433 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8434
8435 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8436
8437 * gdb.base/maint.exp: Remove full paths from test names.
8438 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8439 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8440
8441 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8442
8443 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8444
8445 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8446
8447 * gdb.server/server-mon.exp: New test.
8448
8449 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8450
8451 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8452
8453 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8454
8455 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8456 register capitalization.
8457
8458 2007-02-13 Denis Pilat <denis.pilat@st.com>
8459
8460 * gdb.mi/mi-var-invalidate.exp: New file.
8461
8462 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8463
8464 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8465
8466 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8467
8468 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8469
8470 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8471
8472 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8473 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8474
8475 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8476
8477 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8478 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8479 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8480 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8481 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8482 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8483 Update tests to include value field in output of -var-create.
8484
8485 2007-02-08 Andreas Schwab <schwab@suse.de>
8486
8487 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8488
8489 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8490
8491 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8492 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8493
8494 2007-02-02 Denis Pilat <denis.pilat@st.com>
8495
8496 * gdb.threads/threadapply.exp: check that frame is not changed by
8497 the thread apply all command.
8498
8499 2007-01-31 Andreas Schwab <schwab@suse.de>
8500
8501 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8502
8503 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8504 in the dwarf sections.
8505 * gdb.dwarf2/mac-fileno.S: Likewise.
8506
8507 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8508 bspstore register on ia64.
8509
8510 2007-01-29 Andreas Schwab <schwab@suse.de>
8511
8512 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8513 "frame-begin" annotation.
8514
8515 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8516 number of "frames-invalid" annotations.
8517
8518 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8519
8520 * gdb.base/commands.exp: Call if_commands_test.
8521 (gdb_test_no_prompt, if_commands_test): New.
8522
8523 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8524
8525 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8526
8527 2007-01-27 Andreas Schwab <schwab@suse.de>
8528
8529 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8530 .short/.int/.quad in the dwarf sections.
8531 * gdb.dwarf2/dw2-intercu.S: Likewise.
8532 * gdb.dwarf2/dw2-intermix.S: Likewise.
8533
8534 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8537 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8538 array.
8539 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8540 * gdb.base/setvar.exp: Likewise.
8541
8542 2007-01-26 Andreas Schwab <schwab@suse.de>
8543
8544 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8545 test.
8546
8547 * gdb.base/multi-forks.exp ("restart $i"): Also match
8548 __kernel_syscall_via_break.
8549
8550 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8551
8552 * lib/mi-support.exp (mi_delete_varobj): New.
8553 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8554 testcase.
8555 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8556 (main): Call the above.
8557 (reference_update_test, base_in_reference_test)
8558 (reference_to_pointer): Delete the created varobjs.
8559
8560 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8561
8562 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8563 * configure: Regenerated.
8564 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8565 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8566 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8567 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8568 * lib/gdb.exp (gdb_skip_xml_test): New function.
8569
8570 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8571
8572 * gdb.base/sigrepeat.exp: Correct error message.
8573
8574 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8575 Daniel Jacobowitz <dan@codesourcery.com>
8576
8577 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8578 gdb.arch/i386-gnu-cfi-asm.S: New files.
8579
8580 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8581
8582 * lib/gdb.exp: Abort on missing `site.exp'.
8583
8584 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8585 Daniel Jacobowitz <dan@codesourcery.com>
8586
8587 * gdb.base/included.c, gdb.base/included.exp,
8588 gdb.base/included.h: New files.
8589
8590 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8591
8592 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8593 (maximize_rlimit): Reduce limits on 64-bit systems.
8594
8595 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8596
8597 From Marcus Deuling <deuling@de.ibm.com>:
8598 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8599 every case.
8600
8601 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8602
8603 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8604 (test_path_specification): Use objdir instead of srcdir to always
8605 get an absolute filename.
8606
8607 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8608
8609 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8610
8611 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8612
8613 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8614 Make sure the variable we're using is in scope.
8615 (reference_to_pointer): Likewise.
8616
8617 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8618
8619 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8620 has no debug information.
8621
8622 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8623
8624 * gdb.base/annota1.exp: Remove extra send_gdb.
8625
8626 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8627
8628 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8629
8630 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8631
8632 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8633
8634 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8635 Daniel Jacobowitz <dan@codesourcery.com>
8636
8637 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8638 lcharacter or linteger change. Correct duplicated test name.
8639 * gdb.mi/mi2-var-cmd.exp: Likewise.
8640
8641 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8642
8643 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8644
8645 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8646
8647 * gdb.base/nofield.c: New file.
8648 * gdb.base/nofield.exp: New testcase.
8649
8650 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8651
8652 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8653
8654 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8655 test.
8656
8657 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8658
8659 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8660
8661 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8662
8663 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8664 when continuing.
8665
8666 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8667
8668 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8669 Expect ".exe" extension.
8670
8671 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8672
8673 * gdb.base/charset.exp: Add explicit filename to break.
8674 * gdb.base/dbx.exp: Add explicit filename to breaks.
8675
8676 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8677
8678 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8679 * gdb.mi/mi2-file.exp: Likewise.
8680
8681 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8682
8683 Implement specification of MI tests as comments
8684 in C and C++ sources.
8685 * lib/mi-support.exp (mi_autotest_data): New variable.
8686 (mi_autotest_source): New variable.
8687 (count_newlines, mi_prepare_inline_tests)
8688 (mi_get_inline_test, mi_continue_to_line)
8689 (mi_run_inline_test, mi_tbreak)
8690 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8691 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8692 Run inline tests.
8693 * gdb.mi/mi-var-cp.cc: Define tests here.
8694
8695 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8696
8697 Simplify usage of mi_continue_to.
8698 * lib/mi-support.exp (mi_runto_helper): Renamed
8699 from mi_runto, added new parameter 'run_or_continue'.
8700 (mi_runto): Use mi_runto_helper.
8701 (mi_continue_to): Accept just function name as parameter.
8702 Use mi_runto_helper.
8703 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8704 * gdb.mi/mi2-var-cmd.exp: Likewise.
8705
8706 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8707
8708 Make this testcase a bit more realistic. The current code
8709 is too simplistic, and allows the compiler to optimize out
8710 some of the entities we need for this testcase.
8711 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8712 (Do_Nothing): Add extra parameter.
8713 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8714 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8715 by using a variable of type Void_Star.
8716
8717 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8718
8719 * gdb.ada/catch_ex/foo.adb: New file.
8720 * gdb.ada/catch_ex.exp: New testcase.
8721
8722 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8723
8724 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8725 pass --image-base to linker.
8726
8727 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8728 Daniel Jacobowitz <dan@codesourcery.com>
8729
8730 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8731 secondary prompts.
8732
8733 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8734
8735 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8736 output. Test the types of members and member pointers.
8737 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8738 gdb/2092.
8739 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8740 statement. Enable for GCC. Update expected output for some tests
8741 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8742 layout.
8743 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8744 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8745 (Diamond::vget_base): New.
8746 (main): Add new tests.
8747 * gdb.cp/printmethod.exp: Update expected output for member functions.
8748 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8749 print pEe->D::vg().
8750
8751 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8752
8753 * gdb.threads/tls.exp: Allow stops in sem_post.
8754
8755 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8756
8757 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8758 * gdb.base/annota3.exp: Likewise.
8759 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8760 again (instead of timing out).
8761 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8762 GCC bug 26475.
8763 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8764 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8765 test from jmisc1.exp.
8766 * gdb.java/jmisc1.exp: Delete.
8767 * gdb.java/jprint.exp: Adjust to work with method signatures including
8768 return types.
8769 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8770 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8771 * lib/java.exp (compile_java_from_source): Pass the correct type
8772 to target_compile.
8773
8774 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8775
8776 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8777 (stack_align_edx): New function.
8778 (stack_align_eax): New function.
8779 (main): Add calls to stack_align_edx and stack_align_eax.
8780 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8781 Add testing for the cases where the register used during a stack
8782 realignment is edx. Same for eax.
8783
8784 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8785
8786 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8787 and generic PE targets.
8788
8789 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8790
8791 * gdb.ada/array_return.exp: Update copyright date list.
8792
8793 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8794
8795 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8796 (Create_Small_Float_Vector): New function.
8797 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8798 function body.
8799 * gdb.ada/array_return/p.adb: Use new type and function from
8800 package Pck.
8801 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8802 able to print the value returned by a function returning an
8803 array of float.
8804
8805 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8806
8807 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8808 The associated tests should be PASSing.
8809
8810 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8811
8812 Test for base in references.
8813 * gdb.mi/mi-var-cp.cc: Add test code.
8814 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8815 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8816 * gdb.mi/mi2-watch.exp: Likewise.
8817 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8818 (mi_list_varobj_children): New function.
8819
8820 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8821
8822 * lib/mi-support.exp
8823 (mi_runto): Accept "()" after function name.
8824 (mi_create_varobj): New function.
8825 (mi_varobj_update): New function.
8826 (mi_Check_varobj_value): New function.
8827 * gdb.mi/mi-var-cp.exp: New file.
8828 * gdb.mi/mi-var-cp.cc: New file.
8829
8830 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8831
8832 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8833 gdb.base/weaklib2.c: New files.
8834
8835 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8836
8837 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8838 info. Adjust test names.
8839
8840 * gdb.base/break.c (main): Move position of malloc.
8841 * gdb.base/break.exp: Revert mistaken checkin.
8842
8843 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8844
8845 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8846 assignement of arrays and function pointers.
8847 * gdb.mi/var-cmd.c: Add declaration necessary for above
8848 tests.
8849
8850 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8851
8852 * gdb.base/break.c (main): Call malloc.
8853
8854 * gdb.threads/linux-dp.exp: Read thread table before and after
8855 creating each philosopher and verify it.
8856
8857 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8858 Paul Brook <paul@codesourcery.com>
8859 Daniel Jacobowitz <dan@codesourcery.com>
8860
8861 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8862 main to remove duplication. Add start function of the form
8863 '_*start[1-9]*'. Add RVDS start function.
8864
8865 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8866
8867 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8868
8869 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8870
8871 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8872 * gdb.asm/spu.inc: New file.
8873 * gdb.base/term.exp: Disable if [target_info exists noargs].
8874 * gdb.gdb/complaints.exp: Disable if ![isnative].
8875 * gdb.gdb/selftest.exp: Likewise.
8876 * gdb.gdb/observer.exp: Likewise.
8877 * gdb.gdb/xfullpath.exp: Likewise.
8878 * gdb.base/attach.exp: Disable on SPU target.
8879 * gdb.cp/bs145503.exp: Likewise.
8880 * gdb.cp/exception.exp: Likewise.
8881 * gdb.cp/userdef.exp: Likewise.
8882
8883 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8884
8885 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8886
8887 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8888
8889 * gdb.base/completion.exp: Fix completion tests for
8890 'info' and 'info '.
8891 * gdb.base/help.exp (help_test_raw, test_class_help)
8892 (test_prefix_command_help): Move...
8893 * lib/gdb.exp: Here.
8894 * gdb.base/main.exp: Adjust.
8895 * gdb.cp/maint.exp: Adjust.
8896 * gdb.trace/tracecmd.exp: Use test_help_class.
8897
8898 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8899
8900 * gdb.stabs/weird.exp (print_weird_var): Use
8901 gdb_test_multiple instead of gdb_expect.
8902
8903 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8904
8905 * gdb.base/help.exp (help_test_raw): New.
8906 (test_class_help): New.
8907 (test_prefix_command_help): New.
8908 Adjust testcases.
8909
8910 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8911
8912 * gdb.base/constvars.c (main): Write to crass and crips, so that
8913 they are allocated by the compiler.
8914
8915 2006-10-27 Andreas Schwab <schwab@suse.de>
8916
8917 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8918 "detach-fork".
8919
8920 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8921
8922 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8923 of patterns.
8924
8925 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8926
8927 * gdb.base/sepdebug.exp: Remove debug format test.
8928 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8929 Handle no-symtab.
8930 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8931
8932 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8933
8934 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8935 int to pointer or pointer to int.
8936 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8937
8938 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8939
8940 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8941
8942 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8943
8944 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8945
8946 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8947
8948 PR c++/2116
8949 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8950
8951 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8952
8953 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8954 the corresponding bug has been fixed in GDB (PR/2018).
8955
8956 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8957
8958 * gdb.base/subst.exp: New testcase.
8959
8960 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.ada/array_return/pck.ads: Add copyright notice.
8963 * gdb.ada/array_return/pck.adb: Likewise.
8964 * gdb.ada/array_return/p.adb: Likewise.
8965 * gdb.ada/exec_changed/first.adb: Likewise.
8966 * gdb.ada/exec_changed/second.adb: Likewise.
8967
8968 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8969
8970 * gdb.ada/watch_arg/watch.adb: New file.
8971 * gdb.ada/watch_arg.exp: New testcase.
8972
8973 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8974
8975 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8976 via string_to_regexp.
8977 * gdb.mi/mi2-basics.exp: Likewise.
8978
8979 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8980
8981 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8982 Remove unused / obsolete files.
8983
8984 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8985
8986 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8987
8988 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8989
8990 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8991 HIGH_FRAME argument to -stack-list-arguments can be larger than
8992 the number of frames.
8993
8994 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8995
8996 * gdb.base/args.c (main): Add breakpoint marker.
8997 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8998 really test empty arguments.
8999 (args_load): Delete.
9000 (args_test): New.
9001
9002 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9003
9004 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9005 check for one file.
9006
9007 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9008
9009 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9010 HIGH_FRAME argument to -stack-list-locals can be larger than
9011 the number of frames.
9012
9013 2006-08-18 Fred Fish <fnf@specifix.com>
9014
9015 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9016 '$' in front of skip_vmx_tests_saved when setting that.
9017
9018 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9019
9020 * gdb.base/trace-commands.exp: New file.
9021
9022 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9023 Daniel Jacobowitz <dan@codesourcery.com>
9024
9025 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9026 expected output of the backtrace commands.
9027
9028 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9029
9030 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9031 untested followed by return combination.
9032 * gdb.arch/altivec-regs.exp: Likewise.
9033 * gdb.arch/e500-abi.exp: Likewise.
9034 * gdb.arch/e500-regs.exp: Likewise.
9035 * gdb.arch/gdb1291.exp: Likewise.
9036 * gdb.arch/gdb1431.exp: Likewise.
9037 * gdb.arch/gdb1558.exp: Likewise.
9038 * gdb.arch/i386-prologue.exp: Likewise.
9039 * gdb.arch/i386-unwind.exp: Likewise.
9040 * gdb.asm/asm-source.exp: Likewise.
9041 * gdb.base/a2-run.exp: Likewise.
9042 * gdb.base/advance.exp: Likewise.
9043 * gdb.base/all-bin.exp: Likewise.
9044 * gdb.base/annota1.exp: Likewise.
9045 * gdb.base/annota3.exp: Likewise.
9046 * gdb.base/args.exp: Likewise.
9047 * gdb.base/arithmet.exp: Likewise.
9048 * gdb.base/assign.exp: Likewise.
9049 * gdb.base/async.exp: Likewise.
9050 * gdb.base/attach.exp: Likewise.
9051 * gdb.base/bang.exp: Likewise.
9052 * gdb.base/bigcore.exp: Likewise.
9053 * gdb.base/bitfields.exp: Likewise.
9054 * gdb.base/bitfields2.exp: Likewise.
9055 * gdb.base/break.exp: Likewise.
9056 * gdb.base/call-sc.exp: Likewise.
9057 * gdb.base/call-strs.exp: Likewise.
9058 * gdb.base/callfuncs.exp: Likewise.
9059 * gdb.base/checkpoint.exp: Likewise.
9060 * gdb.base/chng-syms.exp: Likewise.
9061 * gdb.base/code-expr.exp: Likewise.
9062 * gdb.base/commands.exp: Likewise.
9063 * gdb.base/completion.exp: Likewise.
9064 * gdb.base/cond-expr.exp: Likewise.
9065 * gdb.base/condbreak.exp: Likewise.
9066 * gdb.base/consecutive.exp: Likewise.
9067 * gdb.base/constvars.exp: Likewise.
9068 * gdb.base/corefile.exp: Likewise.
9069 * gdb.base/cvexpr.exp: Likewise.
9070 * gdb.base/dbx.exp: Likewise.
9071 * gdb.base/define.exp: Likewise.
9072 * gdb.base/detach.exp: Likewise.
9073 * gdb.base/display.exp: Likewise.
9074 * gdb.base/dump.exp: Likewise.
9075 * gdb.base/ena-dis-br.exp: Likewise.
9076 * gdb.base/ending-run.exp: Likewise.
9077 * gdb.base/environ.exp: Likewise.
9078 * gdb.base/eval-skip.exp: Likewise.
9079 * gdb.base/exprs.exp: Likewise.
9080 * gdb.base/fileio.exp: Likewise.
9081 * gdb.base/finish.exp: Likewise.
9082 * gdb.base/float.exp: Likewise.
9083 * gdb.base/foll-exec.exp: Likewise.
9084 * gdb.base/foll-fork.exp: Likewise.
9085 * gdb.base/foll-vfork.exp: Likewise.
9086 * gdb.base/freebpcmd.exp: Likewise.
9087 * gdb.base/funcargs.exp: Likewise.
9088 * gdb.base/gcore.exp: Likewise.
9089 * gdb.base/gdb1090.exp: Likewise.
9090 * gdb.base/gdb1250.exp: Likewise.
9091 * gdb.base/huge.exp: Likewise.
9092 * gdb.base/info-proc.exp: Likewise.
9093 * gdb.base/interrupt.exp: Likewise.
9094 * gdb.base/jump.exp: Likewise.
9095 * gdb.base/langs.exp: Likewise.
9096 * gdb.base/lineinc.exp: Likewise.
9097 * gdb.base/list.exp: Likewise.
9098 * gdb.base/logical.exp: Likewise.
9099 * gdb.base/long_long.exp: Likewise.
9100 * gdb.base/macscp.exp: Likewise.
9101 * gdb.base/maint.exp: Likewise.
9102 * gdb.base/mips_pro.exp: Likewise.
9103 * gdb.base/miscexprs.exp: Likewise.
9104 * gdb.base/multi-forks.exp: Likewise.
9105 * gdb.base/opaque.exp: Likewise.
9106 * gdb.base/overlays.exp: Likewise.
9107 * gdb.base/pc-fp.exp: Likewise.
9108 * gdb.base/pointers.exp: Likewise.
9109 * gdb.base/printcmds.exp: Likewise.
9110 * gdb.base/psymtab.exp: Likewise.
9111 * gdb.base/ptype.exp: Likewise.
9112 * gdb.base/recurse.exp: Likewise.
9113 * gdb.base/relational.exp: Likewise.
9114 * gdb.base/relocate.exp: Likewise.
9115 * gdb.base/remote.exp: Likewise.
9116 * gdb.base/reread.exp: Likewise.
9117 * gdb.base/restore.exp: Likewise.
9118 * gdb.base/return.exp: Likewise.
9119 * gdb.base/return2.exp: Likewise.
9120 * gdb.base/scope.exp: Likewise.
9121 * gdb.base/sect-cmd.exp: Likewise.
9122 * gdb.base/sep.exp: Likewise.
9123 * gdb.base/sepdebug.exp: Likewise.
9124 * gdb.base/setshow.exp: Likewise.
9125 * gdb.base/setvar.exp: Likewise.
9126 * gdb.base/sigall.exp: Likewise.
9127 * gdb.base/sigbpt.exp: Likewise.
9128 * gdb.base/signals.exp: Likewise.
9129 * gdb.base/signull.exp: Likewise.
9130 * gdb.base/sizeof.exp: Likewise.
9131 * gdb.base/solib.exp: Likewise.
9132 * gdb.base/step-line.exp: Likewise.
9133 * gdb.base/step-test.exp: Likewise.
9134 * gdb.base/structs.exp: Likewise.
9135 * gdb.base/structs2.exp: Likewise.
9136 * gdb.base/term.exp: Likewise.
9137 * gdb.base/twice.exp: Likewise.
9138 * gdb.base/until.exp: Likewise.
9139 * gdb.base/varargs.exp: Likewise.
9140 * gdb.base/volatile.exp: Likewise.
9141 * gdb.base/watchpoint.exp: Likewise.
9142 * gdb.base/whatis-exp.exp: Likewise.
9143 * gdb.base/whatis.exp: Likewise.
9144 * gdb.cp/ambiguous.exp: Likewise.
9145 * gdb.cp/annota2.exp: Likewise.
9146 * gdb.cp/annota3.exp: Likewise.
9147 * gdb.cp/bool.exp: Likewise.
9148 * gdb.cp/breakpoint.exp: Likewise.
9149 * gdb.cp/casts.exp: Likewise.
9150 * gdb.cp/class2.exp: Likewise.
9151 * gdb.cp/classes.exp: Likewise.
9152 * gdb.cp/cplusfuncs.exp: Likewise.
9153 * gdb.cp/ctti.exp: Likewise.
9154 * gdb.cp/derivation.exp: Likewise.
9155 * gdb.cp/exception.exp: Likewise.
9156 * gdb.cp/gdb1355.exp: Likewise.
9157 * gdb.cp/hang.exp: Likewise.
9158 * gdb.cp/inherit.exp: Likewise.
9159 * gdb.cp/local.exp: Likewise.
9160 * gdb.cp/m-data.exp: Likewise.
9161 * gdb.cp/m-static.exp: Likewise.
9162 * gdb.cp/member-ptr.exp: Likewise.
9163 * gdb.cp/method.exp: Likewise.
9164 * gdb.cp/misc.exp: Likewise.
9165 * gdb.cp/namespace.exp: Likewise.
9166 * gdb.cp/overload.exp: Likewise.
9167 * gdb.cp/ovldbreak.exp: Likewise.
9168 * gdb.cp/pr-1023.exp: Likewise.
9169 * gdb.cp/pr-1210.exp: Likewise.
9170 * gdb.cp/pr-574.exp: Likewise.
9171 * gdb.cp/printmethod.exp: Likewise.
9172 * gdb.cp/psmang.exp: Likewise.
9173 * gdb.cp/ref-params.exp: Likewise.
9174 * gdb.cp/ref-types.exp: Likewise.
9175 * gdb.cp/rtti.exp: Likewise.
9176 * gdb.cp/templates.exp: Likewise.
9177 * gdb.cp/try_catch.exp: Likewise.
9178 * gdb.cp/userdef.exp: Likewise.
9179 * gdb.cp/virtfunc.exp: Likewise.
9180 * gdb.disasm/am33.exp: Likewise.
9181 * gdb.disasm/h8300s.exp: Likewise.
9182 * gdb.disasm/mn10300.exp: Likewise.
9183 * gdb.disasm/sh3.exp: Likewise.
9184 * gdb.disasm/t01_mov.exp: Likewise.
9185 * gdb.disasm/t02_mova.exp: Likewise.
9186 * gdb.disasm/t03_add.exp: Likewise.
9187 * gdb.disasm/t04_sub.exp: Likewise.
9188 * gdb.disasm/t05_cmp.exp: Likewise.
9189 * gdb.disasm/t06_ari2.exp: Likewise.
9190 * gdb.disasm/t07_ari3.exp: Likewise.
9191 * gdb.disasm/t08_or.exp: Likewise.
9192 * gdb.disasm/t09_xor.exp: Likewise.
9193 * gdb.disasm/t10_and.exp: Likewise.
9194 * gdb.disasm/t11_logs.exp: Likewise.
9195 * gdb.disasm/t12_bit.exp: Likewise.
9196 * gdb.disasm/t13_otr.exp: Likewise.
9197 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9198 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9199 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9200 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9201 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9202 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9203 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9204 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9205 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9206 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9207 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9208 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9209 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9210 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9211 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9212 * gdb.mi/gdb701.exp: Likewise.
9213 * gdb.mi/gdb792.exp: Likewise.
9214 * gdb.mi/mi-basics.exp: Likewise.
9215 * gdb.mi/mi-break.exp: Likewise.
9216 * gdb.mi/mi-cli.exp: Likewise.
9217 * gdb.mi/mi-console.exp: Likewise.
9218 * gdb.mi/mi-disassemble.exp: Likewise.
9219 * gdb.mi/mi-eval.exp: Likewise.
9220 * gdb.mi/mi-file.exp: Likewise.
9221 * gdb.mi/mi-read-memory.exp: Likewise.
9222 * gdb.mi/mi-regs.exp: Likewise.
9223 * gdb.mi/mi-return.exp: Likewise.
9224 * gdb.mi/mi-simplerun.exp: Likewise.
9225 * gdb.mi/mi-stack.exp: Likewise.
9226 * gdb.mi/mi-stepi.exp: Likewise.
9227 * gdb.mi/mi-syn-frame.exp: Likewise.
9228 * gdb.mi/mi-until.exp: Likewise.
9229 * gdb.mi/mi-var-block.exp: Likewise.
9230 * gdb.mi/mi-var-child.exp: Likewise.
9231 * gdb.mi/mi-var-cmd.exp: Likewise.
9232 * gdb.mi/mi-var-display.exp: Likewise.
9233 * gdb.mi/mi-watch.exp: Likewise.
9234 * gdb.mi/mi2-basics.exp: Likewise.
9235 * gdb.mi/mi2-break.exp: Likewise.
9236 * gdb.mi/mi2-cli.exp: Likewise.
9237 * gdb.mi/mi2-console.exp: Likewise.
9238 * gdb.mi/mi2-disassemble.exp: Likewise.
9239 * gdb.mi/mi2-eval.exp: Likewise.
9240 * gdb.mi/mi2-file.exp: Likewise.
9241 * gdb.mi/mi2-read-memory.exp: Likewise.
9242 * gdb.mi/mi2-regs.exp: Likewise.
9243 * gdb.mi/mi2-return.exp: Likewise.
9244 * gdb.mi/mi2-simplerun.exp: Likewise.
9245 * gdb.mi/mi2-stack.exp: Likewise.
9246 * gdb.mi/mi2-stepi.exp: Likewise.
9247 * gdb.mi/mi2-syn-frame.exp: Likewise.
9248 * gdb.mi/mi2-until.exp: Likewise.
9249 * gdb.mi/mi2-var-block.exp: Likewise.
9250 * gdb.mi/mi2-var-child.exp: Likewise.
9251 * gdb.mi/mi2-var-cmd.exp: Likewise.
9252 * gdb.mi/mi2-var-display.exp: Likewise.
9253 * gdb.mi/mi2-watch.exp: Likewise.
9254 * gdb.stabs/exclfwd.exp: Likewise.
9255 * gdb.stabs/weird.exp: Likewise.
9256 * gdb.threads/gcore-thread.exp: Likewise.
9257 * gdb.trace/actions.exp: Likewise.
9258 * gdb.trace/backtrace.exp: Likewise.
9259 * gdb.trace/circ.exp: Likewise.
9260 * gdb.trace/collection.exp: Likewise.
9261 * gdb.trace/deltrace.exp: Likewise.
9262 * gdb.trace/infotrace.exp: Likewise.
9263 * gdb.trace/limits.exp: Likewise.
9264 * gdb.trace/packetlen.exp: Likewise.
9265 * gdb.trace/passc-dyn.exp: Likewise.
9266 * gdb.trace/passcount.exp: Likewise.
9267 * gdb.trace/report.exp: Likewise.
9268 * gdb.trace/save-trace.exp: Likewise.
9269 * gdb.trace/tfind.exp: Likewise.
9270 * gdb.trace/tracecmd.exp: Likewise.
9271 * gdb.trace/while-dyn.exp: Likewise.
9272 * gdb.trace/while-stepping.exp: Likewise.
9273
9274 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9275
9276 * gdb.base/step-bt.c: New file.
9277 * gdb.base/step-bt.exp: New testcase.
9278
9279 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9280
9281 * config/monitor.exp (gdb_load): Remove support for obsolete
9282 download-write-size.
9283 * gdb.base/remote.exp: Likewise. Update all callers of
9284 gdb_timed_load.
9285
9286 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9287
9288 * cursal.exp: Pass binfile to gdb_load.
9289
9290 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9291
9292 * gdb.base/cursal.exp: Add "" to gdb_load call.
9293
9294 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9295
9296 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9297 NetBSD/ELF targets.
9298
9299 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9300
9301 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9302 operator*.
9303
9304 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9305
9306 * gdb.base/completion.exp: Update for change in "file" behavior.
9307 * gdb.stabs/weird.exp: Likewise.
9308 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9309 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9310
9311 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9312
9313 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9314 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9315
9316 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9317
9318 * gdb.base/default.exp: Update source command error message.
9319 * gdb.base/help.exp: Update 'help source' message.
9320
9321 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9322
9323 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9324 test.
9325
9326 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9327
9328 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9329
9330 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9331
9332 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9333
9334 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9335
9336 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9337
9338 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9339
9340 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9341 *-*-openbsd* from targets for wich we expect ARM FPA floating
9342 point format.
9343
9344 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9345
9346 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9347
9348 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9349
9350 * gdb.base/annota3.exp: Expect frame-begin annotation.
9351
9352 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9353
9354 * gdb.base/help.exp: Adjust "help unset" test to accept
9355 any list of unset commands.
9356
9357 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9358 Daniel Jacobowitz <dan@codesourcery.com>
9359
9360 * gdb.cp/ref-params.exp: New test.
9361 * gdb.cp/ref-params.cc: New source file.
9362 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9363
9364 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9365
9366 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9367 spaces/tabs in regular expressions since they might not be there.
9368
9369 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9370
9371 * gdb.base/ifelse.exp: New file.
9372
9373 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9374
9375 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9376 line.
9377 * gdb.base/huge.exp: Loop over compilation to find a size that
9378 is acceptable.
9379 * gdb.base/remote.exp: Correct expected strings.
9380 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9381
9382 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9383
9384 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9385
9386 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9387
9388 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9389 native.
9390
9391 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9392
9393 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9394 enable stabs testing.
9395
9396 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9397
9398 * gdb.base/auxv.exp: Intercept undefined command messages before
9399 gdb_test_multiple does.
9400
9401 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9402
9403 * Makefile.in (host_alias): Remove.
9404 (target_alias): Use @target_noncanonical@.
9405 (site.exp): Don't set host_alias.
9406 * aclocal.m4: Remove contents. Include acx.m4.
9407 * configure: Regenerated.
9408 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9409
9410 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9411
9412 * lib/gdb.exp (gdb_load_cmd): New.
9413
9414 * gdb.base/fileio.c: Add system(NULL) test.
9415 * gdb.base/fileio.exp: Check it.
9416
9417 * gdb.base/break.c: Add 10a breakpoint at }
9418 * gdb.base/break.exp: Add test for breakpoint at }
9419 * gdb.cp/anon-union.cc: Add code at end of function.
9420 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9421 * gdb.mi/var-cmd.c: Add code at end of function.
9422 * gdb.mi/mi-var-display.exp: Adjust end of next.
9423 * gdb.mi/mi2-var-display.exp: Likewise.
9424 * gdb.base/fileio.c: Add stop function and insert calls at
9425 stopping places.
9426 * gdb.base/fileio.exp: Breakpoint stop function and remove
9427 explicit line number references.
9428
9429 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9430
9431 * gdb.base/del.exp (test_delete_alias): New function.
9432 Now check that both "del" and "d" work as aliases for "delete".
9433
9434 2006-05-18 Fred Fish <fnf@specifix.com>
9435
9436 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9437 required. Check for spurious output after program exits normally.
9438
9439 2006-05-17 Fred Fish <fnf@specifix.com>
9440
9441 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9442 gdb_load, so it works in the simulator.
9443
9444 2006-05-11 Fred Fish <fnf@specifix.com>
9445
9446 * gdb.base/bang.exp: Ignore unexpected output between the
9447 "program exited normally" and the gdb prompt, as many other
9448 tests do.
9449
9450 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9451
9452 * gdb.base/help.exp: Make "delete checkpoint" part option for
9453 "help d" and "help delete" tests.
9454
9455 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9456
9457 * gdb.mi/mi-basics.exp: Add missing serial number to
9458 expected output in some mi_gdb_test statements.
9459 * gdb.mi/mi2-basics.exp: Likewise.
9460
9461 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9462
9463 * gdb.base/del.c: New file.
9464 * gdb.base/del.exp: New testcase.
9465
9466 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9467
9468 * gdb.base/break.exp: Do not assume a breakpoint on
9469 main will actually be in $srcfile when optimizing.
9470 * gdb.base/savedregs.exp: Do not require that the dummy
9471 frame location match up to a symbol and source file location.
9472 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9473 will get printed without a mi_cmd_data_list_register_values prefix.
9474 (*-data-list-register-*): Correct regular expressions to expect the new
9475 pseudo d? floating point registers.
9476 * gdb.mi/mi2-regs.exp: Likewise.
9477
9478 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9479
9480 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9481 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9482 is allocated by the compiler.
9483 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9484 anons, e, anone to force their allocation by the compiler.
9485
9486 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9487
9488 * gdb.base/help.exp: Update expected text for help d and
9489 help delete.
9490
9491 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9492
9493 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9494 NetBSD/ELF targets.
9495
9496 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9497
9498 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9499 single-step breakpoint fails; make this a KFAIL on
9500 sparc*-*-openbsd*.
9501 * gdb.base/siginfo.exp: Likewise.
9502 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9503
9504 2006-04-26 Michael Snyder <msnyder@redhat.com>
9505
9506 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9507 which may have to consume output from other forks.
9508 Add tests to make sure that "delete fork" succeeded.
9509
9510 2006-04-20 Michael Snyder <msnyder@redhat.com>
9511
9512 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9513 Add support for the Renesas M32C and M16C.
9514
9515 * gdb.asm/asm-source.exp: Add m32c target.
9516 * gdb.asm/m32c.inc: Support for m32c target.
9517
9518 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9519
9520 * gdb.base/commands.exp (recursive_source_test): New test.
9521
9522 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9523
9524 * gdb.base/float.exp: Add pattern for sparc targets.
9525
9526 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9527
9528 * gdb.base/commands.exp (stray_arg0_test): New test.
9529
9530 2006-03-30 Paul Brook <paul@codesourcery.com>
9531
9532 * gdb.mi/mi-until.exp: kfail broken until command.
9533 * gdb.mi/mi2-until.exp: Ditto.
9534
9535 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9536
9537 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9538
9539 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9540
9541 * gdb.base/prelink.exp: Anchor tested-for regular expression
9542 on gdb prompt.
9543
9544 2006-03-07 Paul Brook <paul@codesourcery.com>
9545
9546 * gdb.base/assign.exp: Correct fail message.
9547
9548 2006-03-07 Paul Brook <paul@codesourcery.com>
9549
9550 * lib/compiler.c: Extract armcc version number.
9551 * lib/compiler.cc: Ditto.
9552
9553 2006-03-07 Paul Brook <paul@codesourcery.com>
9554
9555 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9556 additional_flags=-w.
9557 * gdb.arch/altivec-regs.exp: Ditto.
9558 * gdb.arch/e500-abi.exp: Ditto.
9559 * gdb.arch/e500-regs.exp: Ditto.
9560 * gdb.base/all-bin.exp: Ditto.
9561 * gdb.base/annota1.exp: Ditto.
9562 * gdb.base/annota3.exp: Ditto.
9563 * gdb.base/args.exp: Ditto.
9564 * gdb.base/arithmet.exp: Ditto.
9565 * gdb.base/assign.exp: Ditto.
9566 * gdb.base/async.exp: Ditto.
9567 * gdb.base/bang.exp: Ditto.
9568 * gdb.base/break.exp: Ditto.
9569 * gdb.base/call-rt-st.exp: Ditto.
9570 * gdb.base/completion.exp: Ditto.
9571 * gdb.base/cond-expr.exp: Ditto.
9572 * gdb.base/condbreak.exp: Ditto.
9573 * gdb.base/consecutive.exp: Ditto.
9574 * gdb.base/define.exp: Ditto.
9575 * gdb.base/display.exp: Ditto.
9576 * gdb.base/ena-dis-br.exp: Ditto.
9577 * gdb.base/environ.exp: Ditto.
9578 * gdb.base/eval-skip.exp: Ditto.
9579 * gdb.base/info-proc.exp: Ditto.
9580 * gdb.base/jump.exp: Ditto.
9581 * gdb.base/logical.exp: Ditto.
9582 * gdb.base/long_long.exp: Ditto.
9583 * gdb.base/maint.exp: Ditto.
9584 * gdb.base/miscexprs.exp: Ditto.
9585 * gdb.base/pc-fp.exp: Ditto.
9586 * gdb.base/pointers.exp: Ditto.
9587 * gdb.base/relational.exp: Ditto.
9588 * gdb.base/reread.exp: Ditto.
9589 * gdb.base/sect-cmd.exp: Ditto.
9590 * gdb.base/sep.exp: Ditto.
9591 * gdb.base/sepdebug.exp: Ditto.
9592 * gdb.base/until.exp: Ditto.
9593 * gdb.base/whatis-exp.exp: Ditto.
9594 * gdb.cp/annota2.exp: Ditto.
9595 * gdb.cp/annota3.exp: Ditto.
9596 * gdb.trace/actions.exp: Ditto.
9597 * gdb.trace/backtrace.exp: Ditto.
9598 * gdb.trace/circ.exp: Ditto.
9599 * gdb.trace/collection.exp: Ditto.
9600 * gdb.trace/deltrace.exp: Ditto.
9601 * gdb.trace/infotrace.exp: Ditto.
9602 * gdb.trace/limits.exp: Ditto.
9603 * gdb.trace/packetlen.exp: Ditto.
9604 * gdb.trace/passc-dyn.exp: Ditto.
9605 * gdb.trace/passcount.exp: Ditto.
9606 * gdb.trace/report.exp: Ditto.
9607 * gdb.trace/save-trace.exp: Ditto.
9608 * gdb.trace/tfind.exp: Ditto.
9609 * gdb.trace/tracecmd.exp: Ditto.
9610 * gdb.trace/while-dyn.exp: Ditto.
9611 * gdb.trace/while-stepping.exp: Ditto.
9612 * lib/gdb.exp: Ditto.
9613 (gdb_compile): Handle nowarning option.
9614
9615 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9616
9617 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9618 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9619 Rename executable to prelinkt. Don't re-prelink if we didn't
9620 get a core file. Test prelink -u exit status to tell whether
9621 prelinking failed. Use gdb_test_multiple.
9622
9623 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9624
9625 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9626 (do_tests): Call it.
9627
9628 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9629
9630 * gdb.base/prelink.exp: New test.
9631 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9632
9633 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9634
9635 * gdb.fortran/derived-type.f90: New file.
9636 * gdb.fortran/derived-type.exp: New testcase.
9637
9638 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9639
9640 * gdb.base/default.exp: Allow ';' as a directory separator.
9641
9642 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9643
9644 * gdb.base/help.exp (help add-symbol-file): Update.
9645
9646 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9647
9648 * gdb.base/help.exp (help load): Update expected results.
9649
9650 2006-02-19 Fred Fish <fnf@specifix.com>
9651
9652 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9653 specifix hex value as part of results.
9654 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9655
9656 2006-02-16 Fred Fish <fnf@specifix.com>
9657
9658 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9659 ushort_addr, and slong_addr, so the typedefs are not optimized
9660 away.
9661 * gdb.base/whatis.exp: Add tests using type name for struct type,
9662 union type, enum type, and typedef.
9663
9664 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9665
9666 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9667
9668 2006-02-13 Jim Blandy <jimb@redhat.com>
9669
9670 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9671 case where it takes two "next" commands to skip past the init
9672 call.
9673
9674 2006-02-12 Fred Fish <fnf@specifix.com>
9675
9676 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9677 to handle cases where it takes two "next" commands to skip
9678 past the init call.
9679
9680 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9681
9682 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9683 on hppa32 targets.
9684
9685 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9686
9687 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9688 field.
9689
9690 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9691
9692 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9693
9694 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9695
9696 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9697 files.
9698
9699 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.cp/maint.exp: Set complaints to a positive value.
9702
9703 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9704
9705 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9706 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9707 function name.
9708
9709 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9710
9711 * gdb.base/checkpoint.c: Update copyright notice. Include
9712 <stdlib.h>.
9713
9714 2006-01-04 Jim Blandy <jimb@redhat.com>
9715
9716 * gdb.asm/asm-source.exp: Independently provide default values for
9717 asm-flags and debug-flags. Use 'string equal' to do the
9718 comparison, not the implicit expr's '==' operator. Remove
9719 now-unneeded assignments to asm-flags. In h8300 case, place
9720 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9721
9722 2006-01-04 Michael Snyder <msnyder@redhat.com>
9723
9724 * gdb.base/checkpoint.c: New file.
9725 * gdb.base/checkpoint.exp: New file.
9726 * gdb.base/multi-fork.c: New file.
9727 * gdb.base/multi-fork.exp: New file.
9728 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9729
9730 2006-01-04 Fred Fish <fnf@specifix.com>
9731
9732 * gdb.base/ptype.c (foo): Add typedef.
9733 (intfoo): Add function.
9734 * gdb.base/ptype1.c: New file.
9735 * gdb.base/ptype.exp: Handle compilation and linking with two
9736 source files. Test that proper type for "foo" is found based
9737 on source context rather than first match found in symtabs.
9738
9739 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9740
9741 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9742 * gdb.asm/openbsd.inc: Indent commands.
9743
9744 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9745
9746 * gdb.base/freebpcmd.exp: Increase timeout.
9747
9748 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9749
9750 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9751
9752 * gdb.base/default.exp: Update check for "show version".
9753
9754 2005-12-09 Randolph Chung <tausq@debian.org>
9755
9756 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9757 * gdb.asm/pa64.inc: New file.
9758
9759 2005-12-09 Randolph Chung <tausq@debian.org>
9760
9761 * gdb.asm/common.inc: Indent commands.
9762 * gdb.asm/asmsrc1.s: Likewise.
9763 * gdb.asm/asmsrc2.s: Likewise.
9764
9765 2005-12-09 Randolph Chung <tausq@debian.org>
9766
9767 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9768 (get_addr_of_sym): Remove duplicate print.
9769 (gen_core): xfail hppa*-*-hpux*, update expected output.
9770 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9771 * gdb.arch/pa64-nullify.s: New file.
9772
9773 2005-12-09 Randolph Chung <tausq@debian.org>
9774
9775 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9776
9777 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9778
9779 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9780 code generation for these functions.
9781 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9782 error message.
9783
9784 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9785
9786 * gdb.base/help.exp (help b, help br, help bre, help brea)
9787 (help break): Update the expected message.
9788
9789 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9790
9791 * gdb.asm/m68hc11.inc: Setup the data section.
9792 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9793 script for this test.
9794 (m6812-*-*): Likewise.
9795
9796 2005-11-09 Randolph Chung <tausq@debian.org>
9797
9798 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9799
9800 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9801
9802 * gdb.base/break.exp: Fix a comment typo.
9803
9804 2005-11-03 Jim Blandy <jimb@redhat.com>
9805
9806 Checked in by Elena Zannoni <ezannoni@redhat.com>
9807
9808 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9809
9810 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9811
9812 * gdb.arch/gdb1558.c: Include stdio.h.
9813
9814 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9815
9816 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9817
9818 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9819
9820 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9821
9822 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9823
9824 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9825 vscr" tests to better match output.
9826
9827 2005-10-12 Jim Blandy <jimb@redhat.com>
9828
9829 * gdb.base/structs.exp (any): New function.
9830 (test_struct_returns): Don't make any assumptions at all about
9831 what value the function returns when GDB can't set the return
9832 value.
9833
9834 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9835
9836 * gdb.ada/arrayidx/p.adb: New file.
9837 * gdb.ada/arrayidx.exp: New testcase
9838
9839 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9840
9841 * gdb.ada/array_return/pck.ads: New file.
9842 * gdb.ada/array_return/pck.adb: New file.
9843 * gdb.ada/array_return/p.adb: New file.
9844 * gdb.ada/array_return.exp: New testcase.
9845
9846 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9847
9848 * gdb.base/arrayidx.c: New file.
9849 * gdb.base/arrayidx.exp: New testcase.
9850
9851 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9852
9853 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9854 frames-invalid and breakpoints-invalid are no longer generated
9855 with level 3 so don't expect them in the output.
9856
9857 2005-09-27 Bob Rossi <bob@brasko.net>
9858
9859 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9860 from test. Escape the | in mi_gdb_test call.
9861 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9862 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9863 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9864 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9865 expected regex's in mi_gdb_test calls.
9866 * lib/mi-support.exp: Remove arbitrary .* from tests.
9867 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9868 Fully anchor GDB/MI expected results in mi_gdb_test.
9869 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9870 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9871
9872 2005-09-26 Paul Brook <paul@codesourcery.com>
9873
9874 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9875
9876 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9877
9878 * bfp-test.c: New file.
9879 * bfp-test.exp: New testcase.
9880
9881 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9882
9883 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9884 of subarray and substring variable.
9885 * gdb.fortran/subarray.f: New source file for the test of subarray
9886 and substring variable evaluation.
9887 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9888 of string constant.
9889
9890 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9891
9892 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9893 copyright dates.
9894
9895 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9896
9897 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9898 powerpc altivec' test with an almost identical 'info vector' test.
9899
9900 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9901
9902 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9903 vscr" tests to match output.
9904
9905 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9906
9907 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9908 output.
9909
9910 2005-09-11 Bob Rossi <bob@brasko.net>
9911
9912 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9913 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9914 commands that return an MI output command and an asyncronous MI output
9915 command.
9916 * gdb.mi/mi-console.exp: Ditto.
9917
9918 2005-09-11 Bob Rossi <bob@brasko.net>
9919
9920 * gdb.mi/mi-var-child.c: Include <string.h>.
9921
9922 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9923
9924 * killed.exp: Correct gdb_expect syntax.
9925
9926 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9927
9928 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9929
9930 2005-08-02 Bob Rossi <bob@brasko.net>
9931
9932 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9933 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9934 Change tests to inferior-tty-set/show.
9935 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9936 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9937 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9938 inferior. Use mi_gdb_test to get GDB and Inferior output.
9939 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9940 descriptor.
9941 (mi_inferior_tty_name): Add inferior PTY file name.
9942 (mi_gdb_start): Add INFERIOR_PTY parameter.
9943 (mi_gdb_test): Add IPATTERN parameter.
9944
9945 2005-08-02 Bob Rossi <bob@brasko.net>
9946
9947 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9948 parameter to mi_gdb_test.
9949 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9950
9951 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9952
9953 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9954 struct_declarations.
9955 * gdb.mi/mi-var-child.exp: Step over the initialization of
9956 struct_declarations.
9957
9958 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9959
9960 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9961 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9962 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9963 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9964 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9965 file.
9966
9967 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9968
9969 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9970 (do_children_tests): Assign values to the extra elements.
9971
9972 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9973 them for tests for "-var-update --no-values" and
9974 "-var-update --all-values".
9975 Add test for "-var-list-children --simple-values".
9976
9977 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9978
9979 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9980 "-stack-list-locals --simple-values" Improve doc strings and
9981 comments.
9982
9983 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9984
9985 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9986 *-*-openbsd*.
9987 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9988
9989 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9990 sigaltsatck'.
9991
9992 2005-07-14 Bob Rossi <bob@brasko.net>
9993
9994 * gdb.base/default.exp (tty): Changed output of command.
9995 * gdb.base/help.exp (help tty): Ditto.
9996
9997 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9998
9999 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10000
10001 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10002
10003 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10004 -stack-select-frame without arguments.
10005 (test_stack_frame_listing): Add test for newly implemented command
10006 -stack-info-frame.
10007
10008 2005-07-06 Bob Rossi <bob@brasko.net>
10009
10010 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10011 command.
10012 (Copyright): Update copyright.
10013
10014 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10015
10016 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10017 tests to evaluate exponentiation expression.
10018
10019 2005-06-29 Andreas Schwab <schwab@suse.de>
10020
10021 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10022 main to avoid warnings.
10023
10024 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10025
10026 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10027
10028 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10029 -stack-select-frame without arguments.
10030 (test_stack_frame_listing): Add test for newly implemented command
10031 -stack-info-frame.
10032
10033 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10034
10035 * gdb.fortran/array-element.f: New file.
10036 * gdb.fortran/array-element.exp: New testcase.
10037
10038 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10039
10040 * gdb.base/bigcore.exp: Correct checks for systems which can
10041 not dump a large core file.
10042
10043 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10044
10045 * gdb.base/relocate.c: Add a copyright notice.
10046 (dummy): Remove.
10047 * gdb.base/relocate.exp: Test printing the values of variables
10048 from a relocatable file.
10049
10050 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10051
10052 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10053 excess MI output after an error.
10054
10055 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10056
10057 * gdb.arch/alpha-step.c: New file.
10058 * gdb.arch/alpha-step.exp: New testcase.
10059
10060 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10061 Dennis Brueni <dennis@slickedit.com>
10062
10063 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10064 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10065 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10066 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10067 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10068 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10069 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10070
10071 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10072 Wu Zhou <woodzltc@cn.ibm.com>
10073
10074 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10075 IBM's xlc compiler.
10076 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10077 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10078
10079 2005-05-13 Jim Blandy <jimb@redhat.com>
10080
10081 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10082 calling gdb_suppress_entire_file.
10083 * gdb.base/charset.exp: Same.
10084 * gdb.base/call-rt-st.exp: Same.
10085
10086 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10087
10088 * lib/gdb.exp (fullname_syntax): Added global regex.
10089 (fullname_syntax_POSIX): Ditto.
10090 (fullname_syntax_UNC): Ditto.
10091 (fullname_syntax_DOS_CASE): Ditto.
10092 (fullname_syntax_DOS): Ditto.
10093 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10094 fullname_syntax variable to scope and use it.
10095 (test_file_list_exec_source_files): Ditto.
10096 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10097
10098 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10099
10100 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10101
10102 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10103
10104 * lib/gdb.exp (skip_altivec_tests): New function, based on
10105 check_vmx_hw_available from the GCC testsuite.
10106 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10107 * lib/gdb.arch/altivec-regs.exp: Likewise.
10108
10109 2005-05-02 Jim Blandy <jimb@redhat.com>
10110
10111 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10112 calling gdb_suppress_entire_file.
10113
10114 2005-04-30 Randolph Chung <tausq@debian.org>
10115
10116 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10117 Slightly relax "sem_post" name checking.
10118
10119 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10120
10121 * gdb.base/unload.exp: Use new shared library infrastructure.
10122
10123 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10124
10125 * gdb.base/so-impl-ld.exp: Use new shared library
10126 infrastructure.
10127
10128 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10129
10130 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10131 * gdb.asm/h8300.inc: New file.
10132
10133 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10134
10135 * gdb.base/shlib-call.exp: Change to use new shared library
10136 infrastructure.
10137
10138 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10139
10140 * gdb.base/pending.exp: Change to use new shared library
10141 infrastructure.
10142
10143 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10144
10145 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10146 use test_compiler_info instead of gcc_compiled, and update copyright.
10147
10148 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10149
10150 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10151 shared objects being adjusted and update copyright years.
10152
10153 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10154
10155 * ChangeLog: Correct some 2003-01-13 dates.
10156 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10157 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10158 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10159 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10160 gdb.trace/tfind.exp: Update copyright years.
10161
10162 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10163 Daniel Jacobowitz <dan@codesourcery.com>
10164
10165 * lib/gdb.exp (gdb_compile): Handle shlib=.
10166 (gdb_compile_shlib): New function.
10167
10168 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10169
10170 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10171
10172 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10173
10174 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10175 gdb.server.
10176 * configure.ac: Likewise.
10177 * configure: Regenerated.
10178 * gdb.gdbserver/Makefile.in: Moved to...
10179 * gdb.server/Makefile.in: ... here.
10180 * gdb.gdbserver/server.c: Moved to...
10181 * gdb.server/server.c: ... here.
10182 * gdb.gdbserver/server-run.exp: Moved to...
10183 * gdb.server/server-run.exp: ... here.
10184
10185 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10186
10187 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10188 * configure.ac: Create gdb.gdbserver/Makefile.
10189 * configure: Regenerated.
10190 * lib/gdbserver-support.exp: New file, derived from
10191 config/gdbserver.exp.
10192 * config/gdbserver.exp: Use gdbserver-support.exp.
10193 * gdb.gdbserver/Makefile.in: New file.
10194 * gdb.gdbserver/server.c: New file.
10195 * gdb.gdbserver/server-run.exp: New file.
10196
10197 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10198
10199 * lib/gdb.exp (test_compiler_info): Return compiler_info
10200 if no arguments are given.
10201
10202 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10203
10204 * gdb.arch/altivec-abi.exp: Check for compiler and set
10205 use altivec' flag accordingly.
10206 * gdb.arch/altivec-regs.exp: Likewise.
10207
10208 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10209
10210 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10211
10212 2005-03-27 Andreas Schwab <schwab@suse.de>
10213
10214 * gdb.base/bigcore.c (main): Add missing mode argument in open
10215 call.
10216
10217 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10218
10219 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10220 downloads.
10221 * config/gdbserver.exp (gdb_load): Likewise.
10222
10223 2005-03-14 Paul Brook <paul@codesourcery.com>
10224
10225 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10226 targets.
10227
10228 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10229
10230 * gdb.dwarf2/dup-psym.S: New file.
10231 * gdb.dwarf2/dup-psym.exp: New testcase.
10232
10233 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10234
10235 * gdb.ada/exec_changed/first.adb: New file.
10236 * gdb.ada/exec_changed/second.adb: New file.
10237 * gdb.ada/exec_changed.exp: New testcase.
10238
10239 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10240
10241 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10242 (A2): New class.
10243 (main): Test operator+.
10244 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10245 breakpoint test.
10246
10247 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10248 * gdb.base/signull.exp: Disable if gdb,nosignals.
10249 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10250 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10251 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10252 * gdb.mi/mi2-console.exp: Likewise.
10253 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10254 continue output at start.
10255 (gdb_collect_locals_test): Robustify regexp.
10256 * gdb.trace/passc-dyn.exp: Fix comment typo.
10257 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10258
10259 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10260
10261 * gdb.asm/asm-source.exp: Add iq2000 case.
10262 * gdb.asm/iq2000.inc: New file.
10263
10264 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10265
10266 * gdb.base/command.exp: Change hardcoded value to regular expression.
10267 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10268
10269 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10270
10271 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10272 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10273 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10274 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10275 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10276
10277 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10278
10279 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10280 changes.
10281
10282 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10283
10284 * lib/compiler.c: Add test for IBM's xlc compiler.
10285 * lib/compiler.cc: Likewise.
10286
10287 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10288
10289 * gdb.ada/fixed_points.exp: Create compilation object directory
10290 before running the test.
10291 * gdb.ada/null_record.exp: Likewise.
10292 * gdb.ada/packed_array.exp: Likewise.
10293 * gdb.ada/start.exp: Likewise.
10294
10295 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10296
10297 * gdb.ada/packed_array/pa.adb: New file.
10298 * gdb.ada/packed_array.exp: New testcase.
10299
10300 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10301
10302 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10303 files.
10304
10305 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10306 on *-*-openbsd*. Correctly match whitespace in regukar
10307 expressions.
10308
10309 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10310
10311 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10312 PR exp/1821
10313 * gdb.base/gdb1821.c: New test file.
10314 * gdb.base/gdb1821.exp: New test file.
10315
10316 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10317
10318 * gdb.base/start.c: New file.
10319 * gdb.base/start.exp: New testcase.
10320
10321 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10322
10323 * gdb.ada/start/dummy.adb: New file.
10324 * gdb.ada/start.exp: New testcase.
10325
10326 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10327
10328 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10329 for printing symbols and statistics.
10330 Add test for using relative pathnames in "maint print msymbols" test.
10331 Mark "maint info sections DATA" XFAIL on Cygwin.
10332 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10333 tests.
10334
10335 2005-02-09 Andreas Schwab <schwab@suse.de>
10336
10337 Committed by Andrew Cagney <cagney@gnu.org>
10338 * gdb.base/remotetimeout.exp: New file.
10339
10340 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10341
10342 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10343
10344 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10345
10346 * gdb.ada/gnat_ada.gpr: New file.
10347 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10348 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10349 * configure.ac: No longer generate gnat_ada.gpr.
10350 * configure: Regenerate.
10351 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10352 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10353 * gdb.ada/null_record/bar.ads: Likewise.
10354 * gdb.ada/null_record/bar.adb: Likewise.
10355 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10356 * gdb.ada/null_record.exp (testdir): New variable.
10357 (testfile): executable is now in testdir subdirectory.
10358 (srcfile): Use full path to the main compilation unit.
10359 * gdb.ada/fixed_points.exp: Same changes as above.
10360
10361 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10362
10363 * gdb.base/interp.exp: New test.
10364
10365 2005-01-24 Andrew Cagney <cagney@gnu.org>
10366
10367 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10368
10369 2005-01-19 Andrew Cagney <cagney@gnu.org>
10370
10371 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10372 configure.ac not configure.in.
10373
10374 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10375 of powerpc*-*-*.
10376 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10377 * gdb.base/list.exp (test_list_function)
10378 (test_list_filename_and_function): Ditto.
10379 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10380
10381 2005-01-16 Andrew Cagney <cagney@gnu.org>
10382
10383 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10384
10385 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10386
10387 2005-01-14 Andrew Cagney <cagney@gnu.org>
10388
10389 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10390 * gdb.mi/mi2-var-cmd.exp: Ditto.
10391
10392 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10393
10394 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10395
10396 2005-01-07 Andrew Cagney <cagney@gnu.org>
10397
10398 * configure.ac: Rename configure.in, require autoconf 2.59.
10399 * configure: Re-generate.
10400 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10401 * gdb.stabs/configure: Re-generate.
10402 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10403 * gdb.hp/configure: Re-generate.
10404 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10405 autoconf 2.59.
10406 * gdb.hp/gdb.objdbg/configure: Re-generate.
10407 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10408 autoconf 2.59.
10409 * gdb.hp/gdb.defects/configure: Re-generate.
10410 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10411 autoconf 2.59.
10412 * gdb.hp/gdb.compat/configure: Re-generate.
10413 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10414 autoconf 2.59.
10415 * gdb.hp/gdb.base-hp/configure: Re-generate.
10416 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10417 autoconf 2.59.
10418 * gdb.hp/gdb.aCC/configure: Re-generate.
10419
10420 2004-12-15 Jim Blandy <jimb@redhat.com>
10421
10422 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10423 under NPTL when there is debugging info available for libpthread.
10424
10425 2004-12-13 Jerome Guitton <guitton@gnat.com>
10426
10427 * gdb.ada/fixed_points.c: New file.
10428 * gdb.ada/fixed_points.exp: New file.
10429
10430 2004-12-03 Randolph Chung <tausq@debian.org>
10431
10432 * gdb.arch/pa-nullify.exp: New file.
10433 * gdb.arch/pa-nullify.s: New file.
10434
10435 2004-11-30 Randolph Chung <tausq@debian.org>
10436
10437 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10438 instead of "tbug". Fix regexp to work properly with gdb_test.
10439
10440 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10441
10442 * gdb.base/bitfields2.exp: New test.
10443 * gdb.base/bitfields2.c: New file.
10444
10445 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10446
10447 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10448
10449 2004-11-16 Randolph Chung <tausq@debian.org>
10450
10451 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10452
10453 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10454
10455 * gdb.threads/threadapply.exp: Correct "macro details" test.
10456
10457 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10458
10459 * gdb.threads/threadapply.exp: New test.
10460 * gdb.threads/threadapply.c: New file.
10461
10462 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10463
10464 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10465 frames.
10466
10467 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10468
10469 * gdb.base/cursal.exp: New file.
10470 * gdb.base/cursal.c: New file.
10471
10472 2004-11-03 Andrew Cagney <cagney@gnu.org>
10473
10474 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10475
10476 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10477
10478 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10479 NetBSD/ELF targets.
10480
10481 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10482
10483 * gdb.threads/bp_in_thread.c: New file, copied from
10484 pthread_cond_wait.c.
10485 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10486 file, rather than reusing the .c file from another testcase.
10487
10488 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10489
10490 * gdb.ada/null_record.exp: Check where we stopped after
10491 sending the start command, instead of where the associated
10492 temporary breakpoint was inserted.
10493
10494 2004-10-14 Andrew Cagney <cagney@gnu.org>
10495
10496 * gdb.mi/gdb701.c (main): Return 0.
10497
10498 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10499
10500 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10501
10502 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10503
10504 * gdb.threads/schedlock.c: Add comment markers to use to find
10505 line numbers.
10506 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10507 comments.
10508 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10509 breakpoint lines.
10510
10511 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10512
10513 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10514
10515 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10516
10517 * configure.in: Add gdb.dwarf2.
10518 * configure: Regenerated.
10519 * Makefile.in: Add gdb.dwarf2.
10520 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10521 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10522 gdb.dwarf2/file1.txt: New files.
10523
10524 2004-10-11 Orjan Friberg <orjanf@axis.com>
10525
10526 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10527 of "run", since the latter doesn't work with remote targets. Adjust
10528 the breakpoint numbering accordingly.
10529 * gdb.threads/pthread_cond_wait.exp: Ditto.
10530
10531 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10532
10533 * gdb.base/overlays.exp: Update copyright years.
10534
10535 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10536
10537 * gdb.base/overlays.exp: Disable if target is Linux.
10538
10539 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10540
10541 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10542
10543 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10544
10545 * gdb.asm/asm-source.exp: Add m32r-linux target.
10546 * gdb.asm/m32r-linux.inc: New file.
10547
10548 2004-09-24 Andrew Cagney <cagney@redhat.com>
10549 David Anderson <anderson@redhat.com>
10550
10551 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10552 command fails, assume things will work.
10553 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10554 (_GNU_SOURCE): Define.
10555 (print_unsigned, print_hex): Change parameter to "long long".
10556 (print_byte_count): New function, use to print byte counts.
10557 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10558 O_LARGEFILE.
10559 (main): Compute an upper bound on a corefile in max_core_size.
10560 Limit memory chunk size to max_core_size. Limit total memory
10561 allocated to max_core_size.
10562
10563 2004-09-23 Andrew Cagney <cagney@gnu.org>
10564
10565 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10566 from a separate process with code that creates a corefile by
10567 making the inferior dump core.
10568
10569 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10570
10571 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10572 block.
10573
10574 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10575
10576 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10577 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10578 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10579 Likewise.
10580
10581 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10582
10583 * gdb.java/jprint.exp: New test case for java inferior call.
10584 * gdb.java/jprint.java: Ditto.
10585
10586 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10587
10588 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10589
10590 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10591
10592 * gdb.threads/killed.c: Include <stdlib.h>.
10593 * gdb.threads/pthreads.c: Likewise.
10594
10595 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10596
10597 * gdb.threads/killed.c: Add copyright notice.
10598
10599 2004-09-10 Jason Molenda (jmolenda@apple.com)
10600
10601 * gdb.base/define.exp: Two new tests to verify zero space chars
10602 after 'if' and 'while' commands in a user-defined command is correctly
10603 parsed.
10604
10605 2004-09-08 Andrew Cagney <cagney@gnu.org>
10606
10607 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10608 delivery test with duplicate at end of file.
10609
10610 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10611
10612 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10613
10614 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10615
10616 * config/hppro.exp: Removed.
10617
10618 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10619
10620 * config/sparclet.exp: Removed.
10621
10622 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10623
10624 * config/udi.exp: Removed.
10625
10626 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10627
10628 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10629 of "exp_continue".
10630 (advancei): Likewise.
10631
10632 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10633
10634 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10635
10636 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10637
10638 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10639 to check for nodebug in executable.
10640 * gdb.gdb/observer.exp (setup_test): Likewise.
10641 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10642 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10643
10644 2004-09-01 Andrew Cagney <cagney@gnu.org>
10645
10646 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10647 files.
10648
10649 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10650
10651 * gdb.base/unload.exp: Fix expected warning message to match
10652 latest format.
10653
10654 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10655
10656 * gdb.base/call-rt-st.exp: Fix typos.
10657
10658 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10659
10660 * gdb.threads/thread_check.exp: New testcase.
10661 * gdb.threads/thread_check.c: New testcase.
10662
10663 2004-08-31 Andrew Cagney <cagney@gnu.org>
10664
10665 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10666 (skip_to_handler_entry): New procedures. Test stepping into a
10667 handler when the breakpoint is at the handler's entry point.
10668
10669 2004-08-30 Andrew Cagney <cagney@gnu.org>
10670
10671 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10672 gdb/1757.
10673
10674 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10675
10676 With code from Manoj Iyer <manjo@austin.ibm.com>:
10677 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10678 return value. Add an arm for "no debugging symbols found".
10679 Change a stray "error" to "perror".
10680 (gdb_run_cmd): Adapt to new return value.
10681 * gdb.base/remote.exp: Adapt to new return value.
10682 * gdb.gdb/complaints.exp: Likewise.
10683 * gdb.gdb/observer.exp: Likewise.
10684 * gdb.gdb/selftest.exp: Likewise.
10685 * gdb.gdb/xfullpath.exp: Likewise.
10686
10687 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10688
10689 * gdb.threads/bp_in_thread.exp: New testcase.
10690
10691 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10692
10693 Fix PR testsuite/1735.
10694 * gdb.threads/schedlock.c (thread_function): Add a cast
10695 to suppress a gcc warning.
10696 * gdb.threads/thread-specific.c (thread_function): Likewise.
10697
10698 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10699
10700 * gdb.base/unload.c: Include <stdlib.h>.
10701
10702 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10703
10704 From Paul Gilliam <pgilliam@us.ibm.com>:
10705 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10706 synchronized after the "return".
10707
10708 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10709
10710 * gdb.mi/basics.c: Include <stdio.h>.
10711 * gdb.mi/pthreads.c: Include <stdlib.h>.
10712 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10713
10714 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10715
10716 * gdb.threads/schedlock.c: Add copyright notice.
10717
10718 2004-08-25 Andrew Cagney <cagney@gnu.org>
10719
10720 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10721 (skip_over_handler, breakpoint_over_hander): New test procedures.
10722 (advance, advancei): Add a proper prefix, do not use
10723 rerun_to_main.
10724 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10725
10726 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10727
10728 * gdb.mi/basics.c: Add copyright notice.
10729 * gdb.mi/var-cmd.c: Add copyright notice.
10730
10731 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10732
10733 * lib/gdb.exp: Remove signed_keyword_not_used.
10734 * lib/compiler.c: Likewise.
10735 * lib/compiler.cc: Likewise.
10736
10737 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10738
10739 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10740 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10741
10742 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10743
10744 * gdb.base/whatis.c: Add copyright notice.
10745
10746 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10747
10748 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10749 it to skip the breakpoints encoded in the inline assembly.
10750
10751 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10752
10753 * Makefile.in: Add gdb.fortran.
10754
10755 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10756
10757 * gdb.base/call-sc.exp (test_scalar_returns):
10758 Fix cut-and-paste glitch in "Make fun return now".
10759
10760 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10761
10762 * configure.in: Add gdb.fortran.
10763 * configure: Regenerate.
10764 * gdb.fortran/Makefile.in: New file.
10765 * lib/gdb.exp (skip_fortran_tests): New procedure.
10766
10767 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10768
10769 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10770 reference to bug-gnu@prep.ai.mit.edu.
10771 * gdb.mi/mi-var-child.exp: Likewise.
10772 * gdb.mi/mi-var-cmd.exp: Likewise.
10773 * gdb.mi/mi-var-display.exp: Likewise.
10774 * gdb.mi/mi2-var-block.exp: Likewise.
10775 * gdb.mi/mi2-var-child.exp: Likewise.
10776 * gdb.mi/mi2-var-cmd.exp: Likewise.
10777 * gdb.mi/mi2-var-display.exp: Likewise.
10778
10779 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10780
10781 * gdb.base/unload.c (main): Make local variable msg const.
10782
10783 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10784
10785 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10786 to bug-gnu@prep.ai.mit.edu.
10787 * gdb.mi/mi-disassemble.exp: Likewise.
10788 * gdb.mi/mi-eval.exp: Likewise.
10789 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10790 default line number.
10791 * gdb.mi/mi-return.exp: Likewise.
10792 * gdb.mi/mi-simplerun.exp: Likewise.
10793 * gdb.mi/mi-stack.exp: Likewise.
10794 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10795 number with explicit range test.
10796 * gdb.mi/mi-watch.exp: Likewise.
10797 * gdb.mi/mi2-break.exp: Likewise.
10798 * gdb.mi/mi2-cli.exp: Likewise.
10799 * gdb.mi/mi2-disassemble.exp: Likewise.
10800 * gdb.mi/mi2-eval.exp: Likewise.
10801 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10802 default line number.
10803 * gdb.mi/mi2-return.exp: Likewise.
10804 * gdb.mi/mi2-simplerun.exp: Likewise.
10805 * gdb.mi/mi2-stack.exp: Likewise.
10806 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10807 number with explicit range test.
10808 * gdb.mi/mi2-watch.exp: Likewise.
10809
10810 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10811
10812 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10813 * gdb.cp/m-static.exp: Likewise.
10814 * gdb.cp/rtti.exp: Likewise.
10815
10816 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10817
10818 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10819
10820 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10821
10822 * ChangeLog: Prefix Local Variables with semi-colons and indent
10823 the reference to older ChangeLog files, to fix fontification in
10824 Emacs.
10825
10826 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10827
10828 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10829 * gdb.mi/mi2-break.exp: Likewise.
10830
10831 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10832
10833 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10834
10835 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10836
10837 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10838
10839 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10840
10841 * gdb.cp/classes.exp: Remove unused declarations. Just let
10842 test names default instead of providing special names. Remove
10843 extraneous demangler test.
10844
10845 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10846
10847 * gdb.base/unload.exp: New test for breakpoints in dynamically
10848 loaded libraries.
10849 * gdb.base/unload.c: Ditto.
10850 * gdb.base/unloadshr.c: Ditto.
10851
10852 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10853
10854 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10855 cp_test_ptype_class.
10856 (test_enums): Likewise.
10857
10858 2004-08-10 Andrew Cagney <cagney@gnu.org>
10859
10860 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10861 files.
10862
10863 2004-08-10 Andrew Cagney <cagney@gnu.org>
10864
10865 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10866 init_malloc call.
10867
10868 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10869
10870 * ChangeLog: Add copyright notice. The notice is copied
10871 from emacs 21.3 top level ChangeLog.
10872
10873 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10874
10875 * lib/cp-support.exp: New file.
10876 * lib/cp-support.exp (cp_test_type_class): New function.
10877 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10878 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10879 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10880 cp_test_ptype_class.
10881
10882 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10883
10884 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10885 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10886 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10887 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10888 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10889 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10890 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10891 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10892 gdb.mi/mi2-watch.exp: Update copyright years.
10893
10894 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10895
10896 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10897
10898 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10899
10900 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10901 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10902 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10903 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10904 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10905 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10906 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10907 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10908 gdb.mi/mi-watch.exp: Update copyright years.
10909
10910 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10911
10912 PR gdb/1738
10913 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10914 from a breakpoint with a pending signal.
10915
10916 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10917
10918 PR gdb/1736
10919 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10920 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10921 the prompt.
10922 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10923
10924 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10925
10926 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10927
10928 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10929
10930 PR gdb/1736
10931 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10932 for i?86-*-linux*.
10933
10934 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10935
10936 * gdb.arch/i386-prologue.exp: Compile without debug information.
10937
10938 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10939
10940 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10941 rather than asking gdb to search.
10942
10943 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10944
10945 * gdb.base/gcore.c: Include <string.h>.
10946
10947 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10948
10949 * gdb.base/gcore.c: Add copyright notice.
10950
10951 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10952
10953 * gdb.base/freebpcmd.c: Include <stdio.h>.
10954 * gdb.base/long_long.c: Include <string.h>.
10955 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10956 * gdb.base/siginfo.c: Include <string.h>.
10957 * gdb.base/sigstep.c: Include <string.h>.
10958
10959 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10960
10961 * gdb.base/complex.c: Include <stdlib.h>.
10962
10963 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10964
10965 * gdb.base/complex.c: Add copyright notice.
10966
10967 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10968
10969 * gdb.base/charset.c: Include <stdlib.h>.
10970
10971 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10972
10973 * gdb.base/auxv.c: Include <stdlib.h>.
10974
10975 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10976
10977 * gdb.base/auxv.c: Add copyright notice.
10978
10979 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10980
10981 * gdb.base/coremaker.c: Add copyright notice.
10982 * gdb.base/coremaker2.c: Add copyright notice.
10983
10984 2004-08-04 Andrew Cagney <cagney@gnu.org>
10985
10986 * gdb.base/store.exp: Update copyright.
10987 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10988 names, do not import gdb_prompt.
10989
10990 2004-08-01 Andrew Cagney <cagney@gnu.org>
10991
10992 Fix PR testsuite/1729.
10993 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10994 not use capture_value with value 4.
10995 (capture_value): Add optional test name parameter.
10996 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10997 the prefix, pass to capture_value.
10998
10999 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11000
11001 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11002 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11003 (main): Call new function.
11004
11005 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11006
11007 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11008
11009 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11010
11011 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11012
11013 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11014
11015 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11016 Accept more values of vtbl pointer. Remove some messages
11017 about "obsolete gcc or gdb".
11018
11019 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11020
11021 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11022
11023 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11024
11025 * gdb.base/asm-source.exp: Properly convert target board
11026 debug flags from gcc format to binutils format.
11027
11028 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11029
11030 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11031 gdb1718". PR backtrace/1718 partially fixed.
11032
11033 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11034
11035 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11036
11037 2004-07-26 Nick Clifton <nickc@redhat.com>
11038
11039 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11040 good default value for a specific architecture is available then
11041 set it to that value. Otherwise default to the -gstabs switch.
11042 Remove the -g... switches from the asm-flags variable. Allow the
11043 target board info to override the value if it wants to. Pass the
11044 switch on the assembler command line.
11045
11046 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11047
11048 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11049 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11050 (main): Call new function.
11051
11052 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11053
11054 Test for PR exp/1715.
11055 * gdb.base/radix.exp: Refactor common procedures. Make all
11056 test names unique. Change XFAIL to KFAIL.
11057
11058 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11059
11060 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11061 * gdb.ada/gnat_ada.gin: ... to here.
11062 * configure.in: Use gnat_ada.gin.
11063 * configure: Regenerate.
11064
11065 2004-07-20 Andrew Cagney <cagney@gnu.org>
11066
11067 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11068 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11069 XFAILs. Clean up test messages and comments. Check backtraces.
11070 Delete re-sync code.
11071
11072 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11073
11074 Fix PR cli/740.
11075 * gdb.base/annota1.exp: Honor gdb,nosignals.
11076 * gdb.base/annota3.exp: Likewise.
11077
11078 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11079
11080 * lib/java.exp: Update copyright notice.
11081
11082 2004-07-19 Andrew Cagney <cagney@gnu.org>
11083
11084 * gdb.base/selftest.exp: Copy file from here ...
11085 * gdb.gdb/selftest.exp: ... to here.
11086
11087 2004-07-16 Andrew Cagney <cagney@redhat.com>
11088
11089 * lib/insight-support.exp: Delete file.
11090 * lib/java.exp (java_init): Fix copyright.
11091
11092 2004-07-16 Andrew Cagney <cagney@gnu.org>
11093
11094 * gdb.base/restore.c: Append "prologue" to comments marking the a
11095 function's prologue.
11096 * gdb.base/restore.exp: Update copyright, re-indent.
11097 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11098 callerN" prefix where needed. Update patterns that match a
11099 function's prologue.
11100
11101 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11102
11103 * gdb.base/restore.c: Add copyright notice.
11104
11105 2004-07-16 Andrew Cagney <cagney@gnu.org>
11106
11107 * gdb.base/logical.exp: Update copyright.
11108 (evaluate): New procedure. Use to re-implement tests using
11109 several tables.
11110
11111 2004-07-14 Martin Hunt <hunt@redhat.com>
11112
11113 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11114 which fixes some problems where init.tcl was not found.
11115
11116 2004-07-13 Andrew Cagney <cagney@gnu.org>
11117
11118 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11119 (check_sizeof, check_valueof): Do not include the output in the
11120 test name. Use gdb_test.
11121 (get_valueof): Use gdb_test_multiple.
11122
11123 * gdb.base/step-test.exp: Update copyright. Use
11124 gdb_test_multiple. Ensure that test names do not include
11125 architecture dependent output.
11126
11127 * gdb.gdb/observer.exp: Update copyright.
11128 (setup_test): Use gdb_test_multiple.
11129 (attach_first_observer, attach_second_observer)
11130 (attach_third_observer, detach_first_observer)
11131 (detach_second_observer, detach_third_observer)
11132 (reset_counters, check_counters): Make $message a prefix.
11133 (test_normal_stop_notifications): Add "args" parameter - a list of
11134 init functions to be called. Make $message a prefix,
11135 (test_observer_normal_stop): Change the message prefixes so that
11136 they are unique, pass the attach / detach procedures to
11137 test_normal_stop_notifications.
11138
11139 * gdb.base/signull.exp (test_segv): Prefix all tests with
11140 "${name}". Clean up test messages.
11141
11142 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11143
11144 * gdb.base/ena-dis-br.exp: Update copyright.
11145 (break_at): New function. Replace send_gdb with gdb_test,
11146 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11147 ignore count, not stopped at bpt", with KFAIL.
11148
11149 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11150
11151 * gdb.base/attach.exp: Remove cleanupfile handling.
11152
11153 2004-07-12 Andrew Cagney <cagney@gnu.org>
11154
11155 * gdb.base/annota1.exp: Cleanup corefile test name.
11156 * gdb.base/annota3.exp: Ditto.
11157
11158 2004-07-12 Andrew Cagney <cagney@gnu.org>
11159
11160 * gdb.base/signals.exp: Clean up copyright, re-indent.
11161
11162 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11163 gdb_test and gdb_test_multiple.
11164
11165 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11166
11167 * gdb.java/jmain.exp: Fix expected line number for main to
11168 break at. Set XFAIL for break at main test since gcj does not
11169 provide line number info for first statement in main.
11170
11171 2004-07-08 Andrew Cagney <cagney@gnu.org>
11172
11173 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11174
11175 * gdb.base/sigbpt.exp: Make the common part of each test name a
11176 prefix instead of suffix.
11177
11178 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11179
11180 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11181 test from test_tbreak_creation_and_listing to
11182 test_file_list_exec_source_file
11183 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11184 Changed name of test from test_tbreak_creation_and_listing to
11185 test_file_list_exec_source_file
11186
11187 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11188
11189 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11190 the jmisc() constructor instead of <init>.
11191 * gdb.java/jmisc1.exp: Ditto.
11192
11193 2004-07-07 Andrew Cagney <cagney@gnu.org>
11194
11195 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11196 corrupting the PC.
11197
11198 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11199
11200 * gdb.cp/templates.exp: Accept whitespace change in demangler
11201 output.
11202
11203 2004-07-06 Andrew Cagney <cagney@gnu.org>
11204
11205 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11206
11207 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11208
11209 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11210 * lib/compiler.cc: Likewise.
11211
11212 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11213
11214 * lib/compiler.cc: Work around string preprocessing problem
11215 with old hp c++ compiler.
11216 * lib/compiler.c: Likewise.
11217
11218 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11219
11220 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11221 directives to conditionalize symbol prefixing.
11222 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11223 additional_flags handling. Add underscore prefix for Cygwin.
11224 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11225 conditionalize symbol prefixing.
11226 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11227 additional_flags handling. Add underscore prefix for Cygwin.
11228
11229 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11230
11231 * gdb.base/bigcore.exp: Skip test on Cygwin.
11232
11233 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11234
11235 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11236 formats for "info register". Use gdb_test_multiple. Fix
11237 the "invalid register" test.
11238
11239 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11240
11241 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11242 PID for Cygwin. Add Cygwin specific strings to check for in some
11243 tests.
11244 (do_attach_tests): Add a test for user interaction when attaching
11245 to a process with no matching symbol table already loaded.
11246
11247 2004-06-26 Andrew Cagney <cagney@gnu.org>
11248
11249 Test PR java/1567 and PR java/1565.
11250 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11251 * gdb.java/jmisc2.exp: Delete file.
11252
11253 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11254
11255 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11256
11257 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11258
11259 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11260 attach process.
11261
11262 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11263
11264 * gdb.cp/pr-1553.exp: Remove.
11265
11266 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11267
11268 * gdb.cp/pr-1553.cc: Remove.
11269 * gdb.cp/pr-1553.exp: Disable this test.
11270
11271 2004-06-20 Jim Blandy <jimb@redhat.com>
11272
11273 Fix PR testsuite/1680.
11274 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11275 regular expressions.
11276
11277 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11278
11279 Fix PR testsuite/1679.
11280 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11281 Issue an UNSUPPORTED result instead.
11282
11283 2004-06-18 Jim Blandy <jimb@redhat.com>
11284
11285 * gdb.base/charset.exp: Only send a control-C if we see a new
11286 prompt and incomplete command.
11287
11288 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11289
11290 * gdb.cp/pr-574.cc: Add copyright notice.
11291
11292 2004-06-17 Jim Blandy <jimb@redhat.com>
11293
11294 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11295 cases where the regexp has no groups; this grabs random text from
11296 the previous test suite, whatever that was.
11297
11298 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11299
11300 * gdb.cp/printmethod.cc: Add copyright notice.
11301
11302 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11303
11304 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11305
11306 2004-06-16 Andrew Cagney <cagney@gnu.org>
11307
11308 * gdb.base/signull.c: Update copyright. Include <string.h>.
11309 (bowler): Replace data_pointer with data_read
11310 and data_write cases. Add code_descriptor case.
11311 (zero, desc): New array and pointer.
11312 (data, code): Change to simple pointers.
11313 * gdb.base/signull.exp: Fix probe pattern matching a function
11314 descriptor SIGSEGV. Replace data_pointer with data_read and
11315 data_write tests.
11316
11317 2004-06-16 Andrew Cagney <cagney@gnu.org>
11318
11319 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11320
11321 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11322
11323 * gdb.base/long_long.c: Add copyright notice.
11324
11325 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11326
11327 * gdb.base/long_long.exp: Remove reference to
11328 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11329 to gdb_breakpoint and gdb_continue_to_breakpoint.
11330
11331 2004-06-14 Jim Blandy <jimb@redhat.com>
11332
11333 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11334 endian case.
11335
11336 2004-06-14 Andrew Cagney <cagney@gnu.org>
11337
11338 * gdb.base/gcore.exp (capture_command_output): Delete the always
11339 passing tests containing inferior values.
11340 * gdb.base/ending-run.exp: Do not include the breakpoint address
11341 in the test message. Update copyright.
11342 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11343 size in the test name, use gdb_test_multiple. Update copyright.
11344
11345 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11346
11347 * gdb.cp/ref-types.cc: Add copyright notice.
11348
11349 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11350
11351 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11352 hp_aCC_compiler.
11353 * lib/compiler.cc: Likewise.
11354 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11355 'set' commands. Log diagnostics for other lines. Set
11356 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11357
11358 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11359
11360 * gdb.cp/try_catch.cc: Add copyright notice.
11361
11362 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11363
11364 * gdb.cp/userdef.cc: Add copyright notice.
11365
11366 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11367
11368 * gdb.cp/virtfunc.cc: Add copyright notice.
11369
11370 2004-06-11 Randolph Chung <tausq@debian.org>
11371
11372 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11373 problem.
11374
11375 2004-06-10 Andrew Cagney <cagney@gnu.org>
11376
11377 * lib/compiler.cc, lib/compiler.c: Append either
11378 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11379 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11380 instead of gcc-3-3.
11381
11382 2004-06-09 Andrew Cagney <cagney@gnu.org>
11383
11384 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11385 gdb/1455, bug is specific to "long long" and "double".
11386
11387 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11388 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11389 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11390 fixed.
11391
11392 2004-06-09 Andrew Cagney <cagney@gnu.org>
11393
11394 * gdb.base/structs.exp (test_struct_returns): Replace
11395 "return_value_unknown" and "finish_value_unknown" by
11396 "return_value_known" and "finish_value_known". Instead of
11397 "return_value_unknown" iff "finish_value_unknown", check
11398 "return_value_known" implies "finish_value_known".
11399
11400 2004-06-08 Martin Hunt <hunt@redhat.com>
11401
11402 * gdb.base/float.exp: Add pattern for mips targets.
11403
11404 2004-06-08 Randolph Chung <tausq@debian.org>
11405
11406 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11407 message for unknown architectures more clear.
11408
11409 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11410
11411 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11412 start the execution of the program.
11413
11414 2004-06-07 Jim Blandy <jimb@redhat.com>
11415
11416 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11417 * gdb.arch/i386-cpuid.h: New helper file.
11418
11419 2004-06-07 Randolph Chung <tausq@debian.org>
11420
11421 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11422 has started.
11423
11424 2004-06-04 Roland McGrath <roland@redhat.com>
11425
11426 Fix PR gdb/1647.
11427 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11428 differently to be robust to output buffering differences.
11429
11430 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11431
11432 * gdb.threads/pthreads.exp: Update copyright years.
11433 (check_control_c): Change asynchronous 'after' to synchronous.
11434
11435 2004-06-04 Roland McGrath <roland@redhat.com>
11436
11437 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11438 next gdb prompt.
11439
11440 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11441
11442 Fix PR gdb/1636.
11443 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11444 calls to synchronous.
11445
11446 2004-05-26 Jim Blandy <jimb@redhat.com>
11447
11448 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11449
11450 2004-05-24 Randolph Chung <tausq@debian.org>
11451
11452 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11453 * gdb.asm/pa.inc: New file.
11454
11455 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11456
11457 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11458
11459 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11460 Daniel Jacobowitz <drow@mvista.com>
11461
11462 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11463 GDB prompt.
11464
11465 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11466
11467 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11468 setjmp/longjmp. Use sigaction instead of signal.
11469
11470 2004-05-19 J. Brobecker <brobecker@gnat.com>
11471 Michael Snyder <msnyder@redhat.com>
11472
11473 * gdb.threads/pthread_cond_wait.c: New file.
11474 * gdb.threads/pthread_cond_wait.exp: New testcase.
11475
11476 2004-05-13 Andrew Cagney <cagney@redhat.com>
11477
11478 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11479 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11480
11481 2004-05-11 Andrew Cagney <cagney@redhat.com>
11482
11483 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11484 fixed but revealed gdb/1639.
11485
11486 2004-05-10 Andrew Cagney <cagney@redhat.com>
11487
11488 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11489 func1" and "next to 2nd alarm", kernel bug avoided.
11490
11491 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11492
11493 PR external/1568
11494 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11495 XFAIL if it is smaller than bytes_allocated.
11496 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11497 (main): Make chunks_allocated unsigned. Correct comment.
11498
11499 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11500
11501 * gdb.arch/powerpc-aix-prologue.c: New file.
11502 * gdb.arch/powerpc-aix-prologue.exp: New file.
11503
11504 2004-05-07 Jim Blandy <jimb@redhat.com>
11505
11506 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11507 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11508
11509 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11510
11511 * gdb.base/sep.exp: No longer setup_kfail when the program was
11512 built with dwarf2.
11513
11514 2004-05-05 Jim Ingham <jingham@apple.com>
11515
11516 * gdb.base/pending.exp: Make sure pending breakpoints
11517 preserve the ignore count.
11518
11519 2004-04-27 Jerome Guitton <guitton@gnat.com>
11520
11521 * i386-prologue.exp: Add testcase for jump instruction as first
11522 instruction of the real code.
11523 * i386-prologue.c (jump_at_beginning): New function.
11524
11525 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11526
11527 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11528 x86_64-*-*.
11529
11530 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11531
11532 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11533 i*86-*-*.
11534
11535 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11536
11537 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11538 expression that checks the return type.
11539
11540 2004-04-23 Andrew Cagney <cagney@redhat.com>
11541
11542 * gdb.base/call-sc.exp: New test of scalar call/return values.
11543 * gdb.base/call-sc.c: Ditto.
11544
11545 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11546
11547 * gdb.threads/manythreads.c: Reduce thread stack size.
11548
11549 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11550
11551 * gdb.threads/manythreads.c: Add copyright notice.
11552
11553 2004-04-23 Andrew Cagney <cagney@redhat.com>
11554
11555 * gdb.base/siginfo.exp: Better handle step out of signal.
11556 * gdb.base/sigstep.exp: Ditto.
11557
11558 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11559 Daniel Jacobowitz <drow@mvista.com>
11560
11561 * gdb.threads/manythreads.c: New testcase.
11562 * gdb.threads/manythreads.exp: Ditto.
11563
11564 2004-04-22 Jim Blandy <jimb@redhat.com>
11565
11566 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11567 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11568
11569 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11570
11571 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11572
11573 2004-04-21 Andrew Cagney <cagney@redhat.com>
11574
11575 * gdb.base/sigstep.c: New file.
11576 * gdb.base/sigstep.exp: New file.
11577
11578 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11579
11580 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11581 call to observer_notify_normal_stop.
11582
11583 2004-04-15 Andrew Cagney <cagney@redhat.com>
11584
11585 * gdb.base/siginfo.c: New file.
11586 * gdb.base/siginfo.exp: New file.
11587
11588 2004-04-12 J. Brobecker <brobecker@gnat.com>
11589
11590 * gdb.base/sep.exp: Fix typo in comment.
11591
11592 2004-04-12 J. Brobecker <brobecker@gnat.com>
11593
11594 * gdb.base/sep.c: New file.
11595 * gdb.base/sep-proc.c: New file.
11596 * gdb.base/sep.exp: New testcase.
11597
11598 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11599
11600 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11601 support.
11602
11603 2004-04-05 Andrew Cagney <cagney@redhat.com>
11604
11605 * gdb.base/sigaltstack.c: New file.
11606 * gdb.base/sigaltstack.exp: New file.
11607
11608 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11609
11610 * gdb.base/foll-fork.exp: Update the expected output for
11611 "help set follow-fork-mode", to match a change that was made
11612 to the help of this variable on 2004-01-13.
11613
11614 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11615
11616 * lib/ada.exp: Add copyright notice.
11617 * bar.ads: Likewise.
11618 * bar.adb: Likewise.
11619 * null_record.adb: Likewise.
11620 * null_record.exp: Likewise.
11621 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11622
11623 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11624
11625 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11626 * configure: Regenerate.
11627
11628 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11629
11630 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11631 to build the application. Remove the message printed when in
11632 verbose mode, redundant with the UNSUPPORTED message above.
11633
11634 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11635
11636 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11637 * gdb.ada (null_record.exp): New testcase.
11638
11639 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11640
11641 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11642
11643 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11644
11645 * gdb.ada: New subdirectory.
11646 * gdb.ada/Makefile.in: New file.
11647 * gdb.ada/gnat_ada.gpr.in: New file.
11648
11649 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11650
11651 * lib/ada.exp: New file.
11652
11653 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11654
11655 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11656 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11657
11658 2004-03-22 Andrew Cagney <cagney@redhat.com>
11659
11660 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11661 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11662 Problem identified by Ulrich Weigand.
11663
11664 2004-03-17 David Carlton <carlton@kealia.com>
11665
11666 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11667 PR c++/826.
11668
11669 2004-03-16 Roland McGrath <roland@redhat.com>
11670
11671 * gdb.base/auxv.exp: New file.
11672 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11673
11674 2004-03-12 David Carlton <carlton@kealia.com>
11675
11676 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11677 * gdb.cp/pr-1553.cc: Ditto.
11678 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11679 pass branch.
11680
11681 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11682
11683 * gdb.cp/templates.exp: Accept more template types.
11684
11685 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11686
11687 From Corinna Vinschen with modifications.
11688 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11689 local variable obj_with_enum.
11690 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11691 results with obj_with_enum.
11692
11693 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11694
11695 * gdb.cp/classes.cc: New file, copied from misc.cc.
11696 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11697
11698 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11699
11700 * gdb.cp/misc.cc: Add copyright notice.
11701
11702 2004-03-05 David Carlton <carlton@kealia.com>
11703
11704 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11705 * gdb.cp/rtti.h: Update copyright.
11706 (namespace n2::n3): New.
11707 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11708 (n2::n3::func3): New.
11709 (main): Call n2::n3::func3.
11710 * gdb.cp/rtti2.cc: Update copyright.
11711 (n2::create3): New.
11712
11713 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11714
11715 * gdb.asm/openbsd.inc: Fix typo.
11716
11717 2004-03-03 Fred Fish <fnf@redhat.com>
11718
11719 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11720 "val" instead of unused "size". Update copyright year.
11721
11722 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11723
11724 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11725 to use unsigned char.
11726 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11727 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11728
11729 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11730
11731 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11732 line of output.
11733
11734 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11735
11736 * gdb.base/relocate.c (dummy): Initialize.
11737
11738 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11739
11740 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11741 a breakpoint at exit.
11742
11743 2004-02-27 Fred Fish <fnf@redhat.com>
11744
11745 * gdb.base/chng-syms.exp: Add expect condition to match failing
11746 case that isn't a timeout.
11747
11748 2004-02-27 Andrew Cagney <cagney@redhat.com>
11749
11750 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11751 support.
11752
11753 2004-02-26 Fred Fish <fnf@redhat.com>
11754
11755 * gdb.arch/gdb1431.c: Remove.
11756 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11757 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11758 of "until" incorrectly.
11759
11760 2004-02-26 J. Brobecker <brobecker@gnat.com>
11761
11762 * gdb.cp/class2.cc (empty): New class.
11763 (refer): New function.
11764 (main): Declare an object of type empty and use it.
11765 * gdb.cp/class2.exp: Print the value of an object of type empty.
11766
11767 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11768
11769 * gdb.base/langs.exp: Update query string to match the
11770 new nquery format used for pending breakpoints.
11771
11772 2004-02-26 Andrew Cagney <cagney@redhat.com>
11773
11774 Fix PR i18n/1570.
11775 * gdb.base/charset.c: Update copyright notice.
11776 (main, init_string): Remove the escape character '\e' tests.
11777 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11778 * gdb.base/charset.exp (valid_host_charset): Ditto.
11779 * gdb.base/setvar.exp: Ditto.
11780
11781 2004-02-24 Andrew Cagney <cagney@redhat.com>
11782
11783 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11784 mmapped data in core file" PASS and FAIL messages consistent.
11785
11786 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11787 setting a breakpoint. Work around PR java/1565.
11788
11789 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11790
11791 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11792 new nquery format.
11793 * gdb.base/pending.exp: Ditto.
11794
11795 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11796
11797 * configure.in: Run stabs tests on *BSD.
11798 * configure: Regenerated.
11799
11800 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11801
11802 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11803
11804 2004-02-20 Fred Fish <fnf@redhat.com>
11805
11806 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11807 blank in test for "returns short", for consistency with other
11808 "returns xxx" tests. Update copyright year.
11809
11810 2004-02-19 Fred Fish <fnf@redhat.com>
11811
11812 New testcase for PR breakpoint/1558.
11813 * gdb.arch/gdb1558.exp: New file.
11814 * gdb.arch/gdb1558.c: New file.
11815
11816 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11817
11818 * gdb.base/nodebug.exp: Fix typo.
11819
11820 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11821
11822 Committed by Jim Blandy <jimb@redhat.com>.
11823
11824 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11825
11826 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11827
11828 * gdb.base/float.exp: Support s390*-*-* targets.
11829
11830 2004-02-17 Adam Fedor <fedor@gnu.org>
11831
11832 * gdb.base/gdb1555.exp: New file.
11833 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11834
11835 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11836
11837 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11838
11839 2004-02-16 Fred Fish <fnf@redhat.com>
11840
11841 * gdb.arch/gdb1291.c: Remove
11842 * gdb.arch/gdb1291.s: New test input file.
11843 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11844 fail. Test for correct result, known incorrect result, other
11845 failures and timeouts.
11846
11847 2004-02-16 Andrew Cagney <cagney@redhat.com>
11848
11849 * gdb.base/bigcore.exp: New file.
11850 * gdb.base/bigcore.c: New file.
11851
11852 2004-02-13 Andrew Cagney <cagney@redhat.com>
11853
11854 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11855 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11856 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11857 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11858 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11859 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11860 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11861 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11862 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11863 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11864
11865 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11866
11867 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11868 executed is an alloc instruction.
11869
11870 2004-02-11 David Carlton <carlton@kealia.com>
11871
11872 * gdb.cp/breakpoint.exp: New.
11873 * gdb.cp/breakpoint.cc: New.
11874
11875 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11876
11877 Partial fix for PR gdb/1543.
11878 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11879 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11880 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11881 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11882 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11883 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11884 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11885 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11886 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11887 to bug-gdb@prep.ai.mit.edu .
11888 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11889 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11890 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11891 Likewise.
11892
11893 2004-02-10 Andrew Cagney <cagney@redhat.com>
11894
11895 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11896 using gdb_internal_error_resync.
11897
11898 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11899
11900 * gdb.threads/thread-specific.exp: Stop early if no threads are
11901 found.
11902
11903 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11904
11905 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11906
11907 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11908
11909 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11910 breakpoints.
11911
11912 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11913
11914 * config/sim.exp (gdb_load): Handle $arg == "".
11915 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11916 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11917
11918 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11919
11920 * gdb.base/maint.exp: Update test to reflect
11921 obstack changes.
11922
11923 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11924
11925 * gdb.base/pendshr.c (pendfunc): New function that calls
11926 pendfunc1.
11927 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11928
11929 2004-02-04 Fred Fish <fnf@redhat.com>
11930
11931 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11932 function symbols and update copyright years.
11933 * gdb.arch/gdb1291.c: Ditto.
11934
11935 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11936
11937 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11938
11939 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11940
11941 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11942
11943 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11944
11945 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11946
11947 2004-02-02 Fred Fish <fnf@redhat.com>
11948
11949 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11950 remote targets. Update copyright years.
11951
11952 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11953
11954 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11955 support.
11956 * gdb.base/langs.exp: Fix test which attempts to create
11957 breakpoint on non-existent function to handle new pending
11958 support.
11959 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11960 a breakpoint.
11961 * gdb.base/pending.exp: New test.
11962 * gdb.base/pending.c: New file.
11963 * gdb.base/pendshr.c: Ditto.
11964
11965 2004-02-02 David Carlton <carlton@kealia.com>
11966
11967 * gdb.cp/overload.exp: Add overloadNamespace tests.
11968 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11969 (overloadNamespace, XXX): New.
11970 (main): Call XXX::marker2.
11971
11972 2004-02-01 Fred Fish <fnf@redhat.com>
11973
11974 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11975 * gdb.base/finish.exp: Ditto.
11976 * gdb.base/gcore.exp: Ditto.
11977 * gdb.base/huge.exp: Ditto.
11978 * gdb.base/info-proc.exp: Ditto.
11979 * gdb.base/return2.exp: Ditto.
11980 * gdb.threads/gcore-thread.exp: Ditto.
11981
11982 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11983
11984 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11985
11986 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11987
11988 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11989 that opening the file succeeds on OpenBSD.
11990
11991 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11992
11993 * gdb.threads/thread-specific.c: New file.
11994 * gdb.threads/threads-specific.exp: New test script.
11995 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11996 to expect_out.
11997
11998 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11999
12000 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12001 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12002 only on the "print_small_structs from print_long_arg_list" test.
12003
12004 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12005
12006 * gdb.base/completion.exp: Kill a stray backslash.
12007
12008 From Jim Ingham <jingham@apple.com>:
12009 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12010 agrees with the result from sending a tab.
12011
12012 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12013
12014 * gdb.base/chng-syms.exp: Remove stray newline.
12015
12016 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12017
12018 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12019 *-*-openbsd*.
12020 * gdb.asm/openbsd.inc: New file.
12021
12022 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12023
12024 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12025 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12026 *-*solaris2*. Remove commented out default settings for
12027 asm-flags. Replace gdb_compile with target_link.
12028
12029 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12030
12031 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12032 for all tests. Remove old hp-ux and cygnus xfail cases.
12033
12034 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12035
12036 * gdb.base/chng-syms.exp: New file.
12037 * gdb.base/chng-syms.c: New file.
12038
12039 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12040
12041 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12042 Provide arms for current output in all my configurations.
12043
12044 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12045
12046 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12047 * lib/compiler.cc: Likewise.
12048 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12049 get the right preprocessor. Eval the output directly. Remove
12050 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12051 hp_f77_compiler and hp_f90_compiler completely.
12052 (gdb_preprocess): Delete.
12053 (get_compiler): Delete.
12054
12055 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12056
12057 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12058 <string.h>.
12059
12060 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12061
12062 * gdb.mi/mi-stack.exp: Update copyright.
12063
12064 2004-01-23 David Carlton <carlton@kealia.com>
12065
12066 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12067 test for cp_lookup_transparent_type.
12068 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12069 call them.
12070
12071 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12072
12073 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12074 after -var-update.
12075
12076 2004-01-23 David Carlton <carlton@kealia.com>
12077
12078 * gdb.cp/namespace.cc (C::ensureRefs): New.
12079 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12080
12081 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12082
12083 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12084 case "-stack-list-locals 2".
12085 * gdb.mi/mi-var-child.exp: Test for case
12086 "-var-list-children --all-values NAME".
12087
12088 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12089
12090 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12091
12092 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12093
12094 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12095 used with gdb_test_multiple.
12096
12097 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12098 read at address 0. This fixes PR testsuite/1504.
12099
12100 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12101
12102 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12103 Remove downloading, guessing the host executable, the calls to
12104 gdb_file_cmd and gdb_target_cmd, and "load" support.
12105 (infer_host_exec): New function broken out from gdb_load.
12106 (gdb_load): New wrapper for gdbserver_gdb_load.
12107 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12108 gdb_target_cmd. Use -target-select.
12109 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12110 Download binaries to the host. Clear last_mi_remote_file when
12111 we load a new binary.
12112 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12113 call gdbserver_gdb_load and mi_gdb_target_cmd.
12114
12115 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12116
12117 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12118 type patterns.
12119
12120 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12121
12122 * gdb.cp/templates.exp: Fix typo in test name of
12123 "print Foo<volatile char*>::foo".
12124
12125 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12126
12127 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12128
12129 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12130
12131 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12132 (clean mostlyclean): Remove empty rm.
12133
12134 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12135
12136 * gdb.base/setvar.exp: Add copyright years.
12137
12138 2004-01-14 David Carlton <carlton@bactrian.org>
12139
12140 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12141 PR c++/1511 and update coment.
12142 * gdb.cp/templates.exp: Update patterns to match current output.
12143 If changes involve something other than whitespace, KFAIL
12144 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12145
12146 2004-01-14 David Carlton <carlton@kealia.com>
12147
12148 * gdb.cp/namespace.exp: Add tests involving classes defined within
12149 namespaces.
12150 * gdb.cp/namespace.cc (C::CClass): New.
12151 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12152
12153 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12154
12155 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12156 what debug info we have. Print a better message if something goes
12157 wrong while producing the separate debug info file.
12158
12159 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12160
12161 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12162
12163 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12164
12165 * gdb.base/callfuncs.c: Add copyright notice.
12166
12167 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12168
12169 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12170 inheritance. PR gdb/1498, PR gcc/13539.
12171
12172 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12173
12174 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12175 test specific name.
12176 * gdb.mi/gdb669.exp: Ditto.
12177 * gdb.mi/mi-pthreads.exp: Ditto.
12178 * gdb.mi/mi1-pthreads.exp: Ditto.
12179 * gdb.mi/mi2-pthreads.exp: Ditto.
12180
12181 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12182
12183 * gdb.cp/member-ptr.cc: Add copyright notice.
12184
12185 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12186
12187 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12188 some patterns for recent versions of gcc and hpacc. Delete
12189 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12190 Delete tests that access a NULL pointer-to-member-data. This
12191 script is still disabled for gcc.
12192
12193 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12194
12195 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12196 escaped correctly.
12197
12198 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12199
12200 * gdb.base/sepdebug.exp: New file.
12201 * gdb.base/sepdebug.c: New file.
12202 * lib/gdb.exp (separate_debug_filename): New procedure.
12203 (gdb_gnu_strip_debug): New procedure.
12204
12205 2004-01-12 Andrew Cagney <cagney@redhat.com>
12206
12207 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12208 * gdb.mi/ChangeLog-1999-2003: New file.
12209
12210 2004-01-12 Andrew Cagney <cagney@redhat.com>
12211
12212 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12213 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12214 or EEXIST", treat EBUSY as an XFAIL.
12215
12216 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12217
12218 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12219 hp_cc_compiler.
12220
12221 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12222
12223 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12224 decorations.
12225
12226 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12227
12228 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12229 and "(aCC)" decorations. Remove obsolete doco about old
12230 test results.
12231
12232 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12233
12234 * gdb.cp/exception.exp: Fix typo in doco.
12235
12236 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12237
12238 * gdb.base/gdb1476.exp: Fix typo.
12239
12240 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12241
12242 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12243 file.
12244
12245 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12246
12247 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12248 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12249 Use gdb_compile. Remove restriction on gcc. Add some patterns
12250 for recent version of gdb. Delete second half, which was a copy
12251 of the first half with different build flags. This test is
12252 still disabled because it is still not ready for production.
12253
12254 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12255
12256 * gdb.cp/exception.cc: Add copyright notice.
12257 * gdb.cp/exception.exp: Add a notice that this file is broken
12258 because of line number changes caused by addition of copyright
12259 notice.
12260
12261 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12262
12263 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12264 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12265
12266 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12267
12268 * gdb.cp/classes.exp: Accept gnu abi 2.
12269 * gdb.cp/derivation.exp: Likewise.
12270 * gdb.cp/overload.exp: Likewise.
12271 * gdb.cp/virtfunc.exp: Likewise.
12272
12273 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12274
12275 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12276 semicolon after end of function.
12277
12278 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12279
12280 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12281 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12282 boilerplate code for compiling and running the program under
12283 test. Add some string method tests.
12284
12285 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12286
12287 * gdb.cp/bs15503.cc: Add copyright notice.
12288 * gdb.cp/bs15503.exp: Adjust line number.
12289
12290 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12291
12292 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12293 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12294
12295 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12296
12297 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12298 hp_cc_compiler.
12299
12300 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12301
12302 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12303 * gdb.cp/ctti.exp: Use the marker instead of "next".
12304 With gcc, run further before bailing.
12305
12306 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12307
12308 * gdb.cp/cttiadd.cc: Add copyright notice.
12309 * gdb.cp/cttiadd1.cc: Likewise.
12310 * gdb.cp/cttiadd2.cc: Likewise.
12311 * gdb.cp/cttiadd3.cc: Likewise.
12312
12313 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12314
12315 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12316 Use gdb_test, gdb_test_multiple. Use floating-point values that
12317 have exact representations in IEEE-ish formats.
12318
12319 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12320
12321 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12322 compilers. Delete duplicate call to get_compiler_info.
12323 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12324 * gdb.base/volatile.exp: Likewise.
12325
12326 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12327
12328 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12329 memory at address 0.
12330
12331 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12332
12333 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12334 to test for hp-ux assembler. Fix copyright years.
12335
12336 2004-01-07 Andrew Cagney <cagney@redhat.com>
12337
12338 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12339
12340 2004-01-07 Andrew Cagney <cagney@redhat.com>
12341
12342 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12343 when creating the read-only file. From analysis by Roland McGrath
12344 and Elena Zannoni.
12345
12346 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12347
12348 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12349
12350 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12351
12352 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12353 data pointers.
12354
12355 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12356
12357 * gdb.cp/m-static.exp: Compile one source file at a time.
12358 Delete unused call to get_compiler_info.
12359
12360 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12361
12362 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12363 * gdb.base/call-rt-st.exp: Likewise.
12364 * gdb.base/nodebug.exp: Likewise.
12365 * gdb.base/volatile.exp: Likewise.
12366 * gdb.cp/ref-types.exp: Likewise.
12367 * gdb.cp/templates.exp: Likewise.
12368
12369 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12370
12371 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12372
12373 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12374
12375 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12376 hppa*-hp-hpux*.
12377
12378 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12379
12380 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12381 x86_64-*-*.
12382
12383 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12384 sparc64-*-* and sparc*-solaris2*.
12385
12386 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12387
12388 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12389 return ${tests}" test. The ${tests} already mentions the
12390 filename.
12391
12392 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12393
12394 * gdb.cp/local.exp: Accept gcc abi 2.
12395
12396 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12397
12398 * gdb.cp/templates.exp: Accept gcc abi 2.
12399
12400 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12401
12402 * lib/compiler.cc: Remove supports_template_debugging.
12403 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12404
12405 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12406
12407 * gdb.cp/namespace.exp: Accept gcc abi 2.
12408
12409 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12410
12411 * gdb.cp/method.exp: Accept gcc abi 2.
12412
12413 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12414
12415 * gdb.cp/classes.exp: Generate identical results as old version.
12416 * gdb.cp/derivation.exp: Likewise.
12417 * gdb.cp/overload.exp: Likewise.
12418 * gdb.cp/virtfunc.exp: Likewise.
12419
12420 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12421
12422 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12423 mysterious bug with sourceware version of expect.
12424
12425 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12426
12427 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12428 current versions of gcc, including gcc abi 2. Remove gratuitous
12429 restart of test program. Use gdb_test_multiple and gdb_test for
12430 all tests. Add patterns to xfail missing "const" in "const char *"
12431 and kfail PR gdb/1155.
12432
12433 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12434
12435 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12436 current versions of gcc, including gcc abi 2. Remove gratuitous
12437 restart of test program. Use gdb_test_multiple and gdb_test for
12438 all tests. Add patterns to kfail PR gdb/1498.
12439
12440 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12441
12442 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12443 current versions of gcc, including gcc abi 2. Use "breakpoint"
12444 and "continue" instead of restarting the target program. Use
12445 gdb_test_multiple and gdb_test for all tests.
12446
12447 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12448
12449 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12450 for *-*-solaris2*.
12451
12452 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12453
12454 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12455 current versions of gcc, including gcc abi 2. Use "breakpoint"
12456 and "continue" instead of restarting the target program several
12457 times. Use gdb_test_multiple and gdb_test for all tests.
12458
12459 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12460
12461 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12462 source files.
12463
12464 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12465
12466 * gdb.base/environ.exp: Handle compiling test case from multiple
12467 source files.
12468
12469 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12470
12471 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12472
12473 2003-12-17 Jim Blandy <jimb@redhat.com>
12474
12475 * gdb.base/freebpcmd.c: Add copyright notice.
12476
12477 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12478
12479 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12480
12481 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12482
12483 2003-12-13 Jim Blandy <jimb@redhat.com>
12484
12485 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12486
12487 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12488
12489 * gdb.asm/frv.inc: New file.
12490 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12491
12492 2003-12-09 Fred Fish <fnf@redhat.com>
12493
12494 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12495 functions to break1.c and leave prototypes behind. Add more
12496 "set breakpoint NN here" comments.
12497 * gdb.base/break1.c: New file.
12498
12499 * gdb.base/break.exp: Handle compiling test case from multiple
12500 source files and change source file references as needed.
12501 * gdb.base/completion.exp: Ditto.
12502 * gdb.base/condbreak.exp: Ditto.
12503 * gdb.base/define.exp: Ditto.
12504 * gdb.base/ena-dis-br.exp: Ditto.
12505 * gdb.base/info-proc.exp: Ditto.
12506 * gdb.base/maint.exp: Ditto.
12507 * gdb.base/until.exp: Ditto.
12508
12509 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12510 hardcoded line numbers.
12511 * gdb.base/define.exp: Ditto.
12512 * gdb.base/ena-dis-br.exp: Ditto.
12513 * gdb.base/maint.exp: Ditto.
12514 * gdb.base/until.exp: Ditto.
12515
12516 * gdb.base/completion.exp: Use "break1" for completion tests since
12517 "break" is no longer a unique prefix.
12518
12519 2003-12-06 Andrew Cagney <cagney@redhat.com>
12520
12521 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12522 "return_value_unimplemented". When an unimplemented struct return
12523 architecture, report incorrect values as a KFAIL
12524
12525 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12526
12527 * gdb.cp/rtti.exp: Accept new wording of warning from
12528 cp_lookup_rtti_type.
12529
12530 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12531
12532 Partial fix for PR testsuite/1456.
12533 * gdb.base/scope.exp (test_at_main): Replace references to
12534 gcc_compiled with calls to test_compiler_info.
12535 (test_at_foo): Likewise.
12536 (test_at_bar): Likewise.
12537
12538 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12539
12540 Partial fix for PR testsuite/1456.
12541 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12542 to test_compiler_info.
12543
12544 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12545
12546 * gdb.base/so-impl-ld.exp: Update copyright notice.
12547
12548 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12549
12550 Partial fix for PR testsuite/1456.
12551 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12552 to test_compiler_info.
12553
12554 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12555
12556 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12557 from current versions of gdb. Clean up regular expressions.
12558 Delete redundant timeout case.
12559
12560 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12561
12562 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12563 from current versions of gdb. Clean up regular expressions.
12564 Delete redundant timeout case.
12565
12566 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12567
12568 Partial fix for PR testsuite/1456.
12569 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12570 gcc_compiled with call to test_compiler_info.
12571
12572 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12573
12574 Partial fix for PR testsuite/1456.
12575 * gdb.base/list.exp (test_list_function): Delete unused declaration
12576 of gcc_compiled.
12577
12578 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12579
12580 Partial fix for PR testsuite/1456.
12581 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12582 call to test_compiler_info.
12583
12584 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12585
12586 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12587 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12588 it to create the appropriate note.inc.
12589 * gdb.asm/asmsrc1.s: Include "note.inc".
12590 * gdb.asm/netbsd.inc: New file.
12591 * gdb.asm/empty.inc: New file.
12592
12593 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12594
12595 Partial fix for PR testsuite/1456.
12596 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12597 calls to test_compiler_info.
12598
12599 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12600
12601 Partial fix for PR testsuite/1456.
12602 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12603 calls to test_compiler_info.
12604
12605 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12606
12607 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12608 pattern for the KFAILs.
12609
12610 2003-11-25 Adam Fedor <fedor@gnu.org>
12611
12612 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12613 * gdb.objc/objcdecode.m: New file.
12614
12615 2003-11-25 Adam Fedor <fedor@gnu.org>
12616
12617 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12618 * gdb.objc/nondebug.m: New file.
12619
12620 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12621
12622 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12623 NetBSD as it does on FreeBSD. Modelled on a similar change by
12624 Mark Kettenis on 2003-05-30.
12625 (link-flags): Set to "--entry _start" regardless of target.
12626 Special linker flags are to be appended to $link-flags.
12627 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12628
12629 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12630
12631 * gdb.cp/method.exp: Accept output of new demangler.
12632
12633 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12634
12635 * gdb/class2.exp: New file.
12636 * gdb/class2.cc: New file.
12637
12638 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12639
12640 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12641 of new demangler.
12642
12643 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12644
12645 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12646 of gdb_test "run".
12647
12648 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12649
12650 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12651 "continue" into "run".
12652
12653 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12654
12655 Partial fix for PR testsuite/1456.
12656 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12657 call to test_compiler_info.
12658 * gdb.cp/ctti.exp: Likewise.
12659 * gdb.cp/derivation.exp: Likewise.
12660 * gdb.cp/member-ptr.exp: Likewise.
12661 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12662 reference to gcc_compiled.
12663
12664 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12665
12666 Fix PR testsuite/1463.
12667 * gdb.base/structs.exp (start_structs_test): Call
12668 get_debug_format before using the debug format.
12669
12670 2003-11-22 Andrew Cagney <cagney@redhat.com>
12671
12672 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12673 * gdb.base/structs.exp: Use gdb_test_multiple.
12674
12675 2003-11-20 Andrew Cagney <cagney@redhat.com>
12676
12677 * gdb.base/structs.exp: Handle and recover from internal errors.
12678 Replace "foo${n}" with "foo<n>" in test messages.
12679
12680 * gdb.base/structs.exp: Update copyright. Rewrite.
12681 * gdb.base/structs.c: Update copyright. Rewrite.
12682
12683 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12684 resync count exceeded.
12685
12686 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12687 from the internal error.
12688 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12689 Original from Jim Blandy.
12690 (gdb_test_multiple): Use gdb_internal_error_resync.
12691
12692 2003-11-19 Andrew Cagney <cagney@redhat.com>
12693
12694 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12695 KFAIL.
12696
12697 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12698
12699 New testcase for PR backtrace/1435.
12700 * gdb.arch/i386-unwind.exp: New file.
12701 * gdb.arch/i386-unwind.c: New file.
12702
12703 2003-11-17 Andrew Cagney <cagney@redhat.com>
12704
12705 * lib/gdb.exp (compiler_info): New global.
12706 (test_compiler_info): New function.
12707 (get_compiler_info): Set compiler_info.
12708 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12709 "compiler_info" to gcc-<major>-<minor>.
12710
12711 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12712
12713 * gdb.trace/configure: Remove.
12714
12715 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12716
12717 * gdb.base/break.c: Add comments to aid finding line numbers for
12718 breakpoints.
12719 * gdb.base/break.exp: Remove all references to explicit line
12720 numbers.
12721
12722 2003-11-11 Nick Clifton <nickc@redhat.com>
12723
12724 * gdb.base/shreloc.exp: Do not run for targets which do not
12725 support shared objects.
12726
12727 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12728
12729 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12730 Don't run tests if nofileio flag is given.
12731
12732 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12733
12734 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12735 as well as 'Watchpoint'.
12736
12737 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12738
12739 Reported by Jim Ingham <jingham@apple.com>:
12740 * gdb.base/annota1.exp: Match at least one occurrence of the
12741 signal handler annotation.
12742
12743 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12744
12745 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12746 as well as 'Watchpoint'.
12747
12748 2003-11-05 Michael Chastain <mec@shout.net>
12749
12750 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12751
12752 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12753
12754 * gdb.arch/gdb1291.c: New test file.
12755 * gdb.arch/gdb1291.exp: New test script.
12756 * gdb.arch/gdb1431.c: New test file.
12757 * gdb.arch/gdb1431.exp: New test script.
12758
12759 2003-10-22 Michael Chastain <mec@shout.net>
12760
12761 * gdb.mi/pthreads.c: Add copyright notice.
12762
12763 2003-10-22 Michael Chastain <mec@shout.net>
12764
12765 * gdb.threads/pthreads.c: Add copyright notice.
12766
12767 2003-10-20 Michael Chastain <mec@shout.net>
12768
12769 * gdb.base/gdb1056.exp: New test script.
12770
12771 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12772
12773 * gdb.threads/killed.exp: Use gdb_run_cmd.
12774
12775 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12776
12777 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12778 create a core file.
12779 * gdb.threads/gcore-thread.exp: Likewise.
12780
12781 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12782
12783 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12784 type, based on char type.
12785 (struct bit_flags_short_t): New bitfield type, based on short type.
12786 (init_bit_flags_char): New fuction.
12787 (init_bit_flags_short): Ditto.
12788 (print_bit_flags_char): Ditto.
12789 (print_bit_flags_short): Ditto.
12790 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12791
12792 2003-10-11 Michael Chastain <mec@shout.net>
12793
12794 * gdb.base/call-rt-st.exp: Update copyright year.
12795
12796 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12797
12798 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12799 * gdb.disasm/sh3.s: Ditto.
12800
12801 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12802
12803 * gdb.threads/switch-threads.exp: New test.
12804 * gdb.threads/switch-threads.c: New source file.
12805
12806 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12807
12808 * gdb.base/ending-run.exp: Add sh specific case.
12809
12810 2003-10-06 Andrew Cagney <cagney@redhat.com>
12811
12812 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12813 * gdb.disasm/mn10200.exp: Delete obsolete file.
12814
12815 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12816
12817 * ChangeLog: Correct an entry command.exp -> commands.exp.
12818 * gdb.base/commands.exp (bp_deleted_in_command_test)
12819 (temporary_breakpoint_commands): Check noargs.
12820
12821 2003-09-25 David Carlton <carlton@kealia.com>
12822
12823 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12824 of some print tests, where appropriate. Add tests for C::D::cd,
12825 E::ce, F::cXfX, G::XgX.
12826 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12827
12828 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12829
12830 * lib/java.exp (java_init): Import target_alias before using it.
12831
12832 2003-09-25 David Carlton <carlton@kealia.com>
12833
12834 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12835
12836 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12837
12838 * gdb.base/selftest.exp: Accomodate more instruction reordering
12839 weirdness.
12840
12841 2003-09-17 Michael Chastain <mec@shout.net>
12842
12843 * gdb.cp/gdb1355.exp: New file.
12844 * gdb.cp/gdb1355.c: New file.
12845
12846 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12847
12848 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12849 * gdb.asm/sh.inc: New file.
12850
12851 2003-09-11 David Carlton <carlton@kealia.com>
12852
12853 * gdb.cp/namespace.exp: Add tests for namespace types.
12854 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12855 (test_namespace): New.
12856
12857 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12858
12859 * gdb.base/relocate.exp: Handle new gdb output at startup.
12860 * gdb.stabs/weird.exp: Ditto.
12861
12862 2003-09-08 Michael Chastain <mec@shout.net>
12863
12864 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12865
12866 2003-09-07 Michael Chastain <mec@shout.net>
12867
12868 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12869 'parse error'.
12870
12871 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12872
12873 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12874
12875 2003-08-30 Michael Chastain <mec@shout.net>
12876
12877 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12878 * gdb.gdb/observer.exp: Ditto.
12879 * gdb.gdb/xfullpath.exp: Ditto.
12880
12881 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12882
12883 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12884 *-*-*bsd*.
12885
12886 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12887
12888 * gdb.base/dump.exp: Skip for ia64.
12889
12890 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12891
12892 * gdb.asm/asm-source.exp: Add ia64 support.
12893 * gdb.asm/ia64.inc: New file.
12894
12895 2003-08-22 Michael Chastain <mec@shout.net>
12896
12897 * gdb.cp: New directory.
12898 * gdb.cp/*: Copy from gdb.c++/*.
12899 * gdb.c++/*: Remove.
12900 * Makefile.in: Change gdb.c++ to gdb.cp.
12901 * configure.in: Ditto.
12902 * configure: Regnerate.
12903
12904 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12905
12906 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12907 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12908
12909 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12910
12911 * mi-var-display.exp (-var-list-children weird): Accept function
12912 pointers with argument types.
12913 * mi1-var-display.exp (-var-list-children weird): Likewise.
12914 * mi2-var-display.exp (-var-list-children weird): Likewise.
12915
12916 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12917
12918 * gdb.base/annota3.exp: Add missing newline.
12919
12920 2003-08-06 Michael Chastain <mec@shout.net>
12921
12922 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12923
12924 2003-08-12 Michael Snyder <msnyder@redhat.com>
12925
12926 * gdb.base/float.exp: Add test for SH.
12927
12928 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12929
12930 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12931
12932 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12933
12934 * gdb.base/completion.exp: Remove reduntant completion test
12935 on filename.
12936
12937 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12938
12939 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12940 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12941 gdb.trace/save-trace.exp: Make sure that full pathnames are
12942 escaped correctly.
12943
12944 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12945
12946 * configure.in: Don't generate config.h from config.hin.
12947 * configure: Regenerate.
12948 * config.hin: Remove file.
12949 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12950 * gdb.threads/pthreads.c: Ditto.
12951
12952 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
12953
12954 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12955 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12956 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12957 Replace ld24 with seth/add3.
12958
12959 2003-08-02 Andrew Cagney <cagney@redhat.com>
12960
12961 * gdb.base/annota3.exp: New file.
12962 * gdb.base/annota3.c: New file.
12963 * gdb.c++/annota3.exp: New file.
12964 * gdb.c++/annota3.cc: New file.
12965
12966 2003-07-29 Michael Chastain <mec@shout.net>
12967
12968 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12969 actually failed.
12970 (do_pass): Likewise.
12971 * gdb.threads/tls.exp: Always initialize no_of_threads.
12972
12973 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12974
12975 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12976 pattern.
12977 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12978 * gdb.threads/tls.exp: Recognize one case of the host library not
12979 supporting TLS.
12980
12981 2003-07-27 Andrew Cagney <cagney@redhat.com>
12982
12983 * gdb.base/fileio.exp: Use SH when running commands using
12984 remote_exec.
12985
12986 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12987
12988 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12989 * gdb.base/relocate.c (dummy): New padding array.
12990
12991 2003-07-22 Michael Snyder <msnyder@redhat.com>
12992
12993 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
12994
12995 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12996 patterns to be more general, accepting old and new output.
12997 Some output chars (such as '+') also must be quoted.
12998 Some addresses are displayed numerically instead of
12999 symbolically.
13000
13001 2003-07-23 Michael Snyder <msnyder@redhat.com>
13002
13003 * gdb.base/return2.exp: Don't test long-long return.
13004
13005 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13006 * gdb.disasm/t01_mov.exp: Ditto.
13007 * gdb.disasm/t02_mova.s: Ditto.
13008 * gdb.disasm/t02_mova.exp: Ditto.
13009 * gdb.disasm/t03_add.s: Ditto.
13010 * gdb.disasm/t03_add.exp: Ditto.
13011 * gdb.disasm/t04_sub.s: Ditto.
13012 * gdb.disasm/t04_sub.exp: Ditto.
13013 * gdb.disasm/t05_cmp.s: Ditto.
13014 * gdb.disasm/t05_cmp.exp: Ditto.
13015 * gdb.disasm/t06_ari2.s: Ditto.
13016 * gdb.disasm/t06_ari2.exp: Ditto.
13017 * gdb.disasm/t07_ari3.s: Ditto.
13018 * gdb.disasm/t07_ari3.exp: Ditto.
13019 * gdb.disasm/t08_or.s: Ditto.
13020 * gdb.disasm/t08_or.exp: Ditto.
13021 * gdb.disasm/t09_xor.s: Ditto.
13022 * gdb.disasm/t09_xor.exp: Ditto.
13023 * gdb.disasm/t10_and.s: Ditto.
13024 * gdb.disasm/t10_and.exp: Ditto.
13025 * gdb.disasm/t11_logs.s: Ditto.
13026 * gdb.disasm/t11_logs.exp: Ditto.
13027 * gdb.disasm/t12_bit.s: Ditto.
13028 * gdb.disasm/t12_bit.exp: Ditto.
13029 * gdb.disasm/t13_otr.s: Ditto.
13030 * gdb.disasm/t13_otr.exp: Ditto.
13031
13032 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13033
13034 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13035
13036 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13037
13038 * gdb.threads/tls.c : New file.
13039 * gdb.threads/tls.exp : New file.
13040 * gdb.threads/tls-main.c : New file.
13041 * gdb.threads/tls-shared.c : New file.
13042 * gdb.threads/tls-shared.exp : New file.
13043
13044 2003-07-22 Andreas Schwab <schwab@suse.de>
13045
13046 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13047
13048 2003-07-20 Andreas Schwab <schwab@suse.de>
13049
13050 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13051 due to insn reordering.
13052
13053 2003-07-15 Andrew Cagney <cagney@redhat.com>
13054
13055 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13056
13057 2003-07-15 Michael Chastain <mec@shout.net>
13058
13059 * gdb.base/gdb1250.exp: New file.
13060 * gdb.base/gdb1250.c: New file.
13061
13062 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13063
13064 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13065 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13066
13067 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13068
13069 * gdb.threads/tls.c: New file.
13070 * gdb.threads/tls.exp: New file.
13071 * gdb.threads/tls-main.c: New file.
13072 * gdb.threads/tls-shared.c: New file.
13073 * gdb.threads/tls-shared.exp: New file.
13074
13075 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13076
13077 * gdb.base/annota1.exp: Make sure that we properly escape the
13078 full path of the source file. Xfail more permissive patterns,
13079 due to a compiler debug info problem.
13080
13081 2003-07-07 Andreas Schwab <schwab@suse.de>
13082
13083 * gdb.asm/m68k.inc: New file.
13084 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13085
13086 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13087 arguments"): Also match negative number.
13088
13089 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13090
13091 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13092
13093 * gdb.base/store.c (charest): New typedef.
13094 (add_char): Rename to add_charest, update.
13095 (wack_char): Rename to wack_charest, update types. Return l + r
13096 to keep r live across the call.
13097 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13098 (wack_double, wack_doublest): Return l + r to keep r live across
13099 the call.
13100 * gdb.base/store.exp: Accomodate store.c changes.
13101
13102 2003-06-30 David Carlton <carlton@kealia.com>
13103
13104 * gdb.c++/maint.exp (test_invalid_name): New.
13105 (test_first_component): Add tests for invalid names.
13106
13107 2003-06-29 Michael Chastain <mec@shout.net>
13108
13109 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13110 output of '<VTT for class>' for virtual base classes.
13111
13112 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13113
13114 * gdb.base/completion.exp: Tab-complete "complet" instead of
13115 "compl".
13116 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13117
13118 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13119
13120 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13121 * gdb.base/volatile.exp: Likewise.
13122
13123 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13124
13125 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13126 gdb/1265.
13127
13128 2003-06-28 Michael Chastain <mec@shout.net>
13129 Daniel Jacobowitz <drow@mvista.com>
13130
13131 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13132 initial line count of 'captured_main' from 26 to 32.
13133 (test_with_self): Allow xmalloc call to be interleaved with the
13134 preceding two lines.
13135
13136 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13137
13138 * gdb.base/bang.exp: New testcase.
13139
13140 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13141
13142 * gdb.base/langs.exp: Add some tests for the "minimal" language
13143 support.
13144
13145 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13146
13147 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13148 the testcase.
13149
13150 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13151
13152 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13153 offset.
13154
13155 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13156
13157 * gdb.c++/pr-1210.cc: New file.
13158 * gdb.c++/pr-1210.exp: New file.
13159
13160 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13161
13162 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13163 000-exec-continue.
13164
13165 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13166
13167 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13168 on *-*-*bsd* instead of *-*-freebsd*.
13169
13170 2003-06-14 Andrew Cagney <cagney@redhat.com>
13171
13172 * gdb.base/store.exp: Test longest and doublest. Test all
13173 parameters. Weaken return statement match.
13174 * gdb.base/store.c: Add longest and doublest - aka long long and
13175 long double functions. Put all parameters into local register
13176 variables. Use negative values.
13177
13178 2003-06-14 Andrew Cagney <cagney@redhat.com>
13179
13180 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13181 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13182 exit status.
13183 * gdb.base/fileio.exp: Disable target when nointerrupts and
13184 noinferiorio, instead of limiting it to remote. Use remote_exec
13185 instead of system.
13186
13187 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13188
13189 * gdb.base/float.exp: Add ia64 support.
13190
13191 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13192
13193 * gdb.base/fileio.exp: Run only on remote targets.
13194
13195 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13196
13197 * gdb.base/fileio.c: New file, testing File-I/O.
13198 * gdb.base/fileio.exp: Ditto.
13199
13200 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13201
13202 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13203 shared objects after relocation at load time (gdb PR/1132).
13204 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13205 as above, part of the shared object relocation test.
13206
13207 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13208
13209 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13210 fully filled history list.
13211 * gdb.base/gdb_history: New file.
13212
13213 * gdb.base/signals.exp: XFAIL "continue to func1" on
13214 i*86-*-freebsd*.
13215
13216 * gdb.base/attach.exp: When trying to attach to a nonexistent
13217 process, make it possible to specify the PID based on the target,
13218 and do so for *-*-freebsd*.
13219
13220 2003-06-02 Richard Henderson <rth@redhat.com>
13221
13222 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13223
13224 2003-06-02 Richard Henderson <rth@redhat.com>
13225
13226 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13227
13228 2003-06-02 Richard Henderson <rth@redhat.com>
13229
13230 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13231
13232 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13233
13234 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13235 of globalvar.
13236
13237 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13238
13239 * gdb.asm/asm-source.exp: Check for memory read errors in
13240 disassembler test on *BSD too.
13241
13242 2003-06-01 Richard Henderson <rth@redhat.com>
13243
13244 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13245 for .frame.
13246 (gdbasm_call): Lose ldgp.
13247 (gdbasm_startup): Add frame information.
13248 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13249
13250 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13251
13252 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13253 i?86-*-*.
13254
13255 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13256
13257 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13258 FreeBSD.
13259
13260 2003-05-29 Richard Henderson <rth@redhat.com>
13261
13262 * gdb.asm/alpha.inc: New file.
13263 * gdb.asm/asm-source.exp: Use it.
13264
13265 2003-05-29 Jim Blandy <jimb@redhat.com>
13266
13267 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13268 'core.PID'.
13269
13270 2003-05-22 Jim Blandy <jimb@redhat.com>
13271
13272 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13273 backtrace.
13274
13275 2003-05-20 David Carlton <carlton@math.stanford.edu>
13276
13277 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13278 this time.
13279
13280 2003-05-19 David Carlton <carlton@bactrian.org>
13281
13282 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13283 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13284
13285 2003-05-19 David Carlton <carlton@bactrian.org>
13286
13287 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13288 namespace tests.
13289 Bump copyright date.
13290 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13291 (main): Call C::D::marker2.
13292 * gdb.c++/namespace1.cc: New file.
13293
13294 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13295
13296 Roland McGrath <roland@redhat.com>
13297 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13298 there is no manager thread.
13299
13300 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13301
13302 * gdb.threads/schedlock.exp: Remove assumption that all threads
13303 will run in a particular small time slice. Also ensure we break
13304 in one of the child threads rather than the main thread.
13305
13306 2003-05-07 Jim Blandy <jimb@redhat.com>
13307
13308 Add support for assembly source testing on the s390x.
13309 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13310 architecture.
13311 * gdb.asm/s390x.inc: New file.
13312
13313 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13314 succession of 'if' statements.
13315
13316 2003-05-05 Andrew Cagney <cagney@redhat.com>
13317
13318 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13319
13320 2003-05-05 Andrew Cagney <cagney@redhat.com>
13321
13322 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13323 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13324
13325 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13326
13327 * gdb.base/charset.exp: Update based on new behavior of set/show
13328 charset commands.
13329
13330 2003-05-01 Andrew Cagney <cagney@redhat.com>
13331
13332 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13333 variable do not give memory errors.
13334
13335 2003-04-30 Adam Fedor <fedor@gnu.org>
13336
13337 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13338 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13339 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13340 gdb.objc/basicclass.m: : New files
13341
13342 * lib/gdb.exp (gdb_compile_objc): New procedure.
13343
13344 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13345
13346 * gdb.base/signals.exp: Make backtrace tests more specific.
13347
13348 2003-04-23 David Carlton <carlton@bactrian.org>
13349
13350 * gdb.c++/maint.exp (test_first_component): Add tests for
13351 'operator' in more locations.
13352
13353 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13354
13355 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13356
13357 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13358
13359 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13360 func marke' instead. Update test name.
13361
13362 2003-04-15 David Carlton <carlton@math.stanford.edu>
13363
13364 * gdb.c++/maint.exp: New file.
13365
13366 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13367
13368 * gdb.threads/schedlock.c: Change type of thread function argument
13369 to long, to avoid warnings on 64-bit platforms.
13370
13371 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13372
13373 * gdb.base/attach.exp: Add new message from ptrace in case of
13374 attaching to nonexistent process.
13375
13376 2003-04-11 Jim Blandy <jimb@redhat.com>
13377
13378 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13379 gdb.c++/userdef.cc: Place comments on the lines to which the
13380 marker function might return.
13381 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13382 gdb.c++/userdef.exp: Look for those comments to check that we've
13383 returned to the right place, instead of checking line numbers.
13384
13385 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13386
13387 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13388 match on sourcefile name, instead of directory name.
13389
13390 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13391
13392 * gdb.base/completion.exp: Use string_to_regexp to match the
13393 working directory name.
13394
13395 2003-04-09 Jim Blandy <jimb@redhat.com>
13396
13397 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13398 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13399 after an inferior function call, report the failure, but allow the
13400 test to continue.
13401
13402 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13403
13404 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13405 with -DPROTOTYPES.
13406
13407 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13408
13409 * gdb.base/break.exp: Revert last patch.
13410
13411 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13412
13413 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13414 with -DPROTOTYPES.
13415
13416 2003-04-02 Andrew Cagney <cagney@redhat.com>
13417
13418 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13419 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13420 matching directories by the name breakpoint.
13421 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13422 Make "continue to marker1" consistent.
13423 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13424 message consistent.
13425 * lib/gdb.exp: Put "the program is no longer running", and "the
13426 program exited" in parenthesis.
13427 * lib/mi-support.exp: Ditto.
13428
13429 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13430
13431 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13432
13433 2003-03-29 Andrew Cagney <cagney@redhat.com>
13434
13435 * gdb.base/sizeof.c (main): Print the value of '\377'.
13436 * gdb.base/sizeof.exp: Check the sign of '\377'.
13437
13438 2003-03-27 Michael Chastain <mec@shout.net>
13439
13440 * gdb.base/gdb1090.exp: New file.
13441 * gdb.base/gdb1090.cc: New file.
13442
13443 2003-03-27 J. Brobecker <brobecker@gnat.com>
13444
13445 * gdb.gdb/observer.exp: New regression test.
13446
13447 2003-03-27 Michael Chastain <mec@shout.net>
13448
13449 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13450 * gdb.base/ptype.exp: Likewise.
13451
13452 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13453
13454 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13455
13456 2003-03-26 Michael Chastain <mec@shout.net>
13457
13458 * gdb.base/ptype.exp: Actually use some typedef'd types.
13459
13460 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13461
13462 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13463 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13464
13465 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13466
13467 * gdb.base/default.exp: Fix regular expression.
13468
13469 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13470
13471 * gdb.base/args.exp: Fix regular expression.
13472
13473 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13474
13475 * gdb.base/help.exp: Allow Win32 child process.
13476
13477 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13478
13479 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13480 when stepping out of main().
13481
13482 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13483
13484 * gdb.base/default.exp: Check for win32 specific message when calling
13485 "run" without executable.
13486
13487 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13488
13489 * gdb.base/args.exp: Expect .exe in output.
13490
13491 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13492
13493 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13494 Cygwin native.
13495
13496 2003-03-17 Andrew Cagney <cagney@redhat.com>
13497
13498 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13499 vector registes.
13500 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13501 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13502
13503 2003-03-17 David Carlton <carlton@math.stanford.edu>
13504
13505 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13506 test, for PR breakpoints/38.
13507 Call test_watchpoint_and_breakpoint.
13508 * gdb.base/watchpoint.c (func3): New function.
13509 (main): Call func3.
13510
13511 2003-03-04 David Carlton <carlton@math.stanford.edu>
13512
13513 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13514 Garply<Garply<char> >:: garply".
13515 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13516 with respect to PR c++/1111; note also PR c++/1113.
13517 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13518 respect to PR c++/1062.
13519 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13520
13521 2003-03-03 David Carlton <carlton@math.stanford.edu>
13522
13523 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13524 with respect to PR c++/57.
13525 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13526 c++/826.
13527 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13528 respect to PR c++/57.
13529
13530 2003-03-03 David Carlton <carlton@math.stanford.edu>
13531
13532 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13533 respect to PR c++/33 into FAILs.
13534
13535 2003-03-03 Michael Chastain <mec@shout.net>
13536
13537 * configure.in: Update copyright years.
13538
13539 2003-03-03 Michael Chastain <mec@shout.net>
13540
13541 * Makefile.in: Update copyright years.
13542
13543 2003-02-28 David Carlton <carlton@math.stanford.edu>
13544
13545 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13546 print class instead of struct and/or superfluous protection
13547 specifiers, as long as the resulting output is equivalent to the
13548 source code.
13549 Delete FIXME from end of messages on tests that don't need
13550 fixing.
13551
13552 2003-02-28 David Carlton <carlton@math.stanford.edu>
13553
13554 * gdb.c++/templates.exp (do_tests): Allow const in the two
13555 Foo<volatile char *>::foo tests.
13556
13557 2003-02-27 Michael Snyder <msnyder@redhat.com>
13558
13559 * gdb.base/restore.c (main): Return zero, so exit code
13560 will be consistant.
13561
13562 2003-02-26 David Carlton <carlton@math.stanford.edu>
13563
13564 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13565 char *>::foo" test with respect to PR c++/33. Create a new test
13566 which is identical to that one except that it doesn't put the
13567 space between the "char" and the "*"; KFAIL it, too.
13568
13569 2003-02-26 David Carlton <carlton@math.stanford.edu>
13570
13571 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13572 template types into either PASSes or KFAILs (corresponding to PR
13573 c++/57). Tweak indentation. Update copyright.
13574
13575 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13576
13577 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13578
13579 2003-02-13 Michael Chastain <mec@shout.net>
13580
13581 * gdb.base/exprs.exp: Remove i960 remnants.
13582 * gdb.base/funcargs.exp: Likewise.
13583 * gdb.base/list.exp: Likewise.
13584 * gdb.base/ptype.exp: Likewise.
13585
13586 2003-02-14 David Carlton <carlton@math.stanford.edu>
13587
13588 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13589 pEe->D::vg()" from XFAIL to KFAIL.
13590
13591 2003-02-13 Jason Molenda (jmolenda@apple.com)
13592
13593 * gdb.base/maint.exp: Update maint print statistics regexp to include
13594 new entries.
13595
13596 2003-02-13 Michael Chastain <mec@shout.net>
13597
13598 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13599
13600 2003-02-12 Michael Chastain <mec@shout.net>
13601
13602 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13603 * gdb.c++/inherit.exp: Likewise.
13604 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13605 * gdb.c++/templates.exp: Likewise.
13606 * gdb.c++/virtfunc.exp: Likewise.
13607
13608 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13609
13610 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13611 why the code is written that way.
13612
13613 2003-02-05 Michael Chastain <mec@shout.net>
13614
13615 * gdb.base/dump.exp: Add missing copyright line.
13616
13617 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13618
13619 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13620 at the beginning so the breakpoint doesn't get set on the loop.
13621
13622 2003-02-05 Michael Chastain <mec@shout.net>
13623
13624 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13625 output for configurations with gcc 2.95.3.
13626
13627 2003-02-05 Keith Seitz <keiths@redhat.com>
13628 Andrew Cagney <ac131313@redhat.com>
13629
13630 * gdb.mi/mi-cli.exp: New file.
13631
13632 2003-02-04 Michael Chastain <mec@shout.net>
13633
13634 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13635 Call perror and then continue.
13636
13637 2003-02-03 Michael Chastain <mec@shout.net>
13638
13639 * gdb.c++/pr-1023.cc: New file.
13640 * gdb.c++/pr-1023.exp: New file.
13641
13642 2003-02-05 Jim Blandy <jimb@redhat.com>
13643
13644 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13645 it's local to foobar. Check for it there, and check that it's not
13646 present in main.
13647 * gdb.c++/local.cc (marker2): New function.
13648 (foobar): Call marker1.
13649 (main): Call marker2 instead of marker1.
13650
13651 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13652
13653 * gdb.disasm/mn10200.exp: Obsolete file.
13654 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13655 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13656 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13657
13658 2003-02-04 David Carlton <carlton@math.stanford.edu>
13659
13660 * gdb.c++/overload.exp: Test intToChar(1).
13661 * gdb.c++/overload.cc (intToChar): New.
13662 (main): Call intToChar.
13663
13664 2003-02-03 David Carlton <carlton@math.stanford.edu>
13665
13666 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13667 'might_kfail' arg.
13668 KFAIL some of the continue_to_bp_overloaded calls, according to
13669 PR c++/1025.
13670
13671 2003-02-01 Michael Chastain <mec@shout.net>
13672
13673 * gdb.base/advance.c (marker1): New marker function.
13674 * gdb.base/advance.exp: When the 'advance' command lands on the
13675 return breakpoint, it can legitimately stop on either the
13676 current line or the next line. Accommodate both outcomes.
13677 * gdb.base/until.exp: Likewise.
13678
13679 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13680
13681 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13682 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13683 now a list, not a tuple.
13684 * gdb.mi/mi-var-display.exp: Ditto.
13685 * gdb.mi/gdb792.exp: Ditto.
13686
13687 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13688
13689 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13690 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13691 stack backtraces.
13692 * gdb.mi/mi-syn-frame.c: Part of same.
13693
13694 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13695
13696 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13697 gdb.mi/mi1-pthreads.exp: Return instead of calling
13698 gdb_suppress_entire_file.
13699
13700 2003-02-01 Mark Salter <msalter@redhat.com>
13701
13702 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13703
13704 2003-01-31 Mark Salter <msalter@redhat.com>
13705
13706 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13707 Support empty arg.
13708
13709 2003-01-30 Michael Chastain <mec@shout.net>
13710
13711 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13712 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13713 has been fixed in gdb/readline on 2003-01-09.
13714
13715 2003-01-29 Michael Snyder <msnyder@redhat.com>
13716
13717 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13718 * gdb.base/display.exp: Allow for leading underscore in symbol.
13719 * gdb.base/args.exp: Skip if target does not support args passing.
13720
13721 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13722
13723 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13724 gdb_test. Accept a list of expect arguments as the third
13725 parameter.
13726 (gdb_test): Use it.
13727
13728 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13729
13730 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13731 allow for different test tree configurations. Update some
13732 tescases accordingly.
13733 * gdb.arch/altivec-regs.exp: Ditto.
13734 * gdb.asm/asm-source.exp: Ditto.
13735 * gdb.base/advance.exp: Ditto.
13736 * gdb.base/display.exp: Ditto.
13737 * gdb.base/long_long.exp: Ditto.
13738 * gdb.base/mips_pro.exp: Ditto.
13739 * gdb.base/overlays.exp: Ditto.
13740 * gdb.base/relocate.exp: Ditto.
13741 * gdb.base/setshow.exp: Ditto.
13742 * gdb.base/step-line.exp: Ditto.
13743 * gdb.base/step-test.exp: Ditto.
13744 * gdb.base/until.exp: Ditto.
13745 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13746
13747 2003-01-17 David Carlton <carlton@math.stanford.edu>
13748
13749 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13750 corresponding to PR c++/945.
13751 Update copyright.
13752
13753 2003-01-17 David Carlton <carlton@math.stanford.edu>
13754
13755 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13756 corresponding to PR c++/68.
13757
13758 2003-01-17 David Carlton <carlton@math.stanford.edu>
13759
13760 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13761 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13762 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13763
13764 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13765
13766 * gdb.base/break.exp: Fix change of default location, because of
13767 removal of until tests.
13768 * gdb.base/help.exp: Update test for new 'until' help message.
13769 Add test for help on 'advance'.
13770 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13771
13772 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13773
13774 * gdb.base/default.exp: Adapt "info float" test for recent changes
13775 to that command. Add test for "info vector".
13776 * gdb.base/float.exp: New file. Add test for "info float" that
13777 resembles the old test in gdb.base/default.exp.
13778
13779 2003-01-15 David Carlton <carlton@math.stanford.edu>
13780
13781 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13782
13783 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13784
13785 * gdb.base/break.exp: Move the tests of until command from here...
13786 * gdb.base/until.exp: ... to here. New file. Add other tests.
13787 * gdb.base/advance.c: New file.
13788 * gdb.base/advance.exp: New file.
13789
13790 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13791
13792 * gdb.base/args.c: New file.
13793 * gdb.base/args.exp: New file.
13794
13795 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13796
13797 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13798
13799 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13800
13801 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13802
13803 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13804
13805 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13806 dates.
13807
13808 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13809
13810 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13811
13812 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13813
13814 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13815 (ptype &*"foo").
13816 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13817
13818 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13819
13820 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13821 * gdb.mi/mi1-console.exp: Likewise.
13822
13823 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13824
13825 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13826 * gdb.mi/mi1-console.exp: Likewise.
13827
13828 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13829
13830 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13831
13832 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13833
13834 * gdb.base/detach.exp: New test.
13835
13836 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13837
13838 * Makefile.in (ALL_SUBDIRS): New variable.
13839 (subdirs, clean, distclean): Use it.
13840 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13841 regenerating Makefile, since it is generated from the top level.
13842 * gdb.asm/Makefile.in: Likewise.
13843 * gdb.base/Makefile.in: Likewise.
13844 * gdb.c++/Makefile.in: Likewise.
13845 * gdb.disasm/Makefile.in: Likewise.
13846 * gdb.java/Makefile.in: Likewise.
13847 * gdb.mi/Makefile.in: Likewise.
13848 * gdb.threads/Makefile.in: Likewise.
13849 * gdb.trace/Makefile.in: Likewise.
13850
13851 2003-01-09 David Carlton <carlton@math.stanford.edu>
13852
13853 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13854 Add copyright year 2003.
13855
13856 2003-01-06 Michael Chastain <mec@shout.net>
13857
13858 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13859 When selecting a thread, 'line' and 'file' are optional.
13860 * gdb.mi/mi1-pthreads.exp: Likewise.
13861
13862 2003-01-06 Andreas Schwab <schwab@suse.de>
13863
13864 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13865 failures.
13866
13867 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13868
13869 Fix PR gdb/844
13870 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13871 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13872
13873 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13874 instead of calling gdb_suppress_entire_file.
13875 * gdb.threads/print-threads.exp: Likewise.
13876 * gdb.threads/schedlock.exp: Likewise.
13877
13878 * gdb.threads/killed.exp: Return instead of calling
13879 gdb_suppress_entire_file.
13880 * gdb.threads/linux-dp.exp: Likewise.
13881 * gdb.threads/pthreads.exp: Likewise.
13882
13883 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13884
13885 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13886 stabs.
13887 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13888 * gdb.base/whatis.exp: Always allow (void) after function names.
13889
13890 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13891
13892 * gdb.c++/casts.exp: Correct regexp.
13893
13894 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13895
13896 * configure.in: Call AC_CONFIG_HEADER. Don't call
13897 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13898 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13899 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13900 aforementioned directories in the AC_OUPUT call.
13901 * config.hin: New file.
13902 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13903 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13904 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13905 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13906 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13907 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13908 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13909 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13910 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13911 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13912 gdb.threads/configure.in, gdb.threads/configure,
13913 gdb.threads/config.in, gdb.trace/configure.in,
13914 gdb.trace/configure: Removed.
13915
13916 2003-01-03 Michael Chastain <mec@shout.net>
13917
13918 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13919 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13920
13921 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13922
13923 * gdb.base/store.exp: Fix regular expressions.
13924
13925 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13926
13927 * configure.in: Rewrite.
13928 * configure: Regenerated.
13929
13930 2003-01-03 David Carlton <carlton@math.stanford.edu>
13931
13932 * gdb.base/psymtab.exp: New file.
13933 * gdb.base/psymtab1.c: Ditto.
13934 * gdb.base/psymtab2.c: Ditto.
13935
13936 2002-12-23 Adam Fedor <fedor@gnu.org>
13937
13938 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13939
13940 2002-12-23 David Carlton <carlton@math.stanford.edu>
13941
13942 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13943 and current_directory initialization.
13944
13945 2002-12-22 Jim Blandy <jimb@redhat.com>
13946
13947 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13948 rather than as part of the output file name.
13949
13950 * gdb.base/attach.exp: There's no need to copy the test program to
13951 /tmp; that was only ever necessary on HP/UX, and this test is
13952 entirely disabled there anyway.
13953
13954 2002-12-21 Jim Blandy <jimb@redhat.com>
13955
13956 * gdb.c++/psmang.exp: Doc fix.
13957
13958 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13959 test.
13960
13961 2002-12-20 David Carlton <carlton@math.stanford.edu>
13962
13963 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13964
13965 2002-12-18 Michael Chastain <mec@shout.net>
13966
13967 * gdb.c++/annota2.exp: Add copyright year 2002.
13968
13969 2002-12-17 David Carlton <carlton@math.stanford.edu>
13970
13971 * gdb.c++/try_catch.cc: Add marker comments.
13972 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13973 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13974 * gdb.c++/m-static.cc: Ditto.
13975 * gdb.c++/m-static1.cc: Ditto.
13976 * gdb.c++/try_catch.cc: Ditto.
13977
13978 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13979
13980 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13981 to see whether we are using the new -environment-directory
13982 command which resets via -r or the old version of the command
13983 which may prompt the user. Part of fix for gdb/741.
13984
13985 2002-12-13 Andrew Cagney <ac131313@redhat.com>
13986
13987 * gdb.fortran/types.exp: Update obsolete comment.
13988 * gdb.fortran/exprs.exp: Ditto.
13989 * lib/gdb.exp: Delete obsolete code.
13990 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13991 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13992 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13993 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13994 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13995 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13996 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13997 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13998 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13999 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14000 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14001 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14002 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14003 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14004 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14005 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14006 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14007 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14008 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14009 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14010 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14011 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14012 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14013 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14014 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14015 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14016 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14017 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14018 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14019 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14020 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14021 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14022 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14023 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14024 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14025 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14026 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14027
14028 2002-12-11 David Carlton <carlton@math.stanford.edu>
14029
14030 * gdb.c++/m-data.exp: Add test for members that shadow global
14031 variables: see PR gdb/804.
14032 * gdb.c++/m-data.cc: Ditto.
14033
14034 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14035
14036 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14037
14038 2002-12-06 David Carlton <carlton@math.stanford.edu>
14039
14040 * gdb.base/store.c: Don't declare functions static.
14041
14042 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14043
14044 * gdb.base/store.exp, gdb.base/store.c: New files.
14045
14046 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14047
14048 * gdb.base/selftest.exp: Update for current gdb.
14049
14050 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14051
14052 * gdb.base/maint.exp: Only dump symbols from one source file
14053 or objfile.
14054
14055 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14056
14057 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14058 function call.
14059
14060 2002-11-25 Jim Blandy <jimb@redhat.com>
14061
14062 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14063 function appearing in error message.
14064
14065 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14066
14067 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14068
14069 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14070
14071 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14072 for mi1 and current mi is in correct format. New mi startup message
14073 should be in mi console format. This is part of fix for PR gdb/604.
14074
14075 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14076
14077 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14078 which explicitly prints the zero offset as "+0".
14079
14080 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14081
14082 * gdb.threads/schedlock.c (args): Make unsigned.
14083
14084 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14085
14086 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14087 numbers. Allow "foo2|selected stack frame".
14088 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14089 * gdb.asm/asmsrc2.s: Likewise.
14090 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14091 comments.
14092 * gdb.asm/mips.inc: New file.
14093
14094 2002-10-18 Adam Fedor <fedor@gnu.org>
14095
14096 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14097 * gdb.base/help.exp: Likewise.
14098
14099 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14100
14101 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14102 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14103
14104 2002-10-02 Jim Blandy <jimb@redhat.com>
14105
14106 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14107
14108 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14109
14110 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14111 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14112 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14113 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14114 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14115 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14116 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14117
14118 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14119
14120 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14121 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14122 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14123 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14124 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14125 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14126 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14127
14128 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14129
14130 * gdb.base/annota1.exp (info break): Make directory components of
14131 path optional since not all compilers emit this debug information.
14132
14133 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14134 step ends up stepping out of the function instead of stopping on
14135 the epilogue.
14136
14137 2002-09-26 Keith Seitz <keiths@redhat.com>
14138
14139 * lib/insight-support.exp (gdbtk_start): Figure out where
14140 the insight executable is based on where gdb is. Use this
14141 executable to start insight instead of gdb.
14142
14143 2002-09-25 Andrew Cagney <cagney@redhat.com>
14144
14145 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14146
14147 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14148
14149 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14150 test_isolated_complaints.
14151 (test_empty_complaint): New function.
14152 (test_empty_complaints): New function. Check no output when no
14153 complaints.
14154
14155 2002-09-19 Jim Blandy <jimb@redhat.com>
14156
14157 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14158
14159 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14160
14161 * gdb.gdb/complaints.exp: New file.
14162
14163 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14164
14165 * gdb.base/maint.exp: Check `help maint internal-warning'.
14166
14167 2002-09-18 David Carlton <carlton@math.stanford.edu>
14168
14169 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14170 numbers, and replace them by a single breakpoint after the
14171 constructors are all finished.
14172 Add test 4.
14173 * gdb.c++/m-static.cc: Add test 4.
14174 * gdb.c++/m-static.h: New file.
14175 * gdb.c++/m-static1.cc: New file.
14176
14177 * gdb.c++/printmethod.exp: New file.
14178 * gdb.c++/printmethod.cc: New file.
14179
14180 * gdb.c++/pr-574.exp: New file.
14181 * gdb.c++/pr-574.cc: New file.
14182
14183 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14184
14185 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14186 embedded targets which never actually exit.
14187
14188 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14189
14190 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14191 "don't step after run" as unresolved or unsupported, instead of xfail.
14192
14193 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14194
14195 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14196 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14197 Add newline to expected string in "step out of main (status wrapper)"
14198 case.
14199
14200 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14201
14202 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14203 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14204
14205 2002-09-17 Tom Tromey <tromey@redhat.com>
14206
14207 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14208 \000, not \0, in double-quoted string.
14209
14210 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14211
14212 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14213 string after running the commands execution on breakpoint tests.
14214
14215 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14216
14217 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14218
14219 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14220
14221 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14222
14223 2002-09-10 Keith Seitz <keiths@redhat.com>
14224
14225 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14226 runto proc.
14227 (mi_run_to_main): Use mi_runto.
14228 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14229
14230 2002-09-10 Keith Seitz <keiths@redhat.com>
14231
14232 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14233 regexp for stopping at main. Could have multiple event notifications.
14234 Don't assume that main was declared with no parameters.
14235 (mi_next): Use mi_step_to.
14236 (mi_step): Use mi_next_to.
14237
14238 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14239
14240 * gdb.base/default.exp: Fix expected string in `info float' test.
14241
14242 2002-09-09 Ben Elliston <bje@redhat.com>
14243
14244 * config/mips.exp: Update comments.
14245 * config/mips-idt.exp: Likewise.
14246 * config/nind.exp: Likewise.
14247 * config/slite.exp: Likewise.
14248 * config/sparclet.exp: Likewise.
14249 * config/udi.exp: Likewise.
14250 * config/vx.exp: Likewise.
14251 * config/vxworks29k.exp: Likewise.
14252
14253 2002-09-05 Jim Blandy <jimb@redhat.com>
14254
14255 * gdb.threads/killed.exp: Fix test failure message.
14256
14257 2002-09-04 Keith Seitz <keiths@redhat.com>
14258
14259 * lib/mi-support.exp: Update copyright.
14260 (mi_gdb_test): Increase the priority of the expected pattern
14261 so that it matches gdb_test.
14262
14263 2002-09-03 Keith Seitz <keiths@redhat.com>
14264
14265 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14266 Use integer comparison instead of string comparison for testing
14267 whether binary was built.
14268
14269 2002-09-03 Jim Blandy <jimb@redhat.com>
14270
14271 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14272
14273 2002-08-29 Jim Blandy <jimb@redhat.com>
14274
14275 * gdb.threads/pthreads.exp: Move the portable thread compilation
14276 code into a function in lib/gdb.exp, and call that from here.
14277 * lib/gdb.exp (gdb_compile_pthreads): New function.
14278
14279 2002-08-29 Keith Seitz <keiths@redhat.com>
14280
14281 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14282 expect_out so that callers can get at it.
14283
14284 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14285
14286 * gdb.threads/print-threads.c: New file.
14287 * gdb.threads/print-threads.exp: New file.
14288 * gdb.threads/schedlock.c: New file.
14289 * gdb.threads/schedlock.exp: New file.
14290
14291 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14292
14293 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14294 not altivec.c.
14295
14296 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14297
14298 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14299 targets. The problem should be fixed now.
14300
14301 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14302
14303 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14304 2002-07-24 change that removes final dots from error messages.
14305
14306 2002-08-13 Tom Tromey <tromey@redhat.com>
14307
14308 * gdb.base/readline.exp: New file.
14309
14310 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14311
14312 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14313 supress message.
14314
14315 2002-08-01 Andrew Cagney <cagney@redhat.com>
14316
14317 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14318 CHILL_FOR_TARGET and CHILL_LIB.
14319 * configure.in (configdirs): Remove gdb.chill.
14320 * configure: Regenerate.
14321 * lib/gdb.exp: Obsolete references to chill.
14322 * gdb.fortran/types.exp: Ditto.
14323 * gdb.fortran/exprs.exp: Ditto.
14324
14325 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14326
14327 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14328 set Irix-specific compile and link flags.
14329
14330 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14331
14332 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14333 source files. The ``-o'' option doesn't work with the ``-E'' option
14334 when using the Irix compiler.
14335
14336 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14337
14338 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14339 Improve support for reusing an exec file. Copy exec file
14340 to target, and run gdbserver on the target instead of on the host.
14341
14342 2002-07-18 Jim Blandy <jimb@redhat.com>
14343
14344 * gdb.base/ending-run.exp: Don't expect to see the program end in
14345 some orderly fashion when we're running on a real stand-alone
14346 board.
14347
14348 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14349 targets that don't support interrupts.
14350
14351 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14352
14353 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14354 systems.
14355 Move comments in expect statements to inside the actions, so that they
14356 don't get matched against.
14357
14358 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14359
14360 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14361 function when asleep" test.
14362
14363 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14364
14365 * gdb.base/page.exp: Rewrite to handle problems with very long
14366 `info set' output. Update copyright.
14367
14368 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14369
14370 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14371 gdb.threads-hp.
14372 * gdb.hp/configure: Regenerate.
14373 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14374 * gdb.hp/gdb.threads-hp/configure: Delete file.
14375 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14376
14377 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14378
14379 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14380 setlocale, bindtextdomain and textdomain.
14381
14382 2002-06-11 Jim Blandy <jimb@redhat.com>
14383
14384 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14385 preprocessor macro information is present.
14386
14387 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14388 tests.
14389
14390 2002-06-06 Michael Snyder <msnyder@redhat.com>
14391
14392 * gdb.base/overlays.exp: Record addresses of overlay
14393 functions in TCL variables rather than in GDB variables,
14394 to avoid having GDB convert them to pointers (with loss
14395 of information).
14396
14397 * gdb.base/d10v.ld: Merge in several years worth of
14398 default linker script changes.
14399 * gdb.base/long_long.exp: Add check for sizeof (long double).
14400
14401 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14402
14403 * gdb.asm/asm-source.exp: Add x86-64 target.
14404 * gdb.asm/x86_64.inc: New.
14405
14406 2002-05-30 Michael Chastain <mec@shout.net>
14407
14408 From Benjamin Kosnik <bkoz@redhat.com>:
14409 * gdb.c++/m-static.cc: New file.
14410 * gdb.c++/m-static.exp: New file.
14411
14412 2002-05-28 Michael Snyder <msnyder@redhat.com>
14413
14414 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14415 precision.
14416
14417 2002-05-27 Michael Chastain <mec@shout.net>
14418
14419 From Benjamin Kosnik <bkoz@redhat.com>:
14420 * gdb.c++/m-data.cc: New file.
14421 * gdb.c++/m-data.exp: New file.
14422
14423 2002-05-27 Michael Chastain <mec@shout.net>
14424
14425 From Benjamin Kosnik <bkoz@redhat.com>:
14426 * gdb.c++/try_catch.cc: New file.
14427 * gdb.c++/try_catch.exp: New file.
14428
14429 2002-05-27 Michael Chastain <mec@shout.net>
14430
14431 * gdb.c++/local.exp: Accept more nested types in output.
14432
14433 2002-05-26 Michael Chastain <mec@shout.net>
14434
14435 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14436
14437 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14438
14439 * lib/gdb.exp (gdb_wrapper_init): Just because
14440 gdb_wrapper_file exists, this does not mean that the file
14441 should not be rebuilt. That is what gdb_wrapper_initialized
14442 is for.
14443 (default_gdb_init): Reset gdb_wrapper_initialized.
14444
14445 2002-05-23 Michael Snyder <msnyder@redhat.com>
14446
14447 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14448 the precision of the floating point test results.
14449 * gdb.base/call-rt-st.exp: Ditto.
14450
14451 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14452 * gdb.base/call-rt-st.exp: Ditto.
14453
14454 2002-05-19 Michael Chastain <mec@shout.net>
14455
14456 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14457
14458 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14459
14460 * configure.in (configdirs): Add gdb.arch.
14461 * configure: Regenerate.
14462
14463 2002-05-17 Jim Blandy <jimb@redhat.com>
14464
14465 * gdb.base/completion.exp: Recognize the more detailed error
14466 messages produced by the macro expander's lexical analyzer.
14467
14468 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14469
14470 * gdb.arch/altivec-abi.c: New file.
14471 * gdb.arch/altivec-abi.exp: New file.
14472 * gdb.arch/altivec-regs.c: New file.
14473 * gdb.arch/altivec-regs.exp: New file.
14474
14475 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14476
14477 * gdb.base/maint.exp (maint print type): Update for new type
14478 structure.
14479
14480 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14481
14482 * gdb.arch: New directory.
14483 * gdb.arch/configure.in: New file.
14484 * gdb.arch/configure: New file.
14485 * gdb.arch/Makefile.in: New file.
14486
14487 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14488
14489 * gdb.asm/asm-source.exp: Add v850 as supported target.
14490 * gdb.asm/v850.inc: New file.
14491
14492 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14493
14494 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14495
14496 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14497
14498 * gdb.base/break.exp: Check 'break "marker2"'.
14499
14500 2002-05-10 Michael Snyder <msnyder@redhat.com>
14501
14502 * gdb.base/long_long.exp: Fix typo.
14503
14504 2002-05-10 Jim Blandy <jimb@redhat.com>
14505
14506 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14507 a bug.
14508
14509 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14510 Recognize more detailed error message produced by the macro
14511 expander's lexical analyzer.
14512 * lib/gdb.exp (test_print_reject): Same.
14513
14514 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14515
14516 * gdb.c++/method.exp: Fix typo.
14517
14518 2002-05-08 Michael Snyder <msnyder@redhat.com>
14519
14520 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14521 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14522 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14523 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14524 Add iftarget clause for strongarm.
14525
14526 2002-05-06 Michael Snyder <msnyder@redhat.com>
14527
14528 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14529 (gdb_continue_to_end): Accept output from status wrapper.
14530 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14531 Clean up fail messages to match pass messages.
14532
14533 Enable the "needs_status_wrapper" testsuite feature.
14534 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14535 (gdb_compile): Conditionally call gdb_wrapper_init.
14536 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14537 * gdb.c++/method.exp: Recognize output from status wrapper.
14538
14539 2002-05-06 Ben Elliston <bje@redhat.com>
14540 From Graydon Hoare <graydon@redhat.com>
14541
14542 * config/sid.exp: Include support for "rawsid" protocol.
14543
14544 2002-05-03 Jim Blandy <jimb@redhat.com>
14545
14546 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14547 * gdb.c++/hang3.C: New file.
14548
14549 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14550
14551 * gdb.base/default.exp: Remove obsolete code.
14552 * gdb.c++/misc.exp: Ditto. Update copyright.
14553 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14554 * gdb.base/whatis.exp: Ditto. Update copyright.
14555 * gdb.base/scope.exp: Ditto. Update copyright.
14556 * gdb.base/ptype.exp: Ditto. Update copyright.
14557 * gdb.base/printcmds.exp: Ditto. Update copyright.
14558 * gdb.base/opaque.exp: Ditto. Update copyright.
14559 * gdb.base/list.exp: Ditto.
14560 * gdb.base/funcargs.exp: Ditto. Update copyright.
14561 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14562 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14563 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14564 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14565 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14566 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14567
14568 2002-05-02 Michael Snyder <msnyder@redhat.com>
14569
14570 * gdb.base/watchpoint.exp: Add xscale target.
14571 * gdb.base/long_long.exp: Add xscale target.
14572 * gdb.base/default.exp: Add xscale target.
14573
14574 2002-05-01 Jim Blandy <jimb@redhat.com>
14575
14576 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14577 gdb.c++/hang.exp: New test.
14578
14579 2002-05-01 Fred Fish <fnf@redhat.com>
14580
14581 * gdb.base/completion.exp: Handle completions of "./Make" for
14582 more than one completion possibility, as is the case when we
14583 build and test in the source tree.
14584
14585 2002-04-29 Anthony Green <green@redhat.com>
14586
14587 * gdb.java/jmisc1.exp: New file.
14588 * gdb.java/jmisc2.exp: New file.
14589
14590 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14591
14592 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14593
14594 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14595
14596 * gdb.base/help.exp: Change 'help status' to allow for target
14597 dependent output differences.
14598
14599 2002-04-22 Michael Chastain <mec@shout.net>
14600
14601 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14602
14603 2002-04-22 Michael Chastain <mec@shout.net>
14604
14605 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14606
14607 2002-04-17 David S. Miller <davem@redhat.com>
14608
14609 * gdb.asm/sparc64.inc: New file.
14610 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14611
14612 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14613
14614 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14615 instruction file directly into the build tree. Clean up at end of
14616 test.
14617
14618 2002-04-18 David S. Miller <davem@redhat.com>
14619
14620 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14621 handle 64-bit platforms correctly.
14622 * gdb.base/maint.exp: Likewise.
14623
14624 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14625
14626 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14627 ``-fpic'' when compiling files comprising a shared library, but
14628 it does need additional linker flags in order to find shared
14629 libraries at run time.
14630
14631 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14632
14633 * gdb.base/cvexpr.c (use): New function.
14634 (main): Invoke use() on all global variables to prevent
14635 some linkers from deleting these otherwise unused symbols.
14636
14637 2002-04-17 Michael Chastain <mec@shout.net>
14638 From David S. Miller <davem@redhat.com>
14639
14640 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14641 handle 64-bit platforms correctly.
14642
14643 2002-04-12 Michael Snyder <msnyder@redhat.com>
14644 From Jim Blandy <jimb@redhat.com>
14645 * gdb.base/foo.c (foox): Remove section attribute; the linker
14646 script can handle this instead.
14647 * gdb.base/bar.c (barx): Same.
14648 * gdb.base/baz.c (bazx): Same.
14649 * gdb.base/grbx.c (grbxx): Same.
14650
14651 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14652 manager doesn't automatically unmap overlays unnecessarily.
14653
14654 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14655
14656 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14657 stepping out of main.
14658
14659 2002-04-09 Michael Chastain <mec@shout.net>
14660
14661 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14662 scope so that the nested scope tests will make sense.
14663 * gdb.c++/local.exp: Write patterns that actually work with gcc
14664 (the HP patterns "were never known to work with gcc").
14665 Keep the old aCC patterns too.
14666
14667 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14668
14669 * gdb.base/attach.exp: Correct target board test.
14670
14671 2002-04-08 Michael Chastain <mec@shout.net>
14672
14673 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14674 in a const method. Add some xfail and fail cases for configurations
14675 that do not emit the "const ...".
14676
14677 2002-04-07 Michael Chastain <mec@shout.net>
14678
14679 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14680 Accept "A * const" and "const A * const" as type of "this".
14681 Fix spelling of getFunky throughout. Make messages uniform.
14682
14683 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14684
14685 Work around for PR gdb/285:
14686 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14687
14688 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14689
14690 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14691 instructions file at run time instead of configure time.
14692 Sometimes we run the test in a directory that is not the one we
14693 configured in.
14694 * gdb.asm/configure.in: Delete creation of symlink.
14695 * gdb.asm/configure: Regenerate.
14696
14697 2002-04-05 J. Brobecker <brobecker@gnat.com>
14698
14699 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14700 xfullpath () function.
14701
14702 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14703
14704 * gdb.asm/Makefile.in: Correct dependencies.
14705
14706 * gdb.asm/powerpc.inc: New file.
14707 * gdb.asm/asm-source.exp: Add PowerPC.
14708 * gdb.asm/configure.in: Likewise.
14709 * gdb.asm/configure: Regenerated.
14710
14711 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14712
14713 * gdb.base/relocate.exp: New file.
14714 * gdb.base/relocate.c: New file.
14715
14716 2002-04-04 Fred Fish <fnf@redhat.com>
14717
14718 * gdb.base/step-test.exp: Update comment regarding stopping in
14719 memcpy/bcopy calls inserted as part of the compiler runtime.
14720
14721 2002-04-04 Michael Snyder <msnyder@redhat.com>
14722
14723 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14724
14725 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14726
14727 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14728 (gdb_expect): Remove $notransfer hack.
14729
14730 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14731
14732 * gdb.c++/classes.exp ("calling method for small class"): Match
14733 updated register output.
14734
14735 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14736
14737 Fix PR gdb/452
14738 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14739 when finished. Make gdb_file_cmd send "exec-file" when
14740 appropriate.
14741
14742 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14743
14744 * gdb.base/attach.exp: Remove extra setup_xfail.
14745
14746 2002-03-26 Michael Snyder <msnyder@redhat.com>
14747
14748 * gdb.base/default.exp: Add tests for dump, append, and restore.
14749 * gdb.base/help.exp: Add tests for dump, append, and restore.
14750 * gdb.base/dump.exp: New file, test dump, append and restore.
14751 * gdb.base/dump.c: New file.
14752
14753 2002-03-27 Michael Snyder <msnyder@redhat.com>
14754
14755 * gdb.base/help.exp: Modify expect strings to reflect
14756 clean-ups in help messages.
14757
14758 2002-03-26 Fred Fish <fnf@redhat.com>
14759
14760 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14761 have debugging info for those functions and the compiler uses them
14762 internally to copy structs around.
14763
14764 2002-03-26 Fred Fish <fnf@redhat.com>
14765
14766 * gdb.base/list.exp: Revert the change made yesterday and add note
14767 about why we don't list the default lines for remote targets.
14768
14769 2002-03-25 Michael Snyder <msnyder@redhat.com>
14770
14771 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14772
14773 2002-03-25 Fred Fish <fnf@redhat.com>
14774
14775 * gdb.base/list.exp: This test works on remote targets so remove
14776 the short circuit for remote targets. Update copyright.
14777
14778 2002-03-25 Fred Fish <fnf@redhat.com>
14779
14780 * gdb.base/attach.exp: Fix logic error that was suppressing this
14781 test for all non hppa*-*-hpux* targets, instead of the hp target.
14782 Move comments closer to the suppression point. Also now need to
14783 check that we are running natively.
14784
14785 2002-03-22 Michael Snyder <msnyder@redhat.com>
14786
14787 * gdb.base/default.exp: Add test for gcore. Update copyright.
14788 * gdb.base/help.exp: Add test for gcore. Update copyright.
14789
14790 2002-03-06 Fred Fish <fnf@redhat.com>
14791
14792 * gdb.base/funcargs.c: Remove extraneous ';' character.
14793 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14794
14795 2002-03-04 Michael Chastain <mec@shout.net>
14796
14797 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14798 accommodate gcc v3 function signature.
14799 * gdb.mi/mi0-var-cmd-exp: Ditto.
14800
14801 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14802
14803 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14804 ``GNU/Linux'' or ``Linux kernel''
14805 * testsuite/gdb.threads/pthreads.c: Ditto.
14806
14807 2002-02-24 Michael Chastain <mec@shout.net>
14808
14809 * gdb.threads/pthreads.c (thread1): Add a return statement.
14810 (thread2): Likewise.
14811 (foo): Likewise.
14812
14813 2002-02-23 Michael Chastain <mec@shout.net>
14814
14815 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14816 to placate gcc.
14817
14818 2002-02-23 Michael Chastain <mec@shout.net>
14819
14820 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14821 test "ptype bint". The test passes on all my stabs configurations.
14822
14823 2002-02-21 Jim Blandy <jimb@redhat.com>
14824
14825 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14826 filename at a time, and watch for the ones we want to see.
14827
14828 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14829 types of pointers to prototyped functions.
14830
14831 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14832
14833 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14834 signed, unsigned and straight char.
14835 (padding_char, padding_short, padding_int, padding_long,
14836 padding_long_long, padding_float, padding_double,
14837 padding_long_double): New global variables.
14838 (fill, fill_structs): New functions.
14839
14840 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14841 for correctly sized writes. Update copyright.
14842 (get_valueof): New procedure.
14843 (get_sizeof): Call get_valueof.
14844 (check_valueof): New procedure.
14845 (check_padding): New procedure.
14846
14847 2002-02-20 Michael Chastain <mec@shout.net>
14848
14849 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14850 to setup_xfail. Document some of the remaining calls.
14851
14852 2002-02-18 Michael Chastain <mec@shout.net>
14853
14854 * gdb.c++/userdef.exp: Update copyright year.
14855
14856 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14857
14858 * gdb.c++/userdef.exp: Test overloaded operators properly.
14859 Remove xfails.
14860
14861 2002-02-14 Michael Snyder <msnyder@redhat.com>
14862
14863 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14864
14865 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14866
14867 * gdb.base/a2-run.exp: Check for a remote target properly.
14868 * gdb.base/annota1.exp: Likewise.
14869 * gdb.base/list.exp: Likewise.
14870 * gdb.base/reread.exp: Likewise.
14871 * gdb.base/scope.exp: Likewise.
14872 * gdb.base/shlib-call.exp: Likewise.
14873 * gdb.base/term.exp: Likewise.
14874 * gdb.c++/annota2.exp: Likewise.
14875
14876 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14877
14878 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14879
14880 2002-02-10 Michael Chastain <mec@shout.net>
14881
14882 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14883 (call_after_alloca): Ditto.
14884
14885 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14886
14887 * gdb.base/ending-run.exp: Guard "cont" test with
14888 gdb_skip_stdio_test.
14889
14890 2002-02-06 Jim Blandy <jimb@redhat.com>
14891
14892 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14893 from here...
14894 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14895 To here. Disable this test on non-HP platforms. Add big comment.
14896
14897 2002-02-04 Michael Snyder <msnyder@redhat.com>
14898
14899 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14900 other than d10v and m32r.
14901
14902 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14903
14904 * gdb.base/default.exp: Rewrite test patterns to reduce time
14905 taken to match them.
14906
14907 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14908
14909 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14910 Allow a start function above main.
14911 * gdb.threads/linux-dp.exp: Fix copyright date.
14912
14913 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14914
14915 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14916 (check_philosopher_stack): Check for manager thread before checking
14917 for a just-starting thread.
14918
14919 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14920
14921 From Neil Booth <neil@daikokuya.demon.co.uk>:
14922 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14923 warnings.
14924
14925 2002-01-21 Fred Fish <fnf@redhat.com>
14926
14927 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14928 not caller.
14929
14930 2002-01-21 Jim Blandy <jimb@redhat.com>
14931
14932 * gdb.base/reread.exp: Check that GDB properly re-reads the
14933 executable file when it changes while no inferior is running.
14934
14935 2002-01-21 Fred Fish <fnf@redhat.com>
14936
14937 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14938 optionally accept the "shlib events" variation.
14939
14940 2002-01-21 Jim Blandy <jimb@redhat.com>
14941
14942 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14943 call `fflush' after every `printf', so that the output is produced
14944 at predictable points, regardless of whatever buffering does (or
14945 doesn't) take place.
14946 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14947 at different points.
14948
14949 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14950
14951 * gdb.c++/inherit.exp: Update copyright years.
14952 * gdb.c++/method.exp: Likewise.
14953
14954 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14955
14956 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14957 artificial methods/arguments.
14958 * gdb.c++/derivation.exp: Likewise.
14959 * gdb.c++/inherit.exp: Likewise.
14960 * gdb.c++/method.exp: Likewise.
14961 * gdb.c++/virtfunc.exp: Likewise.
14962
14963 2002-01-18 Andrew Cagney <ac131313@redhat.com>
14964
14965 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14966 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14967 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14968 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14969 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14970 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14971
14972 2002-01-17 Jim Blandy <jimb@redhat.com>
14973
14974 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14975 anchoring the pattern matching the entry point symbol's name.
14976
14977 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14978
14979 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14980 continue/quit query. Update copyright.
14981
14982 2002-01-14 Michael Snyder <msnyder@redhat.com>
14983
14984 * gdb.base/gcore.exp: Remove extra debugging output.
14985
14986 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14987
14988 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14989 for slightly dubious v2 mangled string.
14990
14991 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14992
14993 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14994
14995 2002-01-10 Jason Merrill <jason@redhat.com>
14996
14997 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14998
14999 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15000 constructors.
15001 * gdb.c++/derivation.exp: Likewise.
15002 * gdb.c++/templates.exp: Likewise.
15003 * gdb.c++/virtfunc.exp: Likewise.
15004
15005 2002-01-10 Michael Snyder <msnyder@redhat.com>
15006
15007 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15008
15009 2002-01-08 Michael Snyder <msnyder@redhat.com>
15010
15011 * gdb.base/gcore.exp: New test for generate-core-file command.
15012 * gdb.base/gcore.c: Testcase for above.
15013 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15014
15015 2002-01-08 Jason Merrill <jason@redhat.com>
15016
15017 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15018
15019 2002-01-07 Fred Fish <fnf@redhat.com>
15020
15021 * gdb.c++/overload.exp: Remove unconditional xfails for:
15022 print foo_instance1.overloadargs(1)
15023 print foo_instance1.overloadargs(1, 2)
15024 print foo_instance1.overloadargs(1, 2, 3)
15025 print foo_instance1.overloadargs(1, 2, 3, 4)
15026 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15027 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15028 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15029 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15030 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15031 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15032 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15033 print foo_instance1.overload1arg()
15034 print foo_instance1.overload1arg((char)arg2)
15035 print foo_instance1.overload1arg((signed char)arg3)
15036 print foo_instance1.overload1arg((unsigned char)arg4)
15037 print foo_instance1.overload1arg((int)arg7)
15038 print foo_instance1.overload1arg((unsigned int)arg8)
15039 print foo_instance1.overload1arg((float)arg11)
15040 print foo_instance1.overload1arg((double)arg12)
15041
15042 2002-01-07 Michael Snyder <msnyder@redhat.com>
15043
15044 * gdb.base/huge.exp: New test. Print a very large target data object.
15045 (skip_huge_test): New test variable. Define if you want to skip this
15046 test. The test reads an 8 megabyte data object from the target, so it
15047 might be very time consuming on remote targets with a slow connection.
15048 * gdb.base/huge.c: New file. Test case for above.
15049
15050 2002-01-07 Fred Fish <fnf@redhat.com>
15051
15052 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15053 g_instance.bfoo, and g_instance.cfoo.
15054
15055 2002-01-07 Jeffrey A Law <law@redhat.com>
15056
15057 * gdb.base/break.c (multi_line_if_conditional): New function.
15058 (multi_ilne_while_conditional): Likewise.
15059 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15060 IF or WHILE condition puts the breakpoint at the start of
15061 the condition.
15062
15063 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15064 hppa*-*-hpux* expected failure.
15065 * gdb.base/structs.exp (do_function_calls): Similarly.
15066
15067 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15068 watchpoints.
15069
15070 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15071
15072 Fix PR gdb/66.
15073 * gdb.base/structs.exp: Replace skip for a29k with skip for
15074 gdb,cannot_call_functions.
15075 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15076 * gdb.base/callfuncs.exp: Ditto.
15077 * gdb.base/call-rt-st.exp: Ditto.
15078 * gdb.base/call-strs.exp: Ditto.
15079 * gdb.base/callfwmall.exp: Ditto.
15080 * gdb.base/scope.exp: Obsolete xfail a29k.
15081 * gdb.c++/misc.exp: Ditto.
15082 * gdb.c++/cplusfuncs.exp: Ditto.
15083 * gdb.base/ptype.exp: Ditto.
15084 * gdb.base/printcmds.exp: Ditto.
15085 * gdb.base/opaque.exp: Ditto.
15086 * gdb.base/list.exp: Ditto.
15087 * gdb.base/funcargs.exp: Ditto.
15088 * gdb.base/default.exp: Ditto.
15089
15090 2002-01-04 Michael Snyder <msnyder@redhat.com>
15091
15092 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15093 * gdb.base/maint.exp: Add tests for maint info sections options.
15094
15095 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15096
15097 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15098
15099 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15100
15101 * gdb.asm/arm.inc: New file.
15102 * gdb.asm/asm-source.exp: Add arm targets.
15103 * gdb.asm/configure.in: Ditto.
15104 * gdb.asm/configure: Recreated from configure.in.
15105
15106 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15107
15108 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15109 with HP's compiler.
15110 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15111 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15112 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15113 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15114
15115 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15116 either HP's compilers or GCC.
15117
15118 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15119 a SIGBUS or SIGSEGV.
15120
15121 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15122
15123 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15124 can be compiled with either HP's compiler or GCC.
15125
15126 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15127 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15128 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15129
15130 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15131 to match current gdb output. Update due to using auto-solib-limit
15132 for limiting instead of overloading auto-solib-add.
15133 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15134 test program.
15135
15136 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15137 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15138 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15139 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15140 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15141 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15142 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15143 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15144 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15145 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15146 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15147 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15148 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15149
15150 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15151 a SIGTRAP to the inferior.
15152
15153 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15154
15155 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15156 Substitute call to target_link by call to gdb_compile.
15157
15158 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15159
15160 * gdb.base/break.exp: Fix HP specific search string when testing
15161 backtracing in a called function.
15162
15163 * gdb.base/constvars.exp: Only set lang to C++ if we're
15164 compiling the test with HP's compilers.
15165 * gdb.base/volatile.exp: Similarly.
15166
15167 2001-12-19 Jim Blandy <jimb@redhat.com>
15168
15169 * gdb.base/printcmds.exp: Expect the null character to be printed
15170 as '\0', and the '\013' to be printed as '\v'.
15171 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15172 * gdb.base/setvar.exp: Same.
15173
15174 2001-12-17 Jim Blandy <jimb@redhat.com>
15175
15176 * gdb.base/completion.exp: Rather than completing very long
15177 filenames, which can make the readline library produce output we
15178 don't recognize, cd to the directory first, and then complete
15179 using nice, short relative paths.
15180
15181 * gdb.base/completion.exp: On some systems, there is, in fact, a
15182 variable named `b' in scope, since GDB treats all static
15183 variables as being in scope. So use `no_var_named_this'
15184 instead of `b'.
15185
15186 * gdb.base/corefile.exp: Recognize the message saying that GDB
15187 can't find the core file's registers as a failure.
15188
15189 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15190
15191 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15192 test expect string more specific.
15193
15194 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15195
15196 * gdb.asm/asm-source.exp: Add support for xstormy16.
15197 * gdb.asm/configure.in: Ditto.
15198 * gdb.asm/configure: Rebuild.
15199 * gdb.asm/xstormy16.inc: New file.
15200
15201 2001-12-10 Fred Fish <fnf@redhat.com>
15202
15203 * gdb.base/maint.exp: Update to match changes in type dumping code.
15204
15205 2001-12-10 Jim Blandy <jimb@redhat.com>
15206
15207 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15208 matching the entry point symbol's name at the beginning of the
15209 line.
15210
15211 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15212
15213 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15214 gdb.c++/inherit.exp, gdb.c++/method.exp,
15215 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15216 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15217 and class layout support.
15218
15219 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15220
15221 * gdb.c++/classes.exp: Add test for static member function.
15222 * gdb.c++/misc.cc: Add class with static member function.
15223
15224 2001-12-07 Jim Blandy <jimb@redhat.com>
15225
15226 If GDB says it can't find the struct the function returned, report
15227 those tests as `unsupported'.
15228 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15229 Rewrite subsequent tests to use it.
15230
15231 If GDB says it can't find the struct the function returned, report
15232 those tests as `unsupported'.
15233 * gdb.base/structs.exp (call_struct_func): New function.
15234 (do_function_calls): Use call_struct_func to call the functions
15235 returning structs.
15236
15237 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15238 whether functions are prototyped or not, so we can't possibly pass
15239 arguments to t_float_values2 properly.
15240
15241 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15242 value of `timeout' for targets other than the mips*tx39-*.
15243
15244 2001-12-06 Michael Snyder <msnyder@redhat.com>
15245
15246 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15247 and detect whether the start symbol has a leading underscore.
15248
15249 2001-12-04 Jim Blandy <jimb@redhat.com>
15250
15251 * gdb.base/completion.exp: Clarify indentation.
15252
15253 2001-12-03 Jim Blandy <jimb@redhat.com>
15254
15255 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15256 variables on the S/390, not `.word'.
15257
15258 2001-11-30 Jim Blandy <jimb@redhat.com>
15259
15260 Add assembly-source tests for s390-ibm-linux.
15261 * gdb.asm/s390.inc: New file.
15262 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15263 the S/390 architecture.
15264 * gdb.asm/configure: Regenerated.
15265
15266 2001-11-30 Michael Snyder <msnyder@redhat.com>
15267
15268 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15269 next, info source, info sources, info line, global and static
15270 variables, and static functions.
15271 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15272 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15273 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15274 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15275 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15276 (gdbasm_leave): Restore frame pointer.
15277 (gdbasm_startup): Copy stack set-up from crt0.S.
15278
15279 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15280
15281 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15282 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15283 to a local (non-static) variable. Copy tstruct.a to a static buffer
15284 and return a pointer to that buffer.
15285 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15286
15287 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15288
15289 * gdb.asm/configure.in: Fix recognition of ix86 target.
15290 * gdb.asm/configure: Regenerate.
15291
15292 2001-11-21 Michael Snyder <msnyder@redhat.com>
15293
15294 * gdb.asm/sparc.inc: New file.
15295 * gdb.asm/asm-source.exp: Recognize sparc target.
15296 * gdb.asm/configure.in: Recognize sparc target.
15297 * gdb.asm/configure: Regenerate.
15298
15299 2001-11-21 Michael Snyder <msnyder@redhat.com>
15300
15301 * gdb.asm/m32r.inc: New file.
15302 * gdb.asm/asm-source.exp: Recognize m32r target.
15303 * gdb.asm/configure.in: Recognize m32r target.
15304 * gdb.asm/configure: Regenerate.
15305
15306 2001-11-20 Michael Snyder <msnyder@redhat.com>
15307
15308 * gdb.asm/i386.inc: New file.
15309 * gdb.asm/asm-source.exp: Recognize ix86 target.
15310 * gdb.asm/configure.in: Recognize ix86 target.
15311 * gdb.asm/configure: Regenerate.
15312
15313 * gdb.c++/namespace.exp: Fix quotes in output messages.
15314
15315 2001-11-14 Michael Snyder <msnyder@redhat.com>
15316
15317 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15318 qualifier in a type cast expression, to designate an address
15319 in the instruction space (Harvard architecture).
15320
15321 2001-11-13 Michael Snyder <msnyder@redhat.com>
15322
15323 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15324 Tests for expressions using 'const' and 'volatile'.
15325
15326 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15327
15328 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15329
15330 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15331
15332 * lib/mi-support.exp (mi_run_to_helper): Move comments
15333 outside of gdb_expect.
15334
15335 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15336
15337 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15338 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15339 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15340 mi0_run_to): New functions.
15341 * gdb.mi/mi-simplerun.exp: Use them.
15342 * gdb.mi/mi0-simplerun.exp: Likewise.
15343 * gdb.mi/mi-var-cmd.exp: Likewise.
15344 * gdb.mi/mi0-var-cmd.exp: Likewise.
15345
15346 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15347
15348 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15349 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15350
15351 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15352
15353 * gdb.base/restore.exp: Include $expected value in restored test
15354 message.
15355
15356 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15357
15358 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15359 implemented.
15360
15361 2001-11-08 Michael Snyder <msnyder@redhat.com>
15362
15363 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15364 Add pass/fail message for stop at breakpoint in call dummy function.
15365
15366 2001-11-07 Michael Snyder <msnyder@redhat.com>
15367
15368 * gdb.c++/templates.exp (test_template_breakpoints):
15369 If we get an overload menu, but it does not match what
15370 we expect, we still need to issue the "cancel" command.
15371 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15372 making the whitespace optional. Argument for "new" may be
15373 "unsigned" as well as "unsigned int/long".
15374 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15375 making the whitespace optional. Also replace "(void) with
15376 "((void|)), making the keyword "void" optional.
15377 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15378 making the whitespace optional. Also replace "(void) with
15379 "((void|)), making the keyword "void" optional.
15380 * gdb.base/callfuncs.c (t_float_values): This function must
15381 _not_ be prototyped, and the following function (t_float_values2)
15382 must be prototyped (if the compiler supports it), so that GDB
15383 can be tested against both cases. Usually one case involves
15384 promotion of float to double, while the other does not.
15385 * gdb.base/callfwmall.c: Ditto.
15386 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15387 includes a stack frame for "start".
15388
15389 2001-11-05 Jim Blandy <jimb@redhat.com>
15390
15391 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15392 pointers are 32 bits long, and that offsets of relocs are always
15393 stored in the data (REL-style), and not in the reloc entry itself
15394 (RELA-style).
15395 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15396 stabs.
15397
15398 2001-11-01 Michael Snyder <msnyder@redhat.com>
15399
15400 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15401 and regular expression operators by using quoting.
15402
15403 2001-10-31 Michael Snyder <msnyder@redhat.com>
15404
15405 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15406 depending on what the symbol table contains.
15407 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15408 the output of the ptype command. Similarly, accept both "const &"
15409 and "const&".
15410
15411 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15412
15413 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15414 symbol `STORAGE' to allow to choose the storage class of
15415 the local datastructures.
15416 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15417 compiler directive.
15418
15419 2001-10-30 Michael Snyder <msnyder@redhat.com>
15420
15421 * gdb.base/jump.exp: Allow it to run for all targets.
15422
15423 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15424
15425 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15426 with new double_array size.
15427 (main): Change storage class of all local variables to static.
15428 Reduce size of double_array to 9.
15429 * gdb.base/call-ar-st.exp: Increase timeout value.
15430 Change expected output for double array to match new size in
15431 call-ar-st.c.
15432
15433 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15434
15435 * gdb.base/ending-run.exp: Create identical output when passing
15436 `step to end of run' case. Add regular expression branch satisfying
15437 Stormy16 target.
15438
15439 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15440
15441 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15442 that we catch the expected failure under Linux/x86.
15443
15444 2001-10-29 Orjan Friberg <orjanf@axis.com>
15445
15446 * gdb.base/setvar.exp: Escape curly braces.
15447 * gdb.stabs/weird.exp: Ditto.
15448
15449 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15450
15451 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15452 * gdm.mi/mi0-hack-cli.exp: Likewise.
15453
15454 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15455
15456 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15457 messages.
15458
15459 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15460
15461 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15462 checking MI enabled.
15463
15464 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15465
15466 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15467
15468 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15469
15470 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15471 if gdb child process crashes, just signal an error.
15472
15473 2001-10-02 Jim Blandy <jimb@redhat.com>
15474
15475 * lib/gdb.exp (test_xfail_format): Simplify.
15476
15477 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15478 front of the variable name `format'. Simplify `if'.
15479
15480 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15481
15482 * gdb.threads/pthreads.exp: Wait for output and delay
15483 before sending ^C.
15484
15485 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15486
15487 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15488 some incorrect output instead of timing out.
15489 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15490
15491 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15492
15493 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15494 check to allow additional `int'.
15495
15496 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15497
15498 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15499 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15500
15501 2001-09-27 Michael Snyder <msnyder@redhat.com>
15502
15503 * lib/gdb.exp (test_debug_format): New proc.
15504 (setup_xfail_format): Use new proc test_debug_format.
15505 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15506 proc; use new service proc test_debug_format.
15507 Replace all other "gcc_compiled" tests with this test.
15508 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15509 proc; use new service proc test_debug_format.
15510 Replace all other "gcc_compiled" tests with this test.
15511
15512 2001-09-27 Michael Snyder <msnyder@redhat.com>
15513
15514 * gdb.base/cvexpr.exp: New file.
15515 * gdb.base/cvexpr.c: New file
15516 Test for expressions using const and volatile keywords.
15517
15518 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15519
15520 * gdb.base/constvars.exp: Check for different orders of keywords
15521 and additional "int" strings in output.
15522
15523 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15524
15525 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15526 responses from "help maint".
15527
15528 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15529
15530 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15531 to localhost:NNN instead of :NNN, in case Xvfb is listening
15532 only on TCP.
15533
15534 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15535
15536 * gdb.base/recurse.exp: When checking leaving the watchpoint
15537 scope, recognize when gdb is in function's epilogue and pass.
15538
15539 2001-09-18 Keith Seitz <keiths@redhat.com>
15540
15541 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15542 support for running tests against sid targets.
15543 (gdbtk_done): Ditto.
15544
15545 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15546
15547 * gdb.base/ending-run.c (main): Set stdout buffersize
15548 to the same reasonable value for any target.
15549 * gdb.base/ending-run.exp: Add a regular expression
15550 to make testsuite happy on Sanyo Stormy16 target.
15551
15552 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15553
15554 * gdb.base/display.c (do_loops): Add float variable `f'.
15555 Increment f in loop.
15556 * gdb.base/display.exp: Increment timeout by 60 seconds.
15557 Change float display test to use variable `f'.
15558
15559 2001-09-17 Jim Blandy <jimb@redhat.com>
15560
15561 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15562 overflowing the limited breakpoint tables on some ROM monitors
15563 (like the ROM68K).
15564
15565 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15566
15567 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15568 the "-ac" (disable access control) flag.
15569
15570 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15571
15572 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15573 ints.
15574
15575 2001-08-30 Keith Seitz <keiths@redhat.com>
15576
15577 * lib/gdb.exp: Move all insight-related functionality into
15578 separate file.
15579 * lib/insight-support.exp: New file.
15580
15581 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15582
15583 * config/sid.exp (sid_start): Never set sid verbosity; disable
15584 expect_background {} that consumed its stdout; tolerate </dev/null.
15585 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15586
15587 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15588
15589 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15590 CLI jump command to start it.
15591 (mi_run_to_main): Fail immediatly when unexpected output.
15592
15593 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15594
15595 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15596 beginning of function. Fix PR gdb/191.
15597
15598 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15599
15600 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15601 what to force sid endianness to.
15602
15603 2001-08-15 Keith Seitz <keiths@redhat.com>
15604
15605 * lib/gdb.exp (gdbtk_start): Don't set environment
15606 variables for TCL_LIBRARY and friends. Insight will
15607 now figure these out for itself.
15608
15609 2001-08-02 Michael Snyder <msnyder@redhat.com>
15610
15611 * gdb.base/completion.exp: Remove the symbol "a64l" from
15612 the expect string; this is target-specific, and not related
15613 to what is being tested.
15614
15615 2001-08-02 Dave Brolley <brolley@redhat.com>
15616
15617 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15618
15619 2001-07-25 Michael Snyder <msnyder@redhat.com>
15620
15621 * gdb.base/consecutive.exp: New file. Test stepping over
15622 breakpoints on consecutive instructions.
15623 * gdb.base/consecutive.c: New file.
15624
15625 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15626 curly braces in regular expressions.
15627
15628 2001-07-25 Michael Snyder <msnyder@redhat.com>
15629
15630 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15631 legitimate output from stepping out of main.
15632
15633 2001-07-22 Keith Seitz <keiths@redhat.com>
15634
15635 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15636 the empty string, do not run the tests.
15637
15638 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15639
15640 * gdb.base/long_long.exp: Detect size of pointer. Take into
15641 account 2-byte pointers when testing for p/a results.
15642
15643 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15644
15645 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15646 and defined to 1K for m68hc11.
15647 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15648 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15649 (sizeof_random_data): New variable to tell the size of the data table;
15650 don't test past this size; always run to main.
15651
15652 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15653
15654 * gdb.base/return2.exp: return of long long and double fails for
15655 68HC11; don't execute these tests on that platform.
15656 * gdb.base/return.exp: Return of a double fails for 68hc11.
15657
15658 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15659
15660 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15661 tests that print a float.
15662 * call-rt-st.exp: Likewise.
15663
15664 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15665
15666 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15667 running this test on Linux.
15668
15669 2001-06-24 Michael Chastain <chastain@redhat.com>
15670
15671 * gdb.base/arithmet.exp: Remove some tests to make all test names
15672 unique.
15673
15674 2001-07-03 Michael Snyder <msnyder@redhat.com>
15675
15676 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15677 the output of the ptype command.
15678
15679 2001-07-02 Michael Snyder <msnyder@redhat.com>
15680
15681 * gdb.base/completion.exp: Don't assume that break.c is the only
15682 source file that may contain functions named "marker".
15683 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15684
15685 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15686
15687 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15688 of files to delete.
15689
15690 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15691 * gdb.disasm/h8300s.exp: New file.
15692 gdb.disasm/h8300s.s: Likewise.
15693
15694 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15695
15696 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15697 empty breakpoint tables.
15698
15699 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15700
15701 * lib/mi-support.exp: Update args=... part of stop-reason
15702 patterns. Accept either a list or a tuple.
15703
15704 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15705
15706 * lib/mi-support.exp: Remove local emacs variable defining
15707 change-log-default-name.
15708
15709 2001-06-22 Michael Chastain <chastain@redhat.com>
15710
15711 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15712 This is operationally compatible with the previous version.
15713
15714 2001-06-13 Jim Blandy <jimb@redhat.com>
15715
15716 * lib/gdb.exp (gdb_test): Doc fix.
15717
15718 2001-06-10 Michael Chastain <chastain@redhat.com>
15719
15720 * gdb.base/exprs.exp: Remove a duplicate test.
15721
15722 2001-06-06 Jim Blandy <jimb@redhat.com>
15723
15724 * gdb.base/return2.exp (main): Use values to test float and double
15725 returns that are not NaN's, to avoid being confused by IEEE
15726 comparison rules.
15727
15728 2001-06-04 Michael Snyder <msnyder@redhat.com>
15729
15730 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15731 non-zero if control_c fails. Terminate the test on failure,
15732 rather than wait for 12 more tests to time out.
15733
15734 2001-06-06 Jim Blandy <jimb@redhat.com>
15735
15736 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15737 Don't forget to match the GDB prompt.
15738
15739 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15740
15741 2001-06-04 Jim Blandy <jimb@redhat.com>
15742
15743 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15744 command.
15745
15746 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15747
15748 * gdb.base/annota1.exp (info break): Match four or more spaces
15749 after "Address".
15750
15751 2001-05-31 Michael Chastain <chastain@redhat.com>
15752
15753 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15754 (dm_type_int_star): Likewise.
15755 (dm_type_long_star): Likewise.
15756 (dm_type_void_star): Likewise.
15757
15758 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15759
15760 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15761 to a known value in order to get consistent results regardless
15762 of the setting of INPUTRC or the presence or contents of .inputrc.
15763
15764 2001-05-24 Michael Snyder <msnyder@redhat.com>
15765
15766 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15767 Don't require that the main thread and the manager thread are the
15768 first in the list.
15769
15770 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15771 debugging. If test fails, issue an "unsupported" not a "fail".
15772
15773 2001-05-24 Jim Blandy <jimb@redhat.com>
15774
15775 Don't assume that short is shorter than int.
15776 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15777 assume that shorts are smaller than ints. On a 16-bit machine,
15778 this isn't true.
15779 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15780 an int, is not equal to ~0 stored in an unsigned char. This tests
15781 the same thing that the previous test meant to, but works on
15782 16-bit machines, too.
15783 ("print unsigned char != (~0)"): Same test, complemented.
15784
15785 2001-05-24 Michael Snyder <msnyder@redhat.com>
15786
15787 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15788 test for (full_coverage == 0). This makes the test run faster,
15789 and prevents dejagnu getting out of step.
15790
15791 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15792
15793 * gdb.base/finish.exp (finish_void): Revise pattern for
15794 stopping on the call statement to not permit stopping at
15795 the start of the instructions comprising the call sequence.
15796
15797 2001-05-19 Michael Chastain <chastain@redhat.com>
15798
15799 * gdb.base/callfuncs.exp: Make all test names unique.
15800 * gdb.base/commands.exp: Make all test names unique.
15801 * gdb.base/condbreak.exp: Make all test names unique.
15802 * gdb.base/dbx.exp: Make all test names unique.
15803 * gdb.base/default.exp: Make all test names unique.
15804 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15805 and TIMEOUT messages to their corresponding PASS message.
15806 * gdb.base/ending-run.exp: Make all test names unique.
15807 * gdb.base/long_long.exp: Remove duplicate test.
15808
15809 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15810
15811 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15812 stop on the call statement as well as the statement after the
15813 call.
15814
15815 2001-05-21 Michael Snyder <msnyder@redhat.com>
15816
15817 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15818
15819 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15820
15821 * gdb.base/completion.exp: Revamp test. Make it execute on all
15822 platforms.
15823
15824 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15825
15826 * config/gdbserver.exp (gdb_load): Handle the case
15827 in which the arguments to gdbserver are given in the
15828 baseboard configuration file.
15829 Also handle the case in which the server needs to do a
15830 load.
15831
15832 2001-05-07 Keith Seitz <keiths@cygnus.com>
15833
15834 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15835 set up the display for testing.
15836 (gdbtk_start): Convert all paths to paths that tcl will like.
15837 Export target information to environment.
15838 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15839 necessary.
15840 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15841 (to_tcl_path): New proc to convert a given pathname into
15842 a path acceptible as an argument to a tcl command.
15843 (_gdbtk_export_target_info): New proc to export target info
15844 into the environment for gdbtk testing.
15845 (gdbtk_done): New proc to signal end-of-test.
15846
15847 2001-05-06 Jim Blandy <jimb@redhat.com>
15848
15849 * restore.c: Make the code of caller0 correspond to its comment.
15850
15851 2001-05-03 Michael Snyder <msnyder@redhat.com>
15852
15853 * config/sid.exp (gdb_target_sid): Check for error messages.
15854 On error or timeout, don't make expect exit (which will terminate
15855 all subsequent tests); instead just make gdb exit.
15856 (gdb_load): Check for error messages. On error or timeout,
15857 return a negative value.
15858
15859 2001-04-24 Jim Blandy <jimb@redhat.com>
15860
15861 * gdb.c++/templates.exp: If we see the prompt for the overload
15862 list, but we haven't recognized any of the longer patterns,
15863 arrange for this test to fail, not hang.
15864
15865 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15866 variations.
15867
15868 2001-04-22 Michael Chastain <chastain@redhat.com>
15869
15870 * gdb.c++/local.exp: Use the 'runto' library function.
15871 * gdb.c++/namespace.exp: Likewise.
15872 * gdb.c++/overload.exp: Likewise.
15873
15874 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15875
15876 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15877 * gdb.base/step-line.exp: New file. Test step/next in presence of
15878 #line directives.
15879 * gdb.base/step-line.c: New file. Test program for the above.
15880 * gdb.base/step-line.inp: New file. We pretend that this file has
15881 been transformed by some other tool into step-line.c.
15882
15883 2001-03-21 Jim Blandy <jimb@redhat.com>
15884
15885 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15886 unmangled operator names.
15887
15888 2001-03-20 Jim Blandy <jimb@redhat.com>
15889
15890 * gdb.threads/linux-dp.exp: Recognize an additional message
15891 generated by GDB when it doesn't understand how to debug threads
15892 on the target system.
15893
15894 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15895
15896 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15897
15898 2001-03-12 Michael Chastain <chastain@redhat.com>
15899
15900 * gdb.c++/derivation.exp: Use the 'runto' library function.
15901
15902 2001-03-12 Michael Chastain <chastain@redhat.com>
15903
15904 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15905
15906 2001-02-24 Michael Chastain <chastain@redhat.com>
15907
15908 * gdb.c++/ref-types.exp: Change handwritten code to library
15909 function 'runto'.
15910
15911 2001-03-16 Orjan Friberg <orjanf@axis.com>
15912
15913 * gdb.base/signals.exp: Set count to 0 explicitly.
15914
15915 2001-03-15 Mark Salter <msalter@redhat.com>
15916
15917 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15918 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15919 (gdb_load): Add support for additional target_info: gdb_download_size
15920 and gdb_load_timeout.
15921
15922 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15923
15924 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15925 file -- to prevent failing when the compile fails but we have no
15926 intention of running the tests anyway.
15927
15928 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15929 tests if set.
15930
15931 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15932 integers.
15933
15934 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15935 * gdb.c++/namespace.exp: Ditto.
15936
15937 2001-03-07 Orjan Friberg <orjanf@axis.com>
15938
15939 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15940 * gdb.base/pointers.exp: Relax pattern match of decimals.
15941
15942 2001-03-06 Kevin Buettner <kevinb@redhat.com>
15943
15944 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15945 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15946 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15947 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15948 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15949 config/sh.exp, config/sid.exp, config/slite.exp,
15950 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15951 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15952 config/vxworks.exp, config/vxworks29k.exp,
15953 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15954 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15955 gdb.base/arithmet.exp, gdb.base/assign.exp,
15956 gdb.base/async.exp, gdb.base/attach.exp,
15957 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15958 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15959 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15960 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15961 gdb.base/commands.exp, gdb.base/completion.exp,
15962 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15963 gdb.base/constvars.exp, gdb.base/corefile.exp,
15964 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15965 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15966 gdb.base/ending-run.exp, gdb.base/environ.exp,
15967 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15968 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15969 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15970 gdb.base/funcargs.exp, gdb.base/help.exp,
15971 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15972 gdb.base/logical.exp, gdb.base/long_long.exp,
15973 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15974 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15975 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15976 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15977 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15978 gdb.base/regs.exp, gdb.base/relational.exp,
15979 gdb.base/remote.exp, gdb.base/reread.exp,
15980 gdb.base/restore.exp, gdb.base/return2.exp,
15981 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15982 gdb.base/selftest.exp, gdb.base/setshow.exp,
15983 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15984 gdb.base/sigall.exp, gdb.base/signals.exp,
15985 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15986 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15987 gdb.base/step-test.exp, gdb.base/structs.c,
15988 gdb.base/structs.exp, gdb.base/structs2.exp,
15989 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15990 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15991 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15992 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15993 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15994 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15995 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15996 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15997 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15998 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15999 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16000 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16001 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16002 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16003 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16004 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16005 gdb.trace/circ.exp, gdb.trace/collection.exp,
16006 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16007 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16008 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16009 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16010 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16011 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16012 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16013 notices.
16014
16015 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16016
16017 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16018 first arg is int not float.
16019
16020 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16021
16022 * gdb.base/reread.exp: Unsupported for non-native targets;
16023 doesn't work for remote debugging.
16024
16025 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16026
16027 From Drew Moseley <dmoseley@redhat.com>
16028 * gdb.base/ending-run.exp: Properly handle the BSP state when
16029 stepping past the end of main.
16030
16031 2001-02-19 John Moore <jmoore@redhat.com>
16032
16033 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16034 Converted HPUX fix for non-expected items following multiple
16035 step commands into general solution for all platforms.
16036
16037 2001-02-18 Michael Chastain <chastain@redhat.com>
16038
16039 * gdb.c++/classes.exp (do_tests): Change runto statements
16040 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16041 statements demangler agnostic.
16042 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16043 (gdb_virtfunc_restart): Likewise.
16044
16045 2001-02-14 Michael Chastain <chastain@redhat.com>
16046
16047 * gdb.c++/inherit.exp (do_tests): Change runto statements
16048 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16049 statements demangler agnostic.
16050
16051 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16052
16053 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16054 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16055 before calling common_routine 15 times'' tests.
16056
16057 2001-02-11 Michael Chastain <chastain@redhat.com>
16058
16059 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16060 Helps the test script figure out which demangler is in use.
16061 (dm_type_foo_ref): Ditto.
16062 (dm_type_int_star): Ditto.
16063 (dm_type_long_star): Ditto.
16064 (dm_type_unsigned_int): Ditto.
16065 (dm_type_void): Ditto.
16066 (dm_type_void_star): Ditto.
16067 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16068 Probe the gdb demangler and set variables to accommodate
16069 formatting differences.
16070 (info_func_regexp): New function. Same as info_func, but
16071 matches against a regexp.
16072 (info_func): Match against a literal string.
16073 (print_addr_2): New function. Match against a literal string,
16074 which can be different from the input to gdb.
16075 (print_addr): Simply call print_addr_2 with the same argument twice.
16076 (test_lookup_operator_functions): Use demangler formatting variables.
16077 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16078 the tests in the same order as the C++ class declaration.
16079 (test_paddr_operator_functions): Ditto.
16080 (test_paddr_overloaded_functions): Ditto.
16081 (test_paddr_hairy_functions): Use demangler formatting variables.
16082 Add reference to gdb/19 for related tests.
16083 (do_tests): Call probe_demangler.
16084
16085 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16086
16087 * gdb.c++/templates.cc (printf): Remove unused function definition.
16088
16089 2001-01-26 Felix Lee <flee@redhat.com>
16090
16091 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16092
16093 2001-01-25 matthew green <mrg@redhat.com>
16094
16095 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16096 up sid.
16097 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16098
16099 2001-01-25 matthew green <mrg@redhat.com>
16100
16101 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16102 Deprecate $sid_spawn_id.
16103 (sid_exit): Remove code necessary only for `spawn.'
16104
16105 2001-01-25 matthew green <mrg@redhat.com>
16106
16107 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16108
16109 2001-01-28 Michael Chastain <chastain@redhat.com>
16110
16111 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16112 to call when tests fail. It takes gdb out of the overloaded
16113 function choice menu back to the main prompt, so that the test
16114 program stays synchronized.
16115 (set_bp_overloaded): New proc to collect all the common
16116 code for setting a breakpoint on an overloaded name. Calls
16117 take_gdb_out_of_choice_menu when needed.
16118 (menu_overload1arg): New variable to collect the repeated
16119 instances of the expected menu for an overloaded name. Change
16120 the regular expression to handle changes in g++ type encoding:
16121 "void" can be either "void" or "", and "unsigned int" can be
16122 either "unsigned int" or "unsigned".
16123 (continue_to_bp_overloaded): Change regular expressions to handle
16124 changes in g++ type encoding.
16125 (no proc): Call take_gdb_out_of_choice_menu when needed.
16126 Remove redundant calls to "info break". Accept either "canceled"
16127 or "cancelled". Change regular expressions in "info break"
16128 calls to handle changes in g++ type encoding. Give all tests
16129 unique strings.
16130
16131 2001-01-17 Ben Elliston <bje@redhat.com>
16132
16133 * config/sid.exp: New file.
16134
16135 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16136
16137 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16138
16139 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16140
16141 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16142 Add a RE to accept a non-ascii char if one is ever presented.
16143
16144 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16145
16146 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16147
16148 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16149
16150 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16151 in regexp. One '\' does not suffice on Linux.
16152
16153 2000-12-09 Michael Chastain <chastain@redhat.com>
16154
16155 * gdb.base/break.exp (test_clear_command): Use a marker function
16156 rather than 'main' for the test function. Also move this
16157 test to an execution point where the marker function names are
16158 guaranteed to be bound to functions. (Executing tests after a
16159 'finish' from main runs into name conflicts with local names
16160 in __libc_start_main).
16161
16162 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16163
16164 * gdb.base/finish.exp: New test for gdb's "finish" command.
16165 * gdb.base/return2.exp: New test for gdb's "return" command.
16166 * gdb.base/return2.c: New source file for above.
16167
16168 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16169
16170 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16171 * gdb.base/miscexprs.exp: Ditto.
16172 * gdb.base/pointers.exp: Ditto.
16173 * gdb.c++/derivation.exp: Ditto.
16174 * gdb.c++/local.exp: Ditto.
16175 * gdb.c++/namespace.exp: Ditto.
16176 * gdb.c++/overload.exp: Ditto.
16177 * gdb.c++/ref-types.exp: Ditto.
16178
16179 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16180
16181 * gdb.base/constvars.exp: Test result of "up" command.
16182 * gdb.base/miscexprs.exp: Ditto.
16183 * gdb.base/pointers.exp: Ditto.
16184 * gdb.base/scope.exp: Ditto.
16185 * gdb.c++/derivation.exp: Ditto.
16186 * gdb.c++/local.exp: Ditto.
16187 * gdb.c++/namespace.exp: Ditto.
16188 * gdb.c++/overload.exp: Ditto.
16189 * gdb.c++/ref-types.exp: Ditto.
16190
16191 2000-11-22 Michael Chastain <chastain@redhat.com>
16192
16193 * mips_pro.exp: Accept either "middle -> top -> main" or
16194 "middle -> main" in the backtrace, because gcc can optimize
16195 tail calls to jumps. Remove setup_xfail for the hppa case.
16196 Add a comment with the original warning messages from PR 3016,
16197 which was filed in 1993, to preserve them for posterity.
16198
16199 2000-11-17 Nick Duffek <nsd@redhat.com>
16200
16201 * lib/gdb.exp (gdb_test): Override timeout with board info.
16202
16203 2000-11-17 Nick Duffek <nsd@redhat.com>
16204
16205 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16206 the second kill and detach messages.
16207
16208 2000-11-17 Nick Duffek <nsd@redhat.com>
16209
16210 * configure.in: Add AC_EXEEXT.
16211 * configure: Regenerate.
16212 * Makefile.in (just-check): Export EXEEXT.
16213 * lib/gdb.exp ($EXEEXT): Import from environment.
16214 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16215 expect "maint dump-me" on Cygwin.
16216 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16217 $EXEEXT.
16218
16219 2000-11-17 Nick Duffek <nsd@redhat.com>
16220
16221 * gdb.base/break.exp: Test backtrace and finish from called
16222 function on all platforms, not just HP-UX.
16223
16224 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16225
16226 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16227 code from gdb_target_monitor, so it can be used independantly
16228 for gdbserver. Also comment out an unnecessary PUTS.
16229
16230 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16231
16232 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16233 * gdb.base/corefile.exp: Expect the message "Program is being
16234 debugged already" when we send the "corefile" command, since
16235 the preceeding gdb_load may have connected gdb to a remote target.
16236 * gdb.base/display.exp: Disable hardware watchpoints if new
16237 board info variable "no_hardware_watchpoints" is true.
16238 Replace single-letter commands with more readable ones.
16239 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16240 if new board info variable "no_hardware_watchpoints" is true.
16241 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16242 to see if stdio (printf) testing is possible.
16243 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16244 board info variable "no_hardware_watchpoints" is true. Use new
16245 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16246
16247 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16248
16249 From Orjan Friberg <orjanf@axis.com>:
16250 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16251 in array print pattern match.
16252
16253 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16254
16255 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16256 spelling "cancelled" to U.S. spelling "canceled" to match changes
16257 made to gdb.
16258 * gdb.c++/ovldbreak.exp: Ditto.
16259
16260 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16261
16262 * gdb.base/callfuncs.c (main): Moved to end of file, call
16263 t_double_values to initialize the FPU before inferior calls are made.
16264 * gdb.base/callfuncs.exp: Test for register preservation after calling
16265 inferior functions. Add tests for continuining, finishing and
16266 returning from a stop in a call dummy.
16267
16268 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16269
16270 * gdb.base/commands.exp: Break up long lines, and re-indent.
16271
16272 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16273
16274 * config/gdbserver.exp: Rewritten from the ground up, to make it
16275 compatible with the current dejagnu tree, and to make it work with
16276 the new "gdbserver" in libremote.
16277
16278 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16279
16280 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16281 * gdb.base/varargs.exp: Skip entire test if no printf support.
16282 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16283 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16284
16285 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16286
16287 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16288 no floating point support.
16289 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16290 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16291 * gdb.base/call-rt-st.exp: Ditto.
16292 * gdb.base/call-strs.exp: Ditto.
16293
16294 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16295
16296 * gdb.base/sizeof.c: include <stdio.h>.
16297
16298 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16299 'finish', otherwise uncaptured gdb_prompt would potentially
16300 throw remaining test points out of sync.
16301
16302 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16303
16304 * gdb.base/recurse.exp: Run tests for all targets.
16305 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16306 gnu-oldld case on ARM.
16307 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16308 for ARM targets.
16309
16310 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16311
16312 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16313 * gdb.java/configure: Rebuild.
16314
16315 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16316
16317 * gdb.java/jv-exp.exp: New file.
16318
16319 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16320
16321 * configure: Rebuilt.
16322 * configure.in (configdirs): Add gdb.java.
16323 * gdb.java/jmisc.java: New file.
16324 * gdb.java/jmisc.exp: New file.
16325 * gdb.java/Makefile.in: New file.
16326 * gdb.java/configure: Rebuilt.
16327 * gdb.java/configure.in: New file.
16328 * lib/java.exp: New file.
16329
16330 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16331
16332 * gdb.base/exprs.exp: Test casts to a pointer including over and
16333 underflow.
16334
16335 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16336
16337 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16338 and the compilers sizes.
16339
16340 2000-07-09 Nick Duffek <nsd@redhat.com>
16341
16342 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16343 (use_methods): New function.
16344 (main): Call use_methods().
16345 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16346 (do_tests): Call test_method_param_class.
16347
16348 2000-07-09 Nick Duffek <nsd@redhat.com>
16349
16350 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16351 spelling.
16352 (test_enums): New procedure. Move enum tests from end of script
16353 to here. Set breakpoint on function name instead of line number.
16354 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16355 (enums2): New marker function.
16356 (enums1): New function.
16357 (main): Call enums1(). Move enum tests to enums1().
16358
16359 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16360
16361 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16362 compile/link program. Update line numbers.
16363 * gdb.asm/d10v.inc: Define ``startup''.
16364 * gdb.asm/asmsrc1.s: Add definition of _start.
16365
16366 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16367
16368 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16369
16370 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16371
16372 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16373 of 'help maint print' command.
16374
16375 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16376
16377 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16378 they use gdb_expect_list.
16379
16380 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16381
16382 * gdb.base/commands.exp: Use ``set remote
16383 memory-read-packet-size'' instead of ``set endian big'' to test
16384 long commands.
16385
16386 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16387
16388 * gdb.c++/templates.exp (do_tests): Make all of these work under
16389 g++, and stop skipping them.
16390
16391 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16392 work under g++.
16393
16394 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16395 initialization.
16396
16397 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16398
16399 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16400 the regular expression: accept an (almost) arbitrary sequence of
16401 "frames-invalid" and "breakpoints-invalid" messages both before
16402 and after the "starting" message.
16403
16404 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16405
16406 * gdb.c++/local.exp: This test has never been known to work with g++.
16407
16408 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16409
16410 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16411 Relax the regular expression a little, make it pass on Solaris 8.
16412
16413 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16414
16415 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16416 a call, do not require that gdb stop on the line after the call.
16417 Instead, it is permissible for gdb to stop on the line of the
16418 call itself.
16419
16420 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16421
16422 * gdb.base/break.exp (bp on small function, optimized file):
16423 Add a second pass pattern. The behavior differs here between stabs
16424 and dwarf for one-line functions. Stabs preserves two line symbols
16425 (one before the prologue and one after) with the same line number,
16426 but dwarf regards these as duplicates and discards one of them.
16427 Therefore the address after the prologue (where the breakpoint is)
16428 has no exactly matching line symbol, and GDB reports the breakpoint
16429 as if it were in the middle of a line rather than at the beginning.
16430
16431 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16432
16433 * gdb.base/interrupt.exp: Make "pass" message say "send"
16434 rather than "send_gdb" (for consistancy).
16435
16436 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16437
16438 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16439 * gdb.c++/templates.cc: Properly check for GCC version number.
16440 * lib/compiler.cc: Likewise
16441
16442 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16443
16444 * gdb.base/break.exp: When compiled with -O2 optimization,
16445 gdb may not stop at the first line of main, due to code motion.
16446
16447 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16448
16449 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16450 This test depends on parsing the printf output from the target.
16451 Since the sparclet stub doesn't do stdio, this will never work.
16452 * gdb.base/call-rt-st.exp: ditto.
16453 * gdb.base/call-strs: ditto.
16454
16455 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16456
16457 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16458
16459 * gdb.base/ending-run.exp: After connecting to a remote target,
16460 but before running, the target will appear to be in a random
16461 location. Specify both a file and a line for breakpoints.
16462 Also, the function that calls main may be called 'init'
16463 rather than 'start'.
16464
16465 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16466
16467 * gdb.base/help.exp: Update output for add-symbol-file command.
16468
16469 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16470
16471 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16472 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16473
16474 2000-04-07 J.T. Conklin <jtc@redback.com>
16475
16476 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16477
16478 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16479
16480 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16481
16482 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16483 values that can be represented exactly.
16484 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16485 above change, and to not check against the directory part of the source
16486 file name.
16487 (step into print_long_arg_list): Likewise.
16488 (print print_small_structs from print_long_arg_list): Likewise.
16489 (print print_long_arg_list): Likewise.
16490
16491 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16492
16493 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16494
16495 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16496
16497 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16498
16499 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16500
16501 * gdb.base/commands.exp (deprecated_command_test): Add test for
16502 deprecate with no arguments.
16503
16504 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16505
16506 * gdb.base/break.exp: Add new test for setting breakpoints on
16507 optimized code so we can test breakpoints work even when function
16508 prologues may be optimized away
16509
16510 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16511
16512 From David Whedon <dwhedon@gordian.com>
16513 * gdb.base/commands.exp : Added command deprecator tests.
16514
16515 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16516
16517 * gdb.base/help.exp: Added test for new apropos command.
16518
16519 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16520
16521 * gdb.base/pointers.c (usevar): New function.
16522 (main): Make sure that global variables v_int_pointer2, rptr,
16523 and y are all referenced someplace in the program by calling
16524 usevar() on them. [Some linkers delete symbols which are
16525 never referenced. The space remains, but there's no way to
16526 get a (symbolic) handle on the variable from the debugger.]
16527
16528 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16529
16530 * gdb.base/printcmds.c: Add typedeffed arrays.
16531
16532 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16533 procedure to test arrays that are typedef'd.
16534
16535 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16536
16537 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16538 the library directories.
16539
16540 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16541
16542 * configure.in (configdirs): Add sub directory gdb.mi.
16543 * configure: Re-generate.
16544
16545 * gdb.mi: New directory.
16546
16547 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16548
16549 * gdb.base/long_long.exp: Correct test suite failure when printing
16550 a long long value as a double on ARM platforms.
16551
16552 2000-02-16 Jim Blandy <jimb@redhat.com>
16553
16554 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16555 default source file is set properly before running this test.
16556
16557 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16558
16559 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16560 gdbtk/library directory, not in gdbtcl2.
16561
16562 2000-02-04 Jim Blandy <jimb@redhat.com>
16563
16564 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16565 backslash from regexp pattern.
16566
16567 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16568 procedure. Use it to run all the "continue to bp overloaded"
16569 tests. Note that this changes the names of the tests slightly.
16570 If the breakpoint hit message includes a hex PC value, because
16571 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16572 from the real source code, still consider that a pass.
16573
16574 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16575 XFAIL here if the breakpoint message contains a hex address. Note
16576 similar change on 1999-11-02.
16577
16578 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16579
16580 * gdb.base/ptype.exp: Establish a default source file before
16581 calling get_debug_format.
16582
16583 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16584
16585 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16586
16587 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16588
16589 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16590 of successive stepi commands -- while in the prologue we should see
16591 the function entry bracket.
16592
16593 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16594
16595 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16596 reach __change_mode() when stepping through the end of main().
16597
16598 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16599
16600 * gdb.base/default.exp: Fix expected pattern.
16601 * gdb.base/help.exp: Same.
16602
16603 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16604
16605 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16606 Don't use xfail's because that affects only the following test.
16607
16608 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16609 solaris or linux.
16610
16611 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16612
16613 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16614
16615 * gdb.base/display.exp: Some yacc parsers like to say
16616 "A syntax error" rather than "A parse error". Accept both.
16617
16618 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16619
16620 * gdb.base/default.exp: Remove OS dependent string from "target
16621 remote" test.
16622 * gdb.base/help.exp: Same for "help target remote" test.
16623
16624 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16625
16626 From Jim Kingdon <kingdon@redhat.com>:
16627
16628 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16629 prompt (cleanup rather than necessity, but still might keep output
16630 from spilling to next test).
16631
16632 2000-01-02 Fred Fish <fnf@cygnus.com>
16633
16634 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16635 AIX, which defines them in <sys/types.h>.
16636
16637 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16638
16639 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16640 float" test.
16641
16642 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16643
16644 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16645
16646 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16647 outermost frame disallowed".
16648
16649 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16650
16651 * gdb.base/setvar.exp: New tests for setting the value of a struct
16652 with a constant list.
16653
16654 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16655
16656 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16657 require the user to type a cast before setting the value of a struct.
16658
16659 1999-12-06 Jim Blandy <jimb@cygnus.com>
16660
16661 * gdb.base/default.exp: Expect the new 'info float' command on
16662 all i386 platforms.
16663
16664 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16665 LinuxThreads libraries that don't support debugging.
16666
16667 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16668
16669 * gdb.base/remote.c: Fill the buffer with truely random data.
16670 Change the buffer type to ``unsigned char'' to simplify size
16671 arithmetic.
16672
16673 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16674 stub only handles 400-1 byte packets. Verify that the download
16675 worked.
16676
16677 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16678
16679 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16680 tests, using UNRESOLVED for the untested cases. Also, does not wait
16681 for a timeout if the prompt was received before a recognizable pattern.
16682
16683 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16684
16685 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16686
16687 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16688
16689 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16690 watchpoints.
16691
16692 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16693
16694 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16695
16696 * gdb.c++/local.exp: Be more flexible in recognizing local class
16697 name mangling. Don't allow horribly truncated method names.
16698 * gdb.c++/derivation.exp: Expect protected inheritance.
16699 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16700 * gdb.c++/virtfunc.exp: Likewise.
16701 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16702 when printing a nested enum.
16703
16704 1999-11-22 Jim Blandy <jimb@cygnus.com>
16705
16706 * gdb.base/step-test.exp: Properly await GDB's response to setting
16707 a breakpoint on the call to large_struct_by_value.
16708
16709 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16710 just because we have debug info for the `start' function.
16711
16712 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16713
16714 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16715 "Unknown signal" messages, which indicate (on LinuxThreads) that
16716 GDB doesn't know how to debug threads on this system. This is
16717 better than hanging while philosopher 0 dumps chatter into gdb.log.
16718
16719 1999-11-18 Tom Tromey <tromey@cygnus.com>
16720
16721 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16722
16723 1999-11-18 Fred Fish <fnf@cygnus.com>
16724
16725 * gdb.base/coremaker2.c: Add sample program for generating
16726 cores that is more self contained than coremaker.c. Eventually
16727 I'll add more code to this and tie it into the testsuite.
16728
16729 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16730
16731 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16732
16733 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16734
16735 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16736 from $srcdir/lib/.
16737 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16738 and gdb.c++/.
16739
16740 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16741
16742 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16743 'continue with watch' test point.
16744
16745 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16746
16747 Merged from p2linux-990323-branch:
16748
16749 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16750
16751 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16752
16753 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16754 {limit,fixed}''. Test ``set download-write-size''.
16755
16756 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16757
16758 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16759 gdb_expect_list.
16760
16761 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16762
16763 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16764
16765 1999-11-03 Mark Salter <msalter@cygnus.com>
16766
16767 * gdb.base/break.exp: Fix "stub continue" pattern.
16768
16769 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16770
16771 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16772
16773 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16774
16775 * gdb.base/display.exp ("finish"): Add timeout clause.
16776
16777 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16778 plain prompt clause, so this doesn't have to time out in order to
16779 fail.
16780
16781 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16782 breakpoint hit messages include an address.
16783
16784 * gdb.base/display.exp: Don't forget to escape parens in regular
16785 expressions. Unix regexp notatation sucks.
16786
16787 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16788
16789 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16790 order for 'signalled' message.
16791
16792 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16793
16794 From Jimmy Guo <guo@cup.hp.com>:
16795 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16796 * gdb.base/annota1.c: Add code for tests to work with.
16797
16798 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16799
16800 * gdb.base/remote.exp: New test for remote downloading settings.
16801 * gdb.base/remote.c: New file with large .data.
16802
16803 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16804
16805 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16806 for LinuxThreads support, merged from the Code Fusion branch.
16807
16808 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16809
16810 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16811 containing exp_continue into a while within an expect. Don't
16812 attempt a start more than three times. Check return value from
16813 gdb_load.
16814
16815 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16816
16817 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16818 a pass case.
16819
16820 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16821
16822 * gdb.base/break.c (main): Added a statement that we can step
16823 off of.
16824 * gdb.base/break.exp: Added tests for setting a breakpoint
16825 at an offset and stepping onto a breakpoint.
16826
16827 1999-10-01 Fred Fish <fnf@cygnus.com>
16828
16829 * gdb.base/help.exp (help add-symbol-file): Update to match current
16830 gdb output.
16831
16832 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16833
16834 * gdb.base/break.exp: Code locations are in hex, don't forget!
16835 (For HP-UX.)
16836
16837 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16838
16839 * condbreak.exp: Use break.c as test program.
16840 * condbreak.c: Remove, redundant with break.c.
16841
16842 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16843
16844 * config/monitor.exp (gdb_target_monitor): Disable X- and
16845 Z-packets if the target needs it.
16846
16847 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16848
16849 * gdb.c++/overload.exp: Added tests for listing overloaded
16850 functions with function pointers in the arg, explicitly calling
16851 out the version you want.
16852
16853 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16854
16855 * long_long.exp: Add variations of test cases that work for
16856 targets with 16-bit ints and 32-bit doubles.
16857
16858 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16859
16860 * break.c (main): Compare a possibly-uninitialized argc with an
16861 unlikely value that fits in 16 bits.
16862
16863 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16864
16865 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16866 0xfeeb, don't want negative numbers if ints are 16 bits.
16867
16868 * lib/gdb.exp (skip_cplus_tests): New proc.
16869 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16870 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16871 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16872 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16873 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16874 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16875 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16876 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16877
16878 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16879
16880 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16881
16882 * gdb.base/corefile.exp (up): Allow a parameter to appear
16883 in the frame that we're going up to.
16884
16885 From Jim Blandy <jimb@cygnus.com>:
16886
16887 * gdb.base/default.exp (info float): Expect some output now.
16888
16889 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16890 returning floating-point values to fail on the x86.
16891 * gdb.base/callfwmall.exp (do_function_calls): Same.
16892
16893 * gdb.base/list.exp (test_listsize): Correct expectations for
16894 listing line 1 with listsize 2. Also, listing a single line
16895 works now, as does listing three lines. [Kevin's note: There
16896 were a number of other cases fixed too where the expectations
16897 differed...]
16898
16899 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16900
16901 * gdb.base/selftest.exp: Add case for when version prints as
16902 constant string instead of char pointer.
16903
16904 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16905
16906 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16907 stepping out of main.
16908
16909 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16910 G++ used.
16911
16912 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16913 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16914
16915 * gdb.c++/ovldbreak.exp: Update match string in test that
16916 includes a warning of multiple breakpoints.
16917
16918 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16919
16920 * gdb.base/display.exp: Improve precision of step-after-finish
16921 added yesterday.
16922
16923 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16924 test.
16925
16926 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16927 configs when using G++, not just hppa*.
16928
16929 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16930
16931 * gdb.base/async.c: New file.
16932 * gdb.base/async.exp: New file.
16933
16934 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16935
16936 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16937 PA64.
16938
16939 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16940
16941 * gdb.base/display.exp: "finish" can leave us mid-line on many
16942 targets, deal with it. Add a small constant to main, instead of
16943 1000 since main+1000 may not be a valid address in the target.
16944
16945 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16946 on hpux11.
16947
16948 * gdb.base/attach.exp: Handle another hpux11 error message variant
16949 when attaching to a process that does not exist.
16950
16951 1999-08-19 J.T. Conklin <jtc@redback.com>
16952
16953 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16954 characters in 'continue to 1241' test.
16955
16956 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16957
16958 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16959 stop in print_long_arg_list, define and use a whitespace
16960 variable in print_small_structs test, add an XFAIL for Solaris.
16961 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16962 interested enough to fix.
16963
16964 1999-08-13 Keith Seitz <keiths@cygnus.com>
16965
16966 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16967 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16968 proc knows about targets other than the natives.
16969 (test_assign): Use "gdb_run_cmd" to "run" the target.
16970 Check that we've actually hit the breakpoint at main.
16971 When we attempt to assign a value to a local variable, check
16972 that the variable is in the current scope, i.e., don't use
16973 a test with an empty result.
16974
16975 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16976
16977 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16978 command.
16979
16980 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16981
16982 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16983 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16984 gdb.compat, gdb.threads-hp.
16985 gdb.hp/configure, gdb.hp/configure.in: New files.
16986 gdb.hp/Makefile.in: Recurse into new subdirs.
16987 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16988 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16989 in object files.
16990 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16991
16992 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16993
16994 * gdb.base/display.exp: Help expect by putting a newline in the
16995 funky printf, remove a bogus p/a test.
16996
16997 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16998
16999 * gdb.base/display.exp: Make sure that when we say 'run', we are
17000 connected to the target. This is necessary when running not
17001 natively.
17002
17003 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17004
17005 * gdb.base/step-test.exp: Removed some extraneous messages.
17006
17007 * gdb.base/long_long.exp: Don't run memory examination tests
17008 on little-endian targets (they will need a different set of
17009 results to match).
17010
17011 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17012
17013 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17014 until somebody decides to fix GDB.
17015
17016 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17017 constant as "ULL".
17018 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17019 matches for a couple x/2 commands.
17020
17021 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17022
17023 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17024 by merging in ref-types2 tests.
17025 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17026
17027 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17028 * gdb.c++/Makefile.in: Add standard actions.
17029 (EXECUTABLES): Rename from PROGS, update list.
17030 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17031 from gdb.hp.
17032 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17033 foo and bar locals.
17034 * gdb.c++/anon-union.exp: Fix tests to match.
17035 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17036 expect matches to handle output variations.
17037 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17038 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17039 output, add HP alternatives for new and delete prints.
17040 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17041 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17042 * gdb.c++/demangle.exp: Use $style when reporting failure.
17043 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17044 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17045 match alternatives.
17046 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17047 compilers.
17048 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17049 * gdb.c++/method.exp: Add match alternatives.
17050 * gdb.c++/misc.cc: Add bool types.
17051 * gdb.c++/misc.exp: Add tests for bool types.
17052 * gdb.c++/overload.exp: Add xfails.
17053 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17054 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17055 add some more template parameter tests (only for HP currently).
17056 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17057 * gdb.c++/virtfunc.cc: Add return type and value for main.
17058 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17059 match alternatives.
17060
17061 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17062
17063 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17064
17065 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17066
17067 * gdb.base/signals.exp: Don't expect getting a backtrace from
17068 within a signal handler to fail on Linux.
17069
17070 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17071
17072 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17073 * lib/gdb.exp: Remove some gratuitious semicolons.
17074 (delete_breakpoints): Increase timeout.
17075 (gdb_expect): Add -notransfer option.
17076 (gdb_test): Use -notransfer option.
17077 (get_compiler_info): Add f77 case.
17078 (get_compiler): New proc, split out from gdb_preprocess, add f77
17079 case.
17080 (gdb_preprocess): Call get_compiler.
17081
17082 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17083 * gdb.base/attach.exp, gdb.base/display.exp,
17084 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17085 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17086 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17087 third arg to gdb_test.
17088 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17089 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17090 HP-UX xfails, add others.
17091 * gdb.base/completion.exp: Reflect name change of self-test.
17092 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17093 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17094 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17095 HP failure number.
17096 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17097 useless HP-UX 10.30 references.
17098 * gdb.base/maint.exp: Loosen matches.
17099 * gdb.base/pointers.c (main): Declare more_code.
17100 * gdb.base/pointers.exp: Match on output of a `next'.
17101 * gdb.base/structs.c: Add prototypes.
17102 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17103 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17104
17105 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17106
17107 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17108 command.
17109
17110 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17111
17112 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17113 Fix run to main failures. Watchpoint can be hardware watchpoint.
17114
17115 * gdb.base/annota1.exp: Clean up some more, in case printf has
17116 debug info. Deal with lack of signal hanlder info in stack.
17117
17118 From Jim Kingdon <kingdon@redhat.com>:
17119 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17120
17121 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17122
17123 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17124 gdb.base/foll-vfork.exp: Don't run for crosses.
17125
17126 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17127
17128 * gdb.base/configure.in: Check for gdbvars.exp instead of
17129 a1-selftest.exp.
17130 * gdb.base/configure: Re-generate.
17131
17132 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17133
17134 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17135 in trying to run first and name is too long.
17136
17137 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17138 pointers2.c and pointers2.exp, respectively.
17139 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17140 doschk happier.
17141
17142 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17143
17144 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17145 callfuncs2.c and callfuncs2.exp.
17146
17147 * gdb.base/list.exp: Remove mistaken xfails.
17148 * gdb.base/list0.h: Add optional prototypes.
17149
17150 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17151
17152 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17153 calling malloc.
17154 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17155 * ptype.exp: Move test for get_debug_format to before its first
17156 use.
17157
17158 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17159
17160 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17161 * gdb.base/annota2.cc, annota2.exp: Move from here.
17162 * gdb.c++/annota2.cc, annota2.exp: To here.
17163 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17164
17165 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17166
17167 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17168 a consistent format.
17169
17170 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17171
17172 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17173 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17174 HP compilers, also set the globals $true and $false.
17175
17176 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17177 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17178 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17179 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17180 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17181 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17182 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17183 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17184 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17185 whatis.c} Add C++ compatible function definitions and return
17186 types, add includes for library functions.
17187 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17188 * gdb.base/step-test.c (myglob): Rename from glob.
17189 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17190 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17191 files, move here from gdb.hp.
17192 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17193 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17194 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17195 Adjust line numbers in regexps.
17196
17197 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17198 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17199 instead of 0/1.
17200
17201 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17202 foll-vfork.exp: New files, move here from gdb.hp.
17203 * gdb.base/page.exp: New file, test of pagination command.
17204
17205 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17206 recursion test.
17207 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17208
17209 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17210 gdb.base/solib.exp: Fix compiler invocation process.
17211
17212 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17213 HP-UX 11, turn off overload resolution explicitly.
17214 * gdb.base/commands.exp: Set argument list explicitly, add
17215 watchpoint test.
17216 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17217 them work.
17218 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17219 expressions properly.
17220 * gdb.base/corefile.exp: Loosen the match slightly.
17221 * gdb.base/default.exp: Allow "Error accessing memory" message
17222 also.
17223 * gdb.base/display.exp: Skip over x/0 j if PA64.
17224 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17225 * gdb.base/interrupt.exp: Ditto.
17226 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17227 in use.
17228 * gdb.base/list.exp: Add xfails for HP-UX.
17229 * gdb.base/long_long.exp: Refine some of the numeric matches.
17230 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17231 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17232 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17233 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17234 * gdb.base/ptype.exp: Succeed on more varieties of output.
17235 * gdb.base/scope.exp: Add xfails for HP-UX.
17236 * gdb.base/sect-cmd.exp: Add more cases.
17237 * gdb.base/setvar.exp: Add xfails for HP-UX.
17238 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17239 * gdb.base/signals.exp: Match on void symbolically.
17240 * gdb.base/step-test.exp: Add case for PA64.
17241 * gdb.base/term.exp: Add exit and restart.
17242 * gdb.base/twice.exp: Clean up after self.
17243 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17244 * gdb.base/whatis.exp: Allow more ways to pass tests.
17245
17246 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17247 no longer useful.
17248
17249 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17250
17251 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17252 list of patterns.
17253 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17254 print_double_array(double_array)", "continuing to breakpoint
17255 1018", "print print_double_array(array_d)" and "continuing to
17256 1034" tests.
17257
17258 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17259
17260 * Makefile.in: Add empty html and install-html targets.
17261
17262 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17263
17264 * config/mt-*: Remove, these haven't been used since 1996.
17265
17266 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17267
17268 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17269 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17270 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17271
17272 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17273
17274 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17275 simpler match case for the ptype of the big class.
17276
17277 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17278
17279 * gdb.exp: Fix test for gdb_prompt existence.
17280
17281 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17282
17283 * gdb.exp (gdb_test): Add fail after calls to perror.
17284
17285 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17286
17287 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17288
17289 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17290
17291 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17292
17293 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17294
17295 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17296 malloc() is linked in.
17297
17298 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17299
17300 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17301 step at end.
17302
17303 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17304
17305 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17306
17307 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17308
17309 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17310
17311 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17312 * gdb.base/mips_pro.exp: Likewise.
17313
17314 1999-06-02 Keith Seitz <keiths@cygnus.com>
17315
17316 * gdb.c++/templates.cc: Change all "new" operators to throw
17317 an exception.
17318 * gdb.c++/cplusfuncs.cc: Likewise.
17319
17320 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17321
17322 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17323
17324 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17325 * gdb.base/ending-run.exp: When stepping out of main, accept a
17326 step into an arbitrary assembler file.
17327
17328 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17329
17330 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17331 "breakpoint-invalid" to be printed.
17332 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17333 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17334 * gdb.base/annota2.cc: Initialize a.x to 0.
17335
17336 1999-05-17 Keith Seitz <keiths@cygnus.com>
17337
17338 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17339 when "skip_float_tests" set.
17340 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17341 "print print_ten_doubles", and "step into print_long_arg_list".
17342 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17343 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17344 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17345 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17346 "skip_float_tests" is set.
17347 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17348 when "skip_float_tests" set.
17349
17350 1999-05-06 Keith Seitz <keiths@cygnus.com>
17351
17352 * gdb.base/annota2.cc: Include stdio.h.
17353
17354 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17355
17356 * gdb.base/crossload.exp: Remove, this has been disabled ever
17357 since BFD stopped including all targets, and cross-GDB gets
17358 plenty of testing anyway.
17359 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17360 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17361 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17362 * gdb.base/README: Remove, was doc for this.
17363 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17364 needed.
17365
17366 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17367
17368 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17369 output.
17370
17371 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17372 * gdb.base/annota2.exp: New file. More annotation tests.
17373 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17374 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17375
17376 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17377
17378 * config/cfdbug.exp: New file.
17379
17380 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17381
17382 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17383 Marcus Daniel's and Dale Hawkins's demangler crashes.
17384
17385 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17386 test_lucid_style_demangling, test_arm_style_demangling,
17387 test_hp_style_demangling): Try Tom Tromey's core-dumping
17388 identifier under each demangling style.
17389
17390 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17391
17392 * gdb.c++/demangle.exp: Include the current demangling style
17393 in all test names.
17394 (current_demangling_style): New global variable.
17395 (set_demangling_style, test_demangling_core, test_demangling,
17396 test_demangling_exact): New functions.
17397 (test_gnu_style_demangling, test_lucid_style_demangling,
17398 test_arm_style_demangling, test_hp_style_demangling): Use those,
17399 instead of calling gdb_test and gdb_test_exact directly.
17400 (catch_demangling_errors): New function, which reports errors
17401 signalled by the demangling test functions in an orderly way.
17402 (do_tests): Use catch_demangling_errors.
17403
17404 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17405
17406 * gdb.base/signals.exp (test_handle_all_print): Use () for
17407 grouping in expressions, not {}.
17408
17409 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17410 initialized yet.
17411
17412 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17413
17414 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17415 are listed.
17416
17417 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17418
17419 * gdb.stabs/weird.exp: Test for CC being defined before
17420 looking at its value.
17421
17422 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17423
17424 * gdb.base/call-ar-st.exp: Remove stray '#'.
17425 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17426 "short int" and "long int".
17427 * gdb.c++/overload.cc: Cast the string added in the previous
17428 change, to mollify finicky HP compiler.
17429 * gdb.hp/reg-test.exp (testfile): Fix file name.
17430 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17431
17432 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17433 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17434 alternate form of enum ptype.
17435
17436 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17437
17438 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17439 * gdb.hp/*.exp: Change all to run compiler probe only after
17440 passing skip_hp_tests, so as not to waste time on guaranteed
17441 failure.
17442
17443 * gdb.c++/overload.cc: Pass string instead of char addr, always
17444 init ccpfoo.
17445 * gdb.c++/templates.cc: Fix syntax error.
17446
17447 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17448
17449 * gdb.base/commands.exp: Add test for correct position of '>'
17450 when issuing the 'commands' command after a 'while' or 'if'
17451 command.
17452
17453 1999-03-18 James Ingham <jingham@cygnus.com>
17454
17455 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17456
17457 * gdb.c++/method.exp: It was testing an uninitialized int on the
17458 stack and assuming it was positive.
17459
17460 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17461
17462 * gdb.base/step-test.exp: Catch a case where finish is broken and
17463 keep it from killing the rest of the tests.
17464 Use gdb_continue_to_end.
17465
17466 * gdb.base/sigall.exp: use gdb_continue_to_end.
17467
17468 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17469
17470 * gdb.base/display.exp: use runto_main, not run.
17471
17472 * gdb.base/default.exp: Check for the current error message in the
17473 r abbreviation test.
17474 Add strongarm to the targets that know info float.
17475
17476 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17477 run which doesn't work with monitors.
17478
17479 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17480
17481 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17482
17483 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17484 program. Traps the case (in Cygmon) when the program never really
17485 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17486 more places, so I used my name. Sorry Mark...
17487
17488 * config/monitor.exp (gdb_target_monitor): added another
17489 target_info parameter: remotebinarydownload. This will set the
17490 remotebinarydownload flag if this is causing some boards trouble.
17491
17492 1999-03-18 Mark Salter <msalter@cygnus.com>
17493
17494 * lib/gdb.exp (continue_to_exit): New function.
17495
17496 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17497 * gdb.base/ending-run.exp: Ditto.
17498 * gdb.base/step-test.exp: Ditto.
17499
17500 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17501
17502 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17503 (suggested by Art Haas <ahaas@neosoft.com>).
17504
17505 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17506
17507 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17508
17509 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17510
17511 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17512 descriptions of types (short unsigned int vs unsigned short, etc).
17513
17514 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17515
17516 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17517 a call to strlen; sometimes we do have sources.
17518
17519 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17520
17521 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17522 character, so GDB won't print garbage after its end.
17523
17524 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17525 breakpoint there instead. Sometimes GCC emits memcpy to handle
17526 the large structures being passed by value, so we step into that
17527 instead of sum_array_print, which obscures what we're really testing.
17528 * gdb.base/step-test.exp: However, we do want a test that notices
17529 the bizarre steps into memcpy, so do that here. Add check for
17530 stepping into function calls that pass large structures by value.
17531 ("Is that a noun clause, or are you just happy to see me?")
17532 Remove all references to specific line numbers.
17533 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17534 New type and function.
17535 (main): Call large_struct_by_value, passing it a large struct by value.
17536 * lib/gdb.exp (gdb_get_line_number): New function.
17537
17538 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17539 more portable.
17540
17541 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17542
17543 * lib/gdb.exp: Doc fixes.
17544
17545 1999-03-05 Nick Clifton <nickc@cygnus.com>
17546
17547 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17548
17549 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17550
17551 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17552 commands. They're not germane to this test, and they don't work
17553 that way on remote targets.
17554
17555 1999-03-01 James Ingham <jingham@cygnus.com>
17556
17557 * Changelog entries merged over from gdb development branch.
17558
17559 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17560
17561 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17562 for outputting results of test run.
17563
17564 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17565
17566 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17567
17568 1999-02-25 Felix Lee <flee@cygnus.com>
17569
17570 * lib/gdb.exp (debug_format): initialize
17571
17572 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17573
17574 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17575 * gdb.base/call-rt-st.c: Ditto.
17576
17577 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17578
17579 * gdb.threads/pthreads.exp (horiz): New variable.
17580 (test_startup): Fix regexps that capture thread numbers.
17581
17582 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17583
17584 * gdb.base/smoke.exp: Disambiguate two test case names (both
17585 called ``print'').
17586
17587 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17588
17589 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17590 compilation.
17591
17592 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17593
17594 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17595 actual output formatting.
17596 * gdb.base/smoke.exp: GDB removes leading 0's.
17597 * gdb.base/volatile.exp: Don't check type of remuneration;
17598 that variable is no longer defined in constvars.c.
17599 * gdb.base/step-test.c (main): Exit with explicit exit code.
17600 * gdb.base/step-test.exp: Remove two nexti checks--they are
17601 not portable.
17602
17603 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17604
17605 * gdb.base/help.exp ("help delete display"): Fix test to match
17606 gdb's output.
17607
17608 * gdb.base/long_long.c (known_types): Initialize values to zero.
17609 * gdb.base/long_long.exp: Step one more line
17610 so 'dec' is initialized in "get to known place". GDB removes
17611 leading zeros. Explicitly ask for hex formatting. Use
17612 unique test case names.
17613
17614 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17615
17616 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17617
17618 * gdb.c++/method.exp: Add missing close brace.
17619
17620 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17621
17622 * gdb.base/maint.exp: Use 'set height 0' to disable page
17623 prompting, not 'set height 400'.
17624
17625 Fix a bunch of timeouts.
17626 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17627 four separate tests, so expect doesn't take forever to match a ton
17628 of text against a regexp with lots of .* forms.
17629 ("maint print psymbols", "maint print symbols"): Make some of
17630 these greps more selective, so that expect doesn't try to wade
17631 through huge piles of output and time out.
17632
17633 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17634
17635 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17636 tests: one which doesn't expect shlib events to be reported, and
17637 another which does, but is XFAIL for all platforms other than
17638 HP/UX.
17639
17640 * gdb.base/break.exp: Teach the test suite that the `catch
17641 fork', `catch vfork', and `catch exec' commands produce error
17642 messages on platforms that don't provide these features.
17643
17644 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17645
17646 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17647 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17648 (shortening names from solib_threshold.exp etc), won't run on
17649 anything but HP-UX for the foreseeable future.
17650 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17651 reflect move.
17652
17653 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17654
17655 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17656 gdb.trace/Makefile.in (clean): Remove all test executables.
17657
17658 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17659
17660 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17661 successfully re-sets breakpoints in shared libraries.
17662 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17663
17664 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17665
17666 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17667 and compiled w/o GCC.
17668
17669 * gdb.hp/watch-cmd.exp: ditto.
17670
17671 * gdb.hp/watch-hp.exp: ditto.
17672
17673 * gdb.hp/xdb1.exp: ditto.
17674
17675 * gdb.hp/xdb2.exp: ditto.
17676
17677 * gdb.hp/dbx.exp: ditto.
17678
17679 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17680
17681 * constvars.c: Remove C++-isms.
17682 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17683 with GCC.
17684
17685 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17686
17687 The following changes are part of the HP merge.
17688
17689 * gdb.base/break.exp: new tests to verify that catchpoints for
17690 fork, vfork, and exec don't trigger inappropriately.
17691
17692 * gdb.base/opaque.exp: compile one file at a time, then link.
17693
17694 * gdb.base/signals.exp: be more restrictive about which hppa
17695 systems receive a setup_xfail. new tests.
17696
17697 * gdb.base/solib_threshold.build: new file.
17698 * gdb.base/solib_threshold.exp: new file.
17699 * gdb.base/solib_threshold.link_opts: new file.
17700 * gdb.base/solib_threshold.mk: new file.
17701 * gdb.base/gen_solib_threshold.c: new file.
17702
17703 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17704 tests. New tests for enums inside classes.
17705
17706 * gdb.c++/compiler.cc: indicate support of template debugging.
17707
17708 * gdb.c++/demangle.exp: run hp style demangling tests.
17709
17710 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17711 tests.
17712
17713 * gdb.c++/misc.cc: changes to support new tests.
17714
17715 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17716 to support new tests.
17717
17718 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17719 gcc, then skip these tests.
17720
17721 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17722
17723 The following files are part of the HP merge; some had longer
17724 names at HP, but have been renamed to be no more than 14
17725 characters in length.
17726
17727 * gdb.hp/ambiguous.cc: new file.
17728 * gdb.hp/ambiguous.exp: new file.
17729 * gdb.hp/attach.exp: new file.
17730 * gdb.hp/attach2.exp: new file.
17731 * gdb.hp/classes-hp.exp: new file.
17732 * gdb.hp/ctti.exp: new file.
17733 * gdb.hp/ctti-add.cc: new file.
17734 * gdb.hp/ctti-add1.cc: new file.
17735 * gdb.hp/ctti-add2.cc: new file.
17736 * gdb.hp/ctti-add3.cc: new file.
17737 * gdb.hp/dbx.exp: new file.
17738 * gdb.hp/exception.cc: new file.
17739 * gdb.hp/exception.exp: new file.
17740 * gdb.hp/foll-exec.c: new file.
17741 * gdb.hp/foll-exec.exp: new file.
17742 * gdb.hp/foll-fork.c: new file.
17743 * gdb.hp/foll-fork.exp: new file.
17744 * gdb.hp/foll-vfork.c: new file.
17745 * gdb.hp/foll-vfork.exp: new file.
17746 * gdb.hp/inherit-hp.exp: new file.
17747 * gdb.hp/more-steps.exp: new file.
17748 * gdb.hp/namespace.cc: new file.
17749 * gdb.hp/namespace.exp: new file.
17750 * gdb.hp/optimize.exp: new file.
17751 * gdb.hp/pxdb.c: new file.
17752 * gdb.hp/pxdb.exp: new file.
17753 * gdb.hp/quicksort.exp: new file.
17754 * gdb.hp/reg-test.exp: new file.
17755 * gdb.hp/reg-test.s: new file.
17756 * gdb.hp/sized-enum.c: new file.
17757 * gdb.hp/sized-enum.exp: new file.
17758 * gdb.hp/start-stop.exp: new file.
17759 * gdb.hp/templ-hp.cc: new file.
17760 * gdb.hp/templ-hp.exp: new file.
17761 * gdb.hp/thr-lib.c: new file.
17762 * gdb.hp/thr-lib.exp: new file.
17763 * gdb.hp/thr-lib.h: new file.
17764 * gdb.hp/thr-liblib.c: new file.
17765 * gdb.hp/virtfun-hp.c: new file.
17766 * gdb.hp/virtfun-hp.exp: new file.
17767 * gdb.hp/watch-cmd.exp: new file.
17768 * gdb.hp/watch-hp.exp: new file.
17769 * gdb.hp/xdb1.exp: new file.
17770 * gdb.hp/xdb2.exp: new file.
17771 * gdb.hp/xdb3.exp: new file.
17772
17773 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17774
17775 The following files are part of the HP merge; some had longer
17776 names at HP, but have been renamed to be no more than 14
17777 characters in length.
17778
17779 * gdb.base/ss.h: new file.
17780 * gdb.base/call-ar-st.c: new file.
17781 * gdb.base/call-ar-st.exp: new file.
17782 * gdb.base/call-rt-st.c: new file.
17783 * gdb.base/call-rt-st-exp: new file.
17784 * gdb.base/call-strs.exp: new file.
17785 * gdb.base/ena-dis-br.exp: new file.
17786 * gdb.base/environ.exp: new file.
17787 * gdb.base/long_long.exp: new file.
17788 * gdb.base/sect-cmd.exp: new file.
17789 * gdb.base/shlib-cl2.exp: new file.
17790 * gdb.base/smoke.exp: new file.
17791 * gdb.base/so-impl-ld.c: new file.
17792 * gdb.base/so-impl-ld.exp: new file.
17793 * gdb.base/so-indr-cl.c: new file.
17794 * gdb.base/so-indr-cl.exp: new file.
17795 * gdb.base/varargs.exp: new file.
17796 * gdb.base/volatile.exp: new file.
17797 * gdb.base/whatis-exp.exp: new file.
17798 * gdb.base/display.exp: new file.
17799 * gdb.c++/derivation.exp: new file.
17800 * gdb.c++/local.exp: new file.
17801 * gdb.c++/member-ptr.exp: new file.
17802 * gdb.c++/overload.exp: new file.
17803 * gdb.c++/ovldbreak.exp: new file.
17804 * gdb.c++/ref-types.exp: new file.
17805 * gdb.c++/ref-types2.exp: new file.
17806 * gdb.c++/userdef.exp: new file.
17807
17808 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17809
17810 * gdb.base/default.exp: Reflect wording change in remote.c.
17811
17812 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17813
17814 * gdb.base/help.exp: Update to reflect current text.
17815
17816 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17817
17818 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17819 they're stack variables and contain garbage.
17820 * gdb.c++/anon-union.exp: new file.
17821
17822 The following changes were made by David Taylor
17823 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17824 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17825 in changes by HP.
17826
17827 * gdb.base/bitops.exp: new file.
17828 * gdb.base/default.exp: change expected messages for catch and
17829 info catch tests to reflect HP merge changes.
17830 * gdb.base/enable-disable-break.exp
17831 * gdb.base/ending-run.c: new file.
17832 * gdb.base/long_long.c: new file.
17833 * gdb.base/maint.exp: new file.
17834 * gdb.base/pointers2.exp: new file.
17835 * gdb.base/shlib-call2.exp: new file.
17836 * gdb.base/solib.exp: new file.
17837 * gdb.base/step-test.c: new file.
17838 * gdb.c++/anon-union.cc: new file.
17839 * gdb.c++/local.cc: new file.
17840 * gdb.c++/member-pointer.cc: new file.
17841 * gdb.c++/method.cc: new file.
17842 * gdb.c++/ref-types.cc: new file.
17843 * gdb.c++/ref-types2.cc: new file.
17844 * gdb.c++/userdef.cc: new file.
17845
17846 * gdb.base/scope.exp: compile one file at a time, then link.
17847 * gdb.base/langs.exp: ditto.
17848 * gdb.base/list.exp: ditto.
17849
17850 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17851
17852 The following changes were made by David Taylor
17853 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17854 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17855 in changes by HP.
17856
17857 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17858 skip tests. When compiling pass c++ flag to gdb_compile.
17859 * gdb.c++/
17860
17861 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17862 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17863 (skip_hp_tests): new function.
17864 (gdb_preprocess): new function.
17865
17866 * configure.in (hpdir): decide whether to configure gdb.hp.
17867 * configure: regenerated.
17868
17869 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17870 to delete on clean.
17871 (EXECUTABLES): update to reflect new additions.
17872 * gdb.base/commands.exp: update message expected.
17873 * gdb.base/default.exp: add copyright notice.
17874 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17875 * gdb.base/help.exp: update messages to reflect current text.
17876 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17877 targets for recurse tests.
17878 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17879 skip this file.
17880
17881 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17882 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17883 compilation.
17884 * gdb.c++/misc.exp: ditto.
17885 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17886 run the tests. tell gdb_compile that it's a c++ compilation.
17887
17888 * gdb.threads/pthreads.exp: fix typo in message.
17889
17890 * gdb.base/all-bin.exp: new file.
17891 * gdb.base/arithmet.exp: new file.
17892 * gdb.base/assign.exp: new file.
17893 * gdb.base/completion.exp: new file.
17894 * gdb.base/cond-expr.exp: new file.
17895 * gdb.base/condbreak.exp: new file.
17896 * gdb.base/define.exp: new file.
17897 * gdb.base/dollar.exp: new file.
17898 * gdb.base/environment.exp: new file.
17899 * gdb.base/eval-skip.exp: new file.
17900 * gdb.base/jump.exp: new file.
17901 * gdb.base/logical.exp: new file.
17902 * gdb.base/pointers.exp: new file.
17903 * gdb.base/relational.exp: new file.
17904 * gdb.base/section_command.exp: new file.
17905 * gdb.base/whatis-expr.exp: new file.
17906
17907 * gdb.base/all-types.c: new file.
17908 * gdb.base/call-array-struct.c: new file.
17909 * gdb.base/call-return-struct.c: new file.
17910 * gdb.base/call-strings.c: new file.
17911 * gdb.base/callfuncs2.c: new file.
17912 * gdb.base/condbreak.c: new file.
17913 * gdb.base/constvars.c: new file.
17914 * gdb.base/display.c: new file.
17915 * gdb.base/int-type.c: new file.
17916 * gdb.base/jump.c: new file.
17917 * gdb.base/miscexprs.c: new file.
17918 * gdb.base/pointers.c: new file.
17919 * gdb.base/pointers2.c: new file.
17920 * gdb.base/shmain.c: new file.
17921 * gdb.base/shr1.c: new file.
17922 * gdb.base/shr2.c: new file.
17923 * gdb.base/solib.c: new file.
17924 * gdb.base/solib1.c: new file.
17925 * gdb.base/solib2.c: new file.
17926 * gdb.base/varargs.c: new file.
17927 * gdb.c++/derivation.cc: new file.
17928 * gdb.c++/overload.cc: new file.
17929 * gdb.c++/ovldbreak.cc: new file.
17930 * gdb.hp/attach.c: new file.
17931 * gdb.hp/attach2.c: new file.
17932 * gdb.hp/average.c: new file.
17933 * gdb.hp/compiler.c: new file.
17934 * gdb.hp/compiler.cc: new file.
17935 * gdb.hp/execd-program.c: new file.
17936 * gdb.hp/follow-exec.c: new file.
17937 * gdb.hp/follow-fork.c: new file.
17938 * gdb.hp/follow-vfork-and-exec.c: new file.
17939 * gdb.hp/misc-hp.cc: new file.
17940 * gdb.hp/more-steps.c: new file.
17941 * gdb.hp/optimize.c: new file.
17942 * gdb.hp/quicksort.c: new file.
17943 * gdb.hp/run-hp.c: new file.
17944 * gdb.hp/start-stop.c: new file.
17945 * gdb.hp/sum.c: new file.
17946 * gdb.hp/templates-hp.cc: new file.
17947 * gdb.hp/thread-local-in-lib.c: new file.
17948 * gdb.hp/thread-local-in-lib.h: new file.
17949 * gdb.hp/thread-local-in-lib.lib.c: new file.
17950 * gdb.hp/vforked-program.c: new file.
17951 * gdb.hp/virtfunc-hp.cc: new file.
17952 * gdb.hp/watchpoint-hp.c: new file.
17953 * gdb.hp/xdb.c: new file.
17954 * gdb.hp/xdb0.c: new file.
17955 * gdb.hp/xdb0.h: new file.
17956 * gdb.hp/xdb1.c: new file.
17957
17958 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17959
17960 The following change was made by Edith Epstein
17961 <eepstein@cygnus.com> as part of a project to merge in changes
17962 originally made by HP; HP did not create ChangeLog entries.
17963
17964 * gdb.c++/demangle.exp: changed the expected output for some
17965 ARM-style mangling -- removed second reference to datatype.
17966 For example, maint demangle __dt__11T1__pt__2_cFv
17967 T1<char>::~T1<char>(void)
17968 becomes,
17969 maint demangle __dt__11T1__pt__2_cFv
17970 T1<char>::~T1(void)
17971
17972 (test_hp_style_demangling): new hp specific demangling test cases.
17973
17974 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17975
17976 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17977 * gdb.trace/backtrace.exp: Likewise.
17978 * gdb.trace/circ.exp: Likewise.
17979 * gdb.trace/collection.exp: Likewise.
17980 * gdb.trace/deltrace.exp: Likewise.
17981 * gdb.trace/infotrace.exp: Likewise.
17982 * gdb.trace/limits.exp: Likewise.
17983 * gdb.trace/packetlen.exp: Likewise.
17984 * gdb.trace/passc-dyn.exp: Likewise.
17985 * gdb.trace/passcount.exp: Likewise.
17986 * gdb.trace/report.exp: Likewise.
17987 * gdb.trace/save-trace.exp: Likewise.
17988 * gdb.trace/tfind.exp: Likewise.
17989 * gdb.trace/tracecmd.exp: Likewise.
17990 * gdb.trace/while-dyn.exp: Likewise.
17991 * gdb.trace/while-stepping.exp: Likewise.
17992
17993 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17994
17995 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17996
17997 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17998
17999 From Brendan Kehoe:
18000 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18001 int return types.
18002
18003 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18004
18005 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18006 remote dos host testing right.
18007
18008 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18009
18010 * gdb.base/corefile.exp: remove some xfails.
18011
18012 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18013
18014 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18015 have different timestamps.
18016
18017 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18018
18019 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18020 gdb.base/default.exp: Replace "exec" with "executable".
18021
18022 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18023
18024 * gdb.base/default.exp: Change else if to elseif from previous
18025 delta.
18026
18027 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18028
18029 * gdb.base/default.exp: Add brace missing from previous delta.
18030
18031 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18032
18033 * gdb.base/default.exp: Support test for info float for all
18034 varieties of arm toolchain.
18035
18036 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18037
18038 * gdb.trace/*.exp: remove "remote_download" command.
18039
18040 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18041
18042 * gdb.trace/*.exp: remove -gdwarf from compile.
18043
18044 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18045
18046 * gdb.trace/configure.in(AC_INIT): typo
18047 * gdb.trace/configure: regenerated
18048
18049 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18050
18051 * config/m68k-emc.exp: New file.
18052 * lib/<emc-support.exp trace-support.exp}: New files.
18053 * configure.in: add new test directory gdb.trace.
18054 * gdb.trace/{configure configure.in Makefile.in}: New files.
18055 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18056 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18057 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18058 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18059 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18060 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18061 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18062
18063 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18064
18065 * gdb.c++/classes.exp: Change all regular expressions to match
18066 arbitrary combinations of newline/carriage-return, so that they
18067 will work equally well on Unix and Windows.
18068 * gdb.c++/inherit.exp: ditto.
18069 * gdb.c++/virtfunc.exp: ditto.
18070
18071 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18072
18073 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18074
18075 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18076
18077 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18078 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18079 to use a0-a3/d0-d3 as needed.
18080
18081 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18082
18083 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18084 * gdb.disasm/am33.exp: Corresponding changes.
18085
18086 1998-07-11 Felix Lee <flee@cygnus.com>
18087
18088 * gdb.base/callfuncs.exp: add cmp10 test.
18089 * gdb.base/callfuncs.c (cmp10): new function.
18090
18091 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18092
18093 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18094 into two parts to get around a synchronization problem in expect.
18095
18096 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18097
18098 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18099
18100 * configure.in: Add options for gdbtk testsuite.
18101
18102 * configure: Regenerate.
18103
18104 * gdb.gdbtk: New directory to hold gdbtk tests.
18105
18106 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18107
18108 * gdb.fortran/types.exp: Escape brackets in expect patterns
18109 for test_float_literal_types_accepted tests.
18110 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18111 before run test.
18112
18113 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18114
18115 * am33.exp: Just compile, do not link the testcase.
18116 * am33.s: Add ".am33" pseudoop to force am33 mode.
18117
18118 1998-06-25 Felix Lee <flee@cygnus.com>
18119
18120 * gdb.base/setshow.exp: make sure $pc is sane.
18121
18122 * gdb.stabs/weird.exp: split expect patterns properly.
18123
18124 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18125
18126 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18127 * gdb.disasm/am33.exp: Run it.
18128
18129 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18130
18131 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18132 match processing (and eliminate spurious timeouts when running).
18133
18134 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18135
18136 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18137 exception test, but conditionalize it on target [mach | gnu].
18138
18139 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18140
18141 * gdb.base/overlays.exp: fixup compile line for linker script.
18142
18143 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18144
18145 * gdb.fortran/types.exp: don't guess at float size.
18146
18147 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18148
18149 * gdb.base/exprs.exp: delete test that depends on int size.
18150
18151 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18152
18153 * config/sim.exp: Removed checks for target triplets.
18154 (gdb_target_sim): Use gdb,target_sim_options.
18155
18156 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18157
18158 * gdb.base/reread.exp: New file.
18159 * gdb.base/reread1.c: New file.
18160 * gdb.base/reread2.c: New file.
18161
18162 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18163
18164 * config/sim.exp: Use 'target sim -sparclite' when running
18165 SPARClite programs.
18166
18167 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18168
18169 * gdb.base/structs2.exp: New file.
18170 * gdb.base/structs2.c: New file.
18171
18172 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18173
18174 * gdb.asm/common.inc: New file.
18175 * gdb.asm/d10v.inc: New file.
18176 * asm-source.exp: Pass -I's to gas to find .inc files.
18177 Update line numbers in expected output.
18178 * asmsrc1.s: Rewrite.
18179 * asmsrc2.s: Rewrite.
18180 * configure.in: Create arch.inc symlink.
18181 * configure: Regenerate.
18182 * Makefile.in (distclean): Delete arch.inc.
18183
18184 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18185
18186 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18187 (t_enum_value2): ditto
18188 (t_enum_value3): ditto
18189 (main): ditto
18190 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18191
18192 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18193 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18194 change.
18195 Use gdb_test instead of send_gdb/gdb_expect sequences.
18196
18197 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18198
18199 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18200 not void.
18201
18202 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18203
18204 * gdb.base/branches.c: Code with lots of loops and
18205 subroutines. Used to test gdbs ability to single step through PC
18206 changes, especially to test mips-tdep.c:mips_next_pc
18207
18208 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18209
18210 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18211 more rigorous EGCS C++ error checking.
18212
18213 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18214
18215 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18216 tests.
18217 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18218 function when asleep.
18219 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18220 for i*86 Linux and SVR4 signal handling problems.
18221 Remove linux xfail for `next to handler in signals_tests_1', fixed
18222 by recent infrun.c change.
18223 Limit backtrace to 10 frames to avoid timeout problems with infinite
18224 stack backtraces.
18225 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18226 target.[ch] change.
18227
18228 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18229
18230 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18231 for a newline from gdb before continuing.
18232 (default_gdb_exit): Just look for y or n.
18233 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18234 it does, fail the rests of the tests in the file.
18235
18236 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18237
18238 * config/cygmon.exp: New file.
18239
18240 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18241
18242 * gdb.base/list.exp: Fix problem with "list default lines around
18243 main" test on remote targets.
18244
18245 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18246 run test on remote targets.
18247
18248 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18249
18250 * gdb.asm: New directory.
18251 * configure.in: Configure it.
18252 * configure: Regenerate.
18253 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18254 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18255
18256 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18257
18258 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18259
18260 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18261
18262 * gdb.base/overlays (several files): Merge the two overlay
18263 managers into one. Change variables (foox, barx, bazx, grbxx)
18264 back into ints but force them to load in their proper sections.
18265
18266 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18267
18268 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18269 on-chip insn memory and IMAP1 to upper 128k.
18270 (D10VCopy): Handle memory regions crossing 16k boundaries.
18271 (D10VCopy): Transfer data in 32 bit chunks.
18272
18273 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18274
18275 * gdb.base/overlays.c (main): Exit normally when result is
18276 correct.
18277
18278 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18279 map. Include space for printf in .text segment.
18280
18281 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18282 updated d10v memory VMA/LMA map.
18283 (D10VCopy): Call D10VTranslate.
18284
18285 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18286
18287 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18288
18289 * gdb.base/bar.c (barx, bar): Change variable to small array so
18290 that it won't be put into the .sdata - small data -
18291 section. Update reference.
18292 * gdb.base/baz.c (bazx, baz): Ditto.
18293 * gdb.base/foo.c (foox, foo): Ditto.
18294 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18295
18296 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18297 to be arrays.
18298
18299 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18300
18301 * gdb.base/overlays.exp: fix up and get working again.
18302 Add tests for backtraces from an overlay function.
18303
18304 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18305
18306 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18307 "calling function with watchpoint enabled".
18308
18309 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18310
18311 * gdb.base/break.exp (test_next_with_recursion): Remove
18312 gdb_suppress_tests for d10v-*-*.
18313 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18314 pending review of whether it is useful or not.
18315
18316 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18317
18318 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18319
18320 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18321
18322 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18323 * config/dve.exp: New file to support Densan boards.
18324
18325 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18326
18327 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18328 reads and BSD.
18329
18330 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18331
18332 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18333 response.
18334
18335 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18336
18337 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18338
18339 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18340 test.
18341
18342 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18343 target_sizeof_long and target_bigendian_p.
18344 (structs_by_value, structs_by_reference): Check values according
18345 to targets word size and endianess.
18346
18347 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18348
18349 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18350 output.
18351
18352 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18353
18354 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18355 Update test of set args help to match source change.
18356
18357 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18358
18359 * gdb.base/default.exp: Expect help system output to be in
18360 alphabetical order.
18361 * gdb.base/help.exp: Ditto.
18362
18363 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18364
18365 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18366 "i*86-pc-linux-gnu*".
18367 * gdb.base/interrupt.exp: Ditto.
18368 * gdb.base/corefile.exp: Ditto.
18369
18370 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18371 define vxworks when building the testcase.
18372
18373 * gdb.base/ptype.exp: Fix testnames to be unique.
18374 * gdb.base/radix.exp: Ditto.
18375 * gdb.base/term.exp: Ditto.
18376 * gdb.base/whatis.exp: Ditto.
18377 * gdb.c++/classes.exp: Ditto.
18378
18379 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18380
18381 * gdb.base/callfuncs.exp: Fix indentation.
18382
18383 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18384 suppress_flag has been set.
18385 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18386 target feature.
18387
18388 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18389
18390 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18391 the testcase.
18392
18393 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18394 set_debug_traps() and breakpoint().
18395 * gdb.c++/misc.cc (main): Ditto.
18396 * gdb.c++/templates.cc (main): Ditto.
18397 * gdb.c++/virtfunc.cc (main): Ditto.
18398
18399 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18400
18401 * lib/gdb.exp(gdb_step_for_stub): New function.
18402 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18403 exists, reload the executable and do a "continue" instead of
18404 doing a jump.
18405 (runto_main): Use gdb_step_for_stub.
18406
18407 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18408 tests to have unique names.
18409 * gdb.base/callfuncs.exp: Ditto.
18410 * gdb.base/commands.exp: Ditto.
18411 * gdb.base/default.exp: Ditto.
18412 * gdb.base/help.exp: Ditto.
18413 * gdb.base/list.exp: Ditto.
18414 * gdb.base/opaque.exp: Ditto.
18415 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18416 similar tests.
18417
18418 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18419 * gdb.c++/cplusfuncs.cc: Ditto.
18420 * gdb.c++/virtfunc.cc: Ditto.
18421
18422 * config/monitor.exp: Keep track of the last file we saw, rather
18423 than trying to get the info from gdb.
18424
18425 * gdb.fortran/types.exp: Move comment to previous line.
18426
18427 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18428
18429 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18430 target mode.
18431
18432 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18433
18434 From Bob Manson:
18435 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18436 string from GDB when it connects.
18437
18438 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18439
18440 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18441
18442 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18443 if we can't get a debug format from GDB (we may be testing an
18444 older GDB). Use a 10 second timeout when checking for the format.
18445
18446 * gdb.stabs/weird.exp: Fix quoting.
18447
18448 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18449
18450 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18451
18452 * config/arm-ice.exp: New file.
18453
18454 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18455
18456 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18457 until it has been modified to work with the new testsuite.
18458
18459 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18460 testcase won't compile, cause all of the testcases in the file to
18461 fail instead.
18462
18463 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18464 (gdb_clear_suppressed): New procedure.
18465 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18466 it contains a positive value.
18467
18468 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18469
18470 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18471
18472 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18473
18474 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18475
18476 * lib/gdb.exp (setup_xfail_format): New function.
18477 (get_debug_format): New function to get debug format.
18478 (debug_format): New global variable to hold last value set
18479 by get_debug_format.
18480 * gdb.base/list.exp: Call get_debug_format and expect some
18481 tests to fail for DWARF 1 and COFF formats.
18482 * gdb.c++/ptype.exp: Ditto.
18483 * gdb.c++/classes.exp: Ditto.
18484 * gdb.c++/cplusfuncs.exp: Ditto.
18485 * gdb.c++/inherit.exp: Ditto.
18486 * gdb.c++/templates.exp: Ditto.
18487 * gdb.c++/virtfunc.exp: Ditto.
18488
18489 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18490
18491 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18492 host doesn't have a currently-open connection.
18493
18494 * config/sparclet.exp: Cleanups and fixes to make it generic for
18495 any gdb stub target. Handle cases where gdb doesn't respond when
18496 interrupted in a sane fashion.
18497
18498 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18499 same thing in a totally different way.
18500
18501 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18502 setting "timeout".
18503 (gdb_start): We set the global gdb_prompt variable in
18504 default_gdb_init now.
18505
18506 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18507
18508 * gdb.base/printcmds.exp: Fix "check for floating addition"
18509 regexp to accept results within approx +/- .01 of exact value.
18510 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18511
18512 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18513
18514 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18515 properly.
18516 (gdb_expect): Add optional timeout parameter, and add timeout
18517 value to various calls.
18518 (gdb_suppress_tests): Only give one warning message per group.
18519
18520 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18521
18522 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18523 global variables. Handle getting a value for $timeout more
18524 gracefully.
18525
18526 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18527
18528 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18529 initialize.
18530 (default_gdb_init): New procedure; allow gdb_init to be overridden
18531 by a target configuration file.
18532 (gdb_expect): Pass the timeout to remote_expect.
18533
18534 * config/monitor.exp(gdb_load): Fix typo in regexp.
18535
18536 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18537
18538 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18539
18540 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18541
18542 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18543 here. Call gdb_target_exec before rebooting the target, to make
18544 sure the connection to the target is closed.
18545 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18546 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18547 Also detect "Timeout reading from remote" error.
18548
18549 * config/gdbserver.exp: Pass the executable being loaded to
18550 gdb_target_monitor. Don't call gdb_file_cmd here; let
18551 gdb_target_monitor do it.
18552
18553 * gdb.disasm/hppa.exp: Don't use exec_output.
18554
18555 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18556
18557 * gdb.base/list.exp: If we're debugging a non-native target,
18558 try to set the pc register to point to the start of the
18559 program before doing the first list command.
18560
18561 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18562 test_calls after restarting.
18563
18564 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18565 reloading.
18566
18567 * gdb.base/watchpoint.exp: Fix typo.
18568
18569 * gdb.base/setshow.exp: Check for use_gdb_stub.
18570
18571 * gdb.base/break.exp: Fix continue until exit test for the gdb
18572 stub case.
18573 * gdb.base/langs.exp: Ditto.
18574
18575 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18576 gdb_load_offset. If we weren't given a file to load, figure out
18577 what the current file is and use it.
18578
18579 * config/i386-bozo.exp: New file.
18580
18581 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18582
18583 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18584 feature.
18585
18586 * config/proelf.exp: New entry.
18587
18588 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18589
18590 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18591 of regexps.
18592
18593 * gdb.base/watchpoint.exp: Don't run the test_stepping
18594 tests if gdb can't call functions on the target.
18595
18596 * gdb.base/setshow.exp: Don't run the set prompt tests if
18597 the board has gdb_prompt set.
18598
18599 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18600
18601 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18602 * gdb.base/commands.exp: Likewise.
18603 * gdb.base/setshow.exp: Likewise.
18604
18605 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18606
18607 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18608 feature.
18609
18610 * config/i960.exp: New file.
18611
18612 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18613
18614 * gdb.base/funcargs.exp: Check for gdb,short_int target
18615 feature instead of looking for explicit target triplets.
18616
18617 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18618
18619 * gdb.base/printcmds.exp: add a couple more tests a la
18620 "p 123DEADBEEF", to check parse_number.
18621 * top.c: change "to enable to enable" to "to enable" in a couple
18622 of help strings.
18623
18624 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18625
18626 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18627 on the mn10300.
18628
18629 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18630
18631 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18632 where the test executable is run with explicit args.
18633 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18634
18635 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18636
18637 * gdb.base/run.c: Use FAKEARGV to build test executable that
18638 does not require a command line arg, since most simulators
18639 don't currently support passing such an arg into the simulated
18640 program.
18641 * gdb.base/commands.exp: Change tests to insert the proper
18642 value as the arg to the first recursive factorial call. Change
18643 compilation line to define FAKEARGV at compile time.
18644
18645 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18646
18647 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18648 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18649 function with watchpoint enabled" test.
18650
18651 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18652
18653 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18654 Don't call gdb_test when the command doesn't return to a gdb prompt.
18655
18656 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18657 "Tests restarted" messages.
18658
18659 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18660
18661 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18662
18663 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18664
18665 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18666 for INFO SYMBOL; add help tests for OVERLAY commands.
18667 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18668 add tests for OVERLAY commands
18669 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18670 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18671 * gdb.base/sigall.c: add usestubs code frag
18672 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18673
18674 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18675
18676 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18677 failures.
18678 (gdb_stop_suppressing_tests): Note that tests have restarted.
18679
18680 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18681
18682 * config/h8300.exp: New file.
18683
18684 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18685
18686 * gdb.base/setshow.exp: Check for the existence of a
18687 feature, not its value.
18688
18689 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18690
18691 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18692
18693 * gdb.base/scope.exp: It's now init0(), not init().
18694
18695 * gdb.base/scope0.c: For now, change init() to be init0().
18696
18697 * config/monitor.exp: Use gdb_serial in preference to serial
18698 or netport.
18699
18700 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18701 and it's not already set.
18702
18703 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18704
18705 * gdb.base/setshow.exp: Only test the run command if the target
18706 isn't using a stub and if it supports argument passing.
18707
18708 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18709
18710 * config/udi.exp(gdb_start): Make sure UDICONF is set
18711 properly before starting gdb.
18712
18713 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18714
18715 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18716 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18717 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18718
18719 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18720
18721 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18722 specialized code to reboot the board, use remote_reboot instead.
18723
18724 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18725
18726 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18727
18728 * config/monitor.exp: Make sure we disconnect from the target.
18729 Also, try a reboot/reload cycle instead of failing if the
18730 load fails.
18731
18732 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18733
18734 * gdb.base/default.exp: Don't set match_max.
18735 * gdb.base/help.exp: Ditto.
18736 * gdb.base/list.exp: Ditto.
18737 * gdb.base/signals.exp: Ditto.
18738
18739 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18740 set, use remote_ld to download the testcase instead of
18741 the GDB loader.
18742
18743 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18744
18745 * config/vr5000.exp: New file.
18746
18747 * config/monitor.exp(gdb_target_monitor): Add pattern for
18748 "Ending remote" to detect errors in connecting.
18749
18750 * gdb.base/setshow.exp: Add .* within auto language test.
18751
18752 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18753 target feature.
18754
18755 * config/monitor.exp(gdb_load): Check for a failure when loading,
18756 and reboot the board if necessary.
18757
18758 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18759 a set of tests. Remove print.* from the patterns being checked.
18760
18761 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18762
18763 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18764 refer to gdb_spawn_id.
18765
18766 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18767 longer used.
18768 * config/sparclet.exp: Ditto.
18769 * config/sparclet-old.exp: Ditto.
18770 * config/slite.exp: Ditto.
18771 * config/sim.exp: Ditto.
18772 * gdb.base/funcargs.exp: Ditto.
18773
18774 * lib/gdb.exp:Remove references to gdb_spawn_id.
18775 (gdb_expect): Move to remote.exp.
18776
18777 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18778
18779 * config/monitor.exp: Detect the "Couldn't establish connection"
18780 message from GDB.
18781
18782 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18783
18784 * gdb.base/bitfields.exp: Use runto instead of explicit
18785 gdb_run_cmd/gdb_expect sequences.
18786
18787 * gdb.base/break.exp(text_next_with_recursion): Add match for
18788 gdb_expect call.
18789
18790 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18791 We also need to handle the "A program is being debugged already"
18792 prompt from gdb. Use gdb_test to set the baud rate.
18793
18794 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18795 to 20000. Really. I mean it.
18796
18797 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18798
18799 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18800 fails. If suppress_flag is set, skip perror message about not
18801 being able to send to GDB.
18802 (send_gdb): If suppress_flag is set, don't try to send commands to
18803 GDB.
18804 (gdb_expect): If suppress_flag is set, always fail immediately.
18805 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18806 (gdb_init): Call gdb_stop_suppressing_tests.
18807 (default_gdb_exit): Ditto.
18808 (default_gdb_start): Ditto.
18809
18810 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18811 gdb_stop_suppressing_tests as appropriate.
18812 * gdb.base/break.exp: Ditto.
18813 * gdb.base/callfuncs.exp: Ditto.
18814 * gdb.base/commands.exp: Ditto.
18815 * gdb.base/exprs.exp: Ditto.
18816 * gdb.base/funcargs.exp: Ditto.
18817 * gdb.base/list.exp: Ditto.
18818 * gdb.base/recurse.exp: Ditto.
18819 * gdb.base/scope.exp: Ditto.
18820 * gdb.base/structs.exp: Ditto.
18821 * gdb.c++/inherit.exp: Ditto.
18822
18823 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18824
18825 * config/vr4300.exp: New file.
18826
18827 * gdb.*/*.exp: Call gdb_expect instead of expect.
18828
18829 * lib/gdb.exp(gdb_expect): New function.
18830
18831 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18832
18833 * lib/gdb.exp(gdb_init): New function.
18834
18835 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18836 for each individual variable set.
18837
18838 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18839 name.
18840
18841 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18842
18843 * gdb.base/scope.exp: Use gdb_test.
18844
18845 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18846 aborting; the testsuite driver will do that for us (see
18847 gdb_finish). Also, use gdb_test in a few more places.
18848
18849 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18850
18851 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18852
18853 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18854
18855 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18856 and "add_tests" are not at the same address.
18857
18858 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18859
18860 * gdb.base/ptype.exp: Use gdb_test.
18861
18862 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18863
18864 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18865 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18866 left in. No longer expect them to fail.
18867
18868 * gdb.stabs/*.mt; Deleted, no longer used.
18869 * gdb.stabs/configure.in: Remove references to target makefile
18870 frags.
18871 * gdb.stabs/configure: Rebuilt.
18872
18873 * gdb.disasm/*.mt: Deleted, no longer used.
18874 * gdb.disasm/configure.in: Remove references to target makefile
18875 frags. Use "sh3.s" as the unique filename for this directory.
18876 * gdb.disasm/configure: Rebuilt.
18877
18878 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18879 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18880 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18881
18882 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18883
18884 * config/udi.exp: Use mondfe,name instead of remote_host.
18885
18886 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18887
18888 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18889 a function with a watchpoint enabled on the mn10200.
18890
18891 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18892 before trying to create it!
18893
18894 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18895
18896 * config/vx.exp: Use hostname instead of netport.
18897
18898 * config/vxworks.exp: New file.
18899
18900 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18901
18902 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18903 gdb before assuming everything worked. Send a ^C if a timeout
18904 occurs.
18905
18906 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18907 $gdb_spawn_id directly.
18908 (gdb_run_cmd): Try _start as well as start. Use the target feature
18909 gdb,start_symbol as the symbol to start from when jumping.
18910
18911 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18912
18913 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18914 redundant) test.
18915
18916 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18917 it doesn't lose for 16bit integer systems.
18918
18919 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18920
18921 * gdb.fortran/types.exp: If the target doesn't support "double"
18922 data types, then expect "real" types to only be 4 bytes.
18923
18924 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18925 call tests if the target doesn't support inferior function calls.
18926
18927 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18928 in printf tests.
18929
18930 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18931
18932 * gdb.base/help.exp: Disable "help set", "help show", and
18933 "help support". Simplify regexp for "help stack".
18934
18935 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18936 to 60 seconds. Temporarily set match_max to 15000 around the
18937 "info copying" test.
18938
18939 * gdb.base/nodebug.exp: Don't try to do an inferior function
18940 call if the target doesn't support them.
18941 * gdb.base/printcmds.exp: Likewise.
18942 * gdb.base/setvar.exp: Likewise.
18943 * gdb.base/structs.exp: Likewise.
18944 * gdb.c++/templates.exp: Likewise.
18945 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18946
18947 * gdb.base/recurse.exp: Enable for the mn10200.
18948
18949 * configure.in: Do configure gdb.stabs directory for *-*-elf
18950 targets.
18951 * configure: Rebuilt.
18952
18953 * gdb.base/break.exp: Check for gdb,noresults before testing
18954 exit status and/or results from the target.
18955 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18956 * lib/gdb.exp: Remove old (now bogus) initialization of
18957 noinferior, noargs, noresults and nosignals.
18958
18959 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18960
18961 * config/sh.exp: New file.
18962
18963 * config/slite.exp: Try to connect multiple times to the board
18964 before rebooting. Only send a "monitor run" if need_monitor_run
18965 is set.
18966
18967 * gdb.base/break.exp: Don't do the "stub continue" test if
18968 the target has gdb_stub set.
18969
18970 * gdb.base/callfuncs.exp: Increase the timeout.
18971
18972 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18973 if the target has gdb,noinferiorio set.
18974
18975 * gdb.base/list.exp: Increase match_max to 10000 characters.
18976
18977 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18978
18979 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18980 target.
18981
18982 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18983
18984 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18985
18986 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
18987 trying to delete the copy of gdb. Catch the file delete so we
18988 don't die if the delete fails; also, the file should be copied to
18989 the host, not to the build.
18990
18991 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18992
18993 * lib/gdb.exp(gdb_test): Surround the result pattern with
18994 parenthesis in case it contains multiple regexps separated
18995 with |.
18996
18997 * gdb.base/watchpoint.exp: Use gdb_test.
18998 * gdb.base/default.exp: Ditto.
18999
19000 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19001
19002 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19003
19004 * gdb.base/scope.exp: Use gdb_test.
19005 * gdb.c++/classes.exp: Ditto.
19006 * gdb.c++/inherit.exp: Ditto.
19007
19008 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19009
19010 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19011 remote_exec instead.
19012 * gdb.base/corefile.exp: Don't be ridiculous.
19013 * gdb.base/*.c: Add missing stub invocations.
19014
19015 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19016
19017 * config/slite.exp: Miscellaneous fixes.
19018
19019 * lib/gdb.exp: Fix runto.
19020
19021 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19022 the target.
19023
19024 * gdb.base/watchpoint.exp: Fix regexp.
19025
19026 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19027 close and wait commands, as the descriptor may now be
19028 invalid. Always call "remote_close host".
19029
19030 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19031
19032 Major rewrite for testsuite revision.
19033
19034 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19035 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19036 instead of relying on spawn_id to always contain a valid
19037 spawn id.
19038 (get_compiler_info): New procedure to build the ${binfile}.ci
19039 file, instead of replicating this in N different places.
19040 (gdb_compile): New procedure.
19041
19042 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19043 appropriate arguments) instead of compile. Use gdb_test in a lot
19044 more places. Use send_gdb instead of send. Always run gdb_start
19045 at the start of a testcase, as this is no longer done magically.
19046
19047 config/*-gdb.exp: Rename without the -gdb suffix.
19048
19049 config/mips.exp: Use remote_close instead of exit_remote_shell.
19050 config/monitor.exp: Use target_info instead of looking at
19051 baud, timeout, etc.
19052 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19053
19054 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19055
19056 * gdb.c++/templates.exp (test_ptype_of_templates),
19057 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19058 Update expect patterns for destructors and assignment operators
19059 to match corresponding c-typeprint.c changes.
19060 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19061 to destructor breakpoint test, GDB should be able to set the
19062 destructor breakpoint without specifying arguments.
19063
19064 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19065
19066 * gdb.threads/pthreads.exp: Change result for failure to compile due
19067 to lack of pthreads runtime support from an error to simply an
19068 unsupported test, per dejagnu standards.
19069
19070 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19071
19072 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19073 where GDB exits to reduce pattern match time.
19074 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19075
19076 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19077
19078 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19079
19080 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19081 * gdb.base/default.exp: ditto.
19082 * gdb.base/nodebug.exp: ditto.
19083 * gdb.base/printcmds.exp: ditto.
19084 * gdb.base/ptype.exp: ditto.
19085 * gdb.base/setvar.exp: ditto.
19086 * gdb.base/structs.exp: ditto.
19087 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19088
19089 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19090
19091 * configure, */configure: Rebuild with autoconf 2.12.
19092
19093 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19094
19095 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19096 use new i*86-pc-linux*-gnu quads.
19097 * gdb.base/corefile.exp: Ditto.
19098 * gdb.base/signals.exp: Ditto.
19099 * gdb.base/sigall.exp: Ditto.
19100 * gdb.base/interrupt.exp: Ditto.
19101
19102 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19103 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19104 RedHat 4.0.
19105
19106 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19107 linux. This allows the test case to at least compile on latest
19108 linux, but still not run due to missing the threads runtime library.
19109
19110 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19111
19112 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19113 directory to search gdb directory. Accept and step over conditional
19114 stack alignment code. Consume $prompt in failure cases.
19115 Reset timeout to $oldtimeout instead of some arbitrary value.
19116 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19117 timeout problems with infinite stack backtraces.
19118 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19119 Accept function parameters for linkfunc member.
19120
19121 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19122
19123 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19124 (CXXFLAGS): Remove, unreferenced.
19125 (B_OPTIONS): Add for -B options and add code to initialize with
19126 previous -B options and also add -B option to pick up cross compiled
19127 runtime.
19128 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19129 doing cross compiles.
19130 (target_alias): Declare global.
19131 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19132 to verify that gcc exists in build tree, and if so set CC to that
19133 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19134
19135 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19136
19137 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19138 ptype test for anonymous union. Fixup testcase to match
19139 current gcc debug output.
19140
19141 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19142
19143 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19144 force argument to an unsigned long type.
19145
19146 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19147
19148 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19149 tests and anonymous union print/ptype tests.
19150 * gdb.base/list.exp (test_forward-search): Increase timeout by
19151 5 minutes for the "search extremely long line" case.
19152 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19153 completely optional and that the pass/fail messages use the command as
19154 the message if that third arg is a null string.
19155 (gdb_test_exact): Arrange that a null string pattern means match a
19156 null string output rather than any output, which might include random
19157 errors.
19158 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19159 backtrace test.
19160 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19161 always failing and failure is now exposed by gdb.exp changes.
19162
19163 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19164
19165 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19166 weren't being noted.
19167
19168 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19169
19170 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19171 * gdb.stabs/weird.exp: Remove v_comb xfails.
19172
19173 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19174
19175 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19176 list.exp scope.exp watchpoint.exp]
19177 Make all timeout error msgs explicitly say "(timeout)".
19178
19179 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19180
19181 * config/monitor.exp: Increase download timeout to 1000 seconds.
19182
19183 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19184
19185 * config/m32r.exp: Increase timeout to 120 seconds.
19186
19187 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19188
19189 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19190 and accept older ordering as obsolescent gcc or gdb.
19191 * gdb.c++/templates.exp: Ditto.
19192 * gdb.c++/virtfunc.exp: Ditto.
19193
19194 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19195
19196 * gdb.base/coremaker.c: Add code to mmap some data so we
19197 can check that it ends up in the core file.
19198 * gdb.base/corefile.exp: Add test to read mmapped data
19199 from core file.
19200
19201 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19202
19203 * config/m32r.exp: New file.
19204
19205 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19206
19207 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19208 that cflags can contains -gstabs, and work correctly for other tests.
19209
19210 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19211
19212 * gdb.base/setshow.exp: New file, tests show and set.
19213 * gdb.base/setshow.c: New file, tests show and set.
19214 * gdb.base/help.exp: Add test for help set|show annotate.
19215 * gdb.base/default.exp: Add test for set|show annotate.
19216
19217 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19218
19219 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19220 errors unique.
19221 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19222 explicitly.
19223
19224 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19225
19226 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19227 and width commands. This is done elsewhere.
19228 * (gdb_start): Don't call gdb_start_sim here. That's already
19229 done in gdb_load. This fixes lots of failures in default.exp.
19230
19231 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19232
19233 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19234 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19235 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19236 in the same we we treat other failures (since it may be an expected
19237 condition), rather than as an error.
19238 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19239 old test format.
19240
19241 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19242
19243 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19244 (distclean maintainer-clean realclean): No need to remove files
19245 twice. Nuke the duplicates.
19246 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19247 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19248 Remove config.h along with other config files.
19249
19250 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19251
19252 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19253 "p func1 ()" and note that rests of tests are skipped.
19254 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19255 setup_xfails for "print func2::coremaker_local".
19256 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19257 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19258 affected by the previous run test.
19259 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19260 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19261 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19262 "pass int powerset tuple" and "pass modeless int powerset tuple".
19263 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19264 "real write 4" and "real write 8".
19265 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19266 setup_xfails for "print vs1 after tuple assign 2",
19267 "print \$i after tuple assign 2", and
19268 "print vs2 after tuple assign 2".
19269 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19270 meaningful error message and return -1 so the caller can
19271 suppress further tests and avoid a cascade of errors.
19272
19273 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19274
19275 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19276 format for printing version.
19277 * gdb.base/default.exp: Ditto.
19278 * gdb.base/interrupt.exp: Fix problem with cascade of
19279 errors if child process dies while calling a function.
19280
19281 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19282
19283 * Makefile.in (VPATH): Add
19284 * Makefile.in (Makefile, config.status): Fix rules so things get
19285 remade when necessary.
19286
19287 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19288
19289 * Makefile.in (just-check): Add path to sibling expect dir
19290 to environment variable specified by RPATH_ENVVAR.
19291
19292 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19293
19294 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19295 (just-check): Add shared library paths for libstdc++, tk,
19296 tcl, bfd, and opcodes to the environment variable specified
19297 in RPATH_ENVVAR.
19298 * configure.in: Add support to recognize --enable-shared flag
19299 and generate correct value for RPATH_ENVVAR.
19300 * configure: Regenerated with autoconf.
19301
19302 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19303
19304 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19305 include all osf versions.
19306 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19307 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19308 when target is linux. When failing to build pthreads test
19309 executable, give more meaningful message.
19310 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19311 arg for pthread_create.
19312
19313 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19314
19315 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19316 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19317 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19318 and -lpthreads (everybody else).
19319 (test_startup): Fail gracefully if threads are not supported.
19320 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19321 "p/c array_index("abcdef",2)" when not gcc compiled.
19322 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19323 "print func2::coremaker_local" when not gcc compiled.
19324 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19325 "ptype on opaque struct tagname (statically)",
19326 "ptype on opaque struct tagname (dynamically) 1", and
19327 "ptype on opaque struct tagname (dynamically) 2"
19328 for not compiled with gcc.
19329 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19330 backtrace when compiled with gcc.
19331 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19332 than always return success.
19333
19334 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19335
19336 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19337
19338 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19339
19340 * gdb.base/structs.exp: Undo last change.
19341
19342 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19343
19344 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19345 encapsulate all the steps/nexts done during self test, starting
19346 at main, and makes them less sensitive to optimization issues.
19347 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19348 signal handler" test.
19349 * gdb.threads/pthreads.exp: Only run this for native configs.
19350 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19351 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19352 tests.
19353 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19354 for "runto test_calls(void)" test.
19355
19356 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19357
19358 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19359 and don't expect address info in breakpoint confirmations.
19360
19361 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19362
19363 * gdb.base/list.exp (test_forward_search): Increase timeout
19364 temporarily by 60 seconds for searching extremely long line,
19365 and then reset to old value when done. Increase expect input
19366 buffer to 10000.
19367
19368 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19369
19370 * gdb.base/list.exp (test_forward_search): Fix to handle very
19371 long source line without overflowing expect's input buffer.
19372
19373 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19374
19375 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19376 "buffer_full".
19377
19378 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19379 "buffer_full".
19380
19381 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19382 "buffer_full".
19383
19384 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19385 "buffer_full".
19386
19387 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19388
19389 * configure.in (configdirs): Add gdb.threads.
19390 * configure: Regenerated with autoconf.
19391 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19392 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19393 * gdb.threads/configure: New, generated with autoconf.
19394
19395 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19396
19397 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19398
19399 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19400
19401 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19402 each signal's status in the output of "handle all print".
19403 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19404 the \r\n sequence that immediately precedes the gdb prompt.
19405 * gdb.base/a1-selftest.exp: Save original timeout and restore
19406 after test.
19407
19408 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19409
19410 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19411 symbol.
19412
19413 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19414
19415 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19416
19417 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19418
19419 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19420 timeout by 60 seconds.
19421
19422 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19423
19424 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19425 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19426 error return.
19427
19428 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19429
19430 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19431 gdb initialization, also report how long dejagnu waited. Restore
19432 old timeout before doing error return. Temporarily increase timeout
19433 by 3 minutes to allow for slow startups over heavy NFS use.
19434
19435 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19436
19437 * lib/gdb.exp: Report timeout value for verbosity level 2.
19438 * config/gdbserver.exp: Ditto.
19439 * config/hppro.exp: Ditto.
19440 * config/mips-gdb.exp: Ditto.
19441 * config/monitor.exp: Ditto.
19442 * config/netware.exp: Ditto.
19443 * config/sim-gdb.exp: Ditto.
19444 * config/slite-gdb.exp: Ditto.
19445 * config/udi-gdb.exp: Ditto.
19446 * config/unix-gdb.exp: Ditto.
19447 * config/vx-gdb.exp: Ditto.
19448 * gdb.base/a1-selftest.exp: Ditto.
19449 * gdb.base/a2-run.exp: Ditto.
19450 * gdb.base/break.exp: Ditto.
19451 * gdb.base/corefile.exp: Ditto.
19452 * gdb.base/list.exp: Ditto.
19453 * gdb.base/recurse.exp: Ditto.
19454 * gdb.base/scope.exp: Ditto.
19455 * gdb.base/signals.exp: Ditto.
19456
19457 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19458
19459 * gdb.threads/Makefile.in (docdir): Removed.
19460
19461 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19462
19463 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19464 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19465 @srcdir@.
19466 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19467 autoconf 2.5 or higher.
19468 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19469
19470 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19471
19472 * configure: Regenerated.
19473 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19474 avoid name clashes with SunOS headers.
19475
19476 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19477
19478 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19479
19480 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19481
19482 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19483 prototype information ends up in the compiler info file.
19484
19485 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19486
19487 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19488 attempting to regenerate it. Eliminate use of a temporary file
19489 and just generate the info file directly. Source it immediately,
19490 for consistency of use.
19491 * gdb.base/corefile.exp: Ditto
19492 * gdb.base/exprs.exp: Ditto.
19493 * gdb.base/funcargs.exp: Ditto.
19494 * gdb.base/langs.exp: Ditto.
19495 * gdb.base/list.exp: Ditto.
19496 * gdb.base/mips_pro.exp: Ditto.
19497 * gdb.base/nodebug.exp: Ditto.
19498 * gdb.base/opaque.exp: Ditto.
19499 * gdb.base/ptype.exp: Ditto.
19500 * gdb.base/scope.exp: Ditto.
19501 * gdb.base/setvar.exp: Ditto.
19502 * gdb.base/signals.exp: Ditto.
19503 * gdb.base/whatis.exp: Ditto.
19504 * gdb.c++/templates.exp: Ditto.
19505 * gdb.c++/virtfunc.exp: Ditto.
19506 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19507 whether or not to add -lstdc++ to the compile command line args.
19508
19509 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19510
19511 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19512 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19513 Increase timeout, a lot of single stepping might be needed if the
19514 target has no hardware watchpoints.
19515
19516 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19517
19518 * gdb.base/break.exp: Ignore compiler warnings when compiling
19519 break.c.
19520 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19521 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19522 from remote-sim.
19523 * gdb.base/exprs.exp: Add h8300 xfails.
19524 * gdb.base/funcargs.exp: Likewise.
19525 * gdb.base/nodebug.exp: Likewise.
19526 * gdb.base/printcmds.exp: Likewise.
19527 * gdb.base/ptype.exp: Likewise.
19528 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19529 h8300 xfails.
19530 * gdb.base/return.exp: Handle float/double precision problems
19531 on the h8300.
19532 * gdb.base/funcargs.c: Explicitly make last constant argument to
19533 call_after_alloca_subr an unsigned long type.
19534 * gdb.base/return.c: Include stdio.h.
19535
19536 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19537
19538 * config/abug.exp: New file for the older Motorola Bug monitor
19539 that runs on the mvme13x series VME boards.
19540 * config/monitor.exp: Use the new config array for target settings
19541 if they exist.
19542
19543 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19544
19545 * sim-gdb.exp: Make the SH simulator allocate less space when
19546 it is targeted.
19547
19548 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19549
19550 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19551 test.
19552
19553 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19554
19555 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19556 "rs6000-*-*" for "list function in include file" when gcc compiled.
19557 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19558 for "p ctable1[120]".
19559 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19560 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19561 Remove setup_xfail for "rs6000-*-*" for
19562 "print 'scope0.c'::filelocal before run".
19563 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19564 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19565 since some compilers don't allow both options to be given
19566 on the same command line. Create object file and move it.
19567
19568 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19569
19570 * gdb.base/corefile.exp: Always regenerate the core file, since
19571 we always regenerate the coremaker program. Detect special case
19572 where registers cannot be read from core file.
19573
19574 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19575
19576 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19577 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19578 * gdb.c++/templates.exp: Only match on basename of file since
19579 some formats like xcoff don't encode directory information.
19580 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19581 and rs6000 AIX xcoff targets.
19582 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19583 * configure: Regenerate.
19584 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19585 here, rather than in distclean.
19586
19587 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19588
19589 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19590 defined, and use it to compile the test case with -O2. The
19591 native compilation still uses no optimization.
19592 * gdb.base/mips_pro.c: Remove inline assembly code since
19593 it is compiled PIC by default, which results in assembler
19594 warnings that make the testsuite think the compilation
19595 was unsuccessful.
19596
19597 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19598
19599 * gdb.c++/misc.exp: Add note to message for
19600 "print s.a for foo struct" that this is a known gcc 2.7.2
19601 and earlier bug.
19602
19603 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19604
19605 * gdb.base/break.exp: Fix pattern for matching "Delete all
19606 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19607 setup_xfail for deleting all breakpoints test. Fix various
19608 timeout messages to include "(timeout)".
19609 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19610 for "p t_float_values2(3.14159,float_val2)".
19611 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19612 for "continue to call2g" when gcc compiled.
19613 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19614 "up to foo in langs.exp", "show language at foo in langs.exp",
19615 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19616 and "show language at fsub in langs.exp".
19617 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19618 "list line 1 in include file", "list message for lines past EOF",
19619 "list function in include file", "list list0.h:foo", and
19620 "list filename:function; nonexistant function".
19621 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19622 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19623 and "ptype t_char_array" to be for native cc only.
19624
19625 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19626
19627 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19628 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19629 "print func2::coremaker_local", and "backtrace in corefile.exp".
19630
19631 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19632
19633 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19634 "bt in signals.exp". This problem only appears when running
19635 the testsuite, and then only intermittently.
19636
19637 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19638
19639 * gdb.base/return.exp (return_tests): Differentiate between
19640 two tests of continuing.
19641
19642 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19643
19644 * */Makefile.in (maintainer-clean): Remove config.log.
19645 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19646 * gdb.c++/Makefile.in (PROGS): Add inherit.
19647 (clean): Remove *.ci.
19648
19649 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19650
19651 * gdb.c++/misc.cc: Add test code from Mike Stump.
19652 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19653
19654 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19655
19656 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19657 to "alpha-*-osf2*" and add comment.
19658 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19659 setup_xfail for "step over execarg initialization" and
19660 "step over corearg initialization".
19661 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19662 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19663 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19664 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19665 "print func2::coremaker_local", and "backtrace in corefile.exp".
19666 * gdb.base/signals.exp: Build and source signals.ci.
19667 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19668 to be for gcc only.
19669 * lib/gdb.exp: Move verbose statements outside conditionals.
19670
19671 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19672
19673 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19674 Feb 3 procfs.c change.
19675
19676 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19677
19678 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19679
19680 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19681
19682 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19683 from dejagnu's apparent default of 10 seconds, which gives random
19684 results when running the tests over NFS on moderately loaded systems.
19685 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19686
19687 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19688
19689 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19690 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19691 result reports.
19692
19693 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19694
19695 * configure.in (CY_AC_PATH_TCLH): Remove.
19696 * configure: Regenerate.
19697
19698 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19699
19700 * gdb.c++/Makefile.in (clean): Add missing '{'.
19701
19702 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19703
19704 * lib/gdb.exp: Provide a default value for noinferior.
19705
19706 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19707 Load libgloss.exp.
19708
19709 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19710
19711 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19712 the executable, not the .o to run the tests from.
19713
19714 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19715
19716 * gdb.base/break.exp: Don't test for program exit or exit status
19717 if $noresults if nonzero.
19718 * gdb.base/langs.exp: Likewise.
19719 * gdb.base/watchpoint.exp: Likewise.
19720
19721 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19722 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19723 trying to compile the testcase.
19724
19725 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19726
19727 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19728 * gdb.base/signals.exp (continue to handler): Likewise.
19729
19730 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19731
19732 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19733
19734 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19735
19736 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19737
19738 * gdb.base/corefile.exp: Recognize "not found" as failure
19739 when trying to determine if a core file was generated.
19740 If no core file was generate the first time, try again without
19741 the ulimit -c to work around braindamaged shells.
19742
19743 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19744
19745 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19746 [] tests with "test" and enclose string in quotes.
19747 * gdb.stabs/configure: Rebuild
19748
19749 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19750
19751 Changes in sync with expect:
19752 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19753 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19754 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19755 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19756 argument to AC_REQUIRE.
19757 * configure: Regenerated.
19758
19759 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19760
19761 * gdb.base/corefile.exp: When generating a core, discard any
19762 error messages about ulimit not found and the "core dumped"
19763 message from the shell that runs the coredumper.
19764
19765 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19766
19767 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19768
19769 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19770 which sed script to run. Expect failure for v_comb test
19771 on PA targets too.
19772
19773 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19774
19775 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19776 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19777
19778 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19779
19780 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19781 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19782 "sparc-sun-solaris*" xfails for "p v_comb".
19783 * lib/gdb.exp (default_gdb_start): Fix typo.
19784 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19785 messages to not include the full program name that caused
19786 the core dump since some systems (such as solaris) apparently
19787 truncate this path to about 80 characters.
19788 When generating a core file first try increasing the core file
19789 size limit to unlimited since some systems may default it to
19790 zero, and it is harmless to try it. Move the test for failing
19791 to generate a core file to where it will actually get executed.
19792 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19793 new gdb result from g++ debug info improvements and make old
19794 pattern obsolescent. Also account for size_t differences
19795 (may be int or long).
19796 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19797 initialization before function call is placed in the delay slot
19798 and thus appears to be skipped over by commands such as "next".
19799
19800 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19801
19802 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19803
19804 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19805
19806 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19807 input source file; fix code to compile test to deal with this
19808 convention.
19809 * gdb.c++/*.exp: Likewise.
19810
19811 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19812
19813 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19814 "bt in signals.exp".
19815
19816 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19817
19818 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19819 "step over execarg initialization" and
19820 "step over corearg initialization".
19821
19822 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19823
19824 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19825 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19826
19827 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19828
19829 From Rob Savoye (rob@poseidon.cygnus.com)
19830 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19831 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19832 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19833 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19834 configure.in}: Major reworking for autoconfig.
19835 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19836 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19837 New files.
19838 * config/unix-gdb.exp: Make GDB global.
19839 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19840 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19841 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19842 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19843 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19844 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19845 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19846 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19847 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19848 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19849 pr-8136.exp, result.exp, string.exp, tuples.exp},
19850 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19851 to returns as necessary, arrange for test to compile own testcase
19852 executable.
19853 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19854
19855 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19856
19857 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19858 clear_xfail at end of test which might not call either pass or fail.
19859 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19860 "backtrace through signal handler".
19861
19862 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19863
19864 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19865 continuing from a job control stop signal.
19866 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19867
19868 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19869
19870 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19871 * gdb.base/corefile.exp: Likewise.
19872 * gdb.base/funcargs.exp: Likewise.
19873
19874 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19875
19876 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19877 * config/monitor.exp: Add support for setting baud rate.
19878
19879 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19880
19881 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19882 i*86-*-linux* xfails for "backtrace through signal handler".
19883 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19884 "print func2::coremaker_local".
19885 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19886 alpha-dec-osf2* xfail for
19887 "delete all breakpoints when none".
19888
19889 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19890
19891 * gdb.base/break.exp: Change test that deletes all breakpoints
19892 when no user breakpoints are installed. A post 4.15 change
19893 causes gdb to no longer prompt in this case.
19894
19895 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19896
19897 * gdb.base/return.exp (return_tests): Change xfail for test
19898 "correct value returned double test" to stop xfailing at
19899 Solaris 2.5. Apparently the bug has been fixed.
19900
19901 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19902
19903 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19904 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19905
19906 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19907
19908 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19909 * gdb.disasm/hppa.s: Corresponding changes.
19910
19911 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19912
19913 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19914 makefile fragment.
19915 * config/mt-hpux: Deleted.
19916
19917 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19918
19919 * Many files: When warning about suppressed tests due to a
19920 nonexistant test binary, avoid incrementing the warning count.
19921
19922 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19923
19924 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19925
19926 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19927
19928 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19929 "sparc-*-solaris2*".
19930
19931 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19932
19933 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19934 Add global and local variables and initialize them.
19935 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19936 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19937 extracts the file name and terminating signal from the core file.
19938 * TODO: Remove note about tests for correct mapping of corefile.
19939 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19940 from optimizing it away.
19941 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19942 handles common blocks.
19943
19944 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19945
19946 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19947 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19948
19949 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19950
19951 * Makefile.in (maintainer-clean): New target, synonym for
19952 realclean.
19953 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19954 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19955 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19956 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19957 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19958 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19959
19960 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19961
19962 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19963 xfails when not gcc compiled for "print foo::funclocal".
19964 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19965 "print foo::funclocal at foo",
19966 "print 'scope1.c'::foo::funclocal at foo",
19967 "print foo::funclocal_bss at foo",
19968 "print 'scope1.c'::foo::funclocal_bss at foo",
19969 "print foo::funclocal_ro at foo",
19970 "print 'scope1.c'::foo::funclocal_ro at foo",
19971 "print bar::funclocal at foo" and
19972 "print 'scope1.c'::bar::funclocal at foo".
19973 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19974 gcc compiled for "print foo::funclocal at bar".
19975 Expand all messages to ensure that they identify that
19976 the test is at bar().
19977 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19978 gcc compiled for:
19979 "ptype on opaque struct pointer (statically)",
19980 "ptype on opaque struct tagname (statically)",
19981 "ptype on opaque struct pointer (dynamically) 1",
19982 "ptype on opaque struct tagname (dynamically) 1",
19983 "ptype on opaque struct pointer (dynamically) 2" and
19984 "ptype on opaque struct tagname (dynamically) 2
19985 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19986 gcc compiled for:
19987 "p datalocal"
19988 "whatis datalocal",
19989 "ptype datalocal",
19990 "p bsslocal",
19991 "whatis bsslocal", and
19992 "ptype bsslocal".
19993 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19994 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19995 when not gcc compiled.
19996 * gdb.base/funcargs.exp (float_and_integral_args): Add
19997 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19998 compiled.
19999 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20000 "backtrace from call6a" when not gcc compiled.
20001 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20002 "backtrace from call7a" when not gcc compiled.
20003 * gdb.base/callfuncs.exp (do_function_calls):
20004 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20005 "p t_char_array_values(char_array_val2,char_array_val1)",
20006 "p t_char_array_values(char_array_val1,char_array_val2)",
20007 "p t_char_array_values("carray 1","carray 2")",
20008 "p t_char_array_values("carray 1",char_array_val2)",
20009 "p t_char_array_values(char_array_val1,"carray 2")",
20010 "p sum_args(1,{2})",
20011 "p sum_args(2,{2,3})",
20012 "p sum_args(3,{2,3,4})",
20013 "p sum_args(4,{2,3,4,5})"
20014 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20015 "backtrace in corefile.exp" when not gcc compiled.
20016
20017 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20018
20019 * gdb.base/signals.exp: Rewrite `handle all print' test as
20020 a procedure. Accept blanks or TABs as whitespace, increase
20021 timeout and expect input buffer size for the large output
20022 from the command. Remove "i*86-*-bsdi2.0" xfail.
20023
20024 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20025
20026 * gdb.base/setvar.exp: Add new testcases for truncation when
20027 assigning invalid values to bitfields.
20028
20029 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20030
20031 * gdb.base/callfuncs.exp (do_function_calls): Remove
20032 mips-sgi-irix* xfail for
20033 "call inferior func with struct - returns char *"
20034 and fix test so that an optional (unsigned char *) cast is
20035 accepted in the result.
20036
20037 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20038
20039 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20040 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20041 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20042 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20043 that accidentally got checked in.
20044
20045 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20046
20047 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20048 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20049 compiled test.
20050 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20051 Add mips-sgi-irix5* xfail for not gcc compiled.
20052 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20053 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20054 "p top", "whatis top", "p middle", and "whatis middle".
20055 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20056 "whatis signed char" for not gcc compiled.
20057 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20058 "set variable signed char=-1 (-1)" and
20059 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20060 * gdb.base/funcargs.exp (float_and_integral_args):
20061 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20062 Add mips-sgi-irix* xfail when not gcc compiled for
20063 "continue to call2b".
20064 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20065 "continue to call2g".
20066 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20067 "backtrace from call6a"
20068 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20069 "backtrace from call7k".
20070 Add mips-sgi-irix5* xfail when not gcc compiled for
20071 "backtrace from call7a".
20072 (localvars_after_alloca): Fix gdb_test cmds for
20073 "print * after runto ...".
20074 Remove rs6000-*-* xfails for
20075 "print i after runto localvars_after_alloca" and
20076 "print l after runto localvars_after_alloca"
20077 for all compilers.
20078 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20079 when not compiled with gcc, for:
20080 "print signed char == (minus)",
20081 "print signed char != (minus)",
20082 "print signed char < (minus)",
20083 "print signed char > (minus)".
20084 * gdb.base/callfuncs.exp (do_function_calls):
20085 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20086 "call inferior func with struct - returns char *".
20087 * gdb.base/return.exp (return_tests): Change xfail for
20088 "correct value returned double test" to include Solaris 2.4.
20089 * gdb.base/funcargs.exp (float_and_integral_args):
20090 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20091
20092 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20093
20094 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20095 enumeration bitfields if compiling with GNU C.
20096 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20097 to empty' prompt.
20098
20099 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20100
20101 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20102 test for PRO targets.
20103
20104 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20105 breakpoints in the inferior at any given time by making
20106 two groups of breakpoints for call2*, call6* and call7*
20107 tests.
20108
20109 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20110
20111 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20112 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20113 from optimizing it away.
20114 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20115 "call inferior func with struct".
20116
20117 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20118
20119 * configure.in: Only configure gdb.chill for particular targets.
20120
20121 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20122
20123 * gdb.base/Makefile.in: Add action to .c.o transformation
20124 rule that generates a .ci file for each .o file and remove
20125 explicit .c.o rules except for callfuncs.o.
20126 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20127 generates a .ci file for each .o file and remove explicit
20128 .cc.o rules.
20129 (clean): Remove *.tmp *.ci files.
20130 (EXECUTABLES): Remove templ-info.exp.
20131 * gdb.base/compiler.c: New file.
20132 * gdb.c++/compiler.cc: New file
20133 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20134 Change rs6000-*-* xfail for
20135 "print 'scope0.c'::filelocal_ro" and
20136 "print 'scope1.c'::filelocal" and
20137 "print 'scope1.c'::filelocal_bss" and
20138 "print 'scope1.c'::filelocal_ro" and
20139 "print 'scope1.c'::foo::funclocal" and
20140 "print 'scope1.c'::foo::funclocal_ro" and
20141 "print 'scope1.c'::bar::funclocal" and
20142 "print 'scope0.c'::filelocal_ro" and
20143 "print 'scope1.c'::filelocal at foo" and
20144 "print 'scope1.c'::filelocal_bss at foo" and
20145 "print 'scope1.c'::filelocal_ro at foo" and
20146 "print 'scope1.c'::foo::funclocal at foo" and
20147 "print 'scope1.c'::foo::funclocal_bss at foo" and
20148 "print 'scope1.c'::foo::funclocal_ro at foo" and
20149 "print 'scope1.c'::bar::funclocal at foo" and
20150 "print 'scope0.c'::filelocal_ro" and
20151 "print 'scope1.c'::filelocal" and
20152 "print 'scope1.c'::filelocal_bss" and
20153 "print 'scope1.c'::filelocal_ro" and
20154 "print 'scope1.c'::foo::funclocal" and
20155 "print 'scope1.c'::foo::funclocal_bss" and
20156 "print 'scope1.c'::foo::funclocal_ro" and
20157 "print 'scope1.c'::bar::funclocal" and
20158 "print 'scope1.c'::bar::funclocal_bss"
20159 to only be xfail'd when not compiled with gcc.
20160 Add rs6000-*-* xfail for
20161 "print 'scope0.c'::filelocal_bss before run"
20162 when compiled with gcc.
20163 (test_at_main): Add rs6000-*-* xfail for
20164 "print filelocal_ro in test_at_main"
20165 when compiled with gcc.
20166 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20167 Add rs6000-*-aix* xfail for
20168 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20169 "ptype t_char_array", not compiled with gcc.
20170 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20171 xfail for "list foo (in include file)" when gcc compiled.
20172 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20173 (integral_args): Add rs6000-*-* xfail for
20174 "run to call0a" if not compiled with gcc.
20175 (unsigned_integral_args): Add rs6000-*-* xfail for
20176 "run to call1a" if not compiled with gcc.
20177 (float_and_integral_args): Add rs6000-*-* xfail for
20178 "run to call2a" if not compiled with gcc and for
20179 "continue to call2b" for any compiler.
20180 Add rs6000-*-* xfail to
20181 "print f1 after run to call2a" for gcc compiled.
20182 (discard_and_shuffle): Add rs6000-*-* xfail for
20183 "run to call6a".
20184 (shuffle_round_robin): Add rs6000-*-* xfail for
20185 "backtrace from call7a" if not compiled with gcc.
20186 Add rs6000-*-* xfail for
20187 "backtrace from call7b" if compiled with gcc.
20188 (call_after_alloca): Add rs6000-*-* xfail for
20189 "print c in call_after_alloca" and
20190 "print s in call_after_alloca" and
20191 "backtrace from call_after_alloca_subr"
20192 if not compiled with gcc.
20193 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20194 "print c in localvars_in_indirect_call" and
20195 "print c in localvars_in_indirect_call" and
20196 "backtrace in indirectly called function" and
20197 "stepping into indirectly called function"
20198 if not compiled with gcc.
20199 (localvars_after_alloca): Add rs6000-*-* xfail for
20200 "print c after runto localvars_after_alloca" and
20201 "print s after runto localvars_after_alloca" and
20202 "print i after runto localvars_after_alloca" and
20203 "print l after runto localvars_after_alloca"
20204 for all compilers.
20205 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20206 than whatis-info.exp.
20207 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20208 than opaque-info.exp.
20209 Setup rs6000-*-* xfail for
20210 "ptype on opaque struct pointer (statically)" and
20211 "ptype on opaque struct pointer (dynamically)" when
20212 not compiled with gcc.
20213 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20214 rather than callf-info.exp.
20215 (do_function_calls): Add clear_xfail for rs6000-*-* for
20216 "p t_float_values2(3.14159,float_val2)". Seems to work
20217 fine there, both with xlc and gcc. Need to find out what
20218 it is doing right and fix other platforms.
20219 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20220 "call inferior func with struct - returns int",
20221 "call inferior func with struct - returns long",
20222 "call inferior func with struct - returns float",
20223 "call inferior func with struct - returns double",
20224 "call inferior func with struct - returns char *",
20225 but only if not gcc compiled (presumes xlc compiled).
20226 Change rs6000-*-* xfails for
20227 "call inferior func with struct - returns char" and
20228 " call inferior func with struct - returns short" to only
20229 xfail if not using gcc.
20230 (clean mostlyclean): Remove *.ci and *.tmp files.
20231 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20232 than templ-info.exp.
20233 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20234 Add rs6000-*-* xfail for "up to foo in langs.exp"
20235 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20236 when not gcc compiled.
20237
20238 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20239
20240 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20241 * gdb.base/corefile.exp: Likewise.
20242 * gdb.base/list.exp: Likewise.
20243 * gdb.base/scope.exp: Likewise.
20244 * gdb.base/siganls.exp: Likewise.
20245
20246 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20247 compiler output.
20248 * gdb.base/whatis.exp: Likewise.
20249
20250 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20251
20252 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20253 failure (opcode table has been fixed to match reality).
20254
20255 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20256
20257 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20258 "call inferior func with struct - returns char",
20259 "call inferior func with struct - returns short"
20260
20261 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20262 "print 'scope0.c'::filelocal at main",
20263 "print 'scope0.c'::filelocal_bss in test_at_main",
20264 "print 'scope0.c'::filelocal at foo",
20265 "print 'scope0.c'::filelocal_bss in test_at_foo",
20266 "print 'scope0.c'::filelocal at bar",
20267 "print 'scope0.c'::filelocal_bss in test_at_bar"
20268
20269 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20270 in source file 1". This bug seems to have been fixed with both
20271 gcc and native cc (was native assembler bug?).
20272
20273 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20274
20275 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20276 "backtrace through signal handler" to "i*86-*-sysv4*".
20277 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20278 continue" case. Add "known SVR4 bug" to fail message.
20279 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20280 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20281 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20282 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20283 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20284 "up to foo in langs.exp", "show language at foo in
20285 langs.exp", "up to cppsub_ in langs.exp", "show
20286 language at cppsub_ in langs.exp", "up to fsub in
20287 langs.exp", and "show language at fsub in langs.exp".
20288 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20289 "bactrace in corefile.exp".
20290 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20291 "call inferior function with struct - returns float" and
20292 "call inferior function with struct - returns double".
20293
20294 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20295
20296 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20297 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20298 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20299 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20300
20301 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20302
20303 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20304 (or overriden) "CHILL" macro rather then bare "gcc".
20305 Also look for ../../gcc/xgcc since that is what we will
20306 actually need, not "Makefile". Remove following assignment
20307 of CHILL to CHILL_FOR_TARGET because that results in
20308 recursive definition.
20309
20310 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20311
20312 * gdb.base/corefile.exp: Change xfail for backtrace in
20313 corefile.exp from linuxaout to all linux.
20314 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20315 cases where we miss the breakpoint at the signal handler
20316 for some reason. Setup xfail for linuxoldld/linuxaout and
20317 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20318 hitting SIGURG breakpoint.
20319 * gdb.base/signals.exp: Setup xfail for "next" acting like
20320 continue to add linuxoldld. Setup xfail for all linux for
20321 "next to handler in signals_tests_1", "backtrace in
20322 signals_tests_1", "continue to func1", "pass SIGUSR1",
20323 and continue to handler".
20324
20325 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20326
20327 * Update all FSF addresses except those in COPYING* files.
20328
20329 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20330
20331 * gdb.base/a2-run.exp: Change messages to be more explicit about
20332 the status of args, and quote binfile in results.
20333
20334 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20335
20336 * gdb.base/callfuncs.exp: Add tests for passing structs to
20337 inferior functions and return various types.
20338 * gdb.base/callfuncs.c: Add functions to receive a struct
20339 and return a member of the struct, in various types.
20340
20341 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20342
20343 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20344
20345 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20346
20347 * config/vxworks29k.exp: New file, sources vxworks.exp.
20348
20349 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20350
20351 * config/gdbremote.exp: New file. Testing framework using
20352 gdbserver.
20353
20354 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20355
20356 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20357 "call function when asleep" and "send end of file".
20358 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20359 for "backtrace in corefile.exp".
20360 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20361 for "backtrace through signal handler".
20362 * gdb.base/corefile.exp: Make sure we actually generate a core file
20363 before trying the core tests. Some systems allow the user to suppress
20364 generation of core files and default to that (linux for example).
20365 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20366 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20367
20368 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20369
20370 * gdb.threads: New directory with some crude multi-threaded
20371 gdb tests (step.exp and step2.exp).
20372 * config/mt-lynx (STEP_EXECUTABLE): Define.
20373 (THREADFLAGS): Define.
20374
20375 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20376
20377 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20378
20379 * gdb.base/signals.exp: Disable whole file for lynx until
20380 further notice.
20381
20382 * gdb.base/signals.exp: xfail test where "next" acts like
20383 "continue" for lynx.
20384
20385 * gdb.base/interrupt.exp: xfail test for calling function while
20386 inferior is asleep for lynx.
20387
20388 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20389 than one cr-lf after each command.
20390
20391 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20392
20393 * configure.in: Reinstate setting of stabsdirs variable, fix
20394 typo in setting up configdirs for native builds.
20395
20396 * gdb.base/return.exp: Fix typo in return double test.
20397 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20398 compiler from optimizing them away.
20399
20400 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20401
20402 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20403 sequences to be echo'd by gdb when using gdb_test.
20404 * gdb.chill/chexp.exp: Likewise.
20405 * gdb.fortran/exprs.exp: Likewise
20406
20407 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20408
20409 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20410 after the inferior gdb has started.
20411
20412 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20413 after each command.
20414 * gdb.base/funcargs.exp: Likewise.
20415 * gdb.base/gdbvars.exp: Likewise.
20416 * gdb.base/interrupt.exp: Likewise.
20417 * gdb.base/list.exp: Likewise.
20418 * gdb.base/watchpoint.exp: Likewise.
20419 * gdb.c++/demangle.exp: Likewise.
20420 * gdb.c++/inherit.exp: Likewise.
20421 * gdb.chill/chexp.exp: Likewise.
20422 * gdb.fortran/exprs.exp: Likewise.
20423
20424 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20425 test if we can't handle IO to/from the inferior.
20426
20427 * gdb.c++/misc.exp: Always check for a program already being
20428 started after sending a "run" command to gdb.
20429
20430 * gdb.base/twice.exp: Start with a fresh gdb.
20431
20432 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20433 only depend on gdb's expression code, not the chill runtime.
20434
20435 * gdb.base/return.c: Put return values into variables so we
20436 can have gdb print them rather than depending on the program
20437 to print them.
20438 * gdb.base/return.exp: Corresponding changes.
20439
20440 * lib/gdb.exp: Provide default value for noinferiorio.
20441 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20442 the inferior.
20443
20444 * gdb.base/break.exp: Always check for a program already being
20445 started after sending a "run" command to gdb.
20446 (text_next_with_recursion): Don't check the output from the
20447 program's printf statement. Instead just make sure the program
20448 exited.
20449
20450 * gdb.base/commands.exp: Protect tests which need arguments with
20451 $noargs conditionals.
20452
20453 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20454
20455 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20456 of structure member arrays to match gdb/valops.c:value_addr change.
20457
20458 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20459
20460 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20461 cases.
20462
20463 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20464
20465 * configure.in (configdirs): Remove gdb.chill from default list
20466 of subdirs and then add it back in only if doing a native build.
20467 The current chill compiler does not yet work in any cross build.
20468 * Revert all signal changes from Jul 6.
20469 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20470 for sh-hms targets, allowing these tests to link, with no other
20471 changes. Testing is suppressed by setting "nosignals" in site.exp.
20472
20473 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20474
20475 * configure.in (signaldirs): Define and add to configdirs for all
20476 targets except some specific ones that are known to not support signals.
20477 Also clean up formatting.
20478 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20479 (signals, sigall): Remove rules to build.
20480 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20481 Moved to new gdb.signals directory.
20482 * gdb.signals: New test directory.
20483 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20484 signals.c signals.exp}: New or moved files.
20485
20486 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20487
20488 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20489
20490 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20491
20492 * gdb.base/return.exp: Xfail `return double' test failure
20493 on at least Solaris 2.3 and handle future/past versions on
20494 a case by case basis as appropriate. Also update message
20495 to include i*86 failures.
20496
20497 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20498
20499 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20500
20501 * lib/gdb.exp: Fix comment which erroneously identified
20502 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20503 gdb_file_cmd not gdb_load).
20504 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20505
20506 * gdb.base/setvar.exp: Make test names consistent between pass and
20507 fail cases. Use gdb_test more.
20508
20509 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20510
20511 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20512
20513 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20514
20515 * gdb.base/help.exp: Fix expected help string for `show commands'.
20516
20517 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20518
20519 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20520
20521 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20522 of a text section.
20523
20524 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20525
20526 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20527 that loop eventually terminates. Fix Connection refused logic so
20528 that testsuite will expire nicely.
20529
20530 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20531
20532 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20533 config/rom68k.exp: New tcl glue for the appropriate monitors.
20534 These all just end up calling monitor.exp.
20535 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20536 refused' by retrying. Cleanup some timeout issues.
20537 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20538 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20539 callers don't have to set/restore global timeout variable.
20540
20541 * The following set of changes centralizes management of the global
20542 timeout variable. This way, it can be set in one target dependent
20543 place instead of dozens of places scattered throughout the test suite.
20544 If you need to lengthen a timeout, then you should either set timeout
20545 in one of the config/{target}.exp files, or multiply it by a factor.
20546 Setting it to an absolute value is always going to lose for some
20547 targets.
20548 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20549 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20550 * gdb.base/funcargs.exp: Don't set timeout.
20551 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20552 * gdb.base/printcmds.exp (test_print_string_constants
20553 test_print_array_constants): Don't set timeout.
20554 * gdb.base/ptype.exp: Don't set timeout.
20555 * gdb.base/recurse.exp: Don't set timeout.
20556 * gdb.base/return.exp: Don't set timeout.
20557 * gdb.base/watchpoint.exp: Don't set timeout.
20558 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20559 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20560
20561 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20562
20563 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20564
20565 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20566
20567 * lib/gdb.exp: Disable chill tests for irix5.
20568
20569 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20570
20571 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20572 each test pass or fail.
20573
20574 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20575
20576 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20577 xlc not gcc.
20578
20579 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20580
20581 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20582
20583 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20584
20585 * config/est.exp: Fix copyright and comments. Remove dead code.
20586 Use targetname, serialport and baud variables instead of fixed
20587 constants.
20588 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20589 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20590
20591 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20592
20593 * gdb.base/watchpoint.exp: Don't run
20594 test_watchpoint_triggered_in_syscall for sunos.
20595
20596 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20597
20598 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20599 they don't seem to exist. Do include stdio.h.
20600
20601 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20602
20603 * gdb.base/a1-selftest.exp: Add alpha xfail.
20604
20605 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20606
20607 * gdb.base/watchpoint.c (main): Prompt before calling read().
20608 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20609 Revise accordingly. Remove cruft about sending "123" several
20610 times, until it gets noticed. Clean up the "print buf[0]" stuff
20611 so that it passes or fails, and waits for prompts in the usual way.
20612
20613 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20614
20615 * gdb.base/recurse.exp: Fix comment.
20616
20617 * TODO: Remove item about printing variables in nodebug.exp. Add
20618 item about enabling tests which are only run on some targets.
20619
20620 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20621 fail, make test names unique, use new gdb_test convention
20622 regarding pattern, use gdb_test more, etc.).
20623
20624 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20625 fail, make test names unique, etc.).
20626
20627 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20628
20629 * gdb.base/nodebug.c: Change return type of top and middle to
20630 short.
20631 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20632 are fixed by the recent mdebugread.c changes. Allow `short ()'
20633 as type for top and middle.
20634
20635 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20636
20637 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20638 nearly as I can tell, the whole thing was an accident in Stu's
20639 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20640 to replace a send/expect pair with gdb_test, but ended up only
20641 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20642 of 30 Mar 1995 took care of it, but left this vestigial comment
20643 which I am now nuking.
20644
20645 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20646
20647 * gdb.base/break.exp: Look for different line number for
20648 breakpoint at main depending on usestubs.
20649
20650 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20651
20652 * gdb.base/list.exp: Adjust some alternate expect patterns to
20653 match recent list0.c change. Add alternate expect pattern for
20654 output from `list default lines around main' for optimizing
20655 compilers.
20656
20657 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20658
20659 * lib/gdb.exp: If nosignals is not set, set it to 0.
20660
20661 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20662
20663 * config/slite-gdb.exp: Responds to load symbol table prompt.
20664 * gdb.base/break.exp: Adjust line number, fix rerun.
20665 * gdb.base/langs0.c: Add #ifdef usestubs.
20666
20667 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20668
20669 * gdb.base/list.exp: Adjust line contents after adding new lines in
20670 list0.c. Also fix a syntax error.
20671
20672 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20673 * gdb.base/break.exp: ditto.
20674 * gdb.base/list.exp: ditto.
20675 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20676 * gdb.base/run.c: ditto.
20677 * gdb.base/list0.c: ditto.
20678 * gdb.base/funcargs.c: ditto.
20679
20680 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20681
20682 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20683 $targetname, $serialport and $baud instead of hardwired variables.
20684 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20685 target doesn't support signals.
20686
20687 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20688
20689 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20690
20691 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20692
20693 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20694 Don't rely on the value of an auto variable before it has been
20695 initialized. Use gdb_test more.
20696
20697 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20698
20699 * lib/gdb.exp (default_gdb_version): A version number must start
20700 with a digit, but other than that contains all characters up to
20701 the first whitespace character.
20702
20703 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20704
20705 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20706
20707 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20708
20709 * gdb.c++/*.exp: Warn if executable does not exist. The original
20710 reason for skipping the warning was that configure.in sometimes
20711 intentionally skipped building the executables but the tcl code
20712 had no way of knowing. That (a) was always bogus with respect to
20713 error handling, (b) is no longer true (right now there is no way
20714 to skip C++ tests).
20715
20716 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20717
20718 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20719
20720 * gdb.base/list.exp: Add expect patterns for output from
20721 SunPRO compiled executables.
20722 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20723 types.
20724
20725 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20726
20727 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20728 number (we are already testing that the correct source line text
20729 gets printed).
20730
20731 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20732 that is what is intended, but something needed to be done to get
20733 sunos4 native working again.
20734
20735 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20736
20737 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20738 apparently went with a (very) old xfail.
20739
20740 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20741
20742 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20743 runto_main is a proc in gdb.exp that will do 'step' for target use
20744 stubs.
20745 * gdb.base/exprs.exp: ditto.
20746 * gdb.base/interrupt.exp: ditto.
20747 * gdb.base/opaque.exp: ditto.
20748 * gdb.base/printcmds.exp: ditto.
20749 * gdb.base/ptype.exp: ditto.
20750 * gdb.base/scope.exp: ditto.
20751 * gdb.base/setvar.exp: ditto.
20752 * gdb.base/signals.exp: ditto.
20753 * gdb.base/twice.exp: ditto.
20754 * gdb.c++/classes.exp: ditto.
20755 * gdb.c++/inherit.exp: ditto.
20756 * gdb.c++/templates.exp: ditto.
20757 * gdb.base/break.exp: no run and hit main for stubs. Change line
20758 numbers for breakpoints and info breakpoint.
20759 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20760 breakpoint().
20761 * gdb.base/callfuncs.c: ditto.
20762 * gdb.base/exprs: ditto.
20763 * gdb.base/interrupt.c: ditto.
20764 * gdb.base/opaque0.c: ditto.
20765 * gdb.base/printcmds.c: ditto.
20766 * gdb.base/ptype.c: ditto.
20767 * gdb.base/scope0.c: ditto.
20768 * gdb.base/setvar.c: ditto.
20769 * gdb.base/signals.c: ditto.
20770 * gdb.base/twice.c: ditto.
20771 * gdb.c++/misc.cc: ditto.
20772 * gdb.c++/templates.cc: ditto.
20773
20774 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20775
20776 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20777
20778 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20779 somewhere between `read' and `main.c'. I'm pretty sure the
20780 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20781 and it isn't particularly useful.
20782
20783 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20784
20785 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20786
20787 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20788
20789 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20790
20791 * config/mt-slite: add LIBS and -nostdlib.
20792 * config/slite-gdb.exp: add this new file to support sparclite target.
20793
20794 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20795
20796 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20797
20798 * gdb.base/a2-run.exp: Change argument to istarget from
20799 "*-*-vxworks" to "*-*-vxworks*".
20800 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20801
20802 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20803
20804 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20805 will not runto main but do a 'step' to step out of breakpoint().
20806 * config/mt-slite: add -Dusestubs.
20807
20808 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20809
20810 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20811 instead of just @.
20812
20813 * gdb.base/signals.exp: Add test for "handle all print".
20814 * TODO: Remove "handle all print". Also remove item about
20815 checking copyright date (I don't like the idea of a spurious FAIL
20816 based on when we run the tests).
20817
20818 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20819 for SunOS4 (reason for failure not investigated). Remove
20820 redundant test for $binfile.
20821
20822 * gdb.base/nodebug.c (array_index): Call malloc.
20823
20824 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20825
20826 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20827
20828 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20829 conventions and slightly simplify the matching regexp.
20830
20831 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20832
20833 * gdb.base/break.exp: Update gdb_test invocation to use new
20834 convention.
20835
20836 * lib/gdb.exp: If noargs is not set, set it to 0.
20837
20838 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20839 tests unique.
20840
20841 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20842
20843 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20844
20845 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20846 one argument of type "<non-float parameter>".
20847
20848 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20849
20850 * config/rom68k.exp: New file to support Motorola IDP board.
20851 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20852 * gdb.base/break.c: Change things around so that this program
20853 doesn't depend upon args. This is necessary to make remote
20854 targets work (in general, they can't take args).
20855 * gdb.base/break.exp: Don't try to send args to program. Don't
20856 expect output. Also, replace lots of code with gdb_test.
20857
20858 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20859
20860 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20861 printing of '\'' (which is what the comment says we are testing,
20862 even though we were not), not '''.
20863 (test_integer_literals_rejected): Test that printing ''' is an error.
20864
20865 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20866 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20867 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20868 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20869 Use gdb_test not test_print_accept.
20870 * lib/gdb.exp: Remove test_print_accept.
20871
20872 * gdb.base/signals.exp (signal_tests_1): Make pass message
20873 consistent with fail message.
20874
20875 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20876 unsigned char; the bug (PR 1821) is fixed.
20877
20878 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20879
20880 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20881 successful tests--makes xfailing them work right.
20882
20883 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20884
20885 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20886 only \r\n, not .*. The test can pass .* as the last thing in
20887 $pattern if that is what it wants. In addition to providing this
20888 flexibility, this change should speed up pattern matching in cases
20889 where the pattern already ended with .* (there were a number of
20890 them). This change also helps catch bad patterns--in the old
20891 scheme the typo "char \*" instead of "char \\*" would pass. Now
20892 it is caught.
20893 * Many .exp files: Update callers.
20894
20895 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20896 clearer and does not spuriously match multiple ('s. Likewise for
20897 ) and *.
20898
20899 * gdb.base/nodebug.exp: Test ability to call a function and pass
20900 it a string (even with no debugging info).
20901
20902 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20903 "p '\'", which is the same as "p ''" once tcl gets done with
20904 quoting, to "p '\\'", which I suspect is what is intended (one
20905 backslash gets sent to GDB).
20906
20907 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20908
20909 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20910
20911 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20912 1817) was fixed literally years ago.
20913
20914 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20915
20916 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20917 test, it causes stepping out of call_after_alloca_subr with
20918 optimizing compilers.
20919 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20920 fails.
20921
20922 * gdb.c++/templates.exp: Source templ-info.exp only if
20923 the templates executable exists.
20924
20925 * gdb.c++/misc.cc (class Contains_static_instance,
20926 class Contains_nested_static_instance),
20927 gdb.c++/classes.exp (test_static_members): Test printing of
20928 a class that contains a static instance of the class.
20929
20930 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20931
20932 * gdb.base/langs2.c (cppsub_): Don't prototype.
20933 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20934 only, I believe).
20935
20936 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20937
20938 * lib/gdb.exp (skip_chill_tests): New procedure.
20939
20940 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20941
20942 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20943
20944 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20945 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20946
20947 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20948
20949 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20950
20951 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20952 disassemble 8, not 16, instructions for part 4.
20953
20954 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20955 support the latter anymore.
20956
20957 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20958 -DNO_PROTOTYPES.
20959 * gdb.base/callfuncs.c: Control use of prototypes based on
20960 NO_PROTOTYPES, not __STDC__.
20961 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20962 t_float_values2 tests if prototypes in use.
20963
20964 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20965 t_double_values): When checking differences against DELTA, check
20966 that difference is within the range (-DELTA,DELTA), not just
20967 (-infinity,DELTA).
20968
20969 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20970
20971 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20972 'file' command firts, then 'target', then 'load', this is due to gdb
20973 target set up.
20974 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20975
20976 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20977
20978 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20979 FP load/store variants.
20980 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20981
20982 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20983
20984 * gdb.base/term.exp: Do not give a warning if not native, it is
20985 not an abnormal condition.
20986
20987 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20988
20989 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20990 t_char_array".
20991
20992 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20993
20994 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20995 are getting the version number.
20996
20997 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20998 if not native, it is not an abnormal condition.
20999
21000 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21001
21002 * lib/gdb.exp: Just use "file exists", rather than undocumented
21003 dejagnu procedure "findfile".
21004
21005 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21006
21007 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21008 (LDFLAGS): Set to -Xlinker -Ur.
21009
21010 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21011 Removed, these values are set by lib/gdb.exp.
21012
21013 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21014
21015 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21016
21017 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21018 of replicating gdb startup code.
21019
21020 * config/mt-vxworks (LDFLAGS): Set to -r.
21021 (CFLAGS_FOR_TARGET): Removed.
21022
21023 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21024 (gdb) and gdb for vxworks uses (vxgdb).
21025
21026 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21027 executable is not in the tree and host != target, use sed and
21028 program_transform_name to determine the gdb name used by the
21029 target.
21030
21031 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21032 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21033
21034 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21035
21036 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21037 floats, chars, and shorts where there are ANSI-style function
21038 definitions.
21039
21040 * gdb.base/langs.exp, gdb.base/langs*: New test.
21041 * gdb.base/Makefile.in: Build it.
21042 * TODO: Remove item about checking that C names don't get C++
21043 demangling applied; this test tests it.
21044
21045 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21046
21047 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21048 went with the const70 xfail. The xfail went away a year ago.
21049
21050 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21051
21052 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21053 for hp300.
21054
21055 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21056
21057 * gdb.base/a1-selftest.exp: Don't run on hp300.
21058
21059 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21060
21061 * Makefile.in (site.exp): Set host_alias and target_alias as well
21062 as host_triplet and target_triplet.
21063
21064 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21065
21066 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21067
21068 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21069 places as other ecoff systems).
21070
21071 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21072 ultrix.
21073
21074 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21075
21076 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21077 remove them.
21078 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21079 variable and "variable" in addition to "data variable".
21080 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21081
21082 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21083 2.
21084 * gdb.base/list1.c (long_line): Add additional statement at start
21085 of function.
21086 * gdb.base/list.exp (test_forward_search): Update line number to
21087 reflect new statement.
21088
21089 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21090
21091 * gdb.base/signals.exp: Reinitialize searched source directories
21092 after gdb_start call.
21093
21094 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21095
21096 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21097 * gdb.stabs/Makefile.in: Likewise.
21098
21099 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21100 change. Instead split the tests into smaller pieces.
21101 * gdb.disasm/hppa.s: Corresponding changes.
21102
21103 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21104
21105 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21106 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21107
21108 * gdb.base/funcargs.exp: Modify many tests so that every test
21109 either passes or fails. Make some test names unique.
21110
21111 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21112
21113 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21114 Call stty to set interrupt character.
21115
21116 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21117 for HP assembler versus GNU assembler based on actual behavior of
21118 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21119
21120 * TODO: Suggest a few more stepping tests.
21121
21122 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21123
21124 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21125 restart GDB for h8300 after a continue.
21126 (return): Add pattern to match a29k-udi behavior.
21127 * gdb.base/nodebug.exp: Remove obsolete comment.
21128 * gdb.base/regs.exp: New file, testing of register displays.
21129 * gdb.base/return.exp: Fix typo in reference to $objdir.
21130 * gdb.base/whatis.exp: Always start with a fresh GDB.
21131
21132 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21133
21134 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21135 higher, these tests generate a lot of output.
21136
21137 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21138
21139 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21140 code following the catch silently ignored some errors; without the
21141 catch they should be thrown like any other tcl error. Also, the
21142 catch used "" instead of {} which meant all the callers who wanted
21143 to include one of the characters "[]$ had to quote it an extra time.
21144 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21145 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21146 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21147 Remove extra quoting.
21148
21149 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21150
21151 * gdb.base/commands.exp: Make test names unique; every test either
21152 passes or fails. Update some comments.
21153
21154 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21155
21156 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21157
21158 The following fixes a FAIL caused by the fact that the alpha stabs
21159 configuration didn't use the ".if alpha" code in weird.def.
21160 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21161 bit pointer, so the 32 bit version works even on the alpha.
21162 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21163 Remove the stuff which allowed us to have separate versions for
21164 alpha and everything else.
21165
21166 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21167 regexp which "info func operator\[\](" is supposed to match. Fix
21168 string to send to GDB. Note that GDB still doesn't work right. Add a
21169 new test for "info func .perator\[\](" which GDB does handle correctly.
21170
21171 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21172
21173 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21174
21175 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21176 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21177 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21178 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21179 it makes the tests harder to understand and confuses test-o-matic.
21180 The preferred style is that each test provides a PASS or a FAIL,
21181 and has a unique message (e.g. "continue #54" not just "continue")
21182 which is the same for the pass and the fail.
21183 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21184 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21185 to lib/gdb.exp.
21186 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21187 prt_accept which was basically the same thing. Likewise for
21188 test_print_reject and prt_reject.
21189 * lib/gdb.exp (test_print_reject): Add some more error message
21190 patterns to match from the former printcmds.exp (prt_reject).
21191 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21192 One defect of the passcount stuff is that some of it failed to
21193 report XPASS where appropriate.
21194 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21195 stuff before and after arg in expected pattern.
21196 (test_paddr_operator_functions): Re-do test without print_addr_of;
21197 this is the only test which seems to want extra stuff there.
21198
21199 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21200
21201 * gdb.base/nodebug.exp: Update new tests to reflect improved
21202 wording of gdb output.
21203
21204 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21205 and "ptype" work on variables in files compiled without -g.
21206 Replaces commented out "maint print msymbol" tests.
21207
21208 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21209
21210 * gdb.base/setvar.c (dummy): Call malloc.
21211
21212 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21213 losing with the irix4 sed.
21214
21215 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21216 ALRM" on irix4.
21217
21218 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21219
21220 * TODO: Remove items about corefile.exp testing new exec-file and
21221 backtrace; both are now done. Add items about printing enums.
21222
21223 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21224
21225 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21226 "get signal $thissig" test fails.
21227
21228 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21229
21230 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21231
21232 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21233 compiler warning with dec alpha compiler.
21234
21235 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21236 extra \n from gdb_test call (this explains why the prompt test
21237 that I removed yesterday was there).
21238 (user_defined_command_test): Remove extra \n and prompt test.
21239
21240 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21241 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21242 doesn't exist.
21243 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21244 Also remove alpha workaround, which turns out to be because
21245 SIGABRT == SIGLOST.
21246
21247 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21248
21249 * gdb.base/help.exp: Don't test "help show".
21250
21251 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21252
21253 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21254 "set print address" is on.
21255 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21256 pass prompt to gdb_test; gdb_test already looks for the prompt.
21257
21258 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21259
21260 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21261 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21262 was to make sure that gdb can read a core file. But (a) the "read
21263 the corefile" part didn't make it to a1-selftest.exp, we just
21264 delete the corefile after creating it, and (b) we test reading
21265 corefiles in corefile.exp anyway. Also, this test left around a
21266 xgdb process on Solaris.
21267
21268 * gdb.base/corefile.exp: Also test backtrace.
21269
21270 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21271
21272 * gdb.base/commands.exp: Test a simple user defined command with
21273 arguments and if/while statements; verify the full user command is
21274 printed by "show user".
21275
21276 * gdb.base/commands.exp: Test if/while commands as part of a
21277 breakpoint command list; verify they appear in breakpoint
21278 information.
21279
21280 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21281
21282 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21283 than by dividing by zero.
21284
21285 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21286
21287 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21288 performing an inferior call with watchpoints enabled.
21289 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21290 call.
21291
21292 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21293
21294 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21295 of "file" command.
21296
21297 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21298 Add additional pattern for when "int operator int(void);" appears
21299 in a different order.
21300
21301 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21302
21303 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21304
21305 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21306 and "signal" with ".*".
21307
21308 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21309
21310 * TODO: Add note about "handle all nostop".
21311
21312 * gdb.base/{sigall.c, sigall.exp}: New test.
21313 * gdb.base/Makefile.in: Add it.
21314
21315 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21316
21317 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21318 when invoking GDB, suppresses any windowing interface.
21319
21320 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21321
21322 * config/sim-gdb: New file, simulator testing support.
21323
21324 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21325
21326 * gdb.base/interrupt.exp: Test calling func1 twice.
21327
21328 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21329
21330 * gdb.base/list.exp (test_forward_search): Set timeout higher
21331 when we'll be getting lots of output from gdb.
21332
21333 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21334 "init_malloc" to after the expect statement. Run it if that
21335 regexp is taken, but also for two others which happen if source
21336 cannot be found.
21337
21338 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21339
21340 * gdb.base/printcmds.exp: New test, for printing register before
21341 program is running.
21342
21343 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21344
21345 * gdb.base/list.exp: Correct some alternate expect patterns
21346 to reflect changes in list1.c.
21347
21348 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21349
21350 * TODO: Add item regarding large frames.
21351
21352 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21353
21354 * TODO: Remove item about enabling return.exp; it
21355 is enabled. Suggest a few more "return" tests.
21356
21357 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21358
21359 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21360 anonymous unions.
21361
21362 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21363
21364 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21365 and pr-5646.o, so "make" is the same as "make all", not "make
21366 pr-4975.o".
21367
21368 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21369
21370 * gdb.base/list.exp: Adjust expectations to reflect changes in
21371 list1.c.
21372 (test_forward_search): New test proc.
21373 * gdb.base/list1.c (long_line): New function, has long source line.
21374
21375 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21376
21377 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21378 additional line of code that was added.
21379
21380 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21381
21382 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21383 tests so as not to overflow expect's input buffers.
21384 * gdb.disasm/hppa.exp: Corresponding changes.
21385
21386 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21387
21388 Beginnings of template debugging tests.
21389 * gdb.c++/templ-info.cc: New file to test for template
21390 debugging capability of the compiler.
21391 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21392 templ-info.cc.
21393 * gdb.c++/templates.cc: Add explicit template instantiations
21394 to enable compiling with -fno-implicit-templates. Add destructor
21395 and 'value' method to T5 class for template tests.
21396 * gdb.c++/templates.exp: Add testcases for printing of template
21397 types, setting breakpoints on template methods and calling a
21398 template method.
21399
21400 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21401
21402 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21403 branch target since some assemblers (gas-2.5) may emit a
21404 relocation for the branch instead of resolving it in the
21405 assembler.
21406
21407 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21408
21409 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21410 through signal handler.
21411
21412 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21413
21414 * configure.in (*-*-netware): Use config/mt-netware.
21415
21416 * config/mt-netware: New file.
21417 * config/mt-i386-netware: Removed, separate configs for different
21418 netware architectures are no longer needed now that we have
21419 --with-headers.
21420
21421 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21422
21423 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21424 by the recent changes to use ANSI C arithmetic conversions.
21425
21426 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21427
21428 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21429 bug involving using inferior_pid to figure out whether to select a
21430 frame.
21431
21432 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21433
21434 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21435 match the current disassembler output.
21436
21437 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21438
21439 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21440 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21441 types, expect "int" as type of integer values (for now).
21442
21443 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21444
21445 * gdb.base/commands.exp: New tests for if/while commands.
21446
21447 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21448
21449 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21450 by .*, since hex values have different syntax in Chill mode.
21451
21452 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21453
21454 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21455 linefeed from expect pattern for repeated types with indices > 9.
21456
21457 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21458
21459 First part of Fortran test suite.
21460 * gdb.fortran: New directory.
21461 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21462
21463 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21464
21465 * gdb.base/default.exp: Update expect pattern for load command
21466 without arguments.
21467
21468 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21469
21470 * configure.in: Change i386 to i[345]86.
21471 * gdb.base/configure.in: Likewise.
21472 * gdb.c++/configure.in: Likewise.
21473 * gdb.chill/configure.in: Likewise.
21474
21475 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21476
21477 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21478 patterns, since that is not a valid context for comments.
21479
21480 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21481
21482 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21483 repeated types and repeated types with indices > 9.
21484
21485 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21486
21487 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21488 2417; old bug has been fixed.
21489
21490 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21491
21492 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21493 send the newline ourselves instead of assuming gdb_test will do
21494 so when passed an empty input string.
21495
21496 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21497 stabs testcode.
21498
21499 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21500
21501 * lib/gdb.exp (gdb_test): Don't send anything if the first
21502 argument is an empty string. This makes cases where we want to
21503 match output that is already in expect's buffers (for example,
21504 matching a breakpoint after gdb_run_cmd has been called) work
21505 reliably.
21506
21507 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21508
21509 * config/netware.exp: New file.
21510
21511 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21512
21513 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21514 the -B and -L prefixes so we can find the debugging stub.
21515
21516 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21517 there and we are using the gcc from the tree.
21518
21519 * gdb.base/types.c: Removed.
21520
21521 * gdb.base/configure.in: Look for makefile fragments in ../config.
21522 Recognize i386-*-netware.
21523 * gdb.c++/configure.in: Likewise.
21524
21525 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21526
21527 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21528 the correct TCL syntax.
21529
21530 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21531
21532 * gdb.base/opaque.exp: use runto instead of messing around with
21533 breakpoints. Simplify by using gdb_test.
21534
21535 * gdb.base/bitfields.exp: restart between tests on netware targets
21536 because breakpoints aren't relocated after target death. Run
21537 processes to completion.
21538
21539 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21540
21541 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21542
21543 * Makefile.in: Remove extra tabs that confuse some versions
21544 of "make". Use the newly built gdb to test with by default,
21545 rather than the first one in the tester's search path.
21546
21547 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21548
21549 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21550
21551 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21552 condition help.
21553
21554 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21555
21556 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21557
21558 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21559 running.
21560 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21561 * gdb.base/funcargs.exp: Likewise.
21562
21563 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21564 * gdb.base/funcargs.exp: Likewise.
21565
21566 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21567 message is "".
21568
21569 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21570
21571 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21572 return,signals,twice}.exp: Handle non-existant binaries
21573 consistantly.
21574
21575 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21576 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21577 might testing a cross development system.
21578
21579 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21580
21581 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21582 runtest script is relative to ${srcdir}, not ${rootdir}.
21583
21584 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21585
21586 * gdb.base/signals.exp: Allow for optionality of breakpoint
21587 address.
21588
21589 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21590
21591 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21592
21593 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21594
21595 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21596 for size_t definition.
21597 * gdb.c++/templates.cc: Likewise
21598
21599 * config/mt-i386-netware: New file.
21600
21601 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21602 defined.
21603
21604 * gdb.base/Makefile.in: Added support for systems that name core
21605 files by appending "core" to the program name.
21606 * gdb.base/a1-selftest.exp: Likewise.
21607
21608 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21609
21610 * gdb.base/return.exp: Add comment and message for `return double'
21611 test failure on Sparc Solaris.
21612
21613 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21614
21615 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21616
21617 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21618
21619 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21620 from optimizing them away.
21621 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21622 patterns to include default constructors and assignment operators,
21623 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21624 character in the output of the virtual base pointer.
21625
21626 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21627
21628 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21629 expression match in print_addr_of to avoid unintented matches.
21630 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21631 versions up to 2.5.8.
21632
21633 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21634
21635 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21636 included file to run under newer versions of expect.
21637 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21638 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21639 Remove xfail for the virtual table of BDDHookV.
21640
21641 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21642
21643 * lib/gdb.exp (string_to_regexp): Set a default result.
21644 (default_gdb_start): Fix misleading message.
21645
21646 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21647
21648 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21649 Remove all CC, etc definitions.
21650 * config/mt-hpux: New file.
21651 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21652 (CFLAGS, LDFLAGS): Define.
21653 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21654
21655 * Makefile.in (site.exp): Don't insert host_os, etc.
21656 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21657 (distclean): Check existence of subdir.
21658 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21659 * gdb.base/Makefile.in: General cleanup and simplification.
21660 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21661 to build executables. Use default rule to build .o files.
21662 (EXPECT, RUNTEST, CC): Fix relative pathname.
21663 (site.exp): Don't insert host_os, etc.
21664 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21665 and/or SIGUSR1 defined.
21666 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21667 * gdb.c++/Makefile.in: General cleanup and simplification.
21668 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21669 (CFLAGS): Remove.
21670 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21671
21672 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21673
21674 * gdb.base/recurse.exp: Misc changes to get tests running again
21675 after Kung's changes to the watchpoint code.
21676 * gdb.base/watchpoint.exp: Likewise.
21677
21678 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21679
21680 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21681
21682 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21683
21684 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21685 * lib/gdb.exp (default_gdb_start): Define.
21686 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21687 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21688 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21689 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21690 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21691 Don't call gdb_target_udi in between tests.
21692
21693 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21694
21695 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21696 (which was basically just a local version of the same thing). In
21697 addition to avoiding duplication, gdb_test_exact is faster.
21698 * lib/gdb.exp (gdb_test_exact): Fix typo.
21699
21700 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21701 don't give an error.
21702
21703 * gdb.base/term.exp: Call delete_breakpoints before starting.
21704
21705 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21706 (t10): Add comment.
21707
21708 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21709
21710 Reorganization of the GDB Test Suite.
21711
21712 * gdb.base: New directory, contains all the basic tests.
21713 * gdb.c++: New directory, tests specific to C++.
21714 * gdb.chill: New directory, tests specific to Chill.
21715 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21716 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21717 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21718 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21719 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21720 t30-31 to chill).
21721 * */gdbme.*: Rename to match appropriate expect scripts.
21722 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21723 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21724 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21725 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21726 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21727 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21728 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21729 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21730 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21731 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21732 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21733 gdb.c++/virtfunc.cc: New names of C++ files.
21734 * gdb.chill/chillvars.ch: New name of Chill file.
21735 * gdb.base/configure.in, gdb.c++/configure.in,
21736 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21737 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21738 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21739 * configure.in (configdirs): Update to reflect directory changes.
21740 (target_abbrev): No longer define for any configuration.
21741 * Makefile.in: Cosmetic improvements to header comments.
21742
21743 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21744
21745 Various changes to gdb.t31:
21746
21747 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21748 * gdbme.ch: Make all key-words and predefineds be upper-case.
21749 * chillvars.exp: Expect key-words and predefinds in upper-case.
21750
21751 * chillvars.exp: Use gdb_test_exact many places.
21752 Change expected output for arrays (which now includes index labels).
21753
21754 * pr-5020.exp, gdme.ch (module PR_5020):
21755 New test, for PR-5020.
21756
21757 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21758
21759 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21760 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21761
21762 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21763
21764 * Makefile.in: Fix bit-rot in definitions of CHILL,
21765 CHILL_FOR_TARGET and Chill_LIB.
21766 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21767 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21768 CHILL, and CHILL_LIB.
21769
21770 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21771
21772 * Revert the previous changes. Please see Rob's directory
21773 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21774
21775 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21776
21777 * Makefile.in, configure.in, config/mips-gdb.exp,
21778 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21779 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21780 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21781 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21782 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21783 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21784 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21785 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21786 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21787 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21788 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21789 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21790 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21791 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21792 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21793 changes from 94Q1.
21794
21795 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21796
21797 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21798 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21799 Rob's new testing fragments.
21800
21801 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21802
21803 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21804 lib/gdb.exp: Replace error proc calls with perror.
21805
21806 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21807
21808 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21809 version also, match on casted version strings, and match on
21810 gdb startup case where the line numbers might be messed up.
21811
21812 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21813
21814 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21815 (CFLAGS): Delete it from here.
21816
21817 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21818
21819 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21820
21821 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21822
21823 * Makefile.in (RUNTEST): Default to just "runtest".
21824
21825 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21826
21827 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21828 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21829 the code has been restructured.
21830
21831 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21832
21833 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21834 \n, not just one of each.
21835
21836 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21837 /bin/cc gives a warning if you do.
21838
21839 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21840
21841 * gdb.t24/demangle.exp: change expect pattern of
21842 __t10ListS_link1ZUiRCUiPT0
21843
21844 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21845
21846 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21847 on local variables in recursive functions.
21848
21849 * gdb.t07/Makefile.in: Build the new test.
21850
21851 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21852
21853 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21854 directly. Instead compare the return values from actual calls.
21855
21856 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21857
21858 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21859
21860 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21861
21862 * From Peter Schauer with minor modifications.
21863 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21864 stops in mid-line in the caller. Add xfail for returning a float
21865 value on X86 targets.
21866
21867 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21868
21869 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21870 to avoid expect lossage.
21871 (fmem_LRbug_tests): Likewise.
21872 * gdb.disasm/hppa.s: Corresponding changes.
21873
21874 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21875 conditions to work with latest dejagnu/expect.
21876
21877 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21878 expected to fail on the PA.
21879 (backtrace in call with trampolines): Explicitly require main
21880 to be frame #1 (no trampolines should show up in backtrace).
21881
21882 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21883 "continue -expect".
21884 * gdb.t06/break.exp: Likewise.
21885 * gdb.t07/watchpoint.exp: Likewise.
21886 * gdb.t13/bitfields.exp: Likewise.
21887 * gdb.t15/{funcargs,return}.exp: Likewise.
21888 * gdb.stabs/weird.exp: Likewise.
21889 * config/{mips,udi}-gdb.exp: Likewise.
21890
21891 * hppa.sed: Enclose comments within a sed command to avoid
21892 losing with the old OSF1 sed.
21893
21894 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21895
21896 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21897 sequent dynix.
21898 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21899 * gdb.t15/funcargs.exp: Conditionally step again to really
21900 finish from marker_call_with_trampolines. Handle the case where
21901 the first step from within call_with_trampolines already steps
21902 us back to main.
21903 * gdb.t15/gdbme.c: Add comment to closing brace of
21904 call_with_trampolines for funcargs.exp.
21905
21906 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21907
21908 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21909 Fix typo(s).
21910
21911 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21912
21913 * gdb.t07/gdbme.c: More code for watchpoint testing.
21914
21915 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21916 "Hardware watchpoint" throughout file.
21917 (test_watchpoint_triggered_in_syscall): New test.
21918 (test_complex_watchpoint): New test.
21919
21920 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21921
21922 * gdbme.c (call_with_trampolines): New function to try and step
21923 into. Tests trampoline problems on the PA.
21924
21925 * funcargs.exp (localvars_in_indirect_call): No longer expect
21926 stepping into indirect call to fail on PAs.
21927 (test_stepping_over_trampolines): New test.
21928
21929 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21930
21931 * TODO: Add suggestions for static member function tests, and
21932 completion tests.
21933
21934 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21935
21936 * TODO: Add suggestions for "p/a" tests.
21937
21938 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21939 (default_gdb_exit): Replace all the hair with sending "quit" to
21940 the process with a simple close.
21941
21942 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21943
21944 * TODO: Add suggestions for shared library tests.
21945
21946 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21947
21948 * TODO: Add suggestions for x/s tests.
21949
21950 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21951
21952 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21953 "enable once", and "enable breakpoints once" with ".*".
21954
21955 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21956
21957 * TODO: Add suggestions about structure passing tests.
21958
21959 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21960
21961 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21962 the primary1 test, use work around if __GNUC__ < 2.
21963 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21964 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21965 Test for bad output rather than waiting for timeout. Issue
21966 second continue only if first continue failed.
21967
21968 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21969
21970 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21971 operator[] test with gdb_test because the old code didn't seem to
21972 be getting the quoting right with the new dejagnu.
21973
21974 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21975
21976 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21977 one from the path.
21978 * Makefile.in: Use a fresh expect if there is one, use runtest
21979 from the src tree if there is one.
21980
21981 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21982
21983 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21984 next over recursive call. Revise the tests from that point on
21985 (which had been skipped) to match GDB's actual (correct) output.
21986
21987 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21988 with next over a breakpoint whose condition is false.
21989
21990 * gdb.t00/help.exp: Comment out "help set print" tests just like
21991 (and for same reason as) "help set" test.
21992
21993 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21994
21995 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21996 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21997
21998 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21999
22000 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22001 necessary gdb_target_udi.
22002
22003 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22004
22005 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22006 1838 and 2417; they are fixed.
22007
22008 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22009 gdb.t03/ptype.exp (ptype structure, ptype union):
22010 Remove xfails; the test is looser than when the xfails were added.
22011
22012 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22013 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22014
22015 * gdb.t01/run.exp: Only run shell test if isnative.
22016
22017 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22018 since "run" automatically loads if necessary. Call gdb_target_udi
22019 after the "file" since "file" kills any execution target.
22020
22021 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22022 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22023 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22024 argument for UDI.
22025
22026 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22027
22028 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22029
22030 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22031
22032 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22033
22034 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22035 properly quoting regexps. This makes the second argument to
22036 demangle a fixed string, which matches the callers, instead of a
22037 shell-style pattern which is what the previous implementation
22038 used. Update some of the callers.
22039
22040 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22041
22042 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22043 (comib_nullified_tests): Fix typo.
22044 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22045 strings. No longer expected to fail.
22046
22047 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22048 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22049 strings. No longer expected to fail.
22050
22051 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22052 string. No longer expected to fail.
22053
22054 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22055
22056 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22057 No longer expected to fail.
22058
22059 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22060 string. No longer expected to fail.
22061
22062 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22063
22064 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22065 only in the names (I probably got most of them). I was even
22066 generous with some which differed in underscores in names, and
22067 probably missed a few, and I *still* was able to remove almost a
22068 third of the file with almost no impact on testsuite coverage.
22069
22070 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22071
22072 * gdb.t00/default.exp: Match udi_attach error message as well as
22073 the one from child_attach.
22074
22075 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22076
22077 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22078
22079 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22080 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22081
22082 * Move test with enums and partial symbols back to
22083 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22084 Reverts the change of 26 May 93. Per today's change to
22085 stabs.texinfo, the behavior that weird.exp was expecting was
22086 unreasonable; what is important is that the compiler+gdb get
22087 things right, which happens with a recent gcc. Also fix the test
22088 to deal with native compilers which put out the stab gdb can't
22089 deal with.
22090
22091 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22092
22093 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22094 in the names. The main thing these accomplish is to slow things down.
22095 Many more such duplicates surely remain.
22096
22097 * gdb.t00/help.exp: Comment out "help support" test just like
22098 (and for same reason as) "help set" test.
22099
22100 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22101
22102 * gdb.t06/break.exp: Remove setup_xfails for
22103 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22104 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22105 about known bug in gcc to include up through 2.5.8.
22106 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22107 well as "_vb$".
22108 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22109 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22110 with latest gcc and gdb.
22111 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22112 well as "_vb$".
22113
22114 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22115
22116 * configure.in (hppa*-*-*): Also configure and build stabs-only
22117 tests.
22118
22119 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22120
22121 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22122 * gdb.t10/configure.in (hppa*-*-*): Use it.
22123
22124 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22125
22126 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22127
22128 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22129
22130 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22131 versions prior to 1.13.5.
22132
22133 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22136 the prompt is at the start of a line.
22137
22138 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22139
22140 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22141 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22142 in the copr tests now.
22143 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22144 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22145 expected to fail.
22146
22147 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22148
22149 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22150 gdb.t31/chillvars.exp, lib/gdb.exp:
22151 Tweak to run under either version of expect.
22152 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22153 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22154 * gdb.t11/list.exp: Remove extraneous whitespace.
22155
22156 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22157
22158 * gdb.t16/printcmds.exp (test_print_strings): Accept
22159 "(unsigned char *) " before the string.
22160
22161 * TODO: Add notes about printing of fancy types and GDB expressions.
22162
22163 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22164
22165 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22166 * gdb.t06/configure.in: Don't try to compile signals test program
22167 if doing mips-idt-ecoff.
22168
22169 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22170
22171 * Most .exp files: Tweak to run under either version of expect.
22172
22173 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22174
22175 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22176 xfails; I'm not sure why they are failing, but not because of PR 1806.
22177
22178 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22179
22180 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22181 defined in lib/gdb.exp.
22182
22183 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22184
22185 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22186 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22187 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22188 have to be typeless.
22189
22190 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22191
22192 * TODO: Add suggestion for copyright year test.
22193
22194 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22195
22196 * configure.in (*-*-lynxos*): Add stabs tests.
22197
22198 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22199
22200 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22201 so insert a tab before any assembler directive in column zero.
22202
22203 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22204 stores.
22205 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22206 stores.
22207 (fpu_short_memory_tests): Likewise.
22208
22209 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22210
22211 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22212 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22213 .stabs directives in comments.
22214
22215 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22216
22217 * TODO: New file, describing tests we could write.
22218 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22219
22220 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22221
22222 * gdb.t06/signals.exp: Add kludge to force re-sync.
22223
22224 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22225 to xgdb instead of gdb, get out of gdb.
22226
22227 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22228
22229 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22230 for info.
22231
22232 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22233
22234 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22235 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22236 * gdb.stabs/hppa.sed: New sed script for the PA.
22237
22238 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22239
22240 * gdb.stabs: Re-write weird.def and configuration to use sed
22241 instead of cpp. sed is portable and POSIX; cpp is neither.
22242
22243 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22244
22245 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22246
22247 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22248
22249 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22250
22251 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22252
22253 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22254 "_vb$".
22255 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22256 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22257
22258 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22259
22260 * lib/gdb.exp: Comment out code which depends on non-existent
22261 `transform' procedure.
22262
22263 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22264
22265 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22266 * lib/gdb.exp: Transform tool name.
22267 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22268 1.1's new error handling system.
22269
22270 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22271
22272 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22273
22274 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22275
22276 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22277 They made pattern matching so slow that timeouts happened on
22278 heavily loaded systems. Now any output from "show print" which
22279 gets us back to the GDB prompt is a PASS.
22280
22281 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22282
22283 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22284
22285 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22286
22287 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22288
22289 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22290 It is not from PR 3220.
22291
22292 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22293
22294 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22295 just started failing because they depended on the order the
22296 subcommands are presented, or exact docstring text. This kind of
22297 test is a pain and has minimal benefit.
22298
22299 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22300
22301 * gdb.t09/corefile.exp: At end of test, use "core" command with
22302 no arguments.
22303
22304 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22305
22306 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22307 17}/Makefile.in: Make it possible to run the testsuite with Sun
22308 make and CC = cross gcc by adding explicit build rules for .o
22309 files.
22310
22311 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22312
22313 * gdb.t15/funcargs.exp: Don't put comments on same line as
22314 setup_xfail (@#$*%& tcl braindamage!).
22315
22316 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22317
22318 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22319
22320 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22321
22322 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22323 * gdb.t20/inherit.exp: remove three dumplicate entries.
22324
22325 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22326
22327 * gdb.t06/break.exp: For "next over recursive call", fail on any
22328 incorrect output, not just on "factorial (value=2)".
22329
22330 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22331
22332 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22333 working now. Add an xfail if accesing a bss variable causes
22334 a memory error if the target is not yet run.
22335
22336 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22337
22338 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22339 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22340 name of __st* demangling (2 strings). Did Kung really get the
22341 more than 95 others right without testing them?
22342
22343 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22344
22345 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22346
22347 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22348
22349 * configure.in (configdirs): Add gdb.disasm
22350 * gdb.disasm: New directory for GDB disassembler tests.
22351 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22352
22353 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22354
22355 * gdb.t00/help.exp: Don't test "help set".
22356
22357 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22358 from within expect statements. None of these happen anymore and
22359 they cause regressions to be silently unnoticed.
22360
22361 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22362 messages) about known failures with gcc cygnus-2.4.5-930417.
22363
22364 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22365 comp-info.exp so it gets built if it doesn't exist.
22366
22367 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22368 it is no longer used.
22369 * gdb.t13/comp-info.c: Removed.
22370
22371 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22372
22373 * gdb.t06/signals.exp: Add xfail for sun3.
22374
22375 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22376
22377 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22378 relevant because ^C doesn't get sent but failure can be reproduced
22379 interactively).
22380
22381 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22382
22383 * gdb.stabs/alpha.mt: New configuration file for alpha.
22384 * gdb.stabs/configure.in: Use it.
22385 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22386 sharing with alpha.mt, redefine long to word via preprocessor.
22387 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22388 for alpha.
22389 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22390 native cc.
22391 * gdb.t00/teststrategy.exp: Change expect string so that we
22392 consume the `(xgdb)' from the command echo and from the gdb prompt.
22393 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22394 gdb currently compares all values as long, so this failure probably
22395 applies to any configuration where LONGEST is bigger than a target int.
22396 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22397 with gcc.
22398 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22399 to handle opaque pointers, gcc is.
22400 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22401 as first argument. Include <sys/types.h> and change all operator
22402 new definitions to use size_t.
22403 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22404 now that we use size_t.
22405
22406 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22407
22408 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22409 a long or float array cast all array members to the same type.
22410 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22411 with 64 bit longs.
22412 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22413 on alpha.
22414 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22415
22416 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22417
22418 * gdb.t24 (demangle.exp): Constructors of templates have names like
22419 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22420 section 14.6 of the ARM.
22421
22422 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22423 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22424 accomplish little and slow down the testsuite.
22425
22426 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22427 Accept spaces various places.
22428
22429 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22430
22431 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22432 with watchpoint enabled.
22433
22434 * Makefile.in: Remove definition of CC and remove the second
22435 definition of CXX (the "CXX = gcc" one remains). These definitions
22436 were causing backquotes to be expanded within backquotes, which
22437 doesn't work.
22438
22439 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22440
22441 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22442
22443 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22444
22445 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22446 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22447 by mips cc and contains no stabs entries.
22448
22449 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22450
22451 * config/vx-gdb.exp: Use fake device to load files rather than
22452 NFS.
22453 * lib/gdb.exp: New proc to do "file" command.
22454 * config/unix-gdb.exp: Use new "file" proc.
22455
22456 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22457
22458 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22459 Rework board rebooting slightly.
22460 (gdb_exit): Don't exit from the remote shell; there isn't one.
22461 * gdb.stabs/weird.exp: If a program is being debugged already,
22462 kill it.
22463 * gdb.t04/setvar.exp: Stop and restart gdb.
22464 * gdb.t05/expr.exp: Likewise.
22465 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22466 restart gdb and reload the program.
22467 * gdb.t08/opaque.exp: Likewise.
22468 * gdb.t12/scope.exp: Likewise.
22469 * gdb.t13/bitfields.exp: Likewise.
22470 * gdb.t15/funcargs.exp: Likewise.
22471 * gdb.t20/classes.exp: Likewise.
22472 * gdb.t03/ptype.exp: Increase timeout.
22473 * gdb.t16/printcmds.exp (test_print_string_constants,
22474 test_print_array_constants): Likewise.
22475 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22476 * gdb.t20/classes.exp (do_tests): Likewise.
22477 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22478
22479 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22480
22481 * gdb.stabs: Renamed *wierd* to *weird*.
22482
22483 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22484
22485 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22486 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22487
22488 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22489
22490 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22491 (do_tests): Remove xfail for whatis on one_var and two_var.
22492
22493 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22494
22495 * Makefile.in: Made cross building work better by adding
22496 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22497
22498 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22499
22500 * gdb.t15/{return.c,return.exp,Makefile.in}:
22501 New test, currently commented out.
22502
22503 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22504
22505 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22506 still running and removes the leftover named socket so GDb can do
22507 clean restarts.
22508
22509 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22510
22511 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22512 console, not GDB.
22513 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22514 cross testing works better with "make check"
22515 * config/unix-gdb: Use default procedures for exit and version.
22516 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22517 with the newest VxWorks.
22518
22519 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22520
22521 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22522 old form.
22523
22524 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22525 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22526
22527 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22528
22529 * config/unix-gdb.exp: Remove this version of gdb_exit
22530 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22531 Rob says he'll look at it when he gets back to testing boards.
22532
22533 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22534
22535 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22536 an expected fail for certain ptype commands.
22537
22538 * gdb.t20/classes.exp: Update expected results of "ptype class
22539 Base1" to account for the constructor that now appears in the type.
22540
22541 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22542
22543 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22544 disappeared from list.
22545 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22546 "alldone" proc with call to cleanup and exit.
22547 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22548 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22549 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22550 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22551 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22552 "alldone" proc with simple returns that suppress remaining
22553 tests. The alldone proc went away many months ago.
22554
22555 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22556
22557 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22558
22559 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22560
22561 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22562
22563 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22564 as vax gdb will display them.
22565
22566 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22567
22568 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22569 optimizers.
22570
22571 * scope.exp: Change "bad value for localval" messages so each one
22572 is unique.
22573
22574 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22575 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22576
22577 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22578
22579 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22580
22581 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22582 doesn't exist (due to optimization).
22583
22584 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22585
22586 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22587 contains \r because the filename is long.
22588
22589 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22590 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22591
22592 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22593
22594 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22595 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22596 Ultrix.
22597 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22598 int tests.
22599 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22600
22601 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22602
22603 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22604
22605 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22606 to match does not match the passing case but still matches the
22607 failing case.
22608
22609 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22610
22611 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22612
22613 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22614
22615 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22616 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22617 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22618 Remove various versions of gdb_exit.
22619 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22620 gdb_exit.
22621 * config/unix-gdb.exp: gdb_exit remains here, and should override
22622 the generic version, since it's doing a lot of wierd stuff that
22623 the other versions aren't. FIXME, fold it in, or abandon this
22624 version.
22625
22626 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22627
22628 * gdb.t24/demangle.exp: Add tests for PR 3220.
22629
22630 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22631
22632 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22633
22634 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22635
22636 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22637 "i386-*-*". Works for i486 as well.
22638
22639 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22640 bug, and expand domain of xfail to all SVR4 systems, since the
22641 actual problem is likely to be in generic SVR4 /proc support.
22642
22643 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22644
22645 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22646
22647 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22648
22649 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22650 xfails for other systems. Match a missing 'Continuing.' as an
22651 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22652
22653 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22654 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22655 Only issue warning for missing executables if -all option is used.
22656
22657 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22658 file if -all option is used. It's like an unpredictable XFAIL.
22659
22660 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22661
22662 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22663 for dynamically linked binaries.
22664
22665 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22666
22667 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22668
22669 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22670 to state that this is a known bug in old versions of g++.
22671
22672 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22673
22674 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22675 while waiting for `Continuing'.
22676
22677 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22678
22679 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22680 in text, data, and bss.
22681 * gdb.t10/nodebug.c: Add local and global test variables for
22682 initialized and uninitialized data.
22683
22684 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22685
22686 * config/unix-gdb.exp (gdb_exit): Add "wait".
22687
22688 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22689
22690 * gdb.t06/signals.exp: xfail the continue from the handler for all
22691 targets.
22692
22693 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22694 function with watchpoints enabled, the i386 call dummy starts with
22695 a call.
22696
22697 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22698 386 bsd names its corefiles.
22699
22700 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22701
22702 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22703 compilers don't grok it.
22704 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22705 with small octal ints rather than character constants, which
22706 are signed and might not fit if first promoted to int.
22707
22708 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22709
22710 * gdb.t09/Makefile.in (clean): Remove corefile.
22711
22712 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22713
22714 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22715
22716 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22717 and Jim Kingdon (kingdon@cygnus.com)
22718
22719 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22720 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22721 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22722
22723 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22724
22725 * gdb.t17/interrupt.exp: Add xfail for hppa.
22726
22727 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22728
22729 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22730 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22731 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22732 to determine signed-ness of bitfields and use the result to setup
22733 the xfail.
22734 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22735 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22736 call line is reached if necessary.
22737
22738 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22739
22740 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22741
22742 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22743
22744 * gdb.t06/break.exp: Also test `clear' command.
22745
22746 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22747
22748 * gdb.t00/teststrategy.exp: Remove extra quote.
22749
22750 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22751 watchpoint enabled to be for all non-68k machines.
22752
22753 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22754
22755 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22756
22757 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22758 targets use aout.mt instead of ecoff.mt as gas understands
22759 standard aout format.
22760
22761 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22762
22763 * lib/gdb.exp (runto): Don't insist that function we are running to
22764 was compiled with -g.
22765
22766 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22767
22768 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22769 to get back into the read system call.
22770 Accept leading newline in case where we woke it up.
22771
22772 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22773
22774 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22775 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22776 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22777 enable ecoff configuration.
22778
22779 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22780
22781 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22782
22783 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22784
22785 * gdb.t16/printcmds.exp: Add another printf test.
22786
22787 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22788
22789 * configure.in: If configured -with-stabs on any target, add
22790 stabsdirs to configdirs.
22791
22792 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22793
22794 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22795 fun" so pattern does not match the command itself.
22796
22797 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22798
22799 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22800
22801 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22802
22803 * gdb.t17/interrupt.exp: Test for more things.
22804
22805 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22806
22807 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22808 compiler arranges the code and line numbers.
22809
22810 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22811
22812 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22813
22814 * gdb.t00/help.exp: Increase expect input buffer size.
22815
22816 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22817
22818 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22819
22820 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22821
22822 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22823
22824 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22825 [0-9]*, not just [0-9].
22826
22827 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22828
22829 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22830
22831 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22832
22833 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22834
22835 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22836
22837 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22838
22839 * gdb.t06/signals.c: Add xfails for sun3.
22840
22841 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22842
22843 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22844 test_stepping tests.
22845
22846 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22847
22848 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22849
22850 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22851
22852 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22853 rather than actually putting it through cpp twice.
22854
22855 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22856
22857 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22858
22859 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22860 no longer needed.
22861
22862 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22863
22864 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22865
22866 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22867 C++ features prints as "struct", make it a pass, not an xfail.
22868
22869 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22870
22871 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22872 Don't require VA to print as "class" rather than "struct".
22873
22874 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22875
22876 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22877
22878 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22879
22880 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22881
22882 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22883
22884 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22885 order.
22886
22887 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22888
22889 * gdb.t16/printcmds.exp: Add printf tests.
22890
22891 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22892
22893 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22894
22895 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22896
22897 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22898 pass counts, to counteract any existing or future setup_xfails.
22899
22900 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22901
22902 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22903 {BEGIN,END}_COMMON for common block instead of STAB.
22904 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22905
22906 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22907 intp_var should be N_GSYM not N_LSYM.
22908 wierd-aout.S: Use a label for the value of the N_SO.
22909 wierd.def: Remove all backslashes.
22910 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22911
22912 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22913
22914 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22915 get the expected next to inheritance3.
22916
22917 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22918
22919 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22920 now that gcc-2.4 gets it right.
22921
22922 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22923
22924 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22925
22926 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22927 generating comp-info.exp which works for cross-compilation.
22928
22929 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22930
22931 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22932 "*-*-sysv4.*".
22933
22934 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22935
22936 * gdb.t01/run.exp: Start with a fresh gdb.
22937 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22938 SVR4.x.
22939
22940 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22941
22942 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22943 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22944 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22945 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22946 things to remove.
22947
22948 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22949
22950 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22951 test cases from bug reports.
22952
22953 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22954
22955 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22956 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22957 avoid spurious xfails.
22958 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22959 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22960 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22961
22962 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22963
22964 * gdb.t00/teststrategy.exp: Rework to provide more useful
22965 description of each test, fix problem with systems that define
22966 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22967 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22968 results for "next over recursive call" so timeouts aren't taken
22969 by error.
22970
22971 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22972
22973 * gdb.t12/scope.exp: Test printing of variables before run.
22974
22975 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22976 printed in wrong order due to sorting.
22977
22978 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22979
22980 * gdb.t00/teststrategy.exp: Fix expected results for printing
22981 user entered string constant. Is array of char, prints with no
22982 address.
22983
22984 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22985 commands.
22986 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22987 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22988 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22989 of struct of char arrays.
22990 * gdb.t00/radix.exp: New tests for radix commands.
22991
22992 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22993
22994 * gdb.t16/printcmd.exp: Print a variable before running program
22995 (with xfail for AIX).
22996
22997 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22998
22999 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23000
23001 * gdb.t16/printcmd.exp: Don't print variables before running program.
23002
23003 * gdb.t06/break.exp: Don't require envp argument to main.
23004
23005 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23006
23007 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23008 Add xfails for rs6000.
23009
23010 * gdb.t02/whatis.exp: Change other tests not to re-test something
23011 we already tested.
23012
23013 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23014 each type used has a variable of that type.
23015
23016 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23017
23018 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23019
23020 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23021
23022 * configure.in: change srctrigger to be a file, not a directory
23023
23024 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23025
23026 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23027
23028 * gdb.t11/list.exp: Fixed a couple of typos.
23029
23030 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23031
23032 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23033 is fixed and PR is closed.
23034 * gdb.t16 (gdbme.c): Add simple test string variable.
23035 * gdb.t16 (printcmds.exp): Add tests with simple test string
23036 variable, primarily for boundaries on "set print elements".
23037
23038 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23039
23040 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23041 Make leading 0's optional and don't expect a tab in the middle
23042 of the number.
23043
23044 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23045
23046 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23047 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23048 don't end command passed to gdb_test with newline.
23049
23050 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23051 signed keyword away, don't expect signed bitfields to be signed.
23052
23053 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23054 printing with only as many 1's as are in the field as well as printing
23055 with 32 1's (see comment).
23056
23057 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23058
23059 * gdb.t00/default.exp: Start with a fresh gdb.
23060 * configure.in (configdirs): Remove gdb.t31 until the chill
23061 compiler works again. It no longer is able to find chillrt0
23062 since it isn't in libchill.a anymore.
23063 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23064 wierd.o, make more modular.
23065 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23066 spurious newlines that caused problems.
23067
23068 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23069
23070 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23071 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23072 gdb.stabs/wierd.{exp,def}: Many new tests.
23073
23074 * gdb.t00/default.exp: update info line for new message.
23075
23076 * gdb.t02/{whatis.exp,gdbme.c}:
23077 Test that "char *" doesn't print as "caddr_t".
23078
23079 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23080
23081 * gdb.t00/help.exp: Use .* in place of some help messages which
23082 just changed.
23083 gdb.t00/default.exp: Update "info frame" test for new message.
23084 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23085 Remove some xfails
23086
23087 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23088
23089 * gdb.t03/{gdbme.c,ptype.exp}:
23090 Add tests for typedef'd struct and union without tags.
23091 Also check "whatis" on a variable of a typedef'd enum without a tag.
23092
23093 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23094 PRMS 1823; the bug still exists but isn't reproduced by this test
23095 anymore), and remove rs6000 XFAIL (the bug is fixed).
23096
23097 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23098 duplicated from whatis.exp. For those that are left, accept
23099 "long", "long int", or "int" for long variables (whatis.exp already
23100 has an XFAIL for "int", so no need to fail it here).
23101
23102 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23103 Deal with GCC's names for types now that GDB uses the compiler's names.
23104
23105 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23106 setup_xfail's for sunos4. If we #defined the signed keyword away,
23107 don't expect GDB to know that char it is signed.
23108
23109 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23110
23111 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23112
23113 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23114 should work on any system, regardless of debugging format.
23115 * gdb.t21/demangle.exp: Move to gdb.t24.
23116 * gdb.t24/demangle.exp: Move from gdb.t21.
23117 * gdb.t24/{Makefile.in, configure.in}: New files.
23118
23119 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23120
23121 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23122 * gdb.stabs: New directory.
23123
23124 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23125
23126 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23127 not just "Quit anyway?".
23128
23129 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23130
23131 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23132 that all setup_xfails are immediately followed by clear_xfails.
23133
23134 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23135
23136 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23137 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23138 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23139 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23140 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23141 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23142 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23143 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23144 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23145 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23146 gdb.t31/chillvars.exp, lib/gdb.exp:
23147 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23148 bug-gdb@prep.ai.mit.edu.
23149
23150 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23151
23152 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23153 with 0.0, not integer 0.
23154
23155 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23156
23157 * gdb.t06/break.exp: Update for "Kill the program" message change.
23158
23159 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23160
23161 * Makefile.in (GDBFLAGS): Set to -nx.
23162 * Makefile.in (site.exp): Use GDBFLAGS.
23163
23164 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23165
23166 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23167 Makefiles.
23168 (check): depend on just-check.
23169 (just-check): added so that tests can be run without a noop
23170 build pass.
23171
23172 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23173
23174 Switch to using configure's configdirs.
23175 * Makefile.in (Makefile): add configure.in dependency.
23176 (SUBDIRS): removed redundant assignment.
23177 * configure.in: switch subdirs assignment to configdirs.
23178 * gdb.t*/configure.in: new files.
23179
23180 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23181
23182 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23183 works.
23184
23185 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23186
23187 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23188 in explicit rules. Apparently this is not supported by some makes.
23189
23190 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23191
23192 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23193
23194 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23195
23196 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23197 disappeared.
23198
23199 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23200
23201 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23202
23203 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23204
23205 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23206 watchpoint problem that is now fixed.
23207 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23208 uninitialized convenience variables.
23209 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23210 structures.
23211
23212 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23213
23214 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23215 which causes expect to get out of sync with gdb on long output
23216 from help set.
23217 * gdb.t09/corefile.exp: Make expected pattern for core file
23218 failing signal and frame output format less sun specific.
23219
23220 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23221
23222 * gdb.t31/chillvars.exp: Add and remove initial dummy
23223 breakpoint, so that symbol table is forced in.
23224 (Needed at least on Sunos4, though it seems not SVR4.)
23225 * gdb.t31/chillvars.exp: Update for changed output format.
23226
23227 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23228
23229 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23230
23231 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23232
23233 * Makefile.in: Added --srcdir when invoking runtest, removed the
23234 need for a local config file. (optional now)
23235
23236 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23237
23238 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23239 failure count used to force early termination. Add some more
23240 expected failures for gnu style demangling.
23241
23242 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23243
23244 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23245 pmi variable from gdb.t20/gdbme to get optimized away.
23246 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23247 Check for written corefile upon timeout _and_ eof.
23248
23249 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23250
23251 * config/unix-gdb.exp: Add missing return 0.
23252
23253 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23254
23255 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23256 test termination.
23257
23258 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23259
23260 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23261 disappeared.
23262
23263 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23264
23265 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23266 time as i860 support works.
23267
23268 * gdb.t15/funcargs.exp: Fix expected outputs to include
23269 "backtrace 100\r" rather than just "backtrace\r", to match last
23270 change.
23271
23272 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23273
23274 * config/udi-gdb.exp (gdb_exit): Remove close command.
23275 (gdb_target_udi): New procedure to set the UDI target.
23276 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23277 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23278 Added waits for prompts after several question responses. Added
23279 some more responses used by a29k-amd-udi-gdb.
23280 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23281 pass different arguments, restart UDI connection after program
23282 completion.
23283 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23284 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23285 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23286 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23287 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23288 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23289 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23290 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23291 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23292 after program completion.
23293 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23294 compiled with a SELECT_VECS setting.
23295 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23296 infinite recursion.
23297
23298 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23299 Added checks for COFF results, and made them expected failures for
23300 all targets. It would be better to make them expected failures
23301 for COFF targets only.
23302
23303 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23304
23305 * Makefile.in: add null dvi target, don't bother to recurse
23306 through test directories for info and install-info; rename
23307 $(datadir) to be dejagnu instead of deja-gnu
23308
23309 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23310
23311 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23312 compiler to coredump.
23313 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23314 code.
23315
23316 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23317
23318 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23319 coredump.
23320 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23321 code.
23322
23323 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23324
23325 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23326 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23327 which in a shell. Deletes xgdb when done.
23328 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23329 Tests the return from the "set height" or "set width" commands.
23330 Added a few return codes where needed.
23331
23332 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23333
23334 * Makefile.in (SUBDIRS): Add gdb.t17.
23335 * configure.in (subdirs): Add gdb.t17.
23336 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23337 files to test gdb's calling of functions in the inferior with
23338 the correct arguments and gdb's ability to retrieve any
23339 result returned.
23340
23341 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23342
23343 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23344 may be called after gdb goes away. Previous versions of expect
23345 needed these to avoid file descriptor leaks, but they cause
23346 errors with the current revision of expect.
23347 * gdb.t00/gdbvars.exp: Use -re on expected output after
23348 setting sevenbit-strings.
23349 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23350 to set sevenbit-strings consistent across tests.
23351 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23352 set sevenbit-strings consistent across tests.
23353
23354 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23355
23356 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23357 expected output to match current "expect" expectations.
23358
23359 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23360
23361 * gdb.t00/default.exp: Change expected output for default "source"
23362 command, to match new gdb behavior which requires a filename to
23363 source.
23364
23365 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23366
23367 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23368 expected fail for i486-*-* that misses the marker2 function.
23369 * gdb.t10/crossload.exp (bfddefault): Allow successful
23370 recognition of a format to pass even if no symbols are found.
23371 Explicitly catch failures where the format is not recognized
23372 or is ambiguous, and add the reason to the fail message.
23373 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23374 the cause is and invalid target and add reason to failure message.
23375 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23376 elf32-i386, elf32-sparc, and elf32-i860.
23377 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23378 Set up expected failure for 'filename'::variable scope resolution,
23379 which is now apparently broken on all targets.
23380 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23381 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23382 gdb.t23/templates.exp: Change failure for missing binfile into
23383 just a warning.
23384 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23385 references.
23386
23387 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23388
23389 * gdb.t00/default.exp: Add expected output for default "source"
23390 command, to match new gdb behavior.
23391 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23392
23393 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23394
23395 * config/*-gdb.exp: returns an error, rather than exiting on
23396 internal errors.
23397
23398 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23399
23400 * gdb.t03/gdbme.c: Add pointer to struct variable.
23401 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23402 referencing struct members.
23403
23404 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23405
23406 * configure.in (mips-idt-ecoff): New target.
23407 * config/mips-gdb.exp: New file for remote board using MIPS remote
23408 debugging protocol.
23409
23410 * Redid configuration scheme. Removed gdb.t*/configure.in.
23411 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23412 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23413 distclean targets. Built executables via .o files. Adjusted
23414 tests to account for source files in $(srcdir) rather than
23415 $(objdir).
23416 * lib/gdb.exp (runto): Don't expect () after the function name,
23417 because it may have arguments.
23418
23419 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23420
23421 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23422 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23423 expected failures for mips-idt-* and mips-sgi-*.
23424 * gdb.t00/default.exp (attach): Kill process if requested.
23425 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23426 that does not read core files.
23427 * gdb.t01/run.exp: Removed checks for exit status code.
23428 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23429 it is linked in.
23430 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23431 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23432 appropriate, rather than doing it by hand.
23433 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23434 execution.
23435 * gdb.t10/crossload.exp: Kill existing program if needed.
23436 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23437 appropriate, rather than doing it by hand. Always increase
23438 timeout for this test, not just for VxWorks.
23439
23440 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23441
23442 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23443 of Chill STRUCT types and STRUCT values.
23444 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23445 than "char".
23446 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23447 struct2): New struct definitions and initializations to test
23448 simple Chill STRUCT types.
23449
23450 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23451
23452 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23453 the null byte at the end of strings.
23454 * gdb.t00/default.exp: Make show version insensitive to copyright
23455 date.
23456 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23457 to avoid dependencies on target char signedness.
23458 * gdb.t16/printcmds.exp: Update expected results for explicitly
23459 unsigned char.
23460 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23461 now work.
23462 * gdb.t21/demangle.exp: Add many more patterns for template
23463 demangling, most of them being expected failures.
23464 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23465 string we are matching for, to match on the whole string.
23466 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23467 and fix a whole bunch that had incorrect expected output but were
23468 passing anyway because of the bug in "proc demangle".
23469 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23470 type.
23471 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23472
23473 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23474
23475 * gdb/testsuite: made modifications to testcases, etc., to allow
23476 them to work properly given the reorganization of deja-gnu and the
23477 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23478
23479 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23480
23481 * gdb/testsuite: Initial creation of gdb/testsuite.
23482 Migrated dejagnu testcases and support files for testing nm to
23483 gdb/testsuite from deja-gnu. These files were moved "as is"
23484 with no modifications. This migration is part of a major overhaul
23485 of dejagnu. The modifications to these testcases, etc., which
23486 will allow them to work with the new version of dejagnu will be
23487 made in a future update.
23488
23489 For additional changes see gdb.mi/ChangeLog-1999-2003.
23490 \f
23491 ;; Local Variables:
23492 ;; mode: change-log
23493 ;; left-margin: 8
23494 ;; fill-column: 74
23495 ;; version-control: never
23496 ;; End:
23497
23498 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23499 2003, 2004, 2005 Free Software Foundation, Inc.
23500 Copying and distribution of this file, with or without modification,
23501 are permitted provided the copyright notice and this notice are preserved.
This page took 0.538576 seconds and 5 git commands to generate.