ChangeLog:
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2 Ulrich Weigand <uweigand@de.ibm.com>
3
4 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5 (skip_hw_watchpoint_tests): Likewise.
6 (skip_hw_watchpoint_multi_tests): Likewise.
7
8 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
9
10 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
11 (skip_hw_watchpoint_tests): Likewise.
12 (skip_hw_watchpoint_multi_tests): Likewise.
13 (skip_hw_watchpoint_access_tests): Likewise.
14
15 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
16 * gdb.base/pr11022.exp: Likewise.
17 * gdb.base/watch-read.exp: Likewise.
18 * gdb.base/watch_thread_num.exp: Likewise.
19 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
20 * gdb.base/watchpoint-hw.exp: Likewise.
21 * gdb.base/watchpoint.exp: Likewise.
22 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
23 * gdb.threads/watchthreads-reorder.exp: Likewise.
24 * gdb.threads/watchthreads.exp: Likewise.
25 * gdb.threads/watchthreads2.exp: Likewise.
26
27 2011-02-21 Joel Brobecker <brobecker@adacore.com>
28
29 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
30 the debugger is unable to find the array bounds.
31
32 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
33
34 * gdb.cp/typedef-operator.exp: New file.
35 * gdb.cp/typedef-operator.cc: New file.
36
37 2011-02-17 Michael Snyder <msnyder@vmware.com>
38
39 * gdb.threads/thread-find.exp: Fix regular expressions.
40
41 2011-02-17 Joel Brobecker <brobecker@adacore.com>
42
43 * gdb.ada/packed_array: Expand testcase to test printing of
44 unconstrained packed array.
45
46 2011-02-17 Joel Brobecker <brobecker@adacore.com>
47
48 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
49
50 2011-02-16 Pedro Alves <pedro@codesourcery.com>
51
52 * gdb.trace/collection.c (globalarr3): New global.
53 (main): Initialize it before collecting, and and clear it
54 afterwards.
55 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
56 collecting with '{type} addr', where the addr expression is not an
57 rvalue.
58
59 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
60
61 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
62 a bool variable. Expect correct OpenCL names for vector types. Use the
63 uc3 variable name instead of referring to the uchar3 built-in type.
64 Escape the asterisk at the half pointer test.
65
66 2011-02-16 Pedro Alves <pedro@codesourcery.com>
67
68 * gdb.trace/collection.c (globalarr2): New global.
69 (main): Initialize it before collecting, and and clear it
70 afterwards.
71 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
72 collecting overlapping memory ranges.
73
74 2011-02-15 Michael Snyder <msnyder@vmware.com>
75
76 * gdb.base/default.exp: Add tests for thread commands.
77 * gdb.base/help.exp: Add tests for thread commands.
78 * gdb.threads/thread-find.exp: New test for thread find command.
79
80 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
81
82 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
83
84 2011-02-15 Yao Qi <yao@codesourcery.com>
85
86 PR tdep/12352
87 * gdb.arch/arm-disp-step.S : New test for str instruction.
88 * gdb.arch/arm-disp-step.exp : Likewise.
89
90 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
91
92 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
93 "vector_register2_vr" test strings. Test the extended floating
94 point registers (F32~F63).
95 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
96 IBM XL C compiler. Make the test program use a register provided
97 by the compiler for the lxvd2x instruction.
98
99 2011-02-14 Pedro Alves <pedro@codesourcery.com>
100
101 * gdb.trace/unavailable.cc (class Base, class Middle, class
102 Derived): New types.
103 (derived_unavail, derived_partial, derived_whole): New globals.
104 (virtual_partial): New global.
105 (virtualp): Point at virtual_partial.
106 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
107 related to unavailable vptr.
108
109 2011-02-14 Pedro Alves <pedro@codesourcery.com>
110
111 * gdb.trace/unavailable.cc (a, b, c): New globals.
112 (main): Set and clear them.
113 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
114 `a' and `c', and check that `b' isn't collected, although `a' and
115 `c' are.
116
117 2011-02-14 Pedro Alves <pedro@codesourcery.com>
118
119 * gdb.trace/unavailable.cc (struct Virtual): New.
120 (virtualp): New global pointer.
121 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
122 printing a pointer to an object whose type has a vtable, with
123 print object on.
124
125 2011-02-14 Pedro Alves <pedro@codesourcery.com>
126
127 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
128 value repeat handles unavailableness.
129
130 2011-02-14 Pedro Alves <pedro@codesourcery.com>
131
132 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
133 tests for building arrays from unavailable values, subscripting
134 non-memory rvalue unvailable arrays, and accessing fields or
135 baseclasses of non-lazy unavailable values,
136 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
137 struct types.
138 (g_smallstruct, g_smallstruct_b): New globals.
139
140 2011-02-14 Pedro Alves <pedro@codesourcery.com>
141
142 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
143
144 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
145
146 Fix const/volatile qualifiers of C++ types, PR c++/12328.
147 * gdb.cp/overload-const.exp: New file.
148 * gdb.cp/overload-const.cc: New file.
149
150 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
151
152 * gdb.opencl/callfuncs.cl: New file.
153 * gdb.opencl/callfuncs.exp: New test.
154 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
155
156 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
157
158 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
159 when computing result.
160 * gdb.arch/altivec-abi.exp: Update expected results.
161
162 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
163
164 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
165 * gdb.base/jit.exp: Likewise.
166 * gdb.base/pie-execl.exp: Likewise.
167 * gdb.base/solib-nodir.exp: Likewise.
168 * gdb.base/solib-overlap.exp: Likewise.
169
170 2011-02-07 Pedro Alves <pedro@codesourcery.com>
171
172 * gdb.trace/collection.c (global_pieces): New.
173 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
174 New procedure.
175 (gdb_trace_collection_test): Call it.
176
177 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
178
179 * gdb.python/py-evthreads.c: New file.
180 * gdb.python/py-evthreads.exp: New file.
181 * gdb.python/py-events.py: New file.
182 * gdb.python/py-events.exp: New file.
183 * gdb.python/py-events.c: New file.
184
185 2011-02-04 David Daney <ddaney@caviumnetworks.com>
186
187 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
188
189 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
190
191 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
192 gdb.base/disasm-end-cu.exp: New test for disassembling over the
193 boundary between two compilation units.
194
195 2011-02-02 Pedro Alves <pedro@codesourcery.com>
196
197 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
198 (Virtual): New structs.
199 (virtual_o, virtual_middle_b): New globals.
200 * gdb.cp/virtbase.exp: New tests.
201
202 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
203
204 * gdb.base/jit.exp: New file.
205 * gdb.base/jit-main.c: New file.
206 * gdb.base/jit-solib.c: New file.
207
208 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
209
210 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
211 proceed to initial kernel entry point.
212 * gdb.opencl/datatypes.exp: Likewise.
213 * gdb.opencl/operators.exp: Likewise.
214 * gdb.opencl/vec_comps.exp: Likewise.
215
216 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
217
218 * gdb.cp/nsnested.cc: New.
219 * gdb.cp/nsnested.exp: New.
220 * gdb.cp/nsnoimports.exp: New.
221 * gdb.cp/nsnoimports.cc: New.
222
223 2011-01-31 Joel Brobecker <brobecker@adacore.com>
224
225 * gdb.base/interact.exp: Add extra tests that verify that
226 the value of the interactive-mode setting does not change
227 after the script is sourced.
228
229 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
230
231 * gdb.cp/noparam.exp: New file.
232 * gdb.cp/noparam.cc: New file.
233
234 2011-01-28 Pedro Alves <pedro@codesourcery.com>
235
236 * gdb.trace/tfile.exp: Test that with no traceframe selected,
237 there's no stack or registers.
238
239 2011-01-26 Tom Tromey <tromey@redhat.com>
240
241 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
242 space before string output. Add test for "set print pretty off"
243 case.
244
245 2011-01-25 Pedro Alves <pedro@codesourcery.com>
246
247 * gdb.base/frame-args.exp: Adjust.
248 * gdb.dwarf2/dw2-noloc.exp: Adjust.
249 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
250 * gdb.dwarf2/pieces.exp: Adjust.
251 * gdb.opt/clobbered-registers-O2.exp: Adjust.
252 * gdb.opt/inline-locals.exp: Adjust.
253 * gdb.threads/fork-child-threads.exp: Adjust.
254
255 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
256
257 * gdb.opencl/convs_casts.cl: Move program scope variables into the
258 OpenCL kernel function. Add a comment as marker. Add address space
259 qualifiers for the remaining program scope variables.
260 * gdb.opencl/datatypes.cl: Likewise.
261 * gdb.opencl/operators.cl: Likewise.
262 * gdb.opencl/vec_comps.cl: Likewise.
263 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
264 Add breakpoint at the marker comment.
265 * gdb.opencl/datatypes.exp: Likewise.
266 * gdb.opencl/operators.exp: Likewise.
267 * gdb.opencl/vec_comps.exp: Likewise.
268
269 2011-01-24 Pedro Alves <pedro@codesourcery.com>
270
271 * gdb.base/printcmds.c (some_struct): New struct and instance.
272 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
273 procedure.
274 <global scope>: Call it.
275
276 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
277
278 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
279 argument to the gdb_compile_opencl_hostapp call.
280
281 2011-01-19 Yao Qi <yao@codesourcery.com>
282
283 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
284 positve list.
285
286 2011-01-19 Yao Qi <yao@codesourcery.com>
287
288 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
289 canonical form.
290 Remove "xscale-*-*"
291 * gdb.xml/tdesc-regs.exp: Likewise.
292 * gdb.python/py-section-script.exp: Replace ARM target triplet
293 with canonical form.
294 Match arm*-*-symbianelf*.
295 * gdb.base/dup-sect.exp: Likewise.
296 * lib/dwarf.exp: New.
297 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
298 dwarf2_support.
299 * gdb.dwarf2/dup-psym.exp: Likewise.
300 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
301 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
302 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
303 * gdb.dwarf2/dw2-basic.exp: Likewise.
304 * gdb.dwarf2/dw2-compressed.exp: Likewise.
305 * gdb.dwarf2/dw2-const.exp: Likewise.
306 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
307 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
308 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
309 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
310 * gdb.dwarf2/dw2-filename.exp: Likewise.
311 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
312 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
313 * gdb.dwarf2/dw2-intercu.exp: Likewise.
314 * gdb.dwarf2/dw2-intermix.exp: Likewise.
315 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
316 * gdb.dwarf2/dw2-noloc.exp: Likewise.
317 * gdb.dwarf2/dw2-op-call.exp: Likewise.
318 * gdb.dwarf2/dw2-producer.exp: Likewise.
319 * gdb.dwarf2/dw2-ranges.exp: Likewise.
320 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
321 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
322 * gdb.dwarf2/dw2-strp.exp: Likewise.
323 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
324 * gdb.dwarf2/implptr.exp: Likewise.
325 * gdb.dwarf2/mac-fileno.exp: Likewise.
326 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
327 * gdb.dwarf2/pieces.exp: Likewise.
328 * gdb.dwarf2/pr11465.exp: Likewise.
329 * gdb.dwarf2/valop.exp: Likewise.
330 * gdb.dwarf2/watch-notconst.exp: Likewise.
331 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
332
333 2011-01-19 Tom Tromey <tromey@redhat.com>
334
335 * gdb.python/py-infthread.exp: Add thread tests.
336
337 2011-01-14 Joel Brobecker <brobecker@adacore.com>
338
339 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
340
341 2011-01-14 Joel Brobecker <brobecker@adacore.com>
342
343 * gdb.ada/widewide: New testcase.
344
345 2011-01-13 Joel Brobecker <brobecker@adacore.com>
346
347 * gdb.base/interact.exp: New testcase.
348
349 2011-01-12 Tom Tromey <tromey@redhat.com>
350
351 * gdb.mi/gdb2549.exp: Update for error message changes.
352 * gdb.mi/mi-cli.exp: Likewise.
353 * gdb.mi/mi-disassemble.exp: Likewise.
354 * gdb.mi/mi-pthreads.exp: Likewise.
355 * gdb.mi/mi-regs.exp: Likewise.
356 * gdb.mi/mi-stack.exp: Likewise.
357 * gdb.mi/mi-var-block.exp: Likewise.
358 * gdb.mi/mi-var-cmd.exp: Likewise.
359 * gdb.mi/mi2-cli.exp: Likewise.
360 * gdb.mi/mi2-disassemble.exp: Likewise.
361 * gdb.mi/mi2-pthreads.exp: Likewise.
362 * gdb.mi/mi2-regs.exp: Likewise.
363 * gdb.mi/mi2-stack.exp: Likewise.
364 * gdb.mi/mi2-var-block.exp: Likewise.
365 * gdb.mi/mi2-var-cmd.exp: Likewise.
366
367 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
368 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 PR fortran/11104 and DWARF unbound arrays detection.
371 * gdb.fortran/multi-dim.exp: New file.
372 * gdb.fortran/multi-dim.f90: New file.
373
374 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
375
376 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
377 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
378 add new tests for opcode dumping.
379
380 2011-01-11 Tom Tromey <tromey@redhat.com>
381
382 * gdb.python/py-infthread.exp: Load gdb-python.exp.
383
384 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
385
386 Convert hardware watchpoints to use breakpoint_ops.
387 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
388 type is not supported.
389 * gdb.base/foll-fork.exp: Likewise.
390 * gdb.base/foll-vfork.exp: Likewise.
391
392 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
393
394 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
395 Use load_lib gdb-python.exp.
396 * gdb.python/python.exp: Ditto.
397 * gdb.python/py-function.exp: Ditto.
398
399 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
400
401 * gdb.threads/tls.exp ("info address me"): Fix expected output.
402
403 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
404
405 * configure: Regenerate.
406
407 2011-01-06 Tom Tromey <tromey@redhat.com>
408
409 * gdb.python/py-frame.exp: Test gdb.newest_frame.
410
411 2011-01-06 Joel Brobecker <brobecker@adacore.com>
412
413 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
414 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
415 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
416 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
417 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
418 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
419 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
420 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
421 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
422 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
423 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
424 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
425 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
426 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
427 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
428 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
429 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
430 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
431 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
432 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
433 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
434 gdb.ada/uninitialized_vars.exp,
435 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
436 Simplify by using clean_restart.
437
438 2011-01-06 Joel Brobecker <brobecker@adacore.com>
439
440 Add marker to be used as anchor for inserting breakpoints.
441 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
442 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
443 Likewise.
444
445 Remove uses of gdb_start_cmd.
446 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
447 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
448
449 Do not run testcase if testing with GDBserver.
450 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
451 if testing with GDBserver.
452
453 2011-01-06 Joel Brobecker <brobecker@adacore.com>
454
455 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
456 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
457 copyright header.
458
459 2011-01-05 Joel Brobecker <brobecker@adacore.com>
460
461 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
462 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
463 testsuite/gdb.fortran/complex.f,
464 testsuite/gdb.fortran/derived-type.f90,
465 testsuite/gdb.fortran/library-module-lib.f90,
466 testsuite/gdb.fortran/library-module-main.f90,
467 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
468 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
469 Copyright year update.
470
471 2011-01-05 Joel Brobecker <brobecker@adacore.com>
472
473 * gdb.base/langs1.f: Add copyright header.
474
475 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
476
477 * gdb.base/morestack.exp: New file.
478 * gdb.base/morestack.c: New file.
479
480 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
481
482 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
483
484 2010-12-29 Joel Brobecker <brobecker@adacore.com>
485
486 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
487 * gdb.ada/arrayptr.exp: Add test printing that new variable.
488
489 2010-12-29 Joel Brobecker <brobecker@adacore.com>
490
491 * gdb.ada/lang_switch.exp: Correct expected parameter value.
492
493 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
494
495 * gdb.threads/tls.exp: Fix typo.
496
497 * gdb.threads/thread-specific.exp (get_thread_list): Update.
498 * gdb.threads/execl.exp: Update.
499
500 2010-12-23 Yao Qi <yao@codesourcery.com>
501
502 * gdb.arch/arm-disp-step.exp: New.
503 * gdb.arch/arm-disp-step.S: New.
504
505 2010-12-21 Tom Tromey <tromey@redhat.com>
506
507 * gdb.threads/execl.exp: Update.
508 * gdb.threads/linux-dp.exp: Update.
509 * gdb.threads/manythreads.exp: Update.
510 * gdb.threads/tls.exp: Update.
511
512 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
513
514 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
515 (NextOverThrowDerivates) <resumebpt>: New.
516 (resumebpt_test): New.
517 (main): Call resumebpt_test.
518 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
519
520 2010-12-12 Stan Shebs <stan@codesourcery.com>
521
522 * gdb.trace/tsv.exp: Test print command on trace state variables.
523
524 2010-12-09 Tom Tromey <tromey@redhat.com>
525
526 * gdb.base/interp.exp: Add regression test.
527
528 2010-12-09 Tom Tromey <tromey@redhat.com>
529
530 * gdb.java/jnpe.java: New file.
531 * gdb.java/jnpe.exp: New file.
532 * gdb.cp/nextoverthrow.exp: New file.
533 * gdb.cp/nextoverthrow.cc: New file.
534
535 2010-12-07 Doug Evans <dje@google.com>
536
537 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
538 of data-directory.
539 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
540 updated.
541 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
542
543 2010-11-29 Michael Snyder <msnyder@vmware.com>
544
545 * gdb.base/callfuncs.exp: Test for skip_float_tests.
546 * gdb.base/call-sc.exp: Ditto.
547 * gdb.base/finish.exp: Ditto.
548 * gdb.base/return.exp: Ditto.
549 * gdb.base/return2.exp: Ditto.
550
551 2010-11-30 Doug Evans <dje@google.com>
552
553 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
554 (gdb_expect_list): Fix spelling errors in comments.
555 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
556 send_gdb/gdb_expect_list where applicable.
557 * gdb.base/call-ar-st.exp: Ditto.
558 * gdb.base/funcargs.exp: Ditto.
559 * gdb.base/gcore.exp: Ditto.
560 * gdb.base/page.exp: Ditto.
561 * gdb.base/sigaltstack.exp: Ditto.
562 * gdb.base/siginfo.exp: Ditto.
563 * gdb.base/sigstep.exp: Ditto.
564 * gdb.base/trace-commands.exp: Ditto.
565
566 2010-11-29 Doug Evans <dje@google.com>
567
568 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
569 printer-name;subprinter-name.
570
571 2010-11-29 Tom Tromey <tromey@redhat.com>
572
573 * gdb.dwarf2/implptr.exp: New file.
574 * gdb.dwarf2/implptr.c: New file.
575 * gdb.dwarf2/implptr.S: New file.
576
577 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
578
579 PR python/12199
580
581 * gdb.python/py-breakpoint.exp: Test the delete method.
582
583 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
584
585 Fix step_resume_breakpoint unsaved during an infcall.
586 * gdb.base/step-resume-infcall.exp: New file.
587 * gdb.base/step-resume-infcall.c: New file.
588
589 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
590
591 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
592
593 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
594
595 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
596 on ppc64's symbols; "finish" and "return" commands must accept to
597 show the caller line again as well as the line after.
598 * gdb.asm/powerpc64.inc: New file.
599
600 2010-11-23 Doug Evans <dje@google.com>
601
602 * lib/gdb.exp (gdb_test_sequence): New function.
603 (gdb_expect_list): Add verbose -log call for each pattern.
604 * gdb.base/signals.exp (test_handle_all_print): Call it.
605 Reduce timeout increment from 6 minutes to 1 minute.
606 * gdb.server/ext-run.exp: Call it.
607
608 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
609
610 PR python/12212
611
612 * gdb.python/python.exp: Check that selected_thread raises an
613 error when no inferior is loaded.
614
615 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
616
617 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
618 * gdb.dwarf2/dw2-stack-boundary.S: New file.
619
620 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
621
622 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
623 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
624
625 2010-11-18 Doug Evans <dje@google.com>
626
627 * gdb.server/ext-run.exp: Fix intermittent failures.
628
629 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
630
631 * gdb.stabs/gdb11479.exp: Use runto_main.
632
633 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
634
635 * gdb.base/break-entry.exp: Skip if using a stub.
636
637 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
638
639 * gdb.python/py-inferior.exp: Pack values in target endianness.
640
641 2010-11-12 Tom Tromey <tromey@redhat.com>
642
643 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
644 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
645 MemoryError.
646 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
647 type.
648 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
649 MemoryError.
650 (test_subscript_regression): Update exception type.
651
652 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
653
654 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
655 breakpoint tests.
656
657 2010-11-09 Pedro Alves <pedro@codesourcery.com>
658
659 * gdb.base/watchpoint.exp: Test "watch -location" with an
660 innacessible location.
661
662 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
663 Luis Machado <luisgpm@br.ibm.com>
664
665 * gdb.base/maint.exp: Expect "." prefix.
666 * gdb.base/nodebug.exp: Expect "." Likewise.
667 * gdb.base/sepsymtab.exp: Expect "." Likewise.
668 * gdb.base/watchpoint-cond-gone.exp: Likewise.
669 * gdb.base/watchpoint.exp: Expect a software watch to be created for
670 POWER server processors.
671
672 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
673 Luis Machado <luisgpm@br.ibm.com>
674
675 * gdb.base/break-entry.exp: convert entry point for
676 ppc64 and expect leading `.' on ppc64's symbols
677
678 2010-11-05 Doug Evans <dje@google.com>
679
680 * gdb.base/help.exp: Update expected output.
681 * gdb.python/py-param.exp: Delete, contents moved to ...
682 * gdb.python/py-parameter.exp: ... here. New file.
683 Add test for gdb.parameter ("directories").
684
685 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
686
687 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
688 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
689 * configure: Regenerate.
690 * gdb.opencl/Makefile.in: New File.
691 * gdb.opencl/datatypes.exp: Likewise.
692 * gdb.opencl/datatypes.cl: Likewise.
693 * gdb.opencl/operators.exp: Likewise.
694 * gdb.opencl/operators.cl: Likewise.
695 * gdb.opencl/vec_comps.exp: Likewise.
696 * gdb.opencl/vec_comps.cl: Likewise.
697 * gdb.opencl/convs_casts.exp: Likewise.
698 * gdb.opencl/convs_casts.cl: Likewise.
699 * lib/opencl.exp: Likewise.
700 * lib/opencl_hostapp.c: Likewise.
701 * lib/opencl_kernel.cl: Likewise.
702 * lib/cl_util.c: Likewise.
703 * lib/cl_util.c: Likewise.
704 * gdb.base/default.exp (set language): Add "opencl" to the list of
705 languages.
706
707 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
708
709 * gdb.cp/overload.exp: Added test for inheritance overload.
710 * gdb.cp/overload.cc: Ditto.
711 * gdb.cp/oranking.exp: Removed releveant kfails.
712
713 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
714 Joel Brobecker <brobecker@adacore.com>
715
716 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
717 check test_compiler_info.
718
719 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
720
721 * gdb.base/gnu_vector.exp: Adjust expect messages.
722
723 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
724
725 * gdb.base/gnu_vector.exp: Add unary operator tests.
726
727 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
728
729 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
730
731 2010-11-02 Doug Evans <dje@google.com>
732
733 * gdb.python/py-pp-maint.c: New file.
734 * gdb.python/py-pp-maint.exp: New file.
735 * gdb.python/py-pp-maint.py: New file.
736
737 2010-11-02 Tom Tromey <tromey@redhat.com>
738
739 * gdb.base/default.exp: Remove "scheme" from language list.
740
741 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
742
743 Revert:
744 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
745 * gdb.threads/sigstep-threads.exp: New file.
746 * gdb.threads/sigstep-threads.c: New file.
747
748 2010-10-20 Michael Snyder <msnyder@vmware.com>
749
750 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
751
752 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
753
754 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
755 Skip test completely if gdb,no_hardware_watchpoints.
756
757 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
758
759 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
760 strict, but do not check for any particular function name within libc.
761
762 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
763
764 * gdb.cp/smartp.exp: New test.
765 * gdb.cp/smartp.cc : New test.
766
767 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
768
769 * gdb.cp/converts.exp: Test pointer to bool conversion.
770 Test pointer to long conversion.
771 * gdb.cp/oranking.exp: Removed relevant kfail.
772
773 2010-10-18 Tom Tromey <tromey@redhat.com>
774
775 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
776 argument to lazy_string.
777 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
778 (pp_ls.to_string): Use it.
779 * gdb.python/py-prettyprint.c (main): Move declarations to top.
780 Add "estring2" local.
781
782 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
783
784 Fix s390x compatibility.
785 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
786 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
787
788 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
789
790 * gdb.threads/sigstep-threads.exp: New file.
791 * gdb.threads/sigstep-threads.c: New file.
792
793 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
794
795 * gdb.base/pie-execl.exp: New file.
796 * gdb.base/pie-execl.c: New file.
797
798 2010-10-13 Doug Evans <dje@google.com>
799 Jan Kratochvil <jan.kratochvil@redhat.com>
800
801 PR exp/12117
802 * gdb.cp/ptype-cv-cp.cc: New file.
803 * gdb.cp/ptype-cv-cp.exp: New file.
804
805 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
806
807 * gdb.cp/converts.cc: New test program.
808 * gdb.cp/converts.exp: New test.
809 * gdb.cp/overload.exp: Added test for void* vs int*.
810 * gdb.cp/overload.exp: Ditto.
811 * gdb.cp/oranking.exp: Removed related kfail.
812
813 2010-10-13 Doug Evans <dje@google.com>
814
815 * lib/gdb-python.exp (gdb_check_python_config): New function.
816 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
817 * gdb.python/lib-types.cc: New file.
818 * gdb.python/lib-types.exp: New file.
819
820 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
821
822 * gdb.python/py-error.exp: New file.
823 * gdb.python/py-error.py: New file.
824
825 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
826
827 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
828 gdb_test_multiple.
829
830 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
831
832 * gdb.base/break-interp.exp: Use ldlags for linking flags.
833 * gdb.base/prelink.exp: Likewise.
834 * gdb.base/solib-nodir.exp: Likewise.
835 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
836 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
837 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
838
839 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
840
841 * break-interp.exp (test_ld): Use two separate gdb_expect statements
842 for the "info files" test to avoid timeouts on slow machines.
843
844 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
845
846 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
847 (main): Make openlib dummy call.
848
849 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
852 * break-interp.exp (reach): Move the core body ...
853 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
854 (test_ld): Provide always real argument, even to the linker. Replace
855 dl_main by _dl_debug_state.
856
857 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 Fix results of prelinked PIEs on ppc*.
860 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
861 Accept also DISPLACEMENT "PRESENT".
862 (main): Replace "ZERO" displacements by "PRESENT".
863
864 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
865
866 * gdb.cp/oranking.exp: New test.
867 * gdb.cp/oranking.cc: New test program.
868
869 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
870
871 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
872 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
873
874 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
875
876 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
877 lush, lynx) New constant.
878 * gdb.base/constvars.exp: Test const array types.
879 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
880
881 2010-10-06 Doug Evans <dje@google.com>
882
883 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
884 of syscall staging area.
885
886 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
887
888 * gdb.base/gnu_vector.c: Add variable c4.
889 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
890 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
891
892 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
893
894 * gdb.arch/altivec-abi.exp: Fix a typo.
895
896 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
897
898 * lib/mi-support.exp (thread_selected_re): Correct pattern used
899 to match a thread ID.
900
901 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 Fix s390x testcase compatibility.
904 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
905
906 2010-10-01 Doug Evans <dje@google.com>
907
908 * lib/gdb-python.exp: New file.
909 * gdb.python/py-block.exp: Use it.
910 * gdb.python/py-breakpoint.exp: Ditto.
911 * gdb.python/py-frame.exp: Ditto.
912 * gdb.python/py-inferior.exp: Ditto.
913 * gdb.python/py-param.exp: Ditto.
914 * gdb.python/py-prettyprint.exp: Ditto.
915 * gdb.python/py-shared.exp: Ditto.
916 * gdb.python/py-symbol.exp: Ditto.
917 * gdb.python/py-symtab.exp: Ditto.
918 * gdb.python/py-type.exp: Ditto.
919 * gdb.python/py-value.exp: Ditto.
920 * gdb.python/python.exp: Ditto.
921
922 2010-09-30 Tom Tromey <tromey@redhat.com>
923
924 * gdb.base/anon.exp: New file.
925 * gdb.base/anon.c: New file.
926
927 2010-09-30 Tom Tromey <tromey@redhat.com>
928
929 * gdb.base/completion.exp: Test completion through anonymous
930 union.
931 * gdb.base/break1.c (struct some_struct): Add anonymous union.
932
933 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
934
935 Fix printing parameters of inlined functions.
936 * gdb.dwarf2/dw2-inline-param.exp: New file.
937 * gdb.dwarf2/dw2-inline-param-main.c: New file.
938 * gdb.dwarf2/dw2-inline-param.S: New file.
939
940 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 PR corefiles/12071.
943 * gdb.base/corefile.exp (quit with a process, no question: load core)
944 (quit with a core file): New tests.
945
946 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 Fix GDB crash on inferior calls with self-referencing classes.
949 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
950 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
951 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
952
953 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 Fix lost siginfo_t for inferior calls.
956 * gdb.base/siginfo-infcall.exp: New file.
957 * gdb.base/siginfo-infcall.c: New file.
958
959 2010-09-22 Joel Brobecker <brobecker@adacore.com>
960
961 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
962
963 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
964
965 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
966 New test.
967 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
968
969 2010-09-22 Joel Brobecker <brobecker@adacore.com>
970
971 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
972 type of our const type.
973
974 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
975
976 * gdb.cp/pr12028.cc: New.
977 * gdb.cp/pr12028.exp: New.
978
979 2010-09-22 Joel Brobecker <brobecker@adacore.com>
980
981 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
982
983 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
984 Jan Kratochvil <jan.kratochvil@redhat.com>
985
986 PR mi/11407
987 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
988 * gdb.mi/dw2-ref-missing-frame-main.c New File.
989 * gdb.mi/dw2-ref-missing-frame.S New File.
990 * gdb.mi/dw2-ref-missing-frame.exp New File.
991
992 2010-09-14 Tom Tromey <tromey@redhat.com>
993
994 PR symtab/8399:
995 * gdb.threads/tls.exp: Remove kfail. Update expected output.
996
997 2010-09-14 Tom Tromey <tromey@redhat.com>
998
999 PR exp/11803:
1000 * gdb.threads/tls.exp: Use C++.
1001 (check_thread_local): Use K::another_thread_local.
1002 * gdb.threads/tls.c (class K): New.
1003 (another_thread_local): Now a member of K.
1004 (spin): Update. No longer K&R C.
1005
1006 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1007
1008 * gdb.cp/koenig.cc: created class for testing member lookup.
1009 * gdb.cp/koenig.exp: Added test for member lookup.
1010
1011 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 Fix false FAILs on sourcetree topdir directory containing "kill".
1014 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1015 source line matching regexp.
1016
1017 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1018
1019 * gdb.python/python.exp (set height 0, collect help from uiout)
1020 (verify help to uiout): New tests.
1021
1022 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1023
1024 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1025 is_lp64_target to check 64bit target.
1026
1027 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1028
1029 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1030 (test_ld) <powerpc64-*>: New.
1031
1032 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1033
1034 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1035
1036 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1037
1038 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1039 (FunctionArg::method): New function.
1040 (empty, arg): New variables.
1041 (main): Call arg.method.
1042 * gdb.cp/templates.exp (test_template_args): New function.
1043 (do_tests): Call it.
1044
1045 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1046
1047 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1048 of "next" to proceed over pthread_exit call.
1049
1050 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1051
1052 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1053 "maint print statistics" output to prevent expect timeouts.
1054
1055 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1056
1057 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1058 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1059 (test_float_rejected): ... here.
1060 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1061 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1062 (test_float_rejected): ... here.
1063 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1064 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1065 (test_float_rejected): ... here.
1066 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1067 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1068 (test_float_rejected): ... here.
1069
1070 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1071
1072 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1073 before disabling hardware watchpoints.
1074 (test_inaccessible_watchpoint): Check that hardware watchpoints
1075 are used. Test for watchpoints on a constant address.
1076
1077 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 * gdb.base/ui-redirect.exp: New file.
1080
1081 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1082 Joel Brobecker <brobecker@adacore.com>
1083
1084 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1085
1086 2010-08-31 Doug Evans <dje@google.com>
1087
1088 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1089
1090 2010-08-30 Tom Tromey <tromey@redhat.com>
1091
1092 PR python/11792:
1093 * gdb.python/py-value.exp (test_subscript_regression): Add
1094 dynamic_type test.
1095
1096 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1097
1098 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1099 instead of running to main. Do not test the main function.
1100 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1101 Add new main.
1102
1103 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1104
1105 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1106 one test.
1107
1108 2010-08-24 Doug Evans <dje@google.com>
1109
1110 PR symtab/11942
1111 * gdb.dwarf2/dw4-sig-types.cc: New file.
1112 * gdb.dwarf2/dw4-sig-types.h: New file.
1113 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1114 * gdb.dwarf2/dw4-sig-types.exp: New file.
1115
1116 2010-08-23 Tom Tromey <tromey@redhat.com>
1117
1118 PR python/11145:
1119 * gdb.python/py-value.c (Base, Derived): New types.
1120 (base): New global.
1121 * gdb.python/py-value.exp (test_subscript_regression): Add
1122 dynamic_cast test.
1123
1124 2010-08-23 Tom Tromey <tromey@redhat.com>
1125
1126 PR python/10676:
1127 * gdb.python/py-type.exp (test_fields): Add tests for type
1128 equality.
1129
1130 2010-08-23 Tom Tromey <tromey@redhat.com>
1131
1132 PR python/11915:
1133 * gdb.python/py-type.exp (test_fields): Add tests for array.
1134
1135 2010-08-23 Keith Seitz <keiths@redhat.com>
1136
1137 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1138 have any children. Create a new abbrev for it.
1139 Add missing terminal sequence to .debug_abbrev.
1140
1141 2010-08-20 Keith Seitz <keiths@redhat.com>
1142
1143 PR symtab/11465:
1144 * gdb.dwarf2/pr11465.exp: New test.
1145 * gdb.dwarf2/pr11465.S: New file.
1146 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1147 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1148
1149 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1150
1151 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1152 registers. Update data sets with the new v2_double element in the
1153 VSX register union. Add vector_register3_vr data set for the AltiVec
1154 registers. Use gdb_test_no_output instead of send_gdb.
1155
1156 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1157
1158 * gdb.python/py-shared.exp: New file, factored out from
1159 python.exp.
1160 * gdb.python/py-shared.c: New file.
1161 * gdb.python/py-shared-sl.c: New file.
1162 * gdb.python/python-1.c: New file.
1163 * gdb.python/python-sl.c: Delete.
1164 * gdb.python/python.c: Mention python-1.c.
1165 * gdb.python/python.exp: Move shared library tests to
1166 py-shared.exp.
1167 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1168 (MISCELLANEOUS): New.
1169 (clean mostlyclean): Also remove $MISCELLANEOUS.
1170
1171 2010-08-19 Doug Evans <dje@google.com>
1172
1173 PR exp/11926
1174 * gdb.base/printcmds.exp (test_float_accepted): New function.
1175 Move existing float tests there. Add tests for floats with suffixes.
1176 (test_float_rejected): New function.
1177 * gdb.java/jv-print.exp (test_float_accepted): New function.
1178 (test_float_rejected): New function.
1179 * gdb.objc/print.exp: New file.
1180 * gdb.pascal/print.exp: New file.
1181 * lib/objc.exp: New file.
1182
1183 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1184
1185 * gdb.base/default.exp (info set): Avoid full buffer error and force
1186 reading up to final gdb prompt.
1187 (show): Likewise.
1188
1189 2010-08-18 Tom Tromey <tromey@redhat.com>
1190
1191 PR symtab/11919:
1192 * gdb.base/completion.exp: Add test.
1193
1194 2010-08-18 Doug Evans <dje@google.com>
1195
1196 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1197 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1198 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1199 Simplify, early exit if runto_main fails.
1200 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1201 (set_lang_fortran): Moved to lib/fortran.exp.
1202 * gdb.fortran/types.exp: load_lib fortran.exp.
1203 (set_lang_fortran): Moved to lib/fortran.exp.
1204 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1205 * gdb.java/jprint.exp (set_lang_java): Ditto.
1206 * gdb.java/jv-exp.exp: load_lib java.exp.
1207 If set_lang_java fails, issue a warning instead of failure to be
1208 consistent with other set_lang_foo uses.
1209 (set_lang_java): Moved to lib/java.exp.
1210 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1211 If set_lang_java fails, issue a warning instead of failure to be
1212 consistent with other set_lang_foo uses.
1213 * gdb.pascal/types.exp: load_lib pascal.exp.
1214 (set_lang_pascal): Moved to lib/pascal.exp.
1215 * lib/fortran.exp: New file.
1216 * lib/java.exp (set_lang_java): New function.
1217 * lib/pascal.exp (set_lang_pascal): New function.
1218
1219 2010-08-18 Yao Qi <yao@codesourcery.com
1220
1221 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1222 func_nofb_start and func_loopfb_start, so that address of functions
1223 is equal to these labels on Thumb.
1224
1225 2010-08-18 Yao Qi <yao@codesourcery.com>
1226
1227 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1228 to reflect latest c source file.
1229
1230 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1231
1232 * gdb.cp/infcall-dlopen.exp: New file.
1233 * gdb.cp/infcall-dlopen.cc: New file.
1234 * gdb.cp/infcall-dlopen-lib.cc: New file.
1235
1236 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1237 Pedro Alves <pedro@codesourcery.com>
1238
1239 PR breakpoints/11371
1240
1241 * gdb.base/watch-cond-infcall.exp: New file.
1242 * gdb.base/watch-cond-infcall.c: New file.
1243
1244 2010-08-16 Tom Tromey <tromey@redhat.com>
1245
1246 * gdb.base/help.exp: Update.
1247 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1248 watchpoint.
1249 (test_watch_location): New proc.
1250 (test_watchpoint_in_big_blob): Delete watchpoint.
1251 * gdb.base/watchpoint.c (func5): New function.
1252 (main): Call it.
1253
1254 2010-08-16 Doug Evans <dje@google.com>
1255
1256 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1257
1258 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1259
1260 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1261 tests.
1262
1263 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1264
1265 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1266 * gdb.base/gnu_vector.c: New File.
1267 * gdb.base/gnu_vector.exp: Likewise.
1268
1269 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1270
1271 * gdb.python/python.c: New File.
1272 * gdb.python/python-sl.c: New File.
1273 * gdb.python/python.exp: Test solib_address and decode_line
1274 * functions.
1275
1276 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1277
1278 * gdb.python/python.exp (show height, set height 10)
1279 (verify pagination beforehand, verify pagination beforehand: q)
1280 (gdb.execute does not page, verify pagination afterwards)
1281 (verify pagination afterwards: q): New.
1282
1283 2010-08-02 Doug Evans <dje@google.com>
1284
1285 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1286 because of an older gcc, change test2
1287 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1288 to unsupported.
1289
1290 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1291
1292 * gdb.base/break-always.exp: Do not expect full paths to file
1293 names.
1294 * gdb.base/commands.exp: Likewise.
1295
1296 2010-07-30 Doug Evans <dje@google.com>
1297
1298 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1299 xfail them when run with older gccs.
1300
1301 * lib/gdb.exp (build_executable): Forward "c++" option to
1302 get_compiler_info.
1303
1304 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1305 "python print ttype.template_argument(1)" and
1306 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1307 if using gcc 4.4 or earlier.
1308
1309 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1310 attach-to-debugger handling.
1311
1312 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1313
1314 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1315 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1316 (main): Use copyreloc.
1317 * gdb.base/prelink.exp (split debug of executable)
1318 (.dynbss vs. .bss address shift): New tests.
1319
1320 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1321
1322 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1323 in gdb_test_multiple.
1324
1325 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1326
1327 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1328 environment.
1329
1330 2010-07-28 Tom Tromey <tromey@redhat.com>
1331
1332 PR python/11060:
1333 * gdb.python/py-type.c (Temargs): New template.
1334 (temvar): New variable.
1335 * gdb.python/py-type.exp (test_template): New proc.
1336
1337 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1338
1339 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1340 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1341
1342 2010-07-28 Tom Tromey <tromey@redhat.com>
1343
1344 PR c++/9946:
1345 * gdb.cp/temargs.exp: New file.
1346 * gdb.cp/temargs.cc: New file.
1347
1348 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 * gdb.base/help.exp (help disassemble): Update the content.
1351
1352 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1353
1354 * gdb.threads/ia64-sigill.exp: New file.
1355 * gdb.threads/ia64-sigill.c: New file.
1356
1357 2010-07-27 Tom Tromey <tromey@redhat.com>
1358
1359 * gdb.opt/inline-cmds.c (ATTR): New define.
1360 (func1): Use it.
1361 (func2): Likewise.
1362 (func3): Likewise.
1363 (outer_inline1): Likewise.
1364 (outer_inline2): Likewise.
1365 * gdb.opt/inline-bt.c (ATTR): New define.
1366 (func1): Use it.
1367 (func2): Likewise.
1368 * gdb.opt/inline-locals.c (ATTR): New define.
1369 (func1): Use it.
1370 (func2): Likewise.
1371
1372 2010-07-27 Tom Tromey <tromey@redhat.com>
1373
1374 * gdb.stabs/gdb11479.c (hack): New function.
1375 (test): Use it.
1376 (test2): Use it.
1377 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1378 (int32_search_buf, int64_search_buf): No longer static.
1379 (x): Remove.
1380 * gdb.base/relocate.c (hack): New function.
1381
1382 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1383
1384 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1385 * gdb.python/py-value.c (func1): New function.
1386 (func2): Likewise.
1387
1388 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1389
1390 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1391 as not to clash with .data section.
1392
1393 2010-07-26 Jerome Guitton <guitton@adacore.com>
1394
1395 * gdb.base/code_elim.exp: New file.
1396 * gdb.base/code_elim1.c: New file.
1397 * gdb.base/code_elim2.c: New file.
1398
1399 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1400
1401 PR symtab/11827
1402
1403 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1404 (some_volatile_enum): New variable.
1405 * gdb.base/printcmds.exp (test_print_enums): New.
1406 <top level>: Call it.
1407
1408 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1409
1410 * gdb.cp/fpointer.cc: New test.
1411 * gdb.cp/fpointer.exp: New test.
1412
1413 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1414
1415 * gdb.base/solib-nodir.exp: New file.
1416 * lib/gdb.exp (runto): New case for a GDB internal error.
1417
1418 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1419 Ulrich Weigand <uweigand@de.ibm.com>
1420 Tom Tromey <tromey@redhat.com>
1421
1422 * gdb.base/charset-malloc.c: New file.
1423 * gdb.base/charset.c (malloc_stub): New prototype.
1424 (main): Call it instead of malloc itself.
1425 * gdb.base/charset.exp: Use only prepare_for_testing.
1426 (binfile): Remove the variable.
1427
1428 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1429
1430 Make core files the process_stratum.
1431 * gdb.base/corefile.exp (run: load core again)
1432 (run: sanity check we see the core file, run: with core)
1433 (run: core file is cleared, attach: load core again)
1434 (attach: sanity check we see the core file, attach: with core)
1435 (attach: core file is cleared): New tests.
1436 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1437
1438 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1439
1440 * gdb.arch/altivec-abi.exp: New tests.
1441
1442 2010-07-13 Tom Tromey <tromey@redhat.com>
1443
1444 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1445 (main): Use it.
1446 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1447
1448 2010-07-13 Tom Tromey <tromey@redhat.com>
1449
1450 * gdb.base/label.exp: New file.
1451 * gdb.base/label.c: New file.
1452
1453 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1454 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 * lib/gdb.exp (is_ilp32_target): New.
1457 (is_lp64_target): Likewise.
1458
1459 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1460 target.
1461 * gdb.arch/amd64-disp-step.exp: Likewise.
1462 * gdb.arch/amd64-dword.exp: Likewise.
1463 * gdb.arch/amd64-i386-address.exp: Likewise.
1464 * gdb.arch/amd64-word.exp: Likewise.
1465
1466 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1467 target.
1468 * gdb.arch/i386-bp_permanent.exp: Likewise.
1469 * gdb.arch/i386-byte.exp: Likewise.
1470 * gdb.arch/i386-disp-step.exp: Likewise.
1471 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1472 * gdb.arch/i386-prologue.exp: Likewise.
1473 * gdb.arch/i386-size-overlap.exp: Likewise.
1474 * gdb.arch/i386-size.exp: Likewise.
1475 * gdb.arch/i386-sse.exp: Likewise.
1476 * gdb.arch/i386-unwind.exp: Likewise.
1477 * gdb.arch/i386-word.exp: Likewise.
1478
1479 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1480 test only when building 64-bit executables. Do not hard-code
1481 -m64 option.
1482
1483 2010-07-07 Doug Evans <dje@google.com>
1484
1485 * lib/gdb.exp (gdb_test_list_exact): New function.
1486 * gdb.base/default.exp (show convenience): Call it, add tests for
1487 $_sdata = void, $_thread = 0.
1488
1489 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1490 Joel Brobecker <brobecker@adacore.com>
1491
1492 Fix re-run of PIE executable, PR shlibs/11776.
1493 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1494 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1495 and re-"run" of the inferior.
1496
1497 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1498 Joel Brobecker <brobecker@adacore.com>
1499
1500 Cope with missing /usr/sbin/prelink.
1501 * lib/prelink-support.exp (prelink_no):
1502 <result == 1 && $output is "no such file or directory">: New.
1503 (prelink_yes): Likewise. Return on failed prelink_no.
1504
1505 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1506 Joel Brobecker <brobecker@adacore.com>
1507
1508 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1509 build_executable by build_executable_own_libs. Replace "prelink -R"
1510 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1511 change.
1512 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1513 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1514 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1515 Replace build_executable by build_executable_own_libs's function
1516 build_executable_own_libs.
1517 (prelinkNO): Create new stub to call prelink_no.
1518 (prelinkYES): Create new stub to call prelink_yes.
1519 (test_attach): Rename calls of copy to file_copy.
1520 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1521 (copy): Move to ...
1522 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1523 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1524 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1525 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1526 special flags by gdb_compile_shlib. Replace second gdb_compile by
1527 build_executable_own_libs. Replace "prelink -R" execution by a call of
1528 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1529 a second call of prelink_yes. Replace restart commands by
1530 clean_restart.
1531 (prelink): Rename to ...
1532 (seen displacement message): ... this test. Extend its expectation
1533 strictness.
1534
1535 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1536
1537 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1538 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1539 displacement message exactly once.
1540
1541 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1542 Joel Brobecker <brobecker@adacore.com>
1543
1544 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1545 its restore after the <$relink_args != ""> loop. new comment.
1546
1547 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1548 Joel Brobecker <brobecker@adacore.com>
1549
1550 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1551 code for it. New variable relink_args.
1552 (prelinkYES): Call prelinkNO.
1553 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1554 in such case. Move the core code to ...
1555 (test_attach_gdb): ... a new function. Send GDB command "file".
1556 Extend expected "Attaching to " string.
1557
1558 2010-07-02 Tom Tromey <tromey@redhat.com>
1559
1560 * gdb.base/bitops.exp: Remove extraneous "pass".
1561
1562 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1563
1564 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1565
1566 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1567
1568 * gdb.base/help.exp: Adjust expected output.
1569
1570 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1571
1572 * gdb.base/help.exp: Adjust expected output.
1573
1574 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1575
1576 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1577 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1578 c++/11702.
1579
1580 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1581 Doug Evans <dje@google.com>
1582
1583 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1584 add .dynamic entry'.
1585
1586 2010-06-29 Doug Evans <dje@google.com>
1587
1588 Test PR c++/11702.
1589 * gdb.cp/m-static.exp: Add testcase.
1590 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1591
1592 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1593 Tom Tromey <tromey@redhat.com>
1594 Thiago Jung Bauermann <bauerman@br.ibm.com>
1595
1596 * gdb.python/py-inferior.c: New File.
1597 * gdb.python/py-infthread.c: New File.
1598 * gdb.python/py-inferior.exp: New File.
1599 * gdb.python/py-infthread.exp: New File.
1600
1601 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1604 (ptype ::C::OtherFileClass typedefs): New.
1605 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1606 (C::OtherFileClass::cOtherFileClassVar2): New.
1607 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1608 cOtherFileClassVar2.
1609 (C::cOtherFileType2, C::cOtherFileVar2): New.
1610 (C::cOtherFileVar_use): use also cOtherFileVar2.
1611 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1612
1613 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1614
1615 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1616 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1617 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1618 (print ::C::cOtherFileVar)
1619 (whatis C::OtherFileClass::cOtherFileClassType)
1620 (whatis ::C::OtherFileClass::cOtherFileClassType)
1621 (print C::OtherFileClass::cOtherFileClassVar)
1622 (print ::cOtherFileClassVar)
1623 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1624 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1625 trailing content.
1626 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1627 (C::OtherFileClass::cOtherFileClassVar)
1628 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1629 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1630
1631 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1632
1633 Test PR c++/11703 and PR gdb/1448.
1634 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1635 gdb/1448.
1636
1637 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1638
1639 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1640 (main) <rtti_data>: New.
1641 * gdb.cp/virtbase.exp (print rtti_data): New.
1642
1643 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1644 Joel Brobecker <brobecker@adacore.com>
1645
1646 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1647
1648 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1649
1650 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1651
1652 2010-06-28 Doug Evans <dje@google.com>
1653
1654 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1655
1656 2010-06-27 Doug Evans <dje@google.com>
1657
1658 * gdb.cp/m-static.exp: Update expected test output.
1659
1660 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1661
1662 * gdb.gdb/selftest.exp: Adjust expected message for
1663 capturing start-up runtime.
1664
1665 2010-06-25 Tom Tromey <tromey@redhat.com>
1666
1667 PR python/10808:
1668 * gdb.python/python.exp: Add new tests.
1669
1670 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1671
1672 * gdb.cp/operator.cc: Created an import loop.
1673 * gdb.cp/operator.exp: Added testcase for import loop.
1674
1675 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1676
1677 Test PR python/11407.
1678 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1679 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1680 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1681 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1682 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1683 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1684 binfile. Call gdb_compile with clean_restart twice.
1685 (func_nofb print, func_nofb backtrace, func_loopfb print)
1686 (func_loopfb backtrace): New.
1687
1688 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1689
1690 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1691 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1692 by a hand made one.
1693 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1694 i?86 requirement. Remove variables srcfile and binfile. New variable
1695 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1696
1697 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1698
1699 * gdb.cell/dwarfaddr.exp: New file.
1700 * gdb.cell/dwarfaddr.S: New file.
1701
1702 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1703
1704 Test PR 9436.
1705 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1706
1707 2010-06-24 Hui Zhu <teawater@gmail.com>
1708
1709 * gdb.base/eval.exp: New file.
1710
1711 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1712
1713 * gdb.cell/fork.exp: New file.
1714 * gdb.cell/fork.c: Likewise.
1715 * gdb.cell/fork-spu.c: Likewise.
1716
1717 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1718
1719 * lib/gdb.exp (banned_variables_traced): New global variable.
1720 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1721 (gdb_init): Use `trace add variable' instead of obsolete
1722 `trace variable'.
1723
1724 2010-06-21 Doug Evans <dje@google.com>
1725
1726 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1727
1728 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1729
1730 * gdb.arch/spu-ls.exp: New file.
1731 * gdb.arch/spu-ls.c: Likewise.
1732
1733 2010-06-18 Stan Shebs <stan@codesourcery.com>
1734
1735 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1736
1737 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1738
1739 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1740 * gdb.base/watch-cond.exp: Likewise.
1741 * gdb.python/py-breakpoint.exp: Likewise.
1742
1743 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1744
1745 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1746 clean_restart, make sure every test has a distinct message, and
1747 that messages don't include the executable' full path.
1748
1749 2010-06-17 Doug Evans <dje@google.com>
1750
1751 * gdb.arch/i386-size.exp: Updated expected output for
1752 DISASSEMBLY_OMIT_FNAME.
1753
1754 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1755 Sergio Durigan Junior <sergiodj@redhat.com>
1756
1757 * gdb.base/watch-notconst.c: New file.
1758 * gdb.base/watch-notconst.S: New file.
1759 * gdb.base/watch-notconst2.c: New file.
1760 * gdb.base/watch-notconst2.S: New file.
1761 * gdb.base/watch-notconst.exp: New file.
1762 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1763 (func4): Add operations on `global_ptr_ptr'.
1764 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1765 routine to test watchpoints created with a constant expression.
1766 (test_inaccessible_watchpoint): Include tests for watchpoints
1767 created with a constant expression.
1768
1769 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1770
1771 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1772 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1773 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1774 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1775 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1776 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1777 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1778 of `_start'.
1779
1780 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1781
1782 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1783 not supported on the target.
1784 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1785 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1786 * gdb.mi/mi-nsintrall.exp: Likewise.
1787 * gdb.mi/mi-nsmoribund.exp: Likewise.
1788 * gdb.mi/mi-nsthrexec.exp: Likewise.
1789
1790 2010-06-11 Stan Shebs <stan@codesourcery.com>
1791
1792 * gdb.base/permissions.exp: New file.
1793
1794 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1795
1796 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1797 does not support ELF executable class.
1798
1799 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1800
1801 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1802
1803 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1806 (runto): Catch "The target does not support running in non-stop mode.".
1807
1808 2010-06-11 Michael Snyder <msnyder@vmware.com>
1809
1810 * gdb.base/setshow.exp (set language asm): Don't use
1811 gdb_test_no_output, fails on some targets.
1812
1813 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1814
1815 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1816 * gdb.cp/pr9167.exp: Likewise.
1817
1818 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1819
1820 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1821
1822 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1823
1824 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1825
1826 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1827
1828 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1829
1830 2010-06-11 Tom Tromey <tromey@redhat.com>
1831
1832 PR gdb/9977, PR exp/11636::
1833 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1834 (pieces_test_f6): Update expected output.
1835
1836 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1837
1838 * gdb.base/moribund-step.exp: New.
1839
1840 2010-06-08 Michael Snyder <msnyder@vmware.com>
1841
1842 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1843 * gdb.ada/boolean_expr.exp:
1844 * gdb.ada/frame_args.exp: Ditto.
1845 * gdb.ada/lang_switch.exp: Ditto.
1846 * gdb.ada/ptype_arith_binop.exp: Ditto.
1847 * gdb.ada/ref_param.exp: Ditto.
1848 * gdb.ada/type_coercion.exp:Ditto.
1849
1850 * gdb.asm/asm-source.exp: Ditto.
1851
1852 * gdb.base/attach.exp: Ditto.
1853 * gdb.base/bitfields2.exp: Ditto.
1854 * gdb.base/call-signal-resume.exp: Ditto.
1855 * gdb.base/callfuncs.exp: Ditto.
1856 * gdb.base/commands.exp: Ditto.
1857 * gdb.base/dbx.exp: Ditto.
1858 * gdb.base/default.exp: Ditto.
1859 * gdb.base/dump.exp: Ditto.
1860 * gdb.base/exprs.exp: Ditto.
1861 * gdb.base/freebpcmd.exp: Ditto.
1862 * gdb.base/interrupt.exp: Ditto.
1863 * gdb.base/list.exp: Ditto.
1864 * gdb.base/long_long.exp: Ditto.
1865 * gdb.base/maint.exp: Ditto.
1866 * gdb.base/ptype.exp: Ditto.
1867 * gdb.base/return.exp: Ditto.
1868 * gdb.base/setshow.exp: Ditto.
1869 * gdb.base/sigbpt.exp: Ditto.
1870 * gdb.base/sigrepeat.exp: Ditto.
1871
1872 * gdb.cp/classes.exp: Ditto.
1873
1874 * gdb.dwarf2/dw2-restore.exp: Ditto.
1875
1876 * gdb.gdb/selftest.exp: Ditto.
1877
1878 * gdb.multi/base.exp: Ditto.
1879 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1880
1881 * gdb.python/py-block.exp: Ditto.
1882 * gdb.python/py-prettyprint.exp: Ditto.
1883 * gdb.python/py-template.exp: Ditto.
1884
1885 * gdb.server/ext-attach.exp: Ditto.
1886 * gdb.server/ext-run.exp: Ditto.
1887 * gdb.server/server-mon.exp: Ditto.
1888
1889 * gdb.threads/fork-thread-pending.exp: Ditto.
1890 * gdb.threads/hand-call-in-threads.exp: Ditto.
1891 * gdb.threads/interrupted-hand-call.exp: Ditto.
1892 * gdb.threads/linux-dp.exp: Ditto.
1893 * gdb.threads/manythreads.exp: Ditto.
1894 * gdb.threads/print-threads.exp: Ditto.
1895 * gdb.threads/pthreads.exp: Ditto.
1896 * gdb.threads/schedlock.exp: Ditto.
1897 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1898 * gdb.threads/threadapply.exp: Ditto.
1899
1900 2010-06-08 Michael Snyder <msnyder@vmware.com>
1901
1902 * gdb.ada/exec_changed.exp:
1903 Use ".*" instead of "" as wildcard regexp.
1904
1905 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1906 * gdb.base/call-ar-st.exp: Ditto.
1907 * gdb.base/checkpoint.exp: Ditto.
1908 * gdb.base/default.exp: Ditto.
1909 * gdb.base/dump.exp: Ditto.
1910 * gdb.base/ending-run.exp: Ditto.
1911 * gdb.base/fileio.exp: Ditto.
1912 * gdb.base/miscexprs.exp: Ditto.
1913 * gdb.base/pointers.exp: Ditto.
1914 * gdb.base/readline.exp: Ditto.
1915 * gdb.base/reread.exp: Ditto.
1916 * gdb.base/restore.exp: Ditto.
1917 * gdb.base/shlib-call.exp: Ditto.
1918 * gdb.base/valgrind-db-attach.exp: Ditto.
1919 * gdb.base/volatile.exp: Ditto.
1920 * gdb.base/watchpoints.exp: Ditto.
1921
1922 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1923
1924 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1925 * gdb.python/py-value.exp: Ditto.
1926
1927 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1928 * gdb.trace/circ.exp: Ditto.
1929 * gdb.trace/collection.exp: Ditto.
1930 * gdb.trace/packetlen.exp: Ditto.
1931 * gdb.trace/passc-dyn.exp: Ditto.
1932 * gdb.trace/report.exp: Ditto.
1933 * gdb.trace/tfile.exp: Ditto.
1934 * gdb.trace/tfind.exp: Ditto.
1935 * gdb.trace/while-dyn.exp: Ditto.
1936
1937 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1938
1939 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1940
1941 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1942
1943 Test PR 10640.
1944 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1945
1946 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1947
1948 * gdb.cp/koenig.exp: Test for ADL operators.
1949 * gdb.cp/koenig.cc: Added ADL operators.
1950 * gdb.cp/operator.exp: New test.
1951 * gdb.cp/operator.cc: New test.
1952
1953 2010-06-04 Michael Snyder <msnyder@vmware.com>
1954
1955 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1956 * gdb.base/pending.exp: Ditto.
1957
1958 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1959
1960 2010-06-04 Doug Evans <dje@google.com>
1961
1962 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1963 disabled printers.
1964 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1965 (enable_lookup_function): New function.
1966
1967 2010-06-04 Tom Tromey <tromey@redhat.com>
1968
1969 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1970 of hash and id.
1971
1972 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1975 newline.
1976 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1977 (empty verbose non-noisy clear, empty verbose noisy clear)
1978 (empty non-verbose noisy clear): Likewise.
1979
1980 2010-06-03 Michael Snyder <msnyder@vmware.com>
1981
1982 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1983 * gdb.base/display.exp: Ditto.
1984 * gdb.base/find.exp: Ditto.
1985 * gdb.base/ifelse.exp: Ditto.
1986 * gdb.base/multi-forks.exp: Ditto.
1987 * gdb.base/recurse.exp: Ditto.
1988 * gdb.base/setshow.exp: Ditto.
1989 * gdb.base/value-double-free.exp: Ditto.
1990 * gdb.base/watch-vfork.exp: Ditto.
1991 * gdb.base/watch_thread_num.exp: Ditto.
1992 * gdb.base/watchpoint-solib.exp: Ditto.
1993 * gdb.base/watchpoint.exp: Ditto.
1994 * gdb.base/watchpoints.exp: Ditto.
1995
1996 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1997 * gdb.cp/overload.exp: Ditto.
1998 * gdb.cp/virtfunc.exp: Ditto.
1999
2000 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2001
2002 * gdb.reverse/watch-precsave.exp:
2003 Replace gdb_test with gdb_test_no_output.
2004
2005 * gdb.threads/attach-into-signal.exp:
2006 Replace gdb_test with gdb_test_no_output.
2007 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2008 * gdb.threads/watchthreads.exp: Ditto.
2009 * gdb.threads/watchthreads2.exp: Ditto.
2010
2011 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2012 * gdb.trace/tfind.exp: Ditto.
2013
2014 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2015
2016 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2017 successful test if message is the empty string.
2018
2019 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 * gdb.fortran/module.exp (stopped language detection): New test.
2022
2023 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 Support DW_TAG_module as separate namespaces.
2026 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2027 gdb.fortran/library-module-lib.f90: New.
2028 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2029 (print i): Remove.
2030 (continue to breakpoint: i-is-1, print var_i value 1)
2031 (continue to breakpoint: i-is-2, print var_i value 2)
2032 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2033 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2034 (complete `modmany, complete `modmany`, complete `modmany`var)
2035 (show language, setting breakpoint at module): New tests.
2036 * gdb.fortran/module.f90 (module mod): Remove.
2037 (module mod1, module mod2, module modmany, subroutine sub1)
2038 (subroutine sub2, program module): New.
2039
2040 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2043 (print value of rUC, print value of rI, print value of UI): ... here.
2044 * gdb.cp/anon-union.exp (pass): Rename to ...
2045 (print z 2): ... here.
2046
2047 2010-06-02 Michael Snyder <msnyder@vmware.com>
2048
2049 * gdb.trace/actions.exp: Use gdb_test_no_output.
2050 * gdb.trace/circ.exp: Ditto.
2051 * gdb.trace/packetlen.exp: Ditto.
2052 * gdb.trace/save-trace.exp: Ditto.
2053 * gdb.trace/tracecmd.exp: Ditto.
2054 * gdb.trace/tsv.exp: Ditto.
2055
2056 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2057 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2058 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2059 * gdb.threads/manythreads.exp: Ditto.
2060 * gdb.threads/print-threads.exp: Ditto.
2061 * gdb.threads/pthreads.exp: Ditto.
2062 * gdb.threads/schedlock.exp: Ditto.
2063 * gdb.threads/staticthreads.exp: Ditto.
2064 * gdb.threads/thread-specific.exp: Ditto.
2065 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2066 * gdb.threads/threadapply.exp: Ditto.
2067 * gdb.threads/watchthreads.exp: Ditto.
2068 * gdb.threads/watchthreads2.exp: Ditto.
2069
2070 * gdb.python/py-block.exp: Use gdb_test_no_output.
2071 * gdb.python/py-prettyprint.exp: Ditto.
2072 * gdb.python/py-template.exp: Ditto.
2073 * gdb.python/py-value.exp: Ditto.
2074
2075 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2076 * gdb.reverse/watch-reverse.exp: Ditto.
2077
2078 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2079 * gdb.server/ext-run.exp: Ditto.
2080
2081 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2082 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2083 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2084 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2085 * gdb.dwarf2/dw2-producer.exp: Ditto.
2086 * gdb.dwarf2/mac-fileno.exp: Ditto.
2087
2088 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2089 * gdb.gdb/selftest.exp: Ditto.
2090
2091 * gdb.multi/base.exp: Use gdb_test_no_output.
2092
2093 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2094
2095 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2098
2099 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2100
2101 * gdb.cp/class2.exp: Use gdb_test_no_output.
2102 * gdb.cp/classes.exp: Ditto.
2103 * gdb.cp/extern-c.exp: Ditto.
2104 * gdb.cp/inherit.exp: Ditto.
2105 * gdb.cp/maint.exp: Ditto.
2106 * gdb.cp/mb-inline.exp: Ditto.
2107 * gdb.cp/mb-templates.exp: Ditto.
2108 * gdb.cp/method2.exp: Ditto.
2109 * gdb.cp/misc.exp: Ditto.
2110 * gdb.cp/ovldbreak.exp: Ditto.
2111 * gdb.cp/punctuator.exp: Ditto.
2112 * gdb.cp/templates.exp: Ditto.
2113 * gdb.cp/virtbase.exp: Ditto.
2114
2115 * gdb.threads/attach-stopped.exp:
2116 Replace uses of send_gdb / gdb_expect.
2117 * gdb.threads/attachstop-mt.exp:
2118 Replace uses of send_gdb / gdb_expect.
2119 * gdb.threads/gcore-thread.exp:
2120 Replace uses of send_gdb / gdb_expect.
2121 * gdb.threads/hand-call-in-threads.exp:
2122 Replace uses of send_gdb / gdb_expect.
2123 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2124 * gdb.threads/print-threads.exp:
2125 Replace uses of send_gdb / gdb_expect.
2126 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2127 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2128 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2129
2130 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2131 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2132 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2133 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2134 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2135 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2136 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2137 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2138 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2139 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2140 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2141
2142 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2143
2144 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2145
2146 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2147
2148 * gdb.cp/koenig.exp: Added new test case.
2149 * gdb.cp/koenig.cc: Ditto.
2150
2151 2010-06-01 Michael Snyder <msnyder@vmware.com>
2152
2153 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2154 * gdb.base/arrayidx.exp: Ditto.
2155 * gdb.base/attach.exp: Ditto.
2156 * gdb.base/auxv.exp: Ditto.
2157 * gdb.base/bigcre.exp: Ditto.
2158 * gdb.base/break-always.exp: Ditto.
2159 * gdb.base/break-interp.exp: Ditto.
2160 * gdb.base/break.exp: Ditto.
2161 * gdb.base/breakpoint-shadow.exp: Ditto.
2162 * gdb.base/call-ar-st.exp: Ditto.
2163 * gdb.base/call-sc.exp: Ditto.
2164 * gdb.base/call-signal-resume.exp: Ditto.
2165 * gdb.base/callfuncs.exp: Ditto.
2166 * gdb.base/catch-syscall.exp: Ditto.
2167 * gdb.base/charset.exp: Ditto.
2168 * gdb.base/code-expr.exp: Ditto.
2169 * gdb.base/commands.exp: Ditto.
2170 * gdb.base/cond-expr.exp: Ditto.
2171 * gdb.base/condbreak.exp: Ditto.
2172 * gdb.base/cursal.exp: Ditto.
2173 * gdb.base/cvexpr.exp: Ditto.
2174 * gdb.base/default.exp: Ditto.
2175 * gdb.base/del.exp: Ditto.
2176 * gdb.base/detach.exp: Ditto.
2177 * gdb.base/display.exp: Ditto.
2178 * gdb.base/ena-dis-br.exp: Ditto.
2179 * gdb.base/eval-skip.exp: Ditto.
2180 * gdb.base/foll-fork.exp: Ditto.
2181 * gdb.base/foll-vfork.exp: Ditto.
2182 * gdb.base/frame-args.exp: Ditto.
2183 * gdb.base/funcargs.exp: Ditto.
2184 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2185 * gdb.base/gdbvars.exp: Ditto.
2186 * gdb.base/help.exp: Ditto.
2187 * gdb.base/ifelse.exp: Ditto.
2188 * gdb.base/included.exp: Ditto.
2189 * gdb.base/list.exp: Ditto.
2190 * gdb.base/macscp.exp: Ditto.
2191 * gdb.base/maint.exp: Ditto.
2192 * gdb.base/multi-fork.exp: Ditto.
2193 * gdb.base/overlays.exp: Ditto.
2194 * gdb.base/page.exp: Ditto.
2195 * gdb.base/pending.exp: Ditto.
2196 * gdb.base/pointers.exp: Ditto.
2197 * gdb.base/pr11022.exp: Ditto.
2198 * gdb.base/prelink.exp: Ditto.
2199 * gdb.base/printcmds.exp: Ditto.
2200 * gdb.base/psymtab.exp: Ditto.
2201 * gdb.base/randomize.exp: Ditto.
2202 * gdb.base/relational.exp: Ditto.
2203 * gdb.base/relocate.exp: Ditto.
2204 * gdb.base/remote.exp: Ditto.
2205 * gdb.base/sepdebug.exp: Ditto.
2206 * gdb.base/set-lang-auto.exp: Ditto.
2207 * gdb.base/setshow.exp: Ditto.
2208 * gdb.base/setvar.exp: Ditto.
2209 * gdb.base/signals.exp: Ditto.
2210 * gdb.base/signull.exp: Ditto.
2211 * gdb.base/sigstep.exp: Ditto.
2212 * gdb.base/sizeof.exp: Ditto.
2213 * gdb.base/solib-disc.exp: Ditto.
2214 * gdb.base/store.exp: Ditto.
2215 * gdb.base/structs.exp: Ditto.
2216 * gdb.base/structs2.exp: Ditto.
2217 * gdb.base/subst.exp: Ditto.
2218 * gdb.base/term.exp: Ditto.
2219 * gdb.base/trace-commands.exp: Ditto.
2220 * gdb.base/unwindonsignal.exp: Ditto.
2221 * gdb.base/valgrind-db-attach.exp: Ditto.
2222 * gdb.base/varargs.exp: Ditto.
2223 * gdb.base/watch-cond.exp: Ditto.
2224 * gdb.base/watch_thread_num.exp: Ditto.
2225 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2226 * gdb.base/watchpoint.exp: Ditto.
2227 * gdb.base/whatis-exp.exp: Ditto.
2228
2229 2010-06-01 Michael Snyder <msnyder@vmware.com>
2230
2231 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2232 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2233 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2234 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2235 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2236 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2237 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2238 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2239 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2240 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2241 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2242 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2243 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2244 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2245 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2246
2247 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2248
2249 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2250 trailing newline.
2251 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2252 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2253 (p *args): ... here and remove excessive trailing newline.
2254
2255 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2256
2257 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2258
2259 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2260
2261 Accept the new Linux kernel "t (tracing stop)" string.
2262 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2263 Update comment.
2264 (state_wait) <T (tracing stop)>: New.
2265 (main): Update the state_wait expect string.
2266
2267 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2268
2269 * limits.c, limits.exp: Delete files.
2270 * Makefile.in (clean mostlyclean): Adjust.
2271 * tracecmd.exp: Adjust.
2272
2273 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2274
2275 * gdb.base/tui-layout.exp: New.
2276
2277 2010-05-28 Michael Snyder <msnyder@vmware.com>
2278
2279 * gdb.reverse/break-precsave.exp:
2280 Replace uses of send_gdb / gdb_expect.
2281 * gdb.reverse/break-reverse.exp:
2282 Replace uses of send_gdb / gdb_expect.
2283 * gdb.reverse/consecutive-precsave.exp:
2284 Replace uses of send_gdb / gdb_expect.
2285 * gdb.reverse/consecutive-reverse.exp:
2286 Replace uses of send_gdb / gdb_expect.
2287 * gdb.reverse/finish-precsave.exp:
2288 Replace uses of send_gdb / gdb_expect.
2289 * gdb.reverse/finish-reverse.exp:
2290 Replace uses of send_gdb / gdb_expect.
2291 * gdb.reverse/i386-precsave.exp:
2292 Replace uses of send_gdb / gdb_expect.
2293 * gdb.reverse/i386-reverse.exp:
2294 Replace uses of send_gdb / gdb_expect.
2295 * gdb.reverse/i386-sse-reverse.exp:
2296 Replace uses of send_gdb / gdb_expect.
2297 * gdb.reverse/i387-env-reverse.exp:
2298 Replace uses of send_gdb / gdb_expect.
2299 * gdb.reverse/i387-stack-reverse.exp:
2300 Replace uses of send_gdb / gdb_expect.
2301 * gdb.reverse/machinestate-precsave.exp:
2302 Replace uses of send_gdb / gdb_expect.
2303 * gdb.reverse/machinestate.exp:
2304 Replace uses of send_gdb / gdb_expect.
2305 * gdb.reverse/sigall-precsave.exp:
2306 Replace uses of send_gdb / gdb_expect.
2307 * gdb.reverse/sigall-reverse.exp:
2308 Replace uses of send_gdb / gdb_expect.
2309 * gdb.reverse/solib-precsave.exp:
2310 Replace uses of send_gdb / gdb_expect.
2311 * gdb.reverse/solib-reverse.exp:
2312 Replace uses of send_gdb / gdb_expect.
2313 * gdb.reverse/step-precsave.exp:
2314 Replace uses of send_gdb / gdb_expect.
2315 * gdb.reverse/step-reverse.exp:
2316 Replace uses of send_gdb / gdb_expect.
2317 * gdb.reverse/until-precsave.exp:
2318 Replace uses of send_gdb / gdb_expect.
2319 * gdb.reverse/until-reverse.exp:
2320 Replace uses of send_gdb / gdb_expect.
2321 * gdb.reverse/watch-precsave.exp:
2322 Replace uses of send_gdb / gdb_expect.
2323 * gdb.reverse/watch-reverse.exp:
2324 Replace uses of send_gdb / gdb_expect.
2325
2326 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2329 excessive newline.
2330
2331 2010-05-27 Michael Snyder <msnyder@vmware.com>
2332
2333 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2334 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2335 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2336 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2337 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2338 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2339 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2340 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2341 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2342 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2343 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2344 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2345 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2346 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2347 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2348 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2349 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2350 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2351 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2352
2353 2010-05-26 Michael Snyder <msnyder@vmware.com>
2354
2355 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2356 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2357
2358 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2359 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2360 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2361
2362 * gdb.reverse/consecutive-reverse.exp:
2363 Replace uses of send_gdb / gdb_expect.
2364 * gdb.reverse/consecutive-precsave.exp:
2365 Replace uses of send_gdb / gdb_expect.
2366
2367 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2368 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2369 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2370 * gdb.mi/mi-ns-stale-regcache.exp:
2371 Replace uses of send_gdb / gdb_expect.
2372 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2373 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2374 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2375 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2376 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2377 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2378 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2379 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2380 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2381
2382 2010-05-26 Michael Snyder <msnyder@vmware.com>
2383
2384 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2385
2386 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2387
2388 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2389 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2390 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2391 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2392 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2393 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2394 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2395 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2396 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2397
2398 2010-05-25 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2401
2402 2010-05-25 Tom Tromey <tromey@redhat.com>
2403
2404 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2405 argument order.
2406 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2407 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2408 order.
2409 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2410 order.
2411 * gdb.base/call-sc.exp (setup_kfails): Remove.
2412 (setup_compiler_kfails): Remove.
2413 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2414 argument order.
2415 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2416 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2417 (advancei): Fix setup_kfail argument order.
2418 * gdb.base/radix.exp: Fix setup_kfail argument order.
2419 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2420 order.
2421 * gdb.base/structs.exp (setup_kfails): Remove.
2422 (setup_compiler_kfails): Fix setup_kfail argument order.
2423 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2424 order.
2425 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2426 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2427 setup_kfail argument order.
2428 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2429
2430 2010-05-25 Tom Tromey <tromey@redhat.com>
2431
2432 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2433
2434 2010-05-25 Michael Snyder <msnyder@vmware.com>
2435
2436 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2437 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2438 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2439 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2440 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2441 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2442 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2443 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2444 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2445 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2446 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2447 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2448 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2449 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2450 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2451 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2452 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2453 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2454 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2455 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2456 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2457 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2458 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2459 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2460 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2461 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2462 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2463 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2464 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2465 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2466 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2467 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2468 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2469 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2470 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2471 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2472 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2473 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2474 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2475 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2476 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2477 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2478 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2479 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2480 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2481 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2482 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2483 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2484
2485 2010-05-25 Doug Evans <dje@google.com>
2486
2487 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2488 gdb.string_to_argv.
2489
2490 2010-05-21 Tom Tromey <tromey@redhat.com>
2491
2492 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2493 Call it.
2494 * gdb.dwarf2/pieces.S: Update.
2495 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2496
2497 2010-05-21 Tom Tromey <tromey@redhat.com>
2498
2499 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2500 Call it.
2501 * gdb.dwarf2/pieces.c (struct C): New.
2502 (f6): New function.
2503 * gdb.dwarf2/pieces.S: Replace.
2504
2505 2010-05-21 Tom Tromey <tromey@redhat.com>
2506
2507 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2508 Call it.
2509
2510 2010-05-21 Tom Tromey <tromey@redhat.com>
2511
2512 * gdb.dwarf2.pieces.exp: New file.
2513 * gdb.dwarf2.pieces.S: New file.
2514 * gdb.dwarf2.pieces.c: New file.
2515
2516 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2517 Joel Brobecker <brobecker@adacore.com>
2518
2519 * lib/gdb.exp (gdb_test_no_output): New function.
2520 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2521 when testing commands that should produce no output.
2522
2523 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2524
2525 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2526 parameter that we want to watch being a constant.
2527
2528 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2529
2530 * gdb.ada/cond_lang: New testcase.
2531
2532 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2533
2534 * lib/gdb.exp (banned_variables): New variable/constant.
2535 (gdb_init): Add write trace on variables listed in banned_variables.
2536 (gdb_finish): Remove write traces on variables listed in
2537 banned_variables.
2538
2539 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2540
2541 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2542 * gdb.cp/koenig.exp: Likewise.
2543
2544 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2545
2546 PR python/11482
2547
2548 * gdb.python/py-value.exp (test_value_hash): New function.
2549
2550 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2551
2552 PR exp/11530.
2553 * gdb.base/gdb11530.c: New file.
2554 * gdb.base/gdb11530.exp: New file.
2555
2556 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2557
2558 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2559 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2560
2561 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2562
2563 * gdb.cp/koenig.exp: New test.
2564 * gdb.cp/koenig.cc: New test program.
2565
2566 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2567
2568 Remove the use of prms_id and bug_id throughout the testsuite.
2569
2570 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2571
2572 PR exp/11349.
2573 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2574 use a reference local variable.
2575
2576 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2577
2578 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2579 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2580 variable different_dir. Move debugfile into a full directory pathname
2581 under DIFFERENT_DIR.
2582 * lib/gdb.exp (separate_debug_filename): Remove.
2583 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2584 variable debug_dir and mkdir of it. Update function comments.
2585
2586 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2587
2588 PR gdb/11557
2589
2590 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2591 files.
2592
2593 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2594
2595 * gdb.python/py-param.exp: New File.
2596
2597 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2598
2599 * gdb.base/default.exp: Fix "set language" test.
2600
2601 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2602
2603 PR breakpoints/11531.
2604 * gdb.base/gdb11531.c: New file.
2605 * gdb.base/gdb11531.exp: New file.
2606
2607 2010-04-26 Tom Tromey <tromey@redhat.com>
2608
2609 * gdb.base/completion.exp: Add tests for completion and deprecated
2610 commands.
2611
2612 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2615 (print /x char_array): Escape curly brackets.
2616
2617 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2618
2619 Fix deadlock on looped list of loaded shared objects.
2620 * gdb.base/solib-corrupted.exp: New.
2621
2622 2010-04-23 Doug Evans <dje@google.com>
2623
2624 * gdb.python/py-section-script.c: New file.
2625 * gdb.python/py-section-script.exp: New file.
2626 * gdb.python/py-section-script.py: New file.
2627
2628 2010-04-20 Chris Moller <cmoller@redhat.com>
2629
2630 PR 10179
2631
2632 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2633 * gdb.base/pr10179-a.c:
2634 * gdb.base/pr10179-b.c:
2635 * gdb.base/pr10179.exp: New files.
2636
2637 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 Fix crashes on dangling display expressions.
2640 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2641 is SEP.
2642 (lib_flags): Remove the "debug" keyword.
2643 (libsepdebug): New variable for iterating new loop.
2644 (save_pf_prefix): New variable wrapping the loop.
2645 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2646 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2647
2648 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2649
2650 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2651
2652 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2653
2654 PR stabs/11479.
2655 * gdb.stabs/gdb11479.exp: New file.
2656 * gdb.stabs/gdb11479.c: New file.
2657
2658 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2659
2660 * gdb.base/charset.c (Strin16, String32): New variables.
2661 * gdb.base/charset.exp (gdb_test): Test correct display
2662 of 16 or 32 bit strings.
2663
2664 2010-04-21 Chris Moller <cmoller@redhat.com>
2665
2666 PR 9167
2667 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2668 * gdb.cp/pr9167.cc: New file.
2669 * gdb.cp/pr9167.exp: New file.
2670
2671
2672 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2673
2674 PR pascal/11492.
2675 * gdb.pascal/gdb11492.pas: New file.
2676 * gdb.pascal/gdb11492.exp: New file.
2677
2678 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2679
2680 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2681
2682 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2683
2684 * gdb.ada/dyn_loc: New testcase.
2685
2686 2010-04-20 Chris Moller <cmoller@redhat.com>
2687
2688 PR 10867
2689
2690 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2691 * gdb.cp/pr10687.cc: New file.
2692 * gdb.cp/pr10687.exp: New file.
2693
2694
2695 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2696 Sergio Durigan Junior <sergiodj@redhat.com>
2697
2698 * gdb.fortran/logical.exp: New testcase.
2699 * gdb.fortran/logical.f90: New file.
2700
2701 2010-04-19 Doug Evans <dje@google.com>
2702
2703 * gdb.base/help.exp (help source): Update expected output.
2704
2705 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2706
2707 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2708 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2709 gdb_exit and return.
2710 (executable): New variable.
2711 (binfile): Use it.
2712
2713 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2714
2715 PR breakpoints/8554.
2716
2717 * gdb.trace/save-trace.exp: Adjust.
2718
2719 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2720
2721 PR corefiles/11511
2722 * gdb.arch/system-gcore.exp: New.
2723 * gdb.arch/gcore.c: Likewise.
2724
2725 2010-04-15 Doug Evans <dje@google.com>
2726
2727 * gdb.python/py-progspace.c: New file.
2728 * gdb.python/py-progspace.exp: New file.
2729
2730 * gdb.base/source.exp: Add tests for "source -s".
2731
2732 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2733
2734 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2735 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2736 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2737 * gdb.python/py-mi.exp: New test for to_string returning None.
2738
2739 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2740
2741 * gdb.python/py-breakpoint.c: Make result global.
2742
2743 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2744
2745 Fix non-GNU make compatibility.
2746 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2747
2748 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2749
2750 * gdb.python/py-breakpoint.exp: New File.
2751 * gdb.python/py-breakpoint.C: Ditto.
2752
2753 2010-04-08 Stan Shebs <stan@codesourcery.com>
2754
2755 * gdb.trace/actions.exp: Clear default-collect.
2756 * gdb.trace/save-trace.exp: Clear default-collect.
2757
2758 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2759
2760 * gdb.python/py-value: Add null string variable.
2761 (test_lazy_string): Test zero length, NULL address lazy
2762 strings.
2763
2764 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * gdb.arch/i386-avx.c: New.
2767 * gdb.arch/i386-avx.exp: Likewise.
2768
2769 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2770
2771 2010-04-06 Doug Evans <dje@google.com>
2772
2773 * gdb.base/source-test.gdb: New file.
2774 * gdb.base/source.exp: Test source -v.
2775
2776 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2777
2778 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2779
2780 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2781
2782 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2783 within one line, unless it is followed by a double quote.
2784 * gdb.stabs/hppa.sed: Idem.
2785 * gdb.stabs/weird.def: Add char and String constants
2786 * gdb.stabs/weird.exp: Check for correct parsing of
2787 char and string constants.
2788 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2789 in .stabs to .stabx substitution.
2790
2791 2010-04-05 Stan Shebs <stan@codesourcery.com>
2792
2793 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2794 constant global.
2795 * gdb.trace/tfile.exp: Try to print them.
2796
2797 2010-04-04 Stan Shebs <stan@codesourcery.com>
2798
2799 * gdb.base/completion.exp: Update for new "info watchpoints".
2800 * gdb.base/default.exp: Ditto.
2801 * gdb.base/help.exp: Ditto.
2802 * gdb.base/watchpoint.exp: Ditto.
2803 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2804
2805 2010-04-04 Stan Shebs <stan@codesourcery.com>
2806
2807 * gdb.trace/tfile.exp: Sharpen tfind test.
2808
2809 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2810
2811 * gdb.base/break-entry.exp: New.
2812
2813 2010-04-02 Hui Zhu <teawater@gmail.com>
2814 Michael Snyder <msnyder@vmware.com>
2815
2816 * gdb.reverse/i386-sse-reverse.exp: New file.
2817 * gdb.reverse/i386-sse-reverse.c: New file.
2818
2819 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2820
2821 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2822
2823 2010-04-01 Stan Shebs <stan@codesourcery.com>
2824
2825 * gdb.trace/actions.exp: Tweak expected output.
2826 * gdb.trace/while-stepping.exp: Tweak expected output.
2827
2828 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2829
2830 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2831
2832 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2833
2834 * gdb.base/commands.exp: Adjust.
2835 * gdb.cp/extern-c.exp: Adjust.
2836
2837 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2838
2839 * gdb.trace/collection.c (local_test_func): Define a local struct,
2840 and instanciate it.
2841
2842 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2843
2844 * gdb.trace/collection.exp (gdb_collect_args_test)
2845 (gdb_collect_argarray_test): XFAIL the tests that assume the
2846 argarray argument's elements are collected.
2847
2848 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2849
2850 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2851 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2852
2853 2010-03-31 Stan Shebs <stan@codesourcery.com>
2854
2855 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2856 and tracepoint conditionals.
2857 (gdb_verify_tracepoints): Delete unused return.
2858
2859 2010-03-26 Keith Seitz <keiths@redhat.com>
2860
2861 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2862 appear in the output before main.
2863 Remove KFAIL for gdb/2215 aka bz 9320.
2864
2865 2010-03-30 Doug Evans <dje@google.com>
2866
2867 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2868 by dejagnu.
2869 * gdb.arch/amd64-dword.exp: Ditto.
2870
2871 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2872 match.
2873 (break printf): Ditto.
2874
2875 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2876
2877 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2878 gcc < 4.4.
2879 * gdb.cp/shadow.exp: Ditto.
2880
2881 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2882
2883 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2884 "tstart" is silent.
2885
2886 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2887
2888 * gdb.trace/collection.exp (executable): New.
2889 (binfile): Use it.
2890 (fpreg, spreg, pcreg): New.
2891 (test_register): Use gdb_test_multiple. Pass /x to print.
2892 (prepare_for_trace_test): New.
2893 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2894 (gdb_collect_args_test, gdb_collect_argstruct_test)
2895 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2896 prepare_for_trace_test.
2897 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2898 fpreg, spreg and pcreg.
2899 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2900 prepare_for_trace_test.
2901 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2902 try to detect tracing support here. Don't set breakpoints at
2903 `begin' or `end' here.
2904 <global scope>: Use clean_restart. Run to main before checking
2905 for tracing support. Check for for tracing support here.
2906
2907 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2908
2909 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2910 " as $displacement" to "seen displacement message".
2911
2912 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2913
2914 * gdb.trace/while-dyn.exp (executable): New variable.
2915 (binfile): Use it.
2916 (test_while_stepping): New function. Move most tests here. Call
2917 it once for each of the while-stepping, stepping and ws aliases.
2918
2919 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2920
2921 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2922 that do not provide the tagless_struct type name at all.
2923 (test_print_anon_union): Do not check value of uninitialized
2924 union member. Do not use cp_test_ptype_class, so we can accept
2925 "long" as well as "long int".
2926
2927 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2928
2929 * gdb.trace/tfile.c (tohex, bin2hex): New.
2930 (write_error_trace_file): Hexify error description.
2931
2932 2010-03-25 Stan Shebs <stan@codesourcery.com>
2933
2934 * gdb.trace/tfile.c: Generate an additional trace file, improve
2935 portability.
2936 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2937 files in a better way.
2938
2939 2010-03-25 Keith Seitz <keiths@redhat.com>
2940
2941 * gdb.java/jprint.exp: XFAIL printing of static class members
2942 because of GCC debuginfo problem.
2943
2944 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2945
2946 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2947
2948 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2949
2950 * gdb.base/completion.exp: Allow long instead of long int.
2951 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2952 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2953 variable p.
2954 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2955 * gdb.base/pointers.exp: Allow long instead of long int.
2956 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2957 * gdb.base/step-line.exp: Allow a directory before the source file name.
2958
2959 2010-03-24 Tom Tromey <tromey@redhat.com>
2960
2961 PR breakpoints/9352:
2962 * gdb.base/default.exp: Update.
2963 * gdb.base/commands.exp: Update.
2964 * gdb.cp/extern-c.exp: Test setting commands on multiple
2965 breakpoints at once.
2966
2967 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2968
2969 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2970 if gdb,nosignals.
2971 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2972 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2973 exited".
2974
2975 2010-03-24 Stan Shebs <stan@codesourcery.com>
2976
2977 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2978
2979 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2980
2981 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2982 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2983 argument. Handle "short" and "long".
2984 (Top level): Pass overprototyped output for old_fptr and xptr.
2985
2986 2010-03-23 Pedro Alves <pedro@codesourcery.com>
2987
2988 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2989 format strings and add casts to avoid compiler warnings.
2990
2991 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
2992
2993 * lib/trace-support.exp (gdb_trace_setactions):
2994 Don't expect whitespace after ">" prompt.
2995 * gdb.trace/actions.exp: Adjust for output changes.
2996 * gdb.trace/while-stepping.exp: Likewise.
2997
2998 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2999
3000 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3001 and r157645).
3002
3003 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3004
3005 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3006 New.
3007
3008 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3009
3010 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3011 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3012
3013 2010-03-19 Stan Shebs <stan@codesourcery.com>
3014
3015 * gdb.trace/ax.exp: New file.
3016
3017 2010-03-19 Doug Evans <dje@google.com>
3018
3019 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3020 output from gcc.
3021
3022 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3023 named /usr/sbin/prelink<foo>.
3024
3025 2010-03-18 Stan Shebs <stan@codesourcery.com>
3026
3027 * gdb.trace/circ.exp: Test circular-trace-buffer.
3028 * gdb.trace/tfile.exp: Update tstatus test.
3029
3030 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3031
3032 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3033 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3034
3035 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3036
3037 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3038
3039 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3040
3041 * gdb.base/default.exp: Adjust the expected output of the finish
3042 and until commands when the inferior is not being run.
3043
3044 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3045
3046 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3047 * gdb.cp/nsusing.exp: Ditto.
3048
3049 2010-03-15 Tom Tromey <tromey@redhat.com>
3050
3051 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3052 * gdb.cp/userdef.cc (operator==): New function.
3053 (main): New locals mem1, mem2.
3054
3055 2010-03-15 Jie Zhang <jie@codesourcery.com>
3056
3057 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3058 Declare and use new loadtimeout variable.
3059
3060 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3061
3062 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3063 Use gdb_load later.
3064
3065 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3066
3067 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3068 literal. Add missing endlines to prints to stderr.
3069
3070 2010-03-12 Tom Tromey <tromey@redhat.com>
3071
3072 PR c++/9708:
3073 * gdb.cp/m-static.exp: Add regression test.
3074 * gdb.cp/m-static.cc (method): New method.
3075 (main): Call it.
3076
3077 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3078
3079 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3080 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3081
3082 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3083
3084 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3085
3086 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3087
3088 * lib/gdb.exp (skip_stl_tests): New.
3089 (gdb_compile): Symbian needs -ldl.
3090 (shlib_target_file): New.
3091 (shlib_symbol_file): New.
3092 (gdb_load_shlibs): Use shlib_target_file.
3093 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3094 * gdb.cp/exception.exp: Use skip_stl_tests.
3095 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3096 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3097 * gdb.cp/mb-templates.exp: Ditto.
3098 * gdb.base/commands.exp: Relax regexes.
3099 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3100 shlib_target_file and shlib_symbol_file.
3101 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3102 sections.
3103 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3104 * gdb.base/solib-disc.exp: Use
3105 shlib_target_file and shlib_symbol_file.
3106 * gdb.base/unload.exp: Don't skip on symbian. Use
3107 shlib_target_file and shlib_symbol_file.
3108 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3109
3110 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3111
3112 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3113 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3114 Issue a tfind end before looking for a tracepoint frame.
3115 * gdb.trace/tfind.exp: Adjust tstatus output.
3116 Adjust disassembly output.
3117 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3118
3119 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * gdb.base/break-interp.exp: Create new displacement parameter value
3122 for the test_ld calls.
3123 (reach): New parameter displacement, verify its content. New push of
3124 pf_prefix "reach-$func:". Import global expect_out.
3125 (test_core): New parameter displacement, verify its content. New push
3126 of pf_prefix "core:". New command "set verbose on". Import global
3127 expect_out.
3128 (test_attach): New parameter displacement, verify its content. New
3129 push of pf_prefix "attach:". New command "set verbose on". Import
3130 global expect_out.
3131 (test_ld): New parameter displacement, pass it to the reach, test_core
3132 and test_attach calls and verify its content in the "ld.so exit" test.
3133 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3134 (prelink): Update expected text, use gdb_test.
3135
3136 2010-03-10 Doug Evans <dje@google.com>
3137
3138 * gdb.base/checkpoint.exp: Fix comment.
3139 Lengthen timeout while doing >600 checkpoints test.
3140 Rename duplicate "kill all one" test to keep test names unique.
3141
3142 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3143
3144 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3145
3146 2010-03-08 Keith Seitz <keiths@redhat.com>
3147
3148 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3149 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3150 (dm_type_long): New function.
3151 (dm_type_unsigned_short): New function.
3152 (dm_type_unsigned_long): New function.
3153 (myint): New typedef.
3154 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3155 long, unsigned shor and long, operator char*, and typedef.
3156 (test_lookup_operator_functions): Add operator char* test.
3157 (test_paddr_operator_functions): Likewise.
3158 (test_paddr_overloaded_functions): Use probe values for
3159 short, long, and unsigned short and long.
3160 (test_paddr_hairy_functions): If the demangler probe detected
3161 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3162 demangler.
3163 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3164 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3165 and "print null_pmf".
3166 Add test "ptype a.*pmf".
3167 * gdb.cp/overload.exp: Allow optional "int" to appear with
3168 "short" and "long".
3169 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3170 long expect value for men_overload1arg.
3171 Allow "int" to appear with "short" and "long".
3172 When testing "info break", add argument for main (void).
3173 Also allow "int" to appear with "short" and "long".
3174 Ditto with "unsigned" and "long long".
3175 * gdb.java/jmain.exp: Do not enclose methods names in single
3176 quotes.
3177 * gdb.java/jmisc.exp: Likewise.
3178 * gdb.java/jprint.exp: Likewise.
3179 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3180
3181 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3182 * gdb.cp/exception.exp (backtrace after first throw)
3183 (backtrace after second throw): Allow a namespace before __cxa_throw.
3184 (backtrace after first catch, backtrace after second catch): Allow
3185 a namespace before __cxa_begin_catch.
3186
3187 * gdb.cp/cpexprs.exp: New file.
3188 * gdb.cp/cpexprs.cc: New file.
3189
3190 From Daniel Jacobowitz <dan@codesourcery.com>
3191 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3192 to use string_to_regexp.
3193 (ctor, dtor): New functions. Use them to match constructor
3194 and destructor function types.
3195 (Top level): Use runto_main.
3196
3197 2010-03-05 Tom Tromey <tromey@redhat.com>
3198
3199 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3200 gdb.target_charset.
3201 (pp_ns.to_string): Likewise.
3202
3203 2010-03-04 Keith Seitz <keiths@redhat.com>
3204
3205 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3206 can be quoted. Test that both the filename and function/line
3207 portions can be quoted at the same time.
3208
3209 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3210
3211 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3212
3213 2010-03-03 Doug Evans <dje@google.com>
3214
3215 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3216 libc contains libpthread.
3217
3218 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3219 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3220 of gdb_compile. Add another pattern to match android backtrace.
3221
3222 2010-03-03 Tom Tromey <tromey@redhat.com>
3223
3224 PR gdb/11345:
3225 * gdb.base/printcmds.exp (test_printf): Add test.
3226
3227 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 * gdb.arch/amd64-byte.exp: New.
3230 * gdb.arch/amd64-dword.exp: Likewise.
3231 * gdb.arch/amd64-pseudo.c: Likewise.
3232 * gdb.arch/amd64-word.exp: Likewise.
3233 * gdb.arch/i386-byte.exp: Likewise.
3234 * gdb.arch/i386-pseudo.c: Likewise.
3235 * gdb.arch/i386-word.exp: Likewise.
3236
3237 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3238
3239 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3240 types. Add structreg, bitfields, and flags registers.
3241 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3242 registers.
3243
3244 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3245
3246 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3247 (load_description): Set architecture if defined.
3248
3249 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3250
3251 * gdb.python/py-frame.exp: Add read_var block tests.
3252 * gdb.python/py-frame.c (block): New function.
3253
3254 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3255 Daniel Jacobowitz <dan@codesourcery.com>
3256
3257 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3258
3259 2010-02-25 David S. Miller <davem@davemloft.net>
3260
3261 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3262 fix logic for setting all_syscalls_numbers.
3263
3264 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3265
3266 * Makefile.in: Add py-block and py-symbol.
3267 * gdb.python/py-symbol.exp: New File.
3268 * gdb.python/py-symtab.exp: New File.
3269 * gdb.python/py-block.exp: New File.
3270 * gdb.python/py-symbol.c: New File.
3271 * gdb.python/py-block.c: New File.
3272
3273 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3274
3275 PR python/11314
3276 * lib/gdb.exp (skip_python_tests): New function.
3277 * gdb.python/py-cmd.exp: Use skip_python_tests.
3278 * gdb.python/py-frame.exp: Likewise.
3279 * gdb.python/py-function.exp: Likewise.
3280 * gdb.python/py-prettyprint.exp: Likewise.
3281 * gdb.python/py-template.exp: Likewise.
3282 * gdb.python/py-type.exp: Likewise.
3283 * gdb.python/py-value.exp: Likewise.
3284
3285 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3286
3287 PR9605
3288
3289 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3290
3291 2010-02-19 Tom Tromey <tromey@redhat.com>
3292
3293 PR c++/8693, PR c++/9496:
3294 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3295 regression tests.
3296
3297 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3298
3299 Fix compatibility with m68k as.
3300 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3301 Use only /* comments */.
3302
3303 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3304
3305 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3306 * configure: Regenerate.
3307
3308 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3309
3310 * gdb.python/py-type.exp: Check for Python support.
3311
3312 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3313
3314 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3315 `regsub' syntax available.
3316
3317 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3318
3319 * gdb.base/shmain.c (main): Remove printf call.
3320 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3321 * gdb.base/unload.c (main): Make format of fprintf a string
3322 literal. Add missing endlines to prints to stderr.
3323 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3324
3325 2010-02-17 Tom Tromey <tromey@redhat.com>
3326
3327 * gdb.java/jprint.java (jprint.props): New field.
3328 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3329
3330 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3331
3332 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3333 available.
3334
3335 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3336
3337 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3338 creation to support remote host testing.
3339
3340 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3341
3342 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3343 Recognize "command not found".
3344
3345 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3346
3347 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3348 single-stepping.
3349
3350 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3351
3352 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3353 if arguments are not supported.
3354
3355 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3356
3357 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3358 be const or non-const.
3359
3360 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3361
3362 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3363 mi_send_resuming_command to send -exec-continue.
3364
3365 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3366
3367 * gdb.base/list.exp (test_list_filename_and_function): Add test
3368 with single quotes.
3369 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3370 matching.
3371 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3372 Add KFAIL'd tests for PR gdb/11289.
3373
3374 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3375
3376 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3377
3378 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3379
3380 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3381 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3382 a temporary directory.
3383
3384 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3385
3386 * gdb.base/charset.exp: Use a single regular expression to match
3387 show host-charset and show target-charset output.
3388
3389 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3390
3391 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3392 "Illegal process-id" expect string more exact.
3393 (attach to digits-starting nonsense is prohibited): New.
3394
3395 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3396
3397 * gdb.base/prelink.exp (set verbose on): New.
3398
3399 2010-02-12 Tomas Holmberg <th@virtutech.com>
3400
3401 * mi-reverse.exp: New file. Test for reverse option to the
3402 following MI commands: exec-continue, exec-finish, exec-next,
3403 exec-step, exec-next-instruction, exec-step-instruction.
3404
3405 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3406
3407 * gdb.ada/ptype_tagged_param: New testcase.
3408
3409 2010-02-08 Tom Tromey <tromey@redhat.com>
3410
3411 PR c++/8017:
3412 * gdb.cp/overload.exp: Add tests.
3413 * gdb.cp/overload.cc (struct K): New.
3414 (namespace N): New.
3415 (main): Call new functions.
3416 (K::staticoverload): Define.
3417
3418 2010-02-08 Chris Moller <moller@mollerware.com>
3419
3420 PR gdb/10728
3421 * gdb.cp/pr10728-x.h: New file.
3422 * gdb.cp/pr10728-x.cc: New file.
3423 * gdb.cp/pr10728-y.cc: New file.
3424 * gdb.cp/pr10728.exp: New file.
3425 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3426
3427 2010-02-08 Chris Moller <moller@mollerware.com>
3428
3429 PR gdb/9067
3430 * gdb.cp/pr9067.exp: New
3431 * gdb.cp/pr9067.cc: New
3432 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3433
3434 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3435
3436 * lib/gdb.exp (gdb_test_timeout): New global variable.
3437 Set it to timeout if not already set.
3438 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3439
3440 2010-02-05 Doug Evans <dje@google.com>
3441
3442 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3443 user.
3444
3445 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3446
3447 PR c++/7935:
3448 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3449
3450 2010-02-04 Tom Tromey <tromey@redhat.com>
3451
3452 * gdb.cp/virtbase.exp: Make test case names unique.
3453
3454 2010-02-02 Tom Tromey <tromey@redhat.com>
3455
3456 * gdb.cp/virtbase.exp: Add regression tests.
3457 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3458 (main): Instantiate RHC.
3459
3460 2010-02-02 Tom Tromey <tromey@redhat.com>
3461
3462 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3463 type-printing change.
3464
3465 2010-02-02 Tom Tromey <tromey@redhat.com>
3466
3467 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3468 * gdb.cp/virtbase.cc: New file.
3469 * gdb.cp/virtbase.exp: New file.
3470 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3471
3472 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 PR libc/11214:
3475 * gdb.threads/current-lwp-dead.c: Include features.h.
3476 (HAS_NOMMU): New.
3477 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3478
3479 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3480
3481 * gdb.base/symbol-without-target_section.exp,
3482 gdb.base/symbol-without-target_section.c: New.
3483
3484 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3485
3486 * gdb.base/bigcore.exp: Reset increased timeout.
3487 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3488
3489 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3490
3491 * gdb.base/gcore.exp (capture_command_output): Use
3492 gdb_test_multiple.
3493
3494 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3495
3496 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3497 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3498 (Top level): Call it.
3499
3500 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3501
3502 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3503
3504 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3505
3506 * gdb.base/call-strs.exp, gdb.base/default.exp,
3507 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3508 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3509 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3510 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3511 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3512 * gdb.base/ending-run.exp: Correct restore of timeout.
3513 * gdb.base/page.exp: Remove unnecessary timeout setting.
3514
3515 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3516
3517 * gdb.ada/rec_return: New testcase.
3518
3519 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3520
3521 * gdb.ada/call_pn: New testcase.
3522
3523 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3524
3525 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3526 (Top level): Use it to resume.
3527 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3528 the Thumb mode displaced stepping error as unsupported.
3529
3530 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3531
3532 * gdb.cp/nsusing.exp: Added more tests.
3533 * gdb.cp/nsrecurs.exp: Ditto.
3534 * gdb.cp/nsusing.cc: Added test functions.
3535 * gdb.cp/nsrecurs.cc: Ditto.
3536
3537 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3538
3539 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3540 absolute directory pathnames in gdb.sum file.
3541
3542 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3543
3544 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3545 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3546
3547 2010-01-26 Tom Tromey <tromey@redhat.com>
3548
3549 PR exp/7643:
3550 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3551 setup_kfail.
3552
3553 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3554
3555 * gdb.cp/nsrecurs.exp: New test.
3556 * gdb.cp/nsrecurs.cc: New test program.
3557 * gdb.cp/nsstress.exp: New test.
3558 * gdb.cp/nsstress.cc: New test program.
3559 * gdb.cp/nsdecl.exp: New test.
3560 * gdb.cp/nsdecl.cc: New test program.
3561
3562 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3563
3564 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3565 imported into file scope.
3566 Marked test as xfail.
3567 * gdb.cp/namespace-using.cc (marker5): New function.
3568 * gdb.cp/shadow.exp: New test.
3569 * gdb.cp/shadow.cc: New test program.
3570 * gdb.cp/nsimport.exp: New test.
3571 * gdb.cp/nsimport.cc: New test program.
3572
3573 2010-01-25 Tom Tromey <tromey@redhat.com>
3574
3575 PR gdb/11049:
3576 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3577 with "set print null-stop on".
3578
3579 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3580
3581 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3582 Adjust it for DISASSEMBLY_OMIT_FNAME.
3583
3584 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3585
3586 PR symtab/11199:
3587 * gdb.dwarf2/member-ptr-forwardref.exp,
3588 gdb.dwarf2/member-ptr-forwardref.S: New.
3589
3590 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3591
3592 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3593 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3594 thread1_tid_mutex. Remove gdbstop_mutex handling.
3595 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3596 thread2_tid_mutex. Remove gdbstop_mutex handling.
3597 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3598 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3599 pthread_cond_wait conditionalizations by while loops.
3600
3601 2010-01-20 Tom Tromey <tromey@redhat.com>
3602
3603 PR backtrace/10770:
3604 * gdb.dwarf2/pr10770.exp: New file.
3605 * gdb.dwarf2/pr10770.c: New file.
3606 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3607
3608 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3609
3610 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3611 that target was removed, and the test always runs native anyway.
3612
3613 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3614
3615 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3616 gdb.base/watchpoint-cond-gone-stripped.c: New.
3617
3618 2010-01-19 Tom Tromey <tromey@redhat.com>
3619
3620 PR c++/8000:
3621 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3622 existing tests.
3623 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3624 (main): Use AAA::SomeEnum.
3625
3626 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3627
3628 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3629 (test_ignore_count): Declare line_callme_body global.
3630 (run to breakpoint with ignore count): Use line_callme_body.
3631 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3632 (set line_main_hello, set line_main_return): Reindent.
3633 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3634 New.
3635 (continue to callee4): Use line_callee4_body.
3636 (check *stopped from CLI command): Use line_callee4_next.
3637 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3638 (set line_main_hello, set line_main_return): Reindent.
3639 (set line_callee4_head, set line_callee4_body): New.
3640 (continue to callee4): Use line_callee4_body.
3641
3642 2010-01-18 Tom Tromey <tromey@redhat.com>
3643
3644 PR c++/9680:
3645 * gdb.cp/casts.cc: Add new classes and variables.
3646 * gdb.cp/casts.exp: Test new operators.
3647
3648 2010-01-18 Tom Tromey <tromey@redhat.com>
3649 Thiago Jung Bauermann <bauerman@br.ibm.com>
3650
3651 * gdb.python/source2.py: New file.
3652 * gdb.python/source1: New file.
3653 * gdb.python/python.exp: Test "source" command.
3654
3655 2010-01-15 Stan Shebs <stan@codesourcery.com>
3656
3657 * gdb.trace/tfile.c: New file.
3658 * gdb.trace/tfile.exp: New file.
3659
3660 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3661
3662 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3663
3664 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3665
3666 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3667
3668 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3671 (libfunc): New parameter action. Implement also selectable "sleep".
3672 * gdb.base/break-interp-main.c: Include assert.h.
3673 (libfunc): New parameter action.
3674 (main): New parameters argc and argv. Assert argc. Pass argv.
3675 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3676 (test_attach): New proc.
3677 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3678 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3679
3680 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3681
3682 * gdb.base/break-interp.exp (test_core): New proc.
3683 (test_ld): Call it.
3684
3685 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3686
3687 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3688 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3689 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3690 and gdb_compile_shlib. Use new -Wl compiler options.
3691 (dl bt, main bt): New tests.
3692
3693 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3694
3695 Support PIEs with no symfile_objfile.
3696 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3697 (test_ld): New parameter trynosym.
3698 (test_ld <$trynosym>): New block.
3699
3700 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3701
3702 * gdb.base/break-interp.exp: New file.
3703
3704 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3705
3706 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3707 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3708 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3709 test.
3710 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3711 * gdb.python/py-mi.exp: Add lazy string test.
3712
3713 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3714
3715 * lib/mi-support.exp (mi_check_thread_states): Handle
3716 core number in thread listing.
3717
3718 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3719
3720 * gdb.base/maint.exp: Adjust the expected output for the
3721 "maint print type" test. Use gdb_test_multiple instead of
3722 gdb_sent/gdb_expect.
3723
3724 2010-01-11 Doug Evans <dje@google.com>
3725
3726 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3727 from gdbserver_download. All callers updated.
3728
3729 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3730
3731 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3732
3733 Implement binary numbers parsing.
3734 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3735 (test_integer_literals_rejected): New binary tests.
3736
3737 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3738
3739 * gdb.cell/configure: Regenerate.
3740
3741 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3742
3743 * gdb.base/corefile.exp: Move the core finding block out and call it as
3744 core_find, new variable $corefile, replace corefile by $corefile and
3745 [file tail $corefile] for usage vs. test names resp.
3746 * lib/gdb.exp (core_find): Move it as a new function here. New
3747 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3748 $destcore. Return "" on error.
3749
3750 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3751
3752 Workaround PR binutils/10802.
3753 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3754 (twice).
3755
3756 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3757
3758 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3759
3760 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3761
3762 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3763 call, to avoid interruption.
3764
3765 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 * gdb.stabs/weird.def (args93): New.
3768
3769 2010-01-07 Doug Evans <dje@google.com>
3770
3771 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3772
3773 2010-01-07 Tom Tromey <tromey@redhat.com>
3774
3775 * gdb.base/source.exp: Use correct line number.
3776
3777 2010-01-05 Stan Shebs <stan@codesourcery.com>
3778
3779 * gdb.trace/tracecmd.exp: Test ftrace.
3780
3781 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3782
3783 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3784
3785 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3788 "uint_for_mi_testing".
3789
3790 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3791
3792 Test indented comment in file being sourced.
3793 * gdb.base/commands.exp: Test indented comment in file being sourced.
3794
3795 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3796
3797 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3798 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3799 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3800 notice.
3801
3802 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3803
3804 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3805 notice.
3806
3807 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3808
3809 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3810 missing $after_stopped and comma (,) expectation.
3811
3812 2009-12-31 Stan Shebs <stan@codesourcery.com>
3813
3814 * gdb.trace/actions.exp: Test teval action.
3815
3816 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3817
3818 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3819 (top level): Call test_watchpoint_in_big_blob.
3820 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3821 watchpoints.
3822 (func3): Write to buf.
3823
3824 2009-12-29 Stan Shebs <stan@codesourcery.com>
3825
3826 * gdb.trace/actions.exp: Test default-collect.
3827
3828 2009-12-28 Stan Shebs <stan@codesourcery.com>
3829
3830 * gdb.trace/tsv.exp: New file.
3831 * gdb.base/completion.exp: Update ambiguous info output.
3832
3833 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3834
3835 * gdb.base/find.c (main): Reference search buffers.
3836 * gdb.base/included.c (main): Reference integer.
3837 * gdb.base/ptype.c (charfoo): Declare.
3838 (intfoo): Call charfoo.
3839 * gdb.base/scope0.c (useitp): New function.
3840 (usestatics): Use useitp.
3841 (useit): Add a type for val.
3842 * gdb.base/scope1.c (useit1): Take a pointer argument.
3843 (usestatics1): Update calls to useit1.
3844 * gdb.cp/call-c.cc: Declare foo.
3845 (main): Call foo.
3846 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3847 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3848 (main): Call C::ensureRefs and ensureOtherRefs.
3849 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3850 variables.
3851 (ensureOtherRefs): New function.
3852 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3853 * gdb.cp/templates.cc (main): Call t5i.value.
3854
3855 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3856
3857 Fix compatibility with G++-4.5.
3858 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3859 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3860 (uncaught return): Remove.
3861
3862 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 Phil Muldoon <pmuldoon@redhat.com>
3864
3865 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3866 (bp_location13, bp_location14, bp_location17, bp_location18)
3867 (marker3_proto, marker4_proto): New variables.
3868 (breakpoint info): Update output.
3869 (run until breakpoint at marker3, run until breakpoint at marker4): New
3870 tests.
3871
3872 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3875 Replace the printf call of Y by provided "y-set-1" label. New block
3876 for the second shared library.
3877 * gdb.base/unload.exp: Compile also the second library, call
3878 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3879 (single pending breakpoint info): Rename to ...
3880 (pending breakpoint info before run): ... this extended test.
3881 (libfile2, libname2, libsrcfile2, libsrc2)
3882 (lib_sl2): New variables.
3883 (exec_opts): Set also SHLIB_NAME2.
3884 (pending breakpoint info on first run at shrfunc1)
3885 (pending breakpoint info on second run at shrfunc1)
3886 (pending breakpoint info on second run at shrfunc2)
3887 (print y from libfile, print y from libfile2): New tests.
3888 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3889 * gdb.base/unloadshr2.c: New.
3890
3891 2009-12-22 Hui Zhu <teawater@gmail.com>
3892
3893 * gdb.reverse/sigall-reverse.exp: Adjust.
3894
3895 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3896
3897 PR gdb/10884
3898
3899 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3900 (main): Call do_bitfield_tests.
3901 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
3902
3903 2009-12-20 Joel Brobecker <brobecker@adacore.com>
3904
3905 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3906 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3907 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3908 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3909 gdb.modula2/unbounded1.c: Update copyright header.
3910
3911 2009-12-10 Chris Moller <moller@mollerware.com>
3912
3913 PR gdb/9399
3914 * gdb.cp/virtfunc2.exp: New tests
3915 * gdb.cp/virtfunc2.cc: New tests
3916 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3917
3918 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3919
3920 * gdb.reverse/i387-env-reverse.c: New file.
3921 * gdb.reverse/i387-env-reverse.exp: New file.
3922 * gdb.reverse/i387-stack-reverse.c: New file.
3923 * gdb.reverse/i387-stack-reverse.exp: New file.
3924
3925 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3926
3927 * gdb.python/py-type.exp (test_range): New test.
3928
3929 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3930
3931 PR python/10805
3932
3933 * gdb.python/py-type.exp: New file.
3934 * gdb.python/py-type.c: New file.
3935 * Makefile.in: Add py-type.
3936
3937 2009-12-03 Tom Tromey <tromey@redhat.com>
3938
3939 * gdb.python/py-value.exp (test_parse_and_eval): New
3940 function.
3941
3942 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3943
3944 PR gdb/11022
3945
3946 * gdb.base/pr11022.exp: New test.
3947 * gdb.base/pr11022.c: New test.
3948
3949 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3950
3951 Fix spurious false FAILs.
3952 * gdb.base/structs.c (chartest): New.
3953 (main): Fill-in chartest.
3954 * gdb.base/structs.exp (anychar_re, first): New.
3955 (start_structs_test): Import global anychar_re and first.
3956 New gdb_test call "set print elements 300; ${testfile}"
3957 (start_structs_test <$first>): New block.
3958 (any): Import global anychar_re. New variable ac. Use ${ac}.
3959
3960 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3963
3964 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3965
3966 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3967 Force $srcfile file.
3968 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3969
3970 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3971
3972 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3973 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3974 * gdb.threads/watchthreads-reorder.exp: Likewise.
3975
3976 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3977
3978 PR gdb/8704
3979
3980 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3981 "if", and "thread". Correct matching in the previous test.
3982
3983 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3984
3985 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3986
3987 2009-11-23 Michael Snyder <msnyder@vmware.com>
3988
3989 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3990 * gdb.reverse-watch-precsave.exp: Ditto.
3991
3992 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3993
3994 * gdb.asm/asm-source.exp: Adjust.
3995 * gdb.base/help.exp: Adjust.
3996
3997 2009-11-22 Pedro Alves <pedro@codesourcery.com>
3998
3999 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4000 (do_syscall_tests_without_xml): Set data-directory to
4001 /the/path/to/nowhere.
4002
4003 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4004
4005 * gdb.threads/local-watch-wrong-thread.c,
4006 gdb.threads/local-watch-wrong-thread.exp: New files.
4007
4008 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4009
4010 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4011 assume new `regsub' syntax available.
4012
4013 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 * gdb.base/watchpoint-hw-hit-once.exp,
4016 gdb.base/watchpoint-hw-hit-once.c: New.
4017
4018 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4019
4020 * gdb.threads/watchthreads-reorder.exp,
4021 gdb.threads/watchthreads-reorder.c: New.
4022
4023 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4024
4025 * gdb.xml/tdesc-regs.exp: Use for m68k.
4026
4027 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4028
4029 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4030
4031 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4032
4033 * lib/gdb.exp (current_target_name): New procedure.
4034 (gdb_wrapper_target): New variable.
4035 (gdb_wrapper_init): Set gdb_wrapper_target.
4036 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4037 wrapper.
4038
4039 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4040
4041 * gdb.base/remote.exp: Delete the slowest load test.
4042 Do not load with fixed packet sizes.
4043
4044 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4045
4046 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4047
4048 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4049
4050 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4051 srcfile when setting a breakpoint.
4052
4053 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4054
4055 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4056 macros.
4057
4058 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4059
4060 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4061 to be in memory.
4062 * gdb.base/display.c (force_mem): New.
4063 (do_loops): Use it. Add breakpoint comments.
4064 (do_vars): Add a breakpoint comment.
4065 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4066 line numbers.
4067
4068 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4069
4070 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4071 instead of a bare "run".
4072
4073 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4074
4075 * gdb.python/py-prettyprint.exp: Adjust.
4076
4077 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4078
4079 * lib/cell.exp (skip_cell_tests): Clean up test files before
4080 returning.
4081
4082 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4083
4084 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4085 and the breakpoint menu. Do not call perror if a prompt is seen.
4086 Consume the following GDB prompt.
4087 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4088 * gdb.cp/namespace.exp: Use gdb_test.
4089 * gdb.cp/templates.exp: Use gdb_test.
4090 (test_template_breakpoints): Use gdb_test_multiple.
4091
4092 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4093
4094 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4095 (marker4): Reference values.
4096
4097 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4098
4099 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4100 is missing.
4101
4102 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4103
4104 * gdb.base/break.c (need_malloc): New.
4105 * gdb.base/constvars.c (main): Reference crass and crisp.
4106 * gdb.base/gdb1821.c (main): Reference bar.
4107 * gdb.cp/gdb1355.cc (main): Reference s1.
4108 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4109 (main): Call them.
4110 * gdb.cp/hang2.cc (dummy2): Define.
4111 * gdb.cp/hang3.cc (dummy3): Define.
4112 * gdb.cp/m-data.cc (main): Reference shadow.
4113
4114 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4115 Nathan Froyd <froydnj@codesourcery.com>
4116
4117 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4118 remote host.
4119
4120 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4121
4122 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4123 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4124 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4125 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4126 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4127 * gdb.dwarf2/dw2-producer.exp: Likewise.
4128 * gdb.dwarf2/mac-fileno.exp: Likewise.
4129 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4130 py-prettyprint.py to the remote host.
4131 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4132
4133 2009-11-11 Keith Seitz <keiths@redhat.com>
4134
4135 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4136 use it instead of "Foo".
4137 * gdb.cp/classes.exp (do_tests): Add a test to access
4138 a method through a typedef'd class name.
4139
4140 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4141
4142 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4143 exponents.
4144 * gdb.base/pointers.exp: Likewise.
4145 * gdb.cp/ref-types.exp: Likewise.
4146
4147 2009-11-11 Keith Seitz <keiths@redhat.com>
4148
4149 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4150 new[] and delete[].
4151 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4152 "void".
4153 (probe_demangler): Remove all single-quoting of
4154 method and variable names.
4155 (info_func_regexp): Remove the word "void" from any
4156 occurrence of "(void)".
4157 (print_addr_2): Remove all single-quoting of
4158 method names.
4159 (print_addr_2_kfail): Likewise.
4160 (print_addr): Single-quote C function names before
4161 passing to print_addr_2.
4162 (test_paddr_operator_functions): Remove single-quoting
4163 for method names.
4164 Add tests for operator new[] and operator delete[].
4165
4166 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4167
4168 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4169
4170 2009-11-09 Keith Seitz <keiths@redhat.com>
4171
4172 * gdb.cp/overload.exp: Add tests for resolving overloaded
4173 methods in expression parsing/evaluation.
4174
4175 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4176
4177 * lib/gdb.exp (default_gdb_version): Use --version instead of
4178 --command.
4179
4180 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4181
4182 * lib/gdb.exp (gdb_compile_test): New.
4183 (skip_ada_tests, skip_java_tests): New.
4184 (gdb_compile): Use gdb_compile_test for f77.
4185 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4186 * lib/java.exp (compile_java_from_source): Remove runtests check,
4187 use gdb_compile_test to record result.
4188 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4189 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4190 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4191 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4192 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4193 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4194 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4195 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4196 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4197 adjust gdb_compile invocations.
4198
4199 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4200
4201 * Makefile.in (abs_builddir): New.
4202 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4203 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4204 `$(abs_builddir)/site.exp'.
4205
4206 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4207
4208 * config/m68k-emc.exp, lib/emc-support.exp,
4209 gdb.trace/gdb_c_test.c: Delete.
4210 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4211 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4212 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4213 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4214 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4215 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4216 casing for m68k-*-elf.
4217
4218 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4219
4220 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4221 * gdb.arch/i386-prologue.exp: Likewise.
4222 * gdb.arch/i386-unwind.exp: Likewise.
4223
4224 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4225
4226 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4227
4228 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4229
4230 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4231
4232 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4233
4234 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4235
4236 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4237
4238 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4239
4240 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4241
4242 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4243 * gdb.base/sepdebug2.c: New file.
4244
4245 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4246
4247 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4248 the modified warnings for catch syscall. Verify if GDB was compiled
4249 with support for lib expat, and choose which tests to run depending
4250 on this.
4251
4252 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4253
4254 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4255 that composite commands are parsed OK. And also test
4256 that breakpoint commands do work.
4257
4258 2009-10-23 Michael Snyder <msnyder@vmware.com>
4259
4260 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4261 to allow for new disassembly style.
4262
4263 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4264
4265 * gdb.asm/asm-source.exp: Adjust.
4266
4267 2009-10-22 Michael Snyder <msnyder@vmware.com>
4268
4269 * gdb.reverse/break-precsave.exp: New test.
4270 * gdb.reverse/consecutive-precsave.exp: Ditto.
4271 * gdb.reverse/finish-precsave.exp: Ditto.
4272 * gdb.reverse/i386-precsave.exp: Ditto.
4273 * gdb.reverse/machinestate-precsave.exp: Ditto.
4274 * gdb.reverse/sigall-precsave.exp: Ditto.
4275 * gdb.reverse/solilb-precsave.exp: Ditto.
4276 * gdb.reverse/step-precsave.exp: Ditto.
4277 * gdb.reverse/until-precsave.exp: Ditto.
4278 * gdb.reverse/watch-precsave.exp: Ditto.
4279
4280 2009-10-22 Michael Snyder <msnyder@vmware.com>
4281
4282 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4283 for gdb_expect. Adjust one test's expect strings for the new
4284 format of disassemble.
4285 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4286 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4287 gdb_test_multiple.
4288 * gdb.reverse/step-reverse.exp: Delete 'return'.
4289 * gdb.reverse/until-reverse.exp: Delete blank lines.
4290 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4291
4292 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4293
4294 * gdb.base/consecutive.exp: Adjust.
4295 * gdb.base/display.exp: Likewise.
4296 * gdb.base/pc-fp.exp: Likewise.
4297 * gdb.base/sigbpt.exp: Likewise.
4298
4299 2009-10-19 Michael Snyder <msnyder@vmware.com>
4300
4301 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4302 * gdb.reverse/finish-reverse.c: Ditto.
4303 * gdb.reverse/sigall-reverse.c: Ditto.
4304 * gdb.reverse/solib-reverse.c: Ditto.
4305 * gdb.reverse/step-reverse.c: Ditto.
4306 * gdb.reverse/watch-reverse.c: Ditto.
4307
4308 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4309 Stan Shebs <stan@codesourcery.com>
4310
4311 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4312 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4313 "Executing new program".
4314 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4315 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4316 left listed after having been killed.
4317 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4318 * gdb.base/maint.exp: Adjust test.
4319
4320 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4321 * gdb.multi/Makefile.in: New.
4322 * gdb.multi/base.exp: New.
4323 * gdb.multi/goodbye.c: New.
4324 * gdb.multi/hangout.c: New.
4325 * gdb.multi/hello.c: New.
4326 * gdb.multi/bkpt-multi-exec.c: New.
4327 * gdb.multi/bkpt-multi-exec.exp: New.
4328 * gdb.multi/crashme.c: New.
4329
4330 2009-10-13 Tristan Gingold <gingold@adacore.com>
4331
4332 * gdb.base/sepdebug.exp: Check debug info are found.
4333
4334 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4335
4336 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4337 bits.
4338
4339 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4340
4341 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4342
4343 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4344
4345 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4346 of the comments.
4347
4348 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4349
4350 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4351 * gdb.base/annota3.exp: Idem.
4352 * gdb.base/maint.exp: Idem.
4353
4354 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4355
4356 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4357 to default.
4358
4359 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4360
4361 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4362 mingw and cygwin targets.
4363
4364 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4365 Pedro Alves <pedro@codesourcery.com>
4366
4367 * lib/gdb.exp (gdb_compile): Avoid adding
4368 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4369
4370 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4371
4372 * gdb.base/shr1.c: Use %p in format string.
4373 * gdb.base/unload.c: Avoid warning in fprintf.
4374 * gdb.base/watchpoint-solib.c: Idem.
4375
4376 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4377
4378 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4379 long type.
4380 (test_unlink): Correct printf string.
4381 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4382 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4383
4384 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4385
4386 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4387 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4388 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4389
4390 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4391
4392 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4393 * gdb.objc/nondebug.exp: Likewise.
4394
4395 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4396
4397 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4398 target_info setting.
4399
4400 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4401 that detect new threads during "info threads".
4402
4403 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4404
4405 * gdb.threads/manythreads.c (main): Increase thread stack size
4406 to 2*PTHREAD_STACK_MIN.
4407 * gdb.threads/multi-create.c (main): Likewise.
4408 (create_function): Likewise.
4409
4410 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4411
4412 * gdb.base/dump.exp: Pass difference of pointer types instead
4413 of integer types as offset to restore in intarr3.srec case.
4414
4415 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4416
4417 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4418
4419 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4420
4421 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4422
4423 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4424
4425 New test for two watchpoints, with disabling of
4426 the first inserted.
4427 * testsuite/gdb.base/watchpoints.c: New file.
4428 * testsuite/gdb.base/watchpoints.exp: New file.
4429
4430 2009-09-25 Tom Tromey <tromey@redhat.com>
4431
4432 * gdb.base/charset.exp: Test utf-16 strings with Python.
4433
4434 2009-09-25 Tom Tromey <tromey@redhat.com>
4435
4436 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4437 UCS-4.
4438 * gdb.base/charset.c (utf_32_string): Rename.
4439 (init_utf32): Rename.
4440 (main): Update.
4441
4442 2009-09-22 Tom Tromey <tromey@redhat.com>
4443
4444 * gdb.python/py-function.exp: Add regression tests.
4445
4446 2009-09-21 Keith Seitz <keiths@redhat.com>
4447
4448 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4449 with invalid operator.
4450
4451 2009-09-21 Keith Seitz <keiths@redhat.com>
4452
4453 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4454 and destructor using typedef name of class.
4455 * gdb.cp/classes.cc (class Base1): Add a destructor.
4456 (base1): New typedef.
4457 (use_methods): Instanitate an object of type base1.
4458 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4459 (do_tests): Call test_template_typedef.
4460 * gdb.cp/templates.cc (Baz::~Baz): New method.
4461 (intBazOne): New typedef.
4462 (main): Instantiate intBazOne.
4463
4464 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4465
4466 PR python/10633
4467
4468 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4469 Function.
4470 (run_lang_tests): Add print elements test.
4471
4472 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4473
4474 * gdb.python/py-value.exp (test_subscript_regression): New
4475 function. Test for invalid subscripts.
4476 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4477 (ptr_ref): New function.
4478
4479 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4480
4481 * gdb.base/default.exp: Fix "show convenience".
4482
4483 2009-09-15 Tom Tromey <tromey@redhat.com>
4484
4485 * lib/mi-support.exp (mi_create_varobj): Update.
4486 (mi_create_floating_varobj): Likewise.
4487 (mi_create_dynamic_varobj): New proc.
4488 (mi_varobj_update): Update.
4489 (mi_varobj_update_with_type_change): Likewise.
4490 (mi_varobj_update_kv_helper): New proc.
4491 (mi_varobj_update_dynamic_helper): Rewrite.
4492 (mi_varobj_update_dynamic): New proc.
4493 (mi_list_varobj_children): Update.
4494 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4495 * gdb.python/python-prettyprint.py (pp_outer): New class.
4496 (pp_nullstr): Likewise.
4497 (lookup_function): Register new printers.
4498 * gdb.python/python-prettyprint.c (struct substruct): New type.
4499 (struct outerstruct): Likewise.
4500 (substruct_test): New function.
4501 (struct nullstr): New type.
4502 (string_1, string_2): New globals.
4503 (main): Add new tests.
4504 * gdb.python/python-mi.exp: Added regression tests.
4505 * gdb.mi/mi2-var-display.exp: Update.
4506 * gdb.mi/mi2-var-cmd.exp: Update.
4507 * gdb.mi/mi2-var-child.exp: Update.
4508 * gdb.mi/mi2-var-block.exp: Update.
4509 * gdb.mi/mi-var-invalidate.exp: Update.
4510 * gdb.mi/mi-var-display.exp: Update.
4511 * gdb.mi/mi-var-cmd.exp: Update.
4512 * gdb.mi/mi-var-child.exp: Update.
4513 * gdb.mi/mi-var-block.exp: Update.
4514 * gdb.mi/mi-break.exp: Update.
4515 * gdb.mi/gdb701.exp: Update.
4516
4517 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4518
4519 * Makefile.in: Inclusion of catch-syscall object.
4520 * gdb.base/catch-syscall.c: New file.
4521 * gdb.base/catch-syscall.exp: New file.
4522
4523 2009-09-12 Michael Snyder <msnyder@vmware.com>
4524
4525 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4526 that can support reverse debuggnig.
4527
4528 2009-09-11 Tom Tromey <tromey@redhat.com>
4529
4530 * gdb.dwarf2/valop.S: New file.
4531 * gdb.dwarf2/valop.exp: New file.
4532
4533 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4534
4535 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4536
4537 2009-09-10 Doug Evans <dje@google.com>
4538
4539 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4540 Add $gdb_prompt to second breakpoint regexp.
4541
4542 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4543
4544 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4545 names, add missing ones.
4546 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4547 * gdb.python/py-frame.c: Rename from python-frame.c.
4548 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4549 testfile name.
4550 * gdb.python/py-function.exp: Rename from python-function.exp.
4551 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4552 testfile name.
4553 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4554 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4555 Adjust testfile name.
4556 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4557 * gdb.python/py-template.cc: Rename from python-template.cc.
4558 * gdb.python/py-template.exp: Rename from python-template.exp.
4559 Adjust testfile name.
4560 * gdb.python/py-value.c: Rename from python-value.c.
4561 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4562 testfile name.
4563
4564 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4565
4566 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4567 $bpt2address.
4568 (Second breakpoint address is valid on ia64)
4569 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4570
4571 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4572
4573 * gdb.base/ending-run.exp: Restrict regular expression matching
4574 line number to require closing brace following.
4575
4576 2009-09-03 Doug Evans <dje@google.com>
4577
4578 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4579
4580 2009-09-02 Tom Tromey <tromey@redhat.com>
4581
4582 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4583
4584 2009-09-02 Tom Tromey <tromey@redhat.com>
4585
4586 * gdb.dwarf2/callframecfa.exp: New file.
4587 * gdb.dwarf2/callframecfa.S: New file.
4588
4589 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4590
4591 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4592 gdb.base/solib-overlap-main.c: New.
4593
4594 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4595
4596 PR gdb/10565
4597
4598 * gdb.base/bitfields.c (struct container, container): New.
4599 (main): Initialize it and call break5.
4600 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4601
4602 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4603
4604 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4605 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4606
4607 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4608
4609 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4610
4611 2009-08-26 Michael Snyder <msnyder@vmware.com>
4612
4613 * gdb.base/i386-reverse.c: New file.
4614 * gdb.base/i386-reverse.exp: New file.
4615 * gdb.base/Makefile.in: Add new files to be removed.
4616
4617 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4618
4619 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4620 environment-pwd for remote host.
4621 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4622
4623 2009-08-24 Keith Seitz <keiths@redhat.com>
4624
4625 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4626 Add two new C++ completer tests which limit the output to a
4627 given class.
4628
4629 2009-08-24 Michael Snyder <msnyder@vmware.com>
4630
4631 * gdb.base/del.exp: Fix typo in comment.
4632 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4633
4634 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4635
4636 * configure: Regenerate.
4637 * gdb.hp/configure: Likewise.
4638 * gdb.hp/gdb.aCC/configure: Likewise.
4639 * gdb.hp/gdb.base-hp/configure: Likewise.
4640 * gdb.hp/gdb.compat/configure: Likewise.
4641 * gdb.hp/gdb.defects/configure: Likewise.
4642 * gdb.hp/gdb.objdbg/configure: Likewise.
4643 * gdb.stabs/configure: Likewise.
4644
4645 2009-08-19 Doug Evans <dje@google.com>
4646
4647 * gdb.base/gdbvars.c: New file.
4648 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4649
4650 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4651
4652 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4653 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4654
4655 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4656
4657 * gdb.base/default.exp: Adjust "set language test": it's now an
4658 enum command. Larger help string moved to "help set language".
4659 * gdb.base/help.exp: Adjust "help set language" expected output,
4660 now lists all known languages.
4661
4662 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4663
4664 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4665 all frame arguments.
4666 * gdb.arch/altivec-regs.exp: Likewise.
4667
4668 2009-08-07 Tom Tromey <tromey@redhat.com>
4669
4670 * gdb.base/setshow.exp: Add tests for changes to set language, set
4671 check range, and set check type.
4672
4673 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4674
4675 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4676 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4677 Call it.
4678
4679 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4680
4681 * configure.ac: Run gdb.cell tests when appropriate.
4682 * configure: Regenerate.
4683 * lib/cell.exp: New file.
4684 * gdb.cell: New directory.
4685 * gdb.cell/configure.ac: New file.
4686 * gdb.cell/configure: New file.
4687 * gdb.cell/Makefile.in: New file.
4688 * gdb.cell/arch.exp: New file.
4689 * gdb.cell/break.c: New file.
4690 * gdb.cell/break.exp: New file.
4691 * gdb.cell/break-spu.c: New file.
4692 * gdb.cell/bt.c: New file.
4693 * gdb.cell/bt2-spu.c: New file.
4694 * gdb.cell/bt-spu.c: New file.
4695 * gdb.cell/bt.exp: New file.
4696 * gdb.cell/coremaker.c: New file.
4697 * gdb.cell/coremaker-spu.c: New file.
4698 * gdb.cell/core.exp: New file.
4699 * gdb.cell/gcore.exp: New file.
4700 * gdb.cell/data.c: New file.
4701 * gdb.cell/data.exp: New file.
4702 * gdb.cell/data-spu.c: New file.
4703 * gdb.cell/ea-cache.exp: New file.
4704 * gdb.cell/ea-cache.c: New file.
4705 * gdb.cell/ea-cache-spu.c: New file.
4706 * gdb.cell/ea-standalone.c: New file.
4707 * gdb.cell/ea-standalone.exp: New file.
4708 * gdb.cell/ea-test.c: New file.
4709 * gdb.cell/ea-test.exp: New file.
4710 * gdb.cell/f-regs.exp: New file.
4711 * gdb.cell/mem-access.c: New file.
4712 * gdb.cell/mem-access.exp: New file.
4713 * gdb.cell/mem-access-spu.c: New file.
4714 * gdb.cell/ptype.exp: New file.
4715 * gdb.cell/registers.exp: New file.
4716 * gdb.cell/size.c: New file.
4717 * gdb.cell/sizeof.exp: New file.
4718 * gdb.cell/size-spu.c: New file.
4719 * gdb.cell/solib.exp: New file.
4720 * gdb.cell/solib-symbol.exp: New file.
4721
4722 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4723
4724 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4725
4726 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4727
4728 * gdb.base/float.exp: Handle VFP registers.
4729
4730 2009-07-14 Michael Snyder <msnyder@vmware.com>
4731
4732 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4733 to bring gdb to the beginning of the calling line.
4734
4735 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4736 confusing the i386 epilogue unwinder.
4737
4738 2009-07-14 Stan Shebs <stan@codesourcery.com>
4739
4740 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4741
4742 2009-07-14 Michael Snyder <msnyder@vmware.com>
4743
4744 * gdb.reverse/step-reverse.exp (stepi into function call):
4745 Call instruction may not be first instruction in the line.
4746 (reverse stepi from a function call): Used wrong line number.
4747
4748 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4749
4750 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4751
4752 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4753
4754 Fix gdb.base/macscp.exp when using custom inputrc.
4755 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4756 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4757 env(TERM) set.
4758 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4759 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4760
4761 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4764 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4765 Change the compilation target to match the testcase name.
4766 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4767 testcase name.
4768 * a2-run.exp: Use for setup prepare_for_testing. Change the
4769 compilation target to match the testcase name.
4770 * gdb.base/commands.exp: Likewise.
4771 * gdb.base/finish.exp: Likewise.
4772 * gdb.base/float.exp: Likewise.
4773 * gdb.base/info-target.exp: Likewise.
4774 * gdb.base/relational.exp: Likewise.
4775 * gdb.base/term.exp: Likewise.
4776 * gdb.base/until.exp: Likewise.
4777 * gdb.base/volatile.exp: Likewise.
4778 * gdb.base/whatis-exp.exp: Likewise.
4779
4780 2009-07-11 Hui Zhu <teawater@gmail.com>
4781
4782 * gdb.base/help.exp (disassemble): Update expected help text.
4783
4784 2009-07-09 Tom Tromey <tromey@redhat.com>
4785
4786 * lib/gdb.exp: Handle TRANSCRIPT.
4787 (remote_spawn, remote_close, send_gdb): New procs.
4788
4789 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4790
4791 * gdb.python/python-prettyprint.c: Add counted null string
4792 structure.
4793 * gdb.python/python-prettyprint.exp: Print null string. Test for
4794 embedded nulls.
4795 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4796 * gdb.python/python-value.exp (test_value_in_inferior): Add
4797 variable length string fetch tests.
4798 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4799
4800 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4803
4804 2009-07-07 Tom Tromey <tromey@redhat.com>
4805
4806 * gdb.base/call-rt-st.exp: Update for change to escape output.
4807 * gdb.base/callfuncs.exp: Likewise.
4808 * gdb.base/charset.exp: Likewise.
4809 * gdb.base/constvars.exp: Likewise.
4810 * gdb.base/long_long.exp: Likewise.
4811 * gdb.base/pointers.exp: Likewise.
4812 * gdb.base/printcmds.exp: Likewise.
4813 * gdb.base/setvar.exp: Likewise.
4814 * gdb.base/store.exp: Likewise.
4815 * gdb.cp/ref-types.exp: Likewise.
4816 * gdb.mi/mi-var-child.exp: Likewise.
4817 * gdb.mi/mi-var-display.exp: Likewise.
4818 * gdb.mi/mi2-var-display.exp: Likewise.
4819 * gdb.base/charset.exp: Test octal escape sequence length.
4820 Update for change to escape output.
4821
4822 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4823
4824 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4825
4826 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4827
4828 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4829
4830 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4831
4832 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4833 gdbserver increasing $portnum if "Can't bind address" has been seen.
4834
4835 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4836
4837 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4838 mingw32ce.
4839
4840 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4841
4842 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4843 VFP format.
4844
4845 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4846
4847 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4848 linux. Adjust to use "inferior", "info inferiors", "detach
4849 inferior" and "kill inferior" instead of "restart", "info fork",
4850 "detach fork" and "delete fork".
4851 * gdb.base/ending-run.exp: Spell out "info".
4852 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4853 the "kill" command.
4854
4855 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4856
4857 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4858 change to prefix TLS offset in hex with 0x.
4859
4860 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4861
4862 * gdb.base/default.exp: Update test case for "x" changes.
4863
4864 2009-07-01 Tristan Gingold <gingold@adacore.com>
4865
4866 * gdb.base/bigcore.exp: Make darwin untested.
4867
4868 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4869
4870 * gdb.base/completion.exp (directory completion): Create the directory.
4871 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4872 escapeuniquesub.
4873 (directory completion 2): Expect now ${escapeuniquesub}.
4874 (Glob remaining of directory test): Remove one excessive newline.
4875 Expect the real output.
4876
4877 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4878
4879 Fix `make check//%' target after `make check' has been ran.
4880 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4881 a mkdir call.
4882 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4883 (%/.dir): Remove.
4884
4885 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4886
4887 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4888 the expected result record.
4889
4890 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4891
4892 Remove racy FAILs relying just on the timeouts.
4893 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4894 (annotation_level 2): Remove racy FAILs.
4895
4896 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4897
4898 gdb/10275
4899 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4900
4901 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4902
4903 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4904
4905 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4906
4907 * gdb.mi/mi-stack.exp: Testing symbolic options
4908 to -stack-list-locals and -stack-list-arguments.
4909
4910 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4911
4912 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4913
4914 2009-06-29 Tom Tromey <tromey@redhat.com>
4915
4916 * dg-extract-results.sh: New file.
4917 * Makefile.in (FORCE_PARALLEL): New variable.
4918 (CHECK_TARGET): New conditional variable.
4919 (check): Use CHECK_TARGET.
4920 (DO_RUNTEST): New variable.
4921 (check-single): New target.
4922 (TEST_DIRS): New variable.
4923 (TEST_TARGETS): Likewise.
4924 (check-parallel): New target.
4925 (check-gdb.%): New pattern.
4926 (BASE1_FILES): New variable.
4927 (BASE2_FILES): Likewise.
4928 (check-gdb.base%): New pattern.
4929 (%/.dir): New pattern.
4930 * configure: Rebuild.
4931 * aclocal.m4 (AM_CONDITIONAL): New defun.
4932 * configure.ac: Check whether user is using GNU make.
4933 (GMAKE): New conditional.
4934
4935 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4936
4937 * gdb.cp/namespace-nested-import.cc: New test.
4938 * gdb.cp/namespace-nested-import.exp: New test.
4939
4940 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4941
4942 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4943 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4944 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4945 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4946 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4947 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4948 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4949 gdb.opt/inline-markers.c: New files.
4950 * lib/gdb.exp (skip_inline_frame_tests): New function.
4951 (skip_inline_var_tests): New function.
4952
4953 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4954
4955 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4956 backtrace.
4957
4958 2009-06-27 Michael Snyder <msnyder@vmware.com>
4959
4960 * gdb.reverse: New directory.
4961 * gdb.reverse/break-reverse.c: New test.
4962 * gdb.reverse/break-reverse.exp: New test.
4963 * gdb.reverse/consecutive-reverse.c: New test.
4964 * gdb.reverse/consecutive-reverse.exp: New test.
4965 * gdb.reverse/finish-reverse.c: New test.
4966 * gdb.reverse/finish-reverse.exp: New test.
4967 * gdb.reverse/machinestate.c: New test.
4968 * gdb.reverse/ms1.c: New test.
4969 * gdb.reverse/machinestate.exp: New test.
4970 * gdb.reverse/Makefile.in: New file.
4971 * gdb.reverse/shr2.c: New test.
4972 * gdb.reverse/solib-reverse.c: New test.
4973 * gdb.reverse/solib-reverse.exp: New test.
4974 * gdb.reverse/step-reverse.c: New test.
4975 * gdb.reverse/step-reverse.exp: New test.
4976 * gdb.reverse/until-reverse.c: New test.
4977 * gdb.reverse/ur1.c: New test.
4978 * gdb.reverse/until-reverse.exp: New test.
4979 * gdb.reverse/watch-reverse.c: New test.
4980 * gdb.reverse/watch-reverse.exp: New test.
4981 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4982 * configure: Regenerate.
4983
4984 2009-06-26 Doug Evans <dje@google.com>
4985
4986 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4987
4988 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4989
4990 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4991 windows problem for 'file delete $binfile'.
4992
4993 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4994
4995 * gdb.cp/namespace-using.exp: New test.
4996 * gdb.cp/namespace-using.cc: New test.
4997
4998 2009-05-20 Joel Brobecker <brobecker@adacore.com>
4999
5000 * gdb.ada/variant_record_packed_array: New testcase.
5001
5002 2009-06-23 Tom Tromey <tromey@redhat.com>
5003
5004 * gdb.base/charset.exp (test_combination): Regression test.
5005 * gdb.base/charset.c (my_wchar_t): New typedef.
5006 (myvar): New global.
5007 (main): Set myvar.
5008
5009 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5010
5011 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5012 target.
5013
5014 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5015
5016 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5017
5018 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5019
5020 * gdb.mi/gdb680.exp: Update test for error message.
5021
5022 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5023
5024 * gdb.base/annota1.exp: Allow multiple occurrences of the
5025 frames-invalid annotation.
5026 * gdb.cp/annota2.exp: Likewise.
5027
5028 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5029
5030 * gdb.cp/gdb2495.cc: New file.
5031 * gdb.cp/gdb2495.exp: New file.
5032
5033 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5034
5035 Report error on GDB crash during runto.
5036 * lib/gdb.exp (runto <eof>): New.
5037
5038 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5039
5040 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5041 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5042 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5043 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5044 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5045 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5046 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5047 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5048 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5049 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5050 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5051 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5052 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5053 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5054 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5055 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5056 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5057 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5058 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5059 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5060 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5061 gdb.trace/passcount.exp, gdb.trace/report.exp,
5062 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5063 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5064 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5065 executable.
5066
5067 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5068
5069 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5070 defined before referencing it.
5071
5072 2009-06-03 Doug Evans <dje@google.com>
5073
5074 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5075 * gdb.arch/i386-see.c: Ditto.
5076
5077 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5078
5079 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5080 (check_macro): Return 1 if undefined.
5081 If first test fails, check if macro debug information is available,
5082 and report unsupported test if no macro information is found.
5083
5084 2009-05-29 Doug Evans <dje@google.com>
5085
5086 * gdb.threads/hand-call-in-threads.exp: New.
5087 * gdb.threads/hand-call-in-threads.c: New.
5088
5089 2009-05-29 Michael Snyder <msnyder@vmware.com>
5090
5091 * gdb.base/break-always.exp: Change "1" to "on".
5092 Add confirmation check.
5093
5094 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5095
5096 * gdb.threads/threxit-hop-specific.c: New.
5097 * gdb.threads/threxit-hop-specific.exp: New.
5098 * gdb.threads/thread-execl.c: New.
5099 * gdb.threads/thread-execl.exp: New.
5100
5101 2009-05-27 Tom Tromey <tromey@redhat.com>
5102 Thiago Jung Bauermann <bauerman@br.ibm.com>
5103
5104 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5105 (mi_child_regexp): Likewise.
5106 (mi_list_varobj_children_range): Likewise.
5107 (mi_get_features): Likewise.
5108 (mi_list_varobj_children): Rewrite.
5109 * gdb.python/python-mi.exp: New file.
5110
5111 2009-05-27 Tom Tromey <tromey@redhat.com>
5112 Thiago Jung Bauermann <bauerman@br.ibm.com>
5113 Phil Muldoon <pmuldoon@redhat.com>
5114 Paul Pluzhnikov <ppluzhnikov@google.com>
5115
5116 * gdb.python/python-prettyprint.exp: New file.
5117 * gdb.python/python-prettyprint.c: New file.
5118 * gdb.python/python-prettyprint.py: New file.
5119 * gdb.base/display.exp: print/r is now valid.
5120
5121 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5122 Tom Tromey <tromey@redhat.com>
5123 Pedro Alves <pedro@codesourcery.com>
5124 Paul Pluzhnikov <ppluzhnikov@google.com>
5125
5126 * gdb.python/python-template.exp: New file.
5127 * gdb.python/python-template.cc: New file.
5128 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5129 tests.
5130 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5131 Call it.
5132 (test_value_after_death): New proc.
5133 * gdb.python/python-value.c (PTR): New typedef.
5134 (main): New variable 'x'.
5135
5136 2009-05-27 Tom Tromey <tromey@redhat.com>
5137
5138 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5139 tests.
5140 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5141 Call it.
5142
5143 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5144
5145 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5146
5147 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5148
5149 * gdb.threads/fork-thread-pending.c: New.
5150 * gdb.threads/fork-thread-pending.exp: New.
5151
5152 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5155 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5156
5157 2009-05-18 Jon Beniston <jon@beniston.com>
5158
5159 * gdb.asm/asm-source.exp: Add lm32 target.
5160
5161 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5162
5163 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5164 `gdb_get_line_number'. Call `callee' in both parent and child.
5165 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5166 `gdb_get_line_number' instead of hardcoding line numbers.
5167 (catch_fork_unpatch_child): New procedure to test detaching
5168 breakpoints from child fork.
5169 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5170 hardcoding line numbers.
5171 (do_fork_tests): Run `catch_fork_unpatch_child'.
5172
5173 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5174
5175 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5176 of structure type enters or leaves the scope, it
5177 is reported by -var-update.
5178
5179 2009-05-11 Doug Evans <dje@sebabeach.org>
5180
5181 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5182 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5183 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5184
5185 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5188
5189 2009-04-30 Doug Evans <dje@google.com>
5190
5191 * gdb.threads/watchthreads2.exp: New testcase.
5192 * gdb.threads/watchthreads2.c: New testcase.
5193
5194 2009-04-29 Doug Evans <dje@google.com>
5195
5196 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5197 * gdb.cp/mb-ctor.cc: Ditto.
5198 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5199 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5200 * gdb.cp/mb-inline1.cc: Call it.
5201 * gdb.cp/mb-inline2.cc: Ditto.
5202 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5203 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5204
5205 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5206
5207 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5208 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5209 Replace all uses of `decimal' by `nonzero'.
5210 (info macro FROM_COMMANDLINE): New test.
5211
5212 2009-04-27 Tom Tromey <tromey@redhat.com>
5213
5214 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5215
5216 2009-04-27 Doug Evans <dje@google.com>
5217
5218 * gdb.threads/watchthreads.c (main): Initialize args before starting
5219 the threads. Plus formatting cleanup.
5220 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5221 biased scheduling of one thread.
5222
5223 2009-04-27 Jerome Guitton <guitton@adacore.com>
5224
5225 * gdb.cp/templates.cc (GetMax): New template.
5226 (main): Declare two instances of GetMax.
5227 * gdb.cp/templates.exp: Add new test.
5228
5229 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5230
5231 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5232
5233 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5234
5235 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5236
5237 2009-04-15 Tom Tromey <tromey@redhat.com>
5238
5239 * gdb.base/charset.exp: Add regression test.
5240
5241 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5242
5243 * gdb.base/exe-lock.exp: New testcase.
5244
5245 2009-04-13 Tom Tromey <tromey@redhat.com>
5246
5247 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5248 operator on Frame.
5249
5250 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5251
5252 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5253 * gdb.server/ext-attach.exp: Likewise.
5254
5255 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5256
5257 Eliminate some sleep usage.
5258
5259 * gdb.mi/basics.c (do_nothing): New.
5260 (main): Use do_nothing instead of printf, so that
5261 not to introduce race condition between output of
5262 inferiour and output of gdb. Do not use sleep as it
5263 is not generally available on embedded targets.
5264
5265 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5266
5267 * gdb.server/ext-attach.exp: Expect an optional process id after
5268 "Detached from remote process".
5269
5270 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5271
5272 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5273 gdb.dwarf2/dw2-unresolved.exp: New.
5274
5275 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5276
5277 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5278 mi_run_to_main.
5279
5280 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5281
5282 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5283 mi_run_to_main. Skip thread exit test on remote targets.
5284 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5285 mi_run_to_main.
5286 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5287 mi_run_to_main.
5288 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5289 when expecting ^connected. Detect when the target doesn't support
5290 non-stop mode.
5291 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5292 supported. Return -1 on error, 0 on success.
5293 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5294 (mi_runto): Return mi_runto_helper's result explicitly.
5295
5296 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5297
5298 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5299
5300 2009-04-01 Tom Tromey <tromey@redhat.com>
5301
5302 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5303 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5304 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5305 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5306
5307 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5308 Jan Kratochvil <jan.kratochvil@redhat.com>
5309
5310 PR gdb/931
5311 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5312 output.
5313 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5314 for gdb/931.
5315 * dw2-strp.S (DW_AT_language): Change to C++.
5316 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5317
5318 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5319
5320 * gdb.ada/tasks: New testcase.
5321
5322 2009-03-30 Stan Shebs <stan@codesourcery.com>
5323
5324 * gdb.trace/actions.exp: Update to match new info trace format.
5325 * gdb.trace/deltrace.exp: Ditto.
5326 * gdb.trace/infotrace.exp: Ditto.
5327 * gdb.trace/passcount.exp: Ditto.
5328 * gdb.trace/save-trace.exp: Ditto.
5329 * gdb.trace/while-stepping.exp: Ditto.
5330 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5331
5332 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5333
5334 * gdb.python/python-frame.c: New file.
5335 * gdb.python/python-frame.exp: New file.
5336
5337 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5338
5339 * gdb.python/python-value.exp: Add tests for the address
5340 attribute.
5341
5342 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5343
5344 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5345
5346 2009-03-26 Doug Evans <dje@google.com>
5347
5348 * gdb.mi/mi-nonstop-exit.exp: New file.
5349 * gdb.mi/non-stop-exit.c: New file.
5350
5351 2009-03-26 Tom Tromey <tromey@redhat.com>
5352
5353 Update for change to prologue skipping:
5354 * gdb.mi/mi2-simplerun.exp: Update.
5355 * gdb.mi/mi2-break.exp: Update.
5356 * gdb.mi/mi-simplerun.exp: Update.
5357 * gdb.mi/mi-break.exp: Update.
5358 * gdb.base/ending-run.exp: Update.
5359
5360 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5361
5362 * gdb.python/python-value.exp (test_value_in_inferior): Test
5363 gdb.Value.is_optimized_out attribute.
5364
5365 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5366
5367 * gdb.dwarf2/dw2-noloc-main.c: New file.
5368 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5369 (.text): Remove.
5370 (.data): New.
5371 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5372 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5373 (DW_TAG_subprogram func_cu1, noloc): Remove.
5374 (main): New.
5375 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5376 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5377 (file_symbols): New procedure.
5378
5379 2009-03-25 Tom Tromey <tromey@redhat.com>
5380
5381 * gdb.base/charset.exp (valid_target_charset): New proc.
5382 Use it to skip tests on invalid charsets.
5383
5384 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5385
5386 * gdb.base/completion.exp: Add a test for directory completion.
5387
5388 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5389
5390 Fix a racy FAIL.
5391 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5392 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5393
5394 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5395
5396 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5397 * gdb.python/python-function.exp: Add test for function returning
5398 a GDB value.
5399
5400 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5401
5402 * gdb.python/python-function.exp: New file.
5403
5404 2009-03-20 Tom Tromey <tromey@redhat.com>
5405
5406 * gdb.base/store.exp: Update for change to escape output.
5407 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5408 to escape output.
5409 * gdb.base/pointers.exp: Update for change to escape output.
5410 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5411 to escape output.
5412 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5413 escape output.
5414 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5415 to escape output.
5416 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5417 escape output.
5418 * gdb.base/setvar.exp: Update for change to escape output.
5419 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5420 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5421 to escape output.
5422 (test_print_string_constants): Likewise.
5423 * gdb.base/charset.exp (valid_host_charset): Check size of
5424 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5425 cases. Handle "auto"-related output.
5426 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5427 (uvar, Uvar): New globals.
5428
5429 2009-03-19 Jerome Guitton <guitton@adacore.com>
5430
5431 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5432 deltas.
5433 * gdb.ada/fixed_points.exp: Ditto.
5434
5435 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5436
5437 * return-nodebug.c: Don't include stdio.h.
5438 (init): Delete.
5439 (func): Delete definition and provide extern declaration.
5440 (t): New.
5441 (main): Don't call printf. Call func and store its result in t.
5442 * return-nodebug1.c: New.
5443 * return-nodebug.exp: Don't expect stdio output. Instead, print
5444 the global variable t. Drop printf formatters and cast types from
5445 foreach loop. Don't use prepare_for_testing. Compile
5446 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5447 define FORMAT or CAST.
5448
5449 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5450
5451 * gdb.base/solib-display.exp: Disable test for remote targers.
5452
5453 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5456
5457 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5458
5459 Fix a racy FAIL.
5460 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5461 code from `follow parent, print pids'.
5462 (`follow child, print pids', `follow parent, print pids'): Call it.
5463 Replace `gdb_test "break..."' by gdb_breakpoint.
5464
5465 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5466
5467 * gdb.mi/mi-cli.exp: Adjust for output difference in
5468 sync and async modes.
5469
5470 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5471
5472 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5473 that was checked in by mistake. Remove loading of ada.exp, since
5474 this is not necessary in this case.
5475
5476 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5477
5478 * gdb.ada/ptype_arith_binop.exp: New testcase.
5479
5480 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5481
5482 * gdb.ada/mod_from_name: New testcase.
5483
5484 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5485
5486 * gdb.ada/tick_last_segv: New testcase.
5487
5488 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5489
5490 * gdb.mi/mi-cli.exp: Remove debug print.
5491
5492 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5493
5494 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5495 include the token in ^running and frame info in *stopped.
5496
5497 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5498
5499 * solib-display.exp: New file.
5500 * solib-display-main.c: New file.
5501 * solib-display-lib.c: New file.
5502
5503 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5504
5505 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5506
5507 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5508
5509 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5510 (list_and_check_macro): Use more specific test name.
5511 (next to definition): Make the test names unique.
5512
5513 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5514
5515 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5516
5517 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5518
5519 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5520 notifications.
5521 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5522 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5523 * lib/mi-support.exp (library_loaded_re): New.
5524 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5525
5526 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5527
5528 * gdb.gdb/observer.exp: Use test_notification observer, not
5529 normal_stop, everywhere.
5530 (test_normal_stop_notifications): Rename to...
5531 (test_notifications): ...this.
5532 (test_observer_normal_stop): Rename to...
5533 (test_observer): ...this.
5534
5535 2009-02-16 Doug Evans <dje@google.com>
5536
5537 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5538 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5539 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5540 (test_prefixed_syscall,test_int3): New tests.
5541 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5542 (test_prefixed_syscall,test_int3): New tests.
5543
5544 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5545
5546 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5547 (mi_expect_interrupt): Likewise.
5548 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5549 response.
5550
5551 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5552
5553 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5554 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5555 Replace calls to get_valueofx by get_hexadecimal_valueof.
5556
5557 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5558
5559 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5560 (get_integer_valueof): New procedure.
5561 (get_sizeof): Use new get_integer_value_of.
5562 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5563 by get_integer_valueof.
5564
5565 2009-02-13 Tom Tromey <tromey@redhat.com>
5566
5567 * gdb.base/remote.exp (get_sizeof): Remove.
5568 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5569 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5570 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5571 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5572 (get_sizeof): Likewise.
5573
5574 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5575
5576 PR fortran/9806
5577 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5578
5579 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5580
5581 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5582
5583 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5584
5585 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5586
5587 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5588
5589 * gdb.python/python-cmd.exp: New file.
5590
5591 2009-02-06 Tristan Gingold <gingold@adacore.com>
5592
5593 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5594
5595 2009-02-05 Tristan Gingold <gingold@adacore.com>
5596
5597 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5598 pointer is dereferenced and use this signal name in regexp.
5599 * gdb.base/signull.exp: Ditto.
5600 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5601 * gdb.base/signull.c (main): Ditto.
5602
5603 2009-02-04 Tom Tromey <tromey@redhat.com>
5604 Thiago Jung Bauermann <bauerman@br.ibm.com>
5605
5606 * gdb.python/python-value.exp: Use `gdb.history' instead of
5607 `gdb.value_from_history'.
5608 (test_value_numeric_ops): Add test for conversion of enum constant.
5609 * gdb.python/python-value.c (enum e): New type.
5610 (evalue): New global.
5611 (main): Use argv.
5612
5613 2009-02-04 Jerome Guitton <guitton@adacore.com>
5614
5615 * gdb.ada/uninitialized_vars: New test program.
5616 * gdb.ada/uninitialized_vars.exp: New testcase.
5617
5618 2009-02-02 Tom Tromey <tromey@redhat.com>
5619
5620 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5621 * gdb.cp/pr2489.cc: Rename...
5622 * gdb.cp/pr9594.cc: ... to this.
5623
5624 2009-02-02 Tom Tromey <tromey@redhat.com>
5625
5626 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5627 * gdb.cp/pr2489.cc: New file.
5628 * gdb.cp/cpcompletion.exp: New file.
5629
5630 2009-02-02 Tom Tromey <tromey@redhat.com>
5631
5632 PR exp/9059:
5633 * gdb.cp/call-c.exp: Add regression test.
5634 * gdb.cp/call-c.cc (FooHandle): New typedef.
5635 (main): New variable 'handle'.
5636
5637 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5638
5639 * lib/mi-support.exp (et_mi_thread_list)
5640 (check_mi_and_console_threads): Adjust for current thread in
5641 -thread-list-ids output.
5642
5643 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5644
5645 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5646 Call it.
5647
5648 2009-01-28 Doug Evans <dje@google.com>
5649
5650 * gdb.arch/amd64-disp-step.S: New file.
5651 * gdb.arch/amd64-disp-step.exp: New file.
5652 * gdb.arch/i386-disp-step.S: New file.
5653 * gdb.arch/i386-disp-step.exp: New file.
5654
5655 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5656
5657 * gdb.base/find.exp: Set newline variable
5658 using quotes instead of braces to fix cygwin failures.
5659
5660 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5661
5662 * gdb.base/radix.exp: Add tests to ensure that that set
5663 input-radix 0 and set output-radix 0 are really rejected.
5664
5665 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5666
5667 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5668 copyright years.
5669
5670 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5671
5672 PR gdb/9664:
5673 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5674
5675 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5676
5677 PR c++/9631:
5678 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5679
5680 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5681
5682 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5683 binfile definition to fix Windows OS failure.
5684
5685 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5686
5687 PR gdb/9346
5688 * gdb.base/interrupt.c (sigint_handler): New.
5689 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5690 on error.
5691 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5692 Test "signal SIGINT".
5693
5694 2009-01-19 Doug Evans <dje@google.com>
5695
5696 * gdb.base/break.exp: Update expected gdb output.
5697 * gdb.base/sepdebug.exp: Ditto.
5698 * gdb.mi/mi-syn-frame.exp: Ditto.
5699 * gdb.mi/mi2-syn-frame.exp: Ditto.
5700 * gdb.base/call-signal-resume.exp: New file.
5701 * gdb.base/call-signals.c: New file.
5702 * gdb.base/unwindonsignal.exp: New file.
5703 * gdb.base/unwindonsignal.c: New file.
5704 * gdb.threads/interrupted-hand-call.exp: New file.
5705 * gdb.threads/interrupted-hand-call.c: New file.
5706 * gdb.threads/thread-unwindonsignal.exp: New file.
5707
5708 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5709
5710 * gdb.base/define.exp: Test defining and hooking prefix commands.
5711 * gdb.python/python.exp: Update test for "show user" output.
5712
5713 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5714
5715 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5716 now the output exactly, using less wildcards. Expect also the output
5717 of gfortran-4.3. Update for the f-valprint.c modification from
5718 2008-04-22.
5719 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5720 Remove gdb_test test names where matching the command.
5721
5722 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5723
5724 PR breakpoints/9681:
5725 * gdb.base/watchpoint.exp: Add regression test.
5726
5727 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5728
5729 * gdb.threads/attach-into-signal.exp: Don't use
5730 gdb_suppress_entire_file.
5731 * gdb.threads/attach-stopped.exp: Ditto.
5732 * gdb.threads/attachstop-mt.exp: Ditto.
5733
5734 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5735
5736 PR gdb/8812:
5737 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5738
5739 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5740
5741 PR gdb/7536:
5742 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5743 and unsupported output radices are really rejected.
5744
5745 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5746
5747 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5748
5749 2008-12-22 Tom Tromey <tromey@redhat.com>
5750
5751 * gdb.cp/punctuator.exp: New file.
5752
5753 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5754
5755 * gdb.base/completion.exp (Completing non-existing component): New test.
5756
5757 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5758
5759 Fix for PR gdb/8648.
5760 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5761 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5762 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5763 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5764
5765 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5766
5767 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5768
5769 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5770
5771 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5772 compiler actually generate code at the expected line number.
5773
5774 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5775
5776 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5777
5778 2008-12-12 Tom Tromey <tromey@redhat.com>
5779
5780 * gdb.base/commands.exp (redefine_hook_test): New proc.
5781 Call it.
5782
5783 2008-12-11 Tom Tromey <tromey@redhat.com>
5784
5785 * gdb.base/macscp.exp: New regression test.
5786
5787 2008-12-11 Tom Tromey <tromey@redhat.com>
5788
5789 * gdb.base/macscp.exp: Print "address.addr".
5790 * gdb.base/macscp1.c (struct outer): New struct.
5791 (address): New global.
5792
5793 2008-12-09 Tom Tromey <tromey@redhat.com>
5794
5795 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5796 Call it.
5797
5798 2008-12-04 Doug Evans <dje@google.com>
5799
5800 * gdb.server/ext-run.exp: Relax regexp for init program.
5801
5802 2008-12-03 Tristan Gingold <gingold@adacore.com>
5803
5804 * gdb.base/macscp.exp: Generate an object file during compilation
5805 to work around Darwin dsymutil limitations.
5806
5807 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5808
5809 Test resolving external references to TLS variables.
5810 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5811 FILE2_THREAD_LOCAL.
5812 (testfile2, srcfile2): New variables.
5813 * gdb.threads/tls.c (file2_thread_local)
5814 (function_referencing_file2_thread_local): New.
5815 * gdb.threads/tls2.c: New file.
5816
5817 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5818
5819 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5820 rather than integer, as integer might not be big enough when
5821 on 64bit targets.
5822
5823 2008-11-27 Jerome Guitton <guitton@adacore.com>
5824
5825 * gdb.cp/formatted-ref.exp: Add equality test.
5826 * gdb.ada/formatted_ref.exp: Ditto.
5827
5828 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5829
5830 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5831 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5832
5833 2008-11-20 Andreas Schwab <schwab@suse.de>
5834
5835 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5836 matching syscall entry point.
5837 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5838 (tcatch_vfork_then_child_follow): Likewise. Finish through
5839 vfork even if we stopped at the syscall trampoline.
5840
5841 2008-11-20 Doug Evans <dje@google.com>
5842
5843 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5844
5845 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5846
5847 * gdb.arch/ppc-dfp.exp: New file.
5848 * gdb.arch/ppc-dfp.c: New file.
5849
5850 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5851
5852 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5853
5854 2008-11-17 Doug Evans <dje@google.com>
5855
5856 * gdb.mi/mi-syn-frame.exp: Update expected output.
5857 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5858
5859 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5860
5861 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5862 "thread N" results in =thread-selected.
5863 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5864 (mi_send_resuming_command_raw): Be prepared for
5865 =thread-selected.
5866
5867 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5868
5869 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5870 * lib/mi-support.exp: Likewise.
5871
5872 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5873
5874 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5875 commands from the expected output for "help catch".
5876
5877 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5878
5879 * gdb.ada/int_deref.exp: New testcase.
5880
5881 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5882
5883 * gdb.mi/gdb2549.exp: New file.
5884
5885 2008-11-11 Doug Evans <dje@google.com>
5886
5887 * gdb.base/callexit.exp: New file.
5888 * gdb.base/callexit.c: New file.
5889
5890 2008-11-10 Doug Evans <dje@google.com>
5891
5892 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5893 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5894 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5895 (default_gdb_start,default_gdb_exit): Ditto.
5896 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5897 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5898 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5899 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5900 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5901 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5902
5903 2008-11-03 Andreas Schwab <schwab@suse.de>
5904
5905 * gdb.base/hashline2.exp: Fix typo.
5906 * gdb.base/hashline3.exp: Likewise.
5907
5908 2008-10-30 Tom Tromey <tromey@redhat.com>
5909
5910 * gdb.base/pointers.exp: Add test.
5911 * gdb.base/pointers.c (k, S): New typedefs.
5912 (instance): New global.
5913
5914 2008-10-30 Andreas Schwab <schwab@suse.de>
5915
5916 * gdb.base/args.exp: Add tests for newlines.
5917
5918 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5919
5920 gdb.base/foll-exec.exp: Update the expected output of a couple
5921 of "info breakpoints" tests.
5922
5923 2008-10-28 Tom Tromey <tromey@redhat.com>
5924
5925 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5926
5927 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5928
5929 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5930 gdb_start_cmd.
5931 Use runto_main before any test that requires execution.
5932
5933 2008-10-23 Pedro Alves <pedro@codesourcery.com>
5934
5935 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5936 instead of SIGINT.
5937
5938 2008-10-22 Joel Brobecker <brobecker@adacore.com>
5939
5940 * gdb.base/completion.exp: Update expected output following
5941 the addition of the "info tasks" command.
5942
5943 2008-10-22 Tom Tromey <tromey@redhat.com>
5944
5945 * gdb.base/exprs.exp (test_expr): Add test for string
5946 concatenation.
5947
5948 2008-10-19 Pedro Alves <pedro@codesourcery.com>
5949
5950 * configure.ac: Output gdb.python/Makefile.
5951 * configure: Regenerate.
5952 * gdb.python/Makefile.in: New.
5953
5954 2008-10-16 Joel Brobecker <brobecker@adacore.com>
5955
5956 * gdb.base/foll-fork.exp: Adjust the expected output to match
5957 the new description for fork/vfork catchpoints in the "info
5958 breakpoints" output.
5959
5960 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5961
5962 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5963
5964 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5965
5966 * gdb.python/python-value.c: New file.
5967 * gdb.python/python-value.exp: New file.
5968
5969 2008-10-15 Pedro Alves <pedro@codesourcery.com>
5970
5971 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5972
5973 2008-10-15 Denis Pilat <denis.pilat@st.com>
5974
5975 * gdb.cp/mb-ctor.exp: Fix a typo.
5976
5977 2008-10-09 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5980 'fprintf' and 'stderr'.
5981
5982 2008-10-07 Joel Brobecker <brobecker@adacore.com>
5983
5984 * gdb.ada/ref_tick_size.exp: New testcase.
5985
5986 2008-10-06 Doug Evans <dje@google.com>
5987
5988 * gdb.dwarf2/dw2-cu-size.exp: New file.
5989 * gdb.dwarf2/dw2-cu-size.S: New file.
5990
5991 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5992 .Ltype_int for clarity.
5993
5994 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5995
5996 PR gdb/2384:
5997 * gdb.cp/gdb2384.exp: Extended to test more cases.
5998 * gdb.cp/gdb2384.cc: Likewise.
5999 * gdb.cp/gdb2384-base.h: Likewise.
6000 * gdb.cp/gdb2384-base.cc: Likewise.
6001
6002 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6003
6004 * gdb.base/maint.exp (maint print type): Remove printing
6005 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6006
6007 2008-09-30 Tom Tromey <tromey@redhat.com>
6008
6009 * gdb.base/macscp.exp: Add completion tests.
6010 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6011 (TWENTY_THREE): Likewise.
6012 (FORTY_EIGHT): Likewise.
6013
6014 2008-09-30 Tom Tromey <tromey@redhat.com>
6015
6016 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6017 everywhere.
6018 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6019
6020 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6021
6022 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6023 testcase is derived from. Fix racy dependency on an expected PID
6024 number. No longer support the testcase on Linux kernel 2.4.x.
6025
6026 2008-09-27 Tom Tromey <tromey@redhat.com>
6027
6028 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6029 and varargs.
6030
6031 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6032
6033 * lib/mi-support.exp (mi_expect_interrupt): New.
6034 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6035 from gdb.mi/mi-nonstop.exp.
6036 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6037 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6038 lib/mi-support.exp.
6039 Use mi_check_thread_states throughout. Avoid ".*" and do not
6040 require an anchor after -exec-run.
6041
6042 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6043
6044 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6045 stop is pending. Avoid ".*" when two stops are pending.
6046 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6047 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6048 newlines in fullnames.
6049 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6050 (mi_expect_stop): Update comments. Only anchor in sync mode.
6051 Do not match newlines.
6052 (mi_send_resuming_command_raw): Always return status.
6053 (mi_get_stop_line): Do not match more than one line by accident.
6054 Only anchor in sync mode.
6055 (mi_run_inline_test): If -exec-next fails, give up.
6056
6057 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6058
6059 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6060 on SPU.
6061
6062 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6063
6064 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6065
6066 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6067
6068 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6069 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6070 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6071 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6072 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6073 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6074 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6075 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6076 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6077 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6078 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6079 Include the "= " sequence in the expected output of print tests.
6080
6081 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6082
6083 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6084 description for boolean types.
6085
6086 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6087
6088 * gdb.base/hook-stop-continue.c: New.
6089 * gdb.base/hook-stop-continue.exp: New.
6090
6091 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6092
6093 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6094
6095 2008-09-08 Jerome Guitton <guitton@adacore.com>
6096
6097 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6098 (stack_check_probe_2, stack_check_probe_loop_1)
6099 (stack_check_probe_loop_2): New functions.
6100 (main): Add call to these new functions.
6101 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6102 functions, check that the breakpoint is inserted at the appropriate
6103 location.
6104 (insert_breakpoint): Slightly refine this procedure so that it can
6105 be called several times in the test.
6106
6107 2008-09-08 Jerome Guitton <guitton@adacore.com>
6108
6109 * gdb.base/stack-checking.c: New file.
6110 * gdb.base/stack-checking.exp: New file.
6111
6112 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6113
6114 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6115 * gdb.arch/altivec-regs.exp: Likewise.
6116 * gdb.arch/vsx-regs.exp: Likewise.
6117
6118 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6119
6120 * gdb.arch/ppc-fp.exp: New file.
6121 * gdb.arch/ppc-fp.c: New file.
6122
6123 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6124
6125 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6126 lest gcc-4.3.1 optimizes the whole thing away.
6127
6128 2008-09-04 Michael Snyder <msnyder@vmware.com>
6129
6130 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6131 as "at" (for non-debug functions such as _start).
6132
6133 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6134
6135 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6136 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6137 software watchpoints.
6138 * gdb.base/watch_thread_num.exp: Likewise.
6139
6140 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6141
6142 * gdb.arch/i386-bp_permanent.exp: New test.
6143
6144 2008-08-24 Tom Tromey <tromey@redhat.com>
6145
6146 * gdb.base/maint.exp: Update "maint print type".
6147
6148 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6149
6150 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6151 support. Adjust the order of "*running" notifications.
6152 * gdb.mi/non-stop.c: Don't cast from int to void* and
6153 back.
6154
6155 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6156
6157 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6158 expect to find it in the "info frame" output.
6159
6160 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6161
6162 * gdb.base/interp.exp: Always consume both prompts.
6163
6164 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6165
6166 * gdb.base/pending.exp: Test pending breakpoints without symbols
6167 loaded.
6168
6169 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6170
6171 * lib/mi-support.exp (mi_expect_stop): Produce
6172 more details on failures.
6173 * gdb.mi/mi-nonstop.exp: New.
6174 * gdb.mi/non-stop.c: New.
6175
6176 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6177
6178 * gdb.mi/mi-async.exp: Use 'set target-async'.
6179 * lib/mi-support.exp: Use 'set/show target-async'.
6180
6181 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6182
6183 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6184
6185 2008-08-17 Tom Tromey <tromey@redhat.com>
6186
6187 * gdb.base/help.exp (help catch): Rewrite.
6188
6189 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6190
6191 * gdb.base/define.exp: Test indented command documentation.
6192 * gdb.python/python.exp: Test indented multi-line command.
6193
6194 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6195
6196 * testsuite/gdb.arch/vsx-regs.c: New source file.
6197 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6198 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6199
6200 2008-08-14 Tom Tromey <tromey@redhat.com>
6201
6202 * gdb.base/macscp.exp: Add regression test for "macro define" or
6203 "macro undef" with no arguments.
6204
6205 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6206
6207 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6208
6209 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6210
6211 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6212
6213 2008-08-06 Tom Tromey <tromey@redhat.com>
6214
6215 * gdb.python/python.exp: New file.
6216
6217 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 Fix for PR gdb/1543.
6220 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6221 $LOCATION.
6222 (location): New variable.
6223 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6224 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6225 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6226 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6227 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6228 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6229 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6230 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6231 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6232 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6233 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6234 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6235 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6236 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6237 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6238 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6239 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6240 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6241 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6242 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6243 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6244 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6245 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6246 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6247 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6248 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6249 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6250 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6251 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6252 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6253 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6254 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6255 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6256 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6257 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6258 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6259 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6260 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6261 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6262 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6263 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6264 gdb.base/type-opaque.exp, gdb.base/until.exp,
6265 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6266 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6267 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6268 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6269 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6270 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6271 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6272 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6273 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6274 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6275 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6276 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6277 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6278 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6279 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6280 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6281 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6282 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6283 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6284 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6285 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6286 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6287 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6288 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6289 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6290 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6291 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6292 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6293 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6294 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6295 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6296 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6297 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6298 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6299 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6300 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6301 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6302 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6303 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6304 to bug-gdb@prep.ai.mit.edu .
6305
6306 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6307
6308 * lib/mi-support.exp (mi_load_shlibs): New.
6309 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6310
6311 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6312
6313 * lib/mi-support.exp (get_mi_thread_list)
6314 (check_mi_and_console_threads): New, moved from ...
6315 * gdb.mi/mi-pthread.exp: ...here.
6316 * gdb.mi/gdb669.exp (get_mi_thread_list)
6317 (check_mi_and_console_threads): Delete.
6318 * gdb.mi/mi2-pthread.exp: Likewise.
6319
6320 2008-07-28 Tom Tromey <tromey@redhat.com>
6321
6322 * Makefile.in (just-check): Remove. Move body to...
6323 (check): ... here.
6324
6325 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6326
6327 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6328 Add a test for duplicated SIGINTs.
6329
6330 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6331
6332 * gdb.threads/schedlock.exp (get_args): Update to work for any
6333 value of NUM.
6334 (Top level): Report the number of threads that did not resume.
6335
6336 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6337
6338 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6339
6340 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6341
6342 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6343 non-MI prompt.
6344
6345 2008-07-26 Tom Tromey <tromey@redhat.com>
6346
6347 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6348 (function_struct, function_struct_ptr): New globals.
6349 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6350 function pointer in a struct.
6351
6352 2008-07-26 Tom Tromey <tromey@redhat.com>
6353
6354 * gdb.base/macscp.exp: Add test for macro lexing bug.
6355
6356 2008-07-18 Tom Tromey <tromey@redhat.com>
6357
6358 * gdb.base/macscp.exp: Add macro tests.
6359
6360 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6361
6362 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6363
6364 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6365
6366 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6367
6368 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6369
6370 * gdb.cp/class2.exp: fix for failure on spu-elf
6371
6372 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6373
6374 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6375
6376 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6377
6378 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6379
6380 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6381
6382 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6383
6384 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6385
6386 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6387 of regexp to account for changes made to GDB in the printing of
6388 byte vectors.
6389
6390 2008-07-11 Tom Tromey <tromey@redhat.com>
6391
6392 * gdb.base/completion.exp: Add 'help' completion test.
6393
6394 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6395
6396 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6397
6398 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6399
6400 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6401
6402 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6403
6404 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6405
6406 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6407
6408 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6409
6410 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6411
6412 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6413
6414 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6415
6416 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6417 previous commit. Add a comment.
6418
6419 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6420
6421 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6422
6423 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6424
6425 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6426
6427 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6428
6429 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6430 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6431 compiling an executable, link in an object that forces unbuffered
6432 output.
6433 * lib/set_unbuffered_mode.c: New file.
6434
6435 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6436
6437 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6438
6439 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6440
6441 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6442 mi_expect_stop.
6443 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6444 Demand that *running is output.
6445 (detect_async): Perform checking every time.
6446 (mi_send_resuming_command): Extract everything into...
6447 (mi_send_resuming_command_raw): ...this.
6448 (mi_expect_stop): Don't accept any output before *stopped.
6449
6450 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6451
6452 Robustify mi-simplerun.
6453 * gdb.mi/basics.c (main): Add a call to sleep.
6454 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6455 * gdb.mi/mi2-cli.exp: Likewise.
6456 * gdb.mi/mi-break.exp: Likewise.
6457
6458 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6459
6460 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6461
6462 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6463
6464 * gdb.mi/mi-console.exp: Adjust.
6465 * gdb.mi/mi-syn-frame.exp: Adjust.
6466 * gdb.mi/mi2-console.exp: Adjust.
6467 * gdb.mi/mi2-syn-frame.exp: Adjust.
6468 * lib/mi-support.exp (mi_run_cmd): Adjust.
6469 (mi_send_resuming_command): Adjust.
6470
6471 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6472
6473 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6474 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6475 testing of stopped.
6476 * gdb.mi/mi2-syn-frame.exp: Likewise.
6477 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6478 (async, detect_async): New.
6479 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6480 depending on if we're running in sync or async mode.
6481
6482 2008-06-09 Tom Tromey <tromey@redhat.com>
6483
6484 * gdb.base/completion.exp: New tests for field name completion
6485 with spaces, and field name completion with '->'.
6486
6487 2008-06-06 Tom Tromey <tromey@redhat.com>
6488
6489 * gdb.base/break1.c (struct some_struct): New struct.
6490 (values): New global.
6491 * gdb.base/completion.exp: Add field name completion test.
6492
6493 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6494
6495 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6496 to pointer.
6497 * gdb.cp/call-c.cc: Likewise.
6498
6499 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6500
6501 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6502 annotation.
6503
6504 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6505 Pedro Alves <pedro@codesourcery.com>
6506
6507 * gdb.threads/execl.c, gdb.threads/execl1.c,
6508 gdb.threads/execl.exp: New tests.
6509
6510 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6511 Daniel Jacobowitz <dan@codesourcery.com>
6512
6513 * gdb.cp/exception.exp: Activate test, make it work with pending
6514 catchpoints.
6515
6516 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6517
6518 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6519
6520 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6521
6522 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6523 now printed.
6524 * gdb.mi/mi2-var-cmd.exp: Likewise.
6525
6526 2008-05-27 Andreas Schwab <schwab@suse.de>
6527
6528 * gdb.base/frame-args.exp: Handle arguments that are optimized
6529 out.
6530
6531 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6532
6533 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6534 quiet for ppc32 and group options into a single variable.
6535
6536 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6537
6538 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6539 of zero-size elements.
6540 * gdb.ada/null_array.exp: Test printing this new array.
6541
6542 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6543
6544 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6545
6546 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6547
6548 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6549 of the "finish" command.
6550
6551 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6552
6553 * gdb.base/annota1.exp: Test for new annotation.
6554
6555 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6556
6557 * gdb.base/fixsection.exp: New file.
6558 * gdb.base/fixsection0.c: New file.
6559 * gdb.base/fixsection1.c: New file.
6560
6561 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6562
6563 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6564 * gdb.base/annota3.exp: Likewise.
6565
6566 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6567
6568 * gdb.base/watch_thread_num.exp: Don't run tests that require
6569 watchpoints if the target doesn't support them.
6570
6571 2008-05-12 Doug Evans <dje@google.com>
6572
6573 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6574
6575 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6576
6577 * gdb.ada/assign_1.exp: New testcase.
6578
6579 2008-05-09 Doug Evans <dje@google.com>
6580
6581 * gdb.base/find.exp: New file.
6582 * gdb.base/find.c: New file.
6583
6584 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6585
6586 * gdb.base/commands.exp (watchpoint_command_test): Handle
6587 gdb,no_hardware_watchpoints.
6588 * gdb.base/float.exp: Allow ARM targets without floating point.
6589 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6590
6591 2008-05-06 Jerome Guitton <guitton@adacore.com>
6592 Joel Brobecker <brobecker@adacore.com>
6593
6594 * gdb.ada/lang_switch: New test program.
6595 * gdb.ada/lang_switch.exp: New testcase.
6596
6597 2008-05-05 Doug Evans <dje@google.com>
6598
6599 * gdb.base/help.exp (disassemble): Update expected help text.
6600
6601 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6602
6603 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6604
6605 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6606
6607 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6608 different times.
6609
6610 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6613 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6614 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6615 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6616
6617 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6618
6619 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6620 notification to appear.
6621
6622 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6623
6624 * gdb.base/fullname.c: New file.
6625 * gdb.base/fullname.exp: New file.
6626 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6627
6628 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6629
6630 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6631 expressions with macros.
6632
6633 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6634
6635 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6636
6637 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6638
6639 * gdb.base/completion.exp: Handle lack of other symbols beginning
6640 with "a".
6641
6642 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6643
6644 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6645
6646 * gdb.asm/asmsrc1.s: Add scratch space.
6647
6648 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6649 Daniel Jacobowitz <dan@codesourcery.com>
6650
6651 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6652 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6653 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6654
6655 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6656
6657 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6658
6659 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6660
6661 * gdb.base/info-target.exp: New testcase.
6662
6663 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6664
6665 * gdb.cp/hang.exp: Use .cc instead of .C.
6666 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6667 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6668
6669 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6670
6671 * gdb.base/gdb1250.exp: Remove perror.
6672 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6673
6674 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6675
6676 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6677 .2byte.
6678
6679 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6680
6681 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6682 (maybe_kfail): New.
6683
6684 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6685
6686 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6687
6688 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6689
6690 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6691 * gdb.mi/mi2-syn-frame.exp: Likewise.
6692 * lib/mi-support.exp: Likewise.
6693
6694 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6695
6696 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6697 to specify regexp for the location to stop at.
6698 * gdb.base/break-always.c: New.
6699 * gdb.base/break-always.exp: New.
6700
6701 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6702
6703 * lib/mi-support.exp (mi_runto_helper): Adjust
6704 for the original-location field.
6705 (mi_create_breakpoint, mi_list_breakpoints): New.
6706 * gdb.mi/mi-break.exp: Adjust.
6707 * gdb.mi/mi2-break.exp: Adjust.
6708 * gdb.mi/mi-pending.exp: Adjust.
6709 * gdb.mi/mi-simplerun.exp: Adjust.
6710 * gdb.mi/mi2-simplerun.exp: Adjust.
6711 * gdb.mi/mi-syn-frame.exp: Adjust.
6712 * gdb.mi/mi2-syn-frame.exp: Adjust.
6713 * gdb.mi/mi-until.exp: Adjust.
6714 * gdb.mi/mi2-until.exp: Adjust.
6715 * gdb.mi/mi-var-display.exp: Adjust.
6716 * gdb.mi/mi2-var-display.exp: Adjust.
6717 * gdb.mi/mi-watch.exp: Adjust.
6718 * gdb.mi/mi2-watch.exp: Adjust.
6719
6720 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6721
6722 * aclocal.m4: Add override.m4.
6723 * configure: Regenerate.
6724
6725 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6726
6727 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6728 '-var-update --all-values' reports new value even the type
6729 of a variable object has changed.
6730
6731 2008-04-18 Craig Silverstein <csilvers@google.com>
6732
6733 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6734 files.
6735
6736 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6737
6738 * gdb.ada/atomic_enum: New test program.
6739 * gdb.ada/atomic_enum.exp: New testcase.
6740
6741 2008-04-17 Doug Evans <dje@google.com>
6742
6743 * gdb.opt/Makefile.in: Fix whitespace.
6744
6745 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6746
6747 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6748
6749 2008-04-17 Doug Evans <dje@google.com>
6750
6751 * gdb.base/hashline1.exp: New testcase.
6752 * gdb.base/hashline2.exp: New testcase.
6753 * gdb.base/hashline2.exp: New testcase.
6754
6755 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6756
6757 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6758
6759 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6760
6761 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6762 temporary breakpoint to match "Temporary breakpoint".
6763 * gdb.base/break.exp (delete_breakpoints): Likewise.
6764 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6765 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6766 * gdb.base/display.exp: Likewise.
6767 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6768 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6769 * gdb.base/restore.exp (restore_tests): Likewise.
6770 * gdb.base/sepdebug.exp: Likewise.
6771 * gdb.base/watchpoint.exp: Likewise.
6772 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6773 * gdb.mi/mi-pending.exp: Likewise.
6774 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6775 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6776 * gdb.mi/mi-var-cmd.exp: Likewise.
6777 * gdb.mi/mi-var-display.exp: Likewise.
6778 * gdb.mi/mi2-cli.exp: Likewise.
6779 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6780 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6781 * gdb.mi/mi2-var-display.exp: Likewise.
6782 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6783 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6784 new "disp" field.
6785 (mi_expect_stop): Move after_reason argument to be really after
6786 reason. This is to support fix for PR2424.
6787
6788 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6789
6790 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6791
6792 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6793
6794 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6795 field. Add more floating varobj tests.
6796 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6797 field.
6798 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6799 (main): Call do_at_tests.
6800 * lib/mi-support.exp (mi_create_floating_varobj)
6801 (mi_varobj_update_with_type_change): New.
6802
6803 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6804
6805 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6806 option of -var-evaluate-expression.
6807 * gdb.mi/mi2-var-display.exp: Likewise.
6808
6809 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6810
6811 Introduce test setup helpers.
6812 * lib/gdb.exp (build_executable, clean_restart)
6813 (prepare_for_testing): New.
6814 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6815 * gdb.base/return.exp: Likewise.
6816 * gdb.base/ending-run.exp: Likewise.
6817
6818 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6819
6820 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6821 Interface (MI) responses.
6822
6823 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6824
6825 * gdb.cp/breakpoint.cc: New code to test conditions involving
6826 member variables.
6827 * gdb.cp/breakpoint.exp: Test condition involving member
6828 variables.
6829
6830 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6831
6832 * lib/mi-support.exp (mi_expect_stop): New.
6833 (mi_run_cmd): Change the
6834 token. Use mi_send_resuming_command, use
6835 mi_expect_stop.
6836 (mi_execute_to_helper): Rename to mi_execute_to.
6837 (mi_send_resuming_command): Add more error patterns.
6838 (mi_wait_for_stop): Renamed to...
6839 (mi_get_stop_line): ...this.
6840 (mi_run_inline_test): Adjust.
6841
6842 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6843 * gdb.mi/mi-console.exp: Likewise.
6844 * gdb.mi/mi-pending.exp: Likewise.
6845 * gdb.mi/mi-simplerun.exp: Likewise.
6846 * gdb.mi/mi-stack.exp: Likewise.
6847 * gdb.mi/mi-stepi.exp: Likewise.
6848 * gdb.mi/mi-syn-frame.exp: Add comment.
6849 * gdb.mi/mi-until.exp: Likewise.
6850 * gdb.mi/mi-var-display.exp: Likewise.
6851 * gdb.mi/mi-watch.exp: Likewise.
6852 * gdb.mi/mi2-cli.exp: Likewise.
6853 * gdb.mi/mi2-console.exp: Likewise.
6854 * gdb.mi/mi2-simplerun.exp: Likewise.
6855 * gdb.mi/mi2-stack.exp: Likewise.
6856 * gdb.mi/mi2-stepi.exp: Likewise.
6857 * gdb.mi/mi2-until.exp: Likewise.
6858 * gdb.mi/mi2-var-display.exp: Likewise.
6859 * gdb.mi/mi2-watch.exp: Likewise.
6860
6861 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6862
6863 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6864
6865 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6866
6867 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6868
6869 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6870 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6871 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6872 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6873 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6874 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6875 expect an mi error duplicated in stderr.
6876
6877 2008-04-03 Joel Brobecker <brobecker@adacore.com>
6878
6879 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6880 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6881 Add a couple of tests that verify the behavior when the new setting
6882 is set to "cancel" and "all".
6883 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6884 "ask" before we start the testing.
6885
6886 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6887
6888 * gdb.cp/casts.cc: Add class reference variables.
6889 * gdb.cp/casts.exp: New test cases for up/down casting references.
6890
6891 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6892
6893 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6894 instead of beginning to make an extra test pass.
6895 * gdb.mi/mi2-var-display.exp: Likewise.
6896
6897 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6898
6899 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6900
6901 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6902 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6903
6904 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6905 value. Add xfail for older kernels.
6906
6907 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6908
6909 Bring mi-support in line with gdb.exp.
6910 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6911 (mi_gdb_start): New function.
6912
6913 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6914
6915 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6916
6917 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6918
6919 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6920 * gdb.mi/mi2-var-display.exp: Likewise.
6921
6922 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6923
6924 * lib/mi-support.exp (mi_create_varobj_checked): New.
6925 (mi_list_varobj_children): Allow to check for a
6926 value.
6927 (mi_list_array_varobj_children): New.
6928
6929 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6930 and mi_list_varobj_children, as opposed to hardcoding
6931 expected strings.
6932 * gdb.mi/gdb701.exp: Likewise.
6933 * gdb.mi/gdb792.exp: Likewise.
6934 * gdb.mi/mi-var-block.exp: Likewise.
6935 * gdb.mi/mi-var-cmd.exp: Likewise.
6936 * gdb.mi/mi-var-invalidate.exp: Likewise.
6937 * gdb.mi/mi2-var-block.exp: Likewise.
6938 * gdb.mi/mi2-var-child.exp: Likewise.
6939 * gdb.mi/mi2-var-cmd.exp: Likewise.
6940 * gdb.mi/mi2-var-display.exp: Likewise.
6941
6942 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6943
6944 Fix random false FAILs on i386.
6945 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6946
6947 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6948
6949 PR gdb/544
6950 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6951
6952 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6953
6954 PR gdb/544
6955 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6956
6957 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6958
6959 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6960 fixed PR gdb/544.
6961
6962 2008-03-21 Pedro Alves <pedro@codesourcery.com>
6963
6964 * gdb.threads/fork-child-threads.exp: Test next over fork.
6965
6966 2008-03-21 Chris Demetriou <cgd@google.com>
6967
6968 * gdb.base/break.exp (rbreak junk): New test for rbreak
6969 "Junk at end of arguments" issue.
6970
6971 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6972
6973 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6974 *& to work on created array elements.
6975 (Top level): Test print $pc with a file. Test string operations
6976 without a target.
6977 * gdb.base/ptype.exp: Do not expect *& to work on created array
6978 elements.
6979
6980 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6981
6982 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6983 gdb.threads/staticthreads.exp: Update exit query.
6984
6985 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6986
6987 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6988
6989 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6990
6991 * gdb.base/watchpoint.c (global_ptr, func4): New.
6992 (main): Call func4.
6993 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6994 (test_inaccessible_watchpoint): New.
6995
6996 2008-02-29 Maciej W. Rozycki <macro@mips.com>
6997
6998 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6999 select the largest.
7000
7001 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7002
7003 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7004 frames-invalid annotations.
7005
7006 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7007
7008 * gdb.base/assign.exp: avoid same output for different tests.
7009
7010 2008-02-27 Doug Evans <dje@google.com>
7011
7012 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7013 for bug 1738.
7014 (breakpoint_to_handler_entry): Ditto.
7015
7016 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7017
7018 * gdb.base/ending-run.exp: Use the first line of code inside
7019 function body to test breakpoints.
7020 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7021 location where the breakpoint is inserted when using the line
7022 where a function is declared. Fix typo in the description of
7023 one of the tests.
7024 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7025
7026 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7027
7028 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7029 tests.
7030
7031 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7032
7033 * gdb.base/args.exp: avoid same output for tests
7034 with single quotes.
7035
7036 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7037
7038 * gdb.base/annota1.exp: Adjust for 'info break'
7039 format changes.
7040 * gdb.base/annota3.exp: Likewise.
7041 * gdb.base/break.exp: Likewise.
7042 * gdb.base/condbreak.exp: Likewise.
7043 * gdb.base/pending.exp: Likewise.
7044 * gdb.base/sepdebug.exp: Likewise.
7045 * gdb.base/unload.exp: Likewise.
7046 * gdb.cp/ovldbreak.exp: Likewise.
7047 * gdb.mi/mi-pending.exp: Likewise.
7048
7049 2008-02-07 Doug Evans <dje@google.com>
7050
7051 * gdb.cp/mb-inline.exp: New.
7052 * gdb.cp/mb-inline.h: New.
7053 * gdb.cp/mb-inline1.cc: New.
7054 * gdb.cp/mb-inline2.cc: New.
7055
7056 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7057
7058 * gdb.pascal/floats.pas: New test program.
7059 * gdb.pascal/floats.exp: New testcase.
7060
7061 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7062
7063 * gdb.base/callfuncs.c (t_float_many_args): New function.
7064 (t_double_many_args): New function.
7065 * gdb.base/callfuncs.exp: Add tests for exceeding float
7066 and double parameters passed through the stack.
7067
7068 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7069
7070 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7071 gdb.ada/complete/foo.adb: New files.
7072 * gdb.ada/complete.exp: New testcase.
7073
7074 2008-02-03 Doug Evans <dje@google.com>
7075
7076 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7077
7078 * gdb.cp/gdb2384.exp: New file.
7079 * gdb.cp/gdb2384.cc: New file.
7080 * gdb.cp/gdb2384-base.h: New file.
7081 * gdb.cp/gdb2384-base.cc: New file.
7082
7083 2008-02-02 Doug Evans <dje@google.com>
7084
7085 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7086
7087 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7088
7089 * gdb.ada/sym_print_name: New test program.
7090 * gdb.ada/sym_print_name.exp: New testcase.
7091
7092 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7093
7094 * gdb.ada/nested/hello.adb: New file.
7095 * gdb.ada/nested.exp: New testcase.
7096 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7097
7098 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7099
7100 * gdb.mi/basic.c (return_1): New function.
7101 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7102 don't cause future evaluations of function to report
7103 creation of internal breakpoints.
7104
7105 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7106
7107 * gdb.mi/mi-break.exp (test_error): New.
7108 Call it.
7109
7110 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7111
7112 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7113 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7114
7115 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7116
7117 * gdb.pascal/integers.pas: New test program.
7118 * gdb.pascal/integers.exp: New testcase.
7119
7120 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7121
7122 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7123
7124 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7125
7126 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7127 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7128
7129 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7130
7131 * gdb.ada/formatted_ref: New test program.
7132 * gdb.ada/formatted_ref.exp: New testcase.
7133
7134 * gdb.cp/formatted-ref.cc: New file.
7135 * gdb.cp/formatted-ref.exp: New testcase.
7136
7137 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7138
7139 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7140
7141 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7142
7143 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7144 (test_file_list_exec_source_file): Update to new macro-info field.
7145
7146 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7147
7148 * gdb.ada/exprs: New test program.
7149 * gdb.ada/exprs.exp: New testcase.
7150
7151 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7152
7153 * dfp-test.c (DELTA, DELTA_B): New definitions.
7154 (double_val1, double_val2, double_val3, double_val4, double_val5,
7155 double_val6, double_val7, double_val8, double_val9, double_val10,
7156 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7157 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7158 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7159 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7160 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7161 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7162 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7163 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7164 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7165 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7166 dec128_val16): New global variables.
7167 (decimal_dec128_align): New function.
7168 (decimal_mixed): Likewise.
7169 (decimal_many_args_dec32): Likewise.
7170 (decimal_many_args_dec64): Likewise.
7171 (decimal_many_args_dec128): Likewise.
7172 (decimal_many_args_mixed): Likewise.
7173 * dfp-test.exp: Add tests calling new inferior functions.
7174
7175 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7176
7177 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7178 gdb.server/ext-run.exp: New files.
7179 * lib/gdbserver-support.exp (gdbserver_download): New.
7180 (gdbserver_start): New. Update gdbserver expected
7181 output.
7182 (gdbserver_spawn): Use them.
7183 (gdbserver_start_extended): New.
7184
7185 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7186
7187 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7188 Run on GNU/Linux.
7189 (do_exec_tests): Check for systems which do not support catchpoints.
7190 Do not match START.
7191 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7192 Run on GNU/Linux. Enable verbose output.
7193 (check_fork_catchpoints): New.
7194 (explicit_fork_child_follow, catch_fork_child_follow)
7195 (tcatch_fork_parent_follow): Update expected messages.
7196 (do_fork_tests): Use check_fork_catchpoints.
7197 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7198 Run on GNU/Linux. Enable verbose output.
7199 (check_vfork_catchpoints): New.
7200 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7201 expected messages.
7202 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7203
7204 2008-01-29 Jim Blandy <jimb@red-bean.com>
7205
7206 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7207 host' errors.
7208 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7209
7210 2008-01-29 Jim Blandy <jimb@red-bean.com>
7211
7212 * gdb.threads/sigthread.c: Use barriers to ensure that
7213 child_thread and child_thread_two are always initialized before we
7214 start to use them.
7215
7216 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7217
7218 * gdb.base/watchpoint-solib.exp: New.
7219 * gdb.base/watchpoint-solib.c: New.
7220 * gdb.base/watchpoint-solib-shr.c: New.
7221
7222 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7223
7224 * gdb.base/gdb1056.exp: Add unsigned integer test.
7225
7226 2008-01-28 Doug Evans <dje@google.com>
7227
7228 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7229
7230 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7231
7232 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7233
7234 * gdb.base/expand-psymtabs.exp: Doc fix.
7235
7236 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7237
7238 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7239
7240 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7241
7242 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7243 -var-set-format.
7244
7245 2008-01-23 Chris Demetriou <cgd@google.com>
7246
7247 * gdb.threads/thread_events.c: New testcase source file.
7248 * gdb.threads/thread_events.exp: New testcase expect file.
7249
7250 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7251
7252 * lib/gdb.exp: Add the variable octal.
7253
7254 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7255 -var-set-format.
7256
7257 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7258 Vladimir Prus <vladimir@codesourcery.com>
7259
7260 * gdb.base/float.exp: Allow missing floating point for m68k and
7261 PowerPC.
7262
7263 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7264
7265 * gdb.mi/basics.c: Setup for testing breakpoints
7266 ignore count.
7267 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7268 * gdb.mi/mi-cli.exp: Adjust.
7269 * gdb.mi/mi2-cli.exp: Adjust.
7270
7271 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7272
7273 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7274 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7275 with dummy_ptr's address.
7276 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7277 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7278 all targets.
7279 * gdb.mi/mi2-var-child.exp: Likewise.
7280
7281 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7282
7283 * gdb.ada/null_array: New test program.
7284 * gdb.ada/null_array.exp: New testcase.
7285
7286 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7287
7288 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7289 with required float modifiers.
7290
7291 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7292
7293 * gdb.ada/funcall_param: New test program.
7294 * gdb.ada/funcall_param.exp: New testcase.
7295
7296 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7297
7298 * gdb.ada/arrayparam: New test program.
7299 * gdb.ada/arrayparam.exp: New testcase.
7300
7301 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7302
7303 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7304 landed. Should also fix random failures in the test following it.
7305
7306 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7307
7308 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7309 for expressions with decimal float values.
7310 (test_dfp_conversions): New function to test casts to and from
7311 decimal float types.
7312 Call test_dfp_conversions.
7313 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7314 elements.
7315 (main): Initialize ds.float4 and ds.double8 elements.
7316 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7317 string to new error message.
7318 (d64_set_tests): Likewise.
7319 (d128_set_tests): Likewise.
7320 Add tests for expressions with decimal float variables. Add tests for
7321 conversions to and from decimal float types.
7322
7323 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7324
7325 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7326 * gdb.ada/packed_tagged.exp: New testcase.
7327
7328 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7329
7330 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7331 gdb.ada/homonym/homonym_main.adb: New files.
7332 * gdb.ada/homonym.exp: New testcase.
7333
7334 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7335
7336 * gdb.ada/packed_array.exp: Add testing of references to
7337 a packed array.
7338
7339 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7340
7341 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7342 New files.
7343 * gdb.ada/type_coercion.exp: New testcase.
7344
7345 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7346
7347 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7348 gdb.ada/tagged/foo.adb: New file.
7349 * gdb.ada/tagged.exp: New testcase.
7350
7351 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7352
7353 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7354 gdb.ada/ptype_field/foo.adb: New files.
7355 * gdb.ada/ptype_field.exp: New testcase.
7356
7357 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7358
7359 * gdb.ada/print_pc.exp: New testcase.
7360
7361 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7362
7363 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7364 gdb.ada/taft_type/p.adb: New files.
7365 * gdb.ada/taft_type.exp: New testcase.
7366
7367 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7368
7369 * gdb.ada/array_bounds/bar.adb: New file.
7370 * gdb.ada/array_bounds.exp: New testcase.
7371
7372 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7373
7374 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7375 gdb.ada/arrayptr/foo.adb: New files.
7376 * gdb.ada/arrayptr.exp: New testcase.
7377
7378 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7379
7380 * gdb.base/set-lang-auto.exp: New testcase.
7381
7382 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7383
7384 * gdb.ada/fun_addr/foo.adb: New file.
7385 * gdb.ada/fun_addr.exp: New testcase.
7386
7387 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7388
7389 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7390 New files
7391
7392 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7393
7394 * array_subscript_addr/p.adb: New file.
7395 * array_subscript_addr.exp: New testcase.
7396
7397 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7398
7399 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7400 New files.
7401 * gdb.ada/str_cmp_ref.exp: New testcase.
7402
7403 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7404
7405 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7406 gdb.ada/fun_in_declare/foo.adb: New files.
7407 * gdb.ada/fun_in_declare.exp: New testcase.
7408
7409 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7410
7411 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7412 gdb.ada/ref_param/pck.ads: New files.
7413 * gdb.ada/ref_param.exp: New testcase.
7414
7415 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7416
7417 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7418 gdb.ada/interface/foo.adb: New files.
7419 * gdb.ada/interface.exp: New testcase.
7420
7421 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7422
7423 * gdb.base/multi-forks.exp: Consume all output from child
7424 processes before proceeding to next test.
7425
7426 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7427
7428 * configure: Regenerated.
7429
7430 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7431
7432 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7433 gdb.ada/fixed_cmp/fixed.adb: New files.
7434 * gdb.ada/fixed_cmp.exp: New testcase.
7435
7436 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7437
7438 * gdb.ada/boolean_expr.exp: New testcase.
7439
7440 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7441
7442 * gdb.base/multi-forks.exp: Doc fix.
7443
7444 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7445
7446 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7447 * gdb.ada/char_param.exp: Do not compile our test program with
7448 -gnata, this is unnecessary.
7449 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7450
7451 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7452
7453 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7454 gdb.ada/print_chars/foo.adb: New files.
7455 * gdb.ada/print_chars.exp: New testcase.
7456
7457 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7460 gdb.ada/char_param/foo.adb: New files.
7461 * gdb.ada/char_param.exp: New testcase.
7462
7463 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7464
7465 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7466 hard-coding source line numbers into the test.
7467 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7468 gdb_get_line_number to find.
7469
7470 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7471
7472 * gdb.base/ptype.c (highest): New struct type.
7473 (the_highest): New variable of that type.
7474 (main): Add dummy assignment to a field of variable the_highest.
7475 * gdb.base/ptype.exp: Test type printing of our new variable.
7476
7477 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7478
7479 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7480 and record first explicitly generated thread number.
7481 Use that thread number for thread specific watchpoint test.
7482 Add iteration number to repetitive tests.
7483
7484 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7485 Jim Blandy <jimb@codesourcery.com>
7486
7487 * gdb.base/expand-psymtabs.c: New testcase
7488 source file.
7489 * gdb.base/expand-psymtabs.exp: New testcase
7490 expect file.
7491
7492 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7493
7494 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7495 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7496
7497 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7498
7499 * gdb.ada/frame_args/foo.adb: New file.
7500 * gdb.ada/frame_args/pck.ads: New file.
7501 * gdb.ada/frame_args/pck.adb: New file.
7502 * gdb.ada/frame_args.exp: New testcase.
7503
7504 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7505
7506 * gdb.base/frame-args.c: New file.
7507 * gdb.base/frame-args.exp: New testcase.
7508
7509 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7510 Joseph Myers <joseph@codesourcery.com>
7511
7512 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7513
7514 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7515
7516 * gdb.mi/mi-pending.exp: New.
7517 * gdb.mi/mi-pending.c: New.
7518 * gdb.mi/mi-pendshr.c: New.
7519
7520 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7521
7522 * gdb.base/default.exp: Update expected output for 'info catch'.
7523
7524 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7525
7526 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7527 must be set to binary.
7528
7529 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7530
7531 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7532
7533 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7534
7535 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7536 gdb.mi/mi-file-transfer.exp: New.
7537
7538 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7539
7540 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7541
7542 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7543
7544 * gdb.trace/backtrace.exp: Fix a typo.
7545 * gdb.trace/circ.exp: Likewise.
7546 * gdb.trace/collection.exp: Likewise.
7547 * gdb.trace/limits.exp: Likewise.
7548 * gdb.trace/report.exp: Likewise.
7549 * gdb.trace/tfind.exp: Likewise.
7550 * gdb.trace/while-dyn.exp: Likewise.
7551
7552 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7553
7554 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7555 objects of pointers that can't be dereferenced are now
7556 "noneditable".
7557
7558 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7559
7560 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7561 (target_cpu): Remove.
7562
7563 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7564
7565 * gdb.base/ending-run.exp: Expect the list of cleared
7566 breakpoint to come in natural order, not the reversed one.
7567
7568 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7569
7570 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7571 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7572
7573 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7574
7575 * gdb.base/printcmds.exp: New function
7576 test_printf_with_dfp.
7577
7578 2007-11-02 Doug Evans <dje@google.com>
7579
7580 * gdb.disasm/t01_mov.s: Remove carriage returns.
7581 * gdb.disasm/t02_mova.s: Ditto.
7582 * gdb.disasm/t03_add.s: Ditto.
7583 * gdb.disasm/t04_sub.s: Ditto.
7584 * gdb.disasm/t05_cmp.s: Ditto.
7585 * gdb.disasm/t06_ari2.s: Ditto.
7586 * gdb.disasm/t07_ari3.s: Ditto.
7587 * gdb.disasm/t08_or.s: Ditto.
7588 * gdb.disasm/t09_xor.s: Ditto.
7589 * gdb.disasm/t10_and.s: Ditto.
7590 * gdb.disasm/t11_logs.s: Ditto.
7591 * gdb.disasm/t12_bit.s: Ditto.
7592 * gdb.disasm/t13_otr.s: Ditto.
7593
7594 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7595
7596 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7597
7598 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7599
7600 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7601 provide DFP support.
7602
7603 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7604
7605 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7606 Test "set powerpc vector-abi". Skip auto-detection tests for old
7607 toolchains.
7608
7609 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7610
7611 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7612 with [string compare].
7613
7614 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7615
7616 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7617 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7618
7619 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7620
7621 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7622 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7623 * gdb.opt/Makefile.in: New makefile.
7624 * Makefile.in: Create new directory "gdb.opt".
7625 * configure.ac: Add "gdb.opt" directory.
7626 * configure: Regenerated.
7627
7628 2007-10-25 Doug Evans <dje@google.com>
7629
7630 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7631 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7632
7633 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7634 Thiago Jung Bauermann <bauerman@br.ibm.com>
7635
7636 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7637 Floating Point expressions.
7638 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7639 Floating Point variables.
7640 * gdb.base/dfp-test.c: new file containing program with Decimal
7641 Floating variables, used by gdb.base/dfp-test.exp.
7642
7643 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7644
7645 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7646
7647 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7648
7649 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7650 compiling test case with GCC.
7651 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7652
7653 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7654
7655 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7656 format changes.
7657
7658 2007-10-18 Michael Snyder <msnyder@specifix.com>
7659
7660 * gdb.base/dbx.exp: Add missing "-re " operator.
7661
7662 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7663
7664 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7665 * configure.ac: Removed trailing spaces after backslash.
7666 * gdb.modula2: New directory.
7667 * gdb.modula2/Makefile.in: New file.
7668 * gdb.modula2/unbounded-array.exp: New file.
7669 * gdb.modula2/unbounded1.c: New file.
7670
7671 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7672
7673 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7674
7675 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7676
7677 * gdb.base/sigstep.c (main): Add checks for
7678 return values for setitimer call.
7679 Call setitimer again with itimer = ITIMER_REAL
7680 if first call to setitimer fails.
7681
7682 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7683
7684 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7685 of $timeout.
7686
7687 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7688
7689 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7690
7691 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7692
7693 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7694 of gdb_expect call, to avoid interruption.
7695
7696 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7697
7698 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7699 (v_unsigned_long_long, v_long_long_array)
7700 (v_signed_long_long_array, v_unsigned_long_long_array)
7701 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7702 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7703 [!NO_LONG_LONG]: New.
7704 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7705 v_long_long_member.
7706
7707 (v_long_long_func, v_signed_long_long_func)
7708 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7709 (main) [!NO_LONG_LONG]: Initialize long long variants.
7710
7711 * gdb.base/whatis.exp: If board file requests no_long_long, build
7712 test with NO_LONG_LONG defined. Test long long, signed long long,
7713 and unsigned long long variants but only if board file doesn't
7714 disable it.
7715
7716 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7717 Daniel Jacobowitz <dan@codesourcery.com>
7718
7719 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7720 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7721 * configure: Regenerated.
7722 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7723 gdb.pascal/types.exp, lib/pascal.exp: New files.
7724
7725 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7726
7727 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7728 call.
7729 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7730 to return to the call.
7731 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7732 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7733 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7734 * gdb.mi/mi-until.exp (test_until): Likewise.
7735 * gdb.mi/mi2-until.exp (test_until): Likewise.
7736
7737 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7738
7739 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7740 two-char array.
7741 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7742
7743 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7744
7745 * gdb.threads/watchthreads.c (thread_function): Sleep between
7746 iterations.
7747 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7748 at once for S/390. Generate matching fails and passes.
7749
7750 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7751
7752 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7753 the 'struct_declarations' variable to zeros.
7754
7755 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7756
7757 * gdb.cp/mb-ctor.cc: New.
7758 * gdb.cp/mb-ctor.exp: New.
7759 * gdb.cp/mb-templates.cc: New.
7760 * gdb.cp/mb-templates.exp: New.
7761
7762 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7763
7764 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7765
7766 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7767
7768 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7769 targets.
7770 * configure: Regenerate.
7771
7772 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7773
7774 * gdb.base/annota1.exp: Adjust for 'info break'
7775 format changes.
7776 * gdb.base/annota3.exp: Likewise.
7777 * gdb.base/break.exp: Likewise.
7778 * gdb.base/condbreak.exp: Likewise.
7779 * gdb.base/pending.exp: Likewise.
7780 * gdb.base/sepdebug.exp: Likewise.
7781 * gdb.base/unload.exp: Likewise.
7782 * gdb.base/ovldbreak.exp: Likewise.
7783
7784 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7785
7786 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7787 messages.
7788 * gdb.base/chng-syms.exp: Likewise.
7789 * gdb.base/unload.exp: Likewise.
7790
7791 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7792
7793 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7794
7795 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7796
7797 * schedlock.c (NUM): Change to 1.
7798 (main): Use args[0] for the main thread.
7799 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7800 regardless of the number of threads.
7801
7802 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7803
7804 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7805 type down.
7806 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7807 test.
7808 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7809 watchpoint type down.
7810 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7811 test.
7812
7813 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7814
7815 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7816 Move all the tests here and run them twice, once using software
7817 watchpoints and once using hardware watchpoints.
7818 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7819
7820 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7821
7822 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7823 test.
7824
7825 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7826
7827 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7828 build-id.
7829
7830 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7831 know about $ORIGIN. Calculate output dir from $dest instead of
7832 using ${objdir}/{$subdir}.
7833
7834 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7835
7836 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7837 gcore, before continuing with the test.
7838
7839 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7840
7841 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7842 * gdb.mi/mi-watch.exp: Likewise.
7843
7844 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7845 Jim Blandy <jimb@codesourcery.com>
7846
7847 * gdb.arch/i386-sse.exp: Do not expect character constants.
7848 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7849 * gdb.base/display.exp: Allow print/s.
7850 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7851 and unsigned char array changes.
7852
7853 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7854
7855 * gdb.base/display.exp: Add tests for printf %p.
7856
7857 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7858
7859 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7860 the dll name to unicode.
7861
7862 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7863
7864 * gdb.base/default.exp (show version): Update the version text.
7865 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7866
7867 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7868
7869 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7870 New files.
7871
7872 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7873
7874 * lib/gdb.exp (build_id_debug_filename_get): New function.
7875 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7876 Remove the generate DEBUG file for the future testcase runs.
7877 New testcase for the NT_GNU_BUILD_ID retrieval.
7878 Move the final testing step to ...
7879 (test_different_dir): ... a new function.
7880 New parameter XFAIL to XFAIL all the tests performed.
7881 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7882 New parameter TYPE to PF_PREFIX all the tests performed.
7883
7884 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7885
7886 * gdb.mi/mi-var-cp.cc (path_expression): New
7887 function.
7888 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7889
7890 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7891
7892 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7893 to fit into SPU Local Store memory.
7894
7895 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7896
7897 * gdb.base/default.exp: Adjust the expected output of "info
7898 warranty" after the switch to GPLv3.
7899
7900 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7901
7902 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7903 to 30000 (from 20000).
7904
7905 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7906
7907 Switch the license of all .exp files to GPLv3.
7908 Switch the license of all .f and .f90 files to GPLv3.
7909 Switch the license of all .s and .S files to GPLv3.
7910
7911 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7912
7913 * configure.ac: Switch license to GPLv3.
7914
7915 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7916
7917 Switch the licensing to GPLv3 for all .ads and .adb files.
7918
7919 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7920
7921 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7922 and t_int_double.
7923 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7924
7925 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7926
7927 * gdb.base/step-line.c: Switch license to GPL version 3, and
7928 update copyright year.
7929 * gdb.base/step-line.inp: Likewise.
7930
7931 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7932
7933 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7934 changes inside gdb1555.c.
7935 * gdb.base/pending.exp: Likewise.
7936
7937 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7938
7939 * config/default.exp: New file.
7940
7941 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7942
7943 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7944 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7945
7946 2007-07-30 Maciej W. Rozycki <macro@mips.com>
7947
7948 * gdb.base/dump.exp: Force the correct endianness for binary
7949 formats not carrying this information.
7950
7951 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7952
7953 * gdb.threads/staticthreads.exp: Match .*sem_post.
7954
7955 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7956
7957 * gdb.base/readline.exp (operate_and_get_next): Match the final
7958 prompt.
7959
7960 2007-07-23 Kevin Buettner <kevinb@redhat.com>
7961
7962 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7963 to restarting SID.
7964
7965 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7966
7967 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7968 prior to `gdb_start'.
7969
7970 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7971
7972 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7973 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7974 Remove call to gdb_unload.
7975
7976 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7977 Daniel Jacobowitz <dan@codesourcery.com>
7978
7979 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7980 for __WIN32__.
7981 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7982 * gdb.base/unload.exp: Use shared library test routines.
7983
7984 2007-07-03 Markus Deuling <deuling@de.ibm.com>
7985
7986 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7987 * gdb.base/solib-symbol-lib.c: Likewise.
7988 * gdb.base/solib-symbol-main.c: Likewise.
7989
7990 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7991
7992 * config/gdbserver.exp (gdb_reconnect): New.
7993 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7994 gdb.base/solib-disc.exp: New files.
7995 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7996 remote debugging".
7997 (gdb_compile): Add shlib_load flag.
7998 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7999 port.
8000 (gdbserver_reconnect): New.
8001
8002 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8003 Daniel Jacobowitz <dan@codesourcery.com>
8004
8005 * gdb.base/annota3.exp: Test for if construct.
8006
8007 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8008
8009 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8010
8011 2007-06-21 Chris Dearman <chris@mips.com>
8012 Maciej W. Rozycki <macro@mips.com>
8013
8014 * gdb.base/display.exp: Allow a newline after display/i.
8015 * gdb.base/pc-fp.exp: Likewise.
8016 * gdb.base/sigbpt.exp: Likewise.
8017
8018 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8019
8020 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8021 required features to be included.
8022
8023 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8024
8025 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8026 in info threads output.
8027
8028 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8029 Markus Deuling <deuling@de.ibm.com>
8030
8031 * gdb.arch/spu-info.exp: New testcase.
8032 * gdb.arch/spu-info.c: New file.
8033
8034 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8035
8036 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8037 tpcs_offset. Restore lr after the call.
8038 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8039
8040 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8041
8042 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8043 (gdbserver_run): Kill any running gdbserver.
8044 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8045
8046 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8047
8048 * gdb.base/sigbpt.exp: Preset segv_addr.
8049
8050 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8051
8052 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8053 (gdb_compile_shlib): Likewise.
8054 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8055 (default_gdb_init): Clear cleanfiles.
8056 (gdb_finish): Delete recorded cleanfiles.
8057 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8058
8059 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8060 Do not use isnative.
8061 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8062 gdb.base/so-impl-ld.exp: Likewise.
8063 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8064 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8065 gdb_compile.
8066
8067 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8068
8069 * config/unknown.exp: Remove.
8070
8071 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8072
8073 * gdb.base/info-proc.exp: Check is_remote.
8074
8075 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8076
8077 * gdb.base/gcore.exp: Initialize variable core_supported.
8078
8079 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8080
8081 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8082
8083 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8084
8085 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8086 * gdb.threads/print-threads.exp (test_all_threads): Allow
8087 negative and hexadecimal thread IDs.
8088
8089 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8090
8091 * gdb.java/jprint.java (public): Avoid invalid call to static
8092 method.
8093
8094 2007-05-14 Denis Pilat <denis.pilat@st.com>
8095
8096 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8097 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8098 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8099 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8100 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8101
8102 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8103
8104 * gdb.base/overlays.exp: Add support for targets with only code
8105 overlay support, not data overlay. Support spu-*-* target in
8106 this mode.
8107 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8108 * gdb.base/spu.ld: New file.
8109
8110 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8111
8112 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8113
8114 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8115
8116 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8117
8118 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8119
8120 * gdb.java/jmain.exp: Handle demangled names with and without method
8121 signatures.
8122
8123 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8124
8125 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8126 (have_a_very_merry_interrupt): Remove calls to puts.
8127 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8128 inferior output.
8129 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8130 test names.
8131
8132 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8133 Daniel Jacobowitz <dan@codesourcery.com>
8134
8135 * gdb.base/auxv.exp (core_works): Also check is_remote.
8136 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8137
8138 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8139
8140 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8141 message, not the undefined 'module' variable.
8142 * gdb.base/siginfo.exp: Likewise.
8143 * gdb.base/sigstep.exp: Likewise.
8144 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8145 serialport.
8146 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8147
8148 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8149
8150 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8151 target sim fails. Return 0 otherwise.
8152 (gdb_load): Return prematurely if gdb_target_sim fails.
8153
8154 2007-04-16 Denis Pilat <denis.pilat@st.com>
8155
8156 * gdb.base/setshow.exp: Reset height after having set it to 100.
8157
8158 2007-04-16 Denis Pilat <denis.pilat@st.com>
8159
8160 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8161
8162 2007-04-16 Denis Pilat <denis.pilat@st.com>
8163
8164 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8165
8166 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8167
8168 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8169 tests. Run the frozen varobjs test.
8170 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8171 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8172
8173 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8174
8175 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8176 gdb.base/type-opaque.exp: New files.
8177
8178 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8179
8180 * gdb.mi/mi-var-child.c
8181 (do_children_tests): User char[2] instead of
8182 char so that automatic printing of pointers to char
8183 don't give unpredicable result.
8184 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8185 local variables.
8186 * gdb.mi/mi-var-child.exp: Step to right line
8187 of do_children_tests.
8188 * gdb.mi/mi2-var-child.exp: Likewise.
8189 * gdb.mi/mi-var-cmd.exp: Step to right line of
8190 do_locals_tests.
8191 (do_children_tests): User char[2] instead of
8192 char so that automatic printing of pointers to char
8193 don't give unpredicable result.
8194 * gdb.mi/mi2-var-cmd.exp: Likewise.
8195 * lib/mi-support.exp (mi_continue_to_line):
8196 Pass test name to mi_wait_for_stop.
8197
8198 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8199
8200 * gdb.asm/asm-source.exp: Remove d10v case.
8201 * lib/gdb.exp (skip_cplus_tests): Likewise.
8202 * gdb.asm/d10v.inc: Deleted.
8203
8204 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8205
8206 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8207
8208 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8209
8210 * config/netware.exp: Delete file.
8211
8212 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8213
8214 * gdb.dwarf2/dw2-noloc.S: New file.
8215 * gdb.dwarf2/dw2-noloc.exp: New file.
8216
8217 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8218
8219 * gdb.cp/method2.cc: New test.
8220 * gdb.cp/method2.exp: New test.
8221 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8222
8223 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8224
8225 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8226
8227 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8228
8229 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8230
8231 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8232
8233 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8234 (gdb_load): Delete, replace with...
8235 (gdb_reload): ...this.
8236 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8237 * gdb.server/server-mon.exp: Likewise.
8238 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8239 (gdb_start_cmd): New.
8240 (gdb_file_cmd): Save the last loaded file.
8241 (gdb_reload): New.
8242 (gdb_gnu_strip_debug): Use transform.
8243 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8244 support here. Use new $last_loaded_file. Check mtime.
8245 (gdb_target_cmd): Handle ObjC failure case.
8246 (infer_host_exec): Delete.
8247 (gdbserver_load): Rename to...
8248 (gdbserver_run): ...this. Simplify.
8249 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8250 (mi_gdb_load): Move most contents to a new function...
8251 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8252 (mi_run_cmd): Use mi_gdb_target_load.
8253 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8254 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8255 Use gdb_run_cmd.
8256 * gdb.base/charsign.exp: Remove incorrect comment.
8257 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8258 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8259 gdb.base/start.exp: Use gdb_start_cmd.
8260
8261 2007-03-23 Nigel Stephens <nigel@mips.com>
8262 Maciej W. Rozycki <macro@mips.com>
8263
8264 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8265 * gdb.base/signull.exp: Similarly.
8266
8267 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8268
8269 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8270 messages available to test cases (like chng-sym.exp).
8271
8272 2007-03-14 Andreas Schwab <schwab@suse.de>
8273
8274 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8275 format changes.
8276
8277 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8278
8279 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8280 (optimized_1): New.
8281 (main): Call optimized_1.
8282 (gdb2029): Correct typos. Call gdb2029_marker.
8283 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8284 for gdb2029.
8285
8286 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8287
8288 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8289 as tabs. Remove redundant test pattern.
8290
8291 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8292
8293 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8294 for /a format output.
8295
8296 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8297
8298 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8299 collect output incrementally.
8300
8301 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8302
8303 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8304 for -var-create lpcharacter test.
8305 * gdb.mi/mi2-var-cmd.exp: Likewise.
8306
8307 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8308
8309 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8310 pass on targets where address zero is readable.
8311
8312 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8313
8314 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8315 just a single architecture.
8316
8317 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8318
8319 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8320 (fetch_all_registers): New function, uses gdb_test_multiple and
8321 exp_continue to fetch inferior output line-by-line.
8322 Replace all uses of do_get_all_registers by fetch_all_registers.
8323
8324 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8325
8326 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8327 in target_info.
8328
8329 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8330
8331 * gdb.threads/manythreads.exp: Use $message string for
8332 consistancy; add a default (timeout) case.
8333
8334 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8335
8336 * gdb.base/watchpoint.exp: Fix truncated comment.
8337
8338 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8339
8340 * Makefile.in: Remove spurious single-quotes from sed command.
8341
8342 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8343
8344 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8345 func.
8346 * gdb.mi/mi2-var-cmd.exp: Likewise.
8347
8348 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8349
8350 * gdb.dwarf2/dw2-producer.S: New file.
8351 * gdb.dwarf2/dw2-producer.exp: New testcase.
8352
8353 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8354
8355 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8356 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8357 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8358 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8359 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8360 Revert tests to use mi_gdb_test and include value field in output
8361 of -var-create.
8362
8363 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8364
8365 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8366
8367 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8368
8369 * gdb.base/maint.exp: Remove full paths from test names.
8370 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8371 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8372
8373 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8374
8375 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8376
8377 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8378
8379 * gdb.server/server-mon.exp: New test.
8380
8381 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8382
8383 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8384
8385 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8386
8387 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8388 register capitalization.
8389
8390 2007-02-13 Denis Pilat <denis.pilat@st.com>
8391
8392 * gdb.mi/mi-var-invalidate.exp: New file.
8393
8394 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8395
8396 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8397
8398 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8399
8400 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8401
8402 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8403
8404 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8405 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8406
8407 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8408
8409 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8410 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8411 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8412 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8413 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8414 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8415 Update tests to include value field in output of -var-create.
8416
8417 2007-02-08 Andreas Schwab <schwab@suse.de>
8418
8419 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8420
8421 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8422
8423 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8424 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8425
8426 2007-02-02 Denis Pilat <denis.pilat@st.com>
8427
8428 * gdb.threads/threadapply.exp: check that frame is not changed by
8429 the thread apply all command.
8430
8431 2007-01-31 Andreas Schwab <schwab@suse.de>
8432
8433 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8434
8435 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8436 in the dwarf sections.
8437 * gdb.dwarf2/mac-fileno.S: Likewise.
8438
8439 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8440 bspstore register on ia64.
8441
8442 2007-01-29 Andreas Schwab <schwab@suse.de>
8443
8444 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8445 "frame-begin" annotation.
8446
8447 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8448 number of "frames-invalid" annotations.
8449
8450 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8451
8452 * gdb.base/commands.exp: Call if_commands_test.
8453 (gdb_test_no_prompt, if_commands_test): New.
8454
8455 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8456
8457 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8458
8459 2007-01-27 Andreas Schwab <schwab@suse.de>
8460
8461 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8462 .short/.int/.quad in the dwarf sections.
8463 * gdb.dwarf2/dw2-intercu.S: Likewise.
8464 * gdb.dwarf2/dw2-intermix.S: Likewise.
8465
8466 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8467
8468 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8469 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8470 array.
8471 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8472 * gdb.base/setvar.exp: Likewise.
8473
8474 2007-01-26 Andreas Schwab <schwab@suse.de>
8475
8476 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8477 test.
8478
8479 * gdb.base/multi-forks.exp ("restart $i"): Also match
8480 __kernel_syscall_via_break.
8481
8482 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8483
8484 * lib/mi-support.exp (mi_delete_varobj): New.
8485 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8486 testcase.
8487 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8488 (main): Call the above.
8489 (reference_update_test, base_in_reference_test)
8490 (reference_to_pointer): Delete the created varobjs.
8491
8492 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8493
8494 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8495 * configure: Regenerated.
8496 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8497 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8498 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8499 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8500 * lib/gdb.exp (gdb_skip_xml_test): New function.
8501
8502 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8503
8504 * gdb.base/sigrepeat.exp: Correct error message.
8505
8506 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8507 Daniel Jacobowitz <dan@codesourcery.com>
8508
8509 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8510 gdb.arch/i386-gnu-cfi-asm.S: New files.
8511
8512 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8513
8514 * lib/gdb.exp: Abort on missing `site.exp'.
8515
8516 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8517 Daniel Jacobowitz <dan@codesourcery.com>
8518
8519 * gdb.base/included.c, gdb.base/included.exp,
8520 gdb.base/included.h: New files.
8521
8522 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8523
8524 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8525 (maximize_rlimit): Reduce limits on 64-bit systems.
8526
8527 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8528
8529 From Marcus Deuling <deuling@de.ibm.com>:
8530 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8531 every case.
8532
8533 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8534
8535 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8536 (test_path_specification): Use objdir instead of srcdir to always
8537 get an absolute filename.
8538
8539 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8540
8541 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8542
8543 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8544
8545 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8546 Make sure the variable we're using is in scope.
8547 (reference_to_pointer): Likewise.
8548
8549 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8550
8551 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8552 has no debug information.
8553
8554 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8555
8556 * gdb.base/annota1.exp: Remove extra send_gdb.
8557
8558 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8559
8560 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8561
8562 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8563
8564 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8565
8566 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8567 Daniel Jacobowitz <dan@codesourcery.com>
8568
8569 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8570 lcharacter or linteger change. Correct duplicated test name.
8571 * gdb.mi/mi2-var-cmd.exp: Likewise.
8572
8573 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8574
8575 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8576
8577 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8578
8579 * gdb.base/nofield.c: New file.
8580 * gdb.base/nofield.exp: New testcase.
8581
8582 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8583
8584 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8585
8586 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8587 test.
8588
8589 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8590
8591 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8592
8593 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8594
8595 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8596 when continuing.
8597
8598 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8599
8600 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8601 Expect ".exe" extension.
8602
8603 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8604
8605 * gdb.base/charset.exp: Add explicit filename to break.
8606 * gdb.base/dbx.exp: Add explicit filename to breaks.
8607
8608 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8609
8610 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8611 * gdb.mi/mi2-file.exp: Likewise.
8612
8613 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8614
8615 Implement specification of MI tests as comments
8616 in C and C++ sources.
8617 * lib/mi-support.exp (mi_autotest_data): New variable.
8618 (mi_autotest_source): New variable.
8619 (count_newlines, mi_prepare_inline_tests)
8620 (mi_get_inline_test, mi_continue_to_line)
8621 (mi_run_inline_test, mi_tbreak)
8622 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8623 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8624 Run inline tests.
8625 * gdb.mi/mi-var-cp.cc: Define tests here.
8626
8627 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8628
8629 Simplify usage of mi_continue_to.
8630 * lib/mi-support.exp (mi_runto_helper): Renamed
8631 from mi_runto, added new parameter 'run_or_continue'.
8632 (mi_runto): Use mi_runto_helper.
8633 (mi_continue_to): Accept just function name as parameter.
8634 Use mi_runto_helper.
8635 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8636 * gdb.mi/mi2-var-cmd.exp: Likewise.
8637
8638 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8639
8640 Make this testcase a bit more realistic. The current code
8641 is too simplistic, and allows the compiler to optimize out
8642 some of the entities we need for this testcase.
8643 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8644 (Do_Nothing): Add extra parameter.
8645 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8646 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8647 by using a variable of type Void_Star.
8648
8649 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8650
8651 * gdb.ada/catch_ex/foo.adb: New file.
8652 * gdb.ada/catch_ex.exp: New testcase.
8653
8654 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8655
8656 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8657 pass --image-base to linker.
8658
8659 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8660 Daniel Jacobowitz <dan@codesourcery.com>
8661
8662 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8663 secondary prompts.
8664
8665 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8666
8667 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8668 output. Test the types of members and member pointers.
8669 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8670 gdb/2092.
8671 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8672 statement. Enable for GCC. Update expected output for some tests
8673 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8674 layout.
8675 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8676 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8677 (Diamond::vget_base): New.
8678 (main): Add new tests.
8679 * gdb.cp/printmethod.exp: Update expected output for member functions.
8680 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8681 print pEe->D::vg().
8682
8683 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8684
8685 * gdb.threads/tls.exp: Allow stops in sem_post.
8686
8687 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8688
8689 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8690 * gdb.base/annota3.exp: Likewise.
8691 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8692 again (instead of timing out).
8693 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8694 GCC bug 26475.
8695 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8696 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8697 test from jmisc1.exp.
8698 * gdb.java/jmisc1.exp: Delete.
8699 * gdb.java/jprint.exp: Adjust to work with method signatures including
8700 return types.
8701 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8702 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8703 * lib/java.exp (compile_java_from_source): Pass the correct type
8704 to target_compile.
8705
8706 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8707
8708 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8709 (stack_align_edx): New function.
8710 (stack_align_eax): New function.
8711 (main): Add calls to stack_align_edx and stack_align_eax.
8712 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8713 Add testing for the cases where the register used during a stack
8714 realignment is edx. Same for eax.
8715
8716 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8717
8718 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8719 and generic PE targets.
8720
8721 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8722
8723 * gdb.ada/array_return.exp: Update copyright date list.
8724
8725 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8726
8727 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8728 (Create_Small_Float_Vector): New function.
8729 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8730 function body.
8731 * gdb.ada/array_return/p.adb: Use new type and function from
8732 package Pck.
8733 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8734 able to print the value returned by a function returning an
8735 array of float.
8736
8737 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8738
8739 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8740 The associated tests should be PASSing.
8741
8742 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8743
8744 Test for base in references.
8745 * gdb.mi/mi-var-cp.cc: Add test code.
8746 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8747 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8748 * gdb.mi/mi2-watch.exp: Likewise.
8749 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8750 (mi_list_varobj_children): New function.
8751
8752 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8753
8754 * lib/mi-support.exp
8755 (mi_runto): Accept "()" after function name.
8756 (mi_create_varobj): New function.
8757 (mi_varobj_update): New function.
8758 (mi_Check_varobj_value): New function.
8759 * gdb.mi/mi-var-cp.exp: New file.
8760 * gdb.mi/mi-var-cp.cc: New file.
8761
8762 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8763
8764 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8765 gdb.base/weaklib2.c: New files.
8766
8767 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8768
8769 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8770 info. Adjust test names.
8771
8772 * gdb.base/break.c (main): Move position of malloc.
8773 * gdb.base/break.exp: Revert mistaken checkin.
8774
8775 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8776
8777 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8778 assignement of arrays and function pointers.
8779 * gdb.mi/var-cmd.c: Add declaration necessary for above
8780 tests.
8781
8782 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8783
8784 * gdb.base/break.c (main): Call malloc.
8785
8786 * gdb.threads/linux-dp.exp: Read thread table before and after
8787 creating each philosopher and verify it.
8788
8789 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8790 Paul Brook <paul@codesourcery.com>
8791 Daniel Jacobowitz <dan@codesourcery.com>
8792
8793 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8794 main to remove duplication. Add start function of the form
8795 '_*start[1-9]*'. Add RVDS start function.
8796
8797 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8798
8799 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8800
8801 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8802
8803 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8804 * gdb.asm/spu.inc: New file.
8805 * gdb.base/term.exp: Disable if [target_info exists noargs].
8806 * gdb.gdb/complaints.exp: Disable if ![isnative].
8807 * gdb.gdb/selftest.exp: Likewise.
8808 * gdb.gdb/observer.exp: Likewise.
8809 * gdb.gdb/xfullpath.exp: Likewise.
8810 * gdb.base/attach.exp: Disable on SPU target.
8811 * gdb.cp/bs145503.exp: Likewise.
8812 * gdb.cp/exception.exp: Likewise.
8813 * gdb.cp/userdef.exp: Likewise.
8814
8815 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8816
8817 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8818
8819 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8820
8821 * gdb.base/completion.exp: Fix completion tests for
8822 'info' and 'info '.
8823 * gdb.base/help.exp (help_test_raw, test_class_help)
8824 (test_prefix_command_help): Move...
8825 * lib/gdb.exp: Here.
8826 * gdb.base/main.exp: Adjust.
8827 * gdb.cp/maint.exp: Adjust.
8828 * gdb.trace/tracecmd.exp: Use test_help_class.
8829
8830 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8831
8832 * gdb.stabs/weird.exp (print_weird_var): Use
8833 gdb_test_multiple instead of gdb_expect.
8834
8835 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8836
8837 * gdb.base/help.exp (help_test_raw): New.
8838 (test_class_help): New.
8839 (test_prefix_command_help): New.
8840 Adjust testcases.
8841
8842 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8843
8844 * gdb.base/constvars.c (main): Write to crass and crips, so that
8845 they are allocated by the compiler.
8846
8847 2006-10-27 Andreas Schwab <schwab@suse.de>
8848
8849 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8850 "detach-fork".
8851
8852 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8853
8854 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8855 of patterns.
8856
8857 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8858
8859 * gdb.base/sepdebug.exp: Remove debug format test.
8860 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8861 Handle no-symtab.
8862 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8863
8864 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8865
8866 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8867 int to pointer or pointer to int.
8868 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8869
8870 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8871
8872 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8873
8874 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8875
8876 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8877
8878 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8879
8880 PR c++/2116
8881 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8882
8883 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8884
8885 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8886 the corresponding bug has been fixed in GDB (PR/2018).
8887
8888 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8889
8890 * gdb.base/subst.exp: New testcase.
8891
8892 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8893
8894 * gdb.ada/array_return/pck.ads: Add copyright notice.
8895 * gdb.ada/array_return/pck.adb: Likewise.
8896 * gdb.ada/array_return/p.adb: Likewise.
8897 * gdb.ada/exec_changed/first.adb: Likewise.
8898 * gdb.ada/exec_changed/second.adb: Likewise.
8899
8900 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8901
8902 * gdb.ada/watch_arg/watch.adb: New file.
8903 * gdb.ada/watch_arg.exp: New testcase.
8904
8905 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8906
8907 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8908 via string_to_regexp.
8909 * gdb.mi/mi2-basics.exp: Likewise.
8910
8911 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8912
8913 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8914 Remove unused / obsolete files.
8915
8916 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8917
8918 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8919
8920 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8921
8922 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8923 HIGH_FRAME argument to -stack-list-arguments can be larger than
8924 the number of frames.
8925
8926 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8927
8928 * gdb.base/args.c (main): Add breakpoint marker.
8929 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8930 really test empty arguments.
8931 (args_load): Delete.
8932 (args_test): New.
8933
8934 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
8935
8936 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
8937 check for one file.
8938
8939 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8940
8941 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8942 HIGH_FRAME argument to -stack-list-locals can be larger than
8943 the number of frames.
8944
8945 2006-08-18 Fred Fish <fnf@specifix.com>
8946
8947 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8948 '$' in front of skip_vmx_tests_saved when setting that.
8949
8950 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8951
8952 * gdb.base/trace-commands.exp: New file.
8953
8954 2006-08-10 Joel Brobecker <brobecker@adacore.com>
8955 Daniel Jacobowitz <dan@codesourcery.com>
8956
8957 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8958 expected output of the backtrace commands.
8959
8960 2006-08-09 Joel Brobecker <brobecker@adacore.com>
8961
8962 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8963 untested followed by return combination.
8964 * gdb.arch/altivec-regs.exp: Likewise.
8965 * gdb.arch/e500-abi.exp: Likewise.
8966 * gdb.arch/e500-regs.exp: Likewise.
8967 * gdb.arch/gdb1291.exp: Likewise.
8968 * gdb.arch/gdb1431.exp: Likewise.
8969 * gdb.arch/gdb1558.exp: Likewise.
8970 * gdb.arch/i386-prologue.exp: Likewise.
8971 * gdb.arch/i386-unwind.exp: Likewise.
8972 * gdb.asm/asm-source.exp: Likewise.
8973 * gdb.base/a2-run.exp: Likewise.
8974 * gdb.base/advance.exp: Likewise.
8975 * gdb.base/all-bin.exp: Likewise.
8976 * gdb.base/annota1.exp: Likewise.
8977 * gdb.base/annota3.exp: Likewise.
8978 * gdb.base/args.exp: Likewise.
8979 * gdb.base/arithmet.exp: Likewise.
8980 * gdb.base/assign.exp: Likewise.
8981 * gdb.base/async.exp: Likewise.
8982 * gdb.base/attach.exp: Likewise.
8983 * gdb.base/bang.exp: Likewise.
8984 * gdb.base/bigcore.exp: Likewise.
8985 * gdb.base/bitfields.exp: Likewise.
8986 * gdb.base/bitfields2.exp: Likewise.
8987 * gdb.base/break.exp: Likewise.
8988 * gdb.base/call-sc.exp: Likewise.
8989 * gdb.base/call-strs.exp: Likewise.
8990 * gdb.base/callfuncs.exp: Likewise.
8991 * gdb.base/checkpoint.exp: Likewise.
8992 * gdb.base/chng-syms.exp: Likewise.
8993 * gdb.base/code-expr.exp: Likewise.
8994 * gdb.base/commands.exp: Likewise.
8995 * gdb.base/completion.exp: Likewise.
8996 * gdb.base/cond-expr.exp: Likewise.
8997 * gdb.base/condbreak.exp: Likewise.
8998 * gdb.base/consecutive.exp: Likewise.
8999 * gdb.base/constvars.exp: Likewise.
9000 * gdb.base/corefile.exp: Likewise.
9001 * gdb.base/cvexpr.exp: Likewise.
9002 * gdb.base/dbx.exp: Likewise.
9003 * gdb.base/define.exp: Likewise.
9004 * gdb.base/detach.exp: Likewise.
9005 * gdb.base/display.exp: Likewise.
9006 * gdb.base/dump.exp: Likewise.
9007 * gdb.base/ena-dis-br.exp: Likewise.
9008 * gdb.base/ending-run.exp: Likewise.
9009 * gdb.base/environ.exp: Likewise.
9010 * gdb.base/eval-skip.exp: Likewise.
9011 * gdb.base/exprs.exp: Likewise.
9012 * gdb.base/fileio.exp: Likewise.
9013 * gdb.base/finish.exp: Likewise.
9014 * gdb.base/float.exp: Likewise.
9015 * gdb.base/foll-exec.exp: Likewise.
9016 * gdb.base/foll-fork.exp: Likewise.
9017 * gdb.base/foll-vfork.exp: Likewise.
9018 * gdb.base/freebpcmd.exp: Likewise.
9019 * gdb.base/funcargs.exp: Likewise.
9020 * gdb.base/gcore.exp: Likewise.
9021 * gdb.base/gdb1090.exp: Likewise.
9022 * gdb.base/gdb1250.exp: Likewise.
9023 * gdb.base/huge.exp: Likewise.
9024 * gdb.base/info-proc.exp: Likewise.
9025 * gdb.base/interrupt.exp: Likewise.
9026 * gdb.base/jump.exp: Likewise.
9027 * gdb.base/langs.exp: Likewise.
9028 * gdb.base/lineinc.exp: Likewise.
9029 * gdb.base/list.exp: Likewise.
9030 * gdb.base/logical.exp: Likewise.
9031 * gdb.base/long_long.exp: Likewise.
9032 * gdb.base/macscp.exp: Likewise.
9033 * gdb.base/maint.exp: Likewise.
9034 * gdb.base/mips_pro.exp: Likewise.
9035 * gdb.base/miscexprs.exp: Likewise.
9036 * gdb.base/multi-forks.exp: Likewise.
9037 * gdb.base/opaque.exp: Likewise.
9038 * gdb.base/overlays.exp: Likewise.
9039 * gdb.base/pc-fp.exp: Likewise.
9040 * gdb.base/pointers.exp: Likewise.
9041 * gdb.base/printcmds.exp: Likewise.
9042 * gdb.base/psymtab.exp: Likewise.
9043 * gdb.base/ptype.exp: Likewise.
9044 * gdb.base/recurse.exp: Likewise.
9045 * gdb.base/relational.exp: Likewise.
9046 * gdb.base/relocate.exp: Likewise.
9047 * gdb.base/remote.exp: Likewise.
9048 * gdb.base/reread.exp: Likewise.
9049 * gdb.base/restore.exp: Likewise.
9050 * gdb.base/return.exp: Likewise.
9051 * gdb.base/return2.exp: Likewise.
9052 * gdb.base/scope.exp: Likewise.
9053 * gdb.base/sect-cmd.exp: Likewise.
9054 * gdb.base/sep.exp: Likewise.
9055 * gdb.base/sepdebug.exp: Likewise.
9056 * gdb.base/setshow.exp: Likewise.
9057 * gdb.base/setvar.exp: Likewise.
9058 * gdb.base/sigall.exp: Likewise.
9059 * gdb.base/sigbpt.exp: Likewise.
9060 * gdb.base/signals.exp: Likewise.
9061 * gdb.base/signull.exp: Likewise.
9062 * gdb.base/sizeof.exp: Likewise.
9063 * gdb.base/solib.exp: Likewise.
9064 * gdb.base/step-line.exp: Likewise.
9065 * gdb.base/step-test.exp: Likewise.
9066 * gdb.base/structs.exp: Likewise.
9067 * gdb.base/structs2.exp: Likewise.
9068 * gdb.base/term.exp: Likewise.
9069 * gdb.base/twice.exp: Likewise.
9070 * gdb.base/until.exp: Likewise.
9071 * gdb.base/varargs.exp: Likewise.
9072 * gdb.base/volatile.exp: Likewise.
9073 * gdb.base/watchpoint.exp: Likewise.
9074 * gdb.base/whatis-exp.exp: Likewise.
9075 * gdb.base/whatis.exp: Likewise.
9076 * gdb.cp/ambiguous.exp: Likewise.
9077 * gdb.cp/annota2.exp: Likewise.
9078 * gdb.cp/annota3.exp: Likewise.
9079 * gdb.cp/bool.exp: Likewise.
9080 * gdb.cp/breakpoint.exp: Likewise.
9081 * gdb.cp/casts.exp: Likewise.
9082 * gdb.cp/class2.exp: Likewise.
9083 * gdb.cp/classes.exp: Likewise.
9084 * gdb.cp/cplusfuncs.exp: Likewise.
9085 * gdb.cp/ctti.exp: Likewise.
9086 * gdb.cp/derivation.exp: Likewise.
9087 * gdb.cp/exception.exp: Likewise.
9088 * gdb.cp/gdb1355.exp: Likewise.
9089 * gdb.cp/hang.exp: Likewise.
9090 * gdb.cp/inherit.exp: Likewise.
9091 * gdb.cp/local.exp: Likewise.
9092 * gdb.cp/m-data.exp: Likewise.
9093 * gdb.cp/m-static.exp: Likewise.
9094 * gdb.cp/member-ptr.exp: Likewise.
9095 * gdb.cp/method.exp: Likewise.
9096 * gdb.cp/misc.exp: Likewise.
9097 * gdb.cp/namespace.exp: Likewise.
9098 * gdb.cp/overload.exp: Likewise.
9099 * gdb.cp/ovldbreak.exp: Likewise.
9100 * gdb.cp/pr-1023.exp: Likewise.
9101 * gdb.cp/pr-1210.exp: Likewise.
9102 * gdb.cp/pr-574.exp: Likewise.
9103 * gdb.cp/printmethod.exp: Likewise.
9104 * gdb.cp/psmang.exp: Likewise.
9105 * gdb.cp/ref-params.exp: Likewise.
9106 * gdb.cp/ref-types.exp: Likewise.
9107 * gdb.cp/rtti.exp: Likewise.
9108 * gdb.cp/templates.exp: Likewise.
9109 * gdb.cp/try_catch.exp: Likewise.
9110 * gdb.cp/userdef.exp: Likewise.
9111 * gdb.cp/virtfunc.exp: Likewise.
9112 * gdb.disasm/am33.exp: Likewise.
9113 * gdb.disasm/h8300s.exp: Likewise.
9114 * gdb.disasm/mn10300.exp: Likewise.
9115 * gdb.disasm/sh3.exp: Likewise.
9116 * gdb.disasm/t01_mov.exp: Likewise.
9117 * gdb.disasm/t02_mova.exp: Likewise.
9118 * gdb.disasm/t03_add.exp: Likewise.
9119 * gdb.disasm/t04_sub.exp: Likewise.
9120 * gdb.disasm/t05_cmp.exp: Likewise.
9121 * gdb.disasm/t06_ari2.exp: Likewise.
9122 * gdb.disasm/t07_ari3.exp: Likewise.
9123 * gdb.disasm/t08_or.exp: Likewise.
9124 * gdb.disasm/t09_xor.exp: Likewise.
9125 * gdb.disasm/t10_and.exp: Likewise.
9126 * gdb.disasm/t11_logs.exp: Likewise.
9127 * gdb.disasm/t12_bit.exp: Likewise.
9128 * gdb.disasm/t13_otr.exp: Likewise.
9129 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9130 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9131 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9132 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9133 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9134 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9135 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9136 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9137 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9138 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9139 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9140 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9141 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9142 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9143 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9144 * gdb.mi/gdb701.exp: Likewise.
9145 * gdb.mi/gdb792.exp: Likewise.
9146 * gdb.mi/mi-basics.exp: Likewise.
9147 * gdb.mi/mi-break.exp: Likewise.
9148 * gdb.mi/mi-cli.exp: Likewise.
9149 * gdb.mi/mi-console.exp: Likewise.
9150 * gdb.mi/mi-disassemble.exp: Likewise.
9151 * gdb.mi/mi-eval.exp: Likewise.
9152 * gdb.mi/mi-file.exp: Likewise.
9153 * gdb.mi/mi-read-memory.exp: Likewise.
9154 * gdb.mi/mi-regs.exp: Likewise.
9155 * gdb.mi/mi-return.exp: Likewise.
9156 * gdb.mi/mi-simplerun.exp: Likewise.
9157 * gdb.mi/mi-stack.exp: Likewise.
9158 * gdb.mi/mi-stepi.exp: Likewise.
9159 * gdb.mi/mi-syn-frame.exp: Likewise.
9160 * gdb.mi/mi-until.exp: Likewise.
9161 * gdb.mi/mi-var-block.exp: Likewise.
9162 * gdb.mi/mi-var-child.exp: Likewise.
9163 * gdb.mi/mi-var-cmd.exp: Likewise.
9164 * gdb.mi/mi-var-display.exp: Likewise.
9165 * gdb.mi/mi-watch.exp: Likewise.
9166 * gdb.mi/mi2-basics.exp: Likewise.
9167 * gdb.mi/mi2-break.exp: Likewise.
9168 * gdb.mi/mi2-cli.exp: Likewise.
9169 * gdb.mi/mi2-console.exp: Likewise.
9170 * gdb.mi/mi2-disassemble.exp: Likewise.
9171 * gdb.mi/mi2-eval.exp: Likewise.
9172 * gdb.mi/mi2-file.exp: Likewise.
9173 * gdb.mi/mi2-read-memory.exp: Likewise.
9174 * gdb.mi/mi2-regs.exp: Likewise.
9175 * gdb.mi/mi2-return.exp: Likewise.
9176 * gdb.mi/mi2-simplerun.exp: Likewise.
9177 * gdb.mi/mi2-stack.exp: Likewise.
9178 * gdb.mi/mi2-stepi.exp: Likewise.
9179 * gdb.mi/mi2-syn-frame.exp: Likewise.
9180 * gdb.mi/mi2-until.exp: Likewise.
9181 * gdb.mi/mi2-var-block.exp: Likewise.
9182 * gdb.mi/mi2-var-child.exp: Likewise.
9183 * gdb.mi/mi2-var-cmd.exp: Likewise.
9184 * gdb.mi/mi2-var-display.exp: Likewise.
9185 * gdb.mi/mi2-watch.exp: Likewise.
9186 * gdb.stabs/exclfwd.exp: Likewise.
9187 * gdb.stabs/weird.exp: Likewise.
9188 * gdb.threads/gcore-thread.exp: Likewise.
9189 * gdb.trace/actions.exp: Likewise.
9190 * gdb.trace/backtrace.exp: Likewise.
9191 * gdb.trace/circ.exp: Likewise.
9192 * gdb.trace/collection.exp: Likewise.
9193 * gdb.trace/deltrace.exp: Likewise.
9194 * gdb.trace/infotrace.exp: Likewise.
9195 * gdb.trace/limits.exp: Likewise.
9196 * gdb.trace/packetlen.exp: Likewise.
9197 * gdb.trace/passc-dyn.exp: Likewise.
9198 * gdb.trace/passcount.exp: Likewise.
9199 * gdb.trace/report.exp: Likewise.
9200 * gdb.trace/save-trace.exp: Likewise.
9201 * gdb.trace/tfind.exp: Likewise.
9202 * gdb.trace/tracecmd.exp: Likewise.
9203 * gdb.trace/while-dyn.exp: Likewise.
9204 * gdb.trace/while-stepping.exp: Likewise.
9205
9206 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9207
9208 * gdb.base/step-bt.c: New file.
9209 * gdb.base/step-bt.exp: New testcase.
9210
9211 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9212
9213 * config/monitor.exp (gdb_load): Remove support for obsolete
9214 download-write-size.
9215 * gdb.base/remote.exp: Likewise. Update all callers of
9216 gdb_timed_load.
9217
9218 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9219
9220 * cursal.exp: Pass binfile to gdb_load.
9221
9222 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9223
9224 * gdb.base/cursal.exp: Add "" to gdb_load call.
9225
9226 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9227
9228 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9229 NetBSD/ELF targets.
9230
9231 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9232
9233 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9234 operator*.
9235
9236 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9237
9238 * gdb.base/completion.exp: Update for change in "file" behavior.
9239 * gdb.stabs/weird.exp: Likewise.
9240 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9241 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9242
9243 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9244
9245 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9246 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9247
9248 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9249
9250 * gdb.base/default.exp: Update source command error message.
9251 * gdb.base/help.exp: Update 'help source' message.
9252
9253 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9254
9255 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9256 test.
9257
9258 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9259
9260 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9261
9262 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9263
9264 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9265
9266 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9267
9268 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9269
9270 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9271
9272 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9273 *-*-openbsd* from targets for wich we expect ARM FPA floating
9274 point format.
9275
9276 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9277
9278 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9279
9280 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9281
9282 * gdb.base/annota3.exp: Expect frame-begin annotation.
9283
9284 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9285
9286 * gdb.base/help.exp: Adjust "help unset" test to accept
9287 any list of unset commands.
9288
9289 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9290 Daniel Jacobowitz <dan@codesourcery.com>
9291
9292 * gdb.cp/ref-params.exp: New test.
9293 * gdb.cp/ref-params.cc: New source file.
9294 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9295
9296 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9297
9298 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9299 spaces/tabs in regular expressions since they might not be there.
9300
9301 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9302
9303 * gdb.base/ifelse.exp: New file.
9304
9305 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9306
9307 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9308 line.
9309 * gdb.base/huge.exp: Loop over compilation to find a size that
9310 is acceptable.
9311 * gdb.base/remote.exp: Correct expected strings.
9312 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9313
9314 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9315
9316 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9317
9318 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9319
9320 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9321 native.
9322
9323 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9324
9325 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9326 enable stabs testing.
9327
9328 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9329
9330 * gdb.base/auxv.exp: Intercept undefined command messages before
9331 gdb_test_multiple does.
9332
9333 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9334
9335 * Makefile.in (host_alias): Remove.
9336 (target_alias): Use @target_noncanonical@.
9337 (site.exp): Don't set host_alias.
9338 * aclocal.m4: Remove contents. Include acx.m4.
9339 * configure: Regenerated.
9340 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9341
9342 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9343
9344 * lib/gdb.exp (gdb_load_cmd): New.
9345
9346 * gdb.base/fileio.c: Add system(NULL) test.
9347 * gdb.base/fileio.exp: Check it.
9348
9349 * gdb.base/break.c: Add 10a breakpoint at }
9350 * gdb.base/break.exp: Add test for breakpoint at }
9351 * gdb.cp/anon-union.cc: Add code at end of function.
9352 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9353 * gdb.mi/var-cmd.c: Add code at end of function.
9354 * gdb.mi/mi-var-display.exp: Adjust end of next.
9355 * gdb.mi/mi2-var-display.exp: Likewise.
9356 * gdb.base/fileio.c: Add stop function and insert calls at
9357 stopping places.
9358 * gdb.base/fileio.exp: Breakpoint stop function and remove
9359 explicit line number references.
9360
9361 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9362
9363 * gdb.base/del.exp (test_delete_alias): New function.
9364 Now check that both "del" and "d" work as aliases for "delete".
9365
9366 2006-05-18 Fred Fish <fnf@specifix.com>
9367
9368 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9369 required. Check for spurious output after program exits normally.
9370
9371 2006-05-17 Fred Fish <fnf@specifix.com>
9372
9373 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9374 gdb_load, so it works in the simulator.
9375
9376 2006-05-11 Fred Fish <fnf@specifix.com>
9377
9378 * gdb.base/bang.exp: Ignore unexpected output between the
9379 "program exited normally" and the gdb prompt, as many other
9380 tests do.
9381
9382 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9383
9384 * gdb.base/help.exp: Make "delete checkpoint" part option for
9385 "help d" and "help delete" tests.
9386
9387 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9388
9389 * gdb.mi/mi-basics.exp: Add missing serial number to
9390 expected output in some mi_gdb_test statements.
9391 * gdb.mi/mi2-basics.exp: Likewise.
9392
9393 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9394
9395 * gdb.base/del.c: New file.
9396 * gdb.base/del.exp: New testcase.
9397
9398 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9399
9400 * gdb.base/break.exp: Do not assume a breakpoint on
9401 main will actually be in $srcfile when optimizing.
9402 * gdb.base/savedregs.exp: Do not require that the dummy
9403 frame location match up to a symbol and source file location.
9404 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9405 will get printed without a mi_cmd_data_list_register_values prefix.
9406 (*-data-list-register-*): Correct regular expressions to expect the new
9407 pseudo d? floating point registers.
9408 * gdb.mi/mi2-regs.exp: Likewise.
9409
9410 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9411
9412 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9413 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9414 is allocated by the compiler.
9415 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9416 anons, e, anone to force their allocation by the compiler.
9417
9418 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9419
9420 * gdb.base/help.exp: Update expected text for help d and
9421 help delete.
9422
9423 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9424
9425 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9426 NetBSD/ELF targets.
9427
9428 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9429
9430 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9431 single-step breakpoint fails; make this a KFAIL on
9432 sparc*-*-openbsd*.
9433 * gdb.base/siginfo.exp: Likewise.
9434 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9435
9436 2006-04-26 Michael Snyder <msnyder@redhat.com>
9437
9438 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9439 which may have to consume output from other forks.
9440 Add tests to make sure that "delete fork" succeeded.
9441
9442 2006-04-20 Michael Snyder <msnyder@redhat.com>
9443
9444 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9445 Add support for the Renesas M32C and M16C.
9446
9447 * gdb.asm/asm-source.exp: Add m32c target.
9448 * gdb.asm/m32c.inc: Support for m32c target.
9449
9450 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9451
9452 * gdb.base/commands.exp (recursive_source_test): New test.
9453
9454 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9455
9456 * gdb.base/float.exp: Add pattern for sparc targets.
9457
9458 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9459
9460 * gdb.base/commands.exp (stray_arg0_test): New test.
9461
9462 2006-03-30 Paul Brook <paul@codesourcery.com>
9463
9464 * gdb.mi/mi-until.exp: kfail broken until command.
9465 * gdb.mi/mi2-until.exp: Ditto.
9466
9467 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9468
9469 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9470
9471 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9472
9473 * gdb.base/prelink.exp: Anchor tested-for regular expression
9474 on gdb prompt.
9475
9476 2006-03-07 Paul Brook <paul@codesourcery.com>
9477
9478 * gdb.base/assign.exp: Correct fail message.
9479
9480 2006-03-07 Paul Brook <paul@codesourcery.com>
9481
9482 * lib/compiler.c: Extract armcc version number.
9483 * lib/compiler.cc: Ditto.
9484
9485 2006-03-07 Paul Brook <paul@codesourcery.com>
9486
9487 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9488 additional_flags=-w.
9489 * gdb.arch/altivec-regs.exp: Ditto.
9490 * gdb.arch/e500-abi.exp: Ditto.
9491 * gdb.arch/e500-regs.exp: Ditto.
9492 * gdb.base/all-bin.exp: Ditto.
9493 * gdb.base/annota1.exp: Ditto.
9494 * gdb.base/annota3.exp: Ditto.
9495 * gdb.base/args.exp: Ditto.
9496 * gdb.base/arithmet.exp: Ditto.
9497 * gdb.base/assign.exp: Ditto.
9498 * gdb.base/async.exp: Ditto.
9499 * gdb.base/bang.exp: Ditto.
9500 * gdb.base/break.exp: Ditto.
9501 * gdb.base/call-rt-st.exp: Ditto.
9502 * gdb.base/completion.exp: Ditto.
9503 * gdb.base/cond-expr.exp: Ditto.
9504 * gdb.base/condbreak.exp: Ditto.
9505 * gdb.base/consecutive.exp: Ditto.
9506 * gdb.base/define.exp: Ditto.
9507 * gdb.base/display.exp: Ditto.
9508 * gdb.base/ena-dis-br.exp: Ditto.
9509 * gdb.base/environ.exp: Ditto.
9510 * gdb.base/eval-skip.exp: Ditto.
9511 * gdb.base/info-proc.exp: Ditto.
9512 * gdb.base/jump.exp: Ditto.
9513 * gdb.base/logical.exp: Ditto.
9514 * gdb.base/long_long.exp: Ditto.
9515 * gdb.base/maint.exp: Ditto.
9516 * gdb.base/miscexprs.exp: Ditto.
9517 * gdb.base/pc-fp.exp: Ditto.
9518 * gdb.base/pointers.exp: Ditto.
9519 * gdb.base/relational.exp: Ditto.
9520 * gdb.base/reread.exp: Ditto.
9521 * gdb.base/sect-cmd.exp: Ditto.
9522 * gdb.base/sep.exp: Ditto.
9523 * gdb.base/sepdebug.exp: Ditto.
9524 * gdb.base/until.exp: Ditto.
9525 * gdb.base/whatis-exp.exp: Ditto.
9526 * gdb.cp/annota2.exp: Ditto.
9527 * gdb.cp/annota3.exp: Ditto.
9528 * gdb.trace/actions.exp: Ditto.
9529 * gdb.trace/backtrace.exp: Ditto.
9530 * gdb.trace/circ.exp: Ditto.
9531 * gdb.trace/collection.exp: Ditto.
9532 * gdb.trace/deltrace.exp: Ditto.
9533 * gdb.trace/infotrace.exp: Ditto.
9534 * gdb.trace/limits.exp: Ditto.
9535 * gdb.trace/packetlen.exp: Ditto.
9536 * gdb.trace/passc-dyn.exp: Ditto.
9537 * gdb.trace/passcount.exp: Ditto.
9538 * gdb.trace/report.exp: Ditto.
9539 * gdb.trace/save-trace.exp: Ditto.
9540 * gdb.trace/tfind.exp: Ditto.
9541 * gdb.trace/tracecmd.exp: Ditto.
9542 * gdb.trace/while-dyn.exp: Ditto.
9543 * gdb.trace/while-stepping.exp: Ditto.
9544 * lib/gdb.exp: Ditto.
9545 (gdb_compile): Handle nowarning option.
9546
9547 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9548
9549 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9550 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9551 Rename executable to prelinkt. Don't re-prelink if we didn't
9552 get a core file. Test prelink -u exit status to tell whether
9553 prelinking failed. Use gdb_test_multiple.
9554
9555 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9556
9557 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9558 (do_tests): Call it.
9559
9560 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9561
9562 * gdb.base/prelink.exp: New test.
9563 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9564
9565 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9566
9567 * gdb.fortran/derived-type.f90: New file.
9568 * gdb.fortran/derived-type.exp: New testcase.
9569
9570 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9571
9572 * gdb.base/default.exp: Allow ';' as a directory separator.
9573
9574 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9575
9576 * gdb.base/help.exp (help add-symbol-file): Update.
9577
9578 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9579
9580 * gdb.base/help.exp (help load): Update expected results.
9581
9582 2006-02-19 Fred Fish <fnf@specifix.com>
9583
9584 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9585 specifix hex value as part of results.
9586 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9587
9588 2006-02-16 Fred Fish <fnf@specifix.com>
9589
9590 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9591 ushort_addr, and slong_addr, so the typedefs are not optimized
9592 away.
9593 * gdb.base/whatis.exp: Add tests using type name for struct type,
9594 union type, enum type, and typedef.
9595
9596 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9597
9598 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9599
9600 2006-02-13 Jim Blandy <jimb@redhat.com>
9601
9602 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9603 case where it takes two "next" commands to skip past the init
9604 call.
9605
9606 2006-02-12 Fred Fish <fnf@specifix.com>
9607
9608 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9609 to handle cases where it takes two "next" commands to skip
9610 past the init call.
9611
9612 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9613
9614 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9615 on hppa32 targets.
9616
9617 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9618
9619 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9620 field.
9621
9622 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9623
9624 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9625
9626 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9627
9628 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9629 files.
9630
9631 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9632
9633 * gdb.cp/maint.exp: Set complaints to a positive value.
9634
9635 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9636
9637 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9638 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9639 function name.
9640
9641 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9642
9643 * gdb.base/checkpoint.c: Update copyright notice. Include
9644 <stdlib.h>.
9645
9646 2006-01-04 Jim Blandy <jimb@redhat.com>
9647
9648 * gdb.asm/asm-source.exp: Independently provide default values for
9649 asm-flags and debug-flags. Use 'string equal' to do the
9650 comparison, not the implicit expr's '==' operator. Remove
9651 now-unneeded assignments to asm-flags. In h8300 case, place
9652 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9653
9654 2006-01-04 Michael Snyder <msnyder@redhat.com>
9655
9656 * gdb.base/checkpoint.c: New file.
9657 * gdb.base/checkpoint.exp: New file.
9658 * gdb.base/multi-fork.c: New file.
9659 * gdb.base/multi-fork.exp: New file.
9660 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9661
9662 2006-01-04 Fred Fish <fnf@specifix.com>
9663
9664 * gdb.base/ptype.c (foo): Add typedef.
9665 (intfoo): Add function.
9666 * gdb.base/ptype1.c: New file.
9667 * gdb.base/ptype.exp: Handle compilation and linking with two
9668 source files. Test that proper type for "foo" is found based
9669 on source context rather than first match found in symtabs.
9670
9671 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9672
9673 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9674 * gdb.asm/openbsd.inc: Indent commands.
9675
9676 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9677
9678 * gdb.base/freebpcmd.exp: Increase timeout.
9679
9680 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9681
9682 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9683
9684 * gdb.base/default.exp: Update check for "show version".
9685
9686 2005-12-09 Randolph Chung <tausq@debian.org>
9687
9688 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9689 * gdb.asm/pa64.inc: New file.
9690
9691 2005-12-09 Randolph Chung <tausq@debian.org>
9692
9693 * gdb.asm/common.inc: Indent commands.
9694 * gdb.asm/asmsrc1.s: Likewise.
9695 * gdb.asm/asmsrc2.s: Likewise.
9696
9697 2005-12-09 Randolph Chung <tausq@debian.org>
9698
9699 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9700 (get_addr_of_sym): Remove duplicate print.
9701 (gen_core): xfail hppa*-*-hpux*, update expected output.
9702 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9703 * gdb.arch/pa64-nullify.s: New file.
9704
9705 2005-12-09 Randolph Chung <tausq@debian.org>
9706
9707 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9708
9709 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9710
9711 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9712 code generation for these functions.
9713 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9714 error message.
9715
9716 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9717
9718 * gdb.base/help.exp (help b, help br, help bre, help brea)
9719 (help break): Update the expected message.
9720
9721 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9722
9723 * gdb.asm/m68hc11.inc: Setup the data section.
9724 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9725 script for this test.
9726 (m6812-*-*): Likewise.
9727
9728 2005-11-09 Randolph Chung <tausq@debian.org>
9729
9730 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9731
9732 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9733
9734 * gdb.base/break.exp: Fix a comment typo.
9735
9736 2005-11-03 Jim Blandy <jimb@redhat.com>
9737
9738 Checked in by Elena Zannoni <ezannoni@redhat.com>
9739
9740 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9741
9742 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9743
9744 * gdb.arch/gdb1558.c: Include stdio.h.
9745
9746 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9747
9748 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9749
9750 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9751
9752 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9753
9754 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9755
9756 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9757 vscr" tests to better match output.
9758
9759 2005-10-12 Jim Blandy <jimb@redhat.com>
9760
9761 * gdb.base/structs.exp (any): New function.
9762 (test_struct_returns): Don't make any assumptions at all about
9763 what value the function returns when GDB can't set the return
9764 value.
9765
9766 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9767
9768 * gdb.ada/arrayidx/p.adb: New file.
9769 * gdb.ada/arrayidx.exp: New testcase
9770
9771 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9772
9773 * gdb.ada/array_return/pck.ads: New file.
9774 * gdb.ada/array_return/pck.adb: New file.
9775 * gdb.ada/array_return/p.adb: New file.
9776 * gdb.ada/array_return.exp: New testcase.
9777
9778 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9779
9780 * gdb.base/arrayidx.c: New file.
9781 * gdb.base/arrayidx.exp: New testcase.
9782
9783 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9784
9785 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9786 frames-invalid and breakpoints-invalid are no longer generated
9787 with level 3 so don't expect them in the output.
9788
9789 2005-09-27 Bob Rossi <bob@brasko.net>
9790
9791 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9792 from test. Escape the | in mi_gdb_test call.
9793 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9794 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9795 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9796 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9797 expected regex's in mi_gdb_test calls.
9798 * lib/mi-support.exp: Remove arbitrary .* from tests.
9799 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9800 Fully anchor GDB/MI expected results in mi_gdb_test.
9801 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9802 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9803
9804 2005-09-26 Paul Brook <paul@codesourcery.com>
9805
9806 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9807
9808 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9809
9810 * bfp-test.c: New file.
9811 * bfp-test.exp: New testcase.
9812
9813 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9814
9815 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9816 of subarray and substring variable.
9817 * gdb.fortran/subarray.f: New source file for the test of subarray
9818 and substring variable evaluation.
9819 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9820 of string constant.
9821
9822 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9823
9824 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9825 copyright dates.
9826
9827 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9828
9829 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9830 powerpc altivec' test with an almost identical 'info vector' test.
9831
9832 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9833
9834 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9835 vscr" tests to match output.
9836
9837 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9838
9839 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9840 output.
9841
9842 2005-09-11 Bob Rossi <bob@brasko.net>
9843
9844 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9845 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9846 commands that return an MI output command and an asyncronous MI output
9847 command.
9848 * gdb.mi/mi-console.exp: Ditto.
9849
9850 2005-09-11 Bob Rossi <bob@brasko.net>
9851
9852 * gdb.mi/mi-var-child.c: Include <string.h>.
9853
9854 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9855
9856 * killed.exp: Correct gdb_expect syntax.
9857
9858 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9859
9860 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9861
9862 2005-08-02 Bob Rossi <bob@brasko.net>
9863
9864 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9865 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9866 Change tests to inferior-tty-set/show.
9867 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9868 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9869 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9870 inferior. Use mi_gdb_test to get GDB and Inferior output.
9871 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9872 descriptor.
9873 (mi_inferior_tty_name): Add inferior PTY file name.
9874 (mi_gdb_start): Add INFERIOR_PTY parameter.
9875 (mi_gdb_test): Add IPATTERN parameter.
9876
9877 2005-08-02 Bob Rossi <bob@brasko.net>
9878
9879 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9880 parameter to mi_gdb_test.
9881 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9882
9883 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9884
9885 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9886 struct_declarations.
9887 * gdb.mi/mi-var-child.exp: Step over the initialization of
9888 struct_declarations.
9889
9890 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9891
9892 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9893 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9894 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9895 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9896 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9897 file.
9898
9899 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9900
9901 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9902 (do_children_tests): Assign values to the extra elements.
9903
9904 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9905 them for tests for "-var-update --no-values" and
9906 "-var-update --all-values".
9907 Add test for "-var-list-children --simple-values".
9908
9909 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9910
9911 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9912 "-stack-list-locals --simple-values" Improve doc strings and
9913 comments.
9914
9915 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9916
9917 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9918 *-*-openbsd*.
9919 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9920
9921 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9922 sigaltsatck'.
9923
9924 2005-07-14 Bob Rossi <bob@brasko.net>
9925
9926 * gdb.base/default.exp (tty): Changed output of command.
9927 * gdb.base/help.exp (help tty): Ditto.
9928
9929 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9930
9931 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9932
9933 2005-07-10 Mark Kettenis <kettenis@gnu.org>
9934
9935 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9936 -stack-select-frame without arguments.
9937 (test_stack_frame_listing): Add test for newly implemented command
9938 -stack-info-frame.
9939
9940 2005-07-06 Bob Rossi <bob@brasko.net>
9941
9942 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9943 command.
9944 (Copyright): Update copyright.
9945
9946 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9947
9948 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9949 tests to evaluate exponentiation expression.
9950
9951 2005-06-29 Andreas Schwab <schwab@suse.de>
9952
9953 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9954 main to avoid warnings.
9955
9956 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9957
9958 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
9959
9960 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9961 -stack-select-frame without arguments.
9962 (test_stack_frame_listing): Add test for newly implemented command
9963 -stack-info-frame.
9964
9965 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9966
9967 * gdb.fortran/array-element.f: New file.
9968 * gdb.fortran/array-element.exp: New testcase.
9969
9970 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9971
9972 * gdb.base/bigcore.exp: Correct checks for systems which can
9973 not dump a large core file.
9974
9975 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.base/relocate.c: Add a copyright notice.
9978 (dummy): Remove.
9979 * gdb.base/relocate.exp: Test printing the values of variables
9980 from a relocatable file.
9981
9982 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9983
9984 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9985 excess MI output after an error.
9986
9987 2005-05-29 Joel Brobecker <brobecker@adacore.com>
9988
9989 * gdb.arch/alpha-step.c: New file.
9990 * gdb.arch/alpha-step.exp: New testcase.
9991
9992 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9993 Dennis Brueni <dennis@slickedit.com>
9994
9995 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9996 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9997 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9998 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9999 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10000 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10001 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10002
10003 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10004 Wu Zhou <woodzltc@cn.ibm.com>
10005
10006 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10007 IBM's xlc compiler.
10008 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10009 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10010
10011 2005-05-13 Jim Blandy <jimb@redhat.com>
10012
10013 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10014 calling gdb_suppress_entire_file.
10015 * gdb.base/charset.exp: Same.
10016 * gdb.base/call-rt-st.exp: Same.
10017
10018 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10019
10020 * lib/gdb.exp (fullname_syntax): Added global regex.
10021 (fullname_syntax_POSIX): Ditto.
10022 (fullname_syntax_UNC): Ditto.
10023 (fullname_syntax_DOS_CASE): Ditto.
10024 (fullname_syntax_DOS): Ditto.
10025 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10026 fullname_syntax variable to scope and use it.
10027 (test_file_list_exec_source_files): Ditto.
10028 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10029
10030 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10031
10032 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10033
10034 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10035
10036 * lib/gdb.exp (skip_altivec_tests): New function, based on
10037 check_vmx_hw_available from the GCC testsuite.
10038 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10039 * lib/gdb.arch/altivec-regs.exp: Likewise.
10040
10041 2005-05-02 Jim Blandy <jimb@redhat.com>
10042
10043 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10044 calling gdb_suppress_entire_file.
10045
10046 2005-04-30 Randolph Chung <tausq@debian.org>
10047
10048 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10049 Slightly relax "sem_post" name checking.
10050
10051 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10052
10053 * gdb.base/unload.exp: Use new shared library infrastructure.
10054
10055 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10056
10057 * gdb.base/so-impl-ld.exp: Use new shared library
10058 infrastructure.
10059
10060 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10061
10062 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10063 * gdb.asm/h8300.inc: New file.
10064
10065 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10066
10067 * gdb.base/shlib-call.exp: Change to use new shared library
10068 infrastructure.
10069
10070 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10071
10072 * gdb.base/pending.exp: Change to use new shared library
10073 infrastructure.
10074
10075 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10076
10077 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10078 use test_compiler_info instead of gcc_compiled, and update copyright.
10079
10080 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10081
10082 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10083 shared objects being adjusted and update copyright years.
10084
10085 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10086
10087 * ChangeLog: Correct some 2003-01-13 dates.
10088 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10089 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10090 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10091 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10092 gdb.trace/tfind.exp: Update copyright years.
10093
10094 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10095 Daniel Jacobowitz <dan@codesourcery.com>
10096
10097 * lib/gdb.exp (gdb_compile): Handle shlib=.
10098 (gdb_compile_shlib): New function.
10099
10100 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10101
10102 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10103
10104 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10105
10106 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10107 gdb.server.
10108 * configure.ac: Likewise.
10109 * configure: Regenerated.
10110 * gdb.gdbserver/Makefile.in: Moved to...
10111 * gdb.server/Makefile.in: ... here.
10112 * gdb.gdbserver/server.c: Moved to...
10113 * gdb.server/server.c: ... here.
10114 * gdb.gdbserver/server-run.exp: Moved to...
10115 * gdb.server/server-run.exp: ... here.
10116
10117 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10118
10119 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10120 * configure.ac: Create gdb.gdbserver/Makefile.
10121 * configure: Regenerated.
10122 * lib/gdbserver-support.exp: New file, derived from
10123 config/gdbserver.exp.
10124 * config/gdbserver.exp: Use gdbserver-support.exp.
10125 * gdb.gdbserver/Makefile.in: New file.
10126 * gdb.gdbserver/server.c: New file.
10127 * gdb.gdbserver/server-run.exp: New file.
10128
10129 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10130
10131 * lib/gdb.exp (test_compiler_info): Return compiler_info
10132 if no arguments are given.
10133
10134 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10135
10136 * gdb.arch/altivec-abi.exp: Check for compiler and set
10137 use altivec' flag accordingly.
10138 * gdb.arch/altivec-regs.exp: Likewise.
10139
10140 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10141
10142 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10143
10144 2005-03-27 Andreas Schwab <schwab@suse.de>
10145
10146 * gdb.base/bigcore.c (main): Add missing mode argument in open
10147 call.
10148
10149 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10150
10151 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10152 downloads.
10153 * config/gdbserver.exp (gdb_load): Likewise.
10154
10155 2005-03-14 Paul Brook <paul@codesourcery.com>
10156
10157 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10158 targets.
10159
10160 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10161
10162 * gdb.dwarf2/dup-psym.S: New file.
10163 * gdb.dwarf2/dup-psym.exp: New testcase.
10164
10165 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10166
10167 * gdb.ada/exec_changed/first.adb: New file.
10168 * gdb.ada/exec_changed/second.adb: New file.
10169 * gdb.ada/exec_changed.exp: New testcase.
10170
10171 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10172
10173 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10174 (A2): New class.
10175 (main): Test operator+.
10176 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10177 breakpoint test.
10178
10179 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10180 * gdb.base/signull.exp: Disable if gdb,nosignals.
10181 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10182 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10183 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10184 * gdb.mi/mi2-console.exp: Likewise.
10185 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10186 continue output at start.
10187 (gdb_collect_locals_test): Robustify regexp.
10188 * gdb.trace/passc-dyn.exp: Fix comment typo.
10189 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10190
10191 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10192
10193 * gdb.asm/asm-source.exp: Add iq2000 case.
10194 * gdb.asm/iq2000.inc: New file.
10195
10196 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10197
10198 * gdb.base/command.exp: Change hardcoded value to regular expression.
10199 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10200
10201 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10202
10203 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10204 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10205 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10206 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10207 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10208
10209 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10210
10211 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10212 changes.
10213
10214 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10215
10216 * lib/compiler.c: Add test for IBM's xlc compiler.
10217 * lib/compiler.cc: Likewise.
10218
10219 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10220
10221 * gdb.ada/fixed_points.exp: Create compilation object directory
10222 before running the test.
10223 * gdb.ada/null_record.exp: Likewise.
10224 * gdb.ada/packed_array.exp: Likewise.
10225 * gdb.ada/start.exp: Likewise.
10226
10227 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10228
10229 * gdb.ada/packed_array/pa.adb: New file.
10230 * gdb.ada/packed_array.exp: New testcase.
10231
10232 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10233
10234 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10235 files.
10236
10237 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10238 on *-*-openbsd*. Correctly match whitespace in regukar
10239 expressions.
10240
10241 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10242
10243 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10244 PR exp/1821
10245 * gdb.base/gdb1821.c: New test file.
10246 * gdb.base/gdb1821.exp: New test file.
10247
10248 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10249
10250 * gdb.base/start.c: New file.
10251 * gdb.base/start.exp: New testcase.
10252
10253 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10254
10255 * gdb.ada/start/dummy.adb: New file.
10256 * gdb.ada/start.exp: New testcase.
10257
10258 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10259
10260 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10261 for printing symbols and statistics.
10262 Add test for using relative pathnames in "maint print msymbols" test.
10263 Mark "maint info sections DATA" XFAIL on Cygwin.
10264 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10265 tests.
10266
10267 2005-02-09 Andreas Schwab <schwab@suse.de>
10268
10269 Committed by Andrew Cagney <cagney@gnu.org>
10270 * gdb.base/remotetimeout.exp: New file.
10271
10272 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10273
10274 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10275
10276 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10277
10278 * gdb.ada/gnat_ada.gpr: New file.
10279 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10280 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10281 * configure.ac: No longer generate gnat_ada.gpr.
10282 * configure: Regenerate.
10283 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10284 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10285 * gdb.ada/null_record/bar.ads: Likewise.
10286 * gdb.ada/null_record/bar.adb: Likewise.
10287 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10288 * gdb.ada/null_record.exp (testdir): New variable.
10289 (testfile): executable is now in testdir subdirectory.
10290 (srcfile): Use full path to the main compilation unit.
10291 * gdb.ada/fixed_points.exp: Same changes as above.
10292
10293 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10294
10295 * gdb.base/interp.exp: New test.
10296
10297 2005-01-24 Andrew Cagney <cagney@gnu.org>
10298
10299 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10300
10301 2005-01-19 Andrew Cagney <cagney@gnu.org>
10302
10303 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10304 configure.ac not configure.in.
10305
10306 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10307 of powerpc*-*-*.
10308 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10309 * gdb.base/list.exp (test_list_function)
10310 (test_list_filename_and_function): Ditto.
10311 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10312
10313 2005-01-16 Andrew Cagney <cagney@gnu.org>
10314
10315 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10316
10317 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10318
10319 2005-01-14 Andrew Cagney <cagney@gnu.org>
10320
10321 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10322 * gdb.mi/mi2-var-cmd.exp: Ditto.
10323
10324 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10325
10326 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10327
10328 2005-01-07 Andrew Cagney <cagney@gnu.org>
10329
10330 * configure.ac: Rename configure.in, require autoconf 2.59.
10331 * configure: Re-generate.
10332 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10333 * gdb.stabs/configure: Re-generate.
10334 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10335 * gdb.hp/configure: Re-generate.
10336 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10337 autoconf 2.59.
10338 * gdb.hp/gdb.objdbg/configure: Re-generate.
10339 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10340 autoconf 2.59.
10341 * gdb.hp/gdb.defects/configure: Re-generate.
10342 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10343 autoconf 2.59.
10344 * gdb.hp/gdb.compat/configure: Re-generate.
10345 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10346 autoconf 2.59.
10347 * gdb.hp/gdb.base-hp/configure: Re-generate.
10348 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10349 autoconf 2.59.
10350 * gdb.hp/gdb.aCC/configure: Re-generate.
10351
10352 2004-12-15 Jim Blandy <jimb@redhat.com>
10353
10354 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10355 under NPTL when there is debugging info available for libpthread.
10356
10357 2004-12-13 Jerome Guitton <guitton@gnat.com>
10358
10359 * gdb.ada/fixed_points.c: New file.
10360 * gdb.ada/fixed_points.exp: New file.
10361
10362 2004-12-03 Randolph Chung <tausq@debian.org>
10363
10364 * gdb.arch/pa-nullify.exp: New file.
10365 * gdb.arch/pa-nullify.s: New file.
10366
10367 2004-11-30 Randolph Chung <tausq@debian.org>
10368
10369 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10370 instead of "tbug". Fix regexp to work properly with gdb_test.
10371
10372 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10373
10374 * gdb.base/bitfields2.exp: New test.
10375 * gdb.base/bitfields2.c: New file.
10376
10377 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10378
10379 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10380
10381 2004-11-16 Randolph Chung <tausq@debian.org>
10382
10383 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10384
10385 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10386
10387 * gdb.threads/threadapply.exp: Correct "macro details" test.
10388
10389 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10390
10391 * gdb.threads/threadapply.exp: New test.
10392 * gdb.threads/threadapply.c: New file.
10393
10394 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10395
10396 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10397 frames.
10398
10399 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10400
10401 * gdb.base/cursal.exp: New file.
10402 * gdb.base/cursal.c: New file.
10403
10404 2004-11-03 Andrew Cagney <cagney@gnu.org>
10405
10406 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10407
10408 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10409
10410 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10411 NetBSD/ELF targets.
10412
10413 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10414
10415 * gdb.threads/bp_in_thread.c: New file, copied from
10416 pthread_cond_wait.c.
10417 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10418 file, rather than reusing the .c file from another testcase.
10419
10420 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10421
10422 * gdb.ada/null_record.exp: Check where we stopped after
10423 sending the start command, instead of where the associated
10424 temporary breakpoint was inserted.
10425
10426 2004-10-14 Andrew Cagney <cagney@gnu.org>
10427
10428 * gdb.mi/gdb701.c (main): Return 0.
10429
10430 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10431
10432 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10433
10434 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10435
10436 * gdb.threads/schedlock.c: Add comment markers to use to find
10437 line numbers.
10438 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10439 comments.
10440 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10441 breakpoint lines.
10442
10443 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10444
10445 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10446
10447 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10448
10449 * configure.in: Add gdb.dwarf2.
10450 * configure: Regenerated.
10451 * Makefile.in: Add gdb.dwarf2.
10452 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10453 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10454 gdb.dwarf2/file1.txt: New files.
10455
10456 2004-10-11 Orjan Friberg <orjanf@axis.com>
10457
10458 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10459 of "run", since the latter doesn't work with remote targets. Adjust
10460 the breakpoint numbering accordingly.
10461 * gdb.threads/pthread_cond_wait.exp: Ditto.
10462
10463 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10464
10465 * gdb.base/overlays.exp: Update copyright years.
10466
10467 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10468
10469 * gdb.base/overlays.exp: Disable if target is Linux.
10470
10471 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10472
10473 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10474
10475 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10476
10477 * gdb.asm/asm-source.exp: Add m32r-linux target.
10478 * gdb.asm/m32r-linux.inc: New file.
10479
10480 2004-09-24 Andrew Cagney <cagney@redhat.com>
10481 David Anderson <anderson@redhat.com>
10482
10483 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10484 command fails, assume things will work.
10485 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10486 (_GNU_SOURCE): Define.
10487 (print_unsigned, print_hex): Change parameter to "long long".
10488 (print_byte_count): New function, use to print byte counts.
10489 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10490 O_LARGEFILE.
10491 (main): Compute an upper bound on a corefile in max_core_size.
10492 Limit memory chunk size to max_core_size. Limit total memory
10493 allocated to max_core_size.
10494
10495 2004-09-23 Andrew Cagney <cagney@gnu.org>
10496
10497 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10498 from a separate process with code that creates a corefile by
10499 making the inferior dump core.
10500
10501 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10502
10503 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10504 block.
10505
10506 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10507
10508 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10509 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10510 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10511 Likewise.
10512
10513 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10514
10515 * gdb.java/jprint.exp: New test case for java inferior call.
10516 * gdb.java/jprint.java: Ditto.
10517
10518 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10519
10520 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10521
10522 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10523
10524 * gdb.threads/killed.c: Include <stdlib.h>.
10525 * gdb.threads/pthreads.c: Likewise.
10526
10527 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10528
10529 * gdb.threads/killed.c: Add copyright notice.
10530
10531 2004-09-10 Jason Molenda (jmolenda@apple.com)
10532
10533 * gdb.base/define.exp: Two new tests to verify zero space chars
10534 after 'if' and 'while' commands in a user-defined command is correctly
10535 parsed.
10536
10537 2004-09-08 Andrew Cagney <cagney@gnu.org>
10538
10539 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10540 delivery test with duplicate at end of file.
10541
10542 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10543
10544 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10545
10546 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10547
10548 * config/hppro.exp: Removed.
10549
10550 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10551
10552 * config/sparclet.exp: Removed.
10553
10554 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10555
10556 * config/udi.exp: Removed.
10557
10558 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10559
10560 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10561 of "exp_continue".
10562 (advancei): Likewise.
10563
10564 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10565
10566 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10567
10568 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10569
10570 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10571 to check for nodebug in executable.
10572 * gdb.gdb/observer.exp (setup_test): Likewise.
10573 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10574 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10575
10576 2004-09-01 Andrew Cagney <cagney@gnu.org>
10577
10578 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10579 files.
10580
10581 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10582
10583 * gdb.base/unload.exp: Fix expected warning message to match
10584 latest format.
10585
10586 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10587
10588 * gdb.base/call-rt-st.exp: Fix typos.
10589
10590 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10591
10592 * gdb.threads/thread_check.exp: New testcase.
10593 * gdb.threads/thread_check.c: New testcase.
10594
10595 2004-08-31 Andrew Cagney <cagney@gnu.org>
10596
10597 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10598 (skip_to_handler_entry): New procedures. Test stepping into a
10599 handler when the breakpoint is at the handler's entry point.
10600
10601 2004-08-30 Andrew Cagney <cagney@gnu.org>
10602
10603 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10604 gdb/1757.
10605
10606 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10607
10608 With code from Manoj Iyer <manjo@austin.ibm.com>:
10609 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10610 return value. Add an arm for "no debugging symbols found".
10611 Change a stray "error" to "perror".
10612 (gdb_run_cmd): Adapt to new return value.
10613 * gdb.base/remote.exp: Adapt to new return value.
10614 * gdb.gdb/complaints.exp: Likewise.
10615 * gdb.gdb/observer.exp: Likewise.
10616 * gdb.gdb/selftest.exp: Likewise.
10617 * gdb.gdb/xfullpath.exp: Likewise.
10618
10619 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10620
10621 * gdb.threads/bp_in_thread.exp: New testcase.
10622
10623 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10624
10625 Fix PR testsuite/1735.
10626 * gdb.threads/schedlock.c (thread_function): Add a cast
10627 to suppress a gcc warning.
10628 * gdb.threads/thread-specific.c (thread_function): Likewise.
10629
10630 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10631
10632 * gdb.base/unload.c: Include <stdlib.h>.
10633
10634 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10635
10636 From Paul Gilliam <pgilliam@us.ibm.com>:
10637 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10638 synchronized after the "return".
10639
10640 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10641
10642 * gdb.mi/basics.c: Include <stdio.h>.
10643 * gdb.mi/pthreads.c: Include <stdlib.h>.
10644 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10645
10646 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10647
10648 * gdb.threads/schedlock.c: Add copyright notice.
10649
10650 2004-08-25 Andrew Cagney <cagney@gnu.org>
10651
10652 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10653 (skip_over_handler, breakpoint_over_hander): New test procedures.
10654 (advance, advancei): Add a proper prefix, do not use
10655 rerun_to_main.
10656 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10657
10658 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10659
10660 * gdb.mi/basics.c: Add copyright notice.
10661 * gdb.mi/var-cmd.c: Add copyright notice.
10662
10663 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10664
10665 * lib/gdb.exp: Remove signed_keyword_not_used.
10666 * lib/compiler.c: Likewise.
10667 * lib/compiler.cc: Likewise.
10668
10669 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10670
10671 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10672 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10673
10674 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10675
10676 * gdb.base/whatis.c: Add copyright notice.
10677
10678 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10679
10680 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10681 it to skip the breakpoints encoded in the inline assembly.
10682
10683 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10684
10685 * Makefile.in: Add gdb.fortran.
10686
10687 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10688
10689 * gdb.base/call-sc.exp (test_scalar_returns):
10690 Fix cut-and-paste glitch in "Make fun return now".
10691
10692 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10693
10694 * configure.in: Add gdb.fortran.
10695 * configure: Regenerate.
10696 * gdb.fortran/Makefile.in: New file.
10697 * lib/gdb.exp (skip_fortran_tests): New procedure.
10698
10699 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10700
10701 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10702 reference to bug-gnu@prep.ai.mit.edu.
10703 * gdb.mi/mi-var-child.exp: Likewise.
10704 * gdb.mi/mi-var-cmd.exp: Likewise.
10705 * gdb.mi/mi-var-display.exp: Likewise.
10706 * gdb.mi/mi2-var-block.exp: Likewise.
10707 * gdb.mi/mi2-var-child.exp: Likewise.
10708 * gdb.mi/mi2-var-cmd.exp: Likewise.
10709 * gdb.mi/mi2-var-display.exp: Likewise.
10710
10711 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10712
10713 * gdb.base/unload.c (main): Make local variable msg const.
10714
10715 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10716
10717 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10718 to bug-gnu@prep.ai.mit.edu.
10719 * gdb.mi/mi-disassemble.exp: Likewise.
10720 * gdb.mi/mi-eval.exp: Likewise.
10721 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10722 default line number.
10723 * gdb.mi/mi-return.exp: Likewise.
10724 * gdb.mi/mi-simplerun.exp: Likewise.
10725 * gdb.mi/mi-stack.exp: Likewise.
10726 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10727 number with explicit range test.
10728 * gdb.mi/mi-watch.exp: Likewise.
10729 * gdb.mi/mi2-break.exp: Likewise.
10730 * gdb.mi/mi2-cli.exp: Likewise.
10731 * gdb.mi/mi2-disassemble.exp: Likewise.
10732 * gdb.mi/mi2-eval.exp: Likewise.
10733 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10734 default line number.
10735 * gdb.mi/mi2-return.exp: Likewise.
10736 * gdb.mi/mi2-simplerun.exp: Likewise.
10737 * gdb.mi/mi2-stack.exp: Likewise.
10738 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10739 number with explicit range test.
10740 * gdb.mi/mi2-watch.exp: Likewise.
10741
10742 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10743
10744 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10745 * gdb.cp/m-static.exp: Likewise.
10746 * gdb.cp/rtti.exp: Likewise.
10747
10748 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10749
10750 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10751
10752 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10753
10754 * ChangeLog: Prefix Local Variables with semi-colons and indent
10755 the reference to older ChangeLog files, to fix fontification in
10756 Emacs.
10757
10758 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10759
10760 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10761 * gdb.mi/mi2-break.exp: Likewise.
10762
10763 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10764
10765 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10766
10767 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10768
10769 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10770
10771 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10772
10773 * gdb.cp/classes.exp: Remove unused declarations. Just let
10774 test names default instead of providing special names. Remove
10775 extraneous demangler test.
10776
10777 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10778
10779 * gdb.base/unload.exp: New test for breakpoints in dynamically
10780 loaded libraries.
10781 * gdb.base/unload.c: Ditto.
10782 * gdb.base/unloadshr.c: Ditto.
10783
10784 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10785
10786 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10787 cp_test_ptype_class.
10788 (test_enums): Likewise.
10789
10790 2004-08-10 Andrew Cagney <cagney@gnu.org>
10791
10792 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10793 files.
10794
10795 2004-08-10 Andrew Cagney <cagney@gnu.org>
10796
10797 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10798 init_malloc call.
10799
10800 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10801
10802 * ChangeLog: Add copyright notice. The notice is copied
10803 from emacs 21.3 top level ChangeLog.
10804
10805 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10806
10807 * lib/cp-support.exp: New file.
10808 * lib/cp-support.exp (cp_test_type_class): New function.
10809 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10810 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10811 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10812 cp_test_ptype_class.
10813
10814 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10815
10816 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10817 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10818 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10819 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10820 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10821 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10822 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10823 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10824 gdb.mi/mi2-watch.exp: Update copyright years.
10825
10826 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10827
10828 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10829
10830 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10831
10832 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10833 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10834 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10835 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10836 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10837 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10838 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10839 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10840 gdb.mi/mi-watch.exp: Update copyright years.
10841
10842 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10843
10844 PR gdb/1738
10845 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10846 from a breakpoint with a pending signal.
10847
10848 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10849
10850 PR gdb/1736
10851 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10852 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10853 the prompt.
10854 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10855
10856 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10857
10858 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10859
10860 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10861
10862 PR gdb/1736
10863 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10864 for i?86-*-linux*.
10865
10866 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10867
10868 * gdb.arch/i386-prologue.exp: Compile without debug information.
10869
10870 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10871
10872 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10873 rather than asking gdb to search.
10874
10875 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10876
10877 * gdb.base/gcore.c: Include <string.h>.
10878
10879 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10880
10881 * gdb.base/gcore.c: Add copyright notice.
10882
10883 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10884
10885 * gdb.base/freebpcmd.c: Include <stdio.h>.
10886 * gdb.base/long_long.c: Include <string.h>.
10887 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10888 * gdb.base/siginfo.c: Include <string.h>.
10889 * gdb.base/sigstep.c: Include <string.h>.
10890
10891 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10892
10893 * gdb.base/complex.c: Include <stdlib.h>.
10894
10895 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10896
10897 * gdb.base/complex.c: Add copyright notice.
10898
10899 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10900
10901 * gdb.base/charset.c: Include <stdlib.h>.
10902
10903 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10904
10905 * gdb.base/auxv.c: Include <stdlib.h>.
10906
10907 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10908
10909 * gdb.base/auxv.c: Add copyright notice.
10910
10911 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10912
10913 * gdb.base/coremaker.c: Add copyright notice.
10914 * gdb.base/coremaker2.c: Add copyright notice.
10915
10916 2004-08-04 Andrew Cagney <cagney@gnu.org>
10917
10918 * gdb.base/store.exp: Update copyright.
10919 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10920 names, do not import gdb_prompt.
10921
10922 2004-08-01 Andrew Cagney <cagney@gnu.org>
10923
10924 Fix PR testsuite/1729.
10925 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10926 not use capture_value with value 4.
10927 (capture_value): Add optional test name parameter.
10928 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10929 the prefix, pass to capture_value.
10930
10931 2004-08-01 Mark Kettenis <kettenis@gnu.org>
10932
10933 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10934 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10935 (main): Call new function.
10936
10937 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10938
10939 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10940
10941 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10942
10943 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10944
10945 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10946
10947 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
10948 Accept more values of vtbl pointer. Remove some messages
10949 about "obsolete gcc or gdb".
10950
10951 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10952
10953 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10954
10955 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10956
10957 * gdb.base/asm-source.exp: Properly convert target board
10958 debug flags from gcc format to binutils format.
10959
10960 2004-07-28 Mark Kettenis <kettenis@gnu.org>
10961
10962 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10963 gdb1718". PR backtrace/1718 partially fixed.
10964
10965 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10966
10967 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10968
10969 2004-07-26 Nick Clifton <nickc@redhat.com>
10970
10971 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10972 good default value for a specific architecture is available then
10973 set it to that value. Otherwise default to the -gstabs switch.
10974 Remove the -g... switches from the asm-flags variable. Allow the
10975 target board info to override the value if it wants to. Pass the
10976 switch on the assembler command line.
10977
10978 2004-07-23 Mark Kettenis <kettenis@gnu.org>
10979
10980 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10981 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10982 (main): Call new function.
10983
10984 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10985
10986 Test for PR exp/1715.
10987 * gdb.base/radix.exp: Refactor common procedures. Make all
10988 test names unique. Change XFAIL to KFAIL.
10989
10990 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10991
10992 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10993 * gdb.ada/gnat_ada.gin: ... to here.
10994 * configure.in: Use gnat_ada.gin.
10995 * configure: Regenerate.
10996
10997 2004-07-20 Andrew Cagney <cagney@gnu.org>
10998
10999 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11000 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11001 XFAILs. Clean up test messages and comments. Check backtraces.
11002 Delete re-sync code.
11003
11004 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11005
11006 Fix PR cli/740.
11007 * gdb.base/annota1.exp: Honor gdb,nosignals.
11008 * gdb.base/annota3.exp: Likewise.
11009
11010 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11011
11012 * lib/java.exp: Update copyright notice.
11013
11014 2004-07-19 Andrew Cagney <cagney@gnu.org>
11015
11016 * gdb.base/selftest.exp: Copy file from here ...
11017 * gdb.gdb/selftest.exp: ... to here.
11018
11019 2004-07-16 Andrew Cagney <cagney@redhat.com>
11020
11021 * lib/insight-support.exp: Delete file.
11022 * lib/java.exp (java_init): Fix copyright.
11023
11024 2004-07-16 Andrew Cagney <cagney@gnu.org>
11025
11026 * gdb.base/restore.c: Append "prologue" to comments marking the a
11027 function's prologue.
11028 * gdb.base/restore.exp: Update copyright, re-indent.
11029 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11030 callerN" prefix where needed. Update patterns that match a
11031 function's prologue.
11032
11033 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11034
11035 * gdb.base/restore.c: Add copyright notice.
11036
11037 2004-07-16 Andrew Cagney <cagney@gnu.org>
11038
11039 * gdb.base/logical.exp: Update copyright.
11040 (evaluate): New procedure. Use to re-implement tests using
11041 several tables.
11042
11043 2004-07-14 Martin Hunt <hunt@redhat.com>
11044
11045 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11046 which fixes some problems where init.tcl was not found.
11047
11048 2004-07-13 Andrew Cagney <cagney@gnu.org>
11049
11050 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11051 (check_sizeof, check_valueof): Do not include the output in the
11052 test name. Use gdb_test.
11053 (get_valueof): Use gdb_test_multiple.
11054
11055 * gdb.base/step-test.exp: Update copyright. Use
11056 gdb_test_multiple. Ensure that test names do not include
11057 architecture dependent output.
11058
11059 * gdb.gdb/observer.exp: Update copyright.
11060 (setup_test): Use gdb_test_multiple.
11061 (attach_first_observer, attach_second_observer)
11062 (attach_third_observer, detach_first_observer)
11063 (detach_second_observer, detach_third_observer)
11064 (reset_counters, check_counters): Make $message a prefix.
11065 (test_normal_stop_notifications): Add "args" parameter - a list of
11066 init functions to be called. Make $message a prefix,
11067 (test_observer_normal_stop): Change the message prefixes so that
11068 they are unique, pass the attach / detach procedures to
11069 test_normal_stop_notifications.
11070
11071 * gdb.base/signull.exp (test_segv): Prefix all tests with
11072 "${name}". Clean up test messages.
11073
11074 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11075
11076 * gdb.base/ena-dis-br.exp: Update copyright.
11077 (break_at): New function. Replace send_gdb with gdb_test,
11078 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11079 ignore count, not stopped at bpt", with KFAIL.
11080
11081 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11082
11083 * gdb.base/attach.exp: Remove cleanupfile handling.
11084
11085 2004-07-12 Andrew Cagney <cagney@gnu.org>
11086
11087 * gdb.base/annota1.exp: Cleanup corefile test name.
11088 * gdb.base/annota3.exp: Ditto.
11089
11090 2004-07-12 Andrew Cagney <cagney@gnu.org>
11091
11092 * gdb.base/signals.exp: Clean up copyright, re-indent.
11093
11094 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11095 gdb_test and gdb_test_multiple.
11096
11097 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11098
11099 * gdb.java/jmain.exp: Fix expected line number for main to
11100 break at. Set XFAIL for break at main test since gcj does not
11101 provide line number info for first statement in main.
11102
11103 2004-07-08 Andrew Cagney <cagney@gnu.org>
11104
11105 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11106
11107 * gdb.base/sigbpt.exp: Make the common part of each test name a
11108 prefix instead of suffix.
11109
11110 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11111
11112 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11113 test from test_tbreak_creation_and_listing to
11114 test_file_list_exec_source_file
11115 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11116 Changed name of test from test_tbreak_creation_and_listing to
11117 test_file_list_exec_source_file
11118
11119 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11120
11121 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11122 the jmisc() constructor instead of <init>.
11123 * gdb.java/jmisc1.exp: Ditto.
11124
11125 2004-07-07 Andrew Cagney <cagney@gnu.org>
11126
11127 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11128 corrupting the PC.
11129
11130 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11131
11132 * gdb.cp/templates.exp: Accept whitespace change in demangler
11133 output.
11134
11135 2004-07-06 Andrew Cagney <cagney@gnu.org>
11136
11137 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11138
11139 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11140
11141 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11142 * lib/compiler.cc: Likewise.
11143
11144 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11145
11146 * lib/compiler.cc: Work around string preprocessing problem
11147 with old hp c++ compiler.
11148 * lib/compiler.c: Likewise.
11149
11150 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11151
11152 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11153 directives to conditionalize symbol prefixing.
11154 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11155 additional_flags handling. Add underscore prefix for Cygwin.
11156 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11157 conditionalize symbol prefixing.
11158 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11159 additional_flags handling. Add underscore prefix for Cygwin.
11160
11161 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11162
11163 * gdb.base/bigcore.exp: Skip test on Cygwin.
11164
11165 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11166
11167 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11168 formats for "info register". Use gdb_test_multiple. Fix
11169 the "invalid register" test.
11170
11171 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11172
11173 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11174 PID for Cygwin. Add Cygwin specific strings to check for in some
11175 tests.
11176 (do_attach_tests): Add a test for user interaction when attaching
11177 to a process with no matching symbol table already loaded.
11178
11179 2004-06-26 Andrew Cagney <cagney@gnu.org>
11180
11181 Test PR java/1567 and PR java/1565.
11182 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11183 * gdb.java/jmisc2.exp: Delete file.
11184
11185 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11186
11187 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11188
11189 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11190
11191 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11192 attach process.
11193
11194 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11195
11196 * gdb.cp/pr-1553.exp: Remove.
11197
11198 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11199
11200 * gdb.cp/pr-1553.cc: Remove.
11201 * gdb.cp/pr-1553.exp: Disable this test.
11202
11203 2004-06-20 Jim Blandy <jimb@redhat.com>
11204
11205 Fix PR testsuite/1680.
11206 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11207 regular expressions.
11208
11209 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11210
11211 Fix PR testsuite/1679.
11212 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11213 Issue an UNSUPPORTED result instead.
11214
11215 2004-06-18 Jim Blandy <jimb@redhat.com>
11216
11217 * gdb.base/charset.exp: Only send a control-C if we see a new
11218 prompt and incomplete command.
11219
11220 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11221
11222 * gdb.cp/pr-574.cc: Add copyright notice.
11223
11224 2004-06-17 Jim Blandy <jimb@redhat.com>
11225
11226 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11227 cases where the regexp has no groups; this grabs random text from
11228 the previous test suite, whatever that was.
11229
11230 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11231
11232 * gdb.cp/printmethod.cc: Add copyright notice.
11233
11234 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11235
11236 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11237
11238 2004-06-16 Andrew Cagney <cagney@gnu.org>
11239
11240 * gdb.base/signull.c: Update copyright. Include <string.h>.
11241 (bowler): Replace data_pointer with data_read
11242 and data_write cases. Add code_descriptor case.
11243 (zero, desc): New array and pointer.
11244 (data, code): Change to simple pointers.
11245 * gdb.base/signull.exp: Fix probe pattern matching a function
11246 descriptor SIGSEGV. Replace data_pointer with data_read and
11247 data_write tests.
11248
11249 2004-06-16 Andrew Cagney <cagney@gnu.org>
11250
11251 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11252
11253 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11254
11255 * gdb.base/long_long.c: Add copyright notice.
11256
11257 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11258
11259 * gdb.base/long_long.exp: Remove reference to
11260 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11261 to gdb_breakpoint and gdb_continue_to_breakpoint.
11262
11263 2004-06-14 Jim Blandy <jimb@redhat.com>
11264
11265 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11266 endian case.
11267
11268 2004-06-14 Andrew Cagney <cagney@gnu.org>
11269
11270 * gdb.base/gcore.exp (capture_command_output): Delete the always
11271 passing tests containing inferior values.
11272 * gdb.base/ending-run.exp: Do not include the breakpoint address
11273 in the test message. Update copyright.
11274 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11275 size in the test name, use gdb_test_multiple. Update copyright.
11276
11277 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11278
11279 * gdb.cp/ref-types.cc: Add copyright notice.
11280
11281 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11282
11283 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11284 hp_aCC_compiler.
11285 * lib/compiler.cc: Likewise.
11286 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11287 'set' commands. Log diagnostics for other lines. Set
11288 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11289
11290 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11291
11292 * gdb.cp/try_catch.cc: Add copyright notice.
11293
11294 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11295
11296 * gdb.cp/userdef.cc: Add copyright notice.
11297
11298 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11299
11300 * gdb.cp/virtfunc.cc: Add copyright notice.
11301
11302 2004-06-11 Randolph Chung <tausq@debian.org>
11303
11304 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11305 problem.
11306
11307 2004-06-10 Andrew Cagney <cagney@gnu.org>
11308
11309 * lib/compiler.cc, lib/compiler.c: Append either
11310 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11311 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11312 instead of gcc-3-3.
11313
11314 2004-06-09 Andrew Cagney <cagney@gnu.org>
11315
11316 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11317 gdb/1455, bug is specific to "long long" and "double".
11318
11319 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11320 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11321 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11322 fixed.
11323
11324 2004-06-09 Andrew Cagney <cagney@gnu.org>
11325
11326 * gdb.base/structs.exp (test_struct_returns): Replace
11327 "return_value_unknown" and "finish_value_unknown" by
11328 "return_value_known" and "finish_value_known". Instead of
11329 "return_value_unknown" iff "finish_value_unknown", check
11330 "return_value_known" implies "finish_value_known".
11331
11332 2004-06-08 Martin Hunt <hunt@redhat.com>
11333
11334 * gdb.base/float.exp: Add pattern for mips targets.
11335
11336 2004-06-08 Randolph Chung <tausq@debian.org>
11337
11338 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11339 message for unknown architectures more clear.
11340
11341 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11342
11343 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11344 start the execution of the program.
11345
11346 2004-06-07 Jim Blandy <jimb@redhat.com>
11347
11348 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11349 * gdb.arch/i386-cpuid.h: New helper file.
11350
11351 2004-06-07 Randolph Chung <tausq@debian.org>
11352
11353 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11354 has started.
11355
11356 2004-06-04 Roland McGrath <roland@redhat.com>
11357
11358 Fix PR gdb/1647.
11359 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11360 differently to be robust to output buffering differences.
11361
11362 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11363
11364 * gdb.threads/pthreads.exp: Update copyright years.
11365 (check_control_c): Change asynchronous 'after' to synchronous.
11366
11367 2004-06-04 Roland McGrath <roland@redhat.com>
11368
11369 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11370 next gdb prompt.
11371
11372 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11373
11374 Fix PR gdb/1636.
11375 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11376 calls to synchronous.
11377
11378 2004-05-26 Jim Blandy <jimb@redhat.com>
11379
11380 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11381
11382 2004-05-24 Randolph Chung <tausq@debian.org>
11383
11384 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11385 * gdb.asm/pa.inc: New file.
11386
11387 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11388
11389 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11390
11391 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11392 Daniel Jacobowitz <drow@mvista.com>
11393
11394 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11395 GDB prompt.
11396
11397 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11398
11399 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11400 setjmp/longjmp. Use sigaction instead of signal.
11401
11402 2004-05-19 J. Brobecker <brobecker@gnat.com>
11403 Michael Snyder <msnyder@redhat.com>
11404
11405 * gdb.threads/pthread_cond_wait.c: New file.
11406 * gdb.threads/pthread_cond_wait.exp: New testcase.
11407
11408 2004-05-13 Andrew Cagney <cagney@redhat.com>
11409
11410 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11411 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11412
11413 2004-05-11 Andrew Cagney <cagney@redhat.com>
11414
11415 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11416 fixed but revealed gdb/1639.
11417
11418 2004-05-10 Andrew Cagney <cagney@redhat.com>
11419
11420 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11421 func1" and "next to 2nd alarm", kernel bug avoided.
11422
11423 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11424
11425 PR external/1568
11426 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11427 XFAIL if it is smaller than bytes_allocated.
11428 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11429 (main): Make chunks_allocated unsigned. Correct comment.
11430
11431 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11432
11433 * gdb.arch/powerpc-aix-prologue.c: New file.
11434 * gdb.arch/powerpc-aix-prologue.exp: New file.
11435
11436 2004-05-07 Jim Blandy <jimb@redhat.com>
11437
11438 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11439 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11440
11441 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11442
11443 * gdb.base/sep.exp: No longer setup_kfail when the program was
11444 built with dwarf2.
11445
11446 2004-05-05 Jim Ingham <jingham@apple.com>
11447
11448 * gdb.base/pending.exp: Make sure pending breakpoints
11449 preserve the ignore count.
11450
11451 2004-04-27 Jerome Guitton <guitton@gnat.com>
11452
11453 * i386-prologue.exp: Add testcase for jump instruction as first
11454 instruction of the real code.
11455 * i386-prologue.c (jump_at_beginning): New function.
11456
11457 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11458
11459 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11460 x86_64-*-*.
11461
11462 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11463
11464 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11465 i*86-*-*.
11466
11467 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11468
11469 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11470 expression that checks the return type.
11471
11472 2004-04-23 Andrew Cagney <cagney@redhat.com>
11473
11474 * gdb.base/call-sc.exp: New test of scalar call/return values.
11475 * gdb.base/call-sc.c: Ditto.
11476
11477 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11478
11479 * gdb.threads/manythreads.c: Reduce thread stack size.
11480
11481 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11482
11483 * gdb.threads/manythreads.c: Add copyright notice.
11484
11485 2004-04-23 Andrew Cagney <cagney@redhat.com>
11486
11487 * gdb.base/siginfo.exp: Better handle step out of signal.
11488 * gdb.base/sigstep.exp: Ditto.
11489
11490 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11491 Daniel Jacobowitz <drow@mvista.com>
11492
11493 * gdb.threads/manythreads.c: New testcase.
11494 * gdb.threads/manythreads.exp: Ditto.
11495
11496 2004-04-22 Jim Blandy <jimb@redhat.com>
11497
11498 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11499 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11500
11501 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11502
11503 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11504
11505 2004-04-21 Andrew Cagney <cagney@redhat.com>
11506
11507 * gdb.base/sigstep.c: New file.
11508 * gdb.base/sigstep.exp: New file.
11509
11510 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11511
11512 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11513 call to observer_notify_normal_stop.
11514
11515 2004-04-15 Andrew Cagney <cagney@redhat.com>
11516
11517 * gdb.base/siginfo.c: New file.
11518 * gdb.base/siginfo.exp: New file.
11519
11520 2004-04-12 J. Brobecker <brobecker@gnat.com>
11521
11522 * gdb.base/sep.exp: Fix typo in comment.
11523
11524 2004-04-12 J. Brobecker <brobecker@gnat.com>
11525
11526 * gdb.base/sep.c: New file.
11527 * gdb.base/sep-proc.c: New file.
11528 * gdb.base/sep.exp: New testcase.
11529
11530 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11531
11532 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11533 support.
11534
11535 2004-04-05 Andrew Cagney <cagney@redhat.com>
11536
11537 * gdb.base/sigaltstack.c: New file.
11538 * gdb.base/sigaltstack.exp: New file.
11539
11540 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11541
11542 * gdb.base/foll-fork.exp: Update the expected output for
11543 "help set follow-fork-mode", to match a change that was made
11544 to the help of this variable on 2004-01-13.
11545
11546 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11547
11548 * lib/ada.exp: Add copyright notice.
11549 * bar.ads: Likewise.
11550 * bar.adb: Likewise.
11551 * null_record.adb: Likewise.
11552 * null_record.exp: Likewise.
11553 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11554
11555 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11556
11557 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11558 * configure: Regenerate.
11559
11560 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11561
11562 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11563 to build the application. Remove the message printed when in
11564 verbose mode, redundant with the UNSUPPORTED message above.
11565
11566 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11567
11568 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11569 * gdb.ada (null_record.exp): New testcase.
11570
11571 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11572
11573 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11574
11575 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11576
11577 * gdb.ada: New subdirectory.
11578 * gdb.ada/Makefile.in: New file.
11579 * gdb.ada/gnat_ada.gpr.in: New file.
11580
11581 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11582
11583 * lib/ada.exp: New file.
11584
11585 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11586
11587 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11588 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11589
11590 2004-03-22 Andrew Cagney <cagney@redhat.com>
11591
11592 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11593 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11594 Problem identified by Ulrich Weigand.
11595
11596 2004-03-17 David Carlton <carlton@kealia.com>
11597
11598 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11599 PR c++/826.
11600
11601 2004-03-16 Roland McGrath <roland@redhat.com>
11602
11603 * gdb.base/auxv.exp: New file.
11604 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11605
11606 2004-03-12 David Carlton <carlton@kealia.com>
11607
11608 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11609 * gdb.cp/pr-1553.cc: Ditto.
11610 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11611 pass branch.
11612
11613 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11614
11615 * gdb.cp/templates.exp: Accept more template types.
11616
11617 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11618
11619 From Corinna Vinschen with modifications.
11620 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11621 local variable obj_with_enum.
11622 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11623 results with obj_with_enum.
11624
11625 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11626
11627 * gdb.cp/classes.cc: New file, copied from misc.cc.
11628 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11629
11630 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11631
11632 * gdb.cp/misc.cc: Add copyright notice.
11633
11634 2004-03-05 David Carlton <carlton@kealia.com>
11635
11636 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11637 * gdb.cp/rtti.h: Update copyright.
11638 (namespace n2::n3): New.
11639 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11640 (n2::n3::func3): New.
11641 (main): Call n2::n3::func3.
11642 * gdb.cp/rtti2.cc: Update copyright.
11643 (n2::create3): New.
11644
11645 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11646
11647 * gdb.asm/openbsd.inc: Fix typo.
11648
11649 2004-03-03 Fred Fish <fnf@redhat.com>
11650
11651 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11652 "val" instead of unused "size". Update copyright year.
11653
11654 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11655
11656 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11657 to use unsigned char.
11658 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11659 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11660
11661 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11662
11663 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11664 line of output.
11665
11666 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11667
11668 * gdb.base/relocate.c (dummy): Initialize.
11669
11670 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11671
11672 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11673 a breakpoint at exit.
11674
11675 2004-02-27 Fred Fish <fnf@redhat.com>
11676
11677 * gdb.base/chng-syms.exp: Add expect condition to match failing
11678 case that isn't a timeout.
11679
11680 2004-02-27 Andrew Cagney <cagney@redhat.com>
11681
11682 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11683 support.
11684
11685 2004-02-26 Fred Fish <fnf@redhat.com>
11686
11687 * gdb.arch/gdb1431.c: Remove.
11688 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11689 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11690 of "until" incorrectly.
11691
11692 2004-02-26 J. Brobecker <brobecker@gnat.com>
11693
11694 * gdb.cp/class2.cc (empty): New class.
11695 (refer): New function.
11696 (main): Declare an object of type empty and use it.
11697 * gdb.cp/class2.exp: Print the value of an object of type empty.
11698
11699 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11700
11701 * gdb.base/langs.exp: Update query string to match the
11702 new nquery format used for pending breakpoints.
11703
11704 2004-02-26 Andrew Cagney <cagney@redhat.com>
11705
11706 Fix PR i18n/1570.
11707 * gdb.base/charset.c: Update copyright notice.
11708 (main, init_string): Remove the escape character '\e' tests.
11709 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11710 * gdb.base/charset.exp (valid_host_charset): Ditto.
11711 * gdb.base/setvar.exp: Ditto.
11712
11713 2004-02-24 Andrew Cagney <cagney@redhat.com>
11714
11715 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11716 mmapped data in core file" PASS and FAIL messages consistent.
11717
11718 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11719 setting a breakpoint. Work around PR java/1565.
11720
11721 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11722
11723 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11724 new nquery format.
11725 * gdb.base/pending.exp: Ditto.
11726
11727 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11728
11729 * configure.in: Run stabs tests on *BSD.
11730 * configure: Regenerated.
11731
11732 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11733
11734 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11735
11736 2004-02-20 Fred Fish <fnf@redhat.com>
11737
11738 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11739 blank in test for "returns short", for consistency with other
11740 "returns xxx" tests. Update copyright year.
11741
11742 2004-02-19 Fred Fish <fnf@redhat.com>
11743
11744 New testcase for PR breakpoint/1558.
11745 * gdb.arch/gdb1558.exp: New file.
11746 * gdb.arch/gdb1558.c: New file.
11747
11748 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11749
11750 * gdb.base/nodebug.exp: Fix typo.
11751
11752 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11753
11754 Committed by Jim Blandy <jimb@redhat.com>.
11755
11756 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11757
11758 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11759
11760 * gdb.base/float.exp: Support s390*-*-* targets.
11761
11762 2004-02-17 Adam Fedor <fedor@gnu.org>
11763
11764 * gdb.base/gdb1555.exp: New file.
11765 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11766
11767 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11768
11769 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11770
11771 2004-02-16 Fred Fish <fnf@redhat.com>
11772
11773 * gdb.arch/gdb1291.c: Remove
11774 * gdb.arch/gdb1291.s: New test input file.
11775 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11776 fail. Test for correct result, known incorrect result, other
11777 failures and timeouts.
11778
11779 2004-02-16 Andrew Cagney <cagney@redhat.com>
11780
11781 * gdb.base/bigcore.exp: New file.
11782 * gdb.base/bigcore.c: New file.
11783
11784 2004-02-13 Andrew Cagney <cagney@redhat.com>
11785
11786 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11787 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11788 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11789 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11790 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11791 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11792 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11793 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11794 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11795 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11796
11797 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11798
11799 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11800 executed is an alloc instruction.
11801
11802 2004-02-11 David Carlton <carlton@kealia.com>
11803
11804 * gdb.cp/breakpoint.exp: New.
11805 * gdb.cp/breakpoint.cc: New.
11806
11807 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11808
11809 Partial fix for PR gdb/1543.
11810 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11811 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11812 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11813 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11814 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11815 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11816 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11817 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11818 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11819 to bug-gdb@prep.ai.mit.edu .
11820 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11821 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11822 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11823 Likewise.
11824
11825 2004-02-10 Andrew Cagney <cagney@redhat.com>
11826
11827 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11828 using gdb_internal_error_resync.
11829
11830 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11831
11832 * gdb.threads/thread-specific.exp: Stop early if no threads are
11833 found.
11834
11835 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11836
11837 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11838
11839 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11840
11841 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11842 breakpoints.
11843
11844 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11845
11846 * config/sim.exp (gdb_load): Handle $arg == "".
11847 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11848 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11849
11850 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11851
11852 * gdb.base/maint.exp: Update test to reflect
11853 obstack changes.
11854
11855 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11856
11857 * gdb.base/pendshr.c (pendfunc): New function that calls
11858 pendfunc1.
11859 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11860
11861 2004-02-04 Fred Fish <fnf@redhat.com>
11862
11863 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11864 function symbols and update copyright years.
11865 * gdb.arch/gdb1291.c: Ditto.
11866
11867 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11868
11869 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11870
11871 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11872
11873 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11874
11875 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11876
11877 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11878
11879 2004-02-02 Fred Fish <fnf@redhat.com>
11880
11881 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11882 remote targets. Update copyright years.
11883
11884 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11885
11886 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11887 support.
11888 * gdb.base/langs.exp: Fix test which attempts to create
11889 breakpoint on non-existent function to handle new pending
11890 support.
11891 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11892 a breakpoint.
11893 * gdb.base/pending.exp: New test.
11894 * gdb.base/pending.c: New file.
11895 * gdb.base/pendshr.c: Ditto.
11896
11897 2004-02-02 David Carlton <carlton@kealia.com>
11898
11899 * gdb.cp/overload.exp: Add overloadNamespace tests.
11900 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11901 (overloadNamespace, XXX): New.
11902 (main): Call XXX::marker2.
11903
11904 2004-02-01 Fred Fish <fnf@redhat.com>
11905
11906 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11907 * gdb.base/finish.exp: Ditto.
11908 * gdb.base/gcore.exp: Ditto.
11909 * gdb.base/huge.exp: Ditto.
11910 * gdb.base/info-proc.exp: Ditto.
11911 * gdb.base/return2.exp: Ditto.
11912 * gdb.threads/gcore-thread.exp: Ditto.
11913
11914 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11915
11916 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11917
11918 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11919
11920 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11921 that opening the file succeeds on OpenBSD.
11922
11923 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11924
11925 * gdb.threads/thread-specific.c: New file.
11926 * gdb.threads/threads-specific.exp: New test script.
11927 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11928 to expect_out.
11929
11930 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11931
11932 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11933 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11934 only on the "print_small_structs from print_long_arg_list" test.
11935
11936 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11937
11938 * gdb.base/completion.exp: Kill a stray backslash.
11939
11940 From Jim Ingham <jingham@apple.com>:
11941 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11942 agrees with the result from sending a tab.
11943
11944 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
11945
11946 * gdb.base/chng-syms.exp: Remove stray newline.
11947
11948 2004-01-31 Mark Kettenis <kettenis@gnu.org>
11949
11950 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11951 *-*-openbsd*.
11952 * gdb.asm/openbsd.inc: New file.
11953
11954 2004-01-30 Mark Kettenis <kettenis@gnu.org>
11955
11956 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11957 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11958 *-*solaris2*. Remove commented out default settings for
11959 asm-flags. Replace gdb_compile with target_link.
11960
11961 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11962
11963 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11964 for all tests. Remove old hp-ux and cygnus xfail cases.
11965
11966 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11967
11968 * gdb.base/chng-syms.exp: New file.
11969 * gdb.base/chng-syms.c: New file.
11970
11971 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11972
11973 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11974 Provide arms for current output in all my configurations.
11975
11976 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11977
11978 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11979 * lib/compiler.cc: Likewise.
11980 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11981 get the right preprocessor. Eval the output directly. Remove
11982 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11983 hp_f77_compiler and hp_f90_compiler completely.
11984 (gdb_preprocess): Delete.
11985 (get_compiler): Delete.
11986
11987 2004-01-24 Mark Kettenis <kettenis@gnu.org>
11988
11989 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11990 <string.h>.
11991
11992 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
11993
11994 * gdb.mi/mi-stack.exp: Update copyright.
11995
11996 2004-01-23 David Carlton <carlton@kealia.com>
11997
11998 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11999 test for cp_lookup_transparent_type.
12000 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12001 call them.
12002
12003 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12004
12005 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12006 after -var-update.
12007
12008 2004-01-23 David Carlton <carlton@kealia.com>
12009
12010 * gdb.cp/namespace.cc (C::ensureRefs): New.
12011 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12012
12013 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12014
12015 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12016 case "-stack-list-locals 2".
12017 * gdb.mi/mi-var-child.exp: Test for case
12018 "-var-list-children --all-values NAME".
12019
12020 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12021
12022 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12023
12024 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12025
12026 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12027 used with gdb_test_multiple.
12028
12029 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12030 read at address 0. This fixes PR testsuite/1504.
12031
12032 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12033
12034 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12035 Remove downloading, guessing the host executable, the calls to
12036 gdb_file_cmd and gdb_target_cmd, and "load" support.
12037 (infer_host_exec): New function broken out from gdb_load.
12038 (gdb_load): New wrapper for gdbserver_gdb_load.
12039 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12040 gdb_target_cmd. Use -target-select.
12041 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12042 Download binaries to the host. Clear last_mi_remote_file when
12043 we load a new binary.
12044 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12045 call gdbserver_gdb_load and mi_gdb_target_cmd.
12046
12047 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12048
12049 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12050 type patterns.
12051
12052 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12053
12054 * gdb.cp/templates.exp: Fix typo in test name of
12055 "print Foo<volatile char*>::foo".
12056
12057 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12058
12059 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12060
12061 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12062
12063 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12064 (clean mostlyclean): Remove empty rm.
12065
12066 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12067
12068 * gdb.base/setvar.exp: Add copyright years.
12069
12070 2004-01-14 David Carlton <carlton@bactrian.org>
12071
12072 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12073 PR c++/1511 and update coment.
12074 * gdb.cp/templates.exp: Update patterns to match current output.
12075 If changes involve something other than whitespace, KFAIL
12076 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12077
12078 2004-01-14 David Carlton <carlton@kealia.com>
12079
12080 * gdb.cp/namespace.exp: Add tests involving classes defined within
12081 namespaces.
12082 * gdb.cp/namespace.cc (C::CClass): New.
12083 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12084
12085 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12086
12087 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12088 what debug info we have. Print a better message if something goes
12089 wrong while producing the separate debug info file.
12090
12091 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12092
12093 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12094
12095 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12096
12097 * gdb.base/callfuncs.c: Add copyright notice.
12098
12099 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12100
12101 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12102 inheritance. PR gdb/1498, PR gcc/13539.
12103
12104 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12105
12106 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12107 test specific name.
12108 * gdb.mi/gdb669.exp: Ditto.
12109 * gdb.mi/mi-pthreads.exp: Ditto.
12110 * gdb.mi/mi1-pthreads.exp: Ditto.
12111 * gdb.mi/mi2-pthreads.exp: Ditto.
12112
12113 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12114
12115 * gdb.cp/member-ptr.cc: Add copyright notice.
12116
12117 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12118
12119 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12120 some patterns for recent versions of gcc and hpacc. Delete
12121 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12122 Delete tests that access a NULL pointer-to-member-data. This
12123 script is still disabled for gcc.
12124
12125 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12126
12127 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12128 escaped correctly.
12129
12130 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12131
12132 * gdb.base/sepdebug.exp: New file.
12133 * gdb.base/sepdebug.c: New file.
12134 * lib/gdb.exp (separate_debug_filename): New procedure.
12135 (gdb_gnu_strip_debug): New procedure.
12136
12137 2004-01-12 Andrew Cagney <cagney@redhat.com>
12138
12139 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12140 * gdb.mi/ChangeLog-1999-2003: New file.
12141
12142 2004-01-12 Andrew Cagney <cagney@redhat.com>
12143
12144 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12145 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12146 or EEXIST", treat EBUSY as an XFAIL.
12147
12148 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12149
12150 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12151 hp_cc_compiler.
12152
12153 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12154
12155 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12156 decorations.
12157
12158 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12159
12160 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12161 and "(aCC)" decorations. Remove obsolete doco about old
12162 test results.
12163
12164 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12165
12166 * gdb.cp/exception.exp: Fix typo in doco.
12167
12168 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12169
12170 * gdb.base/gdb1476.exp: Fix typo.
12171
12172 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12173
12174 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12175 file.
12176
12177 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12178
12179 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12180 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12181 Use gdb_compile. Remove restriction on gcc. Add some patterns
12182 for recent version of gdb. Delete second half, which was a copy
12183 of the first half with different build flags. This test is
12184 still disabled because it is still not ready for production.
12185
12186 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12187
12188 * gdb.cp/exception.cc: Add copyright notice.
12189 * gdb.cp/exception.exp: Add a notice that this file is broken
12190 because of line number changes caused by addition of copyright
12191 notice.
12192
12193 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12194
12195 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12196 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12197
12198 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12199
12200 * gdb.cp/classes.exp: Accept gnu abi 2.
12201 * gdb.cp/derivation.exp: Likewise.
12202 * gdb.cp/overload.exp: Likewise.
12203 * gdb.cp/virtfunc.exp: Likewise.
12204
12205 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12206
12207 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12208 semicolon after end of function.
12209
12210 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12211
12212 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12213 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12214 boilerplate code for compiling and running the program under
12215 test. Add some string method tests.
12216
12217 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12218
12219 * gdb.cp/bs15503.cc: Add copyright notice.
12220 * gdb.cp/bs15503.exp: Adjust line number.
12221
12222 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12225 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12226
12227 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12228
12229 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12230 hp_cc_compiler.
12231
12232 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12233
12234 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12235 * gdb.cp/ctti.exp: Use the marker instead of "next".
12236 With gcc, run further before bailing.
12237
12238 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12239
12240 * gdb.cp/cttiadd.cc: Add copyright notice.
12241 * gdb.cp/cttiadd1.cc: Likewise.
12242 * gdb.cp/cttiadd2.cc: Likewise.
12243 * gdb.cp/cttiadd3.cc: Likewise.
12244
12245 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12246
12247 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12248 Use gdb_test, gdb_test_multiple. Use floating-point values that
12249 have exact representations in IEEE-ish formats.
12250
12251 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12252
12253 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12254 compilers. Delete duplicate call to get_compiler_info.
12255 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12256 * gdb.base/volatile.exp: Likewise.
12257
12258 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12259
12260 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12261 memory at address 0.
12262
12263 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12264
12265 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12266 to test for hp-ux assembler. Fix copyright years.
12267
12268 2004-01-07 Andrew Cagney <cagney@redhat.com>
12269
12270 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12271
12272 2004-01-07 Andrew Cagney <cagney@redhat.com>
12273
12274 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12275 when creating the read-only file. From analysis by Roland McGrath
12276 and Elena Zannoni.
12277
12278 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12279
12280 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12281
12282 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12283
12284 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12285 data pointers.
12286
12287 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12288
12289 * gdb.cp/m-static.exp: Compile one source file at a time.
12290 Delete unused call to get_compiler_info.
12291
12292 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12293
12294 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12295 * gdb.base/call-rt-st.exp: Likewise.
12296 * gdb.base/nodebug.exp: Likewise.
12297 * gdb.base/volatile.exp: Likewise.
12298 * gdb.cp/ref-types.exp: Likewise.
12299 * gdb.cp/templates.exp: Likewise.
12300
12301 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12302
12303 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12304
12305 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12306
12307 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12308 hppa*-hp-hpux*.
12309
12310 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12311
12312 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12313 x86_64-*-*.
12314
12315 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12316 sparc64-*-* and sparc*-solaris2*.
12317
12318 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12319
12320 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12321 return ${tests}" test. The ${tests} already mentions the
12322 filename.
12323
12324 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * gdb.cp/local.exp: Accept gcc abi 2.
12327
12328 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12329
12330 * gdb.cp/templates.exp: Accept gcc abi 2.
12331
12332 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12333
12334 * lib/compiler.cc: Remove supports_template_debugging.
12335 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12336
12337 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12338
12339 * gdb.cp/namespace.exp: Accept gcc abi 2.
12340
12341 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12342
12343 * gdb.cp/method.exp: Accept gcc abi 2.
12344
12345 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12346
12347 * gdb.cp/classes.exp: Generate identical results as old version.
12348 * gdb.cp/derivation.exp: Likewise.
12349 * gdb.cp/overload.exp: Likewise.
12350 * gdb.cp/virtfunc.exp: Likewise.
12351
12352 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12353
12354 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12355 mysterious bug with sourceware version of expect.
12356
12357 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12358
12359 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12360 current versions of gcc, including gcc abi 2. Remove gratuitous
12361 restart of test program. Use gdb_test_multiple and gdb_test for
12362 all tests. Add patterns to xfail missing "const" in "const char *"
12363 and kfail PR gdb/1155.
12364
12365 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12366
12367 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12368 current versions of gcc, including gcc abi 2. Remove gratuitous
12369 restart of test program. Use gdb_test_multiple and gdb_test for
12370 all tests. Add patterns to kfail PR gdb/1498.
12371
12372 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12373
12374 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12375 current versions of gcc, including gcc abi 2. Use "breakpoint"
12376 and "continue" instead of restarting the target program. Use
12377 gdb_test_multiple and gdb_test for all tests.
12378
12379 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12380
12381 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12382 for *-*-solaris2*.
12383
12384 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12385
12386 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12387 current versions of gcc, including gcc abi 2. Use "breakpoint"
12388 and "continue" instead of restarting the target program several
12389 times. Use gdb_test_multiple and gdb_test for all tests.
12390
12391 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12392
12393 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12394 source files.
12395
12396 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12397
12398 * gdb.base/environ.exp: Handle compiling test case from multiple
12399 source files.
12400
12401 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12402
12403 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12404
12405 2003-12-17 Jim Blandy <jimb@redhat.com>
12406
12407 * gdb.base/freebpcmd.c: Add copyright notice.
12408
12409 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12410
12411 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12412
12413 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12414
12415 2003-12-13 Jim Blandy <jimb@redhat.com>
12416
12417 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12418
12419 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12420
12421 * gdb.asm/frv.inc: New file.
12422 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12423
12424 2003-12-09 Fred Fish <fnf@redhat.com>
12425
12426 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12427 functions to break1.c and leave prototypes behind. Add more
12428 "set breakpoint NN here" comments.
12429 * gdb.base/break1.c: New file.
12430
12431 * gdb.base/break.exp: Handle compiling test case from multiple
12432 source files and change source file references as needed.
12433 * gdb.base/completion.exp: Ditto.
12434 * gdb.base/condbreak.exp: Ditto.
12435 * gdb.base/define.exp: Ditto.
12436 * gdb.base/ena-dis-br.exp: Ditto.
12437 * gdb.base/info-proc.exp: Ditto.
12438 * gdb.base/maint.exp: Ditto.
12439 * gdb.base/until.exp: Ditto.
12440
12441 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12442 hardcoded line numbers.
12443 * gdb.base/define.exp: Ditto.
12444 * gdb.base/ena-dis-br.exp: Ditto.
12445 * gdb.base/maint.exp: Ditto.
12446 * gdb.base/until.exp: Ditto.
12447
12448 * gdb.base/completion.exp: Use "break1" for completion tests since
12449 "break" is no longer a unique prefix.
12450
12451 2003-12-06 Andrew Cagney <cagney@redhat.com>
12452
12453 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12454 "return_value_unimplemented". When an unimplemented struct return
12455 architecture, report incorrect values as a KFAIL
12456
12457 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12458
12459 * gdb.cp/rtti.exp: Accept new wording of warning from
12460 cp_lookup_rtti_type.
12461
12462 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12463
12464 Partial fix for PR testsuite/1456.
12465 * gdb.base/scope.exp (test_at_main): Replace references to
12466 gcc_compiled with calls to test_compiler_info.
12467 (test_at_foo): Likewise.
12468 (test_at_bar): Likewise.
12469
12470 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12471
12472 Partial fix for PR testsuite/1456.
12473 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12474 to test_compiler_info.
12475
12476 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12477
12478 * gdb.base/so-impl-ld.exp: Update copyright notice.
12479
12480 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12481
12482 Partial fix for PR testsuite/1456.
12483 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12484 to test_compiler_info.
12485
12486 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12487
12488 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12489 from current versions of gdb. Clean up regular expressions.
12490 Delete redundant timeout case.
12491
12492 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12493
12494 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12495 from current versions of gdb. Clean up regular expressions.
12496 Delete redundant timeout case.
12497
12498 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12499
12500 Partial fix for PR testsuite/1456.
12501 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12502 gcc_compiled with call to test_compiler_info.
12503
12504 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12505
12506 Partial fix for PR testsuite/1456.
12507 * gdb.base/list.exp (test_list_function): Delete unused declaration
12508 of gcc_compiled.
12509
12510 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12511
12512 Partial fix for PR testsuite/1456.
12513 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12514 call to test_compiler_info.
12515
12516 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12517
12518 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12519 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12520 it to create the appropriate note.inc.
12521 * gdb.asm/asmsrc1.s: Include "note.inc".
12522 * gdb.asm/netbsd.inc: New file.
12523 * gdb.asm/empty.inc: New file.
12524
12525 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12526
12527 Partial fix for PR testsuite/1456.
12528 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12529 calls to test_compiler_info.
12530
12531 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12532
12533 Partial fix for PR testsuite/1456.
12534 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12535 calls to test_compiler_info.
12536
12537 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12538
12539 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12540 pattern for the KFAILs.
12541
12542 2003-11-25 Adam Fedor <fedor@gnu.org>
12543
12544 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12545 * gdb.objc/objcdecode.m: New file.
12546
12547 2003-11-25 Adam Fedor <fedor@gnu.org>
12548
12549 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12550 * gdb.objc/nondebug.m: New file.
12551
12552 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12553
12554 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12555 NetBSD as it does on FreeBSD. Modelled on a similar change by
12556 Mark Kettenis on 2003-05-30.
12557 (link-flags): Set to "--entry _start" regardless of target.
12558 Special linker flags are to be appended to $link-flags.
12559 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12560
12561 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12562
12563 * gdb.cp/method.exp: Accept output of new demangler.
12564
12565 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12566
12567 * gdb/class2.exp: New file.
12568 * gdb/class2.cc: New file.
12569
12570 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12571
12572 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12573 of new demangler.
12574
12575 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12576
12577 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12578 of gdb_test "run".
12579
12580 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12581
12582 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12583 "continue" into "run".
12584
12585 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12586
12587 Partial fix for PR testsuite/1456.
12588 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12589 call to test_compiler_info.
12590 * gdb.cp/ctti.exp: Likewise.
12591 * gdb.cp/derivation.exp: Likewise.
12592 * gdb.cp/member-ptr.exp: Likewise.
12593 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12594 reference to gcc_compiled.
12595
12596 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12597
12598 Fix PR testsuite/1463.
12599 * gdb.base/structs.exp (start_structs_test): Call
12600 get_debug_format before using the debug format.
12601
12602 2003-11-22 Andrew Cagney <cagney@redhat.com>
12603
12604 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12605 * gdb.base/structs.exp: Use gdb_test_multiple.
12606
12607 2003-11-20 Andrew Cagney <cagney@redhat.com>
12608
12609 * gdb.base/structs.exp: Handle and recover from internal errors.
12610 Replace "foo${n}" with "foo<n>" in test messages.
12611
12612 * gdb.base/structs.exp: Update copyright. Rewrite.
12613 * gdb.base/structs.c: Update copyright. Rewrite.
12614
12615 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12616 resync count exceeded.
12617
12618 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12619 from the internal error.
12620 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12621 Original from Jim Blandy.
12622 (gdb_test_multiple): Use gdb_internal_error_resync.
12623
12624 2003-11-19 Andrew Cagney <cagney@redhat.com>
12625
12626 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12627 KFAIL.
12628
12629 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12630
12631 New testcase for PR backtrace/1435.
12632 * gdb.arch/i386-unwind.exp: New file.
12633 * gdb.arch/i386-unwind.c: New file.
12634
12635 2003-11-17 Andrew Cagney <cagney@redhat.com>
12636
12637 * lib/gdb.exp (compiler_info): New global.
12638 (test_compiler_info): New function.
12639 (get_compiler_info): Set compiler_info.
12640 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12641 "compiler_info" to gcc-<major>-<minor>.
12642
12643 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12644
12645 * gdb.trace/configure: Remove.
12646
12647 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12648
12649 * gdb.base/break.c: Add comments to aid finding line numbers for
12650 breakpoints.
12651 * gdb.base/break.exp: Remove all references to explicit line
12652 numbers.
12653
12654 2003-11-11 Nick Clifton <nickc@redhat.com>
12655
12656 * gdb.base/shreloc.exp: Do not run for targets which do not
12657 support shared objects.
12658
12659 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12660
12661 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12662 Don't run tests if nofileio flag is given.
12663
12664 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12665
12666 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12667 as well as 'Watchpoint'.
12668
12669 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12670
12671 Reported by Jim Ingham <jingham@apple.com>:
12672 * gdb.base/annota1.exp: Match at least one occurrence of the
12673 signal handler annotation.
12674
12675 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12676
12677 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12678 as well as 'Watchpoint'.
12679
12680 2003-11-05 Michael Chastain <mec@shout.net>
12681
12682 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12683
12684 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12685
12686 * gdb.arch/gdb1291.c: New test file.
12687 * gdb.arch/gdb1291.exp: New test script.
12688 * gdb.arch/gdb1431.c: New test file.
12689 * gdb.arch/gdb1431.exp: New test script.
12690
12691 2003-10-22 Michael Chastain <mec@shout.net>
12692
12693 * gdb.mi/pthreads.c: Add copyright notice.
12694
12695 2003-10-22 Michael Chastain <mec@shout.net>
12696
12697 * gdb.threads/pthreads.c: Add copyright notice.
12698
12699 2003-10-20 Michael Chastain <mec@shout.net>
12700
12701 * gdb.base/gdb1056.exp: New test script.
12702
12703 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12704
12705 * gdb.threads/killed.exp: Use gdb_run_cmd.
12706
12707 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12708
12709 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12710 create a core file.
12711 * gdb.threads/gcore-thread.exp: Likewise.
12712
12713 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12714
12715 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12716 type, based on char type.
12717 (struct bit_flags_short_t): New bitfield type, based on short type.
12718 (init_bit_flags_char): New fuction.
12719 (init_bit_flags_short): Ditto.
12720 (print_bit_flags_char): Ditto.
12721 (print_bit_flags_short): Ditto.
12722 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12723
12724 2003-10-11 Michael Chastain <mec@shout.net>
12725
12726 * gdb.base/call-rt-st.exp: Update copyright year.
12727
12728 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12729
12730 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12731 * gdb.disasm/sh3.s: Ditto.
12732
12733 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12734
12735 * gdb.threads/switch-threads.exp: New test.
12736 * gdb.threads/switch-threads.c: New source file.
12737
12738 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12739
12740 * gdb.base/ending-run.exp: Add sh specific case.
12741
12742 2003-10-06 Andrew Cagney <cagney@redhat.com>
12743
12744 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12745 * gdb.disasm/mn10200.exp: Delete obsolete file.
12746
12747 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12748
12749 * ChangeLog: Correct an entry command.exp -> commands.exp.
12750 * gdb.base/commands.exp (bp_deleted_in_command_test)
12751 (temporary_breakpoint_commands): Check noargs.
12752
12753 2003-09-25 David Carlton <carlton@kealia.com>
12754
12755 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12756 of some print tests, where appropriate. Add tests for C::D::cd,
12757 E::ce, F::cXfX, G::XgX.
12758 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12759
12760 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12761
12762 * lib/java.exp (java_init): Import target_alias before using it.
12763
12764 2003-09-25 David Carlton <carlton@kealia.com>
12765
12766 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12767
12768 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12769
12770 * gdb.base/selftest.exp: Accomodate more instruction reordering
12771 weirdness.
12772
12773 2003-09-17 Michael Chastain <mec@shout.net>
12774
12775 * gdb.cp/gdb1355.exp: New file.
12776 * gdb.cp/gdb1355.c: New file.
12777
12778 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12779
12780 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12781 * gdb.asm/sh.inc: New file.
12782
12783 2003-09-11 David Carlton <carlton@kealia.com>
12784
12785 * gdb.cp/namespace.exp: Add tests for namespace types.
12786 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12787 (test_namespace): New.
12788
12789 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12790
12791 * gdb.base/relocate.exp: Handle new gdb output at startup.
12792 * gdb.stabs/weird.exp: Ditto.
12793
12794 2003-09-08 Michael Chastain <mec@shout.net>
12795
12796 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12797
12798 2003-09-07 Michael Chastain <mec@shout.net>
12799
12800 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12801 'parse error'.
12802
12803 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12804
12805 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12806
12807 2003-08-30 Michael Chastain <mec@shout.net>
12808
12809 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12810 * gdb.gdb/observer.exp: Ditto.
12811 * gdb.gdb/xfullpath.exp: Ditto.
12812
12813 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12814
12815 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12816 *-*-*bsd*.
12817
12818 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12819
12820 * gdb.base/dump.exp: Skip for ia64.
12821
12822 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12823
12824 * gdb.asm/asm-source.exp: Add ia64 support.
12825 * gdb.asm/ia64.inc: New file.
12826
12827 2003-08-22 Michael Chastain <mec@shout.net>
12828
12829 * gdb.cp: New directory.
12830 * gdb.cp/*: Copy from gdb.c++/*.
12831 * gdb.c++/*: Remove.
12832 * Makefile.in: Change gdb.c++ to gdb.cp.
12833 * configure.in: Ditto.
12834 * configure: Regnerate.
12835
12836 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12837
12838 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12839 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12840
12841 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12842
12843 * mi-var-display.exp (-var-list-children weird): Accept function
12844 pointers with argument types.
12845 * mi1-var-display.exp (-var-list-children weird): Likewise.
12846 * mi2-var-display.exp (-var-list-children weird): Likewise.
12847
12848 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12849
12850 * gdb.base/annota3.exp: Add missing newline.
12851
12852 2003-08-06 Michael Chastain <mec@shout.net>
12853
12854 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12855
12856 2003-08-12 Michael Snyder <msnyder@redhat.com>
12857
12858 * gdb.base/float.exp: Add test for SH.
12859
12860 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12861
12862 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12863
12864 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12865
12866 * gdb.base/completion.exp: Remove reduntant completion test
12867 on filename.
12868
12869 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12870
12871 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12872 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12873 gdb.trace/save-trace.exp: Make sure that full pathnames are
12874 escaped correctly.
12875
12876 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12877
12878 * configure.in: Don't generate config.h from config.hin.
12879 * configure: Regenerate.
12880 * config.hin: Remove file.
12881 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12882 * gdb.threads/pthreads.c: Ditto.
12883
12884 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
12885
12886 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12887 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12888 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12889 Replace ld24 with seth/add3.
12890
12891 2003-08-02 Andrew Cagney <cagney@redhat.com>
12892
12893 * gdb.base/annota3.exp: New file.
12894 * gdb.base/annota3.c: New file.
12895 * gdb.c++/annota3.exp: New file.
12896 * gdb.c++/annota3.cc: New file.
12897
12898 2003-07-29 Michael Chastain <mec@shout.net>
12899
12900 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12901 actually failed.
12902 (do_pass): Likewise.
12903 * gdb.threads/tls.exp: Always initialize no_of_threads.
12904
12905 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12906
12907 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12908 pattern.
12909 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12910 * gdb.threads/tls.exp: Recognize one case of the host library not
12911 supporting TLS.
12912
12913 2003-07-27 Andrew Cagney <cagney@redhat.com>
12914
12915 * gdb.base/fileio.exp: Use SH when running commands using
12916 remote_exec.
12917
12918 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12919
12920 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12921 * gdb.base/relocate.c (dummy): New padding array.
12922
12923 2003-07-22 Michael Snyder <msnyder@redhat.com>
12924
12925 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
12926
12927 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12928 patterns to be more general, accepting old and new output.
12929 Some output chars (such as '+') also must be quoted.
12930 Some addresses are displayed numerically instead of
12931 symbolically.
12932
12933 2003-07-23 Michael Snyder <msnyder@redhat.com>
12934
12935 * gdb.base/return2.exp: Don't test long-long return.
12936
12937 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12938 * gdb.disasm/t01_mov.exp: Ditto.
12939 * gdb.disasm/t02_mova.s: Ditto.
12940 * gdb.disasm/t02_mova.exp: Ditto.
12941 * gdb.disasm/t03_add.s: Ditto.
12942 * gdb.disasm/t03_add.exp: Ditto.
12943 * gdb.disasm/t04_sub.s: Ditto.
12944 * gdb.disasm/t04_sub.exp: Ditto.
12945 * gdb.disasm/t05_cmp.s: Ditto.
12946 * gdb.disasm/t05_cmp.exp: Ditto.
12947 * gdb.disasm/t06_ari2.s: Ditto.
12948 * gdb.disasm/t06_ari2.exp: Ditto.
12949 * gdb.disasm/t07_ari3.s: Ditto.
12950 * gdb.disasm/t07_ari3.exp: Ditto.
12951 * gdb.disasm/t08_or.s: Ditto.
12952 * gdb.disasm/t08_or.exp: Ditto.
12953 * gdb.disasm/t09_xor.s: Ditto.
12954 * gdb.disasm/t09_xor.exp: Ditto.
12955 * gdb.disasm/t10_and.s: Ditto.
12956 * gdb.disasm/t10_and.exp: Ditto.
12957 * gdb.disasm/t11_logs.s: Ditto.
12958 * gdb.disasm/t11_logs.exp: Ditto.
12959 * gdb.disasm/t12_bit.s: Ditto.
12960 * gdb.disasm/t12_bit.exp: Ditto.
12961 * gdb.disasm/t13_otr.s: Ditto.
12962 * gdb.disasm/t13_otr.exp: Ditto.
12963
12964 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12965
12966 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12967
12968 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12969
12970 * gdb.threads/tls.c : New file.
12971 * gdb.threads/tls.exp : New file.
12972 * gdb.threads/tls-main.c : New file.
12973 * gdb.threads/tls-shared.c : New file.
12974 * gdb.threads/tls-shared.exp : New file.
12975
12976 2003-07-22 Andreas Schwab <schwab@suse.de>
12977
12978 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12979
12980 2003-07-20 Andreas Schwab <schwab@suse.de>
12981
12982 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12983 due to insn reordering.
12984
12985 2003-07-15 Andrew Cagney <cagney@redhat.com>
12986
12987 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12988
12989 2003-07-15 Michael Chastain <mec@shout.net>
12990
12991 * gdb.base/gdb1250.exp: New file.
12992 * gdb.base/gdb1250.c: New file.
12993
12994 2003-07-09 Michal Ludvig <mludvig@suse.cz>
12995
12996 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12997 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12998
12999 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13000
13001 * gdb.threads/tls.c: New file.
13002 * gdb.threads/tls.exp: New file.
13003 * gdb.threads/tls-main.c: New file.
13004 * gdb.threads/tls-shared.c: New file.
13005 * gdb.threads/tls-shared.exp: New file.
13006
13007 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13008
13009 * gdb.base/annota1.exp: Make sure that we properly escape the
13010 full path of the source file. Xfail more permissive patterns,
13011 due to a compiler debug info problem.
13012
13013 2003-07-07 Andreas Schwab <schwab@suse.de>
13014
13015 * gdb.asm/m68k.inc: New file.
13016 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13017
13018 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13019 arguments"): Also match negative number.
13020
13021 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13022
13023 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13024
13025 * gdb.base/store.c (charest): New typedef.
13026 (add_char): Rename to add_charest, update.
13027 (wack_char): Rename to wack_charest, update types. Return l + r
13028 to keep r live across the call.
13029 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13030 (wack_double, wack_doublest): Return l + r to keep r live across
13031 the call.
13032 * gdb.base/store.exp: Accomodate store.c changes.
13033
13034 2003-06-30 David Carlton <carlton@kealia.com>
13035
13036 * gdb.c++/maint.exp (test_invalid_name): New.
13037 (test_first_component): Add tests for invalid names.
13038
13039 2003-06-29 Michael Chastain <mec@shout.net>
13040
13041 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13042 output of '<VTT for class>' for virtual base classes.
13043
13044 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13045
13046 * gdb.base/completion.exp: Tab-complete "complet" instead of
13047 "compl".
13048 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13049
13050 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13051
13052 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13053 * gdb.base/volatile.exp: Likewise.
13054
13055 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13056
13057 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13058 gdb/1265.
13059
13060 2003-06-28 Michael Chastain <mec@shout.net>
13061 Daniel Jacobowitz <drow@mvista.com>
13062
13063 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13064 initial line count of 'captured_main' from 26 to 32.
13065 (test_with_self): Allow xmalloc call to be interleaved with the
13066 preceding two lines.
13067
13068 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13069
13070 * gdb.base/bang.exp: New testcase.
13071
13072 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13073
13074 * gdb.base/langs.exp: Add some tests for the "minimal" language
13075 support.
13076
13077 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13078
13079 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13080 the testcase.
13081
13082 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13083
13084 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13085 offset.
13086
13087 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13088
13089 * gdb.c++/pr-1210.cc: New file.
13090 * gdb.c++/pr-1210.exp: New file.
13091
13092 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13093
13094 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13095 000-exec-continue.
13096
13097 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13098
13099 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13100 on *-*-*bsd* instead of *-*-freebsd*.
13101
13102 2003-06-14 Andrew Cagney <cagney@redhat.com>
13103
13104 * gdb.base/store.exp: Test longest and doublest. Test all
13105 parameters. Weaken return statement match.
13106 * gdb.base/store.c: Add longest and doublest - aka long long and
13107 long double functions. Put all parameters into local register
13108 variables. Use negative values.
13109
13110 2003-06-14 Andrew Cagney <cagney@redhat.com>
13111
13112 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13113 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13114 exit status.
13115 * gdb.base/fileio.exp: Disable target when nointerrupts and
13116 noinferiorio, instead of limiting it to remote. Use remote_exec
13117 instead of system.
13118
13119 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13120
13121 * gdb.base/float.exp: Add ia64 support.
13122
13123 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13124
13125 * gdb.base/fileio.exp: Run only on remote targets.
13126
13127 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13128
13129 * gdb.base/fileio.c: New file, testing File-I/O.
13130 * gdb.base/fileio.exp: Ditto.
13131
13132 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13133
13134 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13135 shared objects after relocation at load time (gdb PR/1132).
13136 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13137 as above, part of the shared object relocation test.
13138
13139 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13140
13141 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13142 fully filled history list.
13143 * gdb.base/gdb_history: New file.
13144
13145 * gdb.base/signals.exp: XFAIL "continue to func1" on
13146 i*86-*-freebsd*.
13147
13148 * gdb.base/attach.exp: When trying to attach to a nonexistent
13149 process, make it possible to specify the PID based on the target,
13150 and do so for *-*-freebsd*.
13151
13152 2003-06-02 Richard Henderson <rth@redhat.com>
13153
13154 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13155
13156 2003-06-02 Richard Henderson <rth@redhat.com>
13157
13158 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13159
13160 2003-06-02 Richard Henderson <rth@redhat.com>
13161
13162 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13163
13164 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13165
13166 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13167 of globalvar.
13168
13169 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13170
13171 * gdb.asm/asm-source.exp: Check for memory read errors in
13172 disassembler test on *BSD too.
13173
13174 2003-06-01 Richard Henderson <rth@redhat.com>
13175
13176 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13177 for .frame.
13178 (gdbasm_call): Lose ldgp.
13179 (gdbasm_startup): Add frame information.
13180 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13181
13182 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13183
13184 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13185 i?86-*-*.
13186
13187 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13188
13189 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13190 FreeBSD.
13191
13192 2003-05-29 Richard Henderson <rth@redhat.com>
13193
13194 * gdb.asm/alpha.inc: New file.
13195 * gdb.asm/asm-source.exp: Use it.
13196
13197 2003-05-29 Jim Blandy <jimb@redhat.com>
13198
13199 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13200 'core.PID'.
13201
13202 2003-05-22 Jim Blandy <jimb@redhat.com>
13203
13204 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13205 backtrace.
13206
13207 2003-05-20 David Carlton <carlton@math.stanford.edu>
13208
13209 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13210 this time.
13211
13212 2003-05-19 David Carlton <carlton@bactrian.org>
13213
13214 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13215 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13216
13217 2003-05-19 David Carlton <carlton@bactrian.org>
13218
13219 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13220 namespace tests.
13221 Bump copyright date.
13222 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13223 (main): Call C::D::marker2.
13224 * gdb.c++/namespace1.cc: New file.
13225
13226 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13227
13228 Roland McGrath <roland@redhat.com>
13229 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13230 there is no manager thread.
13231
13232 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13233
13234 * gdb.threads/schedlock.exp: Remove assumption that all threads
13235 will run in a particular small time slice. Also ensure we break
13236 in one of the child threads rather than the main thread.
13237
13238 2003-05-07 Jim Blandy <jimb@redhat.com>
13239
13240 Add support for assembly source testing on the s390x.
13241 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13242 architecture.
13243 * gdb.asm/s390x.inc: New file.
13244
13245 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13246 succession of 'if' statements.
13247
13248 2003-05-05 Andrew Cagney <cagney@redhat.com>
13249
13250 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13251
13252 2003-05-05 Andrew Cagney <cagney@redhat.com>
13253
13254 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13255 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13256
13257 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13258
13259 * gdb.base/charset.exp: Update based on new behavior of set/show
13260 charset commands.
13261
13262 2003-05-01 Andrew Cagney <cagney@redhat.com>
13263
13264 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13265 variable do not give memory errors.
13266
13267 2003-04-30 Adam Fedor <fedor@gnu.org>
13268
13269 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13270 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13271 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13272 gdb.objc/basicclass.m: : New files
13273
13274 * lib/gdb.exp (gdb_compile_objc): New procedure.
13275
13276 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13277
13278 * gdb.base/signals.exp: Make backtrace tests more specific.
13279
13280 2003-04-23 David Carlton <carlton@bactrian.org>
13281
13282 * gdb.c++/maint.exp (test_first_component): Add tests for
13283 'operator' in more locations.
13284
13285 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13286
13287 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13288
13289 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13290
13291 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13292 func marke' instead. Update test name.
13293
13294 2003-04-15 David Carlton <carlton@math.stanford.edu>
13295
13296 * gdb.c++/maint.exp: New file.
13297
13298 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13299
13300 * gdb.threads/schedlock.c: Change type of thread function argument
13301 to long, to avoid warnings on 64-bit platforms.
13302
13303 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13304
13305 * gdb.base/attach.exp: Add new message from ptrace in case of
13306 attaching to nonexistent process.
13307
13308 2003-04-11 Jim Blandy <jimb@redhat.com>
13309
13310 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13311 gdb.c++/userdef.cc: Place comments on the lines to which the
13312 marker function might return.
13313 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13314 gdb.c++/userdef.exp: Look for those comments to check that we've
13315 returned to the right place, instead of checking line numbers.
13316
13317 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13318
13319 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13320 match on sourcefile name, instead of directory name.
13321
13322 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13323
13324 * gdb.base/completion.exp: Use string_to_regexp to match the
13325 working directory name.
13326
13327 2003-04-09 Jim Blandy <jimb@redhat.com>
13328
13329 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13330 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13331 after an inferior function call, report the failure, but allow the
13332 test to continue.
13333
13334 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13335
13336 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13337 with -DPROTOTYPES.
13338
13339 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13340
13341 * gdb.base/break.exp: Revert last patch.
13342
13343 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13344
13345 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13346 with -DPROTOTYPES.
13347
13348 2003-04-02 Andrew Cagney <cagney@redhat.com>
13349
13350 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13351 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13352 matching directories by the name breakpoint.
13353 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13354 Make "continue to marker1" consistent.
13355 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13356 message consistent.
13357 * lib/gdb.exp: Put "the program is no longer running", and "the
13358 program exited" in parenthesis.
13359 * lib/mi-support.exp: Ditto.
13360
13361 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13362
13363 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13364
13365 2003-03-29 Andrew Cagney <cagney@redhat.com>
13366
13367 * gdb.base/sizeof.c (main): Print the value of '\377'.
13368 * gdb.base/sizeof.exp: Check the sign of '\377'.
13369
13370 2003-03-27 Michael Chastain <mec@shout.net>
13371
13372 * gdb.base/gdb1090.exp: New file.
13373 * gdb.base/gdb1090.cc: New file.
13374
13375 2003-03-27 J. Brobecker <brobecker@gnat.com>
13376
13377 * gdb.gdb/observer.exp: New regression test.
13378
13379 2003-03-27 Michael Chastain <mec@shout.net>
13380
13381 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13382 * gdb.base/ptype.exp: Likewise.
13383
13384 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13385
13386 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13387
13388 2003-03-26 Michael Chastain <mec@shout.net>
13389
13390 * gdb.base/ptype.exp: Actually use some typedef'd types.
13391
13392 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13393
13394 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13395 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13396
13397 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13398
13399 * gdb.base/default.exp: Fix regular expression.
13400
13401 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13402
13403 * gdb.base/args.exp: Fix regular expression.
13404
13405 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13406
13407 * gdb.base/help.exp: Allow Win32 child process.
13408
13409 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13410
13411 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13412 when stepping out of main().
13413
13414 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13415
13416 * gdb.base/default.exp: Check for win32 specific message when calling
13417 "run" without executable.
13418
13419 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13420
13421 * gdb.base/args.exp: Expect .exe in output.
13422
13423 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13424
13425 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13426 Cygwin native.
13427
13428 2003-03-17 Andrew Cagney <cagney@redhat.com>
13429
13430 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13431 vector registes.
13432 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13433 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13434
13435 2003-03-17 David Carlton <carlton@math.stanford.edu>
13436
13437 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13438 test, for PR breakpoints/38.
13439 Call test_watchpoint_and_breakpoint.
13440 * gdb.base/watchpoint.c (func3): New function.
13441 (main): Call func3.
13442
13443 2003-03-04 David Carlton <carlton@math.stanford.edu>
13444
13445 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13446 Garply<Garply<char> >:: garply".
13447 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13448 with respect to PR c++/1111; note also PR c++/1113.
13449 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13450 respect to PR c++/1062.
13451 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13452
13453 2003-03-03 David Carlton <carlton@math.stanford.edu>
13454
13455 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13456 with respect to PR c++/57.
13457 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13458 c++/826.
13459 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13460 respect to PR c++/57.
13461
13462 2003-03-03 David Carlton <carlton@math.stanford.edu>
13463
13464 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13465 respect to PR c++/33 into FAILs.
13466
13467 2003-03-03 Michael Chastain <mec@shout.net>
13468
13469 * configure.in: Update copyright years.
13470
13471 2003-03-03 Michael Chastain <mec@shout.net>
13472
13473 * Makefile.in: Update copyright years.
13474
13475 2003-02-28 David Carlton <carlton@math.stanford.edu>
13476
13477 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13478 print class instead of struct and/or superfluous protection
13479 specifiers, as long as the resulting output is equivalent to the
13480 source code.
13481 Delete FIXME from end of messages on tests that don't need
13482 fixing.
13483
13484 2003-02-28 David Carlton <carlton@math.stanford.edu>
13485
13486 * gdb.c++/templates.exp (do_tests): Allow const in the two
13487 Foo<volatile char *>::foo tests.
13488
13489 2003-02-27 Michael Snyder <msnyder@redhat.com>
13490
13491 * gdb.base/restore.c (main): Return zero, so exit code
13492 will be consistant.
13493
13494 2003-02-26 David Carlton <carlton@math.stanford.edu>
13495
13496 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13497 char *>::foo" test with respect to PR c++/33. Create a new test
13498 which is identical to that one except that it doesn't put the
13499 space between the "char" and the "*"; KFAIL it, too.
13500
13501 2003-02-26 David Carlton <carlton@math.stanford.edu>
13502
13503 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13504 template types into either PASSes or KFAILs (corresponding to PR
13505 c++/57). Tweak indentation. Update copyright.
13506
13507 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13508
13509 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13510
13511 2003-02-13 Michael Chastain <mec@shout.net>
13512
13513 * gdb.base/exprs.exp: Remove i960 remnants.
13514 * gdb.base/funcargs.exp: Likewise.
13515 * gdb.base/list.exp: Likewise.
13516 * gdb.base/ptype.exp: Likewise.
13517
13518 2003-02-14 David Carlton <carlton@math.stanford.edu>
13519
13520 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13521 pEe->D::vg()" from XFAIL to KFAIL.
13522
13523 2003-02-13 Jason Molenda (jmolenda@apple.com)
13524
13525 * gdb.base/maint.exp: Update maint print statistics regexp to include
13526 new entries.
13527
13528 2003-02-13 Michael Chastain <mec@shout.net>
13529
13530 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13531
13532 2003-02-12 Michael Chastain <mec@shout.net>
13533
13534 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13535 * gdb.c++/inherit.exp: Likewise.
13536 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13537 * gdb.c++/templates.exp: Likewise.
13538 * gdb.c++/virtfunc.exp: Likewise.
13539
13540 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13541
13542 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13543 why the code is written that way.
13544
13545 2003-02-05 Michael Chastain <mec@shout.net>
13546
13547 * gdb.base/dump.exp: Add missing copyright line.
13548
13549 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13550
13551 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13552 at the beginning so the breakpoint doesn't get set on the loop.
13553
13554 2003-02-05 Michael Chastain <mec@shout.net>
13555
13556 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13557 output for configurations with gcc 2.95.3.
13558
13559 2003-02-05 Keith Seitz <keiths@redhat.com>
13560 Andrew Cagney <ac131313@redhat.com>
13561
13562 * gdb.mi/mi-cli.exp: New file.
13563
13564 2003-02-04 Michael Chastain <mec@shout.net>
13565
13566 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13567 Call perror and then continue.
13568
13569 2003-02-03 Michael Chastain <mec@shout.net>
13570
13571 * gdb.c++/pr-1023.cc: New file.
13572 * gdb.c++/pr-1023.exp: New file.
13573
13574 2003-02-05 Jim Blandy <jimb@redhat.com>
13575
13576 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13577 it's local to foobar. Check for it there, and check that it's not
13578 present in main.
13579 * gdb.c++/local.cc (marker2): New function.
13580 (foobar): Call marker1.
13581 (main): Call marker2 instead of marker1.
13582
13583 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13584
13585 * gdb.disasm/mn10200.exp: Obsolete file.
13586 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13587 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13588 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13589
13590 2003-02-04 David Carlton <carlton@math.stanford.edu>
13591
13592 * gdb.c++/overload.exp: Test intToChar(1).
13593 * gdb.c++/overload.cc (intToChar): New.
13594 (main): Call intToChar.
13595
13596 2003-02-03 David Carlton <carlton@math.stanford.edu>
13597
13598 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13599 'might_kfail' arg.
13600 KFAIL some of the continue_to_bp_overloaded calls, according to
13601 PR c++/1025.
13602
13603 2003-02-01 Michael Chastain <mec@shout.net>
13604
13605 * gdb.base/advance.c (marker1): New marker function.
13606 * gdb.base/advance.exp: When the 'advance' command lands on the
13607 return breakpoint, it can legitimately stop on either the
13608 current line or the next line. Accommodate both outcomes.
13609 * gdb.base/until.exp: Likewise.
13610
13611 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13612
13613 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13614 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13615 now a list, not a tuple.
13616 * gdb.mi/mi-var-display.exp: Ditto.
13617 * gdb.mi/gdb792.exp: Ditto.
13618
13619 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13620
13621 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13622 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13623 stack backtraces.
13624 * gdb.mi/mi-syn-frame.c: Part of same.
13625
13626 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13627
13628 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13629 gdb.mi/mi1-pthreads.exp: Return instead of calling
13630 gdb_suppress_entire_file.
13631
13632 2003-02-01 Mark Salter <msalter@redhat.com>
13633
13634 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13635
13636 2003-01-31 Mark Salter <msalter@redhat.com>
13637
13638 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13639 Support empty arg.
13640
13641 2003-01-30 Michael Chastain <mec@shout.net>
13642
13643 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13644 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13645 has been fixed in gdb/readline on 2003-01-09.
13646
13647 2003-01-29 Michael Snyder <msnyder@redhat.com>
13648
13649 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13650 * gdb.base/display.exp: Allow for leading underscore in symbol.
13651 * gdb.base/args.exp: Skip if target does not support args passing.
13652
13653 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13654
13655 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13656 gdb_test. Accept a list of expect arguments as the third
13657 parameter.
13658 (gdb_test): Use it.
13659
13660 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13661
13662 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13663 allow for different test tree configurations. Update some
13664 tescases accordingly.
13665 * gdb.arch/altivec-regs.exp: Ditto.
13666 * gdb.asm/asm-source.exp: Ditto.
13667 * gdb.base/advance.exp: Ditto.
13668 * gdb.base/display.exp: Ditto.
13669 * gdb.base/long_long.exp: Ditto.
13670 * gdb.base/mips_pro.exp: Ditto.
13671 * gdb.base/overlays.exp: Ditto.
13672 * gdb.base/relocate.exp: Ditto.
13673 * gdb.base/setshow.exp: Ditto.
13674 * gdb.base/step-line.exp: Ditto.
13675 * gdb.base/step-test.exp: Ditto.
13676 * gdb.base/until.exp: Ditto.
13677 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13678
13679 2003-01-17 David Carlton <carlton@math.stanford.edu>
13680
13681 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13682 corresponding to PR c++/945.
13683 Update copyright.
13684
13685 2003-01-17 David Carlton <carlton@math.stanford.edu>
13686
13687 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13688 corresponding to PR c++/68.
13689
13690 2003-01-17 David Carlton <carlton@math.stanford.edu>
13691
13692 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13693 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13694 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13695
13696 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13697
13698 * gdb.base/break.exp: Fix change of default location, because of
13699 removal of until tests.
13700 * gdb.base/help.exp: Update test for new 'until' help message.
13701 Add test for help on 'advance'.
13702 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13703
13704 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13705
13706 * gdb.base/default.exp: Adapt "info float" test for recent changes
13707 to that command. Add test for "info vector".
13708 * gdb.base/float.exp: New file. Add test for "info float" that
13709 resembles the old test in gdb.base/default.exp.
13710
13711 2003-01-15 David Carlton <carlton@math.stanford.edu>
13712
13713 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13714
13715 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13716
13717 * gdb.base/break.exp: Move the tests of until command from here...
13718 * gdb.base/until.exp: ... to here. New file. Add other tests.
13719 * gdb.base/advance.c: New file.
13720 * gdb.base/advance.exp: New file.
13721
13722 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13723
13724 * gdb.base/args.c: New file.
13725 * gdb.base/args.exp: New file.
13726
13727 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13728
13729 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13730
13731 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13732
13733 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13734
13735 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13736
13737 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13738 dates.
13739
13740 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13741
13742 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13743
13744 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13745
13746 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13747 (ptype &*"foo").
13748 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13749
13750 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13751
13752 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13753 * gdb.mi/mi1-console.exp: Likewise.
13754
13755 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13756
13757 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13758 * gdb.mi/mi1-console.exp: Likewise.
13759
13760 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13761
13762 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13763
13764 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13765
13766 * gdb.base/detach.exp: New test.
13767
13768 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13769
13770 * Makefile.in (ALL_SUBDIRS): New variable.
13771 (subdirs, clean, distclean): Use it.
13772 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13773 regenerating Makefile, since it is generated from the top level.
13774 * gdb.asm/Makefile.in: Likewise.
13775 * gdb.base/Makefile.in: Likewise.
13776 * gdb.c++/Makefile.in: Likewise.
13777 * gdb.disasm/Makefile.in: Likewise.
13778 * gdb.java/Makefile.in: Likewise.
13779 * gdb.mi/Makefile.in: Likewise.
13780 * gdb.threads/Makefile.in: Likewise.
13781 * gdb.trace/Makefile.in: Likewise.
13782
13783 2003-01-09 David Carlton <carlton@math.stanford.edu>
13784
13785 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13786 Add copyright year 2003.
13787
13788 2003-01-06 Michael Chastain <mec@shout.net>
13789
13790 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13791 When selecting a thread, 'line' and 'file' are optional.
13792 * gdb.mi/mi1-pthreads.exp: Likewise.
13793
13794 2003-01-06 Andreas Schwab <schwab@suse.de>
13795
13796 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13797 failures.
13798
13799 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13800
13801 Fix PR gdb/844
13802 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13803 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13804
13805 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13806 instead of calling gdb_suppress_entire_file.
13807 * gdb.threads/print-threads.exp: Likewise.
13808 * gdb.threads/schedlock.exp: Likewise.
13809
13810 * gdb.threads/killed.exp: Return instead of calling
13811 gdb_suppress_entire_file.
13812 * gdb.threads/linux-dp.exp: Likewise.
13813 * gdb.threads/pthreads.exp: Likewise.
13814
13815 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13816
13817 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13818 stabs.
13819 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13820 * gdb.base/whatis.exp: Always allow (void) after function names.
13821
13822 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13823
13824 * gdb.c++/casts.exp: Correct regexp.
13825
13826 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13827
13828 * configure.in: Call AC_CONFIG_HEADER. Don't call
13829 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13830 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13831 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13832 aforementioned directories in the AC_OUPUT call.
13833 * config.hin: New file.
13834 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13835 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13836 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13837 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13838 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13839 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13840 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13841 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13842 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13843 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13844 gdb.threads/configure.in, gdb.threads/configure,
13845 gdb.threads/config.in, gdb.trace/configure.in,
13846 gdb.trace/configure: Removed.
13847
13848 2003-01-03 Michael Chastain <mec@shout.net>
13849
13850 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13851 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13852
13853 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13854
13855 * gdb.base/store.exp: Fix regular expressions.
13856
13857 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13858
13859 * configure.in: Rewrite.
13860 * configure: Regenerated.
13861
13862 2003-01-03 David Carlton <carlton@math.stanford.edu>
13863
13864 * gdb.base/psymtab.exp: New file.
13865 * gdb.base/psymtab1.c: Ditto.
13866 * gdb.base/psymtab2.c: Ditto.
13867
13868 2002-12-23 Adam Fedor <fedor@gnu.org>
13869
13870 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13871
13872 2002-12-23 David Carlton <carlton@math.stanford.edu>
13873
13874 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13875 and current_directory initialization.
13876
13877 2002-12-22 Jim Blandy <jimb@redhat.com>
13878
13879 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13880 rather than as part of the output file name.
13881
13882 * gdb.base/attach.exp: There's no need to copy the test program to
13883 /tmp; that was only ever necessary on HP/UX, and this test is
13884 entirely disabled there anyway.
13885
13886 2002-12-21 Jim Blandy <jimb@redhat.com>
13887
13888 * gdb.c++/psmang.exp: Doc fix.
13889
13890 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13891 test.
13892
13893 2002-12-20 David Carlton <carlton@math.stanford.edu>
13894
13895 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13896
13897 2002-12-18 Michael Chastain <mec@shout.net>
13898
13899 * gdb.c++/annota2.exp: Add copyright year 2002.
13900
13901 2002-12-17 David Carlton <carlton@math.stanford.edu>
13902
13903 * gdb.c++/try_catch.cc: Add marker comments.
13904 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13905 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13906 * gdb.c++/m-static.cc: Ditto.
13907 * gdb.c++/m-static1.cc: Ditto.
13908 * gdb.c++/try_catch.cc: Ditto.
13909
13910 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13911
13912 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13913 to see whether we are using the new -environment-directory
13914 command which resets via -r or the old version of the command
13915 which may prompt the user. Part of fix for gdb/741.
13916
13917 2002-12-13 Andrew Cagney <ac131313@redhat.com>
13918
13919 * gdb.fortran/types.exp: Update obsolete comment.
13920 * gdb.fortran/exprs.exp: Ditto.
13921 * lib/gdb.exp: Delete obsolete code.
13922 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13923 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13924 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13925 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13926 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13927 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13928 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13929 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13930 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13931 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13932 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13933 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13934 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13935 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13936 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13937 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13938 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13939 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13940 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13941 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13942 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13943 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13944 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13945 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13946 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13947 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13948 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13949 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13950 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13951 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13952 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13953 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13954 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13955 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13956 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13957 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13958 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13959
13960 2002-12-11 David Carlton <carlton@math.stanford.edu>
13961
13962 * gdb.c++/m-data.exp: Add test for members that shadow global
13963 variables: see PR gdb/804.
13964 * gdb.c++/m-data.cc: Ditto.
13965
13966 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
13967
13968 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13969
13970 2002-12-06 David Carlton <carlton@math.stanford.edu>
13971
13972 * gdb.base/store.c: Don't declare functions static.
13973
13974 2002-12-04 Andrew Cagney <ac131313@redhat.com>
13975
13976 * gdb.base/store.exp, gdb.base/store.c: New files.
13977
13978 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13979
13980 * gdb.base/selftest.exp: Update for current gdb.
13981
13982 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13983
13984 * gdb.base/maint.exp: Only dump symbols from one source file
13985 or objfile.
13986
13987 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13988
13989 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13990 function call.
13991
13992 2002-11-25 Jim Blandy <jimb@redhat.com>
13993
13994 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13995 function appearing in error message.
13996
13997 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
13998
13999 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14000
14001 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14002
14003 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14004 for mi1 and current mi is in correct format. New mi startup message
14005 should be in mi console format. This is part of fix for PR gdb/604.
14006
14007 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14008
14009 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14010 which explicitly prints the zero offset as "+0".
14011
14012 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14013
14014 * gdb.threads/schedlock.c (args): Make unsigned.
14015
14016 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14017
14018 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14019 numbers. Allow "foo2|selected stack frame".
14020 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14021 * gdb.asm/asmsrc2.s: Likewise.
14022 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14023 comments.
14024 * gdb.asm/mips.inc: New file.
14025
14026 2002-10-18 Adam Fedor <fedor@gnu.org>
14027
14028 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14029 * gdb.base/help.exp: Likewise.
14030
14031 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14032
14033 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14034 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14035
14036 2002-10-02 Jim Blandy <jimb@redhat.com>
14037
14038 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14039
14040 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14041
14042 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14043 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14044 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14045 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14046 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14047 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14048 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14049
14050 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14051
14052 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14053 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14054 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14055 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14056 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14057 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14058 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14059
14060 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14061
14062 * gdb.base/annota1.exp (info break): Make directory components of
14063 path optional since not all compilers emit this debug information.
14064
14065 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14066 step ends up stepping out of the function instead of stopping on
14067 the epilogue.
14068
14069 2002-09-26 Keith Seitz <keiths@redhat.com>
14070
14071 * lib/insight-support.exp (gdbtk_start): Figure out where
14072 the insight executable is based on where gdb is. Use this
14073 executable to start insight instead of gdb.
14074
14075 2002-09-25 Andrew Cagney <cagney@redhat.com>
14076
14077 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14078
14079 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14080
14081 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14082 test_isolated_complaints.
14083 (test_empty_complaint): New function.
14084 (test_empty_complaints): New function. Check no output when no
14085 complaints.
14086
14087 2002-09-19 Jim Blandy <jimb@redhat.com>
14088
14089 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14090
14091 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14092
14093 * gdb.gdb/complaints.exp: New file.
14094
14095 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14096
14097 * gdb.base/maint.exp: Check `help maint internal-warning'.
14098
14099 2002-09-18 David Carlton <carlton@math.stanford.edu>
14100
14101 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14102 numbers, and replace them by a single breakpoint after the
14103 constructors are all finished.
14104 Add test 4.
14105 * gdb.c++/m-static.cc: Add test 4.
14106 * gdb.c++/m-static.h: New file.
14107 * gdb.c++/m-static1.cc: New file.
14108
14109 * gdb.c++/printmethod.exp: New file.
14110 * gdb.c++/printmethod.cc: New file.
14111
14112 * gdb.c++/pr-574.exp: New file.
14113 * gdb.c++/pr-574.cc: New file.
14114
14115 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14116
14117 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14118 embedded targets which never actually exit.
14119
14120 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14121
14122 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14123 "don't step after run" as unresolved or unsupported, instead of xfail.
14124
14125 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14126
14127 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14128 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14129 Add newline to expected string in "step out of main (status wrapper)"
14130 case.
14131
14132 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14133
14134 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14135 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14136
14137 2002-09-17 Tom Tromey <tromey@redhat.com>
14138
14139 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14140 \000, not \0, in double-quoted string.
14141
14142 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14143
14144 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14145 string after running the commands execution on breakpoint tests.
14146
14147 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14148
14149 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14150
14151 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14152
14153 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14154
14155 2002-09-10 Keith Seitz <keiths@redhat.com>
14156
14157 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14158 runto proc.
14159 (mi_run_to_main): Use mi_runto.
14160 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14161
14162 2002-09-10 Keith Seitz <keiths@redhat.com>
14163
14164 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14165 regexp for stopping at main. Could have multiple event notifications.
14166 Don't assume that main was declared with no parameters.
14167 (mi_next): Use mi_step_to.
14168 (mi_step): Use mi_next_to.
14169
14170 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14171
14172 * gdb.base/default.exp: Fix expected string in `info float' test.
14173
14174 2002-09-09 Ben Elliston <bje@redhat.com>
14175
14176 * config/mips.exp: Update comments.
14177 * config/mips-idt.exp: Likewise.
14178 * config/nind.exp: Likewise.
14179 * config/slite.exp: Likewise.
14180 * config/sparclet.exp: Likewise.
14181 * config/udi.exp: Likewise.
14182 * config/vx.exp: Likewise.
14183 * config/vxworks29k.exp: Likewise.
14184
14185 2002-09-05 Jim Blandy <jimb@redhat.com>
14186
14187 * gdb.threads/killed.exp: Fix test failure message.
14188
14189 2002-09-04 Keith Seitz <keiths@redhat.com>
14190
14191 * lib/mi-support.exp: Update copyright.
14192 (mi_gdb_test): Increase the priority of the expected pattern
14193 so that it matches gdb_test.
14194
14195 2002-09-03 Keith Seitz <keiths@redhat.com>
14196
14197 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14198 Use integer comparison instead of string comparison for testing
14199 whether binary was built.
14200
14201 2002-09-03 Jim Blandy <jimb@redhat.com>
14202
14203 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14204
14205 2002-08-29 Jim Blandy <jimb@redhat.com>
14206
14207 * gdb.threads/pthreads.exp: Move the portable thread compilation
14208 code into a function in lib/gdb.exp, and call that from here.
14209 * lib/gdb.exp (gdb_compile_pthreads): New function.
14210
14211 2002-08-29 Keith Seitz <keiths@redhat.com>
14212
14213 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14214 expect_out so that callers can get at it.
14215
14216 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14217
14218 * gdb.threads/print-threads.c: New file.
14219 * gdb.threads/print-threads.exp: New file.
14220 * gdb.threads/schedlock.c: New file.
14221 * gdb.threads/schedlock.exp: New file.
14222
14223 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14224
14225 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14226 not altivec.c.
14227
14228 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14229
14230 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14231 targets. The problem should be fixed now.
14232
14233 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14234
14235 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14236 2002-07-24 change that removes final dots from error messages.
14237
14238 2002-08-13 Tom Tromey <tromey@redhat.com>
14239
14240 * gdb.base/readline.exp: New file.
14241
14242 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14243
14244 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14245 supress message.
14246
14247 2002-08-01 Andrew Cagney <cagney@redhat.com>
14248
14249 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14250 CHILL_FOR_TARGET and CHILL_LIB.
14251 * configure.in (configdirs): Remove gdb.chill.
14252 * configure: Regenerate.
14253 * lib/gdb.exp: Obsolete references to chill.
14254 * gdb.fortran/types.exp: Ditto.
14255 * gdb.fortran/exprs.exp: Ditto.
14256
14257 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14258
14259 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14260 set Irix-specific compile and link flags.
14261
14262 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14263
14264 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14265 source files. The ``-o'' option doesn't work with the ``-E'' option
14266 when using the Irix compiler.
14267
14268 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14269
14270 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14271 Improve support for reusing an exec file. Copy exec file
14272 to target, and run gdbserver on the target instead of on the host.
14273
14274 2002-07-18 Jim Blandy <jimb@redhat.com>
14275
14276 * gdb.base/ending-run.exp: Don't expect to see the program end in
14277 some orderly fashion when we're running on a real stand-alone
14278 board.
14279
14280 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14281 targets that don't support interrupts.
14282
14283 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14284
14285 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14286 systems.
14287 Move comments in expect statements to inside the actions, so that they
14288 don't get matched against.
14289
14290 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14291
14292 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14293 function when asleep" test.
14294
14295 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14296
14297 * gdb.base/page.exp: Rewrite to handle problems with very long
14298 `info set' output. Update copyright.
14299
14300 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14301
14302 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14303 gdb.threads-hp.
14304 * gdb.hp/configure: Regenerate.
14305 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14306 * gdb.hp/gdb.threads-hp/configure: Delete file.
14307 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14308
14309 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14310
14311 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14312 setlocale, bindtextdomain and textdomain.
14313
14314 2002-06-11 Jim Blandy <jimb@redhat.com>
14315
14316 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14317 preprocessor macro information is present.
14318
14319 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14320 tests.
14321
14322 2002-06-06 Michael Snyder <msnyder@redhat.com>
14323
14324 * gdb.base/overlays.exp: Record addresses of overlay
14325 functions in TCL variables rather than in GDB variables,
14326 to avoid having GDB convert them to pointers (with loss
14327 of information).
14328
14329 * gdb.base/d10v.ld: Merge in several years worth of
14330 default linker script changes.
14331 * gdb.base/long_long.exp: Add check for sizeof (long double).
14332
14333 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14334
14335 * gdb.asm/asm-source.exp: Add x86-64 target.
14336 * gdb.asm/x86_64.inc: New.
14337
14338 2002-05-30 Michael Chastain <mec@shout.net>
14339
14340 From Benjamin Kosnik <bkoz@redhat.com>:
14341 * gdb.c++/m-static.cc: New file.
14342 * gdb.c++/m-static.exp: New file.
14343
14344 2002-05-28 Michael Snyder <msnyder@redhat.com>
14345
14346 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14347 precision.
14348
14349 2002-05-27 Michael Chastain <mec@shout.net>
14350
14351 From Benjamin Kosnik <bkoz@redhat.com>:
14352 * gdb.c++/m-data.cc: New file.
14353 * gdb.c++/m-data.exp: New file.
14354
14355 2002-05-27 Michael Chastain <mec@shout.net>
14356
14357 From Benjamin Kosnik <bkoz@redhat.com>:
14358 * gdb.c++/try_catch.cc: New file.
14359 * gdb.c++/try_catch.exp: New file.
14360
14361 2002-05-27 Michael Chastain <mec@shout.net>
14362
14363 * gdb.c++/local.exp: Accept more nested types in output.
14364
14365 2002-05-26 Michael Chastain <mec@shout.net>
14366
14367 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14368
14369 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14370
14371 * lib/gdb.exp (gdb_wrapper_init): Just because
14372 gdb_wrapper_file exists, this does not mean that the file
14373 should not be rebuilt. That is what gdb_wrapper_initialized
14374 is for.
14375 (default_gdb_init): Reset gdb_wrapper_initialized.
14376
14377 2002-05-23 Michael Snyder <msnyder@redhat.com>
14378
14379 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14380 the precision of the floating point test results.
14381 * gdb.base/call-rt-st.exp: Ditto.
14382
14383 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14384 * gdb.base/call-rt-st.exp: Ditto.
14385
14386 2002-05-19 Michael Chastain <mec@shout.net>
14387
14388 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14389
14390 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14391
14392 * configure.in (configdirs): Add gdb.arch.
14393 * configure: Regenerate.
14394
14395 2002-05-17 Jim Blandy <jimb@redhat.com>
14396
14397 * gdb.base/completion.exp: Recognize the more detailed error
14398 messages produced by the macro expander's lexical analyzer.
14399
14400 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14401
14402 * gdb.arch/altivec-abi.c: New file.
14403 * gdb.arch/altivec-abi.exp: New file.
14404 * gdb.arch/altivec-regs.c: New file.
14405 * gdb.arch/altivec-regs.exp: New file.
14406
14407 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14408
14409 * gdb.base/maint.exp (maint print type): Update for new type
14410 structure.
14411
14412 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14413
14414 * gdb.arch: New directory.
14415 * gdb.arch/configure.in: New file.
14416 * gdb.arch/configure: New file.
14417 * gdb.arch/Makefile.in: New file.
14418
14419 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14420
14421 * gdb.asm/asm-source.exp: Add v850 as supported target.
14422 * gdb.asm/v850.inc: New file.
14423
14424 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14425
14426 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14427
14428 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14429
14430 * gdb.base/break.exp: Check 'break "marker2"'.
14431
14432 2002-05-10 Michael Snyder <msnyder@redhat.com>
14433
14434 * gdb.base/long_long.exp: Fix typo.
14435
14436 2002-05-10 Jim Blandy <jimb@redhat.com>
14437
14438 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14439 a bug.
14440
14441 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14442 Recognize more detailed error message produced by the macro
14443 expander's lexical analyzer.
14444 * lib/gdb.exp (test_print_reject): Same.
14445
14446 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14447
14448 * gdb.c++/method.exp: Fix typo.
14449
14450 2002-05-08 Michael Snyder <msnyder@redhat.com>
14451
14452 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14453 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14454 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14455 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14456 Add iftarget clause for strongarm.
14457
14458 2002-05-06 Michael Snyder <msnyder@redhat.com>
14459
14460 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14461 (gdb_continue_to_end): Accept output from status wrapper.
14462 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14463 Clean up fail messages to match pass messages.
14464
14465 Enable the "needs_status_wrapper" testsuite feature.
14466 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14467 (gdb_compile): Conditionally call gdb_wrapper_init.
14468 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14469 * gdb.c++/method.exp: Recognize output from status wrapper.
14470
14471 2002-05-06 Ben Elliston <bje@redhat.com>
14472 From Graydon Hoare <graydon@redhat.com>
14473
14474 * config/sid.exp: Include support for "rawsid" protocol.
14475
14476 2002-05-03 Jim Blandy <jimb@redhat.com>
14477
14478 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14479 * gdb.c++/hang3.C: New file.
14480
14481 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14482
14483 * gdb.base/default.exp: Remove obsolete code.
14484 * gdb.c++/misc.exp: Ditto. Update copyright.
14485 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14486 * gdb.base/whatis.exp: Ditto. Update copyright.
14487 * gdb.base/scope.exp: Ditto. Update copyright.
14488 * gdb.base/ptype.exp: Ditto. Update copyright.
14489 * gdb.base/printcmds.exp: Ditto. Update copyright.
14490 * gdb.base/opaque.exp: Ditto. Update copyright.
14491 * gdb.base/list.exp: Ditto.
14492 * gdb.base/funcargs.exp: Ditto. Update copyright.
14493 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14494 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14495 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14496 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14497 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14498 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14499
14500 2002-05-02 Michael Snyder <msnyder@redhat.com>
14501
14502 * gdb.base/watchpoint.exp: Add xscale target.
14503 * gdb.base/long_long.exp: Add xscale target.
14504 * gdb.base/default.exp: Add xscale target.
14505
14506 2002-05-01 Jim Blandy <jimb@redhat.com>
14507
14508 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14509 gdb.c++/hang.exp: New test.
14510
14511 2002-05-01 Fred Fish <fnf@redhat.com>
14512
14513 * gdb.base/completion.exp: Handle completions of "./Make" for
14514 more than one completion possibility, as is the case when we
14515 build and test in the source tree.
14516
14517 2002-04-29 Anthony Green <green@redhat.com>
14518
14519 * gdb.java/jmisc1.exp: New file.
14520 * gdb.java/jmisc2.exp: New file.
14521
14522 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14523
14524 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14525
14526 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14527
14528 * gdb.base/help.exp: Change 'help status' to allow for target
14529 dependent output differences.
14530
14531 2002-04-22 Michael Chastain <mec@shout.net>
14532
14533 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14534
14535 2002-04-22 Michael Chastain <mec@shout.net>
14536
14537 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14538
14539 2002-04-17 David S. Miller <davem@redhat.com>
14540
14541 * gdb.asm/sparc64.inc: New file.
14542 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14543
14544 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14545
14546 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14547 instruction file directly into the build tree. Clean up at end of
14548 test.
14549
14550 2002-04-18 David S. Miller <davem@redhat.com>
14551
14552 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14553 handle 64-bit platforms correctly.
14554 * gdb.base/maint.exp: Likewise.
14555
14556 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14557
14558 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14559 ``-fpic'' when compiling files comprising a shared library, but
14560 it does need additional linker flags in order to find shared
14561 libraries at run time.
14562
14563 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14564
14565 * gdb.base/cvexpr.c (use): New function.
14566 (main): Invoke use() on all global variables to prevent
14567 some linkers from deleting these otherwise unused symbols.
14568
14569 2002-04-17 Michael Chastain <mec@shout.net>
14570 From David S. Miller <davem@redhat.com>
14571
14572 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14573 handle 64-bit platforms correctly.
14574
14575 2002-04-12 Michael Snyder <msnyder@redhat.com>
14576 From Jim Blandy <jimb@redhat.com>
14577 * gdb.base/foo.c (foox): Remove section attribute; the linker
14578 script can handle this instead.
14579 * gdb.base/bar.c (barx): Same.
14580 * gdb.base/baz.c (bazx): Same.
14581 * gdb.base/grbx.c (grbxx): Same.
14582
14583 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14584 manager doesn't automatically unmap overlays unnecessarily.
14585
14586 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14587
14588 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14589 stepping out of main.
14590
14591 2002-04-09 Michael Chastain <mec@shout.net>
14592
14593 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14594 scope so that the nested scope tests will make sense.
14595 * gdb.c++/local.exp: Write patterns that actually work with gcc
14596 (the HP patterns "were never known to work with gcc").
14597 Keep the old aCC patterns too.
14598
14599 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14600
14601 * gdb.base/attach.exp: Correct target board test.
14602
14603 2002-04-08 Michael Chastain <mec@shout.net>
14604
14605 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14606 in a const method. Add some xfail and fail cases for configurations
14607 that do not emit the "const ...".
14608
14609 2002-04-07 Michael Chastain <mec@shout.net>
14610
14611 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14612 Accept "A * const" and "const A * const" as type of "this".
14613 Fix spelling of getFunky throughout. Make messages uniform.
14614
14615 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14616
14617 Work around for PR gdb/285:
14618 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14619
14620 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14621
14622 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14623 instructions file at run time instead of configure time.
14624 Sometimes we run the test in a directory that is not the one we
14625 configured in.
14626 * gdb.asm/configure.in: Delete creation of symlink.
14627 * gdb.asm/configure: Regenerate.
14628
14629 2002-04-05 J. Brobecker <brobecker@gnat.com>
14630
14631 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14632 xfullpath () function.
14633
14634 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14635
14636 * gdb.asm/Makefile.in: Correct dependencies.
14637
14638 * gdb.asm/powerpc.inc: New file.
14639 * gdb.asm/asm-source.exp: Add PowerPC.
14640 * gdb.asm/configure.in: Likewise.
14641 * gdb.asm/configure: Regenerated.
14642
14643 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14644
14645 * gdb.base/relocate.exp: New file.
14646 * gdb.base/relocate.c: New file.
14647
14648 2002-04-04 Fred Fish <fnf@redhat.com>
14649
14650 * gdb.base/step-test.exp: Update comment regarding stopping in
14651 memcpy/bcopy calls inserted as part of the compiler runtime.
14652
14653 2002-04-04 Michael Snyder <msnyder@redhat.com>
14654
14655 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14656
14657 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14658
14659 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14660 (gdb_expect): Remove $notransfer hack.
14661
14662 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14663
14664 * gdb.c++/classes.exp ("calling method for small class"): Match
14665 updated register output.
14666
14667 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14668
14669 Fix PR gdb/452
14670 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14671 when finished. Make gdb_file_cmd send "exec-file" when
14672 appropriate.
14673
14674 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14675
14676 * gdb.base/attach.exp: Remove extra setup_xfail.
14677
14678 2002-03-26 Michael Snyder <msnyder@redhat.com>
14679
14680 * gdb.base/default.exp: Add tests for dump, append, and restore.
14681 * gdb.base/help.exp: Add tests for dump, append, and restore.
14682 * gdb.base/dump.exp: New file, test dump, append and restore.
14683 * gdb.base/dump.c: New file.
14684
14685 2002-03-27 Michael Snyder <msnyder@redhat.com>
14686
14687 * gdb.base/help.exp: Modify expect strings to reflect
14688 clean-ups in help messages.
14689
14690 2002-03-26 Fred Fish <fnf@redhat.com>
14691
14692 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14693 have debugging info for those functions and the compiler uses them
14694 internally to copy structs around.
14695
14696 2002-03-26 Fred Fish <fnf@redhat.com>
14697
14698 * gdb.base/list.exp: Revert the change made yesterday and add note
14699 about why we don't list the default lines for remote targets.
14700
14701 2002-03-25 Michael Snyder <msnyder@redhat.com>
14702
14703 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14704
14705 2002-03-25 Fred Fish <fnf@redhat.com>
14706
14707 * gdb.base/list.exp: This test works on remote targets so remove
14708 the short circuit for remote targets. Update copyright.
14709
14710 2002-03-25 Fred Fish <fnf@redhat.com>
14711
14712 * gdb.base/attach.exp: Fix logic error that was suppressing this
14713 test for all non hppa*-*-hpux* targets, instead of the hp target.
14714 Move comments closer to the suppression point. Also now need to
14715 check that we are running natively.
14716
14717 2002-03-22 Michael Snyder <msnyder@redhat.com>
14718
14719 * gdb.base/default.exp: Add test for gcore. Update copyright.
14720 * gdb.base/help.exp: Add test for gcore. Update copyright.
14721
14722 2002-03-06 Fred Fish <fnf@redhat.com>
14723
14724 * gdb.base/funcargs.c: Remove extraneous ';' character.
14725 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14726
14727 2002-03-04 Michael Chastain <mec@shout.net>
14728
14729 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14730 accommodate gcc v3 function signature.
14731 * gdb.mi/mi0-var-cmd-exp: Ditto.
14732
14733 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14734
14735 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14736 ``GNU/Linux'' or ``Linux kernel''
14737 * testsuite/gdb.threads/pthreads.c: Ditto.
14738
14739 2002-02-24 Michael Chastain <mec@shout.net>
14740
14741 * gdb.threads/pthreads.c (thread1): Add a return statement.
14742 (thread2): Likewise.
14743 (foo): Likewise.
14744
14745 2002-02-23 Michael Chastain <mec@shout.net>
14746
14747 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14748 to placate gcc.
14749
14750 2002-02-23 Michael Chastain <mec@shout.net>
14751
14752 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14753 test "ptype bint". The test passes on all my stabs configurations.
14754
14755 2002-02-21 Jim Blandy <jimb@redhat.com>
14756
14757 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14758 filename at a time, and watch for the ones we want to see.
14759
14760 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14761 types of pointers to prototyped functions.
14762
14763 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14764
14765 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14766 signed, unsigned and straight char.
14767 (padding_char, padding_short, padding_int, padding_long,
14768 padding_long_long, padding_float, padding_double,
14769 padding_long_double): New global variables.
14770 (fill, fill_structs): New functions.
14771
14772 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14773 for correctly sized writes. Update copyright.
14774 (get_valueof): New procedure.
14775 (get_sizeof): Call get_valueof.
14776 (check_valueof): New procedure.
14777 (check_padding): New procedure.
14778
14779 2002-02-20 Michael Chastain <mec@shout.net>
14780
14781 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14782 to setup_xfail. Document some of the remaining calls.
14783
14784 2002-02-18 Michael Chastain <mec@shout.net>
14785
14786 * gdb.c++/userdef.exp: Update copyright year.
14787
14788 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14789
14790 * gdb.c++/userdef.exp: Test overloaded operators properly.
14791 Remove xfails.
14792
14793 2002-02-14 Michael Snyder <msnyder@redhat.com>
14794
14795 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14796
14797 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14798
14799 * gdb.base/a2-run.exp: Check for a remote target properly.
14800 * gdb.base/annota1.exp: Likewise.
14801 * gdb.base/list.exp: Likewise.
14802 * gdb.base/reread.exp: Likewise.
14803 * gdb.base/scope.exp: Likewise.
14804 * gdb.base/shlib-call.exp: Likewise.
14805 * gdb.base/term.exp: Likewise.
14806 * gdb.c++/annota2.exp: Likewise.
14807
14808 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14809
14810 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14811
14812 2002-02-10 Michael Chastain <mec@shout.net>
14813
14814 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14815 (call_after_alloca): Ditto.
14816
14817 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14818
14819 * gdb.base/ending-run.exp: Guard "cont" test with
14820 gdb_skip_stdio_test.
14821
14822 2002-02-06 Jim Blandy <jimb@redhat.com>
14823
14824 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14825 from here...
14826 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14827 To here. Disable this test on non-HP platforms. Add big comment.
14828
14829 2002-02-04 Michael Snyder <msnyder@redhat.com>
14830
14831 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14832 other than d10v and m32r.
14833
14834 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14835
14836 * gdb.base/default.exp: Rewrite test patterns to reduce time
14837 taken to match them.
14838
14839 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14840
14841 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14842 Allow a start function above main.
14843 * gdb.threads/linux-dp.exp: Fix copyright date.
14844
14845 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14846
14847 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14848 (check_philosopher_stack): Check for manager thread before checking
14849 for a just-starting thread.
14850
14851 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14852
14853 From Neil Booth <neil@daikokuya.demon.co.uk>:
14854 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14855 warnings.
14856
14857 2002-01-21 Fred Fish <fnf@redhat.com>
14858
14859 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14860 not caller.
14861
14862 2002-01-21 Jim Blandy <jimb@redhat.com>
14863
14864 * gdb.base/reread.exp: Check that GDB properly re-reads the
14865 executable file when it changes while no inferior is running.
14866
14867 2002-01-21 Fred Fish <fnf@redhat.com>
14868
14869 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14870 optionally accept the "shlib events" variation.
14871
14872 2002-01-21 Jim Blandy <jimb@redhat.com>
14873
14874 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14875 call `fflush' after every `printf', so that the output is produced
14876 at predictable points, regardless of whatever buffering does (or
14877 doesn't) take place.
14878 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14879 at different points.
14880
14881 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14882
14883 * gdb.c++/inherit.exp: Update copyright years.
14884 * gdb.c++/method.exp: Likewise.
14885
14886 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14887
14888 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14889 artificial methods/arguments.
14890 * gdb.c++/derivation.exp: Likewise.
14891 * gdb.c++/inherit.exp: Likewise.
14892 * gdb.c++/method.exp: Likewise.
14893 * gdb.c++/virtfunc.exp: Likewise.
14894
14895 2002-01-18 Andrew Cagney <ac131313@redhat.com>
14896
14897 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14898 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14899 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14900 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14901 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14902 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14903
14904 2002-01-17 Jim Blandy <jimb@redhat.com>
14905
14906 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14907 anchoring the pattern matching the entry point symbol's name.
14908
14909 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14910
14911 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14912 continue/quit query. Update copyright.
14913
14914 2002-01-14 Michael Snyder <msnyder@redhat.com>
14915
14916 * gdb.base/gcore.exp: Remove extra debugging output.
14917
14918 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14919
14920 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14921 for slightly dubious v2 mangled string.
14922
14923 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14924
14925 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14926
14927 2002-01-10 Jason Merrill <jason@redhat.com>
14928
14929 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14930
14931 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14932 constructors.
14933 * gdb.c++/derivation.exp: Likewise.
14934 * gdb.c++/templates.exp: Likewise.
14935 * gdb.c++/virtfunc.exp: Likewise.
14936
14937 2002-01-10 Michael Snyder <msnyder@redhat.com>
14938
14939 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
14940
14941 2002-01-08 Michael Snyder <msnyder@redhat.com>
14942
14943 * gdb.base/gcore.exp: New test for generate-core-file command.
14944 * gdb.base/gcore.c: Testcase for above.
14945 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14946
14947 2002-01-08 Jason Merrill <jason@redhat.com>
14948
14949 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14950
14951 2002-01-07 Fred Fish <fnf@redhat.com>
14952
14953 * gdb.c++/overload.exp: Remove unconditional xfails for:
14954 print foo_instance1.overloadargs(1)
14955 print foo_instance1.overloadargs(1, 2)
14956 print foo_instance1.overloadargs(1, 2, 3)
14957 print foo_instance1.overloadargs(1, 2, 3, 4)
14958 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14959 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14960 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14961 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14962 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14963 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14964 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14965 print foo_instance1.overload1arg()
14966 print foo_instance1.overload1arg((char)arg2)
14967 print foo_instance1.overload1arg((signed char)arg3)
14968 print foo_instance1.overload1arg((unsigned char)arg4)
14969 print foo_instance1.overload1arg((int)arg7)
14970 print foo_instance1.overload1arg((unsigned int)arg8)
14971 print foo_instance1.overload1arg((float)arg11)
14972 print foo_instance1.overload1arg((double)arg12)
14973
14974 2002-01-07 Michael Snyder <msnyder@redhat.com>
14975
14976 * gdb.base/huge.exp: New test. Print a very large target data object.
14977 (skip_huge_test): New test variable. Define if you want to skip this
14978 test. The test reads an 8 megabyte data object from the target, so it
14979 might be very time consuming on remote targets with a slow connection.
14980 * gdb.base/huge.c: New file. Test case for above.
14981
14982 2002-01-07 Fred Fish <fnf@redhat.com>
14983
14984 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14985 g_instance.bfoo, and g_instance.cfoo.
14986
14987 2002-01-07 Jeffrey A Law <law@redhat.com>
14988
14989 * gdb.base/break.c (multi_line_if_conditional): New function.
14990 (multi_ilne_while_conditional): Likewise.
14991 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14992 IF or WHILE condition puts the breakpoint at the start of
14993 the condition.
14994
14995 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14996 hppa*-*-hpux* expected failure.
14997 * gdb.base/structs.exp (do_function_calls): Similarly.
14998
14999 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15000 watchpoints.
15001
15002 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15003
15004 Fix PR gdb/66.
15005 * gdb.base/structs.exp: Replace skip for a29k with skip for
15006 gdb,cannot_call_functions.
15007 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15008 * gdb.base/callfuncs.exp: Ditto.
15009 * gdb.base/call-rt-st.exp: Ditto.
15010 * gdb.base/call-strs.exp: Ditto.
15011 * gdb.base/callfwmall.exp: Ditto.
15012 * gdb.base/scope.exp: Obsolete xfail a29k.
15013 * gdb.c++/misc.exp: Ditto.
15014 * gdb.c++/cplusfuncs.exp: Ditto.
15015 * gdb.base/ptype.exp: Ditto.
15016 * gdb.base/printcmds.exp: Ditto.
15017 * gdb.base/opaque.exp: Ditto.
15018 * gdb.base/list.exp: Ditto.
15019 * gdb.base/funcargs.exp: Ditto.
15020 * gdb.base/default.exp: Ditto.
15021
15022 2002-01-04 Michael Snyder <msnyder@redhat.com>
15023
15024 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15025 * gdb.base/maint.exp: Add tests for maint info sections options.
15026
15027 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15028
15029 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15030
15031 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15032
15033 * gdb.asm/arm.inc: New file.
15034 * gdb.asm/asm-source.exp: Add arm targets.
15035 * gdb.asm/configure.in: Ditto.
15036 * gdb.asm/configure: Recreated from configure.in.
15037
15038 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15039
15040 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15041 with HP's compiler.
15042 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15043 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15044 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15045 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15046
15047 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15048 either HP's compilers or GCC.
15049
15050 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15051 a SIGBUS or SIGSEGV.
15052
15053 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15054
15055 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15056 can be compiled with either HP's compiler or GCC.
15057
15058 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15059 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15060 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15061
15062 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15063 to match current gdb output. Update due to using auto-solib-limit
15064 for limiting instead of overloading auto-solib-add.
15065 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15066 test program.
15067
15068 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15069 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15070 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15071 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15072 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15073 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15074 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15075 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15076 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15077 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15078 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15079 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15080 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15081
15082 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15083 a SIGTRAP to the inferior.
15084
15085 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15086
15087 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15088 Substitute call to target_link by call to gdb_compile.
15089
15090 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15091
15092 * gdb.base/break.exp: Fix HP specific search string when testing
15093 backtracing in a called function.
15094
15095 * gdb.base/constvars.exp: Only set lang to C++ if we're
15096 compiling the test with HP's compilers.
15097 * gdb.base/volatile.exp: Similarly.
15098
15099 2001-12-19 Jim Blandy <jimb@redhat.com>
15100
15101 * gdb.base/printcmds.exp: Expect the null character to be printed
15102 as '\0', and the '\013' to be printed as '\v'.
15103 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15104 * gdb.base/setvar.exp: Same.
15105
15106 2001-12-17 Jim Blandy <jimb@redhat.com>
15107
15108 * gdb.base/completion.exp: Rather than completing very long
15109 filenames, which can make the readline library produce output we
15110 don't recognize, cd to the directory first, and then complete
15111 using nice, short relative paths.
15112
15113 * gdb.base/completion.exp: On some systems, there is, in fact, a
15114 variable named `b' in scope, since GDB treats all static
15115 variables as being in scope. So use `no_var_named_this'
15116 instead of `b'.
15117
15118 * gdb.base/corefile.exp: Recognize the message saying that GDB
15119 can't find the core file's registers as a failure.
15120
15121 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15122
15123 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15124 test expect string more specific.
15125
15126 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15127
15128 * gdb.asm/asm-source.exp: Add support for xstormy16.
15129 * gdb.asm/configure.in: Ditto.
15130 * gdb.asm/configure: Rebuild.
15131 * gdb.asm/xstormy16.inc: New file.
15132
15133 2001-12-10 Fred Fish <fnf@redhat.com>
15134
15135 * gdb.base/maint.exp: Update to match changes in type dumping code.
15136
15137 2001-12-10 Jim Blandy <jimb@redhat.com>
15138
15139 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15140 matching the entry point symbol's name at the beginning of the
15141 line.
15142
15143 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15144
15145 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15146 gdb.c++/inherit.exp, gdb.c++/method.exp,
15147 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15148 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15149 and class layout support.
15150
15151 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15152
15153 * gdb.c++/classes.exp: Add test for static member function.
15154 * gdb.c++/misc.cc: Add class with static member function.
15155
15156 2001-12-07 Jim Blandy <jimb@redhat.com>
15157
15158 If GDB says it can't find the struct the function returned, report
15159 those tests as `unsupported'.
15160 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15161 Rewrite subsequent tests to use it.
15162
15163 If GDB says it can't find the struct the function returned, report
15164 those tests as `unsupported'.
15165 * gdb.base/structs.exp (call_struct_func): New function.
15166 (do_function_calls): Use call_struct_func to call the functions
15167 returning structs.
15168
15169 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15170 whether functions are prototyped or not, so we can't possibly pass
15171 arguments to t_float_values2 properly.
15172
15173 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15174 value of `timeout' for targets other than the mips*tx39-*.
15175
15176 2001-12-06 Michael Snyder <msnyder@redhat.com>
15177
15178 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15179 and detect whether the start symbol has a leading underscore.
15180
15181 2001-12-04 Jim Blandy <jimb@redhat.com>
15182
15183 * gdb.base/completion.exp: Clarify indentation.
15184
15185 2001-12-03 Jim Blandy <jimb@redhat.com>
15186
15187 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15188 variables on the S/390, not `.word'.
15189
15190 2001-11-30 Jim Blandy <jimb@redhat.com>
15191
15192 Add assembly-source tests for s390-ibm-linux.
15193 * gdb.asm/s390.inc: New file.
15194 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15195 the S/390 architecture.
15196 * gdb.asm/configure: Regenerated.
15197
15198 2001-11-30 Michael Snyder <msnyder@redhat.com>
15199
15200 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15201 next, info source, info sources, info line, global and static
15202 variables, and static functions.
15203 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15204 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15205 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15206 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15207 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15208 (gdbasm_leave): Restore frame pointer.
15209 (gdbasm_startup): Copy stack set-up from crt0.S.
15210
15211 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15212
15213 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15214 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15215 to a local (non-static) variable. Copy tstruct.a to a static buffer
15216 and return a pointer to that buffer.
15217 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15218
15219 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15220
15221 * gdb.asm/configure.in: Fix recognition of ix86 target.
15222 * gdb.asm/configure: Regenerate.
15223
15224 2001-11-21 Michael Snyder <msnyder@redhat.com>
15225
15226 * gdb.asm/sparc.inc: New file.
15227 * gdb.asm/asm-source.exp: Recognize sparc target.
15228 * gdb.asm/configure.in: Recognize sparc target.
15229 * gdb.asm/configure: Regenerate.
15230
15231 2001-11-21 Michael Snyder <msnyder@redhat.com>
15232
15233 * gdb.asm/m32r.inc: New file.
15234 * gdb.asm/asm-source.exp: Recognize m32r target.
15235 * gdb.asm/configure.in: Recognize m32r target.
15236 * gdb.asm/configure: Regenerate.
15237
15238 2001-11-20 Michael Snyder <msnyder@redhat.com>
15239
15240 * gdb.asm/i386.inc: New file.
15241 * gdb.asm/asm-source.exp: Recognize ix86 target.
15242 * gdb.asm/configure.in: Recognize ix86 target.
15243 * gdb.asm/configure: Regenerate.
15244
15245 * gdb.c++/namespace.exp: Fix quotes in output messages.
15246
15247 2001-11-14 Michael Snyder <msnyder@redhat.com>
15248
15249 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15250 qualifier in a type cast expression, to designate an address
15251 in the instruction space (Harvard architecture).
15252
15253 2001-11-13 Michael Snyder <msnyder@redhat.com>
15254
15255 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15256 Tests for expressions using 'const' and 'volatile'.
15257
15258 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15259
15260 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15261
15262 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15263
15264 * lib/mi-support.exp (mi_run_to_helper): Move comments
15265 outside of gdb_expect.
15266
15267 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15268
15269 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15270 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15271 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15272 mi0_run_to): New functions.
15273 * gdb.mi/mi-simplerun.exp: Use them.
15274 * gdb.mi/mi0-simplerun.exp: Likewise.
15275 * gdb.mi/mi-var-cmd.exp: Likewise.
15276 * gdb.mi/mi0-var-cmd.exp: Likewise.
15277
15278 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15279
15280 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15281 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15282
15283 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15284
15285 * gdb.base/restore.exp: Include $expected value in restored test
15286 message.
15287
15288 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15289
15290 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15291 implemented.
15292
15293 2001-11-08 Michael Snyder <msnyder@redhat.com>
15294
15295 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15296 Add pass/fail message for stop at breakpoint in call dummy function.
15297
15298 2001-11-07 Michael Snyder <msnyder@redhat.com>
15299
15300 * gdb.c++/templates.exp (test_template_breakpoints):
15301 If we get an overload menu, but it does not match what
15302 we expect, we still need to issue the "cancel" command.
15303 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15304 making the whitespace optional. Argument for "new" may be
15305 "unsigned" as well as "unsigned int/long".
15306 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15307 making the whitespace optional. Also replace "(void) with
15308 "((void|)), making the keyword "void" optional.
15309 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15310 making the whitespace optional. Also replace "(void) with
15311 "((void|)), making the keyword "void" optional.
15312 * gdb.base/callfuncs.c (t_float_values): This function must
15313 _not_ be prototyped, and the following function (t_float_values2)
15314 must be prototyped (if the compiler supports it), so that GDB
15315 can be tested against both cases. Usually one case involves
15316 promotion of float to double, while the other does not.
15317 * gdb.base/callfwmall.c: Ditto.
15318 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15319 includes a stack frame for "start".
15320
15321 2001-11-05 Jim Blandy <jimb@redhat.com>
15322
15323 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15324 pointers are 32 bits long, and that offsets of relocs are always
15325 stored in the data (REL-style), and not in the reloc entry itself
15326 (RELA-style).
15327 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15328 stabs.
15329
15330 2001-11-01 Michael Snyder <msnyder@redhat.com>
15331
15332 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15333 and regular expression operators by using quoting.
15334
15335 2001-10-31 Michael Snyder <msnyder@redhat.com>
15336
15337 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15338 depending on what the symbol table contains.
15339 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15340 the output of the ptype command. Similarly, accept both "const &"
15341 and "const&".
15342
15343 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15344
15345 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15346 symbol `STORAGE' to allow to choose the storage class of
15347 the local datastructures.
15348 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15349 compiler directive.
15350
15351 2001-10-30 Michael Snyder <msnyder@redhat.com>
15352
15353 * gdb.base/jump.exp: Allow it to run for all targets.
15354
15355 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15356
15357 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15358 with new double_array size.
15359 (main): Change storage class of all local variables to static.
15360 Reduce size of double_array to 9.
15361 * gdb.base/call-ar-st.exp: Increase timeout value.
15362 Change expected output for double array to match new size in
15363 call-ar-st.c.
15364
15365 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15366
15367 * gdb.base/ending-run.exp: Create identical output when passing
15368 `step to end of run' case. Add regular expression branch satisfying
15369 Stormy16 target.
15370
15371 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15372
15373 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15374 that we catch the expected failure under Linux/x86.
15375
15376 2001-10-29 Orjan Friberg <orjanf@axis.com>
15377
15378 * gdb.base/setvar.exp: Escape curly braces.
15379 * gdb.stabs/weird.exp: Ditto.
15380
15381 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15382
15383 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15384 * gdm.mi/mi0-hack-cli.exp: Likewise.
15385
15386 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15387
15388 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15389 messages.
15390
15391 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15392
15393 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15394 checking MI enabled.
15395
15396 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15397
15398 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15399
15400 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15401
15402 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15403 if gdb child process crashes, just signal an error.
15404
15405 2001-10-02 Jim Blandy <jimb@redhat.com>
15406
15407 * lib/gdb.exp (test_xfail_format): Simplify.
15408
15409 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15410 front of the variable name `format'. Simplify `if'.
15411
15412 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15413
15414 * gdb.threads/pthreads.exp: Wait for output and delay
15415 before sending ^C.
15416
15417 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15418
15419 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15420 some incorrect output instead of timing out.
15421 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15422
15423 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15424
15425 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15426 check to allow additional `int'.
15427
15428 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15429
15430 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15431 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15432
15433 2001-09-27 Michael Snyder <msnyder@redhat.com>
15434
15435 * lib/gdb.exp (test_debug_format): New proc.
15436 (setup_xfail_format): Use new proc test_debug_format.
15437 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15438 proc; use new service proc test_debug_format.
15439 Replace all other "gcc_compiled" tests with this test.
15440 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15441 proc; use new service proc test_debug_format.
15442 Replace all other "gcc_compiled" tests with this test.
15443
15444 2001-09-27 Michael Snyder <msnyder@redhat.com>
15445
15446 * gdb.base/cvexpr.exp: New file.
15447 * gdb.base/cvexpr.c: New file
15448 Test for expressions using const and volatile keywords.
15449
15450 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15451
15452 * gdb.base/constvars.exp: Check for different orders of keywords
15453 and additional "int" strings in output.
15454
15455 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15456
15457 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15458 responses from "help maint".
15459
15460 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15461
15462 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15463 to localhost:NNN instead of :NNN, in case Xvfb is listening
15464 only on TCP.
15465
15466 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15467
15468 * gdb.base/recurse.exp: When checking leaving the watchpoint
15469 scope, recognize when gdb is in function's epilogue and pass.
15470
15471 2001-09-18 Keith Seitz <keiths@redhat.com>
15472
15473 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15474 support for running tests against sid targets.
15475 (gdbtk_done): Ditto.
15476
15477 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15478
15479 * gdb.base/ending-run.c (main): Set stdout buffersize
15480 to the same reasonable value for any target.
15481 * gdb.base/ending-run.exp: Add a regular expression
15482 to make testsuite happy on Sanyo Stormy16 target.
15483
15484 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15485
15486 * gdb.base/display.c (do_loops): Add float variable `f'.
15487 Increment f in loop.
15488 * gdb.base/display.exp: Increment timeout by 60 seconds.
15489 Change float display test to use variable `f'.
15490
15491 2001-09-17 Jim Blandy <jimb@redhat.com>
15492
15493 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15494 overflowing the limited breakpoint tables on some ROM monitors
15495 (like the ROM68K).
15496
15497 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15498
15499 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15500 the "-ac" (disable access control) flag.
15501
15502 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15503
15504 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15505 ints.
15506
15507 2001-08-30 Keith Seitz <keiths@redhat.com>
15508
15509 * lib/gdb.exp: Move all insight-related functionality into
15510 separate file.
15511 * lib/insight-support.exp: New file.
15512
15513 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15514
15515 * config/sid.exp (sid_start): Never set sid verbosity; disable
15516 expect_background {} that consumed its stdout; tolerate </dev/null.
15517 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15518
15519 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15520
15521 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15522 CLI jump command to start it.
15523 (mi_run_to_main): Fail immediatly when unexpected output.
15524
15525 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15526
15527 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15528 beginning of function. Fix PR gdb/191.
15529
15530 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15531
15532 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15533 what to force sid endianness to.
15534
15535 2001-08-15 Keith Seitz <keiths@redhat.com>
15536
15537 * lib/gdb.exp (gdbtk_start): Don't set environment
15538 variables for TCL_LIBRARY and friends. Insight will
15539 now figure these out for itself.
15540
15541 2001-08-02 Michael Snyder <msnyder@redhat.com>
15542
15543 * gdb.base/completion.exp: Remove the symbol "a64l" from
15544 the expect string; this is target-specific, and not related
15545 to what is being tested.
15546
15547 2001-08-02 Dave Brolley <brolley@redhat.com>
15548
15549 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15550
15551 2001-07-25 Michael Snyder <msnyder@redhat.com>
15552
15553 * gdb.base/consecutive.exp: New file. Test stepping over
15554 breakpoints on consecutive instructions.
15555 * gdb.base/consecutive.c: New file.
15556
15557 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15558 curly braces in regular expressions.
15559
15560 2001-07-25 Michael Snyder <msnyder@redhat.com>
15561
15562 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15563 legitimate output from stepping out of main.
15564
15565 2001-07-22 Keith Seitz <keiths@redhat.com>
15566
15567 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15568 the empty string, do not run the tests.
15569
15570 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15571
15572 * gdb.base/long_long.exp: Detect size of pointer. Take into
15573 account 2-byte pointers when testing for p/a results.
15574
15575 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15576
15577 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15578 and defined to 1K for m68hc11.
15579 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15580 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15581 (sizeof_random_data): New variable to tell the size of the data table;
15582 don't test past this size; always run to main.
15583
15584 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15585
15586 * gdb.base/return2.exp: return of long long and double fails for
15587 68HC11; don't execute these tests on that platform.
15588 * gdb.base/return.exp: Return of a double fails for 68hc11.
15589
15590 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15591
15592 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15593 tests that print a float.
15594 * call-rt-st.exp: Likewise.
15595
15596 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15597
15598 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15599 running this test on Linux.
15600
15601 2001-06-24 Michael Chastain <chastain@redhat.com>
15602
15603 * gdb.base/arithmet.exp: Remove some tests to make all test names
15604 unique.
15605
15606 2001-07-03 Michael Snyder <msnyder@redhat.com>
15607
15608 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15609 the output of the ptype command.
15610
15611 2001-07-02 Michael Snyder <msnyder@redhat.com>
15612
15613 * gdb.base/completion.exp: Don't assume that break.c is the only
15614 source file that may contain functions named "marker".
15615 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15616
15617 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15618
15619 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15620 of files to delete.
15621
15622 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15623 * gdb.disasm/h8300s.exp: New file.
15624 gdb.disasm/h8300s.s: Likewise.
15625
15626 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15627
15628 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15629 empty breakpoint tables.
15630
15631 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15632
15633 * lib/mi-support.exp: Update args=... part of stop-reason
15634 patterns. Accept either a list or a tuple.
15635
15636 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15637
15638 * lib/mi-support.exp: Remove local emacs variable defining
15639 change-log-default-name.
15640
15641 2001-06-22 Michael Chastain <chastain@redhat.com>
15642
15643 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15644 This is operationally compatible with the previous version.
15645
15646 2001-06-13 Jim Blandy <jimb@redhat.com>
15647
15648 * lib/gdb.exp (gdb_test): Doc fix.
15649
15650 2001-06-10 Michael Chastain <chastain@redhat.com>
15651
15652 * gdb.base/exprs.exp: Remove a duplicate test.
15653
15654 2001-06-06 Jim Blandy <jimb@redhat.com>
15655
15656 * gdb.base/return2.exp (main): Use values to test float and double
15657 returns that are not NaN's, to avoid being confused by IEEE
15658 comparison rules.
15659
15660 2001-06-04 Michael Snyder <msnyder@redhat.com>
15661
15662 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15663 non-zero if control_c fails. Terminate the test on failure,
15664 rather than wait for 12 more tests to time out.
15665
15666 2001-06-06 Jim Blandy <jimb@redhat.com>
15667
15668 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15669 Don't forget to match the GDB prompt.
15670
15671 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15672
15673 2001-06-04 Jim Blandy <jimb@redhat.com>
15674
15675 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15676 command.
15677
15678 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15679
15680 * gdb.base/annota1.exp (info break): Match four or more spaces
15681 after "Address".
15682
15683 2001-05-31 Michael Chastain <chastain@redhat.com>
15684
15685 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15686 (dm_type_int_star): Likewise.
15687 (dm_type_long_star): Likewise.
15688 (dm_type_void_star): Likewise.
15689
15690 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15691
15692 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15693 to a known value in order to get consistent results regardless
15694 of the setting of INPUTRC or the presence or contents of .inputrc.
15695
15696 2001-05-24 Michael Snyder <msnyder@redhat.com>
15697
15698 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15699 Don't require that the main thread and the manager thread are the
15700 first in the list.
15701
15702 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15703 debugging. If test fails, issue an "unsupported" not a "fail".
15704
15705 2001-05-24 Jim Blandy <jimb@redhat.com>
15706
15707 Don't assume that short is shorter than int.
15708 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15709 assume that shorts are smaller than ints. On a 16-bit machine,
15710 this isn't true.
15711 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15712 an int, is not equal to ~0 stored in an unsigned char. This tests
15713 the same thing that the previous test meant to, but works on
15714 16-bit machines, too.
15715 ("print unsigned char != (~0)"): Same test, complemented.
15716
15717 2001-05-24 Michael Snyder <msnyder@redhat.com>
15718
15719 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15720 test for (full_coverage == 0). This makes the test run faster,
15721 and prevents dejagnu getting out of step.
15722
15723 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15724
15725 * gdb.base/finish.exp (finish_void): Revise pattern for
15726 stopping on the call statement to not permit stopping at
15727 the start of the instructions comprising the call sequence.
15728
15729 2001-05-19 Michael Chastain <chastain@redhat.com>
15730
15731 * gdb.base/callfuncs.exp: Make all test names unique.
15732 * gdb.base/commands.exp: Make all test names unique.
15733 * gdb.base/condbreak.exp: Make all test names unique.
15734 * gdb.base/dbx.exp: Make all test names unique.
15735 * gdb.base/default.exp: Make all test names unique.
15736 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15737 and TIMEOUT messages to their corresponding PASS message.
15738 * gdb.base/ending-run.exp: Make all test names unique.
15739 * gdb.base/long_long.exp: Remove duplicate test.
15740
15741 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15742
15743 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15744 stop on the call statement as well as the statement after the
15745 call.
15746
15747 2001-05-21 Michael Snyder <msnyder@redhat.com>
15748
15749 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15750
15751 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15752
15753 * gdb.base/completion.exp: Revamp test. Make it execute on all
15754 platforms.
15755
15756 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15757
15758 * config/gdbserver.exp (gdb_load): Handle the case
15759 in which the arguments to gdbserver are given in the
15760 baseboard configuration file.
15761 Also handle the case in which the server needs to do a
15762 load.
15763
15764 2001-05-07 Keith Seitz <keiths@cygnus.com>
15765
15766 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15767 set up the display for testing.
15768 (gdbtk_start): Convert all paths to paths that tcl will like.
15769 Export target information to environment.
15770 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15771 necessary.
15772 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15773 (to_tcl_path): New proc to convert a given pathname into
15774 a path acceptible as an argument to a tcl command.
15775 (_gdbtk_export_target_info): New proc to export target info
15776 into the environment for gdbtk testing.
15777 (gdbtk_done): New proc to signal end-of-test.
15778
15779 2001-05-06 Jim Blandy <jimb@redhat.com>
15780
15781 * restore.c: Make the code of caller0 correspond to its comment.
15782
15783 2001-05-03 Michael Snyder <msnyder@redhat.com>
15784
15785 * config/sid.exp (gdb_target_sid): Check for error messages.
15786 On error or timeout, don't make expect exit (which will terminate
15787 all subsequent tests); instead just make gdb exit.
15788 (gdb_load): Check for error messages. On error or timeout,
15789 return a negative value.
15790
15791 2001-04-24 Jim Blandy <jimb@redhat.com>
15792
15793 * gdb.c++/templates.exp: If we see the prompt for the overload
15794 list, but we haven't recognized any of the longer patterns,
15795 arrange for this test to fail, not hang.
15796
15797 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15798 variations.
15799
15800 2001-04-22 Michael Chastain <chastain@redhat.com>
15801
15802 * gdb.c++/local.exp: Use the 'runto' library function.
15803 * gdb.c++/namespace.exp: Likewise.
15804 * gdb.c++/overload.exp: Likewise.
15805
15806 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15807
15808 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15809 * gdb.base/step-line.exp: New file. Test step/next in presence of
15810 #line directives.
15811 * gdb.base/step-line.c: New file. Test program for the above.
15812 * gdb.base/step-line.inp: New file. We pretend that this file has
15813 been transformed by some other tool into step-line.c.
15814
15815 2001-03-21 Jim Blandy <jimb@redhat.com>
15816
15817 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15818 unmangled operator names.
15819
15820 2001-03-20 Jim Blandy <jimb@redhat.com>
15821
15822 * gdb.threads/linux-dp.exp: Recognize an additional message
15823 generated by GDB when it doesn't understand how to debug threads
15824 on the target system.
15825
15826 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15827
15828 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15829
15830 2001-03-12 Michael Chastain <chastain@redhat.com>
15831
15832 * gdb.c++/derivation.exp: Use the 'runto' library function.
15833
15834 2001-03-12 Michael Chastain <chastain@redhat.com>
15835
15836 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15837
15838 2001-02-24 Michael Chastain <chastain@redhat.com>
15839
15840 * gdb.c++/ref-types.exp: Change handwritten code to library
15841 function 'runto'.
15842
15843 2001-03-16 Orjan Friberg <orjanf@axis.com>
15844
15845 * gdb.base/signals.exp: Set count to 0 explicitly.
15846
15847 2001-03-15 Mark Salter <msalter@redhat.com>
15848
15849 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15850 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15851 (gdb_load): Add support for additional target_info: gdb_download_size
15852 and gdb_load_timeout.
15853
15854 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15855
15856 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15857 file -- to prevent failing when the compile fails but we have no
15858 intention of running the tests anyway.
15859
15860 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15861 tests if set.
15862
15863 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15864 integers.
15865
15866 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15867 * gdb.c++/namespace.exp: Ditto.
15868
15869 2001-03-07 Orjan Friberg <orjanf@axis.com>
15870
15871 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15872 * gdb.base/pointers.exp: Relax pattern match of decimals.
15873
15874 2001-03-06 Kevin Buettner <kevinb@redhat.com>
15875
15876 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15877 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15878 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15879 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15880 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15881 config/sh.exp, config/sid.exp, config/slite.exp,
15882 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15883 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15884 config/vxworks.exp, config/vxworks29k.exp,
15885 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15886 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15887 gdb.base/arithmet.exp, gdb.base/assign.exp,
15888 gdb.base/async.exp, gdb.base/attach.exp,
15889 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15890 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15891 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15892 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15893 gdb.base/commands.exp, gdb.base/completion.exp,
15894 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15895 gdb.base/constvars.exp, gdb.base/corefile.exp,
15896 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15897 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15898 gdb.base/ending-run.exp, gdb.base/environ.exp,
15899 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15900 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15901 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15902 gdb.base/funcargs.exp, gdb.base/help.exp,
15903 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15904 gdb.base/logical.exp, gdb.base/long_long.exp,
15905 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15906 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15907 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15908 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15909 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15910 gdb.base/regs.exp, gdb.base/relational.exp,
15911 gdb.base/remote.exp, gdb.base/reread.exp,
15912 gdb.base/restore.exp, gdb.base/return2.exp,
15913 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15914 gdb.base/selftest.exp, gdb.base/setshow.exp,
15915 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15916 gdb.base/sigall.exp, gdb.base/signals.exp,
15917 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15918 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15919 gdb.base/step-test.exp, gdb.base/structs.c,
15920 gdb.base/structs.exp, gdb.base/structs2.exp,
15921 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15922 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15923 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15924 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15925 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15926 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15927 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15928 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15929 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15930 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15931 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15932 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15933 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15934 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15935 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15936 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15937 gdb.trace/circ.exp, gdb.trace/collection.exp,
15938 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15939 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15940 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15941 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15942 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15943 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15944 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15945 notices.
15946
15947 2001-02-27 Michael Snyder <msnyder@cygnus.com>
15948
15949 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15950 first arg is int not float.
15951
15952 2001-02-22 Michael Snyder <msnyder@cygnus.com>
15953
15954 * gdb.base/reread.exp: Unsupported for non-native targets;
15955 doesn't work for remote debugging.
15956
15957 2001-02-19 Fernando Nasser <fnasser@redhat.com>
15958
15959 From Drew Moseley <dmoseley@redhat.com>
15960 * gdb.base/ending-run.exp: Properly handle the BSP state when
15961 stepping past the end of main.
15962
15963 2001-02-19 John Moore <jmoore@redhat.com>
15964
15965 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15966 Converted HPUX fix for non-expected items following multiple
15967 step commands into general solution for all platforms.
15968
15969 2001-02-18 Michael Chastain <chastain@redhat.com>
15970
15971 * gdb.c++/classes.exp (do_tests): Change runto statements
15972 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15973 statements demangler agnostic.
15974 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15975 (gdb_virtfunc_restart): Likewise.
15976
15977 2001-02-14 Michael Chastain <chastain@redhat.com>
15978
15979 * gdb.c++/inherit.exp (do_tests): Change runto statements
15980 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15981 statements demangler agnostic.
15982
15983 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15984
15985 * gdb.threads/pthreads.exp: Unify pass/fail messages for
15986 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15987 before calling common_routine 15 times'' tests.
15988
15989 2001-02-11 Michael Chastain <chastain@redhat.com>
15990
15991 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15992 Helps the test script figure out which demangler is in use.
15993 (dm_type_foo_ref): Ditto.
15994 (dm_type_int_star): Ditto.
15995 (dm_type_long_star): Ditto.
15996 (dm_type_unsigned_int): Ditto.
15997 (dm_type_void): Ditto.
15998 (dm_type_void_star): Ditto.
15999 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16000 Probe the gdb demangler and set variables to accommodate
16001 formatting differences.
16002 (info_func_regexp): New function. Same as info_func, but
16003 matches against a regexp.
16004 (info_func): Match against a literal string.
16005 (print_addr_2): New function. Match against a literal string,
16006 which can be different from the input to gdb.
16007 (print_addr): Simply call print_addr_2 with the same argument twice.
16008 (test_lookup_operator_functions): Use demangler formatting variables.
16009 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16010 the tests in the same order as the C++ class declaration.
16011 (test_paddr_operator_functions): Ditto.
16012 (test_paddr_overloaded_functions): Ditto.
16013 (test_paddr_hairy_functions): Use demangler formatting variables.
16014 Add reference to gdb/19 for related tests.
16015 (do_tests): Call probe_demangler.
16016
16017 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16018
16019 * gdb.c++/templates.cc (printf): Remove unused function definition.
16020
16021 2001-01-26 Felix Lee <flee@redhat.com>
16022
16023 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16024
16025 2001-01-25 matthew green <mrg@redhat.com>
16026
16027 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16028 up sid.
16029 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16030
16031 2001-01-25 matthew green <mrg@redhat.com>
16032
16033 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16034 Deprecate $sid_spawn_id.
16035 (sid_exit): Remove code necessary only for `spawn.'
16036
16037 2001-01-25 matthew green <mrg@redhat.com>
16038
16039 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16040
16041 2001-01-28 Michael Chastain <chastain@redhat.com>
16042
16043 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16044 to call when tests fail. It takes gdb out of the overloaded
16045 function choice menu back to the main prompt, so that the test
16046 program stays synchronized.
16047 (set_bp_overloaded): New proc to collect all the common
16048 code for setting a breakpoint on an overloaded name. Calls
16049 take_gdb_out_of_choice_menu when needed.
16050 (menu_overload1arg): New variable to collect the repeated
16051 instances of the expected menu for an overloaded name. Change
16052 the regular expression to handle changes in g++ type encoding:
16053 "void" can be either "void" or "", and "unsigned int" can be
16054 either "unsigned int" or "unsigned".
16055 (continue_to_bp_overloaded): Change regular expressions to handle
16056 changes in g++ type encoding.
16057 (no proc): Call take_gdb_out_of_choice_menu when needed.
16058 Remove redundant calls to "info break". Accept either "canceled"
16059 or "cancelled". Change regular expressions in "info break"
16060 calls to handle changes in g++ type encoding. Give all tests
16061 unique strings.
16062
16063 2001-01-17 Ben Elliston <bje@redhat.com>
16064
16065 * config/sid.exp: New file.
16066
16067 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16068
16069 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16070
16071 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16072
16073 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16074 Add a RE to accept a non-ascii char if one is ever presented.
16075
16076 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16077
16078 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16079
16080 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16081
16082 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16083 in regexp. One '\' does not suffice on Linux.
16084
16085 2000-12-09 Michael Chastain <chastain@redhat.com>
16086
16087 * gdb.base/break.exp (test_clear_command): Use a marker function
16088 rather than 'main' for the test function. Also move this
16089 test to an execution point where the marker function names are
16090 guaranteed to be bound to functions. (Executing tests after a
16091 'finish' from main runs into name conflicts with local names
16092 in __libc_start_main).
16093
16094 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16095
16096 * gdb.base/finish.exp: New test for gdb's "finish" command.
16097 * gdb.base/return2.exp: New test for gdb's "return" command.
16098 * gdb.base/return2.c: New source file for above.
16099
16100 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16101
16102 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16103 * gdb.base/miscexprs.exp: Ditto.
16104 * gdb.base/pointers.exp: Ditto.
16105 * gdb.c++/derivation.exp: Ditto.
16106 * gdb.c++/local.exp: Ditto.
16107 * gdb.c++/namespace.exp: Ditto.
16108 * gdb.c++/overload.exp: Ditto.
16109 * gdb.c++/ref-types.exp: Ditto.
16110
16111 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16112
16113 * gdb.base/constvars.exp: Test result of "up" command.
16114 * gdb.base/miscexprs.exp: Ditto.
16115 * gdb.base/pointers.exp: Ditto.
16116 * gdb.base/scope.exp: Ditto.
16117 * gdb.c++/derivation.exp: Ditto.
16118 * gdb.c++/local.exp: Ditto.
16119 * gdb.c++/namespace.exp: Ditto.
16120 * gdb.c++/overload.exp: Ditto.
16121 * gdb.c++/ref-types.exp: Ditto.
16122
16123 2000-11-22 Michael Chastain <chastain@redhat.com>
16124
16125 * mips_pro.exp: Accept either "middle -> top -> main" or
16126 "middle -> main" in the backtrace, because gcc can optimize
16127 tail calls to jumps. Remove setup_xfail for the hppa case.
16128 Add a comment with the original warning messages from PR 3016,
16129 which was filed in 1993, to preserve them for posterity.
16130
16131 2000-11-17 Nick Duffek <nsd@redhat.com>
16132
16133 * lib/gdb.exp (gdb_test): Override timeout with board info.
16134
16135 2000-11-17 Nick Duffek <nsd@redhat.com>
16136
16137 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16138 the second kill and detach messages.
16139
16140 2000-11-17 Nick Duffek <nsd@redhat.com>
16141
16142 * configure.in: Add AC_EXEEXT.
16143 * configure: Regenerate.
16144 * Makefile.in (just-check): Export EXEEXT.
16145 * lib/gdb.exp ($EXEEXT): Import from environment.
16146 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16147 expect "maint dump-me" on Cygwin.
16148 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16149 $EXEEXT.
16150
16151 2000-11-17 Nick Duffek <nsd@redhat.com>
16152
16153 * gdb.base/break.exp: Test backtrace and finish from called
16154 function on all platforms, not just HP-UX.
16155
16156 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16157
16158 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16159 code from gdb_target_monitor, so it can be used independantly
16160 for gdbserver. Also comment out an unnecessary PUTS.
16161
16162 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16163
16164 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16165 * gdb.base/corefile.exp: Expect the message "Program is being
16166 debugged already" when we send the "corefile" command, since
16167 the preceeding gdb_load may have connected gdb to a remote target.
16168 * gdb.base/display.exp: Disable hardware watchpoints if new
16169 board info variable "no_hardware_watchpoints" is true.
16170 Replace single-letter commands with more readable ones.
16171 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16172 if new board info variable "no_hardware_watchpoints" is true.
16173 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16174 to see if stdio (printf) testing is possible.
16175 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16176 board info variable "no_hardware_watchpoints" is true. Use new
16177 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16178
16179 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16180
16181 From Orjan Friberg <orjanf@axis.com>:
16182 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16183 in array print pattern match.
16184
16185 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16186
16187 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16188 spelling "cancelled" to U.S. spelling "canceled" to match changes
16189 made to gdb.
16190 * gdb.c++/ovldbreak.exp: Ditto.
16191
16192 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16193
16194 * gdb.base/callfuncs.c (main): Moved to end of file, call
16195 t_double_values to initialize the FPU before inferior calls are made.
16196 * gdb.base/callfuncs.exp: Test for register preservation after calling
16197 inferior functions. Add tests for continuining, finishing and
16198 returning from a stop in a call dummy.
16199
16200 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16201
16202 * gdb.base/commands.exp: Break up long lines, and re-indent.
16203
16204 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16205
16206 * config/gdbserver.exp: Rewritten from the ground up, to make it
16207 compatible with the current dejagnu tree, and to make it work with
16208 the new "gdbserver" in libremote.
16209
16210 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16211
16212 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16213 * gdb.base/varargs.exp: Skip entire test if no printf support.
16214 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16215 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16216
16217 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16218
16219 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16220 no floating point support.
16221 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16222 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16223 * gdb.base/call-rt-st.exp: Ditto.
16224 * gdb.base/call-strs.exp: Ditto.
16225
16226 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16227
16228 * gdb.base/sizeof.c: include <stdio.h>.
16229
16230 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16231 'finish', otherwise uncaptured gdb_prompt would potentially
16232 throw remaining test points out of sync.
16233
16234 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16235
16236 * gdb.base/recurse.exp: Run tests for all targets.
16237 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16238 gnu-oldld case on ARM.
16239 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16240 for ARM targets.
16241
16242 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16243
16244 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16245 * gdb.java/configure: Rebuild.
16246
16247 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16248
16249 * gdb.java/jv-exp.exp: New file.
16250
16251 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16252
16253 * configure: Rebuilt.
16254 * configure.in (configdirs): Add gdb.java.
16255 * gdb.java/jmisc.java: New file.
16256 * gdb.java/jmisc.exp: New file.
16257 * gdb.java/Makefile.in: New file.
16258 * gdb.java/configure: Rebuilt.
16259 * gdb.java/configure.in: New file.
16260 * lib/java.exp: New file.
16261
16262 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16263
16264 * gdb.base/exprs.exp: Test casts to a pointer including over and
16265 underflow.
16266
16267 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16268
16269 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16270 and the compilers sizes.
16271
16272 2000-07-09 Nick Duffek <nsd@redhat.com>
16273
16274 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16275 (use_methods): New function.
16276 (main): Call use_methods().
16277 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16278 (do_tests): Call test_method_param_class.
16279
16280 2000-07-09 Nick Duffek <nsd@redhat.com>
16281
16282 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16283 spelling.
16284 (test_enums): New procedure. Move enum tests from end of script
16285 to here. Set breakpoint on function name instead of line number.
16286 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16287 (enums2): New marker function.
16288 (enums1): New function.
16289 (main): Call enums1(). Move enum tests to enums1().
16290
16291 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16292
16293 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16294 compile/link program. Update line numbers.
16295 * gdb.asm/d10v.inc: Define ``startup''.
16296 * gdb.asm/asmsrc1.s: Add definition of _start.
16297
16298 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16299
16300 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16301
16302 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16303
16304 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16305 of 'help maint print' command.
16306
16307 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16308
16309 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16310 they use gdb_expect_list.
16311
16312 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16313
16314 * gdb.base/commands.exp: Use ``set remote
16315 memory-read-packet-size'' instead of ``set endian big'' to test
16316 long commands.
16317
16318 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16319
16320 * gdb.c++/templates.exp (do_tests): Make all of these work under
16321 g++, and stop skipping them.
16322
16323 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16324 work under g++.
16325
16326 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16327 initialization.
16328
16329 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16330
16331 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16332 the regular expression: accept an (almost) arbitrary sequence of
16333 "frames-invalid" and "breakpoints-invalid" messages both before
16334 and after the "starting" message.
16335
16336 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16337
16338 * gdb.c++/local.exp: This test has never been known to work with g++.
16339
16340 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16341
16342 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16343 Relax the regular expression a little, make it pass on Solaris 8.
16344
16345 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16346
16347 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16348 a call, do not require that gdb stop on the line after the call.
16349 Instead, it is permissible for gdb to stop on the line of the
16350 call itself.
16351
16352 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16353
16354 * gdb.base/break.exp (bp on small function, optimized file):
16355 Add a second pass pattern. The behavior differs here between stabs
16356 and dwarf for one-line functions. Stabs preserves two line symbols
16357 (one before the prologue and one after) with the same line number,
16358 but dwarf regards these as duplicates and discards one of them.
16359 Therefore the address after the prologue (where the breakpoint is)
16360 has no exactly matching line symbol, and GDB reports the breakpoint
16361 as if it were in the middle of a line rather than at the beginning.
16362
16363 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16364
16365 * gdb.base/interrupt.exp: Make "pass" message say "send"
16366 rather than "send_gdb" (for consistancy).
16367
16368 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16369
16370 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16371 * gdb.c++/templates.cc: Properly check for GCC version number.
16372 * lib/compiler.cc: Likewise
16373
16374 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16375
16376 * gdb.base/break.exp: When compiled with -O2 optimization,
16377 gdb may not stop at the first line of main, due to code motion.
16378
16379 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16380
16381 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16382 This test depends on parsing the printf output from the target.
16383 Since the sparclet stub doesn't do stdio, this will never work.
16384 * gdb.base/call-rt-st.exp: ditto.
16385 * gdb.base/call-strs: ditto.
16386
16387 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16388
16389 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16390
16391 * gdb.base/ending-run.exp: After connecting to a remote target,
16392 but before running, the target will appear to be in a random
16393 location. Specify both a file and a line for breakpoints.
16394 Also, the function that calls main may be called 'init'
16395 rather than 'start'.
16396
16397 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16398
16399 * gdb.base/help.exp: Update output for add-symbol-file command.
16400
16401 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16402
16403 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16404 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16405
16406 2000-04-07 J.T. Conklin <jtc@redback.com>
16407
16408 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16409
16410 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16411
16412 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16413
16414 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16415 values that can be represented exactly.
16416 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16417 above change, and to not check against the directory part of the source
16418 file name.
16419 (step into print_long_arg_list): Likewise.
16420 (print print_small_structs from print_long_arg_list): Likewise.
16421 (print print_long_arg_list): Likewise.
16422
16423 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16424
16425 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16426
16427 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16428
16429 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16430
16431 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16432
16433 * gdb.base/commands.exp (deprecated_command_test): Add test for
16434 deprecate with no arguments.
16435
16436 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16437
16438 * gdb.base/break.exp: Add new test for setting breakpoints on
16439 optimized code so we can test breakpoints work even when function
16440 prologues may be optimized away
16441
16442 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16443
16444 From David Whedon <dwhedon@gordian.com>
16445 * gdb.base/commands.exp : Added command deprecator tests.
16446
16447 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16448
16449 * gdb.base/help.exp: Added test for new apropos command.
16450
16451 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16452
16453 * gdb.base/pointers.c (usevar): New function.
16454 (main): Make sure that global variables v_int_pointer2, rptr,
16455 and y are all referenced someplace in the program by calling
16456 usevar() on them. [Some linkers delete symbols which are
16457 never referenced. The space remains, but there's no way to
16458 get a (symbolic) handle on the variable from the debugger.]
16459
16460 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16461
16462 * gdb.base/printcmds.c: Add typedeffed arrays.
16463
16464 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16465 procedure to test arrays that are typedef'd.
16466
16467 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16468
16469 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16470 the library directories.
16471
16472 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16473
16474 * configure.in (configdirs): Add sub directory gdb.mi.
16475 * configure: Re-generate.
16476
16477 * gdb.mi: New directory.
16478
16479 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16480
16481 * gdb.base/long_long.exp: Correct test suite failure when printing
16482 a long long value as a double on ARM platforms.
16483
16484 2000-02-16 Jim Blandy <jimb@redhat.com>
16485
16486 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16487 default source file is set properly before running this test.
16488
16489 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16490
16491 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16492 gdbtk/library directory, not in gdbtcl2.
16493
16494 2000-02-04 Jim Blandy <jimb@redhat.com>
16495
16496 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16497 backslash from regexp pattern.
16498
16499 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16500 procedure. Use it to run all the "continue to bp overloaded"
16501 tests. Note that this changes the names of the tests slightly.
16502 If the breakpoint hit message includes a hex PC value, because
16503 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16504 from the real source code, still consider that a pass.
16505
16506 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16507 XFAIL here if the breakpoint message contains a hex address. Note
16508 similar change on 1999-11-02.
16509
16510 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16511
16512 * gdb.base/ptype.exp: Establish a default source file before
16513 calling get_debug_format.
16514
16515 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16516
16517 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16518
16519 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16520
16521 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16522 of successive stepi commands -- while in the prologue we should see
16523 the function entry bracket.
16524
16525 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16526
16527 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16528 reach __change_mode() when stepping through the end of main().
16529
16530 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16531
16532 * gdb.base/default.exp: Fix expected pattern.
16533 * gdb.base/help.exp: Same.
16534
16535 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16536
16537 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16538 Don't use xfail's because that affects only the following test.
16539
16540 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16541 solaris or linux.
16542
16543 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16544
16545 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16546
16547 * gdb.base/display.exp: Some yacc parsers like to say
16548 "A syntax error" rather than "A parse error". Accept both.
16549
16550 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16551
16552 * gdb.base/default.exp: Remove OS dependent string from "target
16553 remote" test.
16554 * gdb.base/help.exp: Same for "help target remote" test.
16555
16556 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16557
16558 From Jim Kingdon <kingdon@redhat.com>:
16559
16560 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16561 prompt (cleanup rather than necessity, but still might keep output
16562 from spilling to next test).
16563
16564 2000-01-02 Fred Fish <fnf@cygnus.com>
16565
16566 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16567 AIX, which defines them in <sys/types.h>.
16568
16569 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16570
16571 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16572 float" test.
16573
16574 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16575
16576 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16577
16578 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16579 outermost frame disallowed".
16580
16581 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16582
16583 * gdb.base/setvar.exp: New tests for setting the value of a struct
16584 with a constant list.
16585
16586 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16587
16588 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16589 require the user to type a cast before setting the value of a struct.
16590
16591 1999-12-06 Jim Blandy <jimb@cygnus.com>
16592
16593 * gdb.base/default.exp: Expect the new 'info float' command on
16594 all i386 platforms.
16595
16596 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16597 LinuxThreads libraries that don't support debugging.
16598
16599 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16600
16601 * gdb.base/remote.c: Fill the buffer with truely random data.
16602 Change the buffer type to ``unsigned char'' to simplify size
16603 arithmetic.
16604
16605 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16606 stub only handles 400-1 byte packets. Verify that the download
16607 worked.
16608
16609 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16610
16611 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16612 tests, using UNRESOLVED for the untested cases. Also, does not wait
16613 for a timeout if the prompt was received before a recognizable pattern.
16614
16615 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16616
16617 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16618
16619 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16620
16621 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16622 watchpoints.
16623
16624 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16625
16626 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16627
16628 * gdb.c++/local.exp: Be more flexible in recognizing local class
16629 name mangling. Don't allow horribly truncated method names.
16630 * gdb.c++/derivation.exp: Expect protected inheritance.
16631 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16632 * gdb.c++/virtfunc.exp: Likewise.
16633 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16634 when printing a nested enum.
16635
16636 1999-11-22 Jim Blandy <jimb@cygnus.com>
16637
16638 * gdb.base/step-test.exp: Properly await GDB's response to setting
16639 a breakpoint on the call to large_struct_by_value.
16640
16641 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16642 just because we have debug info for the `start' function.
16643
16644 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16645
16646 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16647 "Unknown signal" messages, which indicate (on LinuxThreads) that
16648 GDB doesn't know how to debug threads on this system. This is
16649 better than hanging while philosopher 0 dumps chatter into gdb.log.
16650
16651 1999-11-18 Tom Tromey <tromey@cygnus.com>
16652
16653 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16654
16655 1999-11-18 Fred Fish <fnf@cygnus.com>
16656
16657 * gdb.base/coremaker2.c: Add sample program for generating
16658 cores that is more self contained than coremaker.c. Eventually
16659 I'll add more code to this and tie it into the testsuite.
16660
16661 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16662
16663 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16664
16665 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16666
16667 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16668 from $srcdir/lib/.
16669 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16670 and gdb.c++/.
16671
16672 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16673
16674 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16675 'continue with watch' test point.
16676
16677 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16678
16679 Merged from p2linux-990323-branch:
16680
16681 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16682
16683 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16684
16685 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16686 {limit,fixed}''. Test ``set download-write-size''.
16687
16688 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16689
16690 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16691 gdb_expect_list.
16692
16693 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16694
16695 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16696
16697 1999-11-03 Mark Salter <msalter@cygnus.com>
16698
16699 * gdb.base/break.exp: Fix "stub continue" pattern.
16700
16701 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16702
16703 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16704
16705 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16706
16707 * gdb.base/display.exp ("finish"): Add timeout clause.
16708
16709 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16710 plain prompt clause, so this doesn't have to time out in order to
16711 fail.
16712
16713 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16714 breakpoint hit messages include an address.
16715
16716 * gdb.base/display.exp: Don't forget to escape parens in regular
16717 expressions. Unix regexp notatation sucks.
16718
16719 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16720
16721 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16722 order for 'signalled' message.
16723
16724 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16725
16726 From Jimmy Guo <guo@cup.hp.com>:
16727 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16728 * gdb.base/annota1.c: Add code for tests to work with.
16729
16730 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16731
16732 * gdb.base/remote.exp: New test for remote downloading settings.
16733 * gdb.base/remote.c: New file with large .data.
16734
16735 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16736
16737 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16738 for LinuxThreads support, merged from the Code Fusion branch.
16739
16740 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16741
16742 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16743 containing exp_continue into a while within an expect. Don't
16744 attempt a start more than three times. Check return value from
16745 gdb_load.
16746
16747 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16748
16749 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16750 a pass case.
16751
16752 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16753
16754 * gdb.base/break.c (main): Added a statement that we can step
16755 off of.
16756 * gdb.base/break.exp: Added tests for setting a breakpoint
16757 at an offset and stepping onto a breakpoint.
16758
16759 1999-10-01 Fred Fish <fnf@cygnus.com>
16760
16761 * gdb.base/help.exp (help add-symbol-file): Update to match current
16762 gdb output.
16763
16764 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16765
16766 * gdb.base/break.exp: Code locations are in hex, don't forget!
16767 (For HP-UX.)
16768
16769 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16770
16771 * condbreak.exp: Use break.c as test program.
16772 * condbreak.c: Remove, redundant with break.c.
16773
16774 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16775
16776 * config/monitor.exp (gdb_target_monitor): Disable X- and
16777 Z-packets if the target needs it.
16778
16779 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16780
16781 * gdb.c++/overload.exp: Added tests for listing overloaded
16782 functions with function pointers in the arg, explicitly calling
16783 out the version you want.
16784
16785 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16786
16787 * long_long.exp: Add variations of test cases that work for
16788 targets with 16-bit ints and 32-bit doubles.
16789
16790 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16791
16792 * break.c (main): Compare a possibly-uninitialized argc with an
16793 unlikely value that fits in 16 bits.
16794
16795 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16796
16797 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16798 0xfeeb, don't want negative numbers if ints are 16 bits.
16799
16800 * lib/gdb.exp (skip_cplus_tests): New proc.
16801 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16802 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16803 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16804 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16805 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16806 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16807 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16808 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16809
16810 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16811
16812 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16813
16814 * gdb.base/corefile.exp (up): Allow a parameter to appear
16815 in the frame that we're going up to.
16816
16817 From Jim Blandy <jimb@cygnus.com>:
16818
16819 * gdb.base/default.exp (info float): Expect some output now.
16820
16821 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16822 returning floating-point values to fail on the x86.
16823 * gdb.base/callfwmall.exp (do_function_calls): Same.
16824
16825 * gdb.base/list.exp (test_listsize): Correct expectations for
16826 listing line 1 with listsize 2. Also, listing a single line
16827 works now, as does listing three lines. [Kevin's note: There
16828 were a number of other cases fixed too where the expectations
16829 differed...]
16830
16831 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16832
16833 * gdb.base/selftest.exp: Add case for when version prints as
16834 constant string instead of char pointer.
16835
16836 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16837
16838 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16839 stepping out of main.
16840
16841 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16842 G++ used.
16843
16844 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16845 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16846
16847 * gdb.c++/ovldbreak.exp: Update match string in test that
16848 includes a warning of multiple breakpoints.
16849
16850 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16851
16852 * gdb.base/display.exp: Improve precision of step-after-finish
16853 added yesterday.
16854
16855 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16856 test.
16857
16858 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16859 configs when using G++, not just hppa*.
16860
16861 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16862
16863 * gdb.base/async.c: New file.
16864 * gdb.base/async.exp: New file.
16865
16866 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16867
16868 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16869 PA64.
16870
16871 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16872
16873 * gdb.base/display.exp: "finish" can leave us mid-line on many
16874 targets, deal with it. Add a small constant to main, instead of
16875 1000 since main+1000 may not be a valid address in the target.
16876
16877 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16878 on hpux11.
16879
16880 * gdb.base/attach.exp: Handle another hpux11 error message variant
16881 when attaching to a process that does not exist.
16882
16883 1999-08-19 J.T. Conklin <jtc@redback.com>
16884
16885 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16886 characters in 'continue to 1241' test.
16887
16888 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16889
16890 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16891 stop in print_long_arg_list, define and use a whitespace
16892 variable in print_small_structs test, add an XFAIL for Solaris.
16893 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16894 interested enough to fix.
16895
16896 1999-08-13 Keith Seitz <keiths@cygnus.com>
16897
16898 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16899 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16900 proc knows about targets other than the natives.
16901 (test_assign): Use "gdb_run_cmd" to "run" the target.
16902 Check that we've actually hit the breakpoint at main.
16903 When we attempt to assign a value to a local variable, check
16904 that the variable is in the current scope, i.e., don't use
16905 a test with an empty result.
16906
16907 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16908
16909 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16910 command.
16911
16912 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16913
16914 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16915 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16916 gdb.compat, gdb.threads-hp.
16917 gdb.hp/configure, gdb.hp/configure.in: New files.
16918 gdb.hp/Makefile.in: Recurse into new subdirs.
16919 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16920 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16921 in object files.
16922 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16923
16924 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16925
16926 * gdb.base/display.exp: Help expect by putting a newline in the
16927 funky printf, remove a bogus p/a test.
16928
16929 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16930
16931 * gdb.base/display.exp: Make sure that when we say 'run', we are
16932 connected to the target. This is necessary when running not
16933 natively.
16934
16935 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16936
16937 * gdb.base/step-test.exp: Removed some extraneous messages.
16938
16939 * gdb.base/long_long.exp: Don't run memory examination tests
16940 on little-endian targets (they will need a different set of
16941 results to match).
16942
16943 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16944
16945 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16946 until somebody decides to fix GDB.
16947
16948 * gdb.base/long_long.c: Stop compiler complaint by specifying long
16949 constant as "ULL".
16950 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16951 matches for a couple x/2 commands.
16952
16953 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16954
16955 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16956 by merging in ref-types2 tests.
16957 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16958
16959 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16960 * gdb.c++/Makefile.in: Add standard actions.
16961 (EXECUTABLES): Rename from PROGS, update list.
16962 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16963 from gdb.hp.
16964 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16965 foo and bar locals.
16966 * gdb.c++/anon-union.exp: Fix tests to match.
16967 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16968 expect matches to handle output variations.
16969 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16970 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
16971 output, add HP alternatives for new and delete prints.
16972 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
16973 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
16974 * gdb.c++/demangle.exp: Use $style when reporting failure.
16975 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16976 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16977 match alternatives.
16978 * gdb.c++/local.exp: Add match alternatives or xfails for HP
16979 compilers.
16980 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16981 * gdb.c++/method.exp: Add match alternatives.
16982 * gdb.c++/misc.cc: Add bool types.
16983 * gdb.c++/misc.exp: Add tests for bool types.
16984 * gdb.c++/overload.exp: Add xfails.
16985 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16986 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16987 add some more template parameter tests (only for HP currently).
16988 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16989 * gdb.c++/virtfunc.cc: Add return type and value for main.
16990 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16991 match alternatives.
16992
16993 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16994
16995 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16996
16997 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16998
16999 * gdb.base/signals.exp: Don't expect getting a backtrace from
17000 within a signal handler to fail on Linux.
17001
17002 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17003
17004 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17005 * lib/gdb.exp: Remove some gratuitious semicolons.
17006 (delete_breakpoints): Increase timeout.
17007 (gdb_expect): Add -notransfer option.
17008 (gdb_test): Use -notransfer option.
17009 (get_compiler_info): Add f77 case.
17010 (get_compiler): New proc, split out from gdb_preprocess, add f77
17011 case.
17012 (gdb_preprocess): Call get_compiler.
17013
17014 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17015 * gdb.base/attach.exp, gdb.base/display.exp,
17016 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17017 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17018 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17019 third arg to gdb_test.
17020 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17021 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17022 HP-UX xfails, add others.
17023 * gdb.base/completion.exp: Reflect name change of self-test.
17024 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17025 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17026 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17027 HP failure number.
17028 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17029 useless HP-UX 10.30 references.
17030 * gdb.base/maint.exp: Loosen matches.
17031 * gdb.base/pointers.c (main): Declare more_code.
17032 * gdb.base/pointers.exp: Match on output of a `next'.
17033 * gdb.base/structs.c: Add prototypes.
17034 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17035 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17036
17037 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17038
17039 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17040 command.
17041
17042 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17043
17044 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17045 Fix run to main failures. Watchpoint can be hardware watchpoint.
17046
17047 * gdb.base/annota1.exp: Clean up some more, in case printf has
17048 debug info. Deal with lack of signal hanlder info in stack.
17049
17050 From Jim Kingdon <kingdon@redhat.com>:
17051 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17052
17053 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17054
17055 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17056 gdb.base/foll-vfork.exp: Don't run for crosses.
17057
17058 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17059
17060 * gdb.base/configure.in: Check for gdbvars.exp instead of
17061 a1-selftest.exp.
17062 * gdb.base/configure: Re-generate.
17063
17064 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17065
17066 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17067 in trying to run first and name is too long.
17068
17069 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17070 pointers2.c and pointers2.exp, respectively.
17071 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17072 doschk happier.
17073
17074 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17075
17076 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17077 callfuncs2.c and callfuncs2.exp.
17078
17079 * gdb.base/list.exp: Remove mistaken xfails.
17080 * gdb.base/list0.h: Add optional prototypes.
17081
17082 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17083
17084 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17085 calling malloc.
17086 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17087 * ptype.exp: Move test for get_debug_format to before its first
17088 use.
17089
17090 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17091
17092 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17093 * gdb.base/annota2.cc, annota2.exp: Move from here.
17094 * gdb.c++/annota2.cc, annota2.exp: To here.
17095 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17096
17097 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17098
17099 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17100 a consistent format.
17101
17102 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17103
17104 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17105 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17106 HP compilers, also set the globals $true and $false.
17107
17108 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17109 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17110 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17111 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17112 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17113 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17114 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17115 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17116 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17117 whatis.c} Add C++ compatible function definitions and return
17118 types, add includes for library functions.
17119 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17120 * gdb.base/step-test.c (myglob): Rename from glob.
17121 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17122 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17123 files, move here from gdb.hp.
17124 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17125 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17126 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17127 Adjust line numbers in regexps.
17128
17129 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17130 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17131 instead of 0/1.
17132
17133 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17134 foll-vfork.exp: New files, move here from gdb.hp.
17135 * gdb.base/page.exp: New file, test of pagination command.
17136
17137 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17138 recursion test.
17139 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17140
17141 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17142 gdb.base/solib.exp: Fix compiler invocation process.
17143
17144 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17145 HP-UX 11, turn off overload resolution explicitly.
17146 * gdb.base/commands.exp: Set argument list explicitly, add
17147 watchpoint test.
17148 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17149 them work.
17150 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17151 expressions properly.
17152 * gdb.base/corefile.exp: Loosen the match slightly.
17153 * gdb.base/default.exp: Allow "Error accessing memory" message
17154 also.
17155 * gdb.base/display.exp: Skip over x/0 j if PA64.
17156 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17157 * gdb.base/interrupt.exp: Ditto.
17158 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17159 in use.
17160 * gdb.base/list.exp: Add xfails for HP-UX.
17161 * gdb.base/long_long.exp: Refine some of the numeric matches.
17162 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17163 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17164 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17165 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17166 * gdb.base/ptype.exp: Succeed on more varieties of output.
17167 * gdb.base/scope.exp: Add xfails for HP-UX.
17168 * gdb.base/sect-cmd.exp: Add more cases.
17169 * gdb.base/setvar.exp: Add xfails for HP-UX.
17170 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17171 * gdb.base/signals.exp: Match on void symbolically.
17172 * gdb.base/step-test.exp: Add case for PA64.
17173 * gdb.base/term.exp: Add exit and restart.
17174 * gdb.base/twice.exp: Clean up after self.
17175 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17176 * gdb.base/whatis.exp: Allow more ways to pass tests.
17177
17178 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17179 no longer useful.
17180
17181 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17182
17183 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17184 list of patterns.
17185 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17186 print_double_array(double_array)", "continuing to breakpoint
17187 1018", "print print_double_array(array_d)" and "continuing to
17188 1034" tests.
17189
17190 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17191
17192 * Makefile.in: Add empty html and install-html targets.
17193
17194 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17195
17196 * config/mt-*: Remove, these haven't been used since 1996.
17197
17198 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17199
17200 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17201 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17202 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17203
17204 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17205
17206 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17207 simpler match case for the ptype of the big class.
17208
17209 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17210
17211 * gdb.exp: Fix test for gdb_prompt existence.
17212
17213 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17214
17215 * gdb.exp (gdb_test): Add fail after calls to perror.
17216
17217 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17218
17219 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17220
17221 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17222
17223 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17224
17225 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17226
17227 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17228 malloc() is linked in.
17229
17230 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17231
17232 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17233 step at end.
17234
17235 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17236
17237 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17238
17239 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17240
17241 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17242
17243 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17244 * gdb.base/mips_pro.exp: Likewise.
17245
17246 1999-06-02 Keith Seitz <keiths@cygnus.com>
17247
17248 * gdb.c++/templates.cc: Change all "new" operators to throw
17249 an exception.
17250 * gdb.c++/cplusfuncs.cc: Likewise.
17251
17252 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17253
17254 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17255
17256 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17257 * gdb.base/ending-run.exp: When stepping out of main, accept a
17258 step into an arbitrary assembler file.
17259
17260 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17261
17262 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17263 "breakpoint-invalid" to be printed.
17264 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17265 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17266 * gdb.base/annota2.cc: Initialize a.x to 0.
17267
17268 1999-05-17 Keith Seitz <keiths@cygnus.com>
17269
17270 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17271 when "skip_float_tests" set.
17272 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17273 "print print_ten_doubles", and "step into print_long_arg_list".
17274 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17275 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17276 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17277 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17278 "skip_float_tests" is set.
17279 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17280 when "skip_float_tests" set.
17281
17282 1999-05-06 Keith Seitz <keiths@cygnus.com>
17283
17284 * gdb.base/annota2.cc: Include stdio.h.
17285
17286 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17287
17288 * gdb.base/crossload.exp: Remove, this has been disabled ever
17289 since BFD stopped including all targets, and cross-GDB gets
17290 plenty of testing anyway.
17291 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17292 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17293 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17294 * gdb.base/README: Remove, was doc for this.
17295 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17296 needed.
17297
17298 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17299
17300 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17301 output.
17302
17303 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17304 * gdb.base/annota2.exp: New file. More annotation tests.
17305 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17306 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17307
17308 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17309
17310 * config/cfdbug.exp: New file.
17311
17312 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17313
17314 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17315 Marcus Daniel's and Dale Hawkins's demangler crashes.
17316
17317 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17318 test_lucid_style_demangling, test_arm_style_demangling,
17319 test_hp_style_demangling): Try Tom Tromey's core-dumping
17320 identifier under each demangling style.
17321
17322 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17323
17324 * gdb.c++/demangle.exp: Include the current demangling style
17325 in all test names.
17326 (current_demangling_style): New global variable.
17327 (set_demangling_style, test_demangling_core, test_demangling,
17328 test_demangling_exact): New functions.
17329 (test_gnu_style_demangling, test_lucid_style_demangling,
17330 test_arm_style_demangling, test_hp_style_demangling): Use those,
17331 instead of calling gdb_test and gdb_test_exact directly.
17332 (catch_demangling_errors): New function, which reports errors
17333 signalled by the demangling test functions in an orderly way.
17334 (do_tests): Use catch_demangling_errors.
17335
17336 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17337
17338 * gdb.base/signals.exp (test_handle_all_print): Use () for
17339 grouping in expressions, not {}.
17340
17341 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17342 initialized yet.
17343
17344 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17345
17346 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17347 are listed.
17348
17349 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17350
17351 * gdb.stabs/weird.exp: Test for CC being defined before
17352 looking at its value.
17353
17354 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17355
17356 * gdb.base/call-ar-st.exp: Remove stray '#'.
17357 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17358 "short int" and "long int".
17359 * gdb.c++/overload.cc: Cast the string added in the previous
17360 change, to mollify finicky HP compiler.
17361 * gdb.hp/reg-test.exp (testfile): Fix file name.
17362 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17363
17364 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17365 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17366 alternate form of enum ptype.
17367
17368 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17369
17370 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17371 * gdb.hp/*.exp: Change all to run compiler probe only after
17372 passing skip_hp_tests, so as not to waste time on guaranteed
17373 failure.
17374
17375 * gdb.c++/overload.cc: Pass string instead of char addr, always
17376 init ccpfoo.
17377 * gdb.c++/templates.cc: Fix syntax error.
17378
17379 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17380
17381 * gdb.base/commands.exp: Add test for correct position of '>'
17382 when issuing the 'commands' command after a 'while' or 'if'
17383 command.
17384
17385 1999-03-18 James Ingham <jingham@cygnus.com>
17386
17387 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17388
17389 * gdb.c++/method.exp: It was testing an uninitialized int on the
17390 stack and assuming it was positive.
17391
17392 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17393
17394 * gdb.base/step-test.exp: Catch a case where finish is broken and
17395 keep it from killing the rest of the tests.
17396 Use gdb_continue_to_end.
17397
17398 * gdb.base/sigall.exp: use gdb_continue_to_end.
17399
17400 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17401
17402 * gdb.base/display.exp: use runto_main, not run.
17403
17404 * gdb.base/default.exp: Check for the current error message in the
17405 r abbreviation test.
17406 Add strongarm to the targets that know info float.
17407
17408 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17409 run which doesn't work with monitors.
17410
17411 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17412
17413 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17414
17415 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17416 program. Traps the case (in Cygmon) when the program never really
17417 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17418 more places, so I used my name. Sorry Mark...
17419
17420 * config/monitor.exp (gdb_target_monitor): added another
17421 target_info parameter: remotebinarydownload. This will set the
17422 remotebinarydownload flag if this is causing some boards trouble.
17423
17424 1999-03-18 Mark Salter <msalter@cygnus.com>
17425
17426 * lib/gdb.exp (continue_to_exit): New function.
17427
17428 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17429 * gdb.base/ending-run.exp: Ditto.
17430 * gdb.base/step-test.exp: Ditto.
17431
17432 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17433
17434 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17435 (suggested by Art Haas <ahaas@neosoft.com>).
17436
17437 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17438
17439 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17440
17441 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17442
17443 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17444 descriptions of types (short unsigned int vs unsigned short, etc).
17445
17446 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17447
17448 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17449 a call to strlen; sometimes we do have sources.
17450
17451 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17452
17453 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17454 character, so GDB won't print garbage after its end.
17455
17456 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17457 breakpoint there instead. Sometimes GCC emits memcpy to handle
17458 the large structures being passed by value, so we step into that
17459 instead of sum_array_print, which obscures what we're really testing.
17460 * gdb.base/step-test.exp: However, we do want a test that notices
17461 the bizarre steps into memcpy, so do that here. Add check for
17462 stepping into function calls that pass large structures by value.
17463 ("Is that a noun clause, or are you just happy to see me?")
17464 Remove all references to specific line numbers.
17465 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17466 New type and function.
17467 (main): Call large_struct_by_value, passing it a large struct by value.
17468 * lib/gdb.exp (gdb_get_line_number): New function.
17469
17470 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17471 more portable.
17472
17473 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17474
17475 * lib/gdb.exp: Doc fixes.
17476
17477 1999-03-05 Nick Clifton <nickc@cygnus.com>
17478
17479 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17480
17481 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17482
17483 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17484 commands. They're not germane to this test, and they don't work
17485 that way on remote targets.
17486
17487 1999-03-01 James Ingham <jingham@cygnus.com>
17488
17489 * Changelog entries merged over from gdb development branch.
17490
17491 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17492
17493 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17494 for outputting results of test run.
17495
17496 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17497
17498 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17499
17500 1999-02-25 Felix Lee <flee@cygnus.com>
17501
17502 * lib/gdb.exp (debug_format): initialize
17503
17504 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17505
17506 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17507 * gdb.base/call-rt-st.c: Ditto.
17508
17509 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17510
17511 * gdb.threads/pthreads.exp (horiz): New variable.
17512 (test_startup): Fix regexps that capture thread numbers.
17513
17514 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17515
17516 * gdb.base/smoke.exp: Disambiguate two test case names (both
17517 called ``print'').
17518
17519 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17520
17521 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17522 compilation.
17523
17524 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17525
17526 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17527 actual output formatting.
17528 * gdb.base/smoke.exp: GDB removes leading 0's.
17529 * gdb.base/volatile.exp: Don't check type of remuneration;
17530 that variable is no longer defined in constvars.c.
17531 * gdb.base/step-test.c (main): Exit with explicit exit code.
17532 * gdb.base/step-test.exp: Remove two nexti checks--they are
17533 not portable.
17534
17535 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17536
17537 * gdb.base/help.exp ("help delete display"): Fix test to match
17538 gdb's output.
17539
17540 * gdb.base/long_long.c (known_types): Initialize values to zero.
17541 * gdb.base/long_long.exp: Step one more line
17542 so 'dec' is initialized in "get to known place". GDB removes
17543 leading zeros. Explicitly ask for hex formatting. Use
17544 unique test case names.
17545
17546 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17547
17548 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17549
17550 * gdb.c++/method.exp: Add missing close brace.
17551
17552 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17553
17554 * gdb.base/maint.exp: Use 'set height 0' to disable page
17555 prompting, not 'set height 400'.
17556
17557 Fix a bunch of timeouts.
17558 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17559 four separate tests, so expect doesn't take forever to match a ton
17560 of text against a regexp with lots of .* forms.
17561 ("maint print psymbols", "maint print symbols"): Make some of
17562 these greps more selective, so that expect doesn't try to wade
17563 through huge piles of output and time out.
17564
17565 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17566
17567 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17568 tests: one which doesn't expect shlib events to be reported, and
17569 another which does, but is XFAIL for all platforms other than
17570 HP/UX.
17571
17572 * gdb.base/break.exp: Teach the test suite that the `catch
17573 fork', `catch vfork', and `catch exec' commands produce error
17574 messages on platforms that don't provide these features.
17575
17576 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17577
17578 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17579 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17580 (shortening names from solib_threshold.exp etc), won't run on
17581 anything but HP-UX for the foreseeable future.
17582 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17583 reflect move.
17584
17585 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17586
17587 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17588 gdb.trace/Makefile.in (clean): Remove all test executables.
17589
17590 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17591
17592 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17593 successfully re-sets breakpoints in shared libraries.
17594 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17595
17596 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17597
17598 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17599 and compiled w/o GCC.
17600
17601 * gdb.hp/watch-cmd.exp: ditto.
17602
17603 * gdb.hp/watch-hp.exp: ditto.
17604
17605 * gdb.hp/xdb1.exp: ditto.
17606
17607 * gdb.hp/xdb2.exp: ditto.
17608
17609 * gdb.hp/dbx.exp: ditto.
17610
17611 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17612
17613 * constvars.c: Remove C++-isms.
17614 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17615 with GCC.
17616
17617 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17618
17619 The following changes are part of the HP merge.
17620
17621 * gdb.base/break.exp: new tests to verify that catchpoints for
17622 fork, vfork, and exec don't trigger inappropriately.
17623
17624 * gdb.base/opaque.exp: compile one file at a time, then link.
17625
17626 * gdb.base/signals.exp: be more restrictive about which hppa
17627 systems receive a setup_xfail. new tests.
17628
17629 * gdb.base/solib_threshold.build: new file.
17630 * gdb.base/solib_threshold.exp: new file.
17631 * gdb.base/solib_threshold.link_opts: new file.
17632 * gdb.base/solib_threshold.mk: new file.
17633 * gdb.base/gen_solib_threshold.c: new file.
17634
17635 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17636 tests. New tests for enums inside classes.
17637
17638 * gdb.c++/compiler.cc: indicate support of template debugging.
17639
17640 * gdb.c++/demangle.exp: run hp style demangling tests.
17641
17642 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17643 tests.
17644
17645 * gdb.c++/misc.cc: changes to support new tests.
17646
17647 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17648 to support new tests.
17649
17650 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17651 gcc, then skip these tests.
17652
17653 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17654
17655 The following files are part of the HP merge; some had longer
17656 names at HP, but have been renamed to be no more than 14
17657 characters in length.
17658
17659 * gdb.hp/ambiguous.cc: new file.
17660 * gdb.hp/ambiguous.exp: new file.
17661 * gdb.hp/attach.exp: new file.
17662 * gdb.hp/attach2.exp: new file.
17663 * gdb.hp/classes-hp.exp: new file.
17664 * gdb.hp/ctti.exp: new file.
17665 * gdb.hp/ctti-add.cc: new file.
17666 * gdb.hp/ctti-add1.cc: new file.
17667 * gdb.hp/ctti-add2.cc: new file.
17668 * gdb.hp/ctti-add3.cc: new file.
17669 * gdb.hp/dbx.exp: new file.
17670 * gdb.hp/exception.cc: new file.
17671 * gdb.hp/exception.exp: new file.
17672 * gdb.hp/foll-exec.c: new file.
17673 * gdb.hp/foll-exec.exp: new file.
17674 * gdb.hp/foll-fork.c: new file.
17675 * gdb.hp/foll-fork.exp: new file.
17676 * gdb.hp/foll-vfork.c: new file.
17677 * gdb.hp/foll-vfork.exp: new file.
17678 * gdb.hp/inherit-hp.exp: new file.
17679 * gdb.hp/more-steps.exp: new file.
17680 * gdb.hp/namespace.cc: new file.
17681 * gdb.hp/namespace.exp: new file.
17682 * gdb.hp/optimize.exp: new file.
17683 * gdb.hp/pxdb.c: new file.
17684 * gdb.hp/pxdb.exp: new file.
17685 * gdb.hp/quicksort.exp: new file.
17686 * gdb.hp/reg-test.exp: new file.
17687 * gdb.hp/reg-test.s: new file.
17688 * gdb.hp/sized-enum.c: new file.
17689 * gdb.hp/sized-enum.exp: new file.
17690 * gdb.hp/start-stop.exp: new file.
17691 * gdb.hp/templ-hp.cc: new file.
17692 * gdb.hp/templ-hp.exp: new file.
17693 * gdb.hp/thr-lib.c: new file.
17694 * gdb.hp/thr-lib.exp: new file.
17695 * gdb.hp/thr-lib.h: new file.
17696 * gdb.hp/thr-liblib.c: new file.
17697 * gdb.hp/virtfun-hp.c: new file.
17698 * gdb.hp/virtfun-hp.exp: new file.
17699 * gdb.hp/watch-cmd.exp: new file.
17700 * gdb.hp/watch-hp.exp: new file.
17701 * gdb.hp/xdb1.exp: new file.
17702 * gdb.hp/xdb2.exp: new file.
17703 * gdb.hp/xdb3.exp: new file.
17704
17705 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17706
17707 The following files are part of the HP merge; some had longer
17708 names at HP, but have been renamed to be no more than 14
17709 characters in length.
17710
17711 * gdb.base/ss.h: new file.
17712 * gdb.base/call-ar-st.c: new file.
17713 * gdb.base/call-ar-st.exp: new file.
17714 * gdb.base/call-rt-st.c: new file.
17715 * gdb.base/call-rt-st-exp: new file.
17716 * gdb.base/call-strs.exp: new file.
17717 * gdb.base/ena-dis-br.exp: new file.
17718 * gdb.base/environ.exp: new file.
17719 * gdb.base/long_long.exp: new file.
17720 * gdb.base/sect-cmd.exp: new file.
17721 * gdb.base/shlib-cl2.exp: new file.
17722 * gdb.base/smoke.exp: new file.
17723 * gdb.base/so-impl-ld.c: new file.
17724 * gdb.base/so-impl-ld.exp: new file.
17725 * gdb.base/so-indr-cl.c: new file.
17726 * gdb.base/so-indr-cl.exp: new file.
17727 * gdb.base/varargs.exp: new file.
17728 * gdb.base/volatile.exp: new file.
17729 * gdb.base/whatis-exp.exp: new file.
17730 * gdb.base/display.exp: new file.
17731 * gdb.c++/derivation.exp: new file.
17732 * gdb.c++/local.exp: new file.
17733 * gdb.c++/member-ptr.exp: new file.
17734 * gdb.c++/overload.exp: new file.
17735 * gdb.c++/ovldbreak.exp: new file.
17736 * gdb.c++/ref-types.exp: new file.
17737 * gdb.c++/ref-types2.exp: new file.
17738 * gdb.c++/userdef.exp: new file.
17739
17740 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17741
17742 * gdb.base/default.exp: Reflect wording change in remote.c.
17743
17744 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17745
17746 * gdb.base/help.exp: Update to reflect current text.
17747
17748 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17749
17750 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17751 they're stack variables and contain garbage.
17752 * gdb.c++/anon-union.exp: new file.
17753
17754 The following changes were made by David Taylor
17755 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17756 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17757 in changes by HP.
17758
17759 * gdb.base/bitops.exp: new file.
17760 * gdb.base/default.exp: change expected messages for catch and
17761 info catch tests to reflect HP merge changes.
17762 * gdb.base/enable-disable-break.exp
17763 * gdb.base/ending-run.c: new file.
17764 * gdb.base/long_long.c: new file.
17765 * gdb.base/maint.exp: new file.
17766 * gdb.base/pointers2.exp: new file.
17767 * gdb.base/shlib-call2.exp: new file.
17768 * gdb.base/solib.exp: new file.
17769 * gdb.base/step-test.c: new file.
17770 * gdb.c++/anon-union.cc: new file.
17771 * gdb.c++/local.cc: new file.
17772 * gdb.c++/member-pointer.cc: new file.
17773 * gdb.c++/method.cc: new file.
17774 * gdb.c++/ref-types.cc: new file.
17775 * gdb.c++/ref-types2.cc: new file.
17776 * gdb.c++/userdef.cc: new file.
17777
17778 * gdb.base/scope.exp: compile one file at a time, then link.
17779 * gdb.base/langs.exp: ditto.
17780 * gdb.base/list.exp: ditto.
17781
17782 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17783
17784 The following changes were made by David Taylor
17785 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17786 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17787 in changes by HP.
17788
17789 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17790 skip tests. When compiling pass c++ flag to gdb_compile.
17791 * gdb.c++/
17792
17793 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17794 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17795 (skip_hp_tests): new function.
17796 (gdb_preprocess): new function.
17797
17798 * configure.in (hpdir): decide whether to configure gdb.hp.
17799 * configure: regenerated.
17800
17801 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17802 to delete on clean.
17803 (EXECUTABLES): update to reflect new additions.
17804 * gdb.base/commands.exp: update message expected.
17805 * gdb.base/default.exp: add copyright notice.
17806 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17807 * gdb.base/help.exp: update messages to reflect current text.
17808 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17809 targets for recurse tests.
17810 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17811 skip this file.
17812
17813 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17814 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17815 compilation.
17816 * gdb.c++/misc.exp: ditto.
17817 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17818 run the tests. tell gdb_compile that it's a c++ compilation.
17819
17820 * gdb.threads/pthreads.exp: fix typo in message.
17821
17822 * gdb.base/all-bin.exp: new file.
17823 * gdb.base/arithmet.exp: new file.
17824 * gdb.base/assign.exp: new file.
17825 * gdb.base/completion.exp: new file.
17826 * gdb.base/cond-expr.exp: new file.
17827 * gdb.base/condbreak.exp: new file.
17828 * gdb.base/define.exp: new file.
17829 * gdb.base/dollar.exp: new file.
17830 * gdb.base/environment.exp: new file.
17831 * gdb.base/eval-skip.exp: new file.
17832 * gdb.base/jump.exp: new file.
17833 * gdb.base/logical.exp: new file.
17834 * gdb.base/pointers.exp: new file.
17835 * gdb.base/relational.exp: new file.
17836 * gdb.base/section_command.exp: new file.
17837 * gdb.base/whatis-expr.exp: new file.
17838
17839 * gdb.base/all-types.c: new file.
17840 * gdb.base/call-array-struct.c: new file.
17841 * gdb.base/call-return-struct.c: new file.
17842 * gdb.base/call-strings.c: new file.
17843 * gdb.base/callfuncs2.c: new file.
17844 * gdb.base/condbreak.c: new file.
17845 * gdb.base/constvars.c: new file.
17846 * gdb.base/display.c: new file.
17847 * gdb.base/int-type.c: new file.
17848 * gdb.base/jump.c: new file.
17849 * gdb.base/miscexprs.c: new file.
17850 * gdb.base/pointers.c: new file.
17851 * gdb.base/pointers2.c: new file.
17852 * gdb.base/shmain.c: new file.
17853 * gdb.base/shr1.c: new file.
17854 * gdb.base/shr2.c: new file.
17855 * gdb.base/solib.c: new file.
17856 * gdb.base/solib1.c: new file.
17857 * gdb.base/solib2.c: new file.
17858 * gdb.base/varargs.c: new file.
17859 * gdb.c++/derivation.cc: new file.
17860 * gdb.c++/overload.cc: new file.
17861 * gdb.c++/ovldbreak.cc: new file.
17862 * gdb.hp/attach.c: new file.
17863 * gdb.hp/attach2.c: new file.
17864 * gdb.hp/average.c: new file.
17865 * gdb.hp/compiler.c: new file.
17866 * gdb.hp/compiler.cc: new file.
17867 * gdb.hp/execd-program.c: new file.
17868 * gdb.hp/follow-exec.c: new file.
17869 * gdb.hp/follow-fork.c: new file.
17870 * gdb.hp/follow-vfork-and-exec.c: new file.
17871 * gdb.hp/misc-hp.cc: new file.
17872 * gdb.hp/more-steps.c: new file.
17873 * gdb.hp/optimize.c: new file.
17874 * gdb.hp/quicksort.c: new file.
17875 * gdb.hp/run-hp.c: new file.
17876 * gdb.hp/start-stop.c: new file.
17877 * gdb.hp/sum.c: new file.
17878 * gdb.hp/templates-hp.cc: new file.
17879 * gdb.hp/thread-local-in-lib.c: new file.
17880 * gdb.hp/thread-local-in-lib.h: new file.
17881 * gdb.hp/thread-local-in-lib.lib.c: new file.
17882 * gdb.hp/vforked-program.c: new file.
17883 * gdb.hp/virtfunc-hp.cc: new file.
17884 * gdb.hp/watchpoint-hp.c: new file.
17885 * gdb.hp/xdb.c: new file.
17886 * gdb.hp/xdb0.c: new file.
17887 * gdb.hp/xdb0.h: new file.
17888 * gdb.hp/xdb1.c: new file.
17889
17890 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17891
17892 The following change was made by Edith Epstein
17893 <eepstein@cygnus.com> as part of a project to merge in changes
17894 originally made by HP; HP did not create ChangeLog entries.
17895
17896 * gdb.c++/demangle.exp: changed the expected output for some
17897 ARM-style mangling -- removed second reference to datatype.
17898 For example, maint demangle __dt__11T1__pt__2_cFv
17899 T1<char>::~T1<char>(void)
17900 becomes,
17901 maint demangle __dt__11T1__pt__2_cFv
17902 T1<char>::~T1(void)
17903
17904 (test_hp_style_demangling): new hp specific demangling test cases.
17905
17906 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17907
17908 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17909 * gdb.trace/backtrace.exp: Likewise.
17910 * gdb.trace/circ.exp: Likewise.
17911 * gdb.trace/collection.exp: Likewise.
17912 * gdb.trace/deltrace.exp: Likewise.
17913 * gdb.trace/infotrace.exp: Likewise.
17914 * gdb.trace/limits.exp: Likewise.
17915 * gdb.trace/packetlen.exp: Likewise.
17916 * gdb.trace/passc-dyn.exp: Likewise.
17917 * gdb.trace/passcount.exp: Likewise.
17918 * gdb.trace/report.exp: Likewise.
17919 * gdb.trace/save-trace.exp: Likewise.
17920 * gdb.trace/tfind.exp: Likewise.
17921 * gdb.trace/tracecmd.exp: Likewise.
17922 * gdb.trace/while-dyn.exp: Likewise.
17923 * gdb.trace/while-stepping.exp: Likewise.
17924
17925 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17926
17927 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17928
17929 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17930
17931 From Brendan Kehoe:
17932 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17933 int return types.
17934
17935 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17936
17937 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
17938 remote dos host testing right.
17939
17940 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17941
17942 * gdb.base/corefile.exp: remove some xfails.
17943
17944 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17945
17946 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
17947 have different timestamps.
17948
17949 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17950
17951 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
17952 gdb.base/default.exp: Replace "exec" with "executable".
17953
17954 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17955
17956 * gdb.base/default.exp: Change else if to elseif from previous
17957 delta.
17958
17959 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17960
17961 * gdb.base/default.exp: Add brace missing from previous delta.
17962
17963 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17964
17965 * gdb.base/default.exp: Support test for info float for all
17966 varieties of arm toolchain.
17967
17968 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
17969
17970 * gdb.trace/*.exp: remove "remote_download" command.
17971
17972 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
17973
17974 * gdb.trace/*.exp: remove -gdwarf from compile.
17975
17976 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17977
17978 * gdb.trace/configure.in(AC_INIT): typo
17979 * gdb.trace/configure: regenerated
17980
17981 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
17982
17983 * config/m68k-emc.exp: New file.
17984 * lib/<emc-support.exp trace-support.exp}: New files.
17985 * configure.in: add new test directory gdb.trace.
17986 * gdb.trace/{configure configure.in Makefile.in}: New files.
17987 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17988 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17989 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17990 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17991 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17992 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17993 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
17994
17995 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
17996
17997 * gdb.c++/classes.exp: Change all regular expressions to match
17998 arbitrary combinations of newline/carriage-return, so that they
17999 will work equally well on Unix and Windows.
18000 * gdb.c++/inherit.exp: ditto.
18001 * gdb.c++/virtfunc.exp: ditto.
18002
18003 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18004
18005 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18006
18007 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18008
18009 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18010 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18011 to use a0-a3/d0-d3 as needed.
18012
18013 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18014
18015 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18016 * gdb.disasm/am33.exp: Corresponding changes.
18017
18018 1998-07-11 Felix Lee <flee@cygnus.com>
18019
18020 * gdb.base/callfuncs.exp: add cmp10 test.
18021 * gdb.base/callfuncs.c (cmp10): new function.
18022
18023 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18024
18025 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18026 into two parts to get around a synchronization problem in expect.
18027
18028 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18029
18030 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18031
18032 * configure.in: Add options for gdbtk testsuite.
18033
18034 * configure: Regenerate.
18035
18036 * gdb.gdbtk: New directory to hold gdbtk tests.
18037
18038 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18039
18040 * gdb.fortran/types.exp: Escape brackets in expect patterns
18041 for test_float_literal_types_accepted tests.
18042 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18043 before run test.
18044
18045 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18046
18047 * am33.exp: Just compile, do not link the testcase.
18048 * am33.s: Add ".am33" pseudoop to force am33 mode.
18049
18050 1998-06-25 Felix Lee <flee@cygnus.com>
18051
18052 * gdb.base/setshow.exp: make sure $pc is sane.
18053
18054 * gdb.stabs/weird.exp: split expect patterns properly.
18055
18056 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18057
18058 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18059 * gdb.disasm/am33.exp: Run it.
18060
18061 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18062
18063 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18064 match processing (and eliminate spurious timeouts when running).
18065
18066 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18067
18068 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18069 exception test, but conditionalize it on target [mach | gnu].
18070
18071 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18072
18073 * gdb.base/overlays.exp: fixup compile line for linker script.
18074
18075 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18076
18077 * gdb.fortran/types.exp: don't guess at float size.
18078
18079 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18080
18081 * gdb.base/exprs.exp: delete test that depends on int size.
18082
18083 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18084
18085 * config/sim.exp: Removed checks for target triplets.
18086 (gdb_target_sim): Use gdb,target_sim_options.
18087
18088 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18089
18090 * gdb.base/reread.exp: New file.
18091 * gdb.base/reread1.c: New file.
18092 * gdb.base/reread2.c: New file.
18093
18094 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18095
18096 * config/sim.exp: Use 'target sim -sparclite' when running
18097 SPARClite programs.
18098
18099 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18100
18101 * gdb.base/structs2.exp: New file.
18102 * gdb.base/structs2.c: New file.
18103
18104 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18105
18106 * gdb.asm/common.inc: New file.
18107 * gdb.asm/d10v.inc: New file.
18108 * asm-source.exp: Pass -I's to gas to find .inc files.
18109 Update line numbers in expected output.
18110 * asmsrc1.s: Rewrite.
18111 * asmsrc2.s: Rewrite.
18112 * configure.in: Create arch.inc symlink.
18113 * configure: Regenerate.
18114 * Makefile.in (distclean): Delete arch.inc.
18115
18116 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18117
18118 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18119 (t_enum_value2): ditto
18120 (t_enum_value3): ditto
18121 (main): ditto
18122 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18123
18124 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18125 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18126 change.
18127 Use gdb_test instead of send_gdb/gdb_expect sequences.
18128
18129 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18130
18131 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18132 not void.
18133
18134 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18135
18136 * gdb.base/branches.c: Code with lots of loops and
18137 subroutines. Used to test gdbs ability to single step through PC
18138 changes, especially to test mips-tdep.c:mips_next_pc
18139
18140 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18141
18142 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18143 more rigorous EGCS C++ error checking.
18144
18145 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18146
18147 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18148 tests.
18149 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18150 function when asleep.
18151 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18152 for i*86 Linux and SVR4 signal handling problems.
18153 Remove linux xfail for `next to handler in signals_tests_1', fixed
18154 by recent infrun.c change.
18155 Limit backtrace to 10 frames to avoid timeout problems with infinite
18156 stack backtraces.
18157 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18158 target.[ch] change.
18159
18160 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18161
18162 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18163 for a newline from gdb before continuing.
18164 (default_gdb_exit): Just look for y or n.
18165 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18166 it does, fail the rests of the tests in the file.
18167
18168 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18169
18170 * config/cygmon.exp: New file.
18171
18172 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18173
18174 * gdb.base/list.exp: Fix problem with "list default lines around
18175 main" test on remote targets.
18176
18177 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18178 run test on remote targets.
18179
18180 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18181
18182 * gdb.asm: New directory.
18183 * configure.in: Configure it.
18184 * configure: Regenerate.
18185 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18186 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18187
18188 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18189
18190 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18191
18192 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18193
18194 * gdb.base/overlays (several files): Merge the two overlay
18195 managers into one. Change variables (foox, barx, bazx, grbxx)
18196 back into ints but force them to load in their proper sections.
18197
18198 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18199
18200 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18201 on-chip insn memory and IMAP1 to upper 128k.
18202 (D10VCopy): Handle memory regions crossing 16k boundaries.
18203 (D10VCopy): Transfer data in 32 bit chunks.
18204
18205 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18206
18207 * gdb.base/overlays.c (main): Exit normally when result is
18208 correct.
18209
18210 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18211 map. Include space for printf in .text segment.
18212
18213 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18214 updated d10v memory VMA/LMA map.
18215 (D10VCopy): Call D10VTranslate.
18216
18217 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18218
18219 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18220
18221 * gdb.base/bar.c (barx, bar): Change variable to small array so
18222 that it won't be put into the .sdata - small data -
18223 section. Update reference.
18224 * gdb.base/baz.c (bazx, baz): Ditto.
18225 * gdb.base/foo.c (foox, foo): Ditto.
18226 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18227
18228 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18229 to be arrays.
18230
18231 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18232
18233 * gdb.base/overlays.exp: fix up and get working again.
18234 Add tests for backtraces from an overlay function.
18235
18236 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18237
18238 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18239 "calling function with watchpoint enabled".
18240
18241 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18242
18243 * gdb.base/break.exp (test_next_with_recursion): Remove
18244 gdb_suppress_tests for d10v-*-*.
18245 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18246 pending review of whether it is useful or not.
18247
18248 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18249
18250 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18251
18252 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18253
18254 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18255 * config/dve.exp: New file to support Densan boards.
18256
18257 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18258
18259 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18260 reads and BSD.
18261
18262 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18263
18264 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18265 response.
18266
18267 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18268
18269 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18270
18271 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18272 test.
18273
18274 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18275 target_sizeof_long and target_bigendian_p.
18276 (structs_by_value, structs_by_reference): Check values according
18277 to targets word size and endianess.
18278
18279 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18280
18281 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18282 output.
18283
18284 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18285
18286 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18287 Update test of set args help to match source change.
18288
18289 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18290
18291 * gdb.base/default.exp: Expect help system output to be in
18292 alphabetical order.
18293 * gdb.base/help.exp: Ditto.
18294
18295 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18296
18297 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18298 "i*86-pc-linux-gnu*".
18299 * gdb.base/interrupt.exp: Ditto.
18300 * gdb.base/corefile.exp: Ditto.
18301
18302 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18303 define vxworks when building the testcase.
18304
18305 * gdb.base/ptype.exp: Fix testnames to be unique.
18306 * gdb.base/radix.exp: Ditto.
18307 * gdb.base/term.exp: Ditto.
18308 * gdb.base/whatis.exp: Ditto.
18309 * gdb.c++/classes.exp: Ditto.
18310
18311 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18312
18313 * gdb.base/callfuncs.exp: Fix indentation.
18314
18315 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18316 suppress_flag has been set.
18317 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18318 target feature.
18319
18320 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18321
18322 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18323 the testcase.
18324
18325 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18326 set_debug_traps() and breakpoint().
18327 * gdb.c++/misc.cc (main): Ditto.
18328 * gdb.c++/templates.cc (main): Ditto.
18329 * gdb.c++/virtfunc.cc (main): Ditto.
18330
18331 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18332
18333 * lib/gdb.exp(gdb_step_for_stub): New function.
18334 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18335 exists, reload the executable and do a "continue" instead of
18336 doing a jump.
18337 (runto_main): Use gdb_step_for_stub.
18338
18339 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18340 tests to have unique names.
18341 * gdb.base/callfuncs.exp: Ditto.
18342 * gdb.base/commands.exp: Ditto.
18343 * gdb.base/default.exp: Ditto.
18344 * gdb.base/help.exp: Ditto.
18345 * gdb.base/list.exp: Ditto.
18346 * gdb.base/opaque.exp: Ditto.
18347 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18348 similar tests.
18349
18350 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18351 * gdb.c++/cplusfuncs.cc: Ditto.
18352 * gdb.c++/virtfunc.cc: Ditto.
18353
18354 * config/monitor.exp: Keep track of the last file we saw, rather
18355 than trying to get the info from gdb.
18356
18357 * gdb.fortran/types.exp: Move comment to previous line.
18358
18359 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18360
18361 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18362 target mode.
18363
18364 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18365
18366 From Bob Manson:
18367 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18368 string from GDB when it connects.
18369
18370 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18371
18372 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18373
18374 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18375 if we can't get a debug format from GDB (we may be testing an
18376 older GDB). Use a 10 second timeout when checking for the format.
18377
18378 * gdb.stabs/weird.exp: Fix quoting.
18379
18380 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18381
18382 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18383
18384 * config/arm-ice.exp: New file.
18385
18386 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18387
18388 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18389 until it has been modified to work with the new testsuite.
18390
18391 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18392 testcase won't compile, cause all of the testcases in the file to
18393 fail instead.
18394
18395 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18396 (gdb_clear_suppressed): New procedure.
18397 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18398 it contains a positive value.
18399
18400 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18401
18402 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18403
18404 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18405
18406 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18407
18408 * lib/gdb.exp (setup_xfail_format): New function.
18409 (get_debug_format): New function to get debug format.
18410 (debug_format): New global variable to hold last value set
18411 by get_debug_format.
18412 * gdb.base/list.exp: Call get_debug_format and expect some
18413 tests to fail for DWARF 1 and COFF formats.
18414 * gdb.c++/ptype.exp: Ditto.
18415 * gdb.c++/classes.exp: Ditto.
18416 * gdb.c++/cplusfuncs.exp: Ditto.
18417 * gdb.c++/inherit.exp: Ditto.
18418 * gdb.c++/templates.exp: Ditto.
18419 * gdb.c++/virtfunc.exp: Ditto.
18420
18421 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18422
18423 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18424 host doesn't have a currently-open connection.
18425
18426 * config/sparclet.exp: Cleanups and fixes to make it generic for
18427 any gdb stub target. Handle cases where gdb doesn't respond when
18428 interrupted in a sane fashion.
18429
18430 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18431 same thing in a totally different way.
18432
18433 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18434 setting "timeout".
18435 (gdb_start): We set the global gdb_prompt variable in
18436 default_gdb_init now.
18437
18438 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18439
18440 * gdb.base/printcmds.exp: Fix "check for floating addition"
18441 regexp to accept results within approx +/- .01 of exact value.
18442 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18443
18444 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18445
18446 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18447 properly.
18448 (gdb_expect): Add optional timeout parameter, and add timeout
18449 value to various calls.
18450 (gdb_suppress_tests): Only give one warning message per group.
18451
18452 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18453
18454 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18455 global variables. Handle getting a value for $timeout more
18456 gracefully.
18457
18458 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18459
18460 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18461 initialize.
18462 (default_gdb_init): New procedure; allow gdb_init to be overridden
18463 by a target configuration file.
18464 (gdb_expect): Pass the timeout to remote_expect.
18465
18466 * config/monitor.exp(gdb_load): Fix typo in regexp.
18467
18468 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18469
18470 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18471
18472 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18473
18474 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18475 here. Call gdb_target_exec before rebooting the target, to make
18476 sure the connection to the target is closed.
18477 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18478 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18479 Also detect "Timeout reading from remote" error.
18480
18481 * config/gdbserver.exp: Pass the executable being loaded to
18482 gdb_target_monitor. Don't call gdb_file_cmd here; let
18483 gdb_target_monitor do it.
18484
18485 * gdb.disasm/hppa.exp: Don't use exec_output.
18486
18487 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18488
18489 * gdb.base/list.exp: If we're debugging a non-native target,
18490 try to set the pc register to point to the start of the
18491 program before doing the first list command.
18492
18493 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18494 test_calls after restarting.
18495
18496 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18497 reloading.
18498
18499 * gdb.base/watchpoint.exp: Fix typo.
18500
18501 * gdb.base/setshow.exp: Check for use_gdb_stub.
18502
18503 * gdb.base/break.exp: Fix continue until exit test for the gdb
18504 stub case.
18505 * gdb.base/langs.exp: Ditto.
18506
18507 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18508 gdb_load_offset. If we weren't given a file to load, figure out
18509 what the current file is and use it.
18510
18511 * config/i386-bozo.exp: New file.
18512
18513 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18514
18515 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18516 feature.
18517
18518 * config/proelf.exp: New entry.
18519
18520 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18521
18522 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18523 of regexps.
18524
18525 * gdb.base/watchpoint.exp: Don't run the test_stepping
18526 tests if gdb can't call functions on the target.
18527
18528 * gdb.base/setshow.exp: Don't run the set prompt tests if
18529 the board has gdb_prompt set.
18530
18531 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18532
18533 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18534 * gdb.base/commands.exp: Likewise.
18535 * gdb.base/setshow.exp: Likewise.
18536
18537 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18538
18539 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18540 feature.
18541
18542 * config/i960.exp: New file.
18543
18544 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18545
18546 * gdb.base/funcargs.exp: Check for gdb,short_int target
18547 feature instead of looking for explicit target triplets.
18548
18549 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18550
18551 * gdb.base/printcmds.exp: add a couple more tests a la
18552 "p 123DEADBEEF", to check parse_number.
18553 * top.c: change "to enable to enable" to "to enable" in a couple
18554 of help strings.
18555
18556 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18557
18558 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18559 on the mn10300.
18560
18561 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18562
18563 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18564 where the test executable is run with explicit args.
18565 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18566
18567 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18568
18569 * gdb.base/run.c: Use FAKEARGV to build test executable that
18570 does not require a command line arg, since most simulators
18571 don't currently support passing such an arg into the simulated
18572 program.
18573 * gdb.base/commands.exp: Change tests to insert the proper
18574 value as the arg to the first recursive factorial call. Change
18575 compilation line to define FAKEARGV at compile time.
18576
18577 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18578
18579 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18580 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18581 function with watchpoint enabled" test.
18582
18583 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18584
18585 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18586 Don't call gdb_test when the command doesn't return to a gdb prompt.
18587
18588 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18589 "Tests restarted" messages.
18590
18591 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18592
18593 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18594
18595 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18596
18597 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18598 for INFO SYMBOL; add help tests for OVERLAY commands.
18599 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18600 add tests for OVERLAY commands
18601 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18602 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18603 * gdb.base/sigall.c: add usestubs code frag
18604 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18605
18606 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18607
18608 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18609 failures.
18610 (gdb_stop_suppressing_tests): Note that tests have restarted.
18611
18612 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18613
18614 * config/h8300.exp: New file.
18615
18616 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18617
18618 * gdb.base/setshow.exp: Check for the existence of a
18619 feature, not its value.
18620
18621 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18622
18623 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18624
18625 * gdb.base/scope.exp: It's now init0(), not init().
18626
18627 * gdb.base/scope0.c: For now, change init() to be init0().
18628
18629 * config/monitor.exp: Use gdb_serial in preference to serial
18630 or netport.
18631
18632 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18633 and it's not already set.
18634
18635 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18636
18637 * gdb.base/setshow.exp: Only test the run command if the target
18638 isn't using a stub and if it supports argument passing.
18639
18640 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18641
18642 * config/udi.exp(gdb_start): Make sure UDICONF is set
18643 properly before starting gdb.
18644
18645 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18646
18647 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18648 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18649 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18650
18651 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18652
18653 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18654 specialized code to reboot the board, use remote_reboot instead.
18655
18656 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18657
18658 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18659
18660 * config/monitor.exp: Make sure we disconnect from the target.
18661 Also, try a reboot/reload cycle instead of failing if the
18662 load fails.
18663
18664 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18665
18666 * gdb.base/default.exp: Don't set match_max.
18667 * gdb.base/help.exp: Ditto.
18668 * gdb.base/list.exp: Ditto.
18669 * gdb.base/signals.exp: Ditto.
18670
18671 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18672 set, use remote_ld to download the testcase instead of
18673 the GDB loader.
18674
18675 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18676
18677 * config/vr5000.exp: New file.
18678
18679 * config/monitor.exp(gdb_target_monitor): Add pattern for
18680 "Ending remote" to detect errors in connecting.
18681
18682 * gdb.base/setshow.exp: Add .* within auto language test.
18683
18684 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18685 target feature.
18686
18687 * config/monitor.exp(gdb_load): Check for a failure when loading,
18688 and reboot the board if necessary.
18689
18690 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18691 a set of tests. Remove print.* from the patterns being checked.
18692
18693 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18694
18695 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18696 refer to gdb_spawn_id.
18697
18698 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18699 longer used.
18700 * config/sparclet.exp: Ditto.
18701 * config/sparclet-old.exp: Ditto.
18702 * config/slite.exp: Ditto.
18703 * config/sim.exp: Ditto.
18704 * gdb.base/funcargs.exp: Ditto.
18705
18706 * lib/gdb.exp:Remove references to gdb_spawn_id.
18707 (gdb_expect): Move to remote.exp.
18708
18709 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18710
18711 * config/monitor.exp: Detect the "Couldn't establish connection"
18712 message from GDB.
18713
18714 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18715
18716 * gdb.base/bitfields.exp: Use runto instead of explicit
18717 gdb_run_cmd/gdb_expect sequences.
18718
18719 * gdb.base/break.exp(text_next_with_recursion): Add match for
18720 gdb_expect call.
18721
18722 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18723 We also need to handle the "A program is being debugged already"
18724 prompt from gdb. Use gdb_test to set the baud rate.
18725
18726 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18727 to 20000. Really. I mean it.
18728
18729 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18730
18731 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18732 fails. If suppress_flag is set, skip perror message about not
18733 being able to send to GDB.
18734 (send_gdb): If suppress_flag is set, don't try to send commands to
18735 GDB.
18736 (gdb_expect): If suppress_flag is set, always fail immediately.
18737 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18738 (gdb_init): Call gdb_stop_suppressing_tests.
18739 (default_gdb_exit): Ditto.
18740 (default_gdb_start): Ditto.
18741
18742 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18743 gdb_stop_suppressing_tests as appropriate.
18744 * gdb.base/break.exp: Ditto.
18745 * gdb.base/callfuncs.exp: Ditto.
18746 * gdb.base/commands.exp: Ditto.
18747 * gdb.base/exprs.exp: Ditto.
18748 * gdb.base/funcargs.exp: Ditto.
18749 * gdb.base/list.exp: Ditto.
18750 * gdb.base/recurse.exp: Ditto.
18751 * gdb.base/scope.exp: Ditto.
18752 * gdb.base/structs.exp: Ditto.
18753 * gdb.c++/inherit.exp: Ditto.
18754
18755 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18756
18757 * config/vr4300.exp: New file.
18758
18759 * gdb.*/*.exp: Call gdb_expect instead of expect.
18760
18761 * lib/gdb.exp(gdb_expect): New function.
18762
18763 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18764
18765 * lib/gdb.exp(gdb_init): New function.
18766
18767 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18768 for each individual variable set.
18769
18770 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18771 name.
18772
18773 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18774
18775 * gdb.base/scope.exp: Use gdb_test.
18776
18777 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18778 aborting; the testsuite driver will do that for us (see
18779 gdb_finish). Also, use gdb_test in a few more places.
18780
18781 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18782
18783 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18784
18785 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18786
18787 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18788 and "add_tests" are not at the same address.
18789
18790 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18791
18792 * gdb.base/ptype.exp: Use gdb_test.
18793
18794 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18795
18796 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18797 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18798 left in. No longer expect them to fail.
18799
18800 * gdb.stabs/*.mt; Deleted, no longer used.
18801 * gdb.stabs/configure.in: Remove references to target makefile
18802 frags.
18803 * gdb.stabs/configure: Rebuilt.
18804
18805 * gdb.disasm/*.mt: Deleted, no longer used.
18806 * gdb.disasm/configure.in: Remove references to target makefile
18807 frags. Use "sh3.s" as the unique filename for this directory.
18808 * gdb.disasm/configure: Rebuilt.
18809
18810 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18811 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18812 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18813
18814 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18815
18816 * config/udi.exp: Use mondfe,name instead of remote_host.
18817
18818 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18819
18820 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18821 a function with a watchpoint enabled on the mn10200.
18822
18823 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18824 before trying to create it!
18825
18826 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18827
18828 * config/vx.exp: Use hostname instead of netport.
18829
18830 * config/vxworks.exp: New file.
18831
18832 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18833
18834 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18835 gdb before assuming everything worked. Send a ^C if a timeout
18836 occurs.
18837
18838 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18839 $gdb_spawn_id directly.
18840 (gdb_run_cmd): Try _start as well as start. Use the target feature
18841 gdb,start_symbol as the symbol to start from when jumping.
18842
18843 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18844
18845 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18846 redundant) test.
18847
18848 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18849 it doesn't lose for 16bit integer systems.
18850
18851 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18852
18853 * gdb.fortran/types.exp: If the target doesn't support "double"
18854 data types, then expect "real" types to only be 4 bytes.
18855
18856 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18857 call tests if the target doesn't support inferior function calls.
18858
18859 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18860 in printf tests.
18861
18862 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18863
18864 * gdb.base/help.exp: Disable "help set", "help show", and
18865 "help support". Simplify regexp for "help stack".
18866
18867 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18868 to 60 seconds. Temporarily set match_max to 15000 around the
18869 "info copying" test.
18870
18871 * gdb.base/nodebug.exp: Don't try to do an inferior function
18872 call if the target doesn't support them.
18873 * gdb.base/printcmds.exp: Likewise.
18874 * gdb.base/setvar.exp: Likewise.
18875 * gdb.base/structs.exp: Likewise.
18876 * gdb.c++/templates.exp: Likewise.
18877 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18878
18879 * gdb.base/recurse.exp: Enable for the mn10200.
18880
18881 * configure.in: Do configure gdb.stabs directory for *-*-elf
18882 targets.
18883 * configure: Rebuilt.
18884
18885 * gdb.base/break.exp: Check for gdb,noresults before testing
18886 exit status and/or results from the target.
18887 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18888 * lib/gdb.exp: Remove old (now bogus) initialization of
18889 noinferior, noargs, noresults and nosignals.
18890
18891 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18892
18893 * config/sh.exp: New file.
18894
18895 * config/slite.exp: Try to connect multiple times to the board
18896 before rebooting. Only send a "monitor run" if need_monitor_run
18897 is set.
18898
18899 * gdb.base/break.exp: Don't do the "stub continue" test if
18900 the target has gdb_stub set.
18901
18902 * gdb.base/callfuncs.exp: Increase the timeout.
18903
18904 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18905 if the target has gdb,noinferiorio set.
18906
18907 * gdb.base/list.exp: Increase match_max to 10000 characters.
18908
18909 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18910
18911 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18912 target.
18913
18914 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18915
18916 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18917
18918 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
18919 trying to delete the copy of gdb. Catch the file delete so we
18920 don't die if the delete fails; also, the file should be copied to
18921 the host, not to the build.
18922
18923 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18924
18925 * lib/gdb.exp(gdb_test): Surround the result pattern with
18926 parenthesis in case it contains multiple regexps separated
18927 with |.
18928
18929 * gdb.base/watchpoint.exp: Use gdb_test.
18930 * gdb.base/default.exp: Ditto.
18931
18932 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18933
18934 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
18935
18936 * gdb.base/scope.exp: Use gdb_test.
18937 * gdb.c++/classes.exp: Ditto.
18938 * gdb.c++/inherit.exp: Ditto.
18939
18940 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18941
18942 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18943 remote_exec instead.
18944 * gdb.base/corefile.exp: Don't be ridiculous.
18945 * gdb.base/*.c: Add missing stub invocations.
18946
18947 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18948
18949 * config/slite.exp: Miscellaneous fixes.
18950
18951 * lib/gdb.exp: Fix runto.
18952
18953 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18954 the target.
18955
18956 * gdb.base/watchpoint.exp: Fix regexp.
18957
18958 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18959 close and wait commands, as the descriptor may now be
18960 invalid. Always call "remote_close host".
18961
18962 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18963
18964 Major rewrite for testsuite revision.
18965
18966 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18967 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18968 instead of relying on spawn_id to always contain a valid
18969 spawn id.
18970 (get_compiler_info): New procedure to build the ${binfile}.ci
18971 file, instead of replicating this in N different places.
18972 (gdb_compile): New procedure.
18973
18974 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
18975 appropriate arguments) instead of compile. Use gdb_test in a lot
18976 more places. Use send_gdb instead of send. Always run gdb_start
18977 at the start of a testcase, as this is no longer done magically.
18978
18979 config/*-gdb.exp: Rename without the -gdb suffix.
18980
18981 config/mips.exp: Use remote_close instead of exit_remote_shell.
18982 config/monitor.exp: Use target_info instead of looking at
18983 baud, timeout, etc.
18984 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18985
18986 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18987
18988 * gdb.c++/templates.exp (test_ptype_of_templates),
18989 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18990 Update expect patterns for destructors and assignment operators
18991 to match corresponding c-typeprint.c changes.
18992 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18993 to destructor breakpoint test, GDB should be able to set the
18994 destructor breakpoint without specifying arguments.
18995
18996 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18997
18998 * gdb.threads/pthreads.exp: Change result for failure to compile due
18999 to lack of pthreads runtime support from an error to simply an
19000 unsupported test, per dejagnu standards.
19001
19002 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19003
19004 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19005 where GDB exits to reduce pattern match time.
19006 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19007
19008 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19009
19010 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19011
19012 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19013 * gdb.base/default.exp: ditto.
19014 * gdb.base/nodebug.exp: ditto.
19015 * gdb.base/printcmds.exp: ditto.
19016 * gdb.base/ptype.exp: ditto.
19017 * gdb.base/setvar.exp: ditto.
19018 * gdb.base/structs.exp: ditto.
19019 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19020
19021 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19022
19023 * configure, */configure: Rebuild with autoconf 2.12.
19024
19025 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19026
19027 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19028 use new i*86-pc-linux*-gnu quads.
19029 * gdb.base/corefile.exp: Ditto.
19030 * gdb.base/signals.exp: Ditto.
19031 * gdb.base/sigall.exp: Ditto.
19032 * gdb.base/interrupt.exp: Ditto.
19033
19034 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19035 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19036 RedHat 4.0.
19037
19038 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19039 linux. This allows the test case to at least compile on latest
19040 linux, but still not run due to missing the threads runtime library.
19041
19042 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19043
19044 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19045 directory to search gdb directory. Accept and step over conditional
19046 stack alignment code. Consume $prompt in failure cases.
19047 Reset timeout to $oldtimeout instead of some arbitrary value.
19048 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19049 timeout problems with infinite stack backtraces.
19050 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19051 Accept function parameters for linkfunc member.
19052
19053 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19054
19055 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19056 (CXXFLAGS): Remove, unreferenced.
19057 (B_OPTIONS): Add for -B options and add code to initialize with
19058 previous -B options and also add -B option to pick up cross compiled
19059 runtime.
19060 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19061 doing cross compiles.
19062 (target_alias): Declare global.
19063 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19064 to verify that gcc exists in build tree, and if so set CC to that
19065 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19066
19067 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19068
19069 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19070 ptype test for anonymous union. Fixup testcase to match
19071 current gcc debug output.
19072
19073 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19074
19075 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19076 force argument to an unsigned long type.
19077
19078 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19079
19080 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19081 tests and anonymous union print/ptype tests.
19082 * gdb.base/list.exp (test_forward-search): Increase timeout by
19083 5 minutes for the "search extremely long line" case.
19084 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19085 completely optional and that the pass/fail messages use the command as
19086 the message if that third arg is a null string.
19087 (gdb_test_exact): Arrange that a null string pattern means match a
19088 null string output rather than any output, which might include random
19089 errors.
19090 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19091 backtrace test.
19092 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19093 always failing and failure is now exposed by gdb.exp changes.
19094
19095 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19096
19097 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19098 weren't being noted.
19099
19100 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19101
19102 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19103 * gdb.stabs/weird.exp: Remove v_comb xfails.
19104
19105 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19106
19107 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19108 list.exp scope.exp watchpoint.exp]
19109 Make all timeout error msgs explicitly say "(timeout)".
19110
19111 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19112
19113 * config/monitor.exp: Increase download timeout to 1000 seconds.
19114
19115 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19116
19117 * config/m32r.exp: Increase timeout to 120 seconds.
19118
19119 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19120
19121 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19122 and accept older ordering as obsolescent gcc or gdb.
19123 * gdb.c++/templates.exp: Ditto.
19124 * gdb.c++/virtfunc.exp: Ditto.
19125
19126 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19127
19128 * gdb.base/coremaker.c: Add code to mmap some data so we
19129 can check that it ends up in the core file.
19130 * gdb.base/corefile.exp: Add test to read mmapped data
19131 from core file.
19132
19133 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19134
19135 * config/m32r.exp: New file.
19136
19137 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19138
19139 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19140 that cflags can contains -gstabs, and work correctly for other tests.
19141
19142 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19143
19144 * gdb.base/setshow.exp: New file, tests show and set.
19145 * gdb.base/setshow.c: New file, tests show and set.
19146 * gdb.base/help.exp: Add test for help set|show annotate.
19147 * gdb.base/default.exp: Add test for set|show annotate.
19148
19149 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19150
19151 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19152 errors unique.
19153 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19154 explicitly.
19155
19156 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19157
19158 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19159 and width commands. This is done elsewhere.
19160 * (gdb_start): Don't call gdb_start_sim here. That's already
19161 done in gdb_load. This fixes lots of failures in default.exp.
19162
19163 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19164
19165 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19166 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19167 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19168 in the same we we treat other failures (since it may be an expected
19169 condition), rather than as an error.
19170 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19171 old test format.
19172
19173 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19174
19175 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19176 (distclean maintainer-clean realclean): No need to remove files
19177 twice. Nuke the duplicates.
19178 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19179 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19180 Remove config.h along with other config files.
19181
19182 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19183
19184 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19185 "p func1 ()" and note that rests of tests are skipped.
19186 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19187 setup_xfails for "print func2::coremaker_local".
19188 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19189 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19190 affected by the previous run test.
19191 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19192 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19193 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19194 "pass int powerset tuple" and "pass modeless int powerset tuple".
19195 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19196 "real write 4" and "real write 8".
19197 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19198 setup_xfails for "print vs1 after tuple assign 2",
19199 "print \$i after tuple assign 2", and
19200 "print vs2 after tuple assign 2".
19201 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19202 meaningful error message and return -1 so the caller can
19203 suppress further tests and avoid a cascade of errors.
19204
19205 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19206
19207 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19208 format for printing version.
19209 * gdb.base/default.exp: Ditto.
19210 * gdb.base/interrupt.exp: Fix problem with cascade of
19211 errors if child process dies while calling a function.
19212
19213 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19214
19215 * Makefile.in (VPATH): Add
19216 * Makefile.in (Makefile, config.status): Fix rules so things get
19217 remade when necessary.
19218
19219 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19220
19221 * Makefile.in (just-check): Add path to sibling expect dir
19222 to environment variable specified by RPATH_ENVVAR.
19223
19224 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19225
19226 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19227 (just-check): Add shared library paths for libstdc++, tk,
19228 tcl, bfd, and opcodes to the environment variable specified
19229 in RPATH_ENVVAR.
19230 * configure.in: Add support to recognize --enable-shared flag
19231 and generate correct value for RPATH_ENVVAR.
19232 * configure: Regenerated with autoconf.
19233
19234 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19235
19236 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19237 include all osf versions.
19238 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19239 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19240 when target is linux. When failing to build pthreads test
19241 executable, give more meaningful message.
19242 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19243 arg for pthread_create.
19244
19245 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19246
19247 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19248 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19249 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19250 and -lpthreads (everybody else).
19251 (test_startup): Fail gracefully if threads are not supported.
19252 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19253 "p/c array_index("abcdef",2)" when not gcc compiled.
19254 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19255 "print func2::coremaker_local" when not gcc compiled.
19256 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19257 "ptype on opaque struct tagname (statically)",
19258 "ptype on opaque struct tagname (dynamically) 1", and
19259 "ptype on opaque struct tagname (dynamically) 2"
19260 for not compiled with gcc.
19261 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19262 backtrace when compiled with gcc.
19263 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19264 than always return success.
19265
19266 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19267
19268 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19269
19270 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19271
19272 * gdb.base/structs.exp: Undo last change.
19273
19274 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19275
19276 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19277 encapsulate all the steps/nexts done during self test, starting
19278 at main, and makes them less sensitive to optimization issues.
19279 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19280 signal handler" test.
19281 * gdb.threads/pthreads.exp: Only run this for native configs.
19282 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19283 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19284 tests.
19285 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19286 for "runto test_calls(void)" test.
19287
19288 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19289
19290 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19291 and don't expect address info in breakpoint confirmations.
19292
19293 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19294
19295 * gdb.base/list.exp (test_forward_search): Increase timeout
19296 temporarily by 60 seconds for searching extremely long line,
19297 and then reset to old value when done. Increase expect input
19298 buffer to 10000.
19299
19300 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19301
19302 * gdb.base/list.exp (test_forward_search): Fix to handle very
19303 long source line without overflowing expect's input buffer.
19304
19305 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19306
19307 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19308 "buffer_full".
19309
19310 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19311 "buffer_full".
19312
19313 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19314 "buffer_full".
19315
19316 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19317 "buffer_full".
19318
19319 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19320
19321 * configure.in (configdirs): Add gdb.threads.
19322 * configure: Regenerated with autoconf.
19323 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19324 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19325 * gdb.threads/configure: New, generated with autoconf.
19326
19327 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19328
19329 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19330
19331 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19332
19333 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19334 each signal's status in the output of "handle all print".
19335 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19336 the \r\n sequence that immediately precedes the gdb prompt.
19337 * gdb.base/a1-selftest.exp: Save original timeout and restore
19338 after test.
19339
19340 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19341
19342 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19343 symbol.
19344
19345 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19346
19347 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19348
19349 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19350
19351 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19352 timeout by 60 seconds.
19353
19354 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19355
19356 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19357 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19358 error return.
19359
19360 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19361
19362 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19363 gdb initialization, also report how long dejagnu waited. Restore
19364 old timeout before doing error return. Temporarily increase timeout
19365 by 3 minutes to allow for slow startups over heavy NFS use.
19366
19367 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19368
19369 * lib/gdb.exp: Report timeout value for verbosity level 2.
19370 * config/gdbserver.exp: Ditto.
19371 * config/hppro.exp: Ditto.
19372 * config/mips-gdb.exp: Ditto.
19373 * config/monitor.exp: Ditto.
19374 * config/netware.exp: Ditto.
19375 * config/sim-gdb.exp: Ditto.
19376 * config/slite-gdb.exp: Ditto.
19377 * config/udi-gdb.exp: Ditto.
19378 * config/unix-gdb.exp: Ditto.
19379 * config/vx-gdb.exp: Ditto.
19380 * gdb.base/a1-selftest.exp: Ditto.
19381 * gdb.base/a2-run.exp: Ditto.
19382 * gdb.base/break.exp: Ditto.
19383 * gdb.base/corefile.exp: Ditto.
19384 * gdb.base/list.exp: Ditto.
19385 * gdb.base/recurse.exp: Ditto.
19386 * gdb.base/scope.exp: Ditto.
19387 * gdb.base/signals.exp: Ditto.
19388
19389 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19390
19391 * gdb.threads/Makefile.in (docdir): Removed.
19392
19393 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19394
19395 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19396 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19397 @srcdir@.
19398 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19399 autoconf 2.5 or higher.
19400 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19401
19402 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19403
19404 * configure: Regenerated.
19405 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19406 avoid name clashes with SunOS headers.
19407
19408 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19409
19410 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19411
19412 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19413
19414 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19415 prototype information ends up in the compiler info file.
19416
19417 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19418
19419 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19420 attempting to regenerate it. Eliminate use of a temporary file
19421 and just generate the info file directly. Source it immediately,
19422 for consistency of use.
19423 * gdb.base/corefile.exp: Ditto
19424 * gdb.base/exprs.exp: Ditto.
19425 * gdb.base/funcargs.exp: Ditto.
19426 * gdb.base/langs.exp: Ditto.
19427 * gdb.base/list.exp: Ditto.
19428 * gdb.base/mips_pro.exp: Ditto.
19429 * gdb.base/nodebug.exp: Ditto.
19430 * gdb.base/opaque.exp: Ditto.
19431 * gdb.base/ptype.exp: Ditto.
19432 * gdb.base/scope.exp: Ditto.
19433 * gdb.base/setvar.exp: Ditto.
19434 * gdb.base/signals.exp: Ditto.
19435 * gdb.base/whatis.exp: Ditto.
19436 * gdb.c++/templates.exp: Ditto.
19437 * gdb.c++/virtfunc.exp: Ditto.
19438 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19439 whether or not to add -lstdc++ to the compile command line args.
19440
19441 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19442
19443 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19444 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19445 Increase timeout, a lot of single stepping might be needed if the
19446 target has no hardware watchpoints.
19447
19448 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19449
19450 * gdb.base/break.exp: Ignore compiler warnings when compiling
19451 break.c.
19452 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19453 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19454 from remote-sim.
19455 * gdb.base/exprs.exp: Add h8300 xfails.
19456 * gdb.base/funcargs.exp: Likewise.
19457 * gdb.base/nodebug.exp: Likewise.
19458 * gdb.base/printcmds.exp: Likewise.
19459 * gdb.base/ptype.exp: Likewise.
19460 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19461 h8300 xfails.
19462 * gdb.base/return.exp: Handle float/double precision problems
19463 on the h8300.
19464 * gdb.base/funcargs.c: Explicitly make last constant argument to
19465 call_after_alloca_subr an unsigned long type.
19466 * gdb.base/return.c: Include stdio.h.
19467
19468 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19469
19470 * config/abug.exp: New file for the older Motorola Bug monitor
19471 that runs on the mvme13x series VME boards.
19472 * config/monitor.exp: Use the new config array for target settings
19473 if they exist.
19474
19475 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19476
19477 * sim-gdb.exp: Make the SH simulator allocate less space when
19478 it is targeted.
19479
19480 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19481
19482 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19483 test.
19484
19485 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19486
19487 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19488 "rs6000-*-*" for "list function in include file" when gcc compiled.
19489 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19490 for "p ctable1[120]".
19491 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19492 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19493 Remove setup_xfail for "rs6000-*-*" for
19494 "print 'scope0.c'::filelocal before run".
19495 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19496 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19497 since some compilers don't allow both options to be given
19498 on the same command line. Create object file and move it.
19499
19500 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19501
19502 * gdb.base/corefile.exp: Always regenerate the core file, since
19503 we always regenerate the coremaker program. Detect special case
19504 where registers cannot be read from core file.
19505
19506 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19507
19508 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19509 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19510 * gdb.c++/templates.exp: Only match on basename of file since
19511 some formats like xcoff don't encode directory information.
19512 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19513 and rs6000 AIX xcoff targets.
19514 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19515 * configure: Regenerate.
19516 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19517 here, rather than in distclean.
19518
19519 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19520
19521 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19522 defined, and use it to compile the test case with -O2. The
19523 native compilation still uses no optimization.
19524 * gdb.base/mips_pro.c: Remove inline assembly code since
19525 it is compiled PIC by default, which results in assembler
19526 warnings that make the testsuite think the compilation
19527 was unsuccessful.
19528
19529 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19530
19531 * gdb.c++/misc.exp: Add note to message for
19532 "print s.a for foo struct" that this is a known gcc 2.7.2
19533 and earlier bug.
19534
19535 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19536
19537 * gdb.base/break.exp: Fix pattern for matching "Delete all
19538 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19539 setup_xfail for deleting all breakpoints test. Fix various
19540 timeout messages to include "(timeout)".
19541 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19542 for "p t_float_values2(3.14159,float_val2)".
19543 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19544 for "continue to call2g" when gcc compiled.
19545 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19546 "up to foo in langs.exp", "show language at foo in langs.exp",
19547 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19548 and "show language at fsub in langs.exp".
19549 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19550 "list line 1 in include file", "list message for lines past EOF",
19551 "list function in include file", "list list0.h:foo", and
19552 "list filename:function; nonexistant function".
19553 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19554 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19555 and "ptype t_char_array" to be for native cc only.
19556
19557 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19558
19559 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19560 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19561 "print func2::coremaker_local", and "backtrace in corefile.exp".
19562
19563 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19564
19565 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19566 "bt in signals.exp". This problem only appears when running
19567 the testsuite, and then only intermittently.
19568
19569 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19570
19571 * gdb.base/return.exp (return_tests): Differentiate between
19572 two tests of continuing.
19573
19574 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19575
19576 * */Makefile.in (maintainer-clean): Remove config.log.
19577 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19578 * gdb.c++/Makefile.in (PROGS): Add inherit.
19579 (clean): Remove *.ci.
19580
19581 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19582
19583 * gdb.c++/misc.cc: Add test code from Mike Stump.
19584 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19585
19586 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19587
19588 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19589 to "alpha-*-osf2*" and add comment.
19590 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19591 setup_xfail for "step over execarg initialization" and
19592 "step over corearg initialization".
19593 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19594 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19595 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19596 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19597 "print func2::coremaker_local", and "backtrace in corefile.exp".
19598 * gdb.base/signals.exp: Build and source signals.ci.
19599 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19600 to be for gcc only.
19601 * lib/gdb.exp: Move verbose statements outside conditionals.
19602
19603 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19604
19605 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19606 Feb 3 procfs.c change.
19607
19608 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19609
19610 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19611
19612 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19613
19614 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19615 from dejagnu's apparent default of 10 seconds, which gives random
19616 results when running the tests over NFS on moderately loaded systems.
19617 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19618
19619 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19620
19621 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19622 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19623 result reports.
19624
19625 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19626
19627 * configure.in (CY_AC_PATH_TCLH): Remove.
19628 * configure: Regenerate.
19629
19630 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19631
19632 * gdb.c++/Makefile.in (clean): Add missing '{'.
19633
19634 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19635
19636 * lib/gdb.exp: Provide a default value for noinferior.
19637
19638 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19639 Load libgloss.exp.
19640
19641 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19642
19643 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19644 the executable, not the .o to run the tests from.
19645
19646 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19647
19648 * gdb.base/break.exp: Don't test for program exit or exit status
19649 if $noresults if nonzero.
19650 * gdb.base/langs.exp: Likewise.
19651 * gdb.base/watchpoint.exp: Likewise.
19652
19653 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19654 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19655 trying to compile the testcase.
19656
19657 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19658
19659 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19660 * gdb.base/signals.exp (continue to handler): Likewise.
19661
19662 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19663
19664 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19665
19666 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19667
19668 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19669
19670 * gdb.base/corefile.exp: Recognize "not found" as failure
19671 when trying to determine if a core file was generated.
19672 If no core file was generate the first time, try again without
19673 the ulimit -c to work around braindamaged shells.
19674
19675 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19676
19677 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19678 [] tests with "test" and enclose string in quotes.
19679 * gdb.stabs/configure: Rebuild
19680
19681 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19682
19683 Changes in sync with expect:
19684 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19685 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19686 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19687 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19688 argument to AC_REQUIRE.
19689 * configure: Regenerated.
19690
19691 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19692
19693 * gdb.base/corefile.exp: When generating a core, discard any
19694 error messages about ulimit not found and the "core dumped"
19695 message from the shell that runs the coredumper.
19696
19697 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19698
19699 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19700
19701 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19702 which sed script to run. Expect failure for v_comb test
19703 on PA targets too.
19704
19705 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19706
19707 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19708 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19709
19710 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19711
19712 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19713 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19714 "sparc-sun-solaris*" xfails for "p v_comb".
19715 * lib/gdb.exp (default_gdb_start): Fix typo.
19716 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19717 messages to not include the full program name that caused
19718 the core dump since some systems (such as solaris) apparently
19719 truncate this path to about 80 characters.
19720 When generating a core file first try increasing the core file
19721 size limit to unlimited since some systems may default it to
19722 zero, and it is harmless to try it. Move the test for failing
19723 to generate a core file to where it will actually get executed.
19724 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19725 new gdb result from g++ debug info improvements and make old
19726 pattern obsolescent. Also account for size_t differences
19727 (may be int or long).
19728 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19729 initialization before function call is placed in the delay slot
19730 and thus appears to be skipped over by commands such as "next".
19731
19732 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19733
19734 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19735
19736 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19737
19738 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19739 input source file; fix code to compile test to deal with this
19740 convention.
19741 * gdb.c++/*.exp: Likewise.
19742
19743 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19744
19745 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19746 "bt in signals.exp".
19747
19748 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19749
19750 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19751 "step over execarg initialization" and
19752 "step over corearg initialization".
19753
19754 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19755
19756 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19757 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19758
19759 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19760
19761 From Rob Savoye (rob@poseidon.cygnus.com)
19762 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19763 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19764 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19765 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19766 configure.in}: Major reworking for autoconfig.
19767 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19768 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19769 New files.
19770 * config/unix-gdb.exp: Make GDB global.
19771 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19772 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19773 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19774 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19775 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19776 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19777 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19778 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19779 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19780 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19781 pr-8136.exp, result.exp, string.exp, tuples.exp},
19782 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19783 to returns as necessary, arrange for test to compile own testcase
19784 executable.
19785 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19786
19787 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19788
19789 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19790 clear_xfail at end of test which might not call either pass or fail.
19791 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19792 "backtrace through signal handler".
19793
19794 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19795
19796 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19797 continuing from a job control stop signal.
19798 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19799
19800 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19801
19802 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19803 * gdb.base/corefile.exp: Likewise.
19804 * gdb.base/funcargs.exp: Likewise.
19805
19806 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19807
19808 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19809 * config/monitor.exp: Add support for setting baud rate.
19810
19811 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19812
19813 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19814 i*86-*-linux* xfails for "backtrace through signal handler".
19815 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19816 "print func2::coremaker_local".
19817 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19818 alpha-dec-osf2* xfail for
19819 "delete all breakpoints when none".
19820
19821 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19822
19823 * gdb.base/break.exp: Change test that deletes all breakpoints
19824 when no user breakpoints are installed. A post 4.15 change
19825 causes gdb to no longer prompt in this case.
19826
19827 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19828
19829 * gdb.base/return.exp (return_tests): Change xfail for test
19830 "correct value returned double test" to stop xfailing at
19831 Solaris 2.5. Apparently the bug has been fixed.
19832
19833 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19834
19835 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19836 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19837
19838 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19839
19840 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19841 * gdb.disasm/hppa.s: Corresponding changes.
19842
19843 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19844
19845 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19846 makefile fragment.
19847 * config/mt-hpux: Deleted.
19848
19849 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19850
19851 * Many files: When warning about suppressed tests due to a
19852 nonexistant test binary, avoid incrementing the warning count.
19853
19854 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19855
19856 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19857
19858 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19859
19860 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19861 "sparc-*-solaris2*".
19862
19863 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19864
19865 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19866 Add global and local variables and initialize them.
19867 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19868 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19869 extracts the file name and terminating signal from the core file.
19870 * TODO: Remove note about tests for correct mapping of corefile.
19871 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19872 from optimizing it away.
19873 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19874 handles common blocks.
19875
19876 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19877
19878 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19879 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19880
19881 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19882
19883 * Makefile.in (maintainer-clean): New target, synonym for
19884 realclean.
19885 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19886 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19887 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19888 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19889 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19890 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19891
19892 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19893
19894 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19895 xfails when not gcc compiled for "print foo::funclocal".
19896 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19897 "print foo::funclocal at foo",
19898 "print 'scope1.c'::foo::funclocal at foo",
19899 "print foo::funclocal_bss at foo",
19900 "print 'scope1.c'::foo::funclocal_bss at foo",
19901 "print foo::funclocal_ro at foo",
19902 "print 'scope1.c'::foo::funclocal_ro at foo",
19903 "print bar::funclocal at foo" and
19904 "print 'scope1.c'::bar::funclocal at foo".
19905 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19906 gcc compiled for "print foo::funclocal at bar".
19907 Expand all messages to ensure that they identify that
19908 the test is at bar().
19909 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19910 gcc compiled for:
19911 "ptype on opaque struct pointer (statically)",
19912 "ptype on opaque struct tagname (statically)",
19913 "ptype on opaque struct pointer (dynamically) 1",
19914 "ptype on opaque struct tagname (dynamically) 1",
19915 "ptype on opaque struct pointer (dynamically) 2" and
19916 "ptype on opaque struct tagname (dynamically) 2
19917 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19918 gcc compiled for:
19919 "p datalocal"
19920 "whatis datalocal",
19921 "ptype datalocal",
19922 "p bsslocal",
19923 "whatis bsslocal", and
19924 "ptype bsslocal".
19925 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19926 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19927 when not gcc compiled.
19928 * gdb.base/funcargs.exp (float_and_integral_args): Add
19929 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19930 compiled.
19931 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19932 "backtrace from call6a" when not gcc compiled.
19933 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19934 "backtrace from call7a" when not gcc compiled.
19935 * gdb.base/callfuncs.exp (do_function_calls):
19936 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19937 "p t_char_array_values(char_array_val2,char_array_val1)",
19938 "p t_char_array_values(char_array_val1,char_array_val2)",
19939 "p t_char_array_values("carray 1","carray 2")",
19940 "p t_char_array_values("carray 1",char_array_val2)",
19941 "p t_char_array_values(char_array_val1,"carray 2")",
19942 "p sum_args(1,{2})",
19943 "p sum_args(2,{2,3})",
19944 "p sum_args(3,{2,3,4})",
19945 "p sum_args(4,{2,3,4,5})"
19946 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19947 "backtrace in corefile.exp" when not gcc compiled.
19948
19949 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19950
19951 * gdb.base/signals.exp: Rewrite `handle all print' test as
19952 a procedure. Accept blanks or TABs as whitespace, increase
19953 timeout and expect input buffer size for the large output
19954 from the command. Remove "i*86-*-bsdi2.0" xfail.
19955
19956 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19957
19958 * gdb.base/setvar.exp: Add new testcases for truncation when
19959 assigning invalid values to bitfields.
19960
19961 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19962
19963 * gdb.base/callfuncs.exp (do_function_calls): Remove
19964 mips-sgi-irix* xfail for
19965 "call inferior func with struct - returns char *"
19966 and fix test so that an optional (unsigned char *) cast is
19967 accepted in the result.
19968
19969 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19970
19971 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19972 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19973 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19974 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19975 that accidentally got checked in.
19976
19977 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19978
19979 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
19980 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19981 compiled test.
19982 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19983 Add mips-sgi-irix5* xfail for not gcc compiled.
19984 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19985 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19986 "p top", "whatis top", "p middle", and "whatis middle".
19987 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19988 "whatis signed char" for not gcc compiled.
19989 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19990 "set variable signed char=-1 (-1)" and
19991 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19992 * gdb.base/funcargs.exp (float_and_integral_args):
19993 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19994 Add mips-sgi-irix* xfail when not gcc compiled for
19995 "continue to call2b".
19996 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19997 "continue to call2g".
19998 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19999 "backtrace from call6a"
20000 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20001 "backtrace from call7k".
20002 Add mips-sgi-irix5* xfail when not gcc compiled for
20003 "backtrace from call7a".
20004 (localvars_after_alloca): Fix gdb_test cmds for
20005 "print * after runto ...".
20006 Remove rs6000-*-* xfails for
20007 "print i after runto localvars_after_alloca" and
20008 "print l after runto localvars_after_alloca"
20009 for all compilers.
20010 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20011 when not compiled with gcc, for:
20012 "print signed char == (minus)",
20013 "print signed char != (minus)",
20014 "print signed char < (minus)",
20015 "print signed char > (minus)".
20016 * gdb.base/callfuncs.exp (do_function_calls):
20017 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20018 "call inferior func with struct - returns char *".
20019 * gdb.base/return.exp (return_tests): Change xfail for
20020 "correct value returned double test" to include Solaris 2.4.
20021 * gdb.base/funcargs.exp (float_and_integral_args):
20022 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20023
20024 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20025
20026 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20027 enumeration bitfields if compiling with GNU C.
20028 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20029 to empty' prompt.
20030
20031 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20032
20033 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20034 test for PRO targets.
20035
20036 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20037 breakpoints in the inferior at any given time by making
20038 two groups of breakpoints for call2*, call6* and call7*
20039 tests.
20040
20041 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20042
20043 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20044 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20045 from optimizing it away.
20046 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20047 "call inferior func with struct".
20048
20049 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20050
20051 * configure.in: Only configure gdb.chill for particular targets.
20052
20053 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20054
20055 * gdb.base/Makefile.in: Add action to .c.o transformation
20056 rule that generates a .ci file for each .o file and remove
20057 explicit .c.o rules except for callfuncs.o.
20058 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20059 generates a .ci file for each .o file and remove explicit
20060 .cc.o rules.
20061 (clean): Remove *.tmp *.ci files.
20062 (EXECUTABLES): Remove templ-info.exp.
20063 * gdb.base/compiler.c: New file.
20064 * gdb.c++/compiler.cc: New file
20065 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20066 Change rs6000-*-* xfail for
20067 "print 'scope0.c'::filelocal_ro" and
20068 "print 'scope1.c'::filelocal" and
20069 "print 'scope1.c'::filelocal_bss" and
20070 "print 'scope1.c'::filelocal_ro" and
20071 "print 'scope1.c'::foo::funclocal" and
20072 "print 'scope1.c'::foo::funclocal_ro" and
20073 "print 'scope1.c'::bar::funclocal" and
20074 "print 'scope0.c'::filelocal_ro" and
20075 "print 'scope1.c'::filelocal at foo" and
20076 "print 'scope1.c'::filelocal_bss at foo" and
20077 "print 'scope1.c'::filelocal_ro at foo" and
20078 "print 'scope1.c'::foo::funclocal at foo" and
20079 "print 'scope1.c'::foo::funclocal_bss at foo" and
20080 "print 'scope1.c'::foo::funclocal_ro at foo" and
20081 "print 'scope1.c'::bar::funclocal at foo" and
20082 "print 'scope0.c'::filelocal_ro" and
20083 "print 'scope1.c'::filelocal" and
20084 "print 'scope1.c'::filelocal_bss" and
20085 "print 'scope1.c'::filelocal_ro" and
20086 "print 'scope1.c'::foo::funclocal" and
20087 "print 'scope1.c'::foo::funclocal_bss" and
20088 "print 'scope1.c'::foo::funclocal_ro" and
20089 "print 'scope1.c'::bar::funclocal" and
20090 "print 'scope1.c'::bar::funclocal_bss"
20091 to only be xfail'd when not compiled with gcc.
20092 Add rs6000-*-* xfail for
20093 "print 'scope0.c'::filelocal_bss before run"
20094 when compiled with gcc.
20095 (test_at_main): Add rs6000-*-* xfail for
20096 "print filelocal_ro in test_at_main"
20097 when compiled with gcc.
20098 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20099 Add rs6000-*-aix* xfail for
20100 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20101 "ptype t_char_array", not compiled with gcc.
20102 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20103 xfail for "list foo (in include file)" when gcc compiled.
20104 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20105 (integral_args): Add rs6000-*-* xfail for
20106 "run to call0a" if not compiled with gcc.
20107 (unsigned_integral_args): Add rs6000-*-* xfail for
20108 "run to call1a" if not compiled with gcc.
20109 (float_and_integral_args): Add rs6000-*-* xfail for
20110 "run to call2a" if not compiled with gcc and for
20111 "continue to call2b" for any compiler.
20112 Add rs6000-*-* xfail to
20113 "print f1 after run to call2a" for gcc compiled.
20114 (discard_and_shuffle): Add rs6000-*-* xfail for
20115 "run to call6a".
20116 (shuffle_round_robin): Add rs6000-*-* xfail for
20117 "backtrace from call7a" if not compiled with gcc.
20118 Add rs6000-*-* xfail for
20119 "backtrace from call7b" if compiled with gcc.
20120 (call_after_alloca): Add rs6000-*-* xfail for
20121 "print c in call_after_alloca" and
20122 "print s in call_after_alloca" and
20123 "backtrace from call_after_alloca_subr"
20124 if not compiled with gcc.
20125 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20126 "print c in localvars_in_indirect_call" and
20127 "print c in localvars_in_indirect_call" and
20128 "backtrace in indirectly called function" and
20129 "stepping into indirectly called function"
20130 if not compiled with gcc.
20131 (localvars_after_alloca): Add rs6000-*-* xfail for
20132 "print c after runto localvars_after_alloca" and
20133 "print s after runto localvars_after_alloca" and
20134 "print i after runto localvars_after_alloca" and
20135 "print l after runto localvars_after_alloca"
20136 for all compilers.
20137 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20138 than whatis-info.exp.
20139 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20140 than opaque-info.exp.
20141 Setup rs6000-*-* xfail for
20142 "ptype on opaque struct pointer (statically)" and
20143 "ptype on opaque struct pointer (dynamically)" when
20144 not compiled with gcc.
20145 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20146 rather than callf-info.exp.
20147 (do_function_calls): Add clear_xfail for rs6000-*-* for
20148 "p t_float_values2(3.14159,float_val2)". Seems to work
20149 fine there, both with xlc and gcc. Need to find out what
20150 it is doing right and fix other platforms.
20151 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20152 "call inferior func with struct - returns int",
20153 "call inferior func with struct - returns long",
20154 "call inferior func with struct - returns float",
20155 "call inferior func with struct - returns double",
20156 "call inferior func with struct - returns char *",
20157 but only if not gcc compiled (presumes xlc compiled).
20158 Change rs6000-*-* xfails for
20159 "call inferior func with struct - returns char" and
20160 " call inferior func with struct - returns short" to only
20161 xfail if not using gcc.
20162 (clean mostlyclean): Remove *.ci and *.tmp files.
20163 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20164 than templ-info.exp.
20165 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20166 Add rs6000-*-* xfail for "up to foo in langs.exp"
20167 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20168 when not gcc compiled.
20169
20170 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20171
20172 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20173 * gdb.base/corefile.exp: Likewise.
20174 * gdb.base/list.exp: Likewise.
20175 * gdb.base/scope.exp: Likewise.
20176 * gdb.base/siganls.exp: Likewise.
20177
20178 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20179 compiler output.
20180 * gdb.base/whatis.exp: Likewise.
20181
20182 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20183
20184 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20185 failure (opcode table has been fixed to match reality).
20186
20187 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20188
20189 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20190 "call inferior func with struct - returns char",
20191 "call inferior func with struct - returns short"
20192
20193 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20194 "print 'scope0.c'::filelocal at main",
20195 "print 'scope0.c'::filelocal_bss in test_at_main",
20196 "print 'scope0.c'::filelocal at foo",
20197 "print 'scope0.c'::filelocal_bss in test_at_foo",
20198 "print 'scope0.c'::filelocal at bar",
20199 "print 'scope0.c'::filelocal_bss in test_at_bar"
20200
20201 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20202 in source file 1". This bug seems to have been fixed with both
20203 gcc and native cc (was native assembler bug?).
20204
20205 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20206
20207 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20208 "backtrace through signal handler" to "i*86-*-sysv4*".
20209 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20210 continue" case. Add "known SVR4 bug" to fail message.
20211 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20212 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20213 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20214 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20215 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20216 "up to foo in langs.exp", "show language at foo in
20217 langs.exp", "up to cppsub_ in langs.exp", "show
20218 language at cppsub_ in langs.exp", "up to fsub in
20219 langs.exp", and "show language at fsub in langs.exp".
20220 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20221 "bactrace in corefile.exp".
20222 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20223 "call inferior function with struct - returns float" and
20224 "call inferior function with struct - returns double".
20225
20226 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20227
20228 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20229 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20230 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20231 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20232
20233 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20234
20235 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20236 (or overriden) "CHILL" macro rather then bare "gcc".
20237 Also look for ../../gcc/xgcc since that is what we will
20238 actually need, not "Makefile". Remove following assignment
20239 of CHILL to CHILL_FOR_TARGET because that results in
20240 recursive definition.
20241
20242 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20243
20244 * gdb.base/corefile.exp: Change xfail for backtrace in
20245 corefile.exp from linuxaout to all linux.
20246 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20247 cases where we miss the breakpoint at the signal handler
20248 for some reason. Setup xfail for linuxoldld/linuxaout and
20249 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20250 hitting SIGURG breakpoint.
20251 * gdb.base/signals.exp: Setup xfail for "next" acting like
20252 continue to add linuxoldld. Setup xfail for all linux for
20253 "next to handler in signals_tests_1", "backtrace in
20254 signals_tests_1", "continue to func1", "pass SIGUSR1",
20255 and continue to handler".
20256
20257 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20258
20259 * Update all FSF addresses except those in COPYING* files.
20260
20261 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20262
20263 * gdb.base/a2-run.exp: Change messages to be more explicit about
20264 the status of args, and quote binfile in results.
20265
20266 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20267
20268 * gdb.base/callfuncs.exp: Add tests for passing structs to
20269 inferior functions and return various types.
20270 * gdb.base/callfuncs.c: Add functions to receive a struct
20271 and return a member of the struct, in various types.
20272
20273 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20274
20275 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20276
20277 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20278
20279 * config/vxworks29k.exp: New file, sources vxworks.exp.
20280
20281 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20282
20283 * config/gdbremote.exp: New file. Testing framework using
20284 gdbserver.
20285
20286 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20287
20288 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20289 "call function when asleep" and "send end of file".
20290 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20291 for "backtrace in corefile.exp".
20292 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20293 for "backtrace through signal handler".
20294 * gdb.base/corefile.exp: Make sure we actually generate a core file
20295 before trying the core tests. Some systems allow the user to suppress
20296 generation of core files and default to that (linux for example).
20297 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20298 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20299
20300 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20301
20302 * gdb.threads: New directory with some crude multi-threaded
20303 gdb tests (step.exp and step2.exp).
20304 * config/mt-lynx (STEP_EXECUTABLE): Define.
20305 (THREADFLAGS): Define.
20306
20307 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20308
20309 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20310
20311 * gdb.base/signals.exp: Disable whole file for lynx until
20312 further notice.
20313
20314 * gdb.base/signals.exp: xfail test where "next" acts like
20315 "continue" for lynx.
20316
20317 * gdb.base/interrupt.exp: xfail test for calling function while
20318 inferior is asleep for lynx.
20319
20320 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20321 than one cr-lf after each command.
20322
20323 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20324
20325 * configure.in: Reinstate setting of stabsdirs variable, fix
20326 typo in setting up configdirs for native builds.
20327
20328 * gdb.base/return.exp: Fix typo in return double test.
20329 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20330 compiler from optimizing them away.
20331
20332 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20333
20334 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20335 sequences to be echo'd by gdb when using gdb_test.
20336 * gdb.chill/chexp.exp: Likewise.
20337 * gdb.fortran/exprs.exp: Likewise
20338
20339 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20340
20341 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20342 after the inferior gdb has started.
20343
20344 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20345 after each command.
20346 * gdb.base/funcargs.exp: Likewise.
20347 * gdb.base/gdbvars.exp: Likewise.
20348 * gdb.base/interrupt.exp: Likewise.
20349 * gdb.base/list.exp: Likewise.
20350 * gdb.base/watchpoint.exp: Likewise.
20351 * gdb.c++/demangle.exp: Likewise.
20352 * gdb.c++/inherit.exp: Likewise.
20353 * gdb.chill/chexp.exp: Likewise.
20354 * gdb.fortran/exprs.exp: Likewise.
20355
20356 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20357 test if we can't handle IO to/from the inferior.
20358
20359 * gdb.c++/misc.exp: Always check for a program already being
20360 started after sending a "run" command to gdb.
20361
20362 * gdb.base/twice.exp: Start with a fresh gdb.
20363
20364 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20365 only depend on gdb's expression code, not the chill runtime.
20366
20367 * gdb.base/return.c: Put return values into variables so we
20368 can have gdb print them rather than depending on the program
20369 to print them.
20370 * gdb.base/return.exp: Corresponding changes.
20371
20372 * lib/gdb.exp: Provide default value for noinferiorio.
20373 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20374 the inferior.
20375
20376 * gdb.base/break.exp: Always check for a program already being
20377 started after sending a "run" command to gdb.
20378 (text_next_with_recursion): Don't check the output from the
20379 program's printf statement. Instead just make sure the program
20380 exited.
20381
20382 * gdb.base/commands.exp: Protect tests which need arguments with
20383 $noargs conditionals.
20384
20385 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20386
20387 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20388 of structure member arrays to match gdb/valops.c:value_addr change.
20389
20390 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20391
20392 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20393 cases.
20394
20395 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20396
20397 * configure.in (configdirs): Remove gdb.chill from default list
20398 of subdirs and then add it back in only if doing a native build.
20399 The current chill compiler does not yet work in any cross build.
20400 * Revert all signal changes from Jul 6.
20401 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20402 for sh-hms targets, allowing these tests to link, with no other
20403 changes. Testing is suppressed by setting "nosignals" in site.exp.
20404
20405 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20406
20407 * configure.in (signaldirs): Define and add to configdirs for all
20408 targets except some specific ones that are known to not support signals.
20409 Also clean up formatting.
20410 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20411 (signals, sigall): Remove rules to build.
20412 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20413 Moved to new gdb.signals directory.
20414 * gdb.signals: New test directory.
20415 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20416 signals.c signals.exp}: New or moved files.
20417
20418 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20419
20420 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20421
20422 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20423
20424 * gdb.base/return.exp: Xfail `return double' test failure
20425 on at least Solaris 2.3 and handle future/past versions on
20426 a case by case basis as appropriate. Also update message
20427 to include i*86 failures.
20428
20429 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20430
20431 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20432
20433 * lib/gdb.exp: Fix comment which erroneously identified
20434 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20435 gdb_file_cmd not gdb_load).
20436 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20437
20438 * gdb.base/setvar.exp: Make test names consistent between pass and
20439 fail cases. Use gdb_test more.
20440
20441 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20442
20443 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20444
20445 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20446
20447 * gdb.base/help.exp: Fix expected help string for `show commands'.
20448
20449 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20450
20451 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20452
20453 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20454 of a text section.
20455
20456 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20457
20458 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20459 that loop eventually terminates. Fix Connection refused logic so
20460 that testsuite will expire nicely.
20461
20462 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20463
20464 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20465 config/rom68k.exp: New tcl glue for the appropriate monitors.
20466 These all just end up calling monitor.exp.
20467 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20468 refused' by retrying. Cleanup some timeout issues.
20469 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20470 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20471 callers don't have to set/restore global timeout variable.
20472
20473 * The following set of changes centralizes management of the global
20474 timeout variable. This way, it can be set in one target dependent
20475 place instead of dozens of places scattered throughout the test suite.
20476 If you need to lengthen a timeout, then you should either set timeout
20477 in one of the config/{target}.exp files, or multiply it by a factor.
20478 Setting it to an absolute value is always going to lose for some
20479 targets.
20480 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20481 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20482 * gdb.base/funcargs.exp: Don't set timeout.
20483 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20484 * gdb.base/printcmds.exp (test_print_string_constants
20485 test_print_array_constants): Don't set timeout.
20486 * gdb.base/ptype.exp: Don't set timeout.
20487 * gdb.base/recurse.exp: Don't set timeout.
20488 * gdb.base/return.exp: Don't set timeout.
20489 * gdb.base/watchpoint.exp: Don't set timeout.
20490 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20491 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20492
20493 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20494
20495 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20496
20497 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20498
20499 * lib/gdb.exp: Disable chill tests for irix5.
20500
20501 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20502
20503 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20504 each test pass or fail.
20505
20506 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20507
20508 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20509 xlc not gcc.
20510
20511 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20512
20513 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20514
20515 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20516
20517 * config/est.exp: Fix copyright and comments. Remove dead code.
20518 Use targetname, serialport and baud variables instead of fixed
20519 constants.
20520 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20521 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20522
20523 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20524
20525 * gdb.base/watchpoint.exp: Don't run
20526 test_watchpoint_triggered_in_syscall for sunos.
20527
20528 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20529
20530 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20531 they don't seem to exist. Do include stdio.h.
20532
20533 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20534
20535 * gdb.base/a1-selftest.exp: Add alpha xfail.
20536
20537 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20538
20539 * gdb.base/watchpoint.c (main): Prompt before calling read().
20540 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20541 Revise accordingly. Remove cruft about sending "123" several
20542 times, until it gets noticed. Clean up the "print buf[0]" stuff
20543 so that it passes or fails, and waits for prompts in the usual way.
20544
20545 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20546
20547 * gdb.base/recurse.exp: Fix comment.
20548
20549 * TODO: Remove item about printing variables in nodebug.exp. Add
20550 item about enabling tests which are only run on some targets.
20551
20552 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20553 fail, make test names unique, use new gdb_test convention
20554 regarding pattern, use gdb_test more, etc.).
20555
20556 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20557 fail, make test names unique, etc.).
20558
20559 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20560
20561 * gdb.base/nodebug.c: Change return type of top and middle to
20562 short.
20563 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20564 are fixed by the recent mdebugread.c changes. Allow `short ()'
20565 as type for top and middle.
20566
20567 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20568
20569 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20570 nearly as I can tell, the whole thing was an accident in Stu's
20571 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20572 to replace a send/expect pair with gdb_test, but ended up only
20573 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20574 of 30 Mar 1995 took care of it, but left this vestigial comment
20575 which I am now nuking.
20576
20577 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20578
20579 * gdb.base/break.exp: Look for different line number for
20580 breakpoint at main depending on usestubs.
20581
20582 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20583
20584 * gdb.base/list.exp: Adjust some alternate expect patterns to
20585 match recent list0.c change. Add alternate expect pattern for
20586 output from `list default lines around main' for optimizing
20587 compilers.
20588
20589 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20590
20591 * lib/gdb.exp: If nosignals is not set, set it to 0.
20592
20593 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20594
20595 * config/slite-gdb.exp: Responds to load symbol table prompt.
20596 * gdb.base/break.exp: Adjust line number, fix rerun.
20597 * gdb.base/langs0.c: Add #ifdef usestubs.
20598
20599 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20600
20601 * gdb.base/list.exp: Adjust line contents after adding new lines in
20602 list0.c. Also fix a syntax error.
20603
20604 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20605 * gdb.base/break.exp: ditto.
20606 * gdb.base/list.exp: ditto.
20607 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20608 * gdb.base/run.c: ditto.
20609 * gdb.base/list0.c: ditto.
20610 * gdb.base/funcargs.c: ditto.
20611
20612 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20613
20614 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20615 $targetname, $serialport and $baud instead of hardwired variables.
20616 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20617 target doesn't support signals.
20618
20619 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20620
20621 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20622
20623 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20624
20625 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20626 Don't rely on the value of an auto variable before it has been
20627 initialized. Use gdb_test more.
20628
20629 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20630
20631 * lib/gdb.exp (default_gdb_version): A version number must start
20632 with a digit, but other than that contains all characters up to
20633 the first whitespace character.
20634
20635 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20636
20637 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20638
20639 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20640
20641 * gdb.c++/*.exp: Warn if executable does not exist. The original
20642 reason for skipping the warning was that configure.in sometimes
20643 intentionally skipped building the executables but the tcl code
20644 had no way of knowing. That (a) was always bogus with respect to
20645 error handling, (b) is no longer true (right now there is no way
20646 to skip C++ tests).
20647
20648 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20649
20650 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20651
20652 * gdb.base/list.exp: Add expect patterns for output from
20653 SunPRO compiled executables.
20654 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20655 types.
20656
20657 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20658
20659 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20660 number (we are already testing that the correct source line text
20661 gets printed).
20662
20663 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20664 that is what is intended, but something needed to be done to get
20665 sunos4 native working again.
20666
20667 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20668
20669 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20670 apparently went with a (very) old xfail.
20671
20672 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20673
20674 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20675 runto_main is a proc in gdb.exp that will do 'step' for target use
20676 stubs.
20677 * gdb.base/exprs.exp: ditto.
20678 * gdb.base/interrupt.exp: ditto.
20679 * gdb.base/opaque.exp: ditto.
20680 * gdb.base/printcmds.exp: ditto.
20681 * gdb.base/ptype.exp: ditto.
20682 * gdb.base/scope.exp: ditto.
20683 * gdb.base/setvar.exp: ditto.
20684 * gdb.base/signals.exp: ditto.
20685 * gdb.base/twice.exp: ditto.
20686 * gdb.c++/classes.exp: ditto.
20687 * gdb.c++/inherit.exp: ditto.
20688 * gdb.c++/templates.exp: ditto.
20689 * gdb.base/break.exp: no run and hit main for stubs. Change line
20690 numbers for breakpoints and info breakpoint.
20691 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20692 breakpoint().
20693 * gdb.base/callfuncs.c: ditto.
20694 * gdb.base/exprs: ditto.
20695 * gdb.base/interrupt.c: ditto.
20696 * gdb.base/opaque0.c: ditto.
20697 * gdb.base/printcmds.c: ditto.
20698 * gdb.base/ptype.c: ditto.
20699 * gdb.base/scope0.c: ditto.
20700 * gdb.base/setvar.c: ditto.
20701 * gdb.base/signals.c: ditto.
20702 * gdb.base/twice.c: ditto.
20703 * gdb.c++/misc.cc: ditto.
20704 * gdb.c++/templates.cc: ditto.
20705
20706 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20707
20708 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20709
20710 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20711 somewhere between `read' and `main.c'. I'm pretty sure the
20712 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20713 and it isn't particularly useful.
20714
20715 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20716
20717 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20718
20719 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20720
20721 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20722
20723 * config/mt-slite: add LIBS and -nostdlib.
20724 * config/slite-gdb.exp: add this new file to support sparclite target.
20725
20726 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20727
20728 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20729
20730 * gdb.base/a2-run.exp: Change argument to istarget from
20731 "*-*-vxworks" to "*-*-vxworks*".
20732 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20733
20734 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20735
20736 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20737 will not runto main but do a 'step' to step out of breakpoint().
20738 * config/mt-slite: add -Dusestubs.
20739
20740 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20741
20742 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20743 instead of just @.
20744
20745 * gdb.base/signals.exp: Add test for "handle all print".
20746 * TODO: Remove "handle all print". Also remove item about
20747 checking copyright date (I don't like the idea of a spurious FAIL
20748 based on when we run the tests).
20749
20750 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20751 for SunOS4 (reason for failure not investigated). Remove
20752 redundant test for $binfile.
20753
20754 * gdb.base/nodebug.c (array_index): Call malloc.
20755
20756 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20757
20758 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20759
20760 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20761 conventions and slightly simplify the matching regexp.
20762
20763 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20764
20765 * gdb.base/break.exp: Update gdb_test invocation to use new
20766 convention.
20767
20768 * lib/gdb.exp: If noargs is not set, set it to 0.
20769
20770 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20771 tests unique.
20772
20773 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20774
20775 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20776
20777 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20778 one argument of type "<non-float parameter>".
20779
20780 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20781
20782 * config/rom68k.exp: New file to support Motorola IDP board.
20783 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20784 * gdb.base/break.c: Change things around so that this program
20785 doesn't depend upon args. This is necessary to make remote
20786 targets work (in general, they can't take args).
20787 * gdb.base/break.exp: Don't try to send args to program. Don't
20788 expect output. Also, replace lots of code with gdb_test.
20789
20790 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20791
20792 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20793 printing of '\'' (which is what the comment says we are testing,
20794 even though we were not), not '''.
20795 (test_integer_literals_rejected): Test that printing ''' is an error.
20796
20797 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20798 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20799 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20800 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20801 Use gdb_test not test_print_accept.
20802 * lib/gdb.exp: Remove test_print_accept.
20803
20804 * gdb.base/signals.exp (signal_tests_1): Make pass message
20805 consistent with fail message.
20806
20807 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20808 unsigned char; the bug (PR 1821) is fixed.
20809
20810 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20811
20812 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20813 successful tests--makes xfailing them work right.
20814
20815 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20816
20817 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20818 only \r\n, not .*. The test can pass .* as the last thing in
20819 $pattern if that is what it wants. In addition to providing this
20820 flexibility, this change should speed up pattern matching in cases
20821 where the pattern already ended with .* (there were a number of
20822 them). This change also helps catch bad patterns--in the old
20823 scheme the typo "char \*" instead of "char \\*" would pass. Now
20824 it is caught.
20825 * Many .exp files: Update callers.
20826
20827 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20828 clearer and does not spuriously match multiple ('s. Likewise for
20829 ) and *.
20830
20831 * gdb.base/nodebug.exp: Test ability to call a function and pass
20832 it a string (even with no debugging info).
20833
20834 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20835 "p '\'", which is the same as "p ''" once tcl gets done with
20836 quoting, to "p '\\'", which I suspect is what is intended (one
20837 backslash gets sent to GDB).
20838
20839 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20840
20841 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20842
20843 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20844 1817) was fixed literally years ago.
20845
20846 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20847
20848 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20849 test, it causes stepping out of call_after_alloca_subr with
20850 optimizing compilers.
20851 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20852 fails.
20853
20854 * gdb.c++/templates.exp: Source templ-info.exp only if
20855 the templates executable exists.
20856
20857 * gdb.c++/misc.cc (class Contains_static_instance,
20858 class Contains_nested_static_instance),
20859 gdb.c++/classes.exp (test_static_members): Test printing of
20860 a class that contains a static instance of the class.
20861
20862 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20863
20864 * gdb.base/langs2.c (cppsub_): Don't prototype.
20865 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20866 only, I believe).
20867
20868 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20869
20870 * lib/gdb.exp (skip_chill_tests): New procedure.
20871
20872 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20873
20874 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20875
20876 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20877 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20878
20879 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20880
20881 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20882
20883 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20884 disassemble 8, not 16, instructions for part 4.
20885
20886 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20887 support the latter anymore.
20888
20889 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20890 -DNO_PROTOTYPES.
20891 * gdb.base/callfuncs.c: Control use of prototypes based on
20892 NO_PROTOTYPES, not __STDC__.
20893 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20894 t_float_values2 tests if prototypes in use.
20895
20896 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20897 t_double_values): When checking differences against DELTA, check
20898 that difference is within the range (-DELTA,DELTA), not just
20899 (-infinity,DELTA).
20900
20901 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20902
20903 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20904 'file' command firts, then 'target', then 'load', this is due to gdb
20905 target set up.
20906 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20907
20908 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20909
20910 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20911 FP load/store variants.
20912 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20913
20914 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20915
20916 * gdb.base/term.exp: Do not give a warning if not native, it is
20917 not an abnormal condition.
20918
20919 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20920
20921 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20922 t_char_array".
20923
20924 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20925
20926 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20927 are getting the version number.
20928
20929 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20930 if not native, it is not an abnormal condition.
20931
20932 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20933
20934 * lib/gdb.exp: Just use "file exists", rather than undocumented
20935 dejagnu procedure "findfile".
20936
20937 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20938
20939 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20940 (LDFLAGS): Set to -Xlinker -Ur.
20941
20942 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20943 Removed, these values are set by lib/gdb.exp.
20944
20945 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20946
20947 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20948
20949 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20950 of replicating gdb startup code.
20951
20952 * config/mt-vxworks (LDFLAGS): Set to -r.
20953 (CFLAGS_FOR_TARGET): Removed.
20954
20955 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20956 (gdb) and gdb for vxworks uses (vxgdb).
20957
20958 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20959 executable is not in the tree and host != target, use sed and
20960 program_transform_name to determine the gdb name used by the
20961 target.
20962
20963 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20964 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20965
20966 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20967
20968 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20969 floats, chars, and shorts where there are ANSI-style function
20970 definitions.
20971
20972 * gdb.base/langs.exp, gdb.base/langs*: New test.
20973 * gdb.base/Makefile.in: Build it.
20974 * TODO: Remove item about checking that C names don't get C++
20975 demangling applied; this test tests it.
20976
20977 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20978
20979 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20980 went with the const70 xfail. The xfail went away a year ago.
20981
20982 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20983
20984 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20985 for hp300.
20986
20987 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20988
20989 * gdb.base/a1-selftest.exp: Don't run on hp300.
20990
20991 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20992
20993 * Makefile.in (site.exp): Set host_alias and target_alias as well
20994 as host_triplet and target_triplet.
20995
20996 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20997
20998 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20999
21000 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21001 places as other ecoff systems).
21002
21003 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21004 ultrix.
21005
21006 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21007
21008 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21009 remove them.
21010 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21011 variable and "variable" in addition to "data variable".
21012 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21013
21014 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21015 2.
21016 * gdb.base/list1.c (long_line): Add additional statement at start
21017 of function.
21018 * gdb.base/list.exp (test_forward_search): Update line number to
21019 reflect new statement.
21020
21021 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21022
21023 * gdb.base/signals.exp: Reinitialize searched source directories
21024 after gdb_start call.
21025
21026 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21027
21028 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21029 * gdb.stabs/Makefile.in: Likewise.
21030
21031 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21032 change. Instead split the tests into smaller pieces.
21033 * gdb.disasm/hppa.s: Corresponding changes.
21034
21035 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21036
21037 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21038 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21039
21040 * gdb.base/funcargs.exp: Modify many tests so that every test
21041 either passes or fails. Make some test names unique.
21042
21043 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21044
21045 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21046 Call stty to set interrupt character.
21047
21048 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21049 for HP assembler versus GNU assembler based on actual behavior of
21050 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21051
21052 * TODO: Suggest a few more stepping tests.
21053
21054 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21055
21056 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21057 restart GDB for h8300 after a continue.
21058 (return): Add pattern to match a29k-udi behavior.
21059 * gdb.base/nodebug.exp: Remove obsolete comment.
21060 * gdb.base/regs.exp: New file, testing of register displays.
21061 * gdb.base/return.exp: Fix typo in reference to $objdir.
21062 * gdb.base/whatis.exp: Always start with a fresh GDB.
21063
21064 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21065
21066 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21067 higher, these tests generate a lot of output.
21068
21069 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21070
21071 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21072 code following the catch silently ignored some errors; without the
21073 catch they should be thrown like any other tcl error. Also, the
21074 catch used "" instead of {} which meant all the callers who wanted
21075 to include one of the characters "[]$ had to quote it an extra time.
21076 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21077 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21078 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21079 Remove extra quoting.
21080
21081 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21082
21083 * gdb.base/commands.exp: Make test names unique; every test either
21084 passes or fails. Update some comments.
21085
21086 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21087
21088 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21089
21090 The following fixes a FAIL caused by the fact that the alpha stabs
21091 configuration didn't use the ".if alpha" code in weird.def.
21092 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21093 bit pointer, so the 32 bit version works even on the alpha.
21094 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21095 Remove the stuff which allowed us to have separate versions for
21096 alpha and everything else.
21097
21098 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21099 regexp which "info func operator\[\](" is supposed to match. Fix
21100 string to send to GDB. Note that GDB still doesn't work right. Add a
21101 new test for "info func .perator\[\](" which GDB does handle correctly.
21102
21103 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21104
21105 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21106
21107 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21108 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21109 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21110 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21111 it makes the tests harder to understand and confuses test-o-matic.
21112 The preferred style is that each test provides a PASS or a FAIL,
21113 and has a unique message (e.g. "continue #54" not just "continue")
21114 which is the same for the pass and the fail.
21115 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21116 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21117 to lib/gdb.exp.
21118 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21119 prt_accept which was basically the same thing. Likewise for
21120 test_print_reject and prt_reject.
21121 * lib/gdb.exp (test_print_reject): Add some more error message
21122 patterns to match from the former printcmds.exp (prt_reject).
21123 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21124 One defect of the passcount stuff is that some of it failed to
21125 report XPASS where appropriate.
21126 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21127 stuff before and after arg in expected pattern.
21128 (test_paddr_operator_functions): Re-do test without print_addr_of;
21129 this is the only test which seems to want extra stuff there.
21130
21131 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21132
21133 * gdb.base/nodebug.exp: Update new tests to reflect improved
21134 wording of gdb output.
21135
21136 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21137 and "ptype" work on variables in files compiled without -g.
21138 Replaces commented out "maint print msymbol" tests.
21139
21140 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21141
21142 * gdb.base/setvar.c (dummy): Call malloc.
21143
21144 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21145 losing with the irix4 sed.
21146
21147 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21148 ALRM" on irix4.
21149
21150 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21151
21152 * TODO: Remove items about corefile.exp testing new exec-file and
21153 backtrace; both are now done. Add items about printing enums.
21154
21155 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21156
21157 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21158 "get signal $thissig" test fails.
21159
21160 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21161
21162 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21163
21164 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21165 compiler warning with dec alpha compiler.
21166
21167 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21168 extra \n from gdb_test call (this explains why the prompt test
21169 that I removed yesterday was there).
21170 (user_defined_command_test): Remove extra \n and prompt test.
21171
21172 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21173 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21174 doesn't exist.
21175 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21176 Also remove alpha workaround, which turns out to be because
21177 SIGABRT == SIGLOST.
21178
21179 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21180
21181 * gdb.base/help.exp: Don't test "help show".
21182
21183 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21184
21185 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21186 "set print address" is on.
21187 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21188 pass prompt to gdb_test; gdb_test already looks for the prompt.
21189
21190 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21191
21192 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21193 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21194 was to make sure that gdb can read a core file. But (a) the "read
21195 the corefile" part didn't make it to a1-selftest.exp, we just
21196 delete the corefile after creating it, and (b) we test reading
21197 corefiles in corefile.exp anyway. Also, this test left around a
21198 xgdb process on Solaris.
21199
21200 * gdb.base/corefile.exp: Also test backtrace.
21201
21202 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21203
21204 * gdb.base/commands.exp: Test a simple user defined command with
21205 arguments and if/while statements; verify the full user command is
21206 printed by "show user".
21207
21208 * gdb.base/commands.exp: Test if/while commands as part of a
21209 breakpoint command list; verify they appear in breakpoint
21210 information.
21211
21212 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21213
21214 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21215 than by dividing by zero.
21216
21217 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21218
21219 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21220 performing an inferior call with watchpoints enabled.
21221 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21222 call.
21223
21224 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21225
21226 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21227 of "file" command.
21228
21229 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21230 Add additional pattern for when "int operator int(void);" appears
21231 in a different order.
21232
21233 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21234
21235 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21236
21237 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21238 and "signal" with ".*".
21239
21240 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21241
21242 * TODO: Add note about "handle all nostop".
21243
21244 * gdb.base/{sigall.c, sigall.exp}: New test.
21245 * gdb.base/Makefile.in: Add it.
21246
21247 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21248
21249 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21250 when invoking GDB, suppresses any windowing interface.
21251
21252 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21253
21254 * config/sim-gdb: New file, simulator testing support.
21255
21256 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21257
21258 * gdb.base/interrupt.exp: Test calling func1 twice.
21259
21260 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21261
21262 * gdb.base/list.exp (test_forward_search): Set timeout higher
21263 when we'll be getting lots of output from gdb.
21264
21265 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21266 "init_malloc" to after the expect statement. Run it if that
21267 regexp is taken, but also for two others which happen if source
21268 cannot be found.
21269
21270 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21271
21272 * gdb.base/printcmds.exp: New test, for printing register before
21273 program is running.
21274
21275 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21276
21277 * gdb.base/list.exp: Correct some alternate expect patterns
21278 to reflect changes in list1.c.
21279
21280 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21281
21282 * TODO: Add item regarding large frames.
21283
21284 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21285
21286 * TODO: Remove item about enabling return.exp; it
21287 is enabled. Suggest a few more "return" tests.
21288
21289 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21290
21291 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21292 anonymous unions.
21293
21294 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21295
21296 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21297 and pr-5646.o, so "make" is the same as "make all", not "make
21298 pr-4975.o".
21299
21300 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21301
21302 * gdb.base/list.exp: Adjust expectations to reflect changes in
21303 list1.c.
21304 (test_forward_search): New test proc.
21305 * gdb.base/list1.c (long_line): New function, has long source line.
21306
21307 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21308
21309 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21310 additional line of code that was added.
21311
21312 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21313
21314 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21315 tests so as not to overflow expect's input buffers.
21316 * gdb.disasm/hppa.exp: Corresponding changes.
21317
21318 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21319
21320 Beginnings of template debugging tests.
21321 * gdb.c++/templ-info.cc: New file to test for template
21322 debugging capability of the compiler.
21323 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21324 templ-info.cc.
21325 * gdb.c++/templates.cc: Add explicit template instantiations
21326 to enable compiling with -fno-implicit-templates. Add destructor
21327 and 'value' method to T5 class for template tests.
21328 * gdb.c++/templates.exp: Add testcases for printing of template
21329 types, setting breakpoints on template methods and calling a
21330 template method.
21331
21332 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21333
21334 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21335 branch target since some assemblers (gas-2.5) may emit a
21336 relocation for the branch instead of resolving it in the
21337 assembler.
21338
21339 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21340
21341 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21342 through signal handler.
21343
21344 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21345
21346 * configure.in (*-*-netware): Use config/mt-netware.
21347
21348 * config/mt-netware: New file.
21349 * config/mt-i386-netware: Removed, separate configs for different
21350 netware architectures are no longer needed now that we have
21351 --with-headers.
21352
21353 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21354
21355 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21356 by the recent changes to use ANSI C arithmetic conversions.
21357
21358 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21359
21360 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21361 bug involving using inferior_pid to figure out whether to select a
21362 frame.
21363
21364 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21365
21366 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21367 match the current disassembler output.
21368
21369 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21370
21371 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21372 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21373 types, expect "int" as type of integer values (for now).
21374
21375 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21376
21377 * gdb.base/commands.exp: New tests for if/while commands.
21378
21379 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21380
21381 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21382 by .*, since hex values have different syntax in Chill mode.
21383
21384 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21385
21386 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21387 linefeed from expect pattern for repeated types with indices > 9.
21388
21389 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21390
21391 First part of Fortran test suite.
21392 * gdb.fortran: New directory.
21393 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21394
21395 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21396
21397 * gdb.base/default.exp: Update expect pattern for load command
21398 without arguments.
21399
21400 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21401
21402 * configure.in: Change i386 to i[345]86.
21403 * gdb.base/configure.in: Likewise.
21404 * gdb.c++/configure.in: Likewise.
21405 * gdb.chill/configure.in: Likewise.
21406
21407 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21408
21409 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21410 patterns, since that is not a valid context for comments.
21411
21412 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21413
21414 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21415 repeated types and repeated types with indices > 9.
21416
21417 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21418
21419 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21420 2417; old bug has been fixed.
21421
21422 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21423
21424 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21425 send the newline ourselves instead of assuming gdb_test will do
21426 so when passed an empty input string.
21427
21428 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21429 stabs testcode.
21430
21431 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21432
21433 * lib/gdb.exp (gdb_test): Don't send anything if the first
21434 argument is an empty string. This makes cases where we want to
21435 match output that is already in expect's buffers (for example,
21436 matching a breakpoint after gdb_run_cmd has been called) work
21437 reliably.
21438
21439 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21440
21441 * config/netware.exp: New file.
21442
21443 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21444
21445 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21446 the -B and -L prefixes so we can find the debugging stub.
21447
21448 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21449 there and we are using the gcc from the tree.
21450
21451 * gdb.base/types.c: Removed.
21452
21453 * gdb.base/configure.in: Look for makefile fragments in ../config.
21454 Recognize i386-*-netware.
21455 * gdb.c++/configure.in: Likewise.
21456
21457 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21458
21459 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21460 the correct TCL syntax.
21461
21462 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21463
21464 * gdb.base/opaque.exp: use runto instead of messing around with
21465 breakpoints. Simplify by using gdb_test.
21466
21467 * gdb.base/bitfields.exp: restart between tests on netware targets
21468 because breakpoints aren't relocated after target death. Run
21469 processes to completion.
21470
21471 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21472
21473 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21474
21475 * Makefile.in: Remove extra tabs that confuse some versions
21476 of "make". Use the newly built gdb to test with by default,
21477 rather than the first one in the tester's search path.
21478
21479 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21480
21481 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21482
21483 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21484 condition help.
21485
21486 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21487
21488 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21489
21490 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21491 running.
21492 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21493 * gdb.base/funcargs.exp: Likewise.
21494
21495 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21496 * gdb.base/funcargs.exp: Likewise.
21497
21498 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21499 message is "".
21500
21501 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21502
21503 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21504 return,signals,twice}.exp: Handle non-existant binaries
21505 consistantly.
21506
21507 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21508 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21509 might testing a cross development system.
21510
21511 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21512
21513 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21514 runtest script is relative to ${srcdir}, not ${rootdir}.
21515
21516 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21517
21518 * gdb.base/signals.exp: Allow for optionality of breakpoint
21519 address.
21520
21521 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21522
21523 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21524
21525 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21526
21527 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21528 for size_t definition.
21529 * gdb.c++/templates.cc: Likewise
21530
21531 * config/mt-i386-netware: New file.
21532
21533 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21534 defined.
21535
21536 * gdb.base/Makefile.in: Added support for systems that name core
21537 files by appending "core" to the program name.
21538 * gdb.base/a1-selftest.exp: Likewise.
21539
21540 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21541
21542 * gdb.base/return.exp: Add comment and message for `return double'
21543 test failure on Sparc Solaris.
21544
21545 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21546
21547 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21548
21549 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21550
21551 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21552 from optimizing them away.
21553 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21554 patterns to include default constructors and assignment operators,
21555 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21556 character in the output of the virtual base pointer.
21557
21558 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21559
21560 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21561 expression match in print_addr_of to avoid unintented matches.
21562 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21563 versions up to 2.5.8.
21564
21565 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21566
21567 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21568 included file to run under newer versions of expect.
21569 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21570 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21571 Remove xfail for the virtual table of BDDHookV.
21572
21573 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21574
21575 * lib/gdb.exp (string_to_regexp): Set a default result.
21576 (default_gdb_start): Fix misleading message.
21577
21578 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21579
21580 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21581 Remove all CC, etc definitions.
21582 * config/mt-hpux: New file.
21583 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21584 (CFLAGS, LDFLAGS): Define.
21585 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21586
21587 * Makefile.in (site.exp): Don't insert host_os, etc.
21588 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21589 (distclean): Check existence of subdir.
21590 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21591 * gdb.base/Makefile.in: General cleanup and simplification.
21592 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21593 to build executables. Use default rule to build .o files.
21594 (EXPECT, RUNTEST, CC): Fix relative pathname.
21595 (site.exp): Don't insert host_os, etc.
21596 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21597 and/or SIGUSR1 defined.
21598 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21599 * gdb.c++/Makefile.in: General cleanup and simplification.
21600 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21601 (CFLAGS): Remove.
21602 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21603
21604 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21605
21606 * gdb.base/recurse.exp: Misc changes to get tests running again
21607 after Kung's changes to the watchpoint code.
21608 * gdb.base/watchpoint.exp: Likewise.
21609
21610 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21611
21612 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21613
21614 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21615
21616 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21617 * lib/gdb.exp (default_gdb_start): Define.
21618 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21619 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21620 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21621 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21622 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21623 Don't call gdb_target_udi in between tests.
21624
21625 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21626
21627 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21628 (which was basically just a local version of the same thing). In
21629 addition to avoiding duplication, gdb_test_exact is faster.
21630 * lib/gdb.exp (gdb_test_exact): Fix typo.
21631
21632 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21633 don't give an error.
21634
21635 * gdb.base/term.exp: Call delete_breakpoints before starting.
21636
21637 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21638 (t10): Add comment.
21639
21640 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21641
21642 Reorganization of the GDB Test Suite.
21643
21644 * gdb.base: New directory, contains all the basic tests.
21645 * gdb.c++: New directory, tests specific to C++.
21646 * gdb.chill: New directory, tests specific to Chill.
21647 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21648 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21649 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21650 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21651 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21652 t30-31 to chill).
21653 * */gdbme.*: Rename to match appropriate expect scripts.
21654 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21655 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21656 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21657 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21658 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21659 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21660 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21661 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21662 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21663 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21664 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21665 gdb.c++/virtfunc.cc: New names of C++ files.
21666 * gdb.chill/chillvars.ch: New name of Chill file.
21667 * gdb.base/configure.in, gdb.c++/configure.in,
21668 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21669 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21670 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21671 * configure.in (configdirs): Update to reflect directory changes.
21672 (target_abbrev): No longer define for any configuration.
21673 * Makefile.in: Cosmetic improvements to header comments.
21674
21675 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21676
21677 Various changes to gdb.t31:
21678
21679 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21680 * gdbme.ch: Make all key-words and predefineds be upper-case.
21681 * chillvars.exp: Expect key-words and predefinds in upper-case.
21682
21683 * chillvars.exp: Use gdb_test_exact many places.
21684 Change expected output for arrays (which now includes index labels).
21685
21686 * pr-5020.exp, gdme.ch (module PR_5020):
21687 New test, for PR-5020.
21688
21689 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21690
21691 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21692 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21693
21694 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21695
21696 * Makefile.in: Fix bit-rot in definitions of CHILL,
21697 CHILL_FOR_TARGET and Chill_LIB.
21698 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21699 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21700 CHILL, and CHILL_LIB.
21701
21702 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21703
21704 * Revert the previous changes. Please see Rob's directory
21705 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21706
21707 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21708
21709 * Makefile.in, configure.in, config/mips-gdb.exp,
21710 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21711 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21712 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21713 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21714 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21715 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21716 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21717 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21718 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21719 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21720 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21721 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21722 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21723 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21724 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21725 changes from 94Q1.
21726
21727 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21728
21729 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21730 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21731 Rob's new testing fragments.
21732
21733 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21734
21735 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21736 lib/gdb.exp: Replace error proc calls with perror.
21737
21738 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21739
21740 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21741 version also, match on casted version strings, and match on
21742 gdb startup case where the line numbers might be messed up.
21743
21744 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21745
21746 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21747 (CFLAGS): Delete it from here.
21748
21749 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21750
21751 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21752
21753 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21754
21755 * Makefile.in (RUNTEST): Default to just "runtest".
21756
21757 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21758
21759 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21760 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21761 the code has been restructured.
21762
21763 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21764
21765 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21766 \n, not just one of each.
21767
21768 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21769 /bin/cc gives a warning if you do.
21770
21771 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21772
21773 * gdb.t24/demangle.exp: change expect pattern of
21774 __t10ListS_link1ZUiRCUiPT0
21775
21776 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21777
21778 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21779 on local variables in recursive functions.
21780
21781 * gdb.t07/Makefile.in: Build the new test.
21782
21783 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21784
21785 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21786 directly. Instead compare the return values from actual calls.
21787
21788 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21789
21790 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21791
21792 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21793
21794 * From Peter Schauer with minor modifications.
21795 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21796 stops in mid-line in the caller. Add xfail for returning a float
21797 value on X86 targets.
21798
21799 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21800
21801 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21802 to avoid expect lossage.
21803 (fmem_LRbug_tests): Likewise.
21804 * gdb.disasm/hppa.s: Corresponding changes.
21805
21806 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21807 conditions to work with latest dejagnu/expect.
21808
21809 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21810 expected to fail on the PA.
21811 (backtrace in call with trampolines): Explicitly require main
21812 to be frame #1 (no trampolines should show up in backtrace).
21813
21814 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21815 "continue -expect".
21816 * gdb.t06/break.exp: Likewise.
21817 * gdb.t07/watchpoint.exp: Likewise.
21818 * gdb.t13/bitfields.exp: Likewise.
21819 * gdb.t15/{funcargs,return}.exp: Likewise.
21820 * gdb.stabs/weird.exp: Likewise.
21821 * config/{mips,udi}-gdb.exp: Likewise.
21822
21823 * hppa.sed: Enclose comments within a sed command to avoid
21824 losing with the old OSF1 sed.
21825
21826 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21827
21828 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21829 sequent dynix.
21830 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21831 * gdb.t15/funcargs.exp: Conditionally step again to really
21832 finish from marker_call_with_trampolines. Handle the case where
21833 the first step from within call_with_trampolines already steps
21834 us back to main.
21835 * gdb.t15/gdbme.c: Add comment to closing brace of
21836 call_with_trampolines for funcargs.exp.
21837
21838 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21839
21840 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21841 Fix typo(s).
21842
21843 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21844
21845 * gdb.t07/gdbme.c: More code for watchpoint testing.
21846
21847 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21848 "Hardware watchpoint" throughout file.
21849 (test_watchpoint_triggered_in_syscall): New test.
21850 (test_complex_watchpoint): New test.
21851
21852 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21853
21854 * gdbme.c (call_with_trampolines): New function to try and step
21855 into. Tests trampoline problems on the PA.
21856
21857 * funcargs.exp (localvars_in_indirect_call): No longer expect
21858 stepping into indirect call to fail on PAs.
21859 (test_stepping_over_trampolines): New test.
21860
21861 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21862
21863 * TODO: Add suggestions for static member function tests, and
21864 completion tests.
21865
21866 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21867
21868 * TODO: Add suggestions for "p/a" tests.
21869
21870 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21871 (default_gdb_exit): Replace all the hair with sending "quit" to
21872 the process with a simple close.
21873
21874 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21875
21876 * TODO: Add suggestions for shared library tests.
21877
21878 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21879
21880 * TODO: Add suggestions for x/s tests.
21881
21882 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21883
21884 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21885 "enable once", and "enable breakpoints once" with ".*".
21886
21887 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21888
21889 * TODO: Add suggestions about structure passing tests.
21890
21891 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21892
21893 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21894 the primary1 test, use work around if __GNUC__ < 2.
21895 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21896 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21897 Test for bad output rather than waiting for timeout. Issue
21898 second continue only if first continue failed.
21899
21900 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21901
21902 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21903 operator[] test with gdb_test because the old code didn't seem to
21904 be getting the quoting right with the new dejagnu.
21905
21906 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21907
21908 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21909 one from the path.
21910 * Makefile.in: Use a fresh expect if there is one, use runtest
21911 from the src tree if there is one.
21912
21913 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21914
21915 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21916 next over recursive call. Revise the tests from that point on
21917 (which had been skipped) to match GDB's actual (correct) output.
21918
21919 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21920 with next over a breakpoint whose condition is false.
21921
21922 * gdb.t00/help.exp: Comment out "help set print" tests just like
21923 (and for same reason as) "help set" test.
21924
21925 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21926
21927 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21928 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21929
21930 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21931
21932 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21933 necessary gdb_target_udi.
21934
21935 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21936
21937 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21938 1838 and 2417; they are fixed.
21939
21940 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21941 gdb.t03/ptype.exp (ptype structure, ptype union):
21942 Remove xfails; the test is looser than when the xfails were added.
21943
21944 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21945 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21946
21947 * gdb.t01/run.exp: Only run shell test if isnative.
21948
21949 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21950 since "run" automatically loads if necessary. Call gdb_target_udi
21951 after the "file" since "file" kills any execution target.
21952
21953 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21954 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21955 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21956 argument for UDI.
21957
21958 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21959
21960 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21961
21962 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21963
21964 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21965
21966 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21967 properly quoting regexps. This makes the second argument to
21968 demangle a fixed string, which matches the callers, instead of a
21969 shell-style pattern which is what the previous implementation
21970 used. Update some of the callers.
21971
21972 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21973
21974 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21975 (comib_nullified_tests): Fix typo.
21976 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21977 strings. No longer expected to fail.
21978
21979 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21980 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21981 strings. No longer expected to fail.
21982
21983 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21984 string. No longer expected to fail.
21985
21986 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21987
21988 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21989 No longer expected to fail.
21990
21991 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21992 string. No longer expected to fail.
21993
21994 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21995
21996 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21997 only in the names (I probably got most of them). I was even
21998 generous with some which differed in underscores in names, and
21999 probably missed a few, and I *still* was able to remove almost a
22000 third of the file with almost no impact on testsuite coverage.
22001
22002 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22003
22004 * gdb.t00/default.exp: Match udi_attach error message as well as
22005 the one from child_attach.
22006
22007 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22008
22009 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22010
22011 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22012 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22013
22014 * Move test with enums and partial symbols back to
22015 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22016 Reverts the change of 26 May 93. Per today's change to
22017 stabs.texinfo, the behavior that weird.exp was expecting was
22018 unreasonable; what is important is that the compiler+gdb get
22019 things right, which happens with a recent gcc. Also fix the test
22020 to deal with native compilers which put out the stab gdb can't
22021 deal with.
22022
22023 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22024
22025 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22026 in the names. The main thing these accomplish is to slow things down.
22027 Many more such duplicates surely remain.
22028
22029 * gdb.t00/help.exp: Comment out "help support" test just like
22030 (and for same reason as) "help set" test.
22031
22032 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22033
22034 * gdb.t06/break.exp: Remove setup_xfails for
22035 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22036 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22037 about known bug in gcc to include up through 2.5.8.
22038 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22039 well as "_vb$".
22040 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22041 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22042 with latest gcc and gdb.
22043 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22044 well as "_vb$".
22045
22046 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22047
22048 * configure.in (hppa*-*-*): Also configure and build stabs-only
22049 tests.
22050
22051 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22052
22053 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22054 * gdb.t10/configure.in (hppa*-*-*): Use it.
22055
22056 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22057
22058 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22059
22060 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22061
22062 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22063 versions prior to 1.13.5.
22064
22065 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22066
22067 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22068 the prompt is at the start of a line.
22069
22070 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22071
22072 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22073 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22074 in the copr tests now.
22075 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22076 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22077 expected to fail.
22078
22079 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22080
22081 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22082 gdb.t31/chillvars.exp, lib/gdb.exp:
22083 Tweak to run under either version of expect.
22084 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22085 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22086 * gdb.t11/list.exp: Remove extraneous whitespace.
22087
22088 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22089
22090 * gdb.t16/printcmds.exp (test_print_strings): Accept
22091 "(unsigned char *) " before the string.
22092
22093 * TODO: Add notes about printing of fancy types and GDB expressions.
22094
22095 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22096
22097 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22098 * gdb.t06/configure.in: Don't try to compile signals test program
22099 if doing mips-idt-ecoff.
22100
22101 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22102
22103 * Most .exp files: Tweak to run under either version of expect.
22104
22105 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22106
22107 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22108 xfails; I'm not sure why they are failing, but not because of PR 1806.
22109
22110 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22111
22112 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22113 defined in lib/gdb.exp.
22114
22115 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22116
22117 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22118 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22119 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22120 have to be typeless.
22121
22122 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22123
22124 * TODO: Add suggestion for copyright year test.
22125
22126 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22127
22128 * configure.in (*-*-lynxos*): Add stabs tests.
22129
22130 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22131
22132 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22133 so insert a tab before any assembler directive in column zero.
22134
22135 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22136 stores.
22137 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22138 stores.
22139 (fpu_short_memory_tests): Likewise.
22140
22141 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22142
22143 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22144 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22145 .stabs directives in comments.
22146
22147 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22148
22149 * TODO: New file, describing tests we could write.
22150 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22151
22152 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22153
22154 * gdb.t06/signals.exp: Add kludge to force re-sync.
22155
22156 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22157 to xgdb instead of gdb, get out of gdb.
22158
22159 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22160
22161 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22162 for info.
22163
22164 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22165
22166 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22167 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22168 * gdb.stabs/hppa.sed: New sed script for the PA.
22169
22170 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22171
22172 * gdb.stabs: Re-write weird.def and configuration to use sed
22173 instead of cpp. sed is portable and POSIX; cpp is neither.
22174
22175 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22176
22177 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22178
22179 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22180
22181 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22182
22183 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22186 "_vb$".
22187 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22188 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22189
22190 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22191
22192 * lib/gdb.exp: Comment out code which depends on non-existent
22193 `transform' procedure.
22194
22195 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22196
22197 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22198 * lib/gdb.exp: Transform tool name.
22199 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22200 1.1's new error handling system.
22201
22202 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22203
22204 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22205
22206 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22207
22208 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22209 They made pattern matching so slow that timeouts happened on
22210 heavily loaded systems. Now any output from "show print" which
22211 gets us back to the GDB prompt is a PASS.
22212
22213 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22214
22215 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22216
22217 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22218
22219 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22220
22221 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22222 It is not from PR 3220.
22223
22224 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22225
22226 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22227 just started failing because they depended on the order the
22228 subcommands are presented, or exact docstring text. This kind of
22229 test is a pain and has minimal benefit.
22230
22231 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22232
22233 * gdb.t09/corefile.exp: At end of test, use "core" command with
22234 no arguments.
22235
22236 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22237
22238 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22239 17}/Makefile.in: Make it possible to run the testsuite with Sun
22240 make and CC = cross gcc by adding explicit build rules for .o
22241 files.
22242
22243 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22244
22245 * gdb.t15/funcargs.exp: Don't put comments on same line as
22246 setup_xfail (@#$*%& tcl braindamage!).
22247
22248 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22249
22250 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22251
22252 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22253
22254 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22255 * gdb.t20/inherit.exp: remove three dumplicate entries.
22256
22257 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22258
22259 * gdb.t06/break.exp: For "next over recursive call", fail on any
22260 incorrect output, not just on "factorial (value=2)".
22261
22262 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22263
22264 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22265 working now. Add an xfail if accesing a bss variable causes
22266 a memory error if the target is not yet run.
22267
22268 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22269
22270 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22271 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22272 name of __st* demangling (2 strings). Did Kung really get the
22273 more than 95 others right without testing them?
22274
22275 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22276
22277 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22278
22279 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22280
22281 * configure.in (configdirs): Add gdb.disasm
22282 * gdb.disasm: New directory for GDB disassembler tests.
22283 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22284
22285 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22286
22287 * gdb.t00/help.exp: Don't test "help set".
22288
22289 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22290 from within expect statements. None of these happen anymore and
22291 they cause regressions to be silently unnoticed.
22292
22293 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22294 messages) about known failures with gcc cygnus-2.4.5-930417.
22295
22296 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22297 comp-info.exp so it gets built if it doesn't exist.
22298
22299 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22300 it is no longer used.
22301 * gdb.t13/comp-info.c: Removed.
22302
22303 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22304
22305 * gdb.t06/signals.exp: Add xfail for sun3.
22306
22307 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22308
22309 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22310 relevant because ^C doesn't get sent but failure can be reproduced
22311 interactively).
22312
22313 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22314
22315 * gdb.stabs/alpha.mt: New configuration file for alpha.
22316 * gdb.stabs/configure.in: Use it.
22317 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22318 sharing with alpha.mt, redefine long to word via preprocessor.
22319 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22320 for alpha.
22321 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22322 native cc.
22323 * gdb.t00/teststrategy.exp: Change expect string so that we
22324 consume the `(xgdb)' from the command echo and from the gdb prompt.
22325 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22326 gdb currently compares all values as long, so this failure probably
22327 applies to any configuration where LONGEST is bigger than a target int.
22328 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22329 with gcc.
22330 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22331 to handle opaque pointers, gcc is.
22332 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22333 as first argument. Include <sys/types.h> and change all operator
22334 new definitions to use size_t.
22335 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22336 now that we use size_t.
22337
22338 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22339
22340 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22341 a long or float array cast all array members to the same type.
22342 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22343 with 64 bit longs.
22344 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22345 on alpha.
22346 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22347
22348 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22349
22350 * gdb.t24 (demangle.exp): Constructors of templates have names like
22351 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22352 section 14.6 of the ARM.
22353
22354 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22355 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22356 accomplish little and slow down the testsuite.
22357
22358 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22359 Accept spaces various places.
22360
22361 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22362
22363 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22364 with watchpoint enabled.
22365
22366 * Makefile.in: Remove definition of CC and remove the second
22367 definition of CXX (the "CXX = gcc" one remains). These definitions
22368 were causing backquotes to be expanded within backquotes, which
22369 doesn't work.
22370
22371 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22372
22373 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22374
22375 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22376
22377 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22378 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22379 by mips cc and contains no stabs entries.
22380
22381 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22382
22383 * config/vx-gdb.exp: Use fake device to load files rather than
22384 NFS.
22385 * lib/gdb.exp: New proc to do "file" command.
22386 * config/unix-gdb.exp: Use new "file" proc.
22387
22388 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22389
22390 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22391 Rework board rebooting slightly.
22392 (gdb_exit): Don't exit from the remote shell; there isn't one.
22393 * gdb.stabs/weird.exp: If a program is being debugged already,
22394 kill it.
22395 * gdb.t04/setvar.exp: Stop and restart gdb.
22396 * gdb.t05/expr.exp: Likewise.
22397 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22398 restart gdb and reload the program.
22399 * gdb.t08/opaque.exp: Likewise.
22400 * gdb.t12/scope.exp: Likewise.
22401 * gdb.t13/bitfields.exp: Likewise.
22402 * gdb.t15/funcargs.exp: Likewise.
22403 * gdb.t20/classes.exp: Likewise.
22404 * gdb.t03/ptype.exp: Increase timeout.
22405 * gdb.t16/printcmds.exp (test_print_string_constants,
22406 test_print_array_constants): Likewise.
22407 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22408 * gdb.t20/classes.exp (do_tests): Likewise.
22409 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22410
22411 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22412
22413 * gdb.stabs: Renamed *wierd* to *weird*.
22414
22415 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22416
22417 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22418 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22419
22420 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22421
22422 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22423 (do_tests): Remove xfail for whatis on one_var and two_var.
22424
22425 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22426
22427 * Makefile.in: Made cross building work better by adding
22428 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22429
22430 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22431
22432 * gdb.t15/{return.c,return.exp,Makefile.in}:
22433 New test, currently commented out.
22434
22435 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22436
22437 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22438 still running and removes the leftover named socket so GDb can do
22439 clean restarts.
22440
22441 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22442
22443 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22444 console, not GDB.
22445 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22446 cross testing works better with "make check"
22447 * config/unix-gdb: Use default procedures for exit and version.
22448 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22449 with the newest VxWorks.
22450
22451 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22452
22453 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22454 old form.
22455
22456 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22457 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22458
22459 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22460
22461 * config/unix-gdb.exp: Remove this version of gdb_exit
22462 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22463 Rob says he'll look at it when he gets back to testing boards.
22464
22465 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22466
22467 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22468 an expected fail for certain ptype commands.
22469
22470 * gdb.t20/classes.exp: Update expected results of "ptype class
22471 Base1" to account for the constructor that now appears in the type.
22472
22473 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22474
22475 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22476 disappeared from list.
22477 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22478 "alldone" proc with call to cleanup and exit.
22479 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22480 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22481 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22482 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22483 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22484 "alldone" proc with simple returns that suppress remaining
22485 tests. The alldone proc went away many months ago.
22486
22487 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22488
22489 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22490
22491 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22492
22493 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22494
22495 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22496 as vax gdb will display them.
22497
22498 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22499
22500 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22501 optimizers.
22502
22503 * scope.exp: Change "bad value for localval" messages so each one
22504 is unique.
22505
22506 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22507 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22508
22509 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22510
22511 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22512
22513 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22514 doesn't exist (due to optimization).
22515
22516 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22517
22518 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22519 contains \r because the filename is long.
22520
22521 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22522 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22523
22524 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22525
22526 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22527 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22528 Ultrix.
22529 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22530 int tests.
22531 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22532
22533 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22534
22535 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22536
22537 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22538 to match does not match the passing case but still matches the
22539 failing case.
22540
22541 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22542
22543 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22544
22545 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22546
22547 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22548 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22549 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22550 Remove various versions of gdb_exit.
22551 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22552 gdb_exit.
22553 * config/unix-gdb.exp: gdb_exit remains here, and should override
22554 the generic version, since it's doing a lot of wierd stuff that
22555 the other versions aren't. FIXME, fold it in, or abandon this
22556 version.
22557
22558 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22559
22560 * gdb.t24/demangle.exp: Add tests for PR 3220.
22561
22562 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22563
22564 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22565
22566 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22567
22568 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22569 "i386-*-*". Works for i486 as well.
22570
22571 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22572 bug, and expand domain of xfail to all SVR4 systems, since the
22573 actual problem is likely to be in generic SVR4 /proc support.
22574
22575 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22576
22577 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22578
22579 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22580
22581 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22582 xfails for other systems. Match a missing 'Continuing.' as an
22583 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22584
22585 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22586 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22587 Only issue warning for missing executables if -all option is used.
22588
22589 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22590 file if -all option is used. It's like an unpredictable XFAIL.
22591
22592 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22593
22594 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22595 for dynamically linked binaries.
22596
22597 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22598
22599 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22600
22601 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22602 to state that this is a known bug in old versions of g++.
22603
22604 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22605
22606 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22607 while waiting for `Continuing'.
22608
22609 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22610
22611 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22612 in text, data, and bss.
22613 * gdb.t10/nodebug.c: Add local and global test variables for
22614 initialized and uninitialized data.
22615
22616 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22617
22618 * config/unix-gdb.exp (gdb_exit): Add "wait".
22619
22620 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22621
22622 * gdb.t06/signals.exp: xfail the continue from the handler for all
22623 targets.
22624
22625 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22626 function with watchpoints enabled, the i386 call dummy starts with
22627 a call.
22628
22629 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22630 386 bsd names its corefiles.
22631
22632 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22633
22634 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22635 compilers don't grok it.
22636 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22637 with small octal ints rather than character constants, which
22638 are signed and might not fit if first promoted to int.
22639
22640 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22641
22642 * gdb.t09/Makefile.in (clean): Remove corefile.
22643
22644 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22645
22646 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22647
22648 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22649 and Jim Kingdon (kingdon@cygnus.com)
22650
22651 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22652 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22653 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22654
22655 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22656
22657 * gdb.t17/interrupt.exp: Add xfail for hppa.
22658
22659 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22660
22661 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22662 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22663 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22664 to determine signed-ness of bitfields and use the result to setup
22665 the xfail.
22666 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22667 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22668 call line is reached if necessary.
22669
22670 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22671
22672 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22673
22674 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22675
22676 * gdb.t06/break.exp: Also test `clear' command.
22677
22678 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22679
22680 * gdb.t00/teststrategy.exp: Remove extra quote.
22681
22682 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22683 watchpoint enabled to be for all non-68k machines.
22684
22685 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22686
22687 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22688
22689 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22690 targets use aout.mt instead of ecoff.mt as gas understands
22691 standard aout format.
22692
22693 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22694
22695 * lib/gdb.exp (runto): Don't insist that function we are running to
22696 was compiled with -g.
22697
22698 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22699
22700 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22701 to get back into the read system call.
22702 Accept leading newline in case where we woke it up.
22703
22704 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22705
22706 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22707 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22708 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22709 enable ecoff configuration.
22710
22711 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22712
22713 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22714
22715 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22716
22717 * gdb.t16/printcmds.exp: Add another printf test.
22718
22719 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22720
22721 * configure.in: If configured -with-stabs on any target, add
22722 stabsdirs to configdirs.
22723
22724 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22725
22726 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22727 fun" so pattern does not match the command itself.
22728
22729 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22730
22731 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22732
22733 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22734
22735 * gdb.t17/interrupt.exp: Test for more things.
22736
22737 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22738
22739 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22740 compiler arranges the code and line numbers.
22741
22742 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22743
22744 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22745
22746 * gdb.t00/help.exp: Increase expect input buffer size.
22747
22748 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22749
22750 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22751
22752 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22753
22754 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22755
22756 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22757 [0-9]*, not just [0-9].
22758
22759 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22760
22761 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22762
22763 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22764
22765 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22766
22767 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22768
22769 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22770
22771 * gdb.t06/signals.c: Add xfails for sun3.
22772
22773 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22774
22775 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22776 test_stepping tests.
22777
22778 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22779
22780 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22781
22782 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22783
22784 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22785 rather than actually putting it through cpp twice.
22786
22787 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22788
22789 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22790
22791 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22792 no longer needed.
22793
22794 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22795
22796 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22797
22798 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22799 C++ features prints as "struct", make it a pass, not an xfail.
22800
22801 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22802
22803 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22804 Don't require VA to print as "class" rather than "struct".
22805
22806 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22807
22808 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22809
22810 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22811
22812 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22813
22814 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22815
22816 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22817 order.
22818
22819 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22820
22821 * gdb.t16/printcmds.exp: Add printf tests.
22822
22823 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22824
22825 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22826
22827 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22828
22829 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22830 pass counts, to counteract any existing or future setup_xfails.
22831
22832 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22833
22834 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22835 {BEGIN,END}_COMMON for common block instead of STAB.
22836 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22837
22838 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22839 intp_var should be N_GSYM not N_LSYM.
22840 wierd-aout.S: Use a label for the value of the N_SO.
22841 wierd.def: Remove all backslashes.
22842 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22843
22844 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22845
22846 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22847 get the expected next to inheritance3.
22848
22849 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22850
22851 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22852 now that gcc-2.4 gets it right.
22853
22854 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22855
22856 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22857
22858 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22859 generating comp-info.exp which works for cross-compilation.
22860
22861 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22862
22863 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22864 "*-*-sysv4.*".
22865
22866 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22867
22868 * gdb.t01/run.exp: Start with a fresh gdb.
22869 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22870 SVR4.x.
22871
22872 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22873
22874 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22875 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22876 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22877 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22878 things to remove.
22879
22880 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22881
22882 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22883 test cases from bug reports.
22884
22885 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22886
22887 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22888 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22889 avoid spurious xfails.
22890 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22891 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22892 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22893
22894 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22895
22896 * gdb.t00/teststrategy.exp: Rework to provide more useful
22897 description of each test, fix problem with systems that define
22898 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22899 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22900 results for "next over recursive call" so timeouts aren't taken
22901 by error.
22902
22903 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22904
22905 * gdb.t12/scope.exp: Test printing of variables before run.
22906
22907 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22908 printed in wrong order due to sorting.
22909
22910 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22911
22912 * gdb.t00/teststrategy.exp: Fix expected results for printing
22913 user entered string constant. Is array of char, prints with no
22914 address.
22915
22916 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22917 commands.
22918 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22919 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22920 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22921 of struct of char arrays.
22922 * gdb.t00/radix.exp: New tests for radix commands.
22923
22924 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22925
22926 * gdb.t16/printcmd.exp: Print a variable before running program
22927 (with xfail for AIX).
22928
22929 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22930
22931 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22932
22933 * gdb.t16/printcmd.exp: Don't print variables before running program.
22934
22935 * gdb.t06/break.exp: Don't require envp argument to main.
22936
22937 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22938
22939 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22940 Add xfails for rs6000.
22941
22942 * gdb.t02/whatis.exp: Change other tests not to re-test something
22943 we already tested.
22944
22945 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22946 each type used has a variable of that type.
22947
22948 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22949
22950 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22951
22952 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22953
22954 * configure.in: change srctrigger to be a file, not a directory
22955
22956 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22957
22958 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22959
22960 * gdb.t11/list.exp: Fixed a couple of typos.
22961
22962 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22963
22964 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22965 is fixed and PR is closed.
22966 * gdb.t16 (gdbme.c): Add simple test string variable.
22967 * gdb.t16 (printcmds.exp): Add tests with simple test string
22968 variable, primarily for boundaries on "set print elements".
22969
22970 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22971
22972 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22973 Make leading 0's optional and don't expect a tab in the middle
22974 of the number.
22975
22976 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22977
22978 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22979 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22980 don't end command passed to gdb_test with newline.
22981
22982 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22983 signed keyword away, don't expect signed bitfields to be signed.
22984
22985 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22986 printing with only as many 1's as are in the field as well as printing
22987 with 32 1's (see comment).
22988
22989 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22990
22991 * gdb.t00/default.exp: Start with a fresh gdb.
22992 * configure.in (configdirs): Remove gdb.t31 until the chill
22993 compiler works again. It no longer is able to find chillrt0
22994 since it isn't in libchill.a anymore.
22995 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22996 wierd.o, make more modular.
22997 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22998 spurious newlines that caused problems.
22999
23000 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23001
23002 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23003 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23004 gdb.stabs/wierd.{exp,def}: Many new tests.
23005
23006 * gdb.t00/default.exp: update info line for new message.
23007
23008 * gdb.t02/{whatis.exp,gdbme.c}:
23009 Test that "char *" doesn't print as "caddr_t".
23010
23011 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23012
23013 * gdb.t00/help.exp: Use .* in place of some help messages which
23014 just changed.
23015 gdb.t00/default.exp: Update "info frame" test for new message.
23016 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23017 Remove some xfails
23018
23019 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23020
23021 * gdb.t03/{gdbme.c,ptype.exp}:
23022 Add tests for typedef'd struct and union without tags.
23023 Also check "whatis" on a variable of a typedef'd enum without a tag.
23024
23025 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23026 PRMS 1823; the bug still exists but isn't reproduced by this test
23027 anymore), and remove rs6000 XFAIL (the bug is fixed).
23028
23029 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23030 duplicated from whatis.exp. For those that are left, accept
23031 "long", "long int", or "int" for long variables (whatis.exp already
23032 has an XFAIL for "int", so no need to fail it here).
23033
23034 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23035 Deal with GCC's names for types now that GDB uses the compiler's names.
23036
23037 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23038 setup_xfail's for sunos4. If we #defined the signed keyword away,
23039 don't expect GDB to know that char it is signed.
23040
23041 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23042
23043 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23044
23045 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23046 should work on any system, regardless of debugging format.
23047 * gdb.t21/demangle.exp: Move to gdb.t24.
23048 * gdb.t24/demangle.exp: Move from gdb.t21.
23049 * gdb.t24/{Makefile.in, configure.in}: New files.
23050
23051 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23052
23053 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23054 * gdb.stabs: New directory.
23055
23056 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23057
23058 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23059 not just "Quit anyway?".
23060
23061 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23062
23063 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23064 that all setup_xfails are immediately followed by clear_xfails.
23065
23066 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23067
23068 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23069 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23070 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23071 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23072 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23073 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23074 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23075 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23076 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23077 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23078 gdb.t31/chillvars.exp, lib/gdb.exp:
23079 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23080 bug-gdb@prep.ai.mit.edu.
23081
23082 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23083
23084 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23085 with 0.0, not integer 0.
23086
23087 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23088
23089 * gdb.t06/break.exp: Update for "Kill the program" message change.
23090
23091 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23092
23093 * Makefile.in (GDBFLAGS): Set to -nx.
23094 * Makefile.in (site.exp): Use GDBFLAGS.
23095
23096 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23097
23098 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23099 Makefiles.
23100 (check): depend on just-check.
23101 (just-check): added so that tests can be run without a noop
23102 build pass.
23103
23104 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23105
23106 Switch to using configure's configdirs.
23107 * Makefile.in (Makefile): add configure.in dependency.
23108 (SUBDIRS): removed redundant assignment.
23109 * configure.in: switch subdirs assignment to configdirs.
23110 * gdb.t*/configure.in: new files.
23111
23112 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23113
23114 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23115 works.
23116
23117 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23118
23119 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23120 in explicit rules. Apparently this is not supported by some makes.
23121
23122 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23123
23124 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23125
23126 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23127
23128 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23129 disappeared.
23130
23131 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23132
23133 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23134
23135 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23136
23137 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23138 watchpoint problem that is now fixed.
23139 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23140 uninitialized convenience variables.
23141 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23142 structures.
23143
23144 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23145
23146 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23147 which causes expect to get out of sync with gdb on long output
23148 from help set.
23149 * gdb.t09/corefile.exp: Make expected pattern for core file
23150 failing signal and frame output format less sun specific.
23151
23152 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23153
23154 * gdb.t31/chillvars.exp: Add and remove initial dummy
23155 breakpoint, so that symbol table is forced in.
23156 (Needed at least on Sunos4, though it seems not SVR4.)
23157 * gdb.t31/chillvars.exp: Update for changed output format.
23158
23159 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23160
23161 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23162
23163 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23164
23165 * Makefile.in: Added --srcdir when invoking runtest, removed the
23166 need for a local config file. (optional now)
23167
23168 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23169
23170 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23171 failure count used to force early termination. Add some more
23172 expected failures for gnu style demangling.
23173
23174 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23175
23176 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23177 pmi variable from gdb.t20/gdbme to get optimized away.
23178 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23179 Check for written corefile upon timeout _and_ eof.
23180
23181 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23182
23183 * config/unix-gdb.exp: Add missing return 0.
23184
23185 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23186
23187 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23188 test termination.
23189
23190 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23191
23192 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23193 disappeared.
23194
23195 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23196
23197 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23198 time as i860 support works.
23199
23200 * gdb.t15/funcargs.exp: Fix expected outputs to include
23201 "backtrace 100\r" rather than just "backtrace\r", to match last
23202 change.
23203
23204 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23205
23206 * config/udi-gdb.exp (gdb_exit): Remove close command.
23207 (gdb_target_udi): New procedure to set the UDI target.
23208 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23209 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23210 Added waits for prompts after several question responses. Added
23211 some more responses used by a29k-amd-udi-gdb.
23212 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23213 pass different arguments, restart UDI connection after program
23214 completion.
23215 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23216 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23217 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23218 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23219 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23220 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23221 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23222 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23223 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23224 after program completion.
23225 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23226 compiled with a SELECT_VECS setting.
23227 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23228 infinite recursion.
23229
23230 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23231 Added checks for COFF results, and made them expected failures for
23232 all targets. It would be better to make them expected failures
23233 for COFF targets only.
23234
23235 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23236
23237 * Makefile.in: add null dvi target, don't bother to recurse
23238 through test directories for info and install-info; rename
23239 $(datadir) to be dejagnu instead of deja-gnu
23240
23241 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23242
23243 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23244 compiler to coredump.
23245 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23246 code.
23247
23248 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23249
23250 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23251 coredump.
23252 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23253 code.
23254
23255 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23256
23257 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23258 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23259 which in a shell. Deletes xgdb when done.
23260 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23261 Tests the return from the "set height" or "set width" commands.
23262 Added a few return codes where needed.
23263
23264 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23265
23266 * Makefile.in (SUBDIRS): Add gdb.t17.
23267 * configure.in (subdirs): Add gdb.t17.
23268 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23269 files to test gdb's calling of functions in the inferior with
23270 the correct arguments and gdb's ability to retrieve any
23271 result returned.
23272
23273 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23274
23275 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23276 may be called after gdb goes away. Previous versions of expect
23277 needed these to avoid file descriptor leaks, but they cause
23278 errors with the current revision of expect.
23279 * gdb.t00/gdbvars.exp: Use -re on expected output after
23280 setting sevenbit-strings.
23281 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23282 to set sevenbit-strings consistent across tests.
23283 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23284 set sevenbit-strings consistent across tests.
23285
23286 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23287
23288 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23289 expected output to match current "expect" expectations.
23290
23291 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23292
23293 * gdb.t00/default.exp: Change expected output for default "source"
23294 command, to match new gdb behavior which requires a filename to
23295 source.
23296
23297 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23298
23299 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23300 expected fail for i486-*-* that misses the marker2 function.
23301 * gdb.t10/crossload.exp (bfddefault): Allow successful
23302 recognition of a format to pass even if no symbols are found.
23303 Explicitly catch failures where the format is not recognized
23304 or is ambiguous, and add the reason to the fail message.
23305 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23306 the cause is and invalid target and add reason to failure message.
23307 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23308 elf32-i386, elf32-sparc, and elf32-i860.
23309 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23310 Set up expected failure for 'filename'::variable scope resolution,
23311 which is now apparently broken on all targets.
23312 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23313 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23314 gdb.t23/templates.exp: Change failure for missing binfile into
23315 just a warning.
23316 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23317 references.
23318
23319 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23320
23321 * gdb.t00/default.exp: Add expected output for default "source"
23322 command, to match new gdb behavior.
23323 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23324
23325 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23326
23327 * config/*-gdb.exp: returns an error, rather than exiting on
23328 internal errors.
23329
23330 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23331
23332 * gdb.t03/gdbme.c: Add pointer to struct variable.
23333 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23334 referencing struct members.
23335
23336 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23337
23338 * configure.in (mips-idt-ecoff): New target.
23339 * config/mips-gdb.exp: New file for remote board using MIPS remote
23340 debugging protocol.
23341
23342 * Redid configuration scheme. Removed gdb.t*/configure.in.
23343 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23344 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23345 distclean targets. Built executables via .o files. Adjusted
23346 tests to account for source files in $(srcdir) rather than
23347 $(objdir).
23348 * lib/gdb.exp (runto): Don't expect () after the function name,
23349 because it may have arguments.
23350
23351 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23352
23353 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23354 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23355 expected failures for mips-idt-* and mips-sgi-*.
23356 * gdb.t00/default.exp (attach): Kill process if requested.
23357 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23358 that does not read core files.
23359 * gdb.t01/run.exp: Removed checks for exit status code.
23360 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23361 it is linked in.
23362 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23363 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23364 appropriate, rather than doing it by hand.
23365 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23366 execution.
23367 * gdb.t10/crossload.exp: Kill existing program if needed.
23368 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23369 appropriate, rather than doing it by hand. Always increase
23370 timeout for this test, not just for VxWorks.
23371
23372 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23373
23374 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23375 of Chill STRUCT types and STRUCT values.
23376 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23377 than "char".
23378 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23379 struct2): New struct definitions and initializations to test
23380 simple Chill STRUCT types.
23381
23382 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23383
23384 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23385 the null byte at the end of strings.
23386 * gdb.t00/default.exp: Make show version insensitive to copyright
23387 date.
23388 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23389 to avoid dependencies on target char signedness.
23390 * gdb.t16/printcmds.exp: Update expected results for explicitly
23391 unsigned char.
23392 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23393 now work.
23394 * gdb.t21/demangle.exp: Add many more patterns for template
23395 demangling, most of them being expected failures.
23396 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23397 string we are matching for, to match on the whole string.
23398 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23399 and fix a whole bunch that had incorrect expected output but were
23400 passing anyway because of the bug in "proc demangle".
23401 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23402 type.
23403 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23404
23405 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23406
23407 * gdb/testsuite: made modifications to testcases, etc., to allow
23408 them to work properly given the reorganization of deja-gnu and the
23409 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23410
23411 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23412
23413 * gdb/testsuite: Initial creation of gdb/testsuite.
23414 Migrated dejagnu testcases and support files for testing nm to
23415 gdb/testsuite from deja-gnu. These files were moved "as is"
23416 with no modifications. This migration is part of a major overhaul
23417 of dejagnu. The modifications to these testcases, etc., which
23418 will allow them to work with the new version of dejagnu will be
23419 made in a future update.
23420
23421 For additional changes see gdb.mi/ChangeLog-1999-2003.
23422 \f
23423 ;; Local Variables:
23424 ;; mode: change-log
23425 ;; left-margin: 8
23426 ;; fill-column: 74
23427 ;; version-control: never
23428 ;; End:
23429
23430 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23431 2003, 2004, 2005 Free Software Foundation, Inc.
23432 Copying and distribution of this file, with or without modification,
23433 are permitted provided the copyright notice and this notice are preserved.
This page took 0.561019 seconds and 4 git commands to generate.