py-inferior.exp: Avoid searching pattern beyond buffer
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-03-03 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
4 end of buffer.
5
6 2011-03-02 Joel Brobecker <brobecker@adacore.com>
7
8 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
9 gdb_test when running a test where we expected no output back.
10
11 2011-02-28 Michael Snyder <msnyder@vmware.com>
12
13 * gdb.cp/overload.cc: Change initializer value to integer.
14
15 2011-02-27 Michael Snyder <msnyder@vmware.com>
16
17 * gdb.multi/base.exp: Add test for remove-inferiors.
18
19 2011-02-26 Joel Brobecker <brobecker@adacore.com>
20
21 * gdb.python/py-frame.exp: Simplify the initialization phase
22 using prepare_for_testing.
23
24 2011-02-25 Michael Snyder <msnyder@vmware.com>
25
26 * gdb.multi/base.exp: Add tests for info inferiors with args.
27
28 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
29
30 * gdb.dwarf2/dw2-ranges.S: Rename to ...
31 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
32 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
33 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
34 asmfile3. Comment the STABS (#3) file compilation. Compile
35 everything through assembler. Provide KFAIL for symtab/12497.
36 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
37 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
38 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
39 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
40
41 2011-02-24 Michael Snyder <msnyder@vmware.com>
42
43 * gdb.base/break.exp: Add tests for delete breakpoints using
44 convenience variables and value history references.
45
46 2011-02-24 Michael Snyder <msnyder@vmware.com>
47
48 * gdb.base/break.exp: Remove debugging 'printf' accidentally
49 left behind in previous check-in.
50
51 2011-02-23 Michael Snyder <msnyder@vmware.com>
52
53 * gdb.base/break.exp: Add tests for "info break" with arguments.
54 * gdb.trace/infotrace.exp: Update patterns for error and help.
55 * gdb.base/completion.exp: Update pattern.
56 * gdb.base/ena-dis-br.exp: Update pattern.
57 * gdb.base/help.exp: Update patterns.
58
59 2011-02-23 Michael Snyder <msnyder@vmware.com>
60
61 * gdb.base/memattr.exp: New test.
62 * gdb.base/memattr.c: Test load for memattr.exp.
63
64 2011-02-22 Doug Evans <dje@google.com>
65
66 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
67
68 2011-02-22 Michael Snyder <msnyder@vmware.com>
69
70 * Makefile.in: Make more clean.
71 * gdb.ada/Makefile.in: Ditto.
72 * gdb.arch/Makefile.in: Ditto.
73 * gdb.asm/Makefile.in: Ditto.
74 * gdb.base/Makefile.in: Ditto.
75 * gdb.cp/Makefile.in: Ditto.
76 * gdb.dwarf2/Makefile.in: Ditto.
77 * gdb.java/Makefile.in: Ditto.
78 * gdb.mi/Makefile.in: Ditto.
79 * gdb.modula2/Makefile.in: Ditto.
80 * gdb.python/Makefile.in: Ditto.
81 * gdb.server/Makefile.in: Ditto.
82 * gdb.stabs/Makefile.in: Ditto.
83 * gdb.threads/Makefile.in: Ditto.
84 * gdb.trace/Makefile.in: Ditto.
85
86 2011-02-22 Michael Snyder <msnyder@vmware.com>
87
88 * gdb.threads/thread-find.exp: Add tests for bad input to
89 info threads.
90
91 2011-02-22 Joel Brobecker <brobecker@adacore.com>
92
93 * gdb.python/py-breakpoint.exp: Fix the expected output of
94 one of the "maint info breakpoints" tests to accept the output
95 generated on platforms that do not have hardware watchpoints.
96
97 2011-02-22 Joel Brobecker <brobecker@adacore.com>
98
99 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
100 clean_restart. Be a little stricter in the expected output
101 for one of the tests. Fix a typo in one of the comments.
102
103 2011-02-22 Joel Brobecker <brobecker@adacore.com>
104
105 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
106 Delete variable binfile, no longer use. Add or modify test
107 comments to make them unique.
108
109 2011-02-21 Michael Snyder <msnyder@vmware.com>
110
111 * Makefile.in: Update for make clean.
112 * gdb.ada/Makefile.in: Ditto.
113 * gdb.arch/Makefile.in: Ditto.
114 * gdb.asm/Makefile.in: Ditto.
115 * gdb.base/Makefile.in: Ditto.
116 * gdb.cp/Makefile.in: Ditto.
117 * gdb.dwarf2/Makefile.in: Ditto.
118 * gdb.java/Makefile.in: Ditto.
119 * gdb.mi/Makefile.in: Ditto.
120 * gdb.modula2/Makefile.in: Ditto.
121 * gdb.python/Makefile.in: Ditto.
122 * gdb.server/Makefile.in: Ditto.
123 * gdb.stabs/Makefile.in: Ditto.
124 * gdb.threads/Makefile.in: Ditto.
125 * gdb.trace/Makefile.in: Ditto.
126
127 2011-02-21 Michael Snyder <msnyder@vmware.com>
128
129 * gdb.threads/thread-find.exp: Update patterns for changes in
130 output of "info threads" command.
131
132 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
133 Ulrich Weigand <uweigand@de.ibm.com>
134
135 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
136 (skip_hw_watchpoint_tests): Likewise.
137 (skip_hw_watchpoint_multi_tests): Likewise.
138
139 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
140
141 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
142 (skip_hw_watchpoint_tests): Likewise.
143 (skip_hw_watchpoint_multi_tests): Likewise.
144 (skip_hw_watchpoint_access_tests): Likewise.
145
146 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
147 * gdb.base/pr11022.exp: Likewise.
148 * gdb.base/watch-read.exp: Likewise.
149 * gdb.base/watch_thread_num.exp: Likewise.
150 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
151 * gdb.base/watchpoint-hw.exp: Likewise.
152 * gdb.base/watchpoint.exp: Likewise.
153 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
154 * gdb.threads/watchthreads-reorder.exp: Likewise.
155 * gdb.threads/watchthreads.exp: Likewise.
156 * gdb.threads/watchthreads2.exp: Likewise.
157
158 2011-02-21 Joel Brobecker <brobecker@adacore.com>
159
160 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
161 the debugger is unable to find the array bounds.
162
163 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
164
165 * gdb.cp/typedef-operator.exp: New file.
166 * gdb.cp/typedef-operator.cc: New file.
167
168 2011-02-17 Michael Snyder <msnyder@vmware.com>
169
170 * gdb.threads/thread-find.exp: Fix regular expressions.
171
172 2011-02-17 Joel Brobecker <brobecker@adacore.com>
173
174 * gdb.ada/packed_array: Expand testcase to test printing of
175 unconstrained packed array.
176
177 2011-02-17 Joel Brobecker <brobecker@adacore.com>
178
179 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
180
181 2011-02-16 Pedro Alves <pedro@codesourcery.com>
182
183 * gdb.trace/collection.c (globalarr3): New global.
184 (main): Initialize it before collecting, and and clear it
185 afterwards.
186 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
187 collecting with '{type} addr', where the addr expression is not an
188 rvalue.
189
190 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
191
192 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
193 a bool variable. Expect correct OpenCL names for vector types. Use the
194 uc3 variable name instead of referring to the uchar3 built-in type.
195 Escape the asterisk at the half pointer test.
196
197 2011-02-16 Pedro Alves <pedro@codesourcery.com>
198
199 * gdb.trace/collection.c (globalarr2): New global.
200 (main): Initialize it before collecting, and and clear it
201 afterwards.
202 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
203 collecting overlapping memory ranges.
204
205 2011-02-15 Michael Snyder <msnyder@vmware.com>
206
207 * gdb.base/default.exp: Add tests for thread commands.
208 * gdb.base/help.exp: Add tests for thread commands.
209 * gdb.threads/thread-find.exp: New test for thread find command.
210
211 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
212
213 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
214
215 2011-02-15 Yao Qi <yao@codesourcery.com>
216
217 PR tdep/12352
218 * gdb.arch/arm-disp-step.S : New test for str instruction.
219 * gdb.arch/arm-disp-step.exp : Likewise.
220
221 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
222
223 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
224 "vector_register2_vr" test strings. Test the extended floating
225 point registers (F32~F63).
226 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
227 IBM XL C compiler. Make the test program use a register provided
228 by the compiler for the lxvd2x instruction.
229
230 2011-02-14 Pedro Alves <pedro@codesourcery.com>
231
232 * gdb.trace/unavailable.cc (class Base, class Middle, class
233 Derived): New types.
234 (derived_unavail, derived_partial, derived_whole): New globals.
235 (virtual_partial): New global.
236 (virtualp): Point at virtual_partial.
237 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
238 related to unavailable vptr.
239
240 2011-02-14 Pedro Alves <pedro@codesourcery.com>
241
242 * gdb.trace/unavailable.cc (a, b, c): New globals.
243 (main): Set and clear them.
244 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
245 `a' and `c', and check that `b' isn't collected, although `a' and
246 `c' are.
247
248 2011-02-14 Pedro Alves <pedro@codesourcery.com>
249
250 * gdb.trace/unavailable.cc (struct Virtual): New.
251 (virtualp): New global pointer.
252 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
253 printing a pointer to an object whose type has a vtable, with
254 print object on.
255
256 2011-02-14 Pedro Alves <pedro@codesourcery.com>
257
258 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
259 value repeat handles unavailableness.
260
261 2011-02-14 Pedro Alves <pedro@codesourcery.com>
262
263 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
264 tests for building arrays from unavailable values, subscripting
265 non-memory rvalue unvailable arrays, and accessing fields or
266 baseclasses of non-lazy unavailable values,
267 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
268 struct types.
269 (g_smallstruct, g_smallstruct_b): New globals.
270
271 2011-02-14 Pedro Alves <pedro@codesourcery.com>
272
273 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
274
275 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
276
277 Fix const/volatile qualifiers of C++ types, PR c++/12328.
278 * gdb.cp/overload-const.exp: New file.
279 * gdb.cp/overload-const.cc: New file.
280
281 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
282
283 * gdb.opencl/callfuncs.cl: New file.
284 * gdb.opencl/callfuncs.exp: New test.
285 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
286
287 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
288
289 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
290 when computing result.
291 * gdb.arch/altivec-abi.exp: Update expected results.
292
293 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
294
295 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
296 * gdb.base/jit.exp: Likewise.
297 * gdb.base/pie-execl.exp: Likewise.
298 * gdb.base/solib-nodir.exp: Likewise.
299 * gdb.base/solib-overlap.exp: Likewise.
300
301 2011-02-07 Pedro Alves <pedro@codesourcery.com>
302
303 * gdb.trace/collection.c (global_pieces): New.
304 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
305 New procedure.
306 (gdb_trace_collection_test): Call it.
307
308 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
309
310 * gdb.python/py-evthreads.c: New file.
311 * gdb.python/py-evthreads.exp: New file.
312 * gdb.python/py-events.py: New file.
313 * gdb.python/py-events.exp: New file.
314 * gdb.python/py-events.c: New file.
315
316 2011-02-04 David Daney <ddaney@caviumnetworks.com>
317
318 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
319
320 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
321
322 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
323 gdb.base/disasm-end-cu.exp: New test for disassembling over the
324 boundary between two compilation units.
325
326 2011-02-02 Pedro Alves <pedro@codesourcery.com>
327
328 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
329 (Virtual): New structs.
330 (virtual_o, virtual_middle_b): New globals.
331 * gdb.cp/virtbase.exp: New tests.
332
333 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
334
335 * gdb.base/jit.exp: New file.
336 * gdb.base/jit-main.c: New file.
337 * gdb.base/jit-solib.c: New file.
338
339 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
340
341 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
342 proceed to initial kernel entry point.
343 * gdb.opencl/datatypes.exp: Likewise.
344 * gdb.opencl/operators.exp: Likewise.
345 * gdb.opencl/vec_comps.exp: Likewise.
346
347 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
348
349 * gdb.cp/nsnested.cc: New.
350 * gdb.cp/nsnested.exp: New.
351 * gdb.cp/nsnoimports.exp: New.
352 * gdb.cp/nsnoimports.cc: New.
353
354 2011-01-31 Joel Brobecker <brobecker@adacore.com>
355
356 * gdb.base/interact.exp: Add extra tests that verify that
357 the value of the interactive-mode setting does not change
358 after the script is sourced.
359
360 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
361
362 * gdb.cp/noparam.exp: New file.
363 * gdb.cp/noparam.cc: New file.
364
365 2011-01-28 Pedro Alves <pedro@codesourcery.com>
366
367 * gdb.trace/tfile.exp: Test that with no traceframe selected,
368 there's no stack or registers.
369
370 2011-01-26 Tom Tromey <tromey@redhat.com>
371
372 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
373 space before string output. Add test for "set print pretty off"
374 case.
375
376 2011-01-25 Pedro Alves <pedro@codesourcery.com>
377
378 * gdb.base/frame-args.exp: Adjust.
379 * gdb.dwarf2/dw2-noloc.exp: Adjust.
380 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
381 * gdb.dwarf2/pieces.exp: Adjust.
382 * gdb.opt/clobbered-registers-O2.exp: Adjust.
383 * gdb.opt/inline-locals.exp: Adjust.
384 * gdb.threads/fork-child-threads.exp: Adjust.
385
386 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
387
388 * gdb.opencl/convs_casts.cl: Move program scope variables into the
389 OpenCL kernel function. Add a comment as marker. Add address space
390 qualifiers for the remaining program scope variables.
391 * gdb.opencl/datatypes.cl: Likewise.
392 * gdb.opencl/operators.cl: Likewise.
393 * gdb.opencl/vec_comps.cl: Likewise.
394 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
395 Add breakpoint at the marker comment.
396 * gdb.opencl/datatypes.exp: Likewise.
397 * gdb.opencl/operators.exp: Likewise.
398 * gdb.opencl/vec_comps.exp: Likewise.
399
400 2011-01-24 Pedro Alves <pedro@codesourcery.com>
401
402 * gdb.base/printcmds.c (some_struct): New struct and instance.
403 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
404 procedure.
405 <global scope>: Call it.
406
407 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
408
409 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
410 argument to the gdb_compile_opencl_hostapp call.
411
412 2011-01-19 Yao Qi <yao@codesourcery.com>
413
414 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
415 positve list.
416
417 2011-01-19 Yao Qi <yao@codesourcery.com>
418
419 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
420 canonical form.
421 Remove "xscale-*-*"
422 * gdb.xml/tdesc-regs.exp: Likewise.
423 * gdb.python/py-section-script.exp: Replace ARM target triplet
424 with canonical form.
425 Match arm*-*-symbianelf*.
426 * gdb.base/dup-sect.exp: Likewise.
427 * lib/dwarf.exp: New.
428 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
429 dwarf2_support.
430 * gdb.dwarf2/dup-psym.exp: Likewise.
431 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
432 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
433 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
434 * gdb.dwarf2/dw2-basic.exp: Likewise.
435 * gdb.dwarf2/dw2-compressed.exp: Likewise.
436 * gdb.dwarf2/dw2-const.exp: Likewise.
437 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
438 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
439 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
440 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
441 * gdb.dwarf2/dw2-filename.exp: Likewise.
442 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
443 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
444 * gdb.dwarf2/dw2-intercu.exp: Likewise.
445 * gdb.dwarf2/dw2-intermix.exp: Likewise.
446 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
447 * gdb.dwarf2/dw2-noloc.exp: Likewise.
448 * gdb.dwarf2/dw2-op-call.exp: Likewise.
449 * gdb.dwarf2/dw2-producer.exp: Likewise.
450 * gdb.dwarf2/dw2-ranges.exp: Likewise.
451 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
452 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
453 * gdb.dwarf2/dw2-strp.exp: Likewise.
454 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
455 * gdb.dwarf2/implptr.exp: Likewise.
456 * gdb.dwarf2/mac-fileno.exp: Likewise.
457 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
458 * gdb.dwarf2/pieces.exp: Likewise.
459 * gdb.dwarf2/pr11465.exp: Likewise.
460 * gdb.dwarf2/valop.exp: Likewise.
461 * gdb.dwarf2/watch-notconst.exp: Likewise.
462 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
463
464 2011-01-19 Tom Tromey <tromey@redhat.com>
465
466 * gdb.python/py-infthread.exp: Add thread tests.
467
468 2011-01-14 Joel Brobecker <brobecker@adacore.com>
469
470 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
471
472 2011-01-14 Joel Brobecker <brobecker@adacore.com>
473
474 * gdb.ada/widewide: New testcase.
475
476 2011-01-13 Joel Brobecker <brobecker@adacore.com>
477
478 * gdb.base/interact.exp: New testcase.
479
480 2011-01-12 Tom Tromey <tromey@redhat.com>
481
482 * gdb.mi/gdb2549.exp: Update for error message changes.
483 * gdb.mi/mi-cli.exp: Likewise.
484 * gdb.mi/mi-disassemble.exp: Likewise.
485 * gdb.mi/mi-pthreads.exp: Likewise.
486 * gdb.mi/mi-regs.exp: Likewise.
487 * gdb.mi/mi-stack.exp: Likewise.
488 * gdb.mi/mi-var-block.exp: Likewise.
489 * gdb.mi/mi-var-cmd.exp: Likewise.
490 * gdb.mi/mi2-cli.exp: Likewise.
491 * gdb.mi/mi2-disassemble.exp: Likewise.
492 * gdb.mi/mi2-pthreads.exp: Likewise.
493 * gdb.mi/mi2-regs.exp: Likewise.
494 * gdb.mi/mi2-stack.exp: Likewise.
495 * gdb.mi/mi2-var-block.exp: Likewise.
496 * gdb.mi/mi2-var-cmd.exp: Likewise.
497
498 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
499 Jan Kratochvil <jan.kratochvil@redhat.com>
500
501 PR fortran/11104 and DWARF unbound arrays detection.
502 * gdb.fortran/multi-dim.exp: New file.
503 * gdb.fortran/multi-dim.f90: New file.
504
505 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
506
507 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
508 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
509 add new tests for opcode dumping.
510
511 2011-01-11 Tom Tromey <tromey@redhat.com>
512
513 * gdb.python/py-infthread.exp: Load gdb-python.exp.
514
515 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
516
517 Convert hardware watchpoints to use breakpoint_ops.
518 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
519 type is not supported.
520 * gdb.base/foll-fork.exp: Likewise.
521 * gdb.base/foll-vfork.exp: Likewise.
522
523 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
524
525 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
526 Use load_lib gdb-python.exp.
527 * gdb.python/python.exp: Ditto.
528 * gdb.python/py-function.exp: Ditto.
529
530 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
531
532 * gdb.threads/tls.exp ("info address me"): Fix expected output.
533
534 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
535
536 * configure: Regenerate.
537
538 2011-01-06 Tom Tromey <tromey@redhat.com>
539
540 * gdb.python/py-frame.exp: Test gdb.newest_frame.
541
542 2011-01-06 Joel Brobecker <brobecker@adacore.com>
543
544 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
545 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
546 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
547 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
548 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
549 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
550 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
551 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
552 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
553 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
554 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
555 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
556 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
557 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
558 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
559 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
560 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
561 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
562 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
563 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
564 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
565 gdb.ada/uninitialized_vars.exp,
566 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
567 Simplify by using clean_restart.
568
569 2011-01-06 Joel Brobecker <brobecker@adacore.com>
570
571 Add marker to be used as anchor for inserting breakpoints.
572 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
573 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
574 Likewise.
575
576 Remove uses of gdb_start_cmd.
577 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
578 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
579
580 Do not run testcase if testing with GDBserver.
581 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
582 if testing with GDBserver.
583
584 2011-01-06 Joel Brobecker <brobecker@adacore.com>
585
586 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
587 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
588 copyright header.
589
590 2011-01-05 Joel Brobecker <brobecker@adacore.com>
591
592 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
593 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
594 testsuite/gdb.fortran/complex.f,
595 testsuite/gdb.fortran/derived-type.f90,
596 testsuite/gdb.fortran/library-module-lib.f90,
597 testsuite/gdb.fortran/library-module-main.f90,
598 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
599 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
600 Copyright year update.
601
602 2011-01-05 Joel Brobecker <brobecker@adacore.com>
603
604 * gdb.base/langs1.f: Add copyright header.
605
606 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
607
608 * gdb.base/morestack.exp: New file.
609 * gdb.base/morestack.c: New file.
610
611 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
612
613 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
614
615 2010-12-29 Joel Brobecker <brobecker@adacore.com>
616
617 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
618 * gdb.ada/arrayptr.exp: Add test printing that new variable.
619
620 2010-12-29 Joel Brobecker <brobecker@adacore.com>
621
622 * gdb.ada/lang_switch.exp: Correct expected parameter value.
623
624 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
625
626 * gdb.threads/tls.exp: Fix typo.
627
628 * gdb.threads/thread-specific.exp (get_thread_list): Update.
629 * gdb.threads/execl.exp: Update.
630
631 2010-12-23 Yao Qi <yao@codesourcery.com>
632
633 * gdb.arch/arm-disp-step.exp: New.
634 * gdb.arch/arm-disp-step.S: New.
635
636 2010-12-21 Tom Tromey <tromey@redhat.com>
637
638 * gdb.threads/execl.exp: Update.
639 * gdb.threads/linux-dp.exp: Update.
640 * gdb.threads/manythreads.exp: Update.
641 * gdb.threads/tls.exp: Update.
642
643 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
644
645 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
646 (NextOverThrowDerivates) <resumebpt>: New.
647 (resumebpt_test): New.
648 (main): Call resumebpt_test.
649 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
650
651 2010-12-12 Stan Shebs <stan@codesourcery.com>
652
653 * gdb.trace/tsv.exp: Test print command on trace state variables.
654
655 2010-12-09 Tom Tromey <tromey@redhat.com>
656
657 * gdb.base/interp.exp: Add regression test.
658
659 2010-12-09 Tom Tromey <tromey@redhat.com>
660
661 * gdb.java/jnpe.java: New file.
662 * gdb.java/jnpe.exp: New file.
663 * gdb.cp/nextoverthrow.exp: New file.
664 * gdb.cp/nextoverthrow.cc: New file.
665
666 2010-12-07 Doug Evans <dje@google.com>
667
668 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
669 of data-directory.
670 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
671 updated.
672 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
673
674 2010-11-29 Michael Snyder <msnyder@vmware.com>
675
676 * gdb.base/callfuncs.exp: Test for skip_float_tests.
677 * gdb.base/call-sc.exp: Ditto.
678 * gdb.base/finish.exp: Ditto.
679 * gdb.base/return.exp: Ditto.
680 * gdb.base/return2.exp: Ditto.
681
682 2010-11-30 Doug Evans <dje@google.com>
683
684 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
685 (gdb_expect_list): Fix spelling errors in comments.
686 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
687 send_gdb/gdb_expect_list where applicable.
688 * gdb.base/call-ar-st.exp: Ditto.
689 * gdb.base/funcargs.exp: Ditto.
690 * gdb.base/gcore.exp: Ditto.
691 * gdb.base/page.exp: Ditto.
692 * gdb.base/sigaltstack.exp: Ditto.
693 * gdb.base/siginfo.exp: Ditto.
694 * gdb.base/sigstep.exp: Ditto.
695 * gdb.base/trace-commands.exp: Ditto.
696
697 2010-11-29 Doug Evans <dje@google.com>
698
699 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
700 printer-name;subprinter-name.
701
702 2010-11-29 Tom Tromey <tromey@redhat.com>
703
704 * gdb.dwarf2/implptr.exp: New file.
705 * gdb.dwarf2/implptr.c: New file.
706 * gdb.dwarf2/implptr.S: New file.
707
708 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
709
710 PR python/12199
711
712 * gdb.python/py-breakpoint.exp: Test the delete method.
713
714 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
715
716 Fix step_resume_breakpoint unsaved during an infcall.
717 * gdb.base/step-resume-infcall.exp: New file.
718 * gdb.base/step-resume-infcall.c: New file.
719
720 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
721
722 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
723
724 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
725
726 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
727 on ppc64's symbols; "finish" and "return" commands must accept to
728 show the caller line again as well as the line after.
729 * gdb.asm/powerpc64.inc: New file.
730
731 2010-11-23 Doug Evans <dje@google.com>
732
733 * lib/gdb.exp (gdb_test_sequence): New function.
734 (gdb_expect_list): Add verbose -log call for each pattern.
735 * gdb.base/signals.exp (test_handle_all_print): Call it.
736 Reduce timeout increment from 6 minutes to 1 minute.
737 * gdb.server/ext-run.exp: Call it.
738
739 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
740
741 PR python/12212
742
743 * gdb.python/python.exp: Check that selected_thread raises an
744 error when no inferior is loaded.
745
746 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
747
748 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
749 * gdb.dwarf2/dw2-stack-boundary.S: New file.
750
751 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
752
753 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
754 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
755
756 2010-11-18 Doug Evans <dje@google.com>
757
758 * gdb.server/ext-run.exp: Fix intermittent failures.
759
760 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
761
762 * gdb.stabs/gdb11479.exp: Use runto_main.
763
764 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
765
766 * gdb.base/break-entry.exp: Skip if using a stub.
767
768 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
769
770 * gdb.python/py-inferior.exp: Pack values in target endianness.
771
772 2010-11-12 Tom Tromey <tromey@redhat.com>
773
774 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
775 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
776 MemoryError.
777 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
778 type.
779 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
780 MemoryError.
781 (test_subscript_regression): Update exception type.
782
783 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
784
785 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
786 breakpoint tests.
787
788 2010-11-09 Pedro Alves <pedro@codesourcery.com>
789
790 * gdb.base/watchpoint.exp: Test "watch -location" with an
791 innacessible location.
792
793 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
794 Luis Machado <luisgpm@br.ibm.com>
795
796 * gdb.base/maint.exp: Expect "." prefix.
797 * gdb.base/nodebug.exp: Expect "." Likewise.
798 * gdb.base/sepsymtab.exp: Expect "." Likewise.
799 * gdb.base/watchpoint-cond-gone.exp: Likewise.
800 * gdb.base/watchpoint.exp: Expect a software watch to be created for
801 POWER server processors.
802
803 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
804 Luis Machado <luisgpm@br.ibm.com>
805
806 * gdb.base/break-entry.exp: convert entry point for
807 ppc64 and expect leading `.' on ppc64's symbols
808
809 2010-11-05 Doug Evans <dje@google.com>
810
811 * gdb.base/help.exp: Update expected output.
812 * gdb.python/py-param.exp: Delete, contents moved to ...
813 * gdb.python/py-parameter.exp: ... here. New file.
814 Add test for gdb.parameter ("directories").
815
816 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
817
818 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
819 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
820 * configure: Regenerate.
821 * gdb.opencl/Makefile.in: New File.
822 * gdb.opencl/datatypes.exp: Likewise.
823 * gdb.opencl/datatypes.cl: Likewise.
824 * gdb.opencl/operators.exp: Likewise.
825 * gdb.opencl/operators.cl: Likewise.
826 * gdb.opencl/vec_comps.exp: Likewise.
827 * gdb.opencl/vec_comps.cl: Likewise.
828 * gdb.opencl/convs_casts.exp: Likewise.
829 * gdb.opencl/convs_casts.cl: Likewise.
830 * lib/opencl.exp: Likewise.
831 * lib/opencl_hostapp.c: Likewise.
832 * lib/opencl_kernel.cl: Likewise.
833 * lib/cl_util.c: Likewise.
834 * lib/cl_util.c: Likewise.
835 * gdb.base/default.exp (set language): Add "opencl" to the list of
836 languages.
837
838 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
839
840 * gdb.cp/overload.exp: Added test for inheritance overload.
841 * gdb.cp/overload.cc: Ditto.
842 * gdb.cp/oranking.exp: Removed releveant kfails.
843
844 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
845 Joel Brobecker <brobecker@adacore.com>
846
847 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
848 check test_compiler_info.
849
850 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
851
852 * gdb.base/gnu_vector.exp: Adjust expect messages.
853
854 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
855
856 * gdb.base/gnu_vector.exp: Add unary operator tests.
857
858 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
859
860 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
861
862 2010-11-02 Doug Evans <dje@google.com>
863
864 * gdb.python/py-pp-maint.c: New file.
865 * gdb.python/py-pp-maint.exp: New file.
866 * gdb.python/py-pp-maint.py: New file.
867
868 2010-11-02 Tom Tromey <tromey@redhat.com>
869
870 * gdb.base/default.exp: Remove "scheme" from language list.
871
872 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
873
874 Revert:
875 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
876 * gdb.threads/sigstep-threads.exp: New file.
877 * gdb.threads/sigstep-threads.c: New file.
878
879 2010-10-20 Michael Snyder <msnyder@vmware.com>
880
881 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
882
883 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
884
885 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
886 Skip test completely if gdb,no_hardware_watchpoints.
887
888 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
889
890 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
891 strict, but do not check for any particular function name within libc.
892
893 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
894
895 * gdb.cp/smartp.exp: New test.
896 * gdb.cp/smartp.cc : New test.
897
898 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
899
900 * gdb.cp/converts.exp: Test pointer to bool conversion.
901 Test pointer to long conversion.
902 * gdb.cp/oranking.exp: Removed relevant kfail.
903
904 2010-10-18 Tom Tromey <tromey@redhat.com>
905
906 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
907 argument to lazy_string.
908 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
909 (pp_ls.to_string): Use it.
910 * gdb.python/py-prettyprint.c (main): Move declarations to top.
911 Add "estring2" local.
912
913 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
914
915 Fix s390x compatibility.
916 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
917 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
918
919 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
920
921 * gdb.threads/sigstep-threads.exp: New file.
922 * gdb.threads/sigstep-threads.c: New file.
923
924 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
925
926 * gdb.base/pie-execl.exp: New file.
927 * gdb.base/pie-execl.c: New file.
928
929 2010-10-13 Doug Evans <dje@google.com>
930 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 PR exp/12117
933 * gdb.cp/ptype-cv-cp.cc: New file.
934 * gdb.cp/ptype-cv-cp.exp: New file.
935
936 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
937
938 * gdb.cp/converts.cc: New test program.
939 * gdb.cp/converts.exp: New test.
940 * gdb.cp/overload.exp: Added test for void* vs int*.
941 * gdb.cp/overload.exp: Ditto.
942 * gdb.cp/oranking.exp: Removed related kfail.
943
944 2010-10-13 Doug Evans <dje@google.com>
945
946 * lib/gdb-python.exp (gdb_check_python_config): New function.
947 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
948 * gdb.python/lib-types.cc: New file.
949 * gdb.python/lib-types.exp: New file.
950
951 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
952
953 * gdb.python/py-error.exp: New file.
954 * gdb.python/py-error.py: New file.
955
956 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
959 gdb_test_multiple.
960
961 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 * gdb.base/break-interp.exp: Use ldlags for linking flags.
964 * gdb.base/prelink.exp: Likewise.
965 * gdb.base/solib-nodir.exp: Likewise.
966 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
967 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
968 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
969
970 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
971
972 * break-interp.exp (test_ld): Use two separate gdb_expect statements
973 for the "info files" test to avoid timeouts on slow machines.
974
975 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
976
977 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
978 (main): Make openlib dummy call.
979
980 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
981
982 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
983 * break-interp.exp (reach): Move the core body ...
984 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
985 (test_ld): Provide always real argument, even to the linker. Replace
986 dl_main by _dl_debug_state.
987
988 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
989
990 Fix results of prelinked PIEs on ppc*.
991 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
992 Accept also DISPLACEMENT "PRESENT".
993 (main): Replace "ZERO" displacements by "PRESENT".
994
995 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
996
997 * gdb.cp/oranking.exp: New test.
998 * gdb.cp/oranking.cc: New test program.
999
1000 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1001
1002 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1003 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1004
1005 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1006
1007 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1008 lush, lynx) New constant.
1009 * gdb.base/constvars.exp: Test const array types.
1010 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1011
1012 2010-10-06 Doug Evans <dje@google.com>
1013
1014 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1015 of syscall staging area.
1016
1017 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1018
1019 * gdb.base/gnu_vector.c: Add variable c4.
1020 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1021 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1022
1023 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1024
1025 * gdb.arch/altivec-abi.exp: Fix a typo.
1026
1027 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1028
1029 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1030 to match a thread ID.
1031
1032 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1033
1034 Fix s390x testcase compatibility.
1035 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1036
1037 2010-10-01 Doug Evans <dje@google.com>
1038
1039 * lib/gdb-python.exp: New file.
1040 * gdb.python/py-block.exp: Use it.
1041 * gdb.python/py-breakpoint.exp: Ditto.
1042 * gdb.python/py-frame.exp: Ditto.
1043 * gdb.python/py-inferior.exp: Ditto.
1044 * gdb.python/py-param.exp: Ditto.
1045 * gdb.python/py-prettyprint.exp: Ditto.
1046 * gdb.python/py-shared.exp: Ditto.
1047 * gdb.python/py-symbol.exp: Ditto.
1048 * gdb.python/py-symtab.exp: Ditto.
1049 * gdb.python/py-type.exp: Ditto.
1050 * gdb.python/py-value.exp: Ditto.
1051 * gdb.python/python.exp: Ditto.
1052
1053 2010-09-30 Tom Tromey <tromey@redhat.com>
1054
1055 * gdb.base/anon.exp: New file.
1056 * gdb.base/anon.c: New file.
1057
1058 2010-09-30 Tom Tromey <tromey@redhat.com>
1059
1060 * gdb.base/completion.exp: Test completion through anonymous
1061 union.
1062 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1063
1064 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 Fix printing parameters of inlined functions.
1067 * gdb.dwarf2/dw2-inline-param.exp: New file.
1068 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1069 * gdb.dwarf2/dw2-inline-param.S: New file.
1070
1071 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1072
1073 PR corefiles/12071.
1074 * gdb.base/corefile.exp (quit with a process, no question: load core)
1075 (quit with a core file): New tests.
1076
1077 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 Fix GDB crash on inferior calls with self-referencing classes.
1080 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1081 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1082 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1083
1084 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1085
1086 Fix lost siginfo_t for inferior calls.
1087 * gdb.base/siginfo-infcall.exp: New file.
1088 * gdb.base/siginfo-infcall.c: New file.
1089
1090 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1091
1092 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1093
1094 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1095
1096 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1097 New test.
1098 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1099
1100 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1101
1102 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1103 type of our const type.
1104
1105 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1106
1107 * gdb.cp/pr12028.cc: New.
1108 * gdb.cp/pr12028.exp: New.
1109
1110 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1111
1112 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1113
1114 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1115 Jan Kratochvil <jan.kratochvil@redhat.com>
1116
1117 PR mi/11407
1118 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1119 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1120 * gdb.mi/dw2-ref-missing-frame.S New File.
1121 * gdb.mi/dw2-ref-missing-frame.exp New File.
1122
1123 2010-09-14 Tom Tromey <tromey@redhat.com>
1124
1125 PR symtab/8399:
1126 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1127
1128 2010-09-14 Tom Tromey <tromey@redhat.com>
1129
1130 PR exp/11803:
1131 * gdb.threads/tls.exp: Use C++.
1132 (check_thread_local): Use K::another_thread_local.
1133 * gdb.threads/tls.c (class K): New.
1134 (another_thread_local): Now a member of K.
1135 (spin): Update. No longer K&R C.
1136
1137 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1138
1139 * gdb.cp/koenig.cc: created class for testing member lookup.
1140 * gdb.cp/koenig.exp: Added test for member lookup.
1141
1142 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1143
1144 Fix false FAILs on sourcetree topdir directory containing "kill".
1145 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1146 source line matching regexp.
1147
1148 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1149
1150 * gdb.python/python.exp (set height 0, collect help from uiout)
1151 (verify help to uiout): New tests.
1152
1153 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1154
1155 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1156 is_lp64_target to check 64bit target.
1157
1158 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1159
1160 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1161 (test_ld) <powerpc64-*>: New.
1162
1163 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1164
1165 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1166
1167 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1168
1169 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1170 (FunctionArg::method): New function.
1171 (empty, arg): New variables.
1172 (main): Call arg.method.
1173 * gdb.cp/templates.exp (test_template_args): New function.
1174 (do_tests): Call it.
1175
1176 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1177
1178 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1179 of "next" to proceed over pthread_exit call.
1180
1181 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1182
1183 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1184 "maint print statistics" output to prevent expect timeouts.
1185
1186 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1187
1188 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1189 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1190 (test_float_rejected): ... here.
1191 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1192 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1193 (test_float_rejected): ... here.
1194 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1195 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1196 (test_float_rejected): ... here.
1197 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1198 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1199 (test_float_rejected): ... here.
1200
1201 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1202
1203 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1204 before disabling hardware watchpoints.
1205 (test_inaccessible_watchpoint): Check that hardware watchpoints
1206 are used. Test for watchpoints on a constant address.
1207
1208 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1209
1210 * gdb.base/ui-redirect.exp: New file.
1211
1212 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1213 Joel Brobecker <brobecker@adacore.com>
1214
1215 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1216
1217 2010-08-31 Doug Evans <dje@google.com>
1218
1219 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1220
1221 2010-08-30 Tom Tromey <tromey@redhat.com>
1222
1223 PR python/11792:
1224 * gdb.python/py-value.exp (test_subscript_regression): Add
1225 dynamic_type test.
1226
1227 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1228
1229 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1230 instead of running to main. Do not test the main function.
1231 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1232 Add new main.
1233
1234 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1235
1236 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1237 one test.
1238
1239 2010-08-24 Doug Evans <dje@google.com>
1240
1241 PR symtab/11942
1242 * gdb.dwarf2/dw4-sig-types.cc: New file.
1243 * gdb.dwarf2/dw4-sig-types.h: New file.
1244 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1245 * gdb.dwarf2/dw4-sig-types.exp: New file.
1246
1247 2010-08-23 Tom Tromey <tromey@redhat.com>
1248
1249 PR python/11145:
1250 * gdb.python/py-value.c (Base, Derived): New types.
1251 (base): New global.
1252 * gdb.python/py-value.exp (test_subscript_regression): Add
1253 dynamic_cast test.
1254
1255 2010-08-23 Tom Tromey <tromey@redhat.com>
1256
1257 PR python/10676:
1258 * gdb.python/py-type.exp (test_fields): Add tests for type
1259 equality.
1260
1261 2010-08-23 Tom Tromey <tromey@redhat.com>
1262
1263 PR python/11915:
1264 * gdb.python/py-type.exp (test_fields): Add tests for array.
1265
1266 2010-08-23 Keith Seitz <keiths@redhat.com>
1267
1268 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1269 have any children. Create a new abbrev for it.
1270 Add missing terminal sequence to .debug_abbrev.
1271
1272 2010-08-20 Keith Seitz <keiths@redhat.com>
1273
1274 PR symtab/11465:
1275 * gdb.dwarf2/pr11465.exp: New test.
1276 * gdb.dwarf2/pr11465.S: New file.
1277 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1278 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1279
1280 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1281
1282 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1283 registers. Update data sets with the new v2_double element in the
1284 VSX register union. Add vector_register3_vr data set for the AltiVec
1285 registers. Use gdb_test_no_output instead of send_gdb.
1286
1287 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1288
1289 * gdb.python/py-shared.exp: New file, factored out from
1290 python.exp.
1291 * gdb.python/py-shared.c: New file.
1292 * gdb.python/py-shared-sl.c: New file.
1293 * gdb.python/python-1.c: New file.
1294 * gdb.python/python-sl.c: Delete.
1295 * gdb.python/python.c: Mention python-1.c.
1296 * gdb.python/python.exp: Move shared library tests to
1297 py-shared.exp.
1298 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1299 (MISCELLANEOUS): New.
1300 (clean mostlyclean): Also remove $MISCELLANEOUS.
1301
1302 2010-08-19 Doug Evans <dje@google.com>
1303
1304 PR exp/11926
1305 * gdb.base/printcmds.exp (test_float_accepted): New function.
1306 Move existing float tests there. Add tests for floats with suffixes.
1307 (test_float_rejected): New function.
1308 * gdb.java/jv-print.exp (test_float_accepted): New function.
1309 (test_float_rejected): New function.
1310 * gdb.objc/print.exp: New file.
1311 * gdb.pascal/print.exp: New file.
1312 * lib/objc.exp: New file.
1313
1314 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1315
1316 * gdb.base/default.exp (info set): Avoid full buffer error and force
1317 reading up to final gdb prompt.
1318 (show): Likewise.
1319
1320 2010-08-18 Tom Tromey <tromey@redhat.com>
1321
1322 PR symtab/11919:
1323 * gdb.base/completion.exp: Add test.
1324
1325 2010-08-18 Doug Evans <dje@google.com>
1326
1327 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1328 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1329 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1330 Simplify, early exit if runto_main fails.
1331 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1332 (set_lang_fortran): Moved to lib/fortran.exp.
1333 * gdb.fortran/types.exp: load_lib fortran.exp.
1334 (set_lang_fortran): Moved to lib/fortran.exp.
1335 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1336 * gdb.java/jprint.exp (set_lang_java): Ditto.
1337 * gdb.java/jv-exp.exp: load_lib java.exp.
1338 If set_lang_java fails, issue a warning instead of failure to be
1339 consistent with other set_lang_foo uses.
1340 (set_lang_java): Moved to lib/java.exp.
1341 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1342 If set_lang_java fails, issue a warning instead of failure to be
1343 consistent with other set_lang_foo uses.
1344 * gdb.pascal/types.exp: load_lib pascal.exp.
1345 (set_lang_pascal): Moved to lib/pascal.exp.
1346 * lib/fortran.exp: New file.
1347 * lib/java.exp (set_lang_java): New function.
1348 * lib/pascal.exp (set_lang_pascal): New function.
1349
1350 2010-08-18 Yao Qi <yao@codesourcery.com
1351
1352 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1353 func_nofb_start and func_loopfb_start, so that address of functions
1354 is equal to these labels on Thumb.
1355
1356 2010-08-18 Yao Qi <yao@codesourcery.com>
1357
1358 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1359 to reflect latest c source file.
1360
1361 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1362
1363 * gdb.cp/infcall-dlopen.exp: New file.
1364 * gdb.cp/infcall-dlopen.cc: New file.
1365 * gdb.cp/infcall-dlopen-lib.cc: New file.
1366
1367 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1368 Pedro Alves <pedro@codesourcery.com>
1369
1370 PR breakpoints/11371
1371
1372 * gdb.base/watch-cond-infcall.exp: New file.
1373 * gdb.base/watch-cond-infcall.c: New file.
1374
1375 2010-08-16 Tom Tromey <tromey@redhat.com>
1376
1377 * gdb.base/help.exp: Update.
1378 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1379 watchpoint.
1380 (test_watch_location): New proc.
1381 (test_watchpoint_in_big_blob): Delete watchpoint.
1382 * gdb.base/watchpoint.c (func5): New function.
1383 (main): Call it.
1384
1385 2010-08-16 Doug Evans <dje@google.com>
1386
1387 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1388
1389 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1390
1391 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1392 tests.
1393
1394 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1395
1396 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1397 * gdb.base/gnu_vector.c: New File.
1398 * gdb.base/gnu_vector.exp: Likewise.
1399
1400 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1401
1402 * gdb.python/python.c: New File.
1403 * gdb.python/python-sl.c: New File.
1404 * gdb.python/python.exp: Test solib_address and decode_line
1405 * functions.
1406
1407 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1408
1409 * gdb.python/python.exp (show height, set height 10)
1410 (verify pagination beforehand, verify pagination beforehand: q)
1411 (gdb.execute does not page, verify pagination afterwards)
1412 (verify pagination afterwards: q): New.
1413
1414 2010-08-02 Doug Evans <dje@google.com>
1415
1416 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1417 because of an older gcc, change test2
1418 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1419 to unsupported.
1420
1421 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1422
1423 * gdb.base/break-always.exp: Do not expect full paths to file
1424 names.
1425 * gdb.base/commands.exp: Likewise.
1426
1427 2010-07-30 Doug Evans <dje@google.com>
1428
1429 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1430 xfail them when run with older gccs.
1431
1432 * lib/gdb.exp (build_executable): Forward "c++" option to
1433 get_compiler_info.
1434
1435 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1436 "python print ttype.template_argument(1)" and
1437 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1438 if using gcc 4.4 or earlier.
1439
1440 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1441 attach-to-debugger handling.
1442
1443 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1444
1445 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1446 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1447 (main): Use copyreloc.
1448 * gdb.base/prelink.exp (split debug of executable)
1449 (.dynbss vs. .bss address shift): New tests.
1450
1451 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1452
1453 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1454 in gdb_test_multiple.
1455
1456 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1457
1458 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1459 environment.
1460
1461 2010-07-28 Tom Tromey <tromey@redhat.com>
1462
1463 PR python/11060:
1464 * gdb.python/py-type.c (Temargs): New template.
1465 (temvar): New variable.
1466 * gdb.python/py-type.exp (test_template): New proc.
1467
1468 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1469
1470 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1471 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1472
1473 2010-07-28 Tom Tromey <tromey@redhat.com>
1474
1475 PR c++/9946:
1476 * gdb.cp/temargs.exp: New file.
1477 * gdb.cp/temargs.cc: New file.
1478
1479 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1480
1481 * gdb.base/help.exp (help disassemble): Update the content.
1482
1483 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * gdb.threads/ia64-sigill.exp: New file.
1486 * gdb.threads/ia64-sigill.c: New file.
1487
1488 2010-07-27 Tom Tromey <tromey@redhat.com>
1489
1490 * gdb.opt/inline-cmds.c (ATTR): New define.
1491 (func1): Use it.
1492 (func2): Likewise.
1493 (func3): Likewise.
1494 (outer_inline1): Likewise.
1495 (outer_inline2): Likewise.
1496 * gdb.opt/inline-bt.c (ATTR): New define.
1497 (func1): Use it.
1498 (func2): Likewise.
1499 * gdb.opt/inline-locals.c (ATTR): New define.
1500 (func1): Use it.
1501 (func2): Likewise.
1502
1503 2010-07-27 Tom Tromey <tromey@redhat.com>
1504
1505 * gdb.stabs/gdb11479.c (hack): New function.
1506 (test): Use it.
1507 (test2): Use it.
1508 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1509 (int32_search_buf, int64_search_buf): No longer static.
1510 (x): Remove.
1511 * gdb.base/relocate.c (hack): New function.
1512
1513 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1514
1515 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1516 * gdb.python/py-value.c (func1): New function.
1517 (func2): Likewise.
1518
1519 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1520
1521 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1522 as not to clash with .data section.
1523
1524 2010-07-26 Jerome Guitton <guitton@adacore.com>
1525
1526 * gdb.base/code_elim.exp: New file.
1527 * gdb.base/code_elim1.c: New file.
1528 * gdb.base/code_elim2.c: New file.
1529
1530 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1531
1532 PR symtab/11827
1533
1534 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1535 (some_volatile_enum): New variable.
1536 * gdb.base/printcmds.exp (test_print_enums): New.
1537 <top level>: Call it.
1538
1539 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1540
1541 * gdb.cp/fpointer.cc: New test.
1542 * gdb.cp/fpointer.exp: New test.
1543
1544 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1545
1546 * gdb.base/solib-nodir.exp: New file.
1547 * lib/gdb.exp (runto): New case for a GDB internal error.
1548
1549 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1550 Ulrich Weigand <uweigand@de.ibm.com>
1551 Tom Tromey <tromey@redhat.com>
1552
1553 * gdb.base/charset-malloc.c: New file.
1554 * gdb.base/charset.c (malloc_stub): New prototype.
1555 (main): Call it instead of malloc itself.
1556 * gdb.base/charset.exp: Use only prepare_for_testing.
1557 (binfile): Remove the variable.
1558
1559 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 Make core files the process_stratum.
1562 * gdb.base/corefile.exp (run: load core again)
1563 (run: sanity check we see the core file, run: with core)
1564 (run: core file is cleared, attach: load core again)
1565 (attach: sanity check we see the core file, attach: with core)
1566 (attach: core file is cleared): New tests.
1567 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1568
1569 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1570
1571 * gdb.arch/altivec-abi.exp: New tests.
1572
1573 2010-07-13 Tom Tromey <tromey@redhat.com>
1574
1575 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1576 (main): Use it.
1577 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1578
1579 2010-07-13 Tom Tromey <tromey@redhat.com>
1580
1581 * gdb.base/label.exp: New file.
1582 * gdb.base/label.c: New file.
1583
1584 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1585 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 * lib/gdb.exp (is_ilp32_target): New.
1588 (is_lp64_target): Likewise.
1589
1590 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1591 target.
1592 * gdb.arch/amd64-disp-step.exp: Likewise.
1593 * gdb.arch/amd64-dword.exp: Likewise.
1594 * gdb.arch/amd64-i386-address.exp: Likewise.
1595 * gdb.arch/amd64-word.exp: Likewise.
1596
1597 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1598 target.
1599 * gdb.arch/i386-bp_permanent.exp: Likewise.
1600 * gdb.arch/i386-byte.exp: Likewise.
1601 * gdb.arch/i386-disp-step.exp: Likewise.
1602 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1603 * gdb.arch/i386-prologue.exp: Likewise.
1604 * gdb.arch/i386-size-overlap.exp: Likewise.
1605 * gdb.arch/i386-size.exp: Likewise.
1606 * gdb.arch/i386-sse.exp: Likewise.
1607 * gdb.arch/i386-unwind.exp: Likewise.
1608 * gdb.arch/i386-word.exp: Likewise.
1609
1610 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1611 test only when building 64-bit executables. Do not hard-code
1612 -m64 option.
1613
1614 2010-07-07 Doug Evans <dje@google.com>
1615
1616 * lib/gdb.exp (gdb_test_list_exact): New function.
1617 * gdb.base/default.exp (show convenience): Call it, add tests for
1618 $_sdata = void, $_thread = 0.
1619
1620 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1621 Joel Brobecker <brobecker@adacore.com>
1622
1623 Fix re-run of PIE executable, PR shlibs/11776.
1624 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1625 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1626 and re-"run" of the inferior.
1627
1628 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1629 Joel Brobecker <brobecker@adacore.com>
1630
1631 Cope with missing /usr/sbin/prelink.
1632 * lib/prelink-support.exp (prelink_no):
1633 <result == 1 && $output is "no such file or directory">: New.
1634 (prelink_yes): Likewise. Return on failed prelink_no.
1635
1636 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1637 Joel Brobecker <brobecker@adacore.com>
1638
1639 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1640 build_executable by build_executable_own_libs. Replace "prelink -R"
1641 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1642 change.
1643 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1644 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1645 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1646 Replace build_executable by build_executable_own_libs's function
1647 build_executable_own_libs.
1648 (prelinkNO): Create new stub to call prelink_no.
1649 (prelinkYES): Create new stub to call prelink_yes.
1650 (test_attach): Rename calls of copy to file_copy.
1651 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1652 (copy): Move to ...
1653 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1654 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1655 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1656 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1657 special flags by gdb_compile_shlib. Replace second gdb_compile by
1658 build_executable_own_libs. Replace "prelink -R" execution by a call of
1659 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1660 a second call of prelink_yes. Replace restart commands by
1661 clean_restart.
1662 (prelink): Rename to ...
1663 (seen displacement message): ... this test. Extend its expectation
1664 strictness.
1665
1666 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1667
1668 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1669 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1670 displacement message exactly once.
1671
1672 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1673 Joel Brobecker <brobecker@adacore.com>
1674
1675 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1676 its restore after the <$relink_args != ""> loop. new comment.
1677
1678 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1679 Joel Brobecker <brobecker@adacore.com>
1680
1681 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1682 code for it. New variable relink_args.
1683 (prelinkYES): Call prelinkNO.
1684 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1685 in such case. Move the core code to ...
1686 (test_attach_gdb): ... a new function. Send GDB command "file".
1687 Extend expected "Attaching to " string.
1688
1689 2010-07-02 Tom Tromey <tromey@redhat.com>
1690
1691 * gdb.base/bitops.exp: Remove extraneous "pass".
1692
1693 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1694
1695 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1696
1697 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1698
1699 * gdb.base/help.exp: Adjust expected output.
1700
1701 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1702
1703 * gdb.base/help.exp: Adjust expected output.
1704
1705 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1706
1707 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1708 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1709 c++/11702.
1710
1711 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1712 Doug Evans <dje@google.com>
1713
1714 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1715 add .dynamic entry'.
1716
1717 2010-06-29 Doug Evans <dje@google.com>
1718
1719 Test PR c++/11702.
1720 * gdb.cp/m-static.exp: Add testcase.
1721 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1722
1723 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1724 Tom Tromey <tromey@redhat.com>
1725 Thiago Jung Bauermann <bauerman@br.ibm.com>
1726
1727 * gdb.python/py-inferior.c: New File.
1728 * gdb.python/py-infthread.c: New File.
1729 * gdb.python/py-inferior.exp: New File.
1730 * gdb.python/py-infthread.exp: New File.
1731
1732 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1733
1734 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1735 (ptype ::C::OtherFileClass typedefs): New.
1736 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1737 (C::OtherFileClass::cOtherFileClassVar2): New.
1738 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1739 cOtherFileClassVar2.
1740 (C::cOtherFileType2, C::cOtherFileVar2): New.
1741 (C::cOtherFileVar_use): use also cOtherFileVar2.
1742 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1743
1744 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1745
1746 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1747 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1748 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1749 (print ::C::cOtherFileVar)
1750 (whatis C::OtherFileClass::cOtherFileClassType)
1751 (whatis ::C::OtherFileClass::cOtherFileClassType)
1752 (print C::OtherFileClass::cOtherFileClassVar)
1753 (print ::cOtherFileClassVar)
1754 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1755 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1756 trailing content.
1757 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1758 (C::OtherFileClass::cOtherFileClassVar)
1759 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1760 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1761
1762 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1763
1764 Test PR c++/11703 and PR gdb/1448.
1765 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1766 gdb/1448.
1767
1768 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1769
1770 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1771 (main) <rtti_data>: New.
1772 * gdb.cp/virtbase.exp (print rtti_data): New.
1773
1774 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1775 Joel Brobecker <brobecker@adacore.com>
1776
1777 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1778
1779 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1780
1781 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1782
1783 2010-06-28 Doug Evans <dje@google.com>
1784
1785 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1786
1787 2010-06-27 Doug Evans <dje@google.com>
1788
1789 * gdb.cp/m-static.exp: Update expected test output.
1790
1791 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1792
1793 * gdb.gdb/selftest.exp: Adjust expected message for
1794 capturing start-up runtime.
1795
1796 2010-06-25 Tom Tromey <tromey@redhat.com>
1797
1798 PR python/10808:
1799 * gdb.python/python.exp: Add new tests.
1800
1801 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1802
1803 * gdb.cp/operator.cc: Created an import loop.
1804 * gdb.cp/operator.exp: Added testcase for import loop.
1805
1806 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1807
1808 Test PR python/11407.
1809 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1810 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1811 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1812 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1813 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1814 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1815 binfile. Call gdb_compile with clean_restart twice.
1816 (func_nofb print, func_nofb backtrace, func_loopfb print)
1817 (func_loopfb backtrace): New.
1818
1819 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1820
1821 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1822 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1823 by a hand made one.
1824 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1825 i?86 requirement. Remove variables srcfile and binfile. New variable
1826 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1827
1828 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1829
1830 * gdb.cell/dwarfaddr.exp: New file.
1831 * gdb.cell/dwarfaddr.S: New file.
1832
1833 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1834
1835 Test PR 9436.
1836 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1837
1838 2010-06-24 Hui Zhu <teawater@gmail.com>
1839
1840 * gdb.base/eval.exp: New file.
1841
1842 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1843
1844 * gdb.cell/fork.exp: New file.
1845 * gdb.cell/fork.c: Likewise.
1846 * gdb.cell/fork-spu.c: Likewise.
1847
1848 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1849
1850 * lib/gdb.exp (banned_variables_traced): New global variable.
1851 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1852 (gdb_init): Use `trace add variable' instead of obsolete
1853 `trace variable'.
1854
1855 2010-06-21 Doug Evans <dje@google.com>
1856
1857 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1858
1859 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1860
1861 * gdb.arch/spu-ls.exp: New file.
1862 * gdb.arch/spu-ls.c: Likewise.
1863
1864 2010-06-18 Stan Shebs <stan@codesourcery.com>
1865
1866 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1867
1868 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1869
1870 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1871 * gdb.base/watch-cond.exp: Likewise.
1872 * gdb.python/py-breakpoint.exp: Likewise.
1873
1874 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1875
1876 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1877 clean_restart, make sure every test has a distinct message, and
1878 that messages don't include the executable' full path.
1879
1880 2010-06-17 Doug Evans <dje@google.com>
1881
1882 * gdb.arch/i386-size.exp: Updated expected output for
1883 DISASSEMBLY_OMIT_FNAME.
1884
1885 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1886 Sergio Durigan Junior <sergiodj@redhat.com>
1887
1888 * gdb.base/watch-notconst.c: New file.
1889 * gdb.base/watch-notconst.S: New file.
1890 * gdb.base/watch-notconst2.c: New file.
1891 * gdb.base/watch-notconst2.S: New file.
1892 * gdb.base/watch-notconst.exp: New file.
1893 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1894 (func4): Add operations on `global_ptr_ptr'.
1895 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1896 routine to test watchpoints created with a constant expression.
1897 (test_inaccessible_watchpoint): Include tests for watchpoints
1898 created with a constant expression.
1899
1900 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1901
1902 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1903 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1904 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1905 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1906 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1907 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1908 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1909 of `_start'.
1910
1911 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1912
1913 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1914 not supported on the target.
1915 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1916 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1917 * gdb.mi/mi-nsintrall.exp: Likewise.
1918 * gdb.mi/mi-nsmoribund.exp: Likewise.
1919 * gdb.mi/mi-nsthrexec.exp: Likewise.
1920
1921 2010-06-11 Stan Shebs <stan@codesourcery.com>
1922
1923 * gdb.base/permissions.exp: New file.
1924
1925 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1926
1927 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1928 does not support ELF executable class.
1929
1930 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1931
1932 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1933
1934 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1935
1936 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1937 (runto): Catch "The target does not support running in non-stop mode.".
1938
1939 2010-06-11 Michael Snyder <msnyder@vmware.com>
1940
1941 * gdb.base/setshow.exp (set language asm): Don't use
1942 gdb_test_no_output, fails on some targets.
1943
1944 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1945
1946 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1947 * gdb.cp/pr9167.exp: Likewise.
1948
1949 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1950
1951 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1952
1953 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1954
1955 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1956
1957 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1958
1959 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1960
1961 2010-06-11 Tom Tromey <tromey@redhat.com>
1962
1963 PR gdb/9977, PR exp/11636::
1964 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1965 (pieces_test_f6): Update expected output.
1966
1967 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1968
1969 * gdb.base/moribund-step.exp: New.
1970
1971 2010-06-08 Michael Snyder <msnyder@vmware.com>
1972
1973 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1974 * gdb.ada/boolean_expr.exp:
1975 * gdb.ada/frame_args.exp: Ditto.
1976 * gdb.ada/lang_switch.exp: Ditto.
1977 * gdb.ada/ptype_arith_binop.exp: Ditto.
1978 * gdb.ada/ref_param.exp: Ditto.
1979 * gdb.ada/type_coercion.exp:Ditto.
1980
1981 * gdb.asm/asm-source.exp: Ditto.
1982
1983 * gdb.base/attach.exp: Ditto.
1984 * gdb.base/bitfields2.exp: Ditto.
1985 * gdb.base/call-signal-resume.exp: Ditto.
1986 * gdb.base/callfuncs.exp: Ditto.
1987 * gdb.base/commands.exp: Ditto.
1988 * gdb.base/dbx.exp: Ditto.
1989 * gdb.base/default.exp: Ditto.
1990 * gdb.base/dump.exp: Ditto.
1991 * gdb.base/exprs.exp: Ditto.
1992 * gdb.base/freebpcmd.exp: Ditto.
1993 * gdb.base/interrupt.exp: Ditto.
1994 * gdb.base/list.exp: Ditto.
1995 * gdb.base/long_long.exp: Ditto.
1996 * gdb.base/maint.exp: Ditto.
1997 * gdb.base/ptype.exp: Ditto.
1998 * gdb.base/return.exp: Ditto.
1999 * gdb.base/setshow.exp: Ditto.
2000 * gdb.base/sigbpt.exp: Ditto.
2001 * gdb.base/sigrepeat.exp: Ditto.
2002
2003 * gdb.cp/classes.exp: Ditto.
2004
2005 * gdb.dwarf2/dw2-restore.exp: Ditto.
2006
2007 * gdb.gdb/selftest.exp: Ditto.
2008
2009 * gdb.multi/base.exp: Ditto.
2010 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2011
2012 * gdb.python/py-block.exp: Ditto.
2013 * gdb.python/py-prettyprint.exp: Ditto.
2014 * gdb.python/py-template.exp: Ditto.
2015
2016 * gdb.server/ext-attach.exp: Ditto.
2017 * gdb.server/ext-run.exp: Ditto.
2018 * gdb.server/server-mon.exp: Ditto.
2019
2020 * gdb.threads/fork-thread-pending.exp: Ditto.
2021 * gdb.threads/hand-call-in-threads.exp: Ditto.
2022 * gdb.threads/interrupted-hand-call.exp: Ditto.
2023 * gdb.threads/linux-dp.exp: Ditto.
2024 * gdb.threads/manythreads.exp: Ditto.
2025 * gdb.threads/print-threads.exp: Ditto.
2026 * gdb.threads/pthreads.exp: Ditto.
2027 * gdb.threads/schedlock.exp: Ditto.
2028 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2029 * gdb.threads/threadapply.exp: Ditto.
2030
2031 2010-06-08 Michael Snyder <msnyder@vmware.com>
2032
2033 * gdb.ada/exec_changed.exp:
2034 Use ".*" instead of "" as wildcard regexp.
2035
2036 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2037 * gdb.base/call-ar-st.exp: Ditto.
2038 * gdb.base/checkpoint.exp: Ditto.
2039 * gdb.base/default.exp: Ditto.
2040 * gdb.base/dump.exp: Ditto.
2041 * gdb.base/ending-run.exp: Ditto.
2042 * gdb.base/fileio.exp: Ditto.
2043 * gdb.base/miscexprs.exp: Ditto.
2044 * gdb.base/pointers.exp: Ditto.
2045 * gdb.base/readline.exp: Ditto.
2046 * gdb.base/reread.exp: Ditto.
2047 * gdb.base/restore.exp: Ditto.
2048 * gdb.base/shlib-call.exp: Ditto.
2049 * gdb.base/valgrind-db-attach.exp: Ditto.
2050 * gdb.base/volatile.exp: Ditto.
2051 * gdb.base/watchpoints.exp: Ditto.
2052
2053 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2054
2055 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2056 * gdb.python/py-value.exp: Ditto.
2057
2058 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2059 * gdb.trace/circ.exp: Ditto.
2060 * gdb.trace/collection.exp: Ditto.
2061 * gdb.trace/packetlen.exp: Ditto.
2062 * gdb.trace/passc-dyn.exp: Ditto.
2063 * gdb.trace/report.exp: Ditto.
2064 * gdb.trace/tfile.exp: Ditto.
2065 * gdb.trace/tfind.exp: Ditto.
2066 * gdb.trace/while-dyn.exp: Ditto.
2067
2068 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2071
2072 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2073
2074 Test PR 10640.
2075 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2076
2077 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2078
2079 * gdb.cp/koenig.exp: Test for ADL operators.
2080 * gdb.cp/koenig.cc: Added ADL operators.
2081 * gdb.cp/operator.exp: New test.
2082 * gdb.cp/operator.cc: New test.
2083
2084 2010-06-04 Michael Snyder <msnyder@vmware.com>
2085
2086 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2087 * gdb.base/pending.exp: Ditto.
2088
2089 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2090
2091 2010-06-04 Doug Evans <dje@google.com>
2092
2093 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2094 disabled printers.
2095 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2096 (enable_lookup_function): New function.
2097
2098 2010-06-04 Tom Tromey <tromey@redhat.com>
2099
2100 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2101 of hash and id.
2102
2103 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2104
2105 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2106 newline.
2107 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2108 (empty verbose non-noisy clear, empty verbose noisy clear)
2109 (empty non-verbose noisy clear): Likewise.
2110
2111 2010-06-03 Michael Snyder <msnyder@vmware.com>
2112
2113 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2114 * gdb.base/display.exp: Ditto.
2115 * gdb.base/find.exp: Ditto.
2116 * gdb.base/ifelse.exp: Ditto.
2117 * gdb.base/multi-forks.exp: Ditto.
2118 * gdb.base/recurse.exp: Ditto.
2119 * gdb.base/setshow.exp: Ditto.
2120 * gdb.base/value-double-free.exp: Ditto.
2121 * gdb.base/watch-vfork.exp: Ditto.
2122 * gdb.base/watch_thread_num.exp: Ditto.
2123 * gdb.base/watchpoint-solib.exp: Ditto.
2124 * gdb.base/watchpoint.exp: Ditto.
2125 * gdb.base/watchpoints.exp: Ditto.
2126
2127 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2128 * gdb.cp/overload.exp: Ditto.
2129 * gdb.cp/virtfunc.exp: Ditto.
2130
2131 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2132
2133 * gdb.reverse/watch-precsave.exp:
2134 Replace gdb_test with gdb_test_no_output.
2135
2136 * gdb.threads/attach-into-signal.exp:
2137 Replace gdb_test with gdb_test_no_output.
2138 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2139 * gdb.threads/watchthreads.exp: Ditto.
2140 * gdb.threads/watchthreads2.exp: Ditto.
2141
2142 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2143 * gdb.trace/tfind.exp: Ditto.
2144
2145 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2146
2147 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2148 successful test if message is the empty string.
2149
2150 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2151
2152 * gdb.fortran/module.exp (stopped language detection): New test.
2153
2154 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2155
2156 Support DW_TAG_module as separate namespaces.
2157 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2158 gdb.fortran/library-module-lib.f90: New.
2159 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2160 (print i): Remove.
2161 (continue to breakpoint: i-is-1, print var_i value 1)
2162 (continue to breakpoint: i-is-2, print var_i value 2)
2163 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2164 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2165 (complete `modmany, complete `modmany`, complete `modmany`var)
2166 (show language, setting breakpoint at module): New tests.
2167 * gdb.fortran/module.f90 (module mod): Remove.
2168 (module mod1, module mod2, module modmany, subroutine sub1)
2169 (subroutine sub2, program module): New.
2170
2171 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2172
2173 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2174 (print value of rUC, print value of rI, print value of UI): ... here.
2175 * gdb.cp/anon-union.exp (pass): Rename to ...
2176 (print z 2): ... here.
2177
2178 2010-06-02 Michael Snyder <msnyder@vmware.com>
2179
2180 * gdb.trace/actions.exp: Use gdb_test_no_output.
2181 * gdb.trace/circ.exp: Ditto.
2182 * gdb.trace/packetlen.exp: Ditto.
2183 * gdb.trace/save-trace.exp: Ditto.
2184 * gdb.trace/tracecmd.exp: Ditto.
2185 * gdb.trace/tsv.exp: Ditto.
2186
2187 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2188 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2189 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2190 * gdb.threads/manythreads.exp: Ditto.
2191 * gdb.threads/print-threads.exp: Ditto.
2192 * gdb.threads/pthreads.exp: Ditto.
2193 * gdb.threads/schedlock.exp: Ditto.
2194 * gdb.threads/staticthreads.exp: Ditto.
2195 * gdb.threads/thread-specific.exp: Ditto.
2196 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2197 * gdb.threads/threadapply.exp: Ditto.
2198 * gdb.threads/watchthreads.exp: Ditto.
2199 * gdb.threads/watchthreads2.exp: Ditto.
2200
2201 * gdb.python/py-block.exp: Use gdb_test_no_output.
2202 * gdb.python/py-prettyprint.exp: Ditto.
2203 * gdb.python/py-template.exp: Ditto.
2204 * gdb.python/py-value.exp: Ditto.
2205
2206 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2207 * gdb.reverse/watch-reverse.exp: Ditto.
2208
2209 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2210 * gdb.server/ext-run.exp: Ditto.
2211
2212 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2213 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2214 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2215 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2216 * gdb.dwarf2/dw2-producer.exp: Ditto.
2217 * gdb.dwarf2/mac-fileno.exp: Ditto.
2218
2219 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2220 * gdb.gdb/selftest.exp: Ditto.
2221
2222 * gdb.multi/base.exp: Use gdb_test_no_output.
2223
2224 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2225
2226 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2229
2230 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2231
2232 * gdb.cp/class2.exp: Use gdb_test_no_output.
2233 * gdb.cp/classes.exp: Ditto.
2234 * gdb.cp/extern-c.exp: Ditto.
2235 * gdb.cp/inherit.exp: Ditto.
2236 * gdb.cp/maint.exp: Ditto.
2237 * gdb.cp/mb-inline.exp: Ditto.
2238 * gdb.cp/mb-templates.exp: Ditto.
2239 * gdb.cp/method2.exp: Ditto.
2240 * gdb.cp/misc.exp: Ditto.
2241 * gdb.cp/ovldbreak.exp: Ditto.
2242 * gdb.cp/punctuator.exp: Ditto.
2243 * gdb.cp/templates.exp: Ditto.
2244 * gdb.cp/virtbase.exp: Ditto.
2245
2246 * gdb.threads/attach-stopped.exp:
2247 Replace uses of send_gdb / gdb_expect.
2248 * gdb.threads/attachstop-mt.exp:
2249 Replace uses of send_gdb / gdb_expect.
2250 * gdb.threads/gcore-thread.exp:
2251 Replace uses of send_gdb / gdb_expect.
2252 * gdb.threads/hand-call-in-threads.exp:
2253 Replace uses of send_gdb / gdb_expect.
2254 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2255 * gdb.threads/print-threads.exp:
2256 Replace uses of send_gdb / gdb_expect.
2257 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2258 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2259 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2260
2261 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2262 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2263 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2264 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2265 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2266 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2267 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2268 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2269 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2270 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2271 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2272
2273 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2274
2275 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2276
2277 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2278
2279 * gdb.cp/koenig.exp: Added new test case.
2280 * gdb.cp/koenig.cc: Ditto.
2281
2282 2010-06-01 Michael Snyder <msnyder@vmware.com>
2283
2284 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2285 * gdb.base/arrayidx.exp: Ditto.
2286 * gdb.base/attach.exp: Ditto.
2287 * gdb.base/auxv.exp: Ditto.
2288 * gdb.base/bigcre.exp: Ditto.
2289 * gdb.base/break-always.exp: Ditto.
2290 * gdb.base/break-interp.exp: Ditto.
2291 * gdb.base/break.exp: Ditto.
2292 * gdb.base/breakpoint-shadow.exp: Ditto.
2293 * gdb.base/call-ar-st.exp: Ditto.
2294 * gdb.base/call-sc.exp: Ditto.
2295 * gdb.base/call-signal-resume.exp: Ditto.
2296 * gdb.base/callfuncs.exp: Ditto.
2297 * gdb.base/catch-syscall.exp: Ditto.
2298 * gdb.base/charset.exp: Ditto.
2299 * gdb.base/code-expr.exp: Ditto.
2300 * gdb.base/commands.exp: Ditto.
2301 * gdb.base/cond-expr.exp: Ditto.
2302 * gdb.base/condbreak.exp: Ditto.
2303 * gdb.base/cursal.exp: Ditto.
2304 * gdb.base/cvexpr.exp: Ditto.
2305 * gdb.base/default.exp: Ditto.
2306 * gdb.base/del.exp: Ditto.
2307 * gdb.base/detach.exp: Ditto.
2308 * gdb.base/display.exp: Ditto.
2309 * gdb.base/ena-dis-br.exp: Ditto.
2310 * gdb.base/eval-skip.exp: Ditto.
2311 * gdb.base/foll-fork.exp: Ditto.
2312 * gdb.base/foll-vfork.exp: Ditto.
2313 * gdb.base/frame-args.exp: Ditto.
2314 * gdb.base/funcargs.exp: Ditto.
2315 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2316 * gdb.base/gdbvars.exp: Ditto.
2317 * gdb.base/help.exp: Ditto.
2318 * gdb.base/ifelse.exp: Ditto.
2319 * gdb.base/included.exp: Ditto.
2320 * gdb.base/list.exp: Ditto.
2321 * gdb.base/macscp.exp: Ditto.
2322 * gdb.base/maint.exp: Ditto.
2323 * gdb.base/multi-fork.exp: Ditto.
2324 * gdb.base/overlays.exp: Ditto.
2325 * gdb.base/page.exp: Ditto.
2326 * gdb.base/pending.exp: Ditto.
2327 * gdb.base/pointers.exp: Ditto.
2328 * gdb.base/pr11022.exp: Ditto.
2329 * gdb.base/prelink.exp: Ditto.
2330 * gdb.base/printcmds.exp: Ditto.
2331 * gdb.base/psymtab.exp: Ditto.
2332 * gdb.base/randomize.exp: Ditto.
2333 * gdb.base/relational.exp: Ditto.
2334 * gdb.base/relocate.exp: Ditto.
2335 * gdb.base/remote.exp: Ditto.
2336 * gdb.base/sepdebug.exp: Ditto.
2337 * gdb.base/set-lang-auto.exp: Ditto.
2338 * gdb.base/setshow.exp: Ditto.
2339 * gdb.base/setvar.exp: Ditto.
2340 * gdb.base/signals.exp: Ditto.
2341 * gdb.base/signull.exp: Ditto.
2342 * gdb.base/sigstep.exp: Ditto.
2343 * gdb.base/sizeof.exp: Ditto.
2344 * gdb.base/solib-disc.exp: Ditto.
2345 * gdb.base/store.exp: Ditto.
2346 * gdb.base/structs.exp: Ditto.
2347 * gdb.base/structs2.exp: Ditto.
2348 * gdb.base/subst.exp: Ditto.
2349 * gdb.base/term.exp: Ditto.
2350 * gdb.base/trace-commands.exp: Ditto.
2351 * gdb.base/unwindonsignal.exp: Ditto.
2352 * gdb.base/valgrind-db-attach.exp: Ditto.
2353 * gdb.base/varargs.exp: Ditto.
2354 * gdb.base/watch-cond.exp: Ditto.
2355 * gdb.base/watch_thread_num.exp: Ditto.
2356 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2357 * gdb.base/watchpoint.exp: Ditto.
2358 * gdb.base/whatis-exp.exp: Ditto.
2359
2360 2010-06-01 Michael Snyder <msnyder@vmware.com>
2361
2362 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2363 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2364 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2365 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2366 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2367 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2368 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2369 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2370 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2371 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2372 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2373 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2374 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2375 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2376 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2377
2378 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2379
2380 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2381 trailing newline.
2382 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2383 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2384 (p *args): ... here and remove excessive trailing newline.
2385
2386 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2387
2388 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2389
2390 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2391
2392 Accept the new Linux kernel "t (tracing stop)" string.
2393 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2394 Update comment.
2395 (state_wait) <T (tracing stop)>: New.
2396 (main): Update the state_wait expect string.
2397
2398 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2399
2400 * limits.c, limits.exp: Delete files.
2401 * Makefile.in (clean mostlyclean): Adjust.
2402 * tracecmd.exp: Adjust.
2403
2404 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 * gdb.base/tui-layout.exp: New.
2407
2408 2010-05-28 Michael Snyder <msnyder@vmware.com>
2409
2410 * gdb.reverse/break-precsave.exp:
2411 Replace uses of send_gdb / gdb_expect.
2412 * gdb.reverse/break-reverse.exp:
2413 Replace uses of send_gdb / gdb_expect.
2414 * gdb.reverse/consecutive-precsave.exp:
2415 Replace uses of send_gdb / gdb_expect.
2416 * gdb.reverse/consecutive-reverse.exp:
2417 Replace uses of send_gdb / gdb_expect.
2418 * gdb.reverse/finish-precsave.exp:
2419 Replace uses of send_gdb / gdb_expect.
2420 * gdb.reverse/finish-reverse.exp:
2421 Replace uses of send_gdb / gdb_expect.
2422 * gdb.reverse/i386-precsave.exp:
2423 Replace uses of send_gdb / gdb_expect.
2424 * gdb.reverse/i386-reverse.exp:
2425 Replace uses of send_gdb / gdb_expect.
2426 * gdb.reverse/i386-sse-reverse.exp:
2427 Replace uses of send_gdb / gdb_expect.
2428 * gdb.reverse/i387-env-reverse.exp:
2429 Replace uses of send_gdb / gdb_expect.
2430 * gdb.reverse/i387-stack-reverse.exp:
2431 Replace uses of send_gdb / gdb_expect.
2432 * gdb.reverse/machinestate-precsave.exp:
2433 Replace uses of send_gdb / gdb_expect.
2434 * gdb.reverse/machinestate.exp:
2435 Replace uses of send_gdb / gdb_expect.
2436 * gdb.reverse/sigall-precsave.exp:
2437 Replace uses of send_gdb / gdb_expect.
2438 * gdb.reverse/sigall-reverse.exp:
2439 Replace uses of send_gdb / gdb_expect.
2440 * gdb.reverse/solib-precsave.exp:
2441 Replace uses of send_gdb / gdb_expect.
2442 * gdb.reverse/solib-reverse.exp:
2443 Replace uses of send_gdb / gdb_expect.
2444 * gdb.reverse/step-precsave.exp:
2445 Replace uses of send_gdb / gdb_expect.
2446 * gdb.reverse/step-reverse.exp:
2447 Replace uses of send_gdb / gdb_expect.
2448 * gdb.reverse/until-precsave.exp:
2449 Replace uses of send_gdb / gdb_expect.
2450 * gdb.reverse/until-reverse.exp:
2451 Replace uses of send_gdb / gdb_expect.
2452 * gdb.reverse/watch-precsave.exp:
2453 Replace uses of send_gdb / gdb_expect.
2454 * gdb.reverse/watch-reverse.exp:
2455 Replace uses of send_gdb / gdb_expect.
2456
2457 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2458
2459 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2460 excessive newline.
2461
2462 2010-05-27 Michael Snyder <msnyder@vmware.com>
2463
2464 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2465 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2466 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2467 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2468 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2469 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2470 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2471 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2472 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2473 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2474 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2475 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2476 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2477 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2478 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2479 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2480 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2481 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2482 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2483
2484 2010-05-26 Michael Snyder <msnyder@vmware.com>
2485
2486 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2487 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2488
2489 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2490 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2491 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2492
2493 * gdb.reverse/consecutive-reverse.exp:
2494 Replace uses of send_gdb / gdb_expect.
2495 * gdb.reverse/consecutive-precsave.exp:
2496 Replace uses of send_gdb / gdb_expect.
2497
2498 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2499 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2500 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2501 * gdb.mi/mi-ns-stale-regcache.exp:
2502 Replace uses of send_gdb / gdb_expect.
2503 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2504 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2505 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2506 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2507 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2508 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2509 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2510 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2511 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2512
2513 2010-05-26 Michael Snyder <msnyder@vmware.com>
2514
2515 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2516
2517 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2518
2519 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2520 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2521 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2522 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2523 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2524 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2525 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2526 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2527 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2528
2529 2010-05-25 Tom Tromey <tromey@redhat.com>
2530
2531 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2532
2533 2010-05-25 Tom Tromey <tromey@redhat.com>
2534
2535 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2536 argument order.
2537 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2538 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2539 order.
2540 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2541 order.
2542 * gdb.base/call-sc.exp (setup_kfails): Remove.
2543 (setup_compiler_kfails): Remove.
2544 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2545 argument order.
2546 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2547 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2548 (advancei): Fix setup_kfail argument order.
2549 * gdb.base/radix.exp: Fix setup_kfail argument order.
2550 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2551 order.
2552 * gdb.base/structs.exp (setup_kfails): Remove.
2553 (setup_compiler_kfails): Fix setup_kfail argument order.
2554 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2555 order.
2556 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2557 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2558 setup_kfail argument order.
2559 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2560
2561 2010-05-25 Tom Tromey <tromey@redhat.com>
2562
2563 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2564
2565 2010-05-25 Michael Snyder <msnyder@vmware.com>
2566
2567 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2568 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2569 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2570 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2571 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2572 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2573 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2574 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2575 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2576 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2577 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2578 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2579 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2580 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2581 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2582 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2583 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2584 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2585 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2586 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2587 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2588 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2589 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2590 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2591 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2592 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2593 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2594 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2595 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2596 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2597 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2598 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2599 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2600 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2601 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2602 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2603 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2604 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2605 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2606 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2607 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2608 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2609 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2610 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2611 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2612 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2613 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2614 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2615
2616 2010-05-25 Doug Evans <dje@google.com>
2617
2618 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2619 gdb.string_to_argv.
2620
2621 2010-05-21 Tom Tromey <tromey@redhat.com>
2622
2623 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2624 Call it.
2625 * gdb.dwarf2/pieces.S: Update.
2626 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2627
2628 2010-05-21 Tom Tromey <tromey@redhat.com>
2629
2630 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2631 Call it.
2632 * gdb.dwarf2/pieces.c (struct C): New.
2633 (f6): New function.
2634 * gdb.dwarf2/pieces.S: Replace.
2635
2636 2010-05-21 Tom Tromey <tromey@redhat.com>
2637
2638 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2639 Call it.
2640
2641 2010-05-21 Tom Tromey <tromey@redhat.com>
2642
2643 * gdb.dwarf2.pieces.exp: New file.
2644 * gdb.dwarf2.pieces.S: New file.
2645 * gdb.dwarf2.pieces.c: New file.
2646
2647 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2648 Joel Brobecker <brobecker@adacore.com>
2649
2650 * lib/gdb.exp (gdb_test_no_output): New function.
2651 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2652 when testing commands that should produce no output.
2653
2654 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2655
2656 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2657 parameter that we want to watch being a constant.
2658
2659 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2660
2661 * gdb.ada/cond_lang: New testcase.
2662
2663 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2664
2665 * lib/gdb.exp (banned_variables): New variable/constant.
2666 (gdb_init): Add write trace on variables listed in banned_variables.
2667 (gdb_finish): Remove write traces on variables listed in
2668 banned_variables.
2669
2670 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2671
2672 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2673 * gdb.cp/koenig.exp: Likewise.
2674
2675 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2676
2677 PR python/11482
2678
2679 * gdb.python/py-value.exp (test_value_hash): New function.
2680
2681 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2682
2683 PR exp/11530.
2684 * gdb.base/gdb11530.c: New file.
2685 * gdb.base/gdb11530.exp: New file.
2686
2687 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2690 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2691
2692 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2693
2694 * gdb.cp/koenig.exp: New test.
2695 * gdb.cp/koenig.cc: New test program.
2696
2697 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2698
2699 Remove the use of prms_id and bug_id throughout the testsuite.
2700
2701 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2702
2703 PR exp/11349.
2704 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2705 use a reference local variable.
2706
2707 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2708
2709 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2710 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2711 variable different_dir. Move debugfile into a full directory pathname
2712 under DIFFERENT_DIR.
2713 * lib/gdb.exp (separate_debug_filename): Remove.
2714 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2715 variable debug_dir and mkdir of it. Update function comments.
2716
2717 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2718
2719 PR gdb/11557
2720
2721 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2722 files.
2723
2724 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2725
2726 * gdb.python/py-param.exp: New File.
2727
2728 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2729
2730 * gdb.base/default.exp: Fix "set language" test.
2731
2732 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2733
2734 PR breakpoints/11531.
2735 * gdb.base/gdb11531.c: New file.
2736 * gdb.base/gdb11531.exp: New file.
2737
2738 2010-04-26 Tom Tromey <tromey@redhat.com>
2739
2740 * gdb.base/completion.exp: Add tests for completion and deprecated
2741 commands.
2742
2743 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2744
2745 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2746 (print /x char_array): Escape curly brackets.
2747
2748 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2749
2750 Fix deadlock on looped list of loaded shared objects.
2751 * gdb.base/solib-corrupted.exp: New.
2752
2753 2010-04-23 Doug Evans <dje@google.com>
2754
2755 * gdb.python/py-section-script.c: New file.
2756 * gdb.python/py-section-script.exp: New file.
2757 * gdb.python/py-section-script.py: New file.
2758
2759 2010-04-20 Chris Moller <cmoller@redhat.com>
2760
2761 PR 10179
2762
2763 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2764 * gdb.base/pr10179-a.c:
2765 * gdb.base/pr10179-b.c:
2766 * gdb.base/pr10179.exp: New files.
2767
2768 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2769
2770 Fix crashes on dangling display expressions.
2771 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2772 is SEP.
2773 (lib_flags): Remove the "debug" keyword.
2774 (libsepdebug): New variable for iterating new loop.
2775 (save_pf_prefix): New variable wrapping the loop.
2776 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2777 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2778
2779 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2780
2781 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2782
2783 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2784
2785 PR stabs/11479.
2786 * gdb.stabs/gdb11479.exp: New file.
2787 * gdb.stabs/gdb11479.c: New file.
2788
2789 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2790
2791 * gdb.base/charset.c (Strin16, String32): New variables.
2792 * gdb.base/charset.exp (gdb_test): Test correct display
2793 of 16 or 32 bit strings.
2794
2795 2010-04-21 Chris Moller <cmoller@redhat.com>
2796
2797 PR 9167
2798 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2799 * gdb.cp/pr9167.cc: New file.
2800 * gdb.cp/pr9167.exp: New file.
2801
2802
2803 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2804
2805 PR pascal/11492.
2806 * gdb.pascal/gdb11492.pas: New file.
2807 * gdb.pascal/gdb11492.exp: New file.
2808
2809 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2810
2811 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2812
2813 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2814
2815 * gdb.ada/dyn_loc: New testcase.
2816
2817 2010-04-20 Chris Moller <cmoller@redhat.com>
2818
2819 PR 10867
2820
2821 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2822 * gdb.cp/pr10687.cc: New file.
2823 * gdb.cp/pr10687.exp: New file.
2824
2825
2826 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2827 Sergio Durigan Junior <sergiodj@redhat.com>
2828
2829 * gdb.fortran/logical.exp: New testcase.
2830 * gdb.fortran/logical.f90: New file.
2831
2832 2010-04-19 Doug Evans <dje@google.com>
2833
2834 * gdb.base/help.exp (help source): Update expected output.
2835
2836 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2837
2838 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2839 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2840 gdb_exit and return.
2841 (executable): New variable.
2842 (binfile): Use it.
2843
2844 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2845
2846 PR breakpoints/8554.
2847
2848 * gdb.trace/save-trace.exp: Adjust.
2849
2850 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2851
2852 PR corefiles/11511
2853 * gdb.arch/system-gcore.exp: New.
2854 * gdb.arch/gcore.c: Likewise.
2855
2856 2010-04-15 Doug Evans <dje@google.com>
2857
2858 * gdb.python/py-progspace.c: New file.
2859 * gdb.python/py-progspace.exp: New file.
2860
2861 * gdb.base/source.exp: Add tests for "source -s".
2862
2863 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2864
2865 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2866 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2867 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2868 * gdb.python/py-mi.exp: New test for to_string returning None.
2869
2870 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2871
2872 * gdb.python/py-breakpoint.c: Make result global.
2873
2874 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2875
2876 Fix non-GNU make compatibility.
2877 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2878
2879 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2880
2881 * gdb.python/py-breakpoint.exp: New File.
2882 * gdb.python/py-breakpoint.C: Ditto.
2883
2884 2010-04-08 Stan Shebs <stan@codesourcery.com>
2885
2886 * gdb.trace/actions.exp: Clear default-collect.
2887 * gdb.trace/save-trace.exp: Clear default-collect.
2888
2889 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2890
2891 * gdb.python/py-value: Add null string variable.
2892 (test_lazy_string): Test zero length, NULL address lazy
2893 strings.
2894
2895 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2896
2897 * gdb.arch/i386-avx.c: New.
2898 * gdb.arch/i386-avx.exp: Likewise.
2899
2900 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2901
2902 2010-04-06 Doug Evans <dje@google.com>
2903
2904 * gdb.base/source-test.gdb: New file.
2905 * gdb.base/source.exp: Test source -v.
2906
2907 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2908
2909 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2910
2911 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2912
2913 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2914 within one line, unless it is followed by a double quote.
2915 * gdb.stabs/hppa.sed: Idem.
2916 * gdb.stabs/weird.def: Add char and String constants
2917 * gdb.stabs/weird.exp: Check for correct parsing of
2918 char and string constants.
2919 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2920 in .stabs to .stabx substitution.
2921
2922 2010-04-05 Stan Shebs <stan@codesourcery.com>
2923
2924 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2925 constant global.
2926 * gdb.trace/tfile.exp: Try to print them.
2927
2928 2010-04-04 Stan Shebs <stan@codesourcery.com>
2929
2930 * gdb.base/completion.exp: Update for new "info watchpoints".
2931 * gdb.base/default.exp: Ditto.
2932 * gdb.base/help.exp: Ditto.
2933 * gdb.base/watchpoint.exp: Ditto.
2934 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2935
2936 2010-04-04 Stan Shebs <stan@codesourcery.com>
2937
2938 * gdb.trace/tfile.exp: Sharpen tfind test.
2939
2940 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 * gdb.base/break-entry.exp: New.
2943
2944 2010-04-02 Hui Zhu <teawater@gmail.com>
2945 Michael Snyder <msnyder@vmware.com>
2946
2947 * gdb.reverse/i386-sse-reverse.exp: New file.
2948 * gdb.reverse/i386-sse-reverse.c: New file.
2949
2950 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2951
2952 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2953
2954 2010-04-01 Stan Shebs <stan@codesourcery.com>
2955
2956 * gdb.trace/actions.exp: Tweak expected output.
2957 * gdb.trace/while-stepping.exp: Tweak expected output.
2958
2959 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2962
2963 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2964
2965 * gdb.base/commands.exp: Adjust.
2966 * gdb.cp/extern-c.exp: Adjust.
2967
2968 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2969
2970 * gdb.trace/collection.c (local_test_func): Define a local struct,
2971 and instanciate it.
2972
2973 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2974
2975 * gdb.trace/collection.exp (gdb_collect_args_test)
2976 (gdb_collect_argarray_test): XFAIL the tests that assume the
2977 argarray argument's elements are collected.
2978
2979 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2982 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2983
2984 2010-03-31 Stan Shebs <stan@codesourcery.com>
2985
2986 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2987 and tracepoint conditionals.
2988 (gdb_verify_tracepoints): Delete unused return.
2989
2990 2010-03-26 Keith Seitz <keiths@redhat.com>
2991
2992 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2993 appear in the output before main.
2994 Remove KFAIL for gdb/2215 aka bz 9320.
2995
2996 2010-03-30 Doug Evans <dje@google.com>
2997
2998 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2999 by dejagnu.
3000 * gdb.arch/amd64-dword.exp: Ditto.
3001
3002 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3003 match.
3004 (break printf): Ditto.
3005
3006 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3007
3008 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3009 gcc < 4.4.
3010 * gdb.cp/shadow.exp: Ditto.
3011
3012 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3013
3014 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3015 "tstart" is silent.
3016
3017 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3018
3019 * gdb.trace/collection.exp (executable): New.
3020 (binfile): Use it.
3021 (fpreg, spreg, pcreg): New.
3022 (test_register): Use gdb_test_multiple. Pass /x to print.
3023 (prepare_for_trace_test): New.
3024 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3025 (gdb_collect_args_test, gdb_collect_argstruct_test)
3026 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3027 prepare_for_trace_test.
3028 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3029 fpreg, spreg and pcreg.
3030 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3031 prepare_for_trace_test.
3032 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3033 try to detect tracing support here. Don't set breakpoints at
3034 `begin' or `end' here.
3035 <global scope>: Use clean_restart. Run to main before checking
3036 for tracing support. Check for for tracing support here.
3037
3038 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3039
3040 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3041 " as $displacement" to "seen displacement message".
3042
3043 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3044
3045 * gdb.trace/while-dyn.exp (executable): New variable.
3046 (binfile): Use it.
3047 (test_while_stepping): New function. Move most tests here. Call
3048 it once for each of the while-stepping, stepping and ws aliases.
3049
3050 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3051
3052 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3053 that do not provide the tagless_struct type name at all.
3054 (test_print_anon_union): Do not check value of uninitialized
3055 union member. Do not use cp_test_ptype_class, so we can accept
3056 "long" as well as "long int".
3057
3058 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3059
3060 * gdb.trace/tfile.c (tohex, bin2hex): New.
3061 (write_error_trace_file): Hexify error description.
3062
3063 2010-03-25 Stan Shebs <stan@codesourcery.com>
3064
3065 * gdb.trace/tfile.c: Generate an additional trace file, improve
3066 portability.
3067 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3068 files in a better way.
3069
3070 2010-03-25 Keith Seitz <keiths@redhat.com>
3071
3072 * gdb.java/jprint.exp: XFAIL printing of static class members
3073 because of GCC debuginfo problem.
3074
3075 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3076
3077 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3078
3079 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3080
3081 * gdb.base/completion.exp: Allow long instead of long int.
3082 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3083 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3084 variable p.
3085 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3086 * gdb.base/pointers.exp: Allow long instead of long int.
3087 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3088 * gdb.base/step-line.exp: Allow a directory before the source file name.
3089
3090 2010-03-24 Tom Tromey <tromey@redhat.com>
3091
3092 PR breakpoints/9352:
3093 * gdb.base/default.exp: Update.
3094 * gdb.base/commands.exp: Update.
3095 * gdb.cp/extern-c.exp: Test setting commands on multiple
3096 breakpoints at once.
3097
3098 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3099
3100 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3101 if gdb,nosignals.
3102 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3103 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3104 exited".
3105
3106 2010-03-24 Stan Shebs <stan@codesourcery.com>
3107
3108 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3109
3110 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3111
3112 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3113 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3114 argument. Handle "short" and "long".
3115 (Top level): Pass overprototyped output for old_fptr and xptr.
3116
3117 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3118
3119 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3120 format strings and add casts to avoid compiler warnings.
3121
3122 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3123
3124 * lib/trace-support.exp (gdb_trace_setactions):
3125 Don't expect whitespace after ">" prompt.
3126 * gdb.trace/actions.exp: Adjust for output changes.
3127 * gdb.trace/while-stepping.exp: Likewise.
3128
3129 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3130
3131 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3132 and r157645).
3133
3134 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3137 New.
3138
3139 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3140
3141 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3142 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3143
3144 2010-03-19 Stan Shebs <stan@codesourcery.com>
3145
3146 * gdb.trace/ax.exp: New file.
3147
3148 2010-03-19 Doug Evans <dje@google.com>
3149
3150 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3151 output from gcc.
3152
3153 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3154 named /usr/sbin/prelink<foo>.
3155
3156 2010-03-18 Stan Shebs <stan@codesourcery.com>
3157
3158 * gdb.trace/circ.exp: Test circular-trace-buffer.
3159 * gdb.trace/tfile.exp: Update tstatus test.
3160
3161 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3162
3163 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3164 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3165
3166 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3167
3168 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3169
3170 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3171
3172 * gdb.base/default.exp: Adjust the expected output of the finish
3173 and until commands when the inferior is not being run.
3174
3175 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3176
3177 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3178 * gdb.cp/nsusing.exp: Ditto.
3179
3180 2010-03-15 Tom Tromey <tromey@redhat.com>
3181
3182 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3183 * gdb.cp/userdef.cc (operator==): New function.
3184 (main): New locals mem1, mem2.
3185
3186 2010-03-15 Jie Zhang <jie@codesourcery.com>
3187
3188 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3189 Declare and use new loadtimeout variable.
3190
3191 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3192
3193 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3194 Use gdb_load later.
3195
3196 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3197
3198 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3199 literal. Add missing endlines to prints to stderr.
3200
3201 2010-03-12 Tom Tromey <tromey@redhat.com>
3202
3203 PR c++/9708:
3204 * gdb.cp/m-static.exp: Add regression test.
3205 * gdb.cp/m-static.cc (method): New method.
3206 (main): Call it.
3207
3208 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3209
3210 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3211 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3212
3213 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3214
3215 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3216
3217 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3218
3219 * lib/gdb.exp (skip_stl_tests): New.
3220 (gdb_compile): Symbian needs -ldl.
3221 (shlib_target_file): New.
3222 (shlib_symbol_file): New.
3223 (gdb_load_shlibs): Use shlib_target_file.
3224 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3225 * gdb.cp/exception.exp: Use skip_stl_tests.
3226 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3227 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3228 * gdb.cp/mb-templates.exp: Ditto.
3229 * gdb.base/commands.exp: Relax regexes.
3230 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3231 shlib_target_file and shlib_symbol_file.
3232 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3233 sections.
3234 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3235 * gdb.base/solib-disc.exp: Use
3236 shlib_target_file and shlib_symbol_file.
3237 * gdb.base/unload.exp: Don't skip on symbian. Use
3238 shlib_target_file and shlib_symbol_file.
3239 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3240
3241 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3242
3243 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3244 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3245 Issue a tfind end before looking for a tracepoint frame.
3246 * gdb.trace/tfind.exp: Adjust tstatus output.
3247 Adjust disassembly output.
3248 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3249
3250 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3251
3252 * gdb.base/break-interp.exp: Create new displacement parameter value
3253 for the test_ld calls.
3254 (reach): New parameter displacement, verify its content. New push of
3255 pf_prefix "reach-$func:". Import global expect_out.
3256 (test_core): New parameter displacement, verify its content. New push
3257 of pf_prefix "core:". New command "set verbose on". Import global
3258 expect_out.
3259 (test_attach): New parameter displacement, verify its content. New
3260 push of pf_prefix "attach:". New command "set verbose on". Import
3261 global expect_out.
3262 (test_ld): New parameter displacement, pass it to the reach, test_core
3263 and test_attach calls and verify its content in the "ld.so exit" test.
3264 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3265 (prelink): Update expected text, use gdb_test.
3266
3267 2010-03-10 Doug Evans <dje@google.com>
3268
3269 * gdb.base/checkpoint.exp: Fix comment.
3270 Lengthen timeout while doing >600 checkpoints test.
3271 Rename duplicate "kill all one" test to keep test names unique.
3272
3273 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3274
3275 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3276
3277 2010-03-08 Keith Seitz <keiths@redhat.com>
3278
3279 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3280 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3281 (dm_type_long): New function.
3282 (dm_type_unsigned_short): New function.
3283 (dm_type_unsigned_long): New function.
3284 (myint): New typedef.
3285 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3286 long, unsigned shor and long, operator char*, and typedef.
3287 (test_lookup_operator_functions): Add operator char* test.
3288 (test_paddr_operator_functions): Likewise.
3289 (test_paddr_overloaded_functions): Use probe values for
3290 short, long, and unsigned short and long.
3291 (test_paddr_hairy_functions): If the demangler probe detected
3292 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3293 demangler.
3294 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3295 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3296 and "print null_pmf".
3297 Add test "ptype a.*pmf".
3298 * gdb.cp/overload.exp: Allow optional "int" to appear with
3299 "short" and "long".
3300 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3301 long expect value for men_overload1arg.
3302 Allow "int" to appear with "short" and "long".
3303 When testing "info break", add argument for main (void).
3304 Also allow "int" to appear with "short" and "long".
3305 Ditto with "unsigned" and "long long".
3306 * gdb.java/jmain.exp: Do not enclose methods names in single
3307 quotes.
3308 * gdb.java/jmisc.exp: Likewise.
3309 * gdb.java/jprint.exp: Likewise.
3310 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3311
3312 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3313 * gdb.cp/exception.exp (backtrace after first throw)
3314 (backtrace after second throw): Allow a namespace before __cxa_throw.
3315 (backtrace after first catch, backtrace after second catch): Allow
3316 a namespace before __cxa_begin_catch.
3317
3318 * gdb.cp/cpexprs.exp: New file.
3319 * gdb.cp/cpexprs.cc: New file.
3320
3321 From Daniel Jacobowitz <dan@codesourcery.com>
3322 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3323 to use string_to_regexp.
3324 (ctor, dtor): New functions. Use them to match constructor
3325 and destructor function types.
3326 (Top level): Use runto_main.
3327
3328 2010-03-05 Tom Tromey <tromey@redhat.com>
3329
3330 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3331 gdb.target_charset.
3332 (pp_ns.to_string): Likewise.
3333
3334 2010-03-04 Keith Seitz <keiths@redhat.com>
3335
3336 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3337 can be quoted. Test that both the filename and function/line
3338 portions can be quoted at the same time.
3339
3340 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3341
3342 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3343
3344 2010-03-03 Doug Evans <dje@google.com>
3345
3346 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3347 libc contains libpthread.
3348
3349 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3350 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3351 of gdb_compile. Add another pattern to match android backtrace.
3352
3353 2010-03-03 Tom Tromey <tromey@redhat.com>
3354
3355 PR gdb/11345:
3356 * gdb.base/printcmds.exp (test_printf): Add test.
3357
3358 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 * gdb.arch/amd64-byte.exp: New.
3361 * gdb.arch/amd64-dword.exp: Likewise.
3362 * gdb.arch/amd64-pseudo.c: Likewise.
3363 * gdb.arch/amd64-word.exp: Likewise.
3364 * gdb.arch/i386-byte.exp: Likewise.
3365 * gdb.arch/i386-pseudo.c: Likewise.
3366 * gdb.arch/i386-word.exp: Likewise.
3367
3368 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3369
3370 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3371 types. Add structreg, bitfields, and flags registers.
3372 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3373 registers.
3374
3375 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3376
3377 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3378 (load_description): Set architecture if defined.
3379
3380 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3381
3382 * gdb.python/py-frame.exp: Add read_var block tests.
3383 * gdb.python/py-frame.c (block): New function.
3384
3385 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3386 Daniel Jacobowitz <dan@codesourcery.com>
3387
3388 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3389
3390 2010-02-25 David S. Miller <davem@davemloft.net>
3391
3392 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3393 fix logic for setting all_syscalls_numbers.
3394
3395 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3396
3397 * Makefile.in: Add py-block and py-symbol.
3398 * gdb.python/py-symbol.exp: New File.
3399 * gdb.python/py-symtab.exp: New File.
3400 * gdb.python/py-block.exp: New File.
3401 * gdb.python/py-symbol.c: New File.
3402 * gdb.python/py-block.c: New File.
3403
3404 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3405
3406 PR python/11314
3407 * lib/gdb.exp (skip_python_tests): New function.
3408 * gdb.python/py-cmd.exp: Use skip_python_tests.
3409 * gdb.python/py-frame.exp: Likewise.
3410 * gdb.python/py-function.exp: Likewise.
3411 * gdb.python/py-prettyprint.exp: Likewise.
3412 * gdb.python/py-template.exp: Likewise.
3413 * gdb.python/py-type.exp: Likewise.
3414 * gdb.python/py-value.exp: Likewise.
3415
3416 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3417
3418 PR9605
3419
3420 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3421
3422 2010-02-19 Tom Tromey <tromey@redhat.com>
3423
3424 PR c++/8693, PR c++/9496:
3425 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3426 regression tests.
3427
3428 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3429
3430 Fix compatibility with m68k as.
3431 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3432 Use only /* comments */.
3433
3434 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3435
3436 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3437 * configure: Regenerate.
3438
3439 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3440
3441 * gdb.python/py-type.exp: Check for Python support.
3442
3443 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3444
3445 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3446 `regsub' syntax available.
3447
3448 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3449
3450 * gdb.base/shmain.c (main): Remove printf call.
3451 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3452 * gdb.base/unload.c (main): Make format of fprintf a string
3453 literal. Add missing endlines to prints to stderr.
3454 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3455
3456 2010-02-17 Tom Tromey <tromey@redhat.com>
3457
3458 * gdb.java/jprint.java (jprint.props): New field.
3459 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3460
3461 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3462
3463 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3464 available.
3465
3466 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3467
3468 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3469 creation to support remote host testing.
3470
3471 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3472
3473 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3474 Recognize "command not found".
3475
3476 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3477
3478 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3479 single-stepping.
3480
3481 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3482
3483 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3484 if arguments are not supported.
3485
3486 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3487
3488 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3489 be const or non-const.
3490
3491 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3492
3493 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3494 mi_send_resuming_command to send -exec-continue.
3495
3496 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3497
3498 * gdb.base/list.exp (test_list_filename_and_function): Add test
3499 with single quotes.
3500 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3501 matching.
3502 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3503 Add KFAIL'd tests for PR gdb/11289.
3504
3505 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3506
3507 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3508
3509 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3510
3511 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3512 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3513 a temporary directory.
3514
3515 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3516
3517 * gdb.base/charset.exp: Use a single regular expression to match
3518 show host-charset and show target-charset output.
3519
3520 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3521
3522 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3523 "Illegal process-id" expect string more exact.
3524 (attach to digits-starting nonsense is prohibited): New.
3525
3526 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3527
3528 * gdb.base/prelink.exp (set verbose on): New.
3529
3530 2010-02-12 Tomas Holmberg <th@virtutech.com>
3531
3532 * mi-reverse.exp: New file. Test for reverse option to the
3533 following MI commands: exec-continue, exec-finish, exec-next,
3534 exec-step, exec-next-instruction, exec-step-instruction.
3535
3536 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3537
3538 * gdb.ada/ptype_tagged_param: New testcase.
3539
3540 2010-02-08 Tom Tromey <tromey@redhat.com>
3541
3542 PR c++/8017:
3543 * gdb.cp/overload.exp: Add tests.
3544 * gdb.cp/overload.cc (struct K): New.
3545 (namespace N): New.
3546 (main): Call new functions.
3547 (K::staticoverload): Define.
3548
3549 2010-02-08 Chris Moller <moller@mollerware.com>
3550
3551 PR gdb/10728
3552 * gdb.cp/pr10728-x.h: New file.
3553 * gdb.cp/pr10728-x.cc: New file.
3554 * gdb.cp/pr10728-y.cc: New file.
3555 * gdb.cp/pr10728.exp: New file.
3556 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3557
3558 2010-02-08 Chris Moller <moller@mollerware.com>
3559
3560 PR gdb/9067
3561 * gdb.cp/pr9067.exp: New
3562 * gdb.cp/pr9067.cc: New
3563 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3564
3565 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3566
3567 * lib/gdb.exp (gdb_test_timeout): New global variable.
3568 Set it to timeout if not already set.
3569 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3570
3571 2010-02-05 Doug Evans <dje@google.com>
3572
3573 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3574 user.
3575
3576 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3577
3578 PR c++/7935:
3579 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3580
3581 2010-02-04 Tom Tromey <tromey@redhat.com>
3582
3583 * gdb.cp/virtbase.exp: Make test case names unique.
3584
3585 2010-02-02 Tom Tromey <tromey@redhat.com>
3586
3587 * gdb.cp/virtbase.exp: Add regression tests.
3588 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3589 (main): Instantiate RHC.
3590
3591 2010-02-02 Tom Tromey <tromey@redhat.com>
3592
3593 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3594 type-printing change.
3595
3596 2010-02-02 Tom Tromey <tromey@redhat.com>
3597
3598 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3599 * gdb.cp/virtbase.cc: New file.
3600 * gdb.cp/virtbase.exp: New file.
3601 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3602
3603 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3604
3605 PR libc/11214:
3606 * gdb.threads/current-lwp-dead.c: Include features.h.
3607 (HAS_NOMMU): New.
3608 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3609
3610 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3611
3612 * gdb.base/symbol-without-target_section.exp,
3613 gdb.base/symbol-without-target_section.c: New.
3614
3615 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3616
3617 * gdb.base/bigcore.exp: Reset increased timeout.
3618 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3619
3620 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3621
3622 * gdb.base/gcore.exp (capture_command_output): Use
3623 gdb_test_multiple.
3624
3625 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3626
3627 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3628 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3629 (Top level): Call it.
3630
3631 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3632
3633 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3634
3635 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3636
3637 * gdb.base/call-strs.exp, gdb.base/default.exp,
3638 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3639 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3640 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3641 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3642 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3643 * gdb.base/ending-run.exp: Correct restore of timeout.
3644 * gdb.base/page.exp: Remove unnecessary timeout setting.
3645
3646 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3647
3648 * gdb.ada/rec_return: New testcase.
3649
3650 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3651
3652 * gdb.ada/call_pn: New testcase.
3653
3654 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3655
3656 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3657 (Top level): Use it to resume.
3658 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3659 the Thumb mode displaced stepping error as unsupported.
3660
3661 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3662
3663 * gdb.cp/nsusing.exp: Added more tests.
3664 * gdb.cp/nsrecurs.exp: Ditto.
3665 * gdb.cp/nsusing.cc: Added test functions.
3666 * gdb.cp/nsrecurs.cc: Ditto.
3667
3668 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3669
3670 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3671 absolute directory pathnames in gdb.sum file.
3672
3673 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3674
3675 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3676 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3677
3678 2010-01-26 Tom Tromey <tromey@redhat.com>
3679
3680 PR exp/7643:
3681 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3682 setup_kfail.
3683
3684 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3685
3686 * gdb.cp/nsrecurs.exp: New test.
3687 * gdb.cp/nsrecurs.cc: New test program.
3688 * gdb.cp/nsstress.exp: New test.
3689 * gdb.cp/nsstress.cc: New test program.
3690 * gdb.cp/nsdecl.exp: New test.
3691 * gdb.cp/nsdecl.cc: New test program.
3692
3693 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3694
3695 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3696 imported into file scope.
3697 Marked test as xfail.
3698 * gdb.cp/namespace-using.cc (marker5): New function.
3699 * gdb.cp/shadow.exp: New test.
3700 * gdb.cp/shadow.cc: New test program.
3701 * gdb.cp/nsimport.exp: New test.
3702 * gdb.cp/nsimport.cc: New test program.
3703
3704 2010-01-25 Tom Tromey <tromey@redhat.com>
3705
3706 PR gdb/11049:
3707 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3708 with "set print null-stop on".
3709
3710 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3711
3712 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3713 Adjust it for DISASSEMBLY_OMIT_FNAME.
3714
3715 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3716
3717 PR symtab/11199:
3718 * gdb.dwarf2/member-ptr-forwardref.exp,
3719 gdb.dwarf2/member-ptr-forwardref.S: New.
3720
3721 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3722
3723 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3724 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3725 thread1_tid_mutex. Remove gdbstop_mutex handling.
3726 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3727 thread2_tid_mutex. Remove gdbstop_mutex handling.
3728 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3729 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3730 pthread_cond_wait conditionalizations by while loops.
3731
3732 2010-01-20 Tom Tromey <tromey@redhat.com>
3733
3734 PR backtrace/10770:
3735 * gdb.dwarf2/pr10770.exp: New file.
3736 * gdb.dwarf2/pr10770.c: New file.
3737 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3738
3739 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3740
3741 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3742 that target was removed, and the test always runs native anyway.
3743
3744 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3745
3746 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3747 gdb.base/watchpoint-cond-gone-stripped.c: New.
3748
3749 2010-01-19 Tom Tromey <tromey@redhat.com>
3750
3751 PR c++/8000:
3752 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3753 existing tests.
3754 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3755 (main): Use AAA::SomeEnum.
3756
3757 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3760 (test_ignore_count): Declare line_callme_body global.
3761 (run to breakpoint with ignore count): Use line_callme_body.
3762 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3763 (set line_main_hello, set line_main_return): Reindent.
3764 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3765 New.
3766 (continue to callee4): Use line_callee4_body.
3767 (check *stopped from CLI command): Use line_callee4_next.
3768 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3769 (set line_main_hello, set line_main_return): Reindent.
3770 (set line_callee4_head, set line_callee4_body): New.
3771 (continue to callee4): Use line_callee4_body.
3772
3773 2010-01-18 Tom Tromey <tromey@redhat.com>
3774
3775 PR c++/9680:
3776 * gdb.cp/casts.cc: Add new classes and variables.
3777 * gdb.cp/casts.exp: Test new operators.
3778
3779 2010-01-18 Tom Tromey <tromey@redhat.com>
3780 Thiago Jung Bauermann <bauerman@br.ibm.com>
3781
3782 * gdb.python/source2.py: New file.
3783 * gdb.python/source1: New file.
3784 * gdb.python/python.exp: Test "source" command.
3785
3786 2010-01-15 Stan Shebs <stan@codesourcery.com>
3787
3788 * gdb.trace/tfile.c: New file.
3789 * gdb.trace/tfile.exp: New file.
3790
3791 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3792
3793 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3794
3795 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3796
3797 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3798
3799 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3802 (libfunc): New parameter action. Implement also selectable "sleep".
3803 * gdb.base/break-interp-main.c: Include assert.h.
3804 (libfunc): New parameter action.
3805 (main): New parameters argc and argv. Assert argc. Pass argv.
3806 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3807 (test_attach): New proc.
3808 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3809 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3810
3811 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * gdb.base/break-interp.exp (test_core): New proc.
3814 (test_ld): Call it.
3815
3816 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3817
3818 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3819 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3820 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3821 and gdb_compile_shlib. Use new -Wl compiler options.
3822 (dl bt, main bt): New tests.
3823
3824 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3825
3826 Support PIEs with no symfile_objfile.
3827 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3828 (test_ld): New parameter trynosym.
3829 (test_ld <$trynosym>): New block.
3830
3831 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 * gdb.base/break-interp.exp: New file.
3834
3835 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3836
3837 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3838 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3839 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3840 test.
3841 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3842 * gdb.python/py-mi.exp: Add lazy string test.
3843
3844 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3845
3846 * lib/mi-support.exp (mi_check_thread_states): Handle
3847 core number in thread listing.
3848
3849 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3850
3851 * gdb.base/maint.exp: Adjust the expected output for the
3852 "maint print type" test. Use gdb_test_multiple instead of
3853 gdb_sent/gdb_expect.
3854
3855 2010-01-11 Doug Evans <dje@google.com>
3856
3857 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3858 from gdbserver_download. All callers updated.
3859
3860 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3861
3862 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3863
3864 Implement binary numbers parsing.
3865 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3866 (test_integer_literals_rejected): New binary tests.
3867
3868 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3869
3870 * gdb.cell/configure: Regenerate.
3871
3872 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3873
3874 * gdb.base/corefile.exp: Move the core finding block out and call it as
3875 core_find, new variable $corefile, replace corefile by $corefile and
3876 [file tail $corefile] for usage vs. test names resp.
3877 * lib/gdb.exp (core_find): Move it as a new function here. New
3878 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3879 $destcore. Return "" on error.
3880
3881 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 Workaround PR binutils/10802.
3884 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3885 (twice).
3886
3887 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3888
3889 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3890
3891 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3892
3893 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3894 call, to avoid interruption.
3895
3896 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3897
3898 * gdb.stabs/weird.def (args93): New.
3899
3900 2010-01-07 Doug Evans <dje@google.com>
3901
3902 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3903
3904 2010-01-07 Tom Tromey <tromey@redhat.com>
3905
3906 * gdb.base/source.exp: Use correct line number.
3907
3908 2010-01-05 Stan Shebs <stan@codesourcery.com>
3909
3910 * gdb.trace/tracecmd.exp: Test ftrace.
3911
3912 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3913
3914 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3915
3916 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3917
3918 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3919 "uint_for_mi_testing".
3920
3921 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3922
3923 Test indented comment in file being sourced.
3924 * gdb.base/commands.exp: Test indented comment in file being sourced.
3925
3926 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3927
3928 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3929 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3930 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3931 notice.
3932
3933 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3934
3935 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3936 notice.
3937
3938 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3939
3940 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3941 missing $after_stopped and comma (,) expectation.
3942
3943 2009-12-31 Stan Shebs <stan@codesourcery.com>
3944
3945 * gdb.trace/actions.exp: Test teval action.
3946
3947 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3948
3949 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3950 (top level): Call test_watchpoint_in_big_blob.
3951 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3952 watchpoints.
3953 (func3): Write to buf.
3954
3955 2009-12-29 Stan Shebs <stan@codesourcery.com>
3956
3957 * gdb.trace/actions.exp: Test default-collect.
3958
3959 2009-12-28 Stan Shebs <stan@codesourcery.com>
3960
3961 * gdb.trace/tsv.exp: New file.
3962 * gdb.base/completion.exp: Update ambiguous info output.
3963
3964 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3965
3966 * gdb.base/find.c (main): Reference search buffers.
3967 * gdb.base/included.c (main): Reference integer.
3968 * gdb.base/ptype.c (charfoo): Declare.
3969 (intfoo): Call charfoo.
3970 * gdb.base/scope0.c (useitp): New function.
3971 (usestatics): Use useitp.
3972 (useit): Add a type for val.
3973 * gdb.base/scope1.c (useit1): Take a pointer argument.
3974 (usestatics1): Update calls to useit1.
3975 * gdb.cp/call-c.cc: Declare foo.
3976 (main): Call foo.
3977 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3978 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3979 (main): Call C::ensureRefs and ensureOtherRefs.
3980 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3981 variables.
3982 (ensureOtherRefs): New function.
3983 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3984 * gdb.cp/templates.cc (main): Call t5i.value.
3985
3986 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3987
3988 Fix compatibility with G++-4.5.
3989 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3990 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3991 (uncaught return): Remove.
3992
3993 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3994 Phil Muldoon <pmuldoon@redhat.com>
3995
3996 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3997 (bp_location13, bp_location14, bp_location17, bp_location18)
3998 (marker3_proto, marker4_proto): New variables.
3999 (breakpoint info): Update output.
4000 (run until breakpoint at marker3, run until breakpoint at marker4): New
4001 tests.
4002
4003 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4004
4005 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4006 Replace the printf call of Y by provided "y-set-1" label. New block
4007 for the second shared library.
4008 * gdb.base/unload.exp: Compile also the second library, call
4009 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4010 (single pending breakpoint info): Rename to ...
4011 (pending breakpoint info before run): ... this extended test.
4012 (libfile2, libname2, libsrcfile2, libsrc2)
4013 (lib_sl2): New variables.
4014 (exec_opts): Set also SHLIB_NAME2.
4015 (pending breakpoint info on first run at shrfunc1)
4016 (pending breakpoint info on second run at shrfunc1)
4017 (pending breakpoint info on second run at shrfunc2)
4018 (print y from libfile, print y from libfile2): New tests.
4019 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4020 * gdb.base/unloadshr2.c: New.
4021
4022 2009-12-22 Hui Zhu <teawater@gmail.com>
4023
4024 * gdb.reverse/sigall-reverse.exp: Adjust.
4025
4026 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4027
4028 PR gdb/10884
4029
4030 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4031 (main): Call do_bitfield_tests.
4032 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4033
4034 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4035
4036 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4037 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4038 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4039 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4040 gdb.modula2/unbounded1.c: Update copyright header.
4041
4042 2009-12-10 Chris Moller <moller@mollerware.com>
4043
4044 PR gdb/9399
4045 * gdb.cp/virtfunc2.exp: New tests
4046 * gdb.cp/virtfunc2.cc: New tests
4047 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4048
4049 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4050
4051 * gdb.reverse/i387-env-reverse.c: New file.
4052 * gdb.reverse/i387-env-reverse.exp: New file.
4053 * gdb.reverse/i387-stack-reverse.c: New file.
4054 * gdb.reverse/i387-stack-reverse.exp: New file.
4055
4056 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4057
4058 * gdb.python/py-type.exp (test_range): New test.
4059
4060 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4061
4062 PR python/10805
4063
4064 * gdb.python/py-type.exp: New file.
4065 * gdb.python/py-type.c: New file.
4066 * Makefile.in: Add py-type.
4067
4068 2009-12-03 Tom Tromey <tromey@redhat.com>
4069
4070 * gdb.python/py-value.exp (test_parse_and_eval): New
4071 function.
4072
4073 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4074
4075 PR gdb/11022
4076
4077 * gdb.base/pr11022.exp: New test.
4078 * gdb.base/pr11022.c: New test.
4079
4080 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 Fix spurious false FAILs.
4083 * gdb.base/structs.c (chartest): New.
4084 (main): Fill-in chartest.
4085 * gdb.base/structs.exp (anychar_re, first): New.
4086 (start_structs_test): Import global anychar_re and first.
4087 New gdb_test call "set print elements 300; ${testfile}"
4088 (start_structs_test <$first>): New block.
4089 (any): Import global anychar_re. New variable ac. Use ${ac}.
4090
4091 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4092
4093 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4094
4095 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4096
4097 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4098 Force $srcfile file.
4099 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4100
4101 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4102
4103 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4104 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4105 * gdb.threads/watchthreads-reorder.exp: Likewise.
4106
4107 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4108
4109 PR gdb/8704
4110
4111 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4112 "if", and "thread". Correct matching in the previous test.
4113
4114 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4115
4116 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4117
4118 2009-11-23 Michael Snyder <msnyder@vmware.com>
4119
4120 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4121 * gdb.reverse-watch-precsave.exp: Ditto.
4122
4123 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4124
4125 * gdb.asm/asm-source.exp: Adjust.
4126 * gdb.base/help.exp: Adjust.
4127
4128 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4129
4130 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4131 (do_syscall_tests_without_xml): Set data-directory to
4132 /the/path/to/nowhere.
4133
4134 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4135
4136 * gdb.threads/local-watch-wrong-thread.c,
4137 gdb.threads/local-watch-wrong-thread.exp: New files.
4138
4139 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4140
4141 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4142 assume new `regsub' syntax available.
4143
4144 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4145
4146 * gdb.base/watchpoint-hw-hit-once.exp,
4147 gdb.base/watchpoint-hw-hit-once.c: New.
4148
4149 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4150
4151 * gdb.threads/watchthreads-reorder.exp,
4152 gdb.threads/watchthreads-reorder.c: New.
4153
4154 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4155
4156 * gdb.xml/tdesc-regs.exp: Use for m68k.
4157
4158 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4159
4160 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4161
4162 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4163
4164 * lib/gdb.exp (current_target_name): New procedure.
4165 (gdb_wrapper_target): New variable.
4166 (gdb_wrapper_init): Set gdb_wrapper_target.
4167 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4168 wrapper.
4169
4170 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4171
4172 * gdb.base/remote.exp: Delete the slowest load test.
4173 Do not load with fixed packet sizes.
4174
4175 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4176
4177 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4178
4179 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4180
4181 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4182 srcfile when setting a breakpoint.
4183
4184 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4185
4186 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4187 macros.
4188
4189 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4190
4191 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4192 to be in memory.
4193 * gdb.base/display.c (force_mem): New.
4194 (do_loops): Use it. Add breakpoint comments.
4195 (do_vars): Add a breakpoint comment.
4196 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4197 line numbers.
4198
4199 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4200
4201 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4202 instead of a bare "run".
4203
4204 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4205
4206 * gdb.python/py-prettyprint.exp: Adjust.
4207
4208 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4209
4210 * lib/cell.exp (skip_cell_tests): Clean up test files before
4211 returning.
4212
4213 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4214
4215 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4216 and the breakpoint menu. Do not call perror if a prompt is seen.
4217 Consume the following GDB prompt.
4218 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4219 * gdb.cp/namespace.exp: Use gdb_test.
4220 * gdb.cp/templates.exp: Use gdb_test.
4221 (test_template_breakpoints): Use gdb_test_multiple.
4222
4223 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4224
4225 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4226 (marker4): Reference values.
4227
4228 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4229
4230 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4231 is missing.
4232
4233 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4234
4235 * gdb.base/break.c (need_malloc): New.
4236 * gdb.base/constvars.c (main): Reference crass and crisp.
4237 * gdb.base/gdb1821.c (main): Reference bar.
4238 * gdb.cp/gdb1355.cc (main): Reference s1.
4239 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4240 (main): Call them.
4241 * gdb.cp/hang2.cc (dummy2): Define.
4242 * gdb.cp/hang3.cc (dummy3): Define.
4243 * gdb.cp/m-data.cc (main): Reference shadow.
4244
4245 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4246 Nathan Froyd <froydnj@codesourcery.com>
4247
4248 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4249 remote host.
4250
4251 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4252
4253 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4254 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4255 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4256 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4257 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4258 * gdb.dwarf2/dw2-producer.exp: Likewise.
4259 * gdb.dwarf2/mac-fileno.exp: Likewise.
4260 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4261 py-prettyprint.py to the remote host.
4262 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4263
4264 2009-11-11 Keith Seitz <keiths@redhat.com>
4265
4266 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4267 use it instead of "Foo".
4268 * gdb.cp/classes.exp (do_tests): Add a test to access
4269 a method through a typedef'd class name.
4270
4271 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4272
4273 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4274 exponents.
4275 * gdb.base/pointers.exp: Likewise.
4276 * gdb.cp/ref-types.exp: Likewise.
4277
4278 2009-11-11 Keith Seitz <keiths@redhat.com>
4279
4280 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4281 new[] and delete[].
4282 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4283 "void".
4284 (probe_demangler): Remove all single-quoting of
4285 method and variable names.
4286 (info_func_regexp): Remove the word "void" from any
4287 occurrence of "(void)".
4288 (print_addr_2): Remove all single-quoting of
4289 method names.
4290 (print_addr_2_kfail): Likewise.
4291 (print_addr): Single-quote C function names before
4292 passing to print_addr_2.
4293 (test_paddr_operator_functions): Remove single-quoting
4294 for method names.
4295 Add tests for operator new[] and operator delete[].
4296
4297 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4298
4299 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4300
4301 2009-11-09 Keith Seitz <keiths@redhat.com>
4302
4303 * gdb.cp/overload.exp: Add tests for resolving overloaded
4304 methods in expression parsing/evaluation.
4305
4306 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4307
4308 * lib/gdb.exp (default_gdb_version): Use --version instead of
4309 --command.
4310
4311 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4312
4313 * lib/gdb.exp (gdb_compile_test): New.
4314 (skip_ada_tests, skip_java_tests): New.
4315 (gdb_compile): Use gdb_compile_test for f77.
4316 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4317 * lib/java.exp (compile_java_from_source): Remove runtests check,
4318 use gdb_compile_test to record result.
4319 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4320 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4321 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4322 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4323 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4324 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4325 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4326 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4327 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4328 adjust gdb_compile invocations.
4329
4330 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4331
4332 * Makefile.in (abs_builddir): New.
4333 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4334 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4335 `$(abs_builddir)/site.exp'.
4336
4337 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4338
4339 * config/m68k-emc.exp, lib/emc-support.exp,
4340 gdb.trace/gdb_c_test.c: Delete.
4341 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4342 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4343 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4344 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4345 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4346 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4347 casing for m68k-*-elf.
4348
4349 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4350
4351 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4352 * gdb.arch/i386-prologue.exp: Likewise.
4353 * gdb.arch/i386-unwind.exp: Likewise.
4354
4355 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4356
4357 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4358
4359 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4360
4361 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4362
4363 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4364
4365 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4366
4367 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4368
4369 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4370
4371 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4372
4373 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4374 * gdb.base/sepdebug2.c: New file.
4375
4376 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4377
4378 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4379 the modified warnings for catch syscall. Verify if GDB was compiled
4380 with support for lib expat, and choose which tests to run depending
4381 on this.
4382
4383 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4384
4385 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4386 that composite commands are parsed OK. And also test
4387 that breakpoint commands do work.
4388
4389 2009-10-23 Michael Snyder <msnyder@vmware.com>
4390
4391 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4392 to allow for new disassembly style.
4393
4394 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4395
4396 * gdb.asm/asm-source.exp: Adjust.
4397
4398 2009-10-22 Michael Snyder <msnyder@vmware.com>
4399
4400 * gdb.reverse/break-precsave.exp: New test.
4401 * gdb.reverse/consecutive-precsave.exp: Ditto.
4402 * gdb.reverse/finish-precsave.exp: Ditto.
4403 * gdb.reverse/i386-precsave.exp: Ditto.
4404 * gdb.reverse/machinestate-precsave.exp: Ditto.
4405 * gdb.reverse/sigall-precsave.exp: Ditto.
4406 * gdb.reverse/solilb-precsave.exp: Ditto.
4407 * gdb.reverse/step-precsave.exp: Ditto.
4408 * gdb.reverse/until-precsave.exp: Ditto.
4409 * gdb.reverse/watch-precsave.exp: Ditto.
4410
4411 2009-10-22 Michael Snyder <msnyder@vmware.com>
4412
4413 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4414 for gdb_expect. Adjust one test's expect strings for the new
4415 format of disassemble.
4416 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4417 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4418 gdb_test_multiple.
4419 * gdb.reverse/step-reverse.exp: Delete 'return'.
4420 * gdb.reverse/until-reverse.exp: Delete blank lines.
4421 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4422
4423 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4424
4425 * gdb.base/consecutive.exp: Adjust.
4426 * gdb.base/display.exp: Likewise.
4427 * gdb.base/pc-fp.exp: Likewise.
4428 * gdb.base/sigbpt.exp: Likewise.
4429
4430 2009-10-19 Michael Snyder <msnyder@vmware.com>
4431
4432 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4433 * gdb.reverse/finish-reverse.c: Ditto.
4434 * gdb.reverse/sigall-reverse.c: Ditto.
4435 * gdb.reverse/solib-reverse.c: Ditto.
4436 * gdb.reverse/step-reverse.c: Ditto.
4437 * gdb.reverse/watch-reverse.c: Ditto.
4438
4439 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4440 Stan Shebs <stan@codesourcery.com>
4441
4442 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4443 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4444 "Executing new program".
4445 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4446 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4447 left listed after having been killed.
4448 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4449 * gdb.base/maint.exp: Adjust test.
4450
4451 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4452 * gdb.multi/Makefile.in: New.
4453 * gdb.multi/base.exp: New.
4454 * gdb.multi/goodbye.c: New.
4455 * gdb.multi/hangout.c: New.
4456 * gdb.multi/hello.c: New.
4457 * gdb.multi/bkpt-multi-exec.c: New.
4458 * gdb.multi/bkpt-multi-exec.exp: New.
4459 * gdb.multi/crashme.c: New.
4460
4461 2009-10-13 Tristan Gingold <gingold@adacore.com>
4462
4463 * gdb.base/sepdebug.exp: Check debug info are found.
4464
4465 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4466
4467 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4468 bits.
4469
4470 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4471
4472 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4473
4474 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4475
4476 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4477 of the comments.
4478
4479 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4480
4481 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4482 * gdb.base/annota3.exp: Idem.
4483 * gdb.base/maint.exp: Idem.
4484
4485 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4486
4487 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4488 to default.
4489
4490 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4491
4492 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4493 mingw and cygwin targets.
4494
4495 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4496 Pedro Alves <pedro@codesourcery.com>
4497
4498 * lib/gdb.exp (gdb_compile): Avoid adding
4499 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4500
4501 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4502
4503 * gdb.base/shr1.c: Use %p in format string.
4504 * gdb.base/unload.c: Avoid warning in fprintf.
4505 * gdb.base/watchpoint-solib.c: Idem.
4506
4507 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4508
4509 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4510 long type.
4511 (test_unlink): Correct printf string.
4512 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4513 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4514
4515 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4516
4517 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4518 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4519 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4520
4521 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4522
4523 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4524 * gdb.objc/nondebug.exp: Likewise.
4525
4526 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4527
4528 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4529 target_info setting.
4530
4531 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4532 that detect new threads during "info threads".
4533
4534 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4535
4536 * gdb.threads/manythreads.c (main): Increase thread stack size
4537 to 2*PTHREAD_STACK_MIN.
4538 * gdb.threads/multi-create.c (main): Likewise.
4539 (create_function): Likewise.
4540
4541 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4542
4543 * gdb.base/dump.exp: Pass difference of pointer types instead
4544 of integer types as offset to restore in intarr3.srec case.
4545
4546 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4547
4548 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4549
4550 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4551
4552 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4553
4554 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4555
4556 New test for two watchpoints, with disabling of
4557 the first inserted.
4558 * testsuite/gdb.base/watchpoints.c: New file.
4559 * testsuite/gdb.base/watchpoints.exp: New file.
4560
4561 2009-09-25 Tom Tromey <tromey@redhat.com>
4562
4563 * gdb.base/charset.exp: Test utf-16 strings with Python.
4564
4565 2009-09-25 Tom Tromey <tromey@redhat.com>
4566
4567 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4568 UCS-4.
4569 * gdb.base/charset.c (utf_32_string): Rename.
4570 (init_utf32): Rename.
4571 (main): Update.
4572
4573 2009-09-22 Tom Tromey <tromey@redhat.com>
4574
4575 * gdb.python/py-function.exp: Add regression tests.
4576
4577 2009-09-21 Keith Seitz <keiths@redhat.com>
4578
4579 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4580 with invalid operator.
4581
4582 2009-09-21 Keith Seitz <keiths@redhat.com>
4583
4584 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4585 and destructor using typedef name of class.
4586 * gdb.cp/classes.cc (class Base1): Add a destructor.
4587 (base1): New typedef.
4588 (use_methods): Instanitate an object of type base1.
4589 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4590 (do_tests): Call test_template_typedef.
4591 * gdb.cp/templates.cc (Baz::~Baz): New method.
4592 (intBazOne): New typedef.
4593 (main): Instantiate intBazOne.
4594
4595 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4596
4597 PR python/10633
4598
4599 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4600 Function.
4601 (run_lang_tests): Add print elements test.
4602
4603 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4604
4605 * gdb.python/py-value.exp (test_subscript_regression): New
4606 function. Test for invalid subscripts.
4607 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4608 (ptr_ref): New function.
4609
4610 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4611
4612 * gdb.base/default.exp: Fix "show convenience".
4613
4614 2009-09-15 Tom Tromey <tromey@redhat.com>
4615
4616 * lib/mi-support.exp (mi_create_varobj): Update.
4617 (mi_create_floating_varobj): Likewise.
4618 (mi_create_dynamic_varobj): New proc.
4619 (mi_varobj_update): Update.
4620 (mi_varobj_update_with_type_change): Likewise.
4621 (mi_varobj_update_kv_helper): New proc.
4622 (mi_varobj_update_dynamic_helper): Rewrite.
4623 (mi_varobj_update_dynamic): New proc.
4624 (mi_list_varobj_children): Update.
4625 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4626 * gdb.python/python-prettyprint.py (pp_outer): New class.
4627 (pp_nullstr): Likewise.
4628 (lookup_function): Register new printers.
4629 * gdb.python/python-prettyprint.c (struct substruct): New type.
4630 (struct outerstruct): Likewise.
4631 (substruct_test): New function.
4632 (struct nullstr): New type.
4633 (string_1, string_2): New globals.
4634 (main): Add new tests.
4635 * gdb.python/python-mi.exp: Added regression tests.
4636 * gdb.mi/mi2-var-display.exp: Update.
4637 * gdb.mi/mi2-var-cmd.exp: Update.
4638 * gdb.mi/mi2-var-child.exp: Update.
4639 * gdb.mi/mi2-var-block.exp: Update.
4640 * gdb.mi/mi-var-invalidate.exp: Update.
4641 * gdb.mi/mi-var-display.exp: Update.
4642 * gdb.mi/mi-var-cmd.exp: Update.
4643 * gdb.mi/mi-var-child.exp: Update.
4644 * gdb.mi/mi-var-block.exp: Update.
4645 * gdb.mi/mi-break.exp: Update.
4646 * gdb.mi/gdb701.exp: Update.
4647
4648 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4649
4650 * Makefile.in: Inclusion of catch-syscall object.
4651 * gdb.base/catch-syscall.c: New file.
4652 * gdb.base/catch-syscall.exp: New file.
4653
4654 2009-09-12 Michael Snyder <msnyder@vmware.com>
4655
4656 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4657 that can support reverse debuggnig.
4658
4659 2009-09-11 Tom Tromey <tromey@redhat.com>
4660
4661 * gdb.dwarf2/valop.S: New file.
4662 * gdb.dwarf2/valop.exp: New file.
4663
4664 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4665
4666 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4667
4668 2009-09-10 Doug Evans <dje@google.com>
4669
4670 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4671 Add $gdb_prompt to second breakpoint regexp.
4672
4673 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4674
4675 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4676 names, add missing ones.
4677 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4678 * gdb.python/py-frame.c: Rename from python-frame.c.
4679 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4680 testfile name.
4681 * gdb.python/py-function.exp: Rename from python-function.exp.
4682 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4683 testfile name.
4684 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4685 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4686 Adjust testfile name.
4687 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4688 * gdb.python/py-template.cc: Rename from python-template.cc.
4689 * gdb.python/py-template.exp: Rename from python-template.exp.
4690 Adjust testfile name.
4691 * gdb.python/py-value.c: Rename from python-value.c.
4692 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4693 testfile name.
4694
4695 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4696
4697 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4698 $bpt2address.
4699 (Second breakpoint address is valid on ia64)
4700 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4701
4702 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4703
4704 * gdb.base/ending-run.exp: Restrict regular expression matching
4705 line number to require closing brace following.
4706
4707 2009-09-03 Doug Evans <dje@google.com>
4708
4709 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4710
4711 2009-09-02 Tom Tromey <tromey@redhat.com>
4712
4713 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4714
4715 2009-09-02 Tom Tromey <tromey@redhat.com>
4716
4717 * gdb.dwarf2/callframecfa.exp: New file.
4718 * gdb.dwarf2/callframecfa.S: New file.
4719
4720 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4721
4722 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4723 gdb.base/solib-overlap-main.c: New.
4724
4725 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4726
4727 PR gdb/10565
4728
4729 * gdb.base/bitfields.c (struct container, container): New.
4730 (main): Initialize it and call break5.
4731 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4732
4733 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4734
4735 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4736 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4737
4738 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4739
4740 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4741
4742 2009-08-26 Michael Snyder <msnyder@vmware.com>
4743
4744 * gdb.base/i386-reverse.c: New file.
4745 * gdb.base/i386-reverse.exp: New file.
4746 * gdb.base/Makefile.in: Add new files to be removed.
4747
4748 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4749
4750 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4751 environment-pwd for remote host.
4752 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4753
4754 2009-08-24 Keith Seitz <keiths@redhat.com>
4755
4756 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4757 Add two new C++ completer tests which limit the output to a
4758 given class.
4759
4760 2009-08-24 Michael Snyder <msnyder@vmware.com>
4761
4762 * gdb.base/del.exp: Fix typo in comment.
4763 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4764
4765 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4766
4767 * configure: Regenerate.
4768 * gdb.hp/configure: Likewise.
4769 * gdb.hp/gdb.aCC/configure: Likewise.
4770 * gdb.hp/gdb.base-hp/configure: Likewise.
4771 * gdb.hp/gdb.compat/configure: Likewise.
4772 * gdb.hp/gdb.defects/configure: Likewise.
4773 * gdb.hp/gdb.objdbg/configure: Likewise.
4774 * gdb.stabs/configure: Likewise.
4775
4776 2009-08-19 Doug Evans <dje@google.com>
4777
4778 * gdb.base/gdbvars.c: New file.
4779 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4780
4781 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4782
4783 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4784 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4785
4786 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4787
4788 * gdb.base/default.exp: Adjust "set language test": it's now an
4789 enum command. Larger help string moved to "help set language".
4790 * gdb.base/help.exp: Adjust "help set language" expected output,
4791 now lists all known languages.
4792
4793 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4794
4795 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4796 all frame arguments.
4797 * gdb.arch/altivec-regs.exp: Likewise.
4798
4799 2009-08-07 Tom Tromey <tromey@redhat.com>
4800
4801 * gdb.base/setshow.exp: Add tests for changes to set language, set
4802 check range, and set check type.
4803
4804 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4805
4806 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4807 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4808 Call it.
4809
4810 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4811
4812 * configure.ac: Run gdb.cell tests when appropriate.
4813 * configure: Regenerate.
4814 * lib/cell.exp: New file.
4815 * gdb.cell: New directory.
4816 * gdb.cell/configure.ac: New file.
4817 * gdb.cell/configure: New file.
4818 * gdb.cell/Makefile.in: New file.
4819 * gdb.cell/arch.exp: New file.
4820 * gdb.cell/break.c: New file.
4821 * gdb.cell/break.exp: New file.
4822 * gdb.cell/break-spu.c: New file.
4823 * gdb.cell/bt.c: New file.
4824 * gdb.cell/bt2-spu.c: New file.
4825 * gdb.cell/bt-spu.c: New file.
4826 * gdb.cell/bt.exp: New file.
4827 * gdb.cell/coremaker.c: New file.
4828 * gdb.cell/coremaker-spu.c: New file.
4829 * gdb.cell/core.exp: New file.
4830 * gdb.cell/gcore.exp: New file.
4831 * gdb.cell/data.c: New file.
4832 * gdb.cell/data.exp: New file.
4833 * gdb.cell/data-spu.c: New file.
4834 * gdb.cell/ea-cache.exp: New file.
4835 * gdb.cell/ea-cache.c: New file.
4836 * gdb.cell/ea-cache-spu.c: New file.
4837 * gdb.cell/ea-standalone.c: New file.
4838 * gdb.cell/ea-standalone.exp: New file.
4839 * gdb.cell/ea-test.c: New file.
4840 * gdb.cell/ea-test.exp: New file.
4841 * gdb.cell/f-regs.exp: New file.
4842 * gdb.cell/mem-access.c: New file.
4843 * gdb.cell/mem-access.exp: New file.
4844 * gdb.cell/mem-access-spu.c: New file.
4845 * gdb.cell/ptype.exp: New file.
4846 * gdb.cell/registers.exp: New file.
4847 * gdb.cell/size.c: New file.
4848 * gdb.cell/sizeof.exp: New file.
4849 * gdb.cell/size-spu.c: New file.
4850 * gdb.cell/solib.exp: New file.
4851 * gdb.cell/solib-symbol.exp: New file.
4852
4853 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4854
4855 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4856
4857 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4858
4859 * gdb.base/float.exp: Handle VFP registers.
4860
4861 2009-07-14 Michael Snyder <msnyder@vmware.com>
4862
4863 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4864 to bring gdb to the beginning of the calling line.
4865
4866 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4867 confusing the i386 epilogue unwinder.
4868
4869 2009-07-14 Stan Shebs <stan@codesourcery.com>
4870
4871 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4872
4873 2009-07-14 Michael Snyder <msnyder@vmware.com>
4874
4875 * gdb.reverse/step-reverse.exp (stepi into function call):
4876 Call instruction may not be first instruction in the line.
4877 (reverse stepi from a function call): Used wrong line number.
4878
4879 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4880
4881 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4882
4883 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 Fix gdb.base/macscp.exp when using custom inputrc.
4886 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4887 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4888 env(TERM) set.
4889 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4890 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4891
4892 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4893
4894 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4895 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4896 Change the compilation target to match the testcase name.
4897 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4898 testcase name.
4899 * a2-run.exp: Use for setup prepare_for_testing. Change the
4900 compilation target to match the testcase name.
4901 * gdb.base/commands.exp: Likewise.
4902 * gdb.base/finish.exp: Likewise.
4903 * gdb.base/float.exp: Likewise.
4904 * gdb.base/info-target.exp: Likewise.
4905 * gdb.base/relational.exp: Likewise.
4906 * gdb.base/term.exp: Likewise.
4907 * gdb.base/until.exp: Likewise.
4908 * gdb.base/volatile.exp: Likewise.
4909 * gdb.base/whatis-exp.exp: Likewise.
4910
4911 2009-07-11 Hui Zhu <teawater@gmail.com>
4912
4913 * gdb.base/help.exp (disassemble): Update expected help text.
4914
4915 2009-07-09 Tom Tromey <tromey@redhat.com>
4916
4917 * lib/gdb.exp: Handle TRANSCRIPT.
4918 (remote_spawn, remote_close, send_gdb): New procs.
4919
4920 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4921
4922 * gdb.python/python-prettyprint.c: Add counted null string
4923 structure.
4924 * gdb.python/python-prettyprint.exp: Print null string. Test for
4925 embedded nulls.
4926 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4927 * gdb.python/python-value.exp (test_value_in_inferior): Add
4928 variable length string fetch tests.
4929 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4930
4931 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4934
4935 2009-07-07 Tom Tromey <tromey@redhat.com>
4936
4937 * gdb.base/call-rt-st.exp: Update for change to escape output.
4938 * gdb.base/callfuncs.exp: Likewise.
4939 * gdb.base/charset.exp: Likewise.
4940 * gdb.base/constvars.exp: Likewise.
4941 * gdb.base/long_long.exp: Likewise.
4942 * gdb.base/pointers.exp: Likewise.
4943 * gdb.base/printcmds.exp: Likewise.
4944 * gdb.base/setvar.exp: Likewise.
4945 * gdb.base/store.exp: Likewise.
4946 * gdb.cp/ref-types.exp: Likewise.
4947 * gdb.mi/mi-var-child.exp: Likewise.
4948 * gdb.mi/mi-var-display.exp: Likewise.
4949 * gdb.mi/mi2-var-display.exp: Likewise.
4950 * gdb.base/charset.exp: Test octal escape sequence length.
4951 Update for change to escape output.
4952
4953 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4954
4955 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4956
4957 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4958
4959 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4960
4961 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4962
4963 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4964 gdbserver increasing $portnum if "Can't bind address" has been seen.
4965
4966 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4967
4968 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4969 mingw32ce.
4970
4971 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4972
4973 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4974 VFP format.
4975
4976 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4977
4978 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4979 linux. Adjust to use "inferior", "info inferiors", "detach
4980 inferior" and "kill inferior" instead of "restart", "info fork",
4981 "detach fork" and "delete fork".
4982 * gdb.base/ending-run.exp: Spell out "info".
4983 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4984 the "kill" command.
4985
4986 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4987
4988 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4989 change to prefix TLS offset in hex with 0x.
4990
4991 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4992
4993 * gdb.base/default.exp: Update test case for "x" changes.
4994
4995 2009-07-01 Tristan Gingold <gingold@adacore.com>
4996
4997 * gdb.base/bigcore.exp: Make darwin untested.
4998
4999 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5000
5001 * gdb.base/completion.exp (directory completion): Create the directory.
5002 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5003 escapeuniquesub.
5004 (directory completion 2): Expect now ${escapeuniquesub}.
5005 (Glob remaining of directory test): Remove one excessive newline.
5006 Expect the real output.
5007
5008 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 Fix `make check//%' target after `make check' has been ran.
5011 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5012 a mkdir call.
5013 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5014 (%/.dir): Remove.
5015
5016 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5017
5018 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5019 the expected result record.
5020
5021 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5022
5023 Remove racy FAILs relying just on the timeouts.
5024 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5025 (annotation_level 2): Remove racy FAILs.
5026
5027 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5028
5029 gdb/10275
5030 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5031
5032 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5033
5034 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5035
5036 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5037
5038 * gdb.mi/mi-stack.exp: Testing symbolic options
5039 to -stack-list-locals and -stack-list-arguments.
5040
5041 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5044
5045 2009-06-29 Tom Tromey <tromey@redhat.com>
5046
5047 * dg-extract-results.sh: New file.
5048 * Makefile.in (FORCE_PARALLEL): New variable.
5049 (CHECK_TARGET): New conditional variable.
5050 (check): Use CHECK_TARGET.
5051 (DO_RUNTEST): New variable.
5052 (check-single): New target.
5053 (TEST_DIRS): New variable.
5054 (TEST_TARGETS): Likewise.
5055 (check-parallel): New target.
5056 (check-gdb.%): New pattern.
5057 (BASE1_FILES): New variable.
5058 (BASE2_FILES): Likewise.
5059 (check-gdb.base%): New pattern.
5060 (%/.dir): New pattern.
5061 * configure: Rebuild.
5062 * aclocal.m4 (AM_CONDITIONAL): New defun.
5063 * configure.ac: Check whether user is using GNU make.
5064 (GMAKE): New conditional.
5065
5066 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5067
5068 * gdb.cp/namespace-nested-import.cc: New test.
5069 * gdb.cp/namespace-nested-import.exp: New test.
5070
5071 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5072
5073 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5074 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5075 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5076 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5077 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5078 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5079 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5080 gdb.opt/inline-markers.c: New files.
5081 * lib/gdb.exp (skip_inline_frame_tests): New function.
5082 (skip_inline_var_tests): New function.
5083
5084 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5085
5086 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5087 backtrace.
5088
5089 2009-06-27 Michael Snyder <msnyder@vmware.com>
5090
5091 * gdb.reverse: New directory.
5092 * gdb.reverse/break-reverse.c: New test.
5093 * gdb.reverse/break-reverse.exp: New test.
5094 * gdb.reverse/consecutive-reverse.c: New test.
5095 * gdb.reverse/consecutive-reverse.exp: New test.
5096 * gdb.reverse/finish-reverse.c: New test.
5097 * gdb.reverse/finish-reverse.exp: New test.
5098 * gdb.reverse/machinestate.c: New test.
5099 * gdb.reverse/ms1.c: New test.
5100 * gdb.reverse/machinestate.exp: New test.
5101 * gdb.reverse/Makefile.in: New file.
5102 * gdb.reverse/shr2.c: New test.
5103 * gdb.reverse/solib-reverse.c: New test.
5104 * gdb.reverse/solib-reverse.exp: New test.
5105 * gdb.reverse/step-reverse.c: New test.
5106 * gdb.reverse/step-reverse.exp: New test.
5107 * gdb.reverse/until-reverse.c: New test.
5108 * gdb.reverse/ur1.c: New test.
5109 * gdb.reverse/until-reverse.exp: New test.
5110 * gdb.reverse/watch-reverse.c: New test.
5111 * gdb.reverse/watch-reverse.exp: New test.
5112 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5113 * configure: Regenerate.
5114
5115 2009-06-26 Doug Evans <dje@google.com>
5116
5117 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5118
5119 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5120
5121 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5122 windows problem for 'file delete $binfile'.
5123
5124 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5125
5126 * gdb.cp/namespace-using.exp: New test.
5127 * gdb.cp/namespace-using.cc: New test.
5128
5129 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5130
5131 * gdb.ada/variant_record_packed_array: New testcase.
5132
5133 2009-06-23 Tom Tromey <tromey@redhat.com>
5134
5135 * gdb.base/charset.exp (test_combination): Regression test.
5136 * gdb.base/charset.c (my_wchar_t): New typedef.
5137 (myvar): New global.
5138 (main): Set myvar.
5139
5140 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5141
5142 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5143 target.
5144
5145 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5146
5147 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5148
5149 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5150
5151 * gdb.mi/gdb680.exp: Update test for error message.
5152
5153 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5154
5155 * gdb.base/annota1.exp: Allow multiple occurrences of the
5156 frames-invalid annotation.
5157 * gdb.cp/annota2.exp: Likewise.
5158
5159 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5160
5161 * gdb.cp/gdb2495.cc: New file.
5162 * gdb.cp/gdb2495.exp: New file.
5163
5164 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5165
5166 Report error on GDB crash during runto.
5167 * lib/gdb.exp (runto <eof>): New.
5168
5169 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5170
5171 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5172 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5173 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5174 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5175 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5176 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5177 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5178 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5179 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5180 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5181 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5182 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5183 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5184 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5185 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5186 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5187 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5188 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5189 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5190 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5191 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5192 gdb.trace/passcount.exp, gdb.trace/report.exp,
5193 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5194 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5195 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5196 executable.
5197
5198 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5199
5200 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5201 defined before referencing it.
5202
5203 2009-06-03 Doug Evans <dje@google.com>
5204
5205 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5206 * gdb.arch/i386-see.c: Ditto.
5207
5208 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5209
5210 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5211 (check_macro): Return 1 if undefined.
5212 If first test fails, check if macro debug information is available,
5213 and report unsupported test if no macro information is found.
5214
5215 2009-05-29 Doug Evans <dje@google.com>
5216
5217 * gdb.threads/hand-call-in-threads.exp: New.
5218 * gdb.threads/hand-call-in-threads.c: New.
5219
5220 2009-05-29 Michael Snyder <msnyder@vmware.com>
5221
5222 * gdb.base/break-always.exp: Change "1" to "on".
5223 Add confirmation check.
5224
5225 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5226
5227 * gdb.threads/threxit-hop-specific.c: New.
5228 * gdb.threads/threxit-hop-specific.exp: New.
5229 * gdb.threads/thread-execl.c: New.
5230 * gdb.threads/thread-execl.exp: New.
5231
5232 2009-05-27 Tom Tromey <tromey@redhat.com>
5233 Thiago Jung Bauermann <bauerman@br.ibm.com>
5234
5235 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5236 (mi_child_regexp): Likewise.
5237 (mi_list_varobj_children_range): Likewise.
5238 (mi_get_features): Likewise.
5239 (mi_list_varobj_children): Rewrite.
5240 * gdb.python/python-mi.exp: New file.
5241
5242 2009-05-27 Tom Tromey <tromey@redhat.com>
5243 Thiago Jung Bauermann <bauerman@br.ibm.com>
5244 Phil Muldoon <pmuldoon@redhat.com>
5245 Paul Pluzhnikov <ppluzhnikov@google.com>
5246
5247 * gdb.python/python-prettyprint.exp: New file.
5248 * gdb.python/python-prettyprint.c: New file.
5249 * gdb.python/python-prettyprint.py: New file.
5250 * gdb.base/display.exp: print/r is now valid.
5251
5252 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5253 Tom Tromey <tromey@redhat.com>
5254 Pedro Alves <pedro@codesourcery.com>
5255 Paul Pluzhnikov <ppluzhnikov@google.com>
5256
5257 * gdb.python/python-template.exp: New file.
5258 * gdb.python/python-template.cc: New file.
5259 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5260 tests.
5261 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5262 Call it.
5263 (test_value_after_death): New proc.
5264 * gdb.python/python-value.c (PTR): New typedef.
5265 (main): New variable 'x'.
5266
5267 2009-05-27 Tom Tromey <tromey@redhat.com>
5268
5269 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5270 tests.
5271 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5272 Call it.
5273
5274 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5275
5276 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5277
5278 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5279
5280 * gdb.threads/fork-thread-pending.c: New.
5281 * gdb.threads/fork-thread-pending.exp: New.
5282
5283 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5284
5285 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5286 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5287
5288 2009-05-18 Jon Beniston <jon@beniston.com>
5289
5290 * gdb.asm/asm-source.exp: Add lm32 target.
5291
5292 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5293
5294 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5295 `gdb_get_line_number'. Call `callee' in both parent and child.
5296 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5297 `gdb_get_line_number' instead of hardcoding line numbers.
5298 (catch_fork_unpatch_child): New procedure to test detaching
5299 breakpoints from child fork.
5300 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5301 hardcoding line numbers.
5302 (do_fork_tests): Run `catch_fork_unpatch_child'.
5303
5304 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5305
5306 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5307 of structure type enters or leaves the scope, it
5308 is reported by -var-update.
5309
5310 2009-05-11 Doug Evans <dje@sebabeach.org>
5311
5312 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5313 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5314 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5315
5316 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5317
5318 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5319
5320 2009-04-30 Doug Evans <dje@google.com>
5321
5322 * gdb.threads/watchthreads2.exp: New testcase.
5323 * gdb.threads/watchthreads2.c: New testcase.
5324
5325 2009-04-29 Doug Evans <dje@google.com>
5326
5327 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5328 * gdb.cp/mb-ctor.cc: Ditto.
5329 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5330 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5331 * gdb.cp/mb-inline1.cc: Call it.
5332 * gdb.cp/mb-inline2.cc: Ditto.
5333 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5334 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5335
5336 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5339 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5340 Replace all uses of `decimal' by `nonzero'.
5341 (info macro FROM_COMMANDLINE): New test.
5342
5343 2009-04-27 Tom Tromey <tromey@redhat.com>
5344
5345 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5346
5347 2009-04-27 Doug Evans <dje@google.com>
5348
5349 * gdb.threads/watchthreads.c (main): Initialize args before starting
5350 the threads. Plus formatting cleanup.
5351 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5352 biased scheduling of one thread.
5353
5354 2009-04-27 Jerome Guitton <guitton@adacore.com>
5355
5356 * gdb.cp/templates.cc (GetMax): New template.
5357 (main): Declare two instances of GetMax.
5358 * gdb.cp/templates.exp: Add new test.
5359
5360 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5361
5362 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5363
5364 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5365
5366 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5367
5368 2009-04-15 Tom Tromey <tromey@redhat.com>
5369
5370 * gdb.base/charset.exp: Add regression test.
5371
5372 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5373
5374 * gdb.base/exe-lock.exp: New testcase.
5375
5376 2009-04-13 Tom Tromey <tromey@redhat.com>
5377
5378 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5379 operator on Frame.
5380
5381 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5382
5383 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5384 * gdb.server/ext-attach.exp: Likewise.
5385
5386 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5387
5388 Eliminate some sleep usage.
5389
5390 * gdb.mi/basics.c (do_nothing): New.
5391 (main): Use do_nothing instead of printf, so that
5392 not to introduce race condition between output of
5393 inferiour and output of gdb. Do not use sleep as it
5394 is not generally available on embedded targets.
5395
5396 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5397
5398 * gdb.server/ext-attach.exp: Expect an optional process id after
5399 "Detached from remote process".
5400
5401 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5402
5403 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5404 gdb.dwarf2/dw2-unresolved.exp: New.
5405
5406 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5407
5408 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5409 mi_run_to_main.
5410
5411 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5412
5413 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5414 mi_run_to_main. Skip thread exit test on remote targets.
5415 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5416 mi_run_to_main.
5417 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5418 mi_run_to_main.
5419 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5420 when expecting ^connected. Detect when the target doesn't support
5421 non-stop mode.
5422 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5423 supported. Return -1 on error, 0 on success.
5424 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5425 (mi_runto): Return mi_runto_helper's result explicitly.
5426
5427 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5428
5429 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5430
5431 2009-04-01 Tom Tromey <tromey@redhat.com>
5432
5433 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5434 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5435 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5436 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5437
5438 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5439 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 PR gdb/931
5442 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5443 output.
5444 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5445 for gdb/931.
5446 * dw2-strp.S (DW_AT_language): Change to C++.
5447 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5448
5449 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5450
5451 * gdb.ada/tasks: New testcase.
5452
5453 2009-03-30 Stan Shebs <stan@codesourcery.com>
5454
5455 * gdb.trace/actions.exp: Update to match new info trace format.
5456 * gdb.trace/deltrace.exp: Ditto.
5457 * gdb.trace/infotrace.exp: Ditto.
5458 * gdb.trace/passcount.exp: Ditto.
5459 * gdb.trace/save-trace.exp: Ditto.
5460 * gdb.trace/while-stepping.exp: Ditto.
5461 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5462
5463 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5464
5465 * gdb.python/python-frame.c: New file.
5466 * gdb.python/python-frame.exp: New file.
5467
5468 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5469
5470 * gdb.python/python-value.exp: Add tests for the address
5471 attribute.
5472
5473 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5474
5475 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5476
5477 2009-03-26 Doug Evans <dje@google.com>
5478
5479 * gdb.mi/mi-nonstop-exit.exp: New file.
5480 * gdb.mi/non-stop-exit.c: New file.
5481
5482 2009-03-26 Tom Tromey <tromey@redhat.com>
5483
5484 Update for change to prologue skipping:
5485 * gdb.mi/mi2-simplerun.exp: Update.
5486 * gdb.mi/mi2-break.exp: Update.
5487 * gdb.mi/mi-simplerun.exp: Update.
5488 * gdb.mi/mi-break.exp: Update.
5489 * gdb.base/ending-run.exp: Update.
5490
5491 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5492
5493 * gdb.python/python-value.exp (test_value_in_inferior): Test
5494 gdb.Value.is_optimized_out attribute.
5495
5496 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5497
5498 * gdb.dwarf2/dw2-noloc-main.c: New file.
5499 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5500 (.text): Remove.
5501 (.data): New.
5502 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5503 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5504 (DW_TAG_subprogram func_cu1, noloc): Remove.
5505 (main): New.
5506 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5507 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5508 (file_symbols): New procedure.
5509
5510 2009-03-25 Tom Tromey <tromey@redhat.com>
5511
5512 * gdb.base/charset.exp (valid_target_charset): New proc.
5513 Use it to skip tests on invalid charsets.
5514
5515 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5516
5517 * gdb.base/completion.exp: Add a test for directory completion.
5518
5519 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5520
5521 Fix a racy FAIL.
5522 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5523 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5524
5525 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5526
5527 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5528 * gdb.python/python-function.exp: Add test for function returning
5529 a GDB value.
5530
5531 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5532
5533 * gdb.python/python-function.exp: New file.
5534
5535 2009-03-20 Tom Tromey <tromey@redhat.com>
5536
5537 * gdb.base/store.exp: Update for change to escape output.
5538 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5539 to escape output.
5540 * gdb.base/pointers.exp: Update for change to escape output.
5541 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5542 to escape output.
5543 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5544 escape output.
5545 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5546 to escape output.
5547 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5548 escape output.
5549 * gdb.base/setvar.exp: Update for change to escape output.
5550 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5551 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5552 to escape output.
5553 (test_print_string_constants): Likewise.
5554 * gdb.base/charset.exp (valid_host_charset): Check size of
5555 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5556 cases. Handle "auto"-related output.
5557 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5558 (uvar, Uvar): New globals.
5559
5560 2009-03-19 Jerome Guitton <guitton@adacore.com>
5561
5562 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5563 deltas.
5564 * gdb.ada/fixed_points.exp: Ditto.
5565
5566 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5567
5568 * return-nodebug.c: Don't include stdio.h.
5569 (init): Delete.
5570 (func): Delete definition and provide extern declaration.
5571 (t): New.
5572 (main): Don't call printf. Call func and store its result in t.
5573 * return-nodebug1.c: New.
5574 * return-nodebug.exp: Don't expect stdio output. Instead, print
5575 the global variable t. Drop printf formatters and cast types from
5576 foreach loop. Don't use prepare_for_testing. Compile
5577 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5578 define FORMAT or CAST.
5579
5580 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5581
5582 * gdb.base/solib-display.exp: Disable test for remote targers.
5583
5584 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5585
5586 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5587
5588 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5589
5590 Fix a racy FAIL.
5591 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5592 code from `follow parent, print pids'.
5593 (`follow child, print pids', `follow parent, print pids'): Call it.
5594 Replace `gdb_test "break..."' by gdb_breakpoint.
5595
5596 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5597
5598 * gdb.mi/mi-cli.exp: Adjust for output difference in
5599 sync and async modes.
5600
5601 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5602
5603 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5604 that was checked in by mistake. Remove loading of ada.exp, since
5605 this is not necessary in this case.
5606
5607 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5608
5609 * gdb.ada/ptype_arith_binop.exp: New testcase.
5610
5611 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5612
5613 * gdb.ada/mod_from_name: New testcase.
5614
5615 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5616
5617 * gdb.ada/tick_last_segv: New testcase.
5618
5619 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5620
5621 * gdb.mi/mi-cli.exp: Remove debug print.
5622
5623 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5624
5625 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5626 include the token in ^running and frame info in *stopped.
5627
5628 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5629
5630 * solib-display.exp: New file.
5631 * solib-display-main.c: New file.
5632 * solib-display-lib.c: New file.
5633
5634 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5635
5636 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5637
5638 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5639
5640 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5641 (list_and_check_macro): Use more specific test name.
5642 (next to definition): Make the test names unique.
5643
5644 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5645
5646 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5647
5648 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5649
5650 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5651 notifications.
5652 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5653 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5654 * lib/mi-support.exp (library_loaded_re): New.
5655 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5656
5657 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5658
5659 * gdb.gdb/observer.exp: Use test_notification observer, not
5660 normal_stop, everywhere.
5661 (test_normal_stop_notifications): Rename to...
5662 (test_notifications): ...this.
5663 (test_observer_normal_stop): Rename to...
5664 (test_observer): ...this.
5665
5666 2009-02-16 Doug Evans <dje@google.com>
5667
5668 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5669 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5670 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5671 (test_prefixed_syscall,test_int3): New tests.
5672 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5673 (test_prefixed_syscall,test_int3): New tests.
5674
5675 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5676
5677 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5678 (mi_expect_interrupt): Likewise.
5679 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5680 response.
5681
5682 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5683
5684 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5685 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5686 Replace calls to get_valueofx by get_hexadecimal_valueof.
5687
5688 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5689
5690 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5691 (get_integer_valueof): New procedure.
5692 (get_sizeof): Use new get_integer_value_of.
5693 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5694 by get_integer_valueof.
5695
5696 2009-02-13 Tom Tromey <tromey@redhat.com>
5697
5698 * gdb.base/remote.exp (get_sizeof): Remove.
5699 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5700 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5701 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5702 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5703 (get_sizeof): Likewise.
5704
5705 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 PR fortran/9806
5708 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5709
5710 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5711
5712 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5713
5714 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5715
5716 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5717
5718 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5719
5720 * gdb.python/python-cmd.exp: New file.
5721
5722 2009-02-06 Tristan Gingold <gingold@adacore.com>
5723
5724 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5725
5726 2009-02-05 Tristan Gingold <gingold@adacore.com>
5727
5728 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5729 pointer is dereferenced and use this signal name in regexp.
5730 * gdb.base/signull.exp: Ditto.
5731 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5732 * gdb.base/signull.c (main): Ditto.
5733
5734 2009-02-04 Tom Tromey <tromey@redhat.com>
5735 Thiago Jung Bauermann <bauerman@br.ibm.com>
5736
5737 * gdb.python/python-value.exp: Use `gdb.history' instead of
5738 `gdb.value_from_history'.
5739 (test_value_numeric_ops): Add test for conversion of enum constant.
5740 * gdb.python/python-value.c (enum e): New type.
5741 (evalue): New global.
5742 (main): Use argv.
5743
5744 2009-02-04 Jerome Guitton <guitton@adacore.com>
5745
5746 * gdb.ada/uninitialized_vars: New test program.
5747 * gdb.ada/uninitialized_vars.exp: New testcase.
5748
5749 2009-02-02 Tom Tromey <tromey@redhat.com>
5750
5751 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5752 * gdb.cp/pr2489.cc: Rename...
5753 * gdb.cp/pr9594.cc: ... to this.
5754
5755 2009-02-02 Tom Tromey <tromey@redhat.com>
5756
5757 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5758 * gdb.cp/pr2489.cc: New file.
5759 * gdb.cp/cpcompletion.exp: New file.
5760
5761 2009-02-02 Tom Tromey <tromey@redhat.com>
5762
5763 PR exp/9059:
5764 * gdb.cp/call-c.exp: Add regression test.
5765 * gdb.cp/call-c.cc (FooHandle): New typedef.
5766 (main): New variable 'handle'.
5767
5768 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5769
5770 * lib/mi-support.exp (et_mi_thread_list)
5771 (check_mi_and_console_threads): Adjust for current thread in
5772 -thread-list-ids output.
5773
5774 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5775
5776 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5777 Call it.
5778
5779 2009-01-28 Doug Evans <dje@google.com>
5780
5781 * gdb.arch/amd64-disp-step.S: New file.
5782 * gdb.arch/amd64-disp-step.exp: New file.
5783 * gdb.arch/i386-disp-step.S: New file.
5784 * gdb.arch/i386-disp-step.exp: New file.
5785
5786 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5787
5788 * gdb.base/find.exp: Set newline variable
5789 using quotes instead of braces to fix cygwin failures.
5790
5791 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5792
5793 * gdb.base/radix.exp: Add tests to ensure that that set
5794 input-radix 0 and set output-radix 0 are really rejected.
5795
5796 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5797
5798 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5799 copyright years.
5800
5801 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5802
5803 PR gdb/9664:
5804 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5805
5806 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5807
5808 PR c++/9631:
5809 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5810
5811 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5812
5813 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5814 binfile definition to fix Windows OS failure.
5815
5816 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5817
5818 PR gdb/9346
5819 * gdb.base/interrupt.c (sigint_handler): New.
5820 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5821 on error.
5822 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5823 Test "signal SIGINT".
5824
5825 2009-01-19 Doug Evans <dje@google.com>
5826
5827 * gdb.base/break.exp: Update expected gdb output.
5828 * gdb.base/sepdebug.exp: Ditto.
5829 * gdb.mi/mi-syn-frame.exp: Ditto.
5830 * gdb.mi/mi2-syn-frame.exp: Ditto.
5831 * gdb.base/call-signal-resume.exp: New file.
5832 * gdb.base/call-signals.c: New file.
5833 * gdb.base/unwindonsignal.exp: New file.
5834 * gdb.base/unwindonsignal.c: New file.
5835 * gdb.threads/interrupted-hand-call.exp: New file.
5836 * gdb.threads/interrupted-hand-call.c: New file.
5837 * gdb.threads/thread-unwindonsignal.exp: New file.
5838
5839 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5840
5841 * gdb.base/define.exp: Test defining and hooking prefix commands.
5842 * gdb.python/python.exp: Update test for "show user" output.
5843
5844 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5845
5846 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5847 now the output exactly, using less wildcards. Expect also the output
5848 of gfortran-4.3. Update for the f-valprint.c modification from
5849 2008-04-22.
5850 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5851 Remove gdb_test test names where matching the command.
5852
5853 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5854
5855 PR breakpoints/9681:
5856 * gdb.base/watchpoint.exp: Add regression test.
5857
5858 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5859
5860 * gdb.threads/attach-into-signal.exp: Don't use
5861 gdb_suppress_entire_file.
5862 * gdb.threads/attach-stopped.exp: Ditto.
5863 * gdb.threads/attachstop-mt.exp: Ditto.
5864
5865 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5866
5867 PR gdb/8812:
5868 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5869
5870 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5871
5872 PR gdb/7536:
5873 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5874 and unsupported output radices are really rejected.
5875
5876 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5877
5878 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5879
5880 2008-12-22 Tom Tromey <tromey@redhat.com>
5881
5882 * gdb.cp/punctuator.exp: New file.
5883
5884 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5885
5886 * gdb.base/completion.exp (Completing non-existing component): New test.
5887
5888 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5889
5890 Fix for PR gdb/8648.
5891 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5892 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5893 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5894 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5895
5896 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5897
5898 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5899
5900 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5901
5902 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5903 compiler actually generate code at the expected line number.
5904
5905 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5906
5907 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5908
5909 2008-12-12 Tom Tromey <tromey@redhat.com>
5910
5911 * gdb.base/commands.exp (redefine_hook_test): New proc.
5912 Call it.
5913
5914 2008-12-11 Tom Tromey <tromey@redhat.com>
5915
5916 * gdb.base/macscp.exp: New regression test.
5917
5918 2008-12-11 Tom Tromey <tromey@redhat.com>
5919
5920 * gdb.base/macscp.exp: Print "address.addr".
5921 * gdb.base/macscp1.c (struct outer): New struct.
5922 (address): New global.
5923
5924 2008-12-09 Tom Tromey <tromey@redhat.com>
5925
5926 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5927 Call it.
5928
5929 2008-12-04 Doug Evans <dje@google.com>
5930
5931 * gdb.server/ext-run.exp: Relax regexp for init program.
5932
5933 2008-12-03 Tristan Gingold <gingold@adacore.com>
5934
5935 * gdb.base/macscp.exp: Generate an object file during compilation
5936 to work around Darwin dsymutil limitations.
5937
5938 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5939
5940 Test resolving external references to TLS variables.
5941 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5942 FILE2_THREAD_LOCAL.
5943 (testfile2, srcfile2): New variables.
5944 * gdb.threads/tls.c (file2_thread_local)
5945 (function_referencing_file2_thread_local): New.
5946 * gdb.threads/tls2.c: New file.
5947
5948 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5949
5950 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5951 rather than integer, as integer might not be big enough when
5952 on 64bit targets.
5953
5954 2008-11-27 Jerome Guitton <guitton@adacore.com>
5955
5956 * gdb.cp/formatted-ref.exp: Add equality test.
5957 * gdb.ada/formatted_ref.exp: Ditto.
5958
5959 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5960
5961 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5962 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5963
5964 2008-11-20 Andreas Schwab <schwab@suse.de>
5965
5966 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5967 matching syscall entry point.
5968 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5969 (tcatch_vfork_then_child_follow): Likewise. Finish through
5970 vfork even if we stopped at the syscall trampoline.
5971
5972 2008-11-20 Doug Evans <dje@google.com>
5973
5974 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5975
5976 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5977
5978 * gdb.arch/ppc-dfp.exp: New file.
5979 * gdb.arch/ppc-dfp.c: New file.
5980
5981 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5982
5983 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5984
5985 2008-11-17 Doug Evans <dje@google.com>
5986
5987 * gdb.mi/mi-syn-frame.exp: Update expected output.
5988 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5989
5990 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5991
5992 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5993 "thread N" results in =thread-selected.
5994 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5995 (mi_send_resuming_command_raw): Be prepared for
5996 =thread-selected.
5997
5998 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5999
6000 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6001 * lib/mi-support.exp: Likewise.
6002
6003 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6004
6005 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6006 commands from the expected output for "help catch".
6007
6008 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6009
6010 * gdb.ada/int_deref.exp: New testcase.
6011
6012 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6013
6014 * gdb.mi/gdb2549.exp: New file.
6015
6016 2008-11-11 Doug Evans <dje@google.com>
6017
6018 * gdb.base/callexit.exp: New file.
6019 * gdb.base/callexit.c: New file.
6020
6021 2008-11-10 Doug Evans <dje@google.com>
6022
6023 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6024 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6025 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6026 (default_gdb_start,default_gdb_exit): Ditto.
6027 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6028 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6029 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6030 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6031 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6032 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6033
6034 2008-11-03 Andreas Schwab <schwab@suse.de>
6035
6036 * gdb.base/hashline2.exp: Fix typo.
6037 * gdb.base/hashline3.exp: Likewise.
6038
6039 2008-10-30 Tom Tromey <tromey@redhat.com>
6040
6041 * gdb.base/pointers.exp: Add test.
6042 * gdb.base/pointers.c (k, S): New typedefs.
6043 (instance): New global.
6044
6045 2008-10-30 Andreas Schwab <schwab@suse.de>
6046
6047 * gdb.base/args.exp: Add tests for newlines.
6048
6049 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6050
6051 gdb.base/foll-exec.exp: Update the expected output of a couple
6052 of "info breakpoints" tests.
6053
6054 2008-10-28 Tom Tromey <tromey@redhat.com>
6055
6056 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6057
6058 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6059
6060 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6061 gdb_start_cmd.
6062 Use runto_main before any test that requires execution.
6063
6064 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6065
6066 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6067 instead of SIGINT.
6068
6069 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6070
6071 * gdb.base/completion.exp: Update expected output following
6072 the addition of the "info tasks" command.
6073
6074 2008-10-22 Tom Tromey <tromey@redhat.com>
6075
6076 * gdb.base/exprs.exp (test_expr): Add test for string
6077 concatenation.
6078
6079 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6080
6081 * configure.ac: Output gdb.python/Makefile.
6082 * configure: Regenerate.
6083 * gdb.python/Makefile.in: New.
6084
6085 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6086
6087 * gdb.base/foll-fork.exp: Adjust the expected output to match
6088 the new description for fork/vfork catchpoints in the "info
6089 breakpoints" output.
6090
6091 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6092
6093 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6094
6095 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6096
6097 * gdb.python/python-value.c: New file.
6098 * gdb.python/python-value.exp: New file.
6099
6100 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6101
6102 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6103
6104 2008-10-15 Denis Pilat <denis.pilat@st.com>
6105
6106 * gdb.cp/mb-ctor.exp: Fix a typo.
6107
6108 2008-10-09 Tom Tromey <tromey@redhat.com>
6109
6110 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6111 'fprintf' and 'stderr'.
6112
6113 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6114
6115 * gdb.ada/ref_tick_size.exp: New testcase.
6116
6117 2008-10-06 Doug Evans <dje@google.com>
6118
6119 * gdb.dwarf2/dw2-cu-size.exp: New file.
6120 * gdb.dwarf2/dw2-cu-size.S: New file.
6121
6122 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6123 .Ltype_int for clarity.
6124
6125 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6126
6127 PR gdb/2384:
6128 * gdb.cp/gdb2384.exp: Extended to test more cases.
6129 * gdb.cp/gdb2384.cc: Likewise.
6130 * gdb.cp/gdb2384-base.h: Likewise.
6131 * gdb.cp/gdb2384-base.cc: Likewise.
6132
6133 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6134
6135 * gdb.base/maint.exp (maint print type): Remove printing
6136 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6137
6138 2008-09-30 Tom Tromey <tromey@redhat.com>
6139
6140 * gdb.base/macscp.exp: Add completion tests.
6141 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6142 (TWENTY_THREE): Likewise.
6143 (FORTY_EIGHT): Likewise.
6144
6145 2008-09-30 Tom Tromey <tromey@redhat.com>
6146
6147 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6148 everywhere.
6149 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6150
6151 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6152
6153 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6154 testcase is derived from. Fix racy dependency on an expected PID
6155 number. No longer support the testcase on Linux kernel 2.4.x.
6156
6157 2008-09-27 Tom Tromey <tromey@redhat.com>
6158
6159 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6160 and varargs.
6161
6162 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6163
6164 * lib/mi-support.exp (mi_expect_interrupt): New.
6165 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6166 from gdb.mi/mi-nonstop.exp.
6167 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6168 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6169 lib/mi-support.exp.
6170 Use mi_check_thread_states throughout. Avoid ".*" and do not
6171 require an anchor after -exec-run.
6172
6173 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6174
6175 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6176 stop is pending. Avoid ".*" when two stops are pending.
6177 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6178 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6179 newlines in fullnames.
6180 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6181 (mi_expect_stop): Update comments. Only anchor in sync mode.
6182 Do not match newlines.
6183 (mi_send_resuming_command_raw): Always return status.
6184 (mi_get_stop_line): Do not match more than one line by accident.
6185 Only anchor in sync mode.
6186 (mi_run_inline_test): If -exec-next fails, give up.
6187
6188 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6189
6190 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6191 on SPU.
6192
6193 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6194
6195 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6196
6197 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6198
6199 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6200 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6201 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6202 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6203 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6204 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6205 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6206 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6207 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6208 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6209 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6210 Include the "= " sequence in the expected output of print tests.
6211
6212 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6213
6214 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6215 description for boolean types.
6216
6217 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6218
6219 * gdb.base/hook-stop-continue.c: New.
6220 * gdb.base/hook-stop-continue.exp: New.
6221
6222 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6223
6224 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6225
6226 2008-09-08 Jerome Guitton <guitton@adacore.com>
6227
6228 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6229 (stack_check_probe_2, stack_check_probe_loop_1)
6230 (stack_check_probe_loop_2): New functions.
6231 (main): Add call to these new functions.
6232 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6233 functions, check that the breakpoint is inserted at the appropriate
6234 location.
6235 (insert_breakpoint): Slightly refine this procedure so that it can
6236 be called several times in the test.
6237
6238 2008-09-08 Jerome Guitton <guitton@adacore.com>
6239
6240 * gdb.base/stack-checking.c: New file.
6241 * gdb.base/stack-checking.exp: New file.
6242
6243 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6244
6245 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6246 * gdb.arch/altivec-regs.exp: Likewise.
6247 * gdb.arch/vsx-regs.exp: Likewise.
6248
6249 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6250
6251 * gdb.arch/ppc-fp.exp: New file.
6252 * gdb.arch/ppc-fp.c: New file.
6253
6254 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6255
6256 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6257 lest gcc-4.3.1 optimizes the whole thing away.
6258
6259 2008-09-04 Michael Snyder <msnyder@vmware.com>
6260
6261 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6262 as "at" (for non-debug functions such as _start).
6263
6264 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6265
6266 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6267 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6268 software watchpoints.
6269 * gdb.base/watch_thread_num.exp: Likewise.
6270
6271 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6272
6273 * gdb.arch/i386-bp_permanent.exp: New test.
6274
6275 2008-08-24 Tom Tromey <tromey@redhat.com>
6276
6277 * gdb.base/maint.exp: Update "maint print type".
6278
6279 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6280
6281 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6282 support. Adjust the order of "*running" notifications.
6283 * gdb.mi/non-stop.c: Don't cast from int to void* and
6284 back.
6285
6286 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6287
6288 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6289 expect to find it in the "info frame" output.
6290
6291 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6292
6293 * gdb.base/interp.exp: Always consume both prompts.
6294
6295 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6296
6297 * gdb.base/pending.exp: Test pending breakpoints without symbols
6298 loaded.
6299
6300 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6301
6302 * lib/mi-support.exp (mi_expect_stop): Produce
6303 more details on failures.
6304 * gdb.mi/mi-nonstop.exp: New.
6305 * gdb.mi/non-stop.c: New.
6306
6307 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6308
6309 * gdb.mi/mi-async.exp: Use 'set target-async'.
6310 * lib/mi-support.exp: Use 'set/show target-async'.
6311
6312 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6313
6314 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6315
6316 2008-08-17 Tom Tromey <tromey@redhat.com>
6317
6318 * gdb.base/help.exp (help catch): Rewrite.
6319
6320 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6321
6322 * gdb.base/define.exp: Test indented command documentation.
6323 * gdb.python/python.exp: Test indented multi-line command.
6324
6325 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6326
6327 * testsuite/gdb.arch/vsx-regs.c: New source file.
6328 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6329 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6330
6331 2008-08-14 Tom Tromey <tromey@redhat.com>
6332
6333 * gdb.base/macscp.exp: Add regression test for "macro define" or
6334 "macro undef" with no arguments.
6335
6336 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6337
6338 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6339
6340 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6341
6342 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6343
6344 2008-08-06 Tom Tromey <tromey@redhat.com>
6345
6346 * gdb.python/python.exp: New file.
6347
6348 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6349
6350 Fix for PR gdb/1543.
6351 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6352 $LOCATION.
6353 (location): New variable.
6354 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6355 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6356 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6357 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6358 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6359 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6360 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6361 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6362 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6363 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6364 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6365 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6366 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6367 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6368 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6369 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6370 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6371 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6372 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6373 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6374 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6375 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6376 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6377 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6378 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6379 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6380 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6381 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6382 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6383 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6384 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6385 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6386 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6387 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6388 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6389 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6390 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6391 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6392 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6393 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6394 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6395 gdb.base/type-opaque.exp, gdb.base/until.exp,
6396 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6397 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6398 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6399 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6400 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6401 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6402 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6403 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6404 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6405 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6406 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6407 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6408 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6409 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6410 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6411 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6412 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6413 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6414 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6415 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6416 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6417 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6418 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6419 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6420 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6421 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6422 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6423 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6424 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6425 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6426 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6427 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6428 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6429 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6430 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6431 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6432 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6433 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6434 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6435 to bug-gdb@prep.ai.mit.edu .
6436
6437 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6438
6439 * lib/mi-support.exp (mi_load_shlibs): New.
6440 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6441
6442 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6443
6444 * lib/mi-support.exp (get_mi_thread_list)
6445 (check_mi_and_console_threads): New, moved from ...
6446 * gdb.mi/mi-pthread.exp: ...here.
6447 * gdb.mi/gdb669.exp (get_mi_thread_list)
6448 (check_mi_and_console_threads): Delete.
6449 * gdb.mi/mi2-pthread.exp: Likewise.
6450
6451 2008-07-28 Tom Tromey <tromey@redhat.com>
6452
6453 * Makefile.in (just-check): Remove. Move body to...
6454 (check): ... here.
6455
6456 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6457
6458 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6459 Add a test for duplicated SIGINTs.
6460
6461 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6462
6463 * gdb.threads/schedlock.exp (get_args): Update to work for any
6464 value of NUM.
6465 (Top level): Report the number of threads that did not resume.
6466
6467 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6468
6469 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6470
6471 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6472
6473 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6474 non-MI prompt.
6475
6476 2008-07-26 Tom Tromey <tromey@redhat.com>
6477
6478 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6479 (function_struct, function_struct_ptr): New globals.
6480 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6481 function pointer in a struct.
6482
6483 2008-07-26 Tom Tromey <tromey@redhat.com>
6484
6485 * gdb.base/macscp.exp: Add test for macro lexing bug.
6486
6487 2008-07-18 Tom Tromey <tromey@redhat.com>
6488
6489 * gdb.base/macscp.exp: Add macro tests.
6490
6491 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6492
6493 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6494
6495 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6496
6497 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6498
6499 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6500
6501 * gdb.cp/class2.exp: fix for failure on spu-elf
6502
6503 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6504
6505 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6506
6507 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6510
6511 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6512
6513 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6514
6515 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6516
6517 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6518 of regexp to account for changes made to GDB in the printing of
6519 byte vectors.
6520
6521 2008-07-11 Tom Tromey <tromey@redhat.com>
6522
6523 * gdb.base/completion.exp: Add 'help' completion test.
6524
6525 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6526
6527 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6528
6529 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6530
6531 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6532
6533 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6534
6535 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6536
6537 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6538
6539 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6540
6541 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6542
6543 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6544
6545 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6546
6547 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6548 previous commit. Add a comment.
6549
6550 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6551
6552 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6553
6554 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6555
6556 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6557
6558 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6559
6560 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6561 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6562 compiling an executable, link in an object that forces unbuffered
6563 output.
6564 * lib/set_unbuffered_mode.c: New file.
6565
6566 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6567
6568 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6569
6570 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6571
6572 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6573 mi_expect_stop.
6574 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6575 Demand that *running is output.
6576 (detect_async): Perform checking every time.
6577 (mi_send_resuming_command): Extract everything into...
6578 (mi_send_resuming_command_raw): ...this.
6579 (mi_expect_stop): Don't accept any output before *stopped.
6580
6581 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6582
6583 Robustify mi-simplerun.
6584 * gdb.mi/basics.c (main): Add a call to sleep.
6585 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6586 * gdb.mi/mi2-cli.exp: Likewise.
6587 * gdb.mi/mi-break.exp: Likewise.
6588
6589 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6590
6591 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6592
6593 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6594
6595 * gdb.mi/mi-console.exp: Adjust.
6596 * gdb.mi/mi-syn-frame.exp: Adjust.
6597 * gdb.mi/mi2-console.exp: Adjust.
6598 * gdb.mi/mi2-syn-frame.exp: Adjust.
6599 * lib/mi-support.exp (mi_run_cmd): Adjust.
6600 (mi_send_resuming_command): Adjust.
6601
6602 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6603
6604 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6605 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6606 testing of stopped.
6607 * gdb.mi/mi2-syn-frame.exp: Likewise.
6608 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6609 (async, detect_async): New.
6610 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6611 depending on if we're running in sync or async mode.
6612
6613 2008-06-09 Tom Tromey <tromey@redhat.com>
6614
6615 * gdb.base/completion.exp: New tests for field name completion
6616 with spaces, and field name completion with '->'.
6617
6618 2008-06-06 Tom Tromey <tromey@redhat.com>
6619
6620 * gdb.base/break1.c (struct some_struct): New struct.
6621 (values): New global.
6622 * gdb.base/completion.exp: Add field name completion test.
6623
6624 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6625
6626 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6627 to pointer.
6628 * gdb.cp/call-c.cc: Likewise.
6629
6630 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6631
6632 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6633 annotation.
6634
6635 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6636 Pedro Alves <pedro@codesourcery.com>
6637
6638 * gdb.threads/execl.c, gdb.threads/execl1.c,
6639 gdb.threads/execl.exp: New tests.
6640
6641 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6642 Daniel Jacobowitz <dan@codesourcery.com>
6643
6644 * gdb.cp/exception.exp: Activate test, make it work with pending
6645 catchpoints.
6646
6647 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6648
6649 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6650
6651 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6652
6653 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6654 now printed.
6655 * gdb.mi/mi2-var-cmd.exp: Likewise.
6656
6657 2008-05-27 Andreas Schwab <schwab@suse.de>
6658
6659 * gdb.base/frame-args.exp: Handle arguments that are optimized
6660 out.
6661
6662 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6663
6664 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6665 quiet for ppc32 and group options into a single variable.
6666
6667 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6668
6669 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6670 of zero-size elements.
6671 * gdb.ada/null_array.exp: Test printing this new array.
6672
6673 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6674
6675 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6676
6677 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6678
6679 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6680 of the "finish" command.
6681
6682 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6683
6684 * gdb.base/annota1.exp: Test for new annotation.
6685
6686 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6687
6688 * gdb.base/fixsection.exp: New file.
6689 * gdb.base/fixsection0.c: New file.
6690 * gdb.base/fixsection1.c: New file.
6691
6692 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6693
6694 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6695 * gdb.base/annota3.exp: Likewise.
6696
6697 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6698
6699 * gdb.base/watch_thread_num.exp: Don't run tests that require
6700 watchpoints if the target doesn't support them.
6701
6702 2008-05-12 Doug Evans <dje@google.com>
6703
6704 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6705
6706 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6707
6708 * gdb.ada/assign_1.exp: New testcase.
6709
6710 2008-05-09 Doug Evans <dje@google.com>
6711
6712 * gdb.base/find.exp: New file.
6713 * gdb.base/find.c: New file.
6714
6715 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6716
6717 * gdb.base/commands.exp (watchpoint_command_test): Handle
6718 gdb,no_hardware_watchpoints.
6719 * gdb.base/float.exp: Allow ARM targets without floating point.
6720 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6721
6722 2008-05-06 Jerome Guitton <guitton@adacore.com>
6723 Joel Brobecker <brobecker@adacore.com>
6724
6725 * gdb.ada/lang_switch: New test program.
6726 * gdb.ada/lang_switch.exp: New testcase.
6727
6728 2008-05-05 Doug Evans <dje@google.com>
6729
6730 * gdb.base/help.exp (disassemble): Update expected help text.
6731
6732 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6733
6734 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6735
6736 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6737
6738 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6739 different times.
6740
6741 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6742
6743 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6744 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6745 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6746 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6747
6748 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6749
6750 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6751 notification to appear.
6752
6753 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6754
6755 * gdb.base/fullname.c: New file.
6756 * gdb.base/fullname.exp: New file.
6757 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6758
6759 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6760
6761 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6762 expressions with macros.
6763
6764 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6765
6766 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6767
6768 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6769
6770 * gdb.base/completion.exp: Handle lack of other symbols beginning
6771 with "a".
6772
6773 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6774
6775 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6776
6777 * gdb.asm/asmsrc1.s: Add scratch space.
6778
6779 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6780 Daniel Jacobowitz <dan@codesourcery.com>
6781
6782 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6783 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6784 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6785
6786 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6787
6788 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6789
6790 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6791
6792 * gdb.base/info-target.exp: New testcase.
6793
6794 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6795
6796 * gdb.cp/hang.exp: Use .cc instead of .C.
6797 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6798 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6799
6800 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6801
6802 * gdb.base/gdb1250.exp: Remove perror.
6803 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6804
6805 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6806
6807 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6808 .2byte.
6809
6810 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6811
6812 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6813 (maybe_kfail): New.
6814
6815 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6816
6817 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6818
6819 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6820
6821 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6822 * gdb.mi/mi2-syn-frame.exp: Likewise.
6823 * lib/mi-support.exp: Likewise.
6824
6825 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6826
6827 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6828 to specify regexp for the location to stop at.
6829 * gdb.base/break-always.c: New.
6830 * gdb.base/break-always.exp: New.
6831
6832 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6833
6834 * lib/mi-support.exp (mi_runto_helper): Adjust
6835 for the original-location field.
6836 (mi_create_breakpoint, mi_list_breakpoints): New.
6837 * gdb.mi/mi-break.exp: Adjust.
6838 * gdb.mi/mi2-break.exp: Adjust.
6839 * gdb.mi/mi-pending.exp: Adjust.
6840 * gdb.mi/mi-simplerun.exp: Adjust.
6841 * gdb.mi/mi2-simplerun.exp: Adjust.
6842 * gdb.mi/mi-syn-frame.exp: Adjust.
6843 * gdb.mi/mi2-syn-frame.exp: Adjust.
6844 * gdb.mi/mi-until.exp: Adjust.
6845 * gdb.mi/mi2-until.exp: Adjust.
6846 * gdb.mi/mi-var-display.exp: Adjust.
6847 * gdb.mi/mi2-var-display.exp: Adjust.
6848 * gdb.mi/mi-watch.exp: Adjust.
6849 * gdb.mi/mi2-watch.exp: Adjust.
6850
6851 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6852
6853 * aclocal.m4: Add override.m4.
6854 * configure: Regenerate.
6855
6856 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6857
6858 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6859 '-var-update --all-values' reports new value even the type
6860 of a variable object has changed.
6861
6862 2008-04-18 Craig Silverstein <csilvers@google.com>
6863
6864 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6865 files.
6866
6867 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6868
6869 * gdb.ada/atomic_enum: New test program.
6870 * gdb.ada/atomic_enum.exp: New testcase.
6871
6872 2008-04-17 Doug Evans <dje@google.com>
6873
6874 * gdb.opt/Makefile.in: Fix whitespace.
6875
6876 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6877
6878 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6879
6880 2008-04-17 Doug Evans <dje@google.com>
6881
6882 * gdb.base/hashline1.exp: New testcase.
6883 * gdb.base/hashline2.exp: New testcase.
6884 * gdb.base/hashline2.exp: New testcase.
6885
6886 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6887
6888 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6889
6890 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6891
6892 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6893 temporary breakpoint to match "Temporary breakpoint".
6894 * gdb.base/break.exp (delete_breakpoints): Likewise.
6895 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6896 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6897 * gdb.base/display.exp: Likewise.
6898 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6899 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6900 * gdb.base/restore.exp (restore_tests): Likewise.
6901 * gdb.base/sepdebug.exp: Likewise.
6902 * gdb.base/watchpoint.exp: Likewise.
6903 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6904 * gdb.mi/mi-pending.exp: Likewise.
6905 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6906 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6907 * gdb.mi/mi-var-cmd.exp: Likewise.
6908 * gdb.mi/mi-var-display.exp: Likewise.
6909 * gdb.mi/mi2-cli.exp: Likewise.
6910 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6911 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6912 * gdb.mi/mi2-var-display.exp: Likewise.
6913 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6914 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6915 new "disp" field.
6916 (mi_expect_stop): Move after_reason argument to be really after
6917 reason. This is to support fix for PR2424.
6918
6919 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6920
6921 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6922
6923 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6924
6925 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6926 field. Add more floating varobj tests.
6927 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6928 field.
6929 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6930 (main): Call do_at_tests.
6931 * lib/mi-support.exp (mi_create_floating_varobj)
6932 (mi_varobj_update_with_type_change): New.
6933
6934 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6935
6936 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6937 option of -var-evaluate-expression.
6938 * gdb.mi/mi2-var-display.exp: Likewise.
6939
6940 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6941
6942 Introduce test setup helpers.
6943 * lib/gdb.exp (build_executable, clean_restart)
6944 (prepare_for_testing): New.
6945 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6946 * gdb.base/return.exp: Likewise.
6947 * gdb.base/ending-run.exp: Likewise.
6948
6949 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6950
6951 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6952 Interface (MI) responses.
6953
6954 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6955
6956 * gdb.cp/breakpoint.cc: New code to test conditions involving
6957 member variables.
6958 * gdb.cp/breakpoint.exp: Test condition involving member
6959 variables.
6960
6961 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6962
6963 * lib/mi-support.exp (mi_expect_stop): New.
6964 (mi_run_cmd): Change the
6965 token. Use mi_send_resuming_command, use
6966 mi_expect_stop.
6967 (mi_execute_to_helper): Rename to mi_execute_to.
6968 (mi_send_resuming_command): Add more error patterns.
6969 (mi_wait_for_stop): Renamed to...
6970 (mi_get_stop_line): ...this.
6971 (mi_run_inline_test): Adjust.
6972
6973 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6974 * gdb.mi/mi-console.exp: Likewise.
6975 * gdb.mi/mi-pending.exp: Likewise.
6976 * gdb.mi/mi-simplerun.exp: Likewise.
6977 * gdb.mi/mi-stack.exp: Likewise.
6978 * gdb.mi/mi-stepi.exp: Likewise.
6979 * gdb.mi/mi-syn-frame.exp: Add comment.
6980 * gdb.mi/mi-until.exp: Likewise.
6981 * gdb.mi/mi-var-display.exp: Likewise.
6982 * gdb.mi/mi-watch.exp: Likewise.
6983 * gdb.mi/mi2-cli.exp: Likewise.
6984 * gdb.mi/mi2-console.exp: Likewise.
6985 * gdb.mi/mi2-simplerun.exp: Likewise.
6986 * gdb.mi/mi2-stack.exp: Likewise.
6987 * gdb.mi/mi2-stepi.exp: Likewise.
6988 * gdb.mi/mi2-until.exp: Likewise.
6989 * gdb.mi/mi2-var-display.exp: Likewise.
6990 * gdb.mi/mi2-watch.exp: Likewise.
6991
6992 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6993
6994 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6995
6996 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6997
6998 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6999
7000 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7001 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7002 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7003 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7004 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7005 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7006 expect an mi error duplicated in stderr.
7007
7008 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7009
7010 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7011 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7012 Add a couple of tests that verify the behavior when the new setting
7013 is set to "cancel" and "all".
7014 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7015 "ask" before we start the testing.
7016
7017 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7018
7019 * gdb.cp/casts.cc: Add class reference variables.
7020 * gdb.cp/casts.exp: New test cases for up/down casting references.
7021
7022 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7023
7024 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7025 instead of beginning to make an extra test pass.
7026 * gdb.mi/mi2-var-display.exp: Likewise.
7027
7028 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7029
7030 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7031
7032 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7033 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7034
7035 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7036 value. Add xfail for older kernels.
7037
7038 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7039
7040 Bring mi-support in line with gdb.exp.
7041 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7042 (mi_gdb_start): New function.
7043
7044 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7045
7046 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7047
7048 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7049
7050 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7051 * gdb.mi/mi2-var-display.exp: Likewise.
7052
7053 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7054
7055 * lib/mi-support.exp (mi_create_varobj_checked): New.
7056 (mi_list_varobj_children): Allow to check for a
7057 value.
7058 (mi_list_array_varobj_children): New.
7059
7060 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7061 and mi_list_varobj_children, as opposed to hardcoding
7062 expected strings.
7063 * gdb.mi/gdb701.exp: Likewise.
7064 * gdb.mi/gdb792.exp: Likewise.
7065 * gdb.mi/mi-var-block.exp: Likewise.
7066 * gdb.mi/mi-var-cmd.exp: Likewise.
7067 * gdb.mi/mi-var-invalidate.exp: Likewise.
7068 * gdb.mi/mi2-var-block.exp: Likewise.
7069 * gdb.mi/mi2-var-child.exp: Likewise.
7070 * gdb.mi/mi2-var-cmd.exp: Likewise.
7071 * gdb.mi/mi2-var-display.exp: Likewise.
7072
7073 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 Fix random false FAILs on i386.
7076 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7077
7078 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7079
7080 PR gdb/544
7081 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7082
7083 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7084
7085 PR gdb/544
7086 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7087
7088 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7089
7090 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7091 fixed PR gdb/544.
7092
7093 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7094
7095 * gdb.threads/fork-child-threads.exp: Test next over fork.
7096
7097 2008-03-21 Chris Demetriou <cgd@google.com>
7098
7099 * gdb.base/break.exp (rbreak junk): New test for rbreak
7100 "Junk at end of arguments" issue.
7101
7102 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7103
7104 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7105 *& to work on created array elements.
7106 (Top level): Test print $pc with a file. Test string operations
7107 without a target.
7108 * gdb.base/ptype.exp: Do not expect *& to work on created array
7109 elements.
7110
7111 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7112
7113 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7114 gdb.threads/staticthreads.exp: Update exit query.
7115
7116 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7117
7118 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7119
7120 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7121
7122 * gdb.base/watchpoint.c (global_ptr, func4): New.
7123 (main): Call func4.
7124 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7125 (test_inaccessible_watchpoint): New.
7126
7127 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7128
7129 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7130 select the largest.
7131
7132 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7133
7134 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7135 frames-invalid annotations.
7136
7137 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7138
7139 * gdb.base/assign.exp: avoid same output for different tests.
7140
7141 2008-02-27 Doug Evans <dje@google.com>
7142
7143 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7144 for bug 1738.
7145 (breakpoint_to_handler_entry): Ditto.
7146
7147 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7148
7149 * gdb.base/ending-run.exp: Use the first line of code inside
7150 function body to test breakpoints.
7151 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7152 location where the breakpoint is inserted when using the line
7153 where a function is declared. Fix typo in the description of
7154 one of the tests.
7155 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7156
7157 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7158
7159 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7160 tests.
7161
7162 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7163
7164 * gdb.base/args.exp: avoid same output for tests
7165 with single quotes.
7166
7167 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7168
7169 * gdb.base/annota1.exp: Adjust for 'info break'
7170 format changes.
7171 * gdb.base/annota3.exp: Likewise.
7172 * gdb.base/break.exp: Likewise.
7173 * gdb.base/condbreak.exp: Likewise.
7174 * gdb.base/pending.exp: Likewise.
7175 * gdb.base/sepdebug.exp: Likewise.
7176 * gdb.base/unload.exp: Likewise.
7177 * gdb.cp/ovldbreak.exp: Likewise.
7178 * gdb.mi/mi-pending.exp: Likewise.
7179
7180 2008-02-07 Doug Evans <dje@google.com>
7181
7182 * gdb.cp/mb-inline.exp: New.
7183 * gdb.cp/mb-inline.h: New.
7184 * gdb.cp/mb-inline1.cc: New.
7185 * gdb.cp/mb-inline2.cc: New.
7186
7187 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7188
7189 * gdb.pascal/floats.pas: New test program.
7190 * gdb.pascal/floats.exp: New testcase.
7191
7192 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7193
7194 * gdb.base/callfuncs.c (t_float_many_args): New function.
7195 (t_double_many_args): New function.
7196 * gdb.base/callfuncs.exp: Add tests for exceeding float
7197 and double parameters passed through the stack.
7198
7199 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7200
7201 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7202 gdb.ada/complete/foo.adb: New files.
7203 * gdb.ada/complete.exp: New testcase.
7204
7205 2008-02-03 Doug Evans <dje@google.com>
7206
7207 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7208
7209 * gdb.cp/gdb2384.exp: New file.
7210 * gdb.cp/gdb2384.cc: New file.
7211 * gdb.cp/gdb2384-base.h: New file.
7212 * gdb.cp/gdb2384-base.cc: New file.
7213
7214 2008-02-02 Doug Evans <dje@google.com>
7215
7216 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7217
7218 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7219
7220 * gdb.ada/sym_print_name: New test program.
7221 * gdb.ada/sym_print_name.exp: New testcase.
7222
7223 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7224
7225 * gdb.ada/nested/hello.adb: New file.
7226 * gdb.ada/nested.exp: New testcase.
7227 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7228
7229 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7230
7231 * gdb.mi/basic.c (return_1): New function.
7232 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7233 don't cause future evaluations of function to report
7234 creation of internal breakpoints.
7235
7236 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7237
7238 * gdb.mi/mi-break.exp (test_error): New.
7239 Call it.
7240
7241 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7242
7243 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7244 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7245
7246 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7247
7248 * gdb.pascal/integers.pas: New test program.
7249 * gdb.pascal/integers.exp: New testcase.
7250
7251 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7252
7253 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7254
7255 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7256
7257 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7258 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7259
7260 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7261
7262 * gdb.ada/formatted_ref: New test program.
7263 * gdb.ada/formatted_ref.exp: New testcase.
7264
7265 * gdb.cp/formatted-ref.cc: New file.
7266 * gdb.cp/formatted-ref.exp: New testcase.
7267
7268 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7269
7270 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7271
7272 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7273
7274 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7275 (test_file_list_exec_source_file): Update to new macro-info field.
7276
7277 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7278
7279 * gdb.ada/exprs: New test program.
7280 * gdb.ada/exprs.exp: New testcase.
7281
7282 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7283
7284 * dfp-test.c (DELTA, DELTA_B): New definitions.
7285 (double_val1, double_val2, double_val3, double_val4, double_val5,
7286 double_val6, double_val7, double_val8, double_val9, double_val10,
7287 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7288 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7289 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7290 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7291 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7292 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7293 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7294 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7295 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7296 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7297 dec128_val16): New global variables.
7298 (decimal_dec128_align): New function.
7299 (decimal_mixed): Likewise.
7300 (decimal_many_args_dec32): Likewise.
7301 (decimal_many_args_dec64): Likewise.
7302 (decimal_many_args_dec128): Likewise.
7303 (decimal_many_args_mixed): Likewise.
7304 * dfp-test.exp: Add tests calling new inferior functions.
7305
7306 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7307
7308 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7309 gdb.server/ext-run.exp: New files.
7310 * lib/gdbserver-support.exp (gdbserver_download): New.
7311 (gdbserver_start): New. Update gdbserver expected
7312 output.
7313 (gdbserver_spawn): Use them.
7314 (gdbserver_start_extended): New.
7315
7316 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7317
7318 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7319 Run on GNU/Linux.
7320 (do_exec_tests): Check for systems which do not support catchpoints.
7321 Do not match START.
7322 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7323 Run on GNU/Linux. Enable verbose output.
7324 (check_fork_catchpoints): New.
7325 (explicit_fork_child_follow, catch_fork_child_follow)
7326 (tcatch_fork_parent_follow): Update expected messages.
7327 (do_fork_tests): Use check_fork_catchpoints.
7328 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7329 Run on GNU/Linux. Enable verbose output.
7330 (check_vfork_catchpoints): New.
7331 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7332 expected messages.
7333 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7334
7335 2008-01-29 Jim Blandy <jimb@red-bean.com>
7336
7337 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7338 host' errors.
7339 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7340
7341 2008-01-29 Jim Blandy <jimb@red-bean.com>
7342
7343 * gdb.threads/sigthread.c: Use barriers to ensure that
7344 child_thread and child_thread_two are always initialized before we
7345 start to use them.
7346
7347 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7348
7349 * gdb.base/watchpoint-solib.exp: New.
7350 * gdb.base/watchpoint-solib.c: New.
7351 * gdb.base/watchpoint-solib-shr.c: New.
7352
7353 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7354
7355 * gdb.base/gdb1056.exp: Add unsigned integer test.
7356
7357 2008-01-28 Doug Evans <dje@google.com>
7358
7359 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7360
7361 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7362
7363 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7364
7365 * gdb.base/expand-psymtabs.exp: Doc fix.
7366
7367 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7368
7369 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7370
7371 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7372
7373 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7374 -var-set-format.
7375
7376 2008-01-23 Chris Demetriou <cgd@google.com>
7377
7378 * gdb.threads/thread_events.c: New testcase source file.
7379 * gdb.threads/thread_events.exp: New testcase expect file.
7380
7381 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7382
7383 * lib/gdb.exp: Add the variable octal.
7384
7385 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7386 -var-set-format.
7387
7388 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7389 Vladimir Prus <vladimir@codesourcery.com>
7390
7391 * gdb.base/float.exp: Allow missing floating point for m68k and
7392 PowerPC.
7393
7394 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7395
7396 * gdb.mi/basics.c: Setup for testing breakpoints
7397 ignore count.
7398 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7399 * gdb.mi/mi-cli.exp: Adjust.
7400 * gdb.mi/mi2-cli.exp: Adjust.
7401
7402 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7403
7404 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7405 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7406 with dummy_ptr's address.
7407 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7408 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7409 all targets.
7410 * gdb.mi/mi2-var-child.exp: Likewise.
7411
7412 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7413
7414 * gdb.ada/null_array: New test program.
7415 * gdb.ada/null_array.exp: New testcase.
7416
7417 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7418
7419 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7420 with required float modifiers.
7421
7422 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7423
7424 * gdb.ada/funcall_param: New test program.
7425 * gdb.ada/funcall_param.exp: New testcase.
7426
7427 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7428
7429 * gdb.ada/arrayparam: New test program.
7430 * gdb.ada/arrayparam.exp: New testcase.
7431
7432 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7433
7434 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7435 landed. Should also fix random failures in the test following it.
7436
7437 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7438
7439 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7440 for expressions with decimal float values.
7441 (test_dfp_conversions): New function to test casts to and from
7442 decimal float types.
7443 Call test_dfp_conversions.
7444 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7445 elements.
7446 (main): Initialize ds.float4 and ds.double8 elements.
7447 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7448 string to new error message.
7449 (d64_set_tests): Likewise.
7450 (d128_set_tests): Likewise.
7451 Add tests for expressions with decimal float variables. Add tests for
7452 conversions to and from decimal float types.
7453
7454 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7455
7456 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7457 * gdb.ada/packed_tagged.exp: New testcase.
7458
7459 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7460
7461 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7462 gdb.ada/homonym/homonym_main.adb: New files.
7463 * gdb.ada/homonym.exp: New testcase.
7464
7465 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7466
7467 * gdb.ada/packed_array.exp: Add testing of references to
7468 a packed array.
7469
7470 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7471
7472 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7473 New files.
7474 * gdb.ada/type_coercion.exp: New testcase.
7475
7476 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7477
7478 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7479 gdb.ada/tagged/foo.adb: New file.
7480 * gdb.ada/tagged.exp: New testcase.
7481
7482 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7483
7484 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7485 gdb.ada/ptype_field/foo.adb: New files.
7486 * gdb.ada/ptype_field.exp: New testcase.
7487
7488 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7489
7490 * gdb.ada/print_pc.exp: New testcase.
7491
7492 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7493
7494 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7495 gdb.ada/taft_type/p.adb: New files.
7496 * gdb.ada/taft_type.exp: New testcase.
7497
7498 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7499
7500 * gdb.ada/array_bounds/bar.adb: New file.
7501 * gdb.ada/array_bounds.exp: New testcase.
7502
7503 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7504
7505 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7506 gdb.ada/arrayptr/foo.adb: New files.
7507 * gdb.ada/arrayptr.exp: New testcase.
7508
7509 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7510
7511 * gdb.base/set-lang-auto.exp: New testcase.
7512
7513 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7514
7515 * gdb.ada/fun_addr/foo.adb: New file.
7516 * gdb.ada/fun_addr.exp: New testcase.
7517
7518 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7519
7520 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7521 New files
7522
7523 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7524
7525 * array_subscript_addr/p.adb: New file.
7526 * array_subscript_addr.exp: New testcase.
7527
7528 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7529
7530 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7531 New files.
7532 * gdb.ada/str_cmp_ref.exp: New testcase.
7533
7534 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7535
7536 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7537 gdb.ada/fun_in_declare/foo.adb: New files.
7538 * gdb.ada/fun_in_declare.exp: New testcase.
7539
7540 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7541
7542 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7543 gdb.ada/ref_param/pck.ads: New files.
7544 * gdb.ada/ref_param.exp: New testcase.
7545
7546 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7547
7548 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7549 gdb.ada/interface/foo.adb: New files.
7550 * gdb.ada/interface.exp: New testcase.
7551
7552 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7553
7554 * gdb.base/multi-forks.exp: Consume all output from child
7555 processes before proceeding to next test.
7556
7557 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7558
7559 * configure: Regenerated.
7560
7561 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7562
7563 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7564 gdb.ada/fixed_cmp/fixed.adb: New files.
7565 * gdb.ada/fixed_cmp.exp: New testcase.
7566
7567 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.ada/boolean_expr.exp: New testcase.
7570
7571 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7572
7573 * gdb.base/multi-forks.exp: Doc fix.
7574
7575 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7576
7577 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7578 * gdb.ada/char_param.exp: Do not compile our test program with
7579 -gnata, this is unnecessary.
7580 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7581
7582 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7583
7584 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7585 gdb.ada/print_chars/foo.adb: New files.
7586 * gdb.ada/print_chars.exp: New testcase.
7587
7588 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7589
7590 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7591 gdb.ada/char_param/foo.adb: New files.
7592 * gdb.ada/char_param.exp: New testcase.
7593
7594 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7595
7596 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7597 hard-coding source line numbers into the test.
7598 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7599 gdb_get_line_number to find.
7600
7601 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7602
7603 * gdb.base/ptype.c (highest): New struct type.
7604 (the_highest): New variable of that type.
7605 (main): Add dummy assignment to a field of variable the_highest.
7606 * gdb.base/ptype.exp: Test type printing of our new variable.
7607
7608 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7609
7610 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7611 and record first explicitly generated thread number.
7612 Use that thread number for thread specific watchpoint test.
7613 Add iteration number to repetitive tests.
7614
7615 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7616 Jim Blandy <jimb@codesourcery.com>
7617
7618 * gdb.base/expand-psymtabs.c: New testcase
7619 source file.
7620 * gdb.base/expand-psymtabs.exp: New testcase
7621 expect file.
7622
7623 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7624
7625 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7626 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7627
7628 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7629
7630 * gdb.ada/frame_args/foo.adb: New file.
7631 * gdb.ada/frame_args/pck.ads: New file.
7632 * gdb.ada/frame_args/pck.adb: New file.
7633 * gdb.ada/frame_args.exp: New testcase.
7634
7635 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7636
7637 * gdb.base/frame-args.c: New file.
7638 * gdb.base/frame-args.exp: New testcase.
7639
7640 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7641 Joseph Myers <joseph@codesourcery.com>
7642
7643 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7644
7645 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7646
7647 * gdb.mi/mi-pending.exp: New.
7648 * gdb.mi/mi-pending.c: New.
7649 * gdb.mi/mi-pendshr.c: New.
7650
7651 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7652
7653 * gdb.base/default.exp: Update expected output for 'info catch'.
7654
7655 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7656
7657 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7658 must be set to binary.
7659
7660 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7661
7662 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7663
7664 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7665
7666 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7667 gdb.mi/mi-file-transfer.exp: New.
7668
7669 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7672
7673 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7674
7675 * gdb.trace/backtrace.exp: Fix a typo.
7676 * gdb.trace/circ.exp: Likewise.
7677 * gdb.trace/collection.exp: Likewise.
7678 * gdb.trace/limits.exp: Likewise.
7679 * gdb.trace/report.exp: Likewise.
7680 * gdb.trace/tfind.exp: Likewise.
7681 * gdb.trace/while-dyn.exp: Likewise.
7682
7683 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7684
7685 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7686 objects of pointers that can't be dereferenced are now
7687 "noneditable".
7688
7689 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7690
7691 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7692 (target_cpu): Remove.
7693
7694 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7695
7696 * gdb.base/ending-run.exp: Expect the list of cleared
7697 breakpoint to come in natural order, not the reversed one.
7698
7699 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7700
7701 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7702 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7703
7704 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7705
7706 * gdb.base/printcmds.exp: New function
7707 test_printf_with_dfp.
7708
7709 2007-11-02 Doug Evans <dje@google.com>
7710
7711 * gdb.disasm/t01_mov.s: Remove carriage returns.
7712 * gdb.disasm/t02_mova.s: Ditto.
7713 * gdb.disasm/t03_add.s: Ditto.
7714 * gdb.disasm/t04_sub.s: Ditto.
7715 * gdb.disasm/t05_cmp.s: Ditto.
7716 * gdb.disasm/t06_ari2.s: Ditto.
7717 * gdb.disasm/t07_ari3.s: Ditto.
7718 * gdb.disasm/t08_or.s: Ditto.
7719 * gdb.disasm/t09_xor.s: Ditto.
7720 * gdb.disasm/t10_and.s: Ditto.
7721 * gdb.disasm/t11_logs.s: Ditto.
7722 * gdb.disasm/t12_bit.s: Ditto.
7723 * gdb.disasm/t13_otr.s: Ditto.
7724
7725 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7726
7727 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7728
7729 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7730
7731 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7732 provide DFP support.
7733
7734 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7735
7736 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7737 Test "set powerpc vector-abi". Skip auto-detection tests for old
7738 toolchains.
7739
7740 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7741
7742 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7743 with [string compare].
7744
7745 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7746
7747 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7748 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7749
7750 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7751
7752 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7753 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7754 * gdb.opt/Makefile.in: New makefile.
7755 * Makefile.in: Create new directory "gdb.opt".
7756 * configure.ac: Add "gdb.opt" directory.
7757 * configure: Regenerated.
7758
7759 2007-10-25 Doug Evans <dje@google.com>
7760
7761 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7762 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7763
7764 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7765 Thiago Jung Bauermann <bauerman@br.ibm.com>
7766
7767 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7768 Floating Point expressions.
7769 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7770 Floating Point variables.
7771 * gdb.base/dfp-test.c: new file containing program with Decimal
7772 Floating variables, used by gdb.base/dfp-test.exp.
7773
7774 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7775
7776 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7777
7778 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7779
7780 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7781 compiling test case with GCC.
7782 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7783
7784 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7785
7786 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7787 format changes.
7788
7789 2007-10-18 Michael Snyder <msnyder@specifix.com>
7790
7791 * gdb.base/dbx.exp: Add missing "-re " operator.
7792
7793 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7794
7795 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7796 * configure.ac: Removed trailing spaces after backslash.
7797 * gdb.modula2: New directory.
7798 * gdb.modula2/Makefile.in: New file.
7799 * gdb.modula2/unbounded-array.exp: New file.
7800 * gdb.modula2/unbounded1.c: New file.
7801
7802 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7803
7804 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7805
7806 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7807
7808 * gdb.base/sigstep.c (main): Add checks for
7809 return values for setitimer call.
7810 Call setitimer again with itimer = ITIMER_REAL
7811 if first call to setitimer fails.
7812
7813 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7814
7815 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7816 of $timeout.
7817
7818 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7819
7820 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7821
7822 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7823
7824 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7825 of gdb_expect call, to avoid interruption.
7826
7827 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7828
7829 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7830 (v_unsigned_long_long, v_long_long_array)
7831 (v_signed_long_long_array, v_unsigned_long_long_array)
7832 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7833 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7834 [!NO_LONG_LONG]: New.
7835 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7836 v_long_long_member.
7837
7838 (v_long_long_func, v_signed_long_long_func)
7839 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7840 (main) [!NO_LONG_LONG]: Initialize long long variants.
7841
7842 * gdb.base/whatis.exp: If board file requests no_long_long, build
7843 test with NO_LONG_LONG defined. Test long long, signed long long,
7844 and unsigned long long variants but only if board file doesn't
7845 disable it.
7846
7847 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7848 Daniel Jacobowitz <dan@codesourcery.com>
7849
7850 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7851 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7852 * configure: Regenerated.
7853 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7854 gdb.pascal/types.exp, lib/pascal.exp: New files.
7855
7856 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7857
7858 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7859 call.
7860 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7861 to return to the call.
7862 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7863 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7864 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7865 * gdb.mi/mi-until.exp (test_until): Likewise.
7866 * gdb.mi/mi2-until.exp (test_until): Likewise.
7867
7868 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7869
7870 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7871 two-char array.
7872 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7873
7874 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7875
7876 * gdb.threads/watchthreads.c (thread_function): Sleep between
7877 iterations.
7878 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7879 at once for S/390. Generate matching fails and passes.
7880
7881 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7882
7883 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7884 the 'struct_declarations' variable to zeros.
7885
7886 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7887
7888 * gdb.cp/mb-ctor.cc: New.
7889 * gdb.cp/mb-ctor.exp: New.
7890 * gdb.cp/mb-templates.cc: New.
7891 * gdb.cp/mb-templates.exp: New.
7892
7893 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7894
7895 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7896
7897 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7898
7899 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7900 targets.
7901 * configure: Regenerate.
7902
7903 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7904
7905 * gdb.base/annota1.exp: Adjust for 'info break'
7906 format changes.
7907 * gdb.base/annota3.exp: Likewise.
7908 * gdb.base/break.exp: Likewise.
7909 * gdb.base/condbreak.exp: Likewise.
7910 * gdb.base/pending.exp: Likewise.
7911 * gdb.base/sepdebug.exp: Likewise.
7912 * gdb.base/unload.exp: Likewise.
7913 * gdb.base/ovldbreak.exp: Likewise.
7914
7915 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7916
7917 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7918 messages.
7919 * gdb.base/chng-syms.exp: Likewise.
7920 * gdb.base/unload.exp: Likewise.
7921
7922 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7923
7924 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7925
7926 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7927
7928 * schedlock.c (NUM): Change to 1.
7929 (main): Use args[0] for the main thread.
7930 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7931 regardless of the number of threads.
7932
7933 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7934
7935 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7936 type down.
7937 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7938 test.
7939 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7940 watchpoint type down.
7941 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7942 test.
7943
7944 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7945
7946 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7947 Move all the tests here and run them twice, once using software
7948 watchpoints and once using hardware watchpoints.
7949 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7950
7951 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7952
7953 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7954 test.
7955
7956 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7957
7958 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7959 build-id.
7960
7961 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7962 know about $ORIGIN. Calculate output dir from $dest instead of
7963 using ${objdir}/{$subdir}.
7964
7965 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7966
7967 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7968 gcore, before continuing with the test.
7969
7970 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7971
7972 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7973 * gdb.mi/mi-watch.exp: Likewise.
7974
7975 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7976 Jim Blandy <jimb@codesourcery.com>
7977
7978 * gdb.arch/i386-sse.exp: Do not expect character constants.
7979 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7980 * gdb.base/display.exp: Allow print/s.
7981 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7982 and unsigned char array changes.
7983
7984 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7985
7986 * gdb.base/display.exp: Add tests for printf %p.
7987
7988 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7989
7990 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7991 the dll name to unicode.
7992
7993 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7994
7995 * gdb.base/default.exp (show version): Update the version text.
7996 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7997
7998 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7999
8000 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8001 New files.
8002
8003 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8004
8005 * lib/gdb.exp (build_id_debug_filename_get): New function.
8006 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8007 Remove the generate DEBUG file for the future testcase runs.
8008 New testcase for the NT_GNU_BUILD_ID retrieval.
8009 Move the final testing step to ...
8010 (test_different_dir): ... a new function.
8011 New parameter XFAIL to XFAIL all the tests performed.
8012 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8013 New parameter TYPE to PF_PREFIX all the tests performed.
8014
8015 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8016
8017 * gdb.mi/mi-var-cp.cc (path_expression): New
8018 function.
8019 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8020
8021 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8022
8023 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8024 to fit into SPU Local Store memory.
8025
8026 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8027
8028 * gdb.base/default.exp: Adjust the expected output of "info
8029 warranty" after the switch to GPLv3.
8030
8031 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8032
8033 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8034 to 30000 (from 20000).
8035
8036 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8037
8038 Switch the license of all .exp files to GPLv3.
8039 Switch the license of all .f and .f90 files to GPLv3.
8040 Switch the license of all .s and .S files to GPLv3.
8041
8042 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8043
8044 * configure.ac: Switch license to GPLv3.
8045
8046 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8047
8048 Switch the licensing to GPLv3 for all .ads and .adb files.
8049
8050 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8051
8052 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8053 and t_int_double.
8054 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8055
8056 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8057
8058 * gdb.base/step-line.c: Switch license to GPL version 3, and
8059 update copyright year.
8060 * gdb.base/step-line.inp: Likewise.
8061
8062 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8063
8064 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8065 changes inside gdb1555.c.
8066 * gdb.base/pending.exp: Likewise.
8067
8068 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8069
8070 * config/default.exp: New file.
8071
8072 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8073
8074 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8075 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8076
8077 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8078
8079 * gdb.base/dump.exp: Force the correct endianness for binary
8080 formats not carrying this information.
8081
8082 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8083
8084 * gdb.threads/staticthreads.exp: Match .*sem_post.
8085
8086 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8087
8088 * gdb.base/readline.exp (operate_and_get_next): Match the final
8089 prompt.
8090
8091 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8092
8093 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8094 to restarting SID.
8095
8096 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8097
8098 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8099 prior to `gdb_start'.
8100
8101 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8102
8103 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8104 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8105 Remove call to gdb_unload.
8106
8107 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8108 Daniel Jacobowitz <dan@codesourcery.com>
8109
8110 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8111 for __WIN32__.
8112 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8113 * gdb.base/unload.exp: Use shared library test routines.
8114
8115 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8116
8117 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8118 * gdb.base/solib-symbol-lib.c: Likewise.
8119 * gdb.base/solib-symbol-main.c: Likewise.
8120
8121 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8122
8123 * config/gdbserver.exp (gdb_reconnect): New.
8124 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8125 gdb.base/solib-disc.exp: New files.
8126 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8127 remote debugging".
8128 (gdb_compile): Add shlib_load flag.
8129 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8130 port.
8131 (gdbserver_reconnect): New.
8132
8133 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8134 Daniel Jacobowitz <dan@codesourcery.com>
8135
8136 * gdb.base/annota3.exp: Test for if construct.
8137
8138 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8139
8140 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8141
8142 2007-06-21 Chris Dearman <chris@mips.com>
8143 Maciej W. Rozycki <macro@mips.com>
8144
8145 * gdb.base/display.exp: Allow a newline after display/i.
8146 * gdb.base/pc-fp.exp: Likewise.
8147 * gdb.base/sigbpt.exp: Likewise.
8148
8149 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8150
8151 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8152 required features to be included.
8153
8154 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8155
8156 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8157 in info threads output.
8158
8159 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8160 Markus Deuling <deuling@de.ibm.com>
8161
8162 * gdb.arch/spu-info.exp: New testcase.
8163 * gdb.arch/spu-info.c: New file.
8164
8165 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8166
8167 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8168 tpcs_offset. Restore lr after the call.
8169 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8170
8171 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8172
8173 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8174 (gdbserver_run): Kill any running gdbserver.
8175 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8176
8177 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8178
8179 * gdb.base/sigbpt.exp: Preset segv_addr.
8180
8181 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8182
8183 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8184 (gdb_compile_shlib): Likewise.
8185 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8186 (default_gdb_init): Clear cleanfiles.
8187 (gdb_finish): Delete recorded cleanfiles.
8188 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8189
8190 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8191 Do not use isnative.
8192 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8193 gdb.base/so-impl-ld.exp: Likewise.
8194 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8195 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8196 gdb_compile.
8197
8198 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8199
8200 * config/unknown.exp: Remove.
8201
8202 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8203
8204 * gdb.base/info-proc.exp: Check is_remote.
8205
8206 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8207
8208 * gdb.base/gcore.exp: Initialize variable core_supported.
8209
8210 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8211
8212 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8213
8214 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8215
8216 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8217 * gdb.threads/print-threads.exp (test_all_threads): Allow
8218 negative and hexadecimal thread IDs.
8219
8220 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8221
8222 * gdb.java/jprint.java (public): Avoid invalid call to static
8223 method.
8224
8225 2007-05-14 Denis Pilat <denis.pilat@st.com>
8226
8227 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8228 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8229 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8230 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8231 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8232
8233 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8234
8235 * gdb.base/overlays.exp: Add support for targets with only code
8236 overlay support, not data overlay. Support spu-*-* target in
8237 this mode.
8238 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8239 * gdb.base/spu.ld: New file.
8240
8241 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8242
8243 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8244
8245 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8246
8247 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8248
8249 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8250
8251 * gdb.java/jmain.exp: Handle demangled names with and without method
8252 signatures.
8253
8254 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8255
8256 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8257 (have_a_very_merry_interrupt): Remove calls to puts.
8258 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8259 inferior output.
8260 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8261 test names.
8262
8263 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8264 Daniel Jacobowitz <dan@codesourcery.com>
8265
8266 * gdb.base/auxv.exp (core_works): Also check is_remote.
8267 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8268
8269 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8270
8271 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8272 message, not the undefined 'module' variable.
8273 * gdb.base/siginfo.exp: Likewise.
8274 * gdb.base/sigstep.exp: Likewise.
8275 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8276 serialport.
8277 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8278
8279 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8280
8281 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8282 target sim fails. Return 0 otherwise.
8283 (gdb_load): Return prematurely if gdb_target_sim fails.
8284
8285 2007-04-16 Denis Pilat <denis.pilat@st.com>
8286
8287 * gdb.base/setshow.exp: Reset height after having set it to 100.
8288
8289 2007-04-16 Denis Pilat <denis.pilat@st.com>
8290
8291 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8292
8293 2007-04-16 Denis Pilat <denis.pilat@st.com>
8294
8295 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8296
8297 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8298
8299 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8300 tests. Run the frozen varobjs test.
8301 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8302 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8303
8304 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8305
8306 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8307 gdb.base/type-opaque.exp: New files.
8308
8309 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8310
8311 * gdb.mi/mi-var-child.c
8312 (do_children_tests): User char[2] instead of
8313 char so that automatic printing of pointers to char
8314 don't give unpredicable result.
8315 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8316 local variables.
8317 * gdb.mi/mi-var-child.exp: Step to right line
8318 of do_children_tests.
8319 * gdb.mi/mi2-var-child.exp: Likewise.
8320 * gdb.mi/mi-var-cmd.exp: Step to right line of
8321 do_locals_tests.
8322 (do_children_tests): User char[2] instead of
8323 char so that automatic printing of pointers to char
8324 don't give unpredicable result.
8325 * gdb.mi/mi2-var-cmd.exp: Likewise.
8326 * lib/mi-support.exp (mi_continue_to_line):
8327 Pass test name to mi_wait_for_stop.
8328
8329 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8330
8331 * gdb.asm/asm-source.exp: Remove d10v case.
8332 * lib/gdb.exp (skip_cplus_tests): Likewise.
8333 * gdb.asm/d10v.inc: Deleted.
8334
8335 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8336
8337 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8338
8339 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8340
8341 * config/netware.exp: Delete file.
8342
8343 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8344
8345 * gdb.dwarf2/dw2-noloc.S: New file.
8346 * gdb.dwarf2/dw2-noloc.exp: New file.
8347
8348 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8349
8350 * gdb.cp/method2.cc: New test.
8351 * gdb.cp/method2.exp: New test.
8352 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8353
8354 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8355
8356 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8357
8358 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8359
8360 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8361
8362 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8363
8364 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8365 (gdb_load): Delete, replace with...
8366 (gdb_reload): ...this.
8367 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8368 * gdb.server/server-mon.exp: Likewise.
8369 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8370 (gdb_start_cmd): New.
8371 (gdb_file_cmd): Save the last loaded file.
8372 (gdb_reload): New.
8373 (gdb_gnu_strip_debug): Use transform.
8374 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8375 support here. Use new $last_loaded_file. Check mtime.
8376 (gdb_target_cmd): Handle ObjC failure case.
8377 (infer_host_exec): Delete.
8378 (gdbserver_load): Rename to...
8379 (gdbserver_run): ...this. Simplify.
8380 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8381 (mi_gdb_load): Move most contents to a new function...
8382 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8383 (mi_run_cmd): Use mi_gdb_target_load.
8384 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8385 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8386 Use gdb_run_cmd.
8387 * gdb.base/charsign.exp: Remove incorrect comment.
8388 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8389 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8390 gdb.base/start.exp: Use gdb_start_cmd.
8391
8392 2007-03-23 Nigel Stephens <nigel@mips.com>
8393 Maciej W. Rozycki <macro@mips.com>
8394
8395 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8396 * gdb.base/signull.exp: Similarly.
8397
8398 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8399
8400 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8401 messages available to test cases (like chng-sym.exp).
8402
8403 2007-03-14 Andreas Schwab <schwab@suse.de>
8404
8405 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8406 format changes.
8407
8408 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8409
8410 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8411 (optimized_1): New.
8412 (main): Call optimized_1.
8413 (gdb2029): Correct typos. Call gdb2029_marker.
8414 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8415 for gdb2029.
8416
8417 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8418
8419 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8420 as tabs. Remove redundant test pattern.
8421
8422 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8423
8424 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8425 for /a format output.
8426
8427 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8428
8429 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8430 collect output incrementally.
8431
8432 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8433
8434 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8435 for -var-create lpcharacter test.
8436 * gdb.mi/mi2-var-cmd.exp: Likewise.
8437
8438 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8439
8440 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8441 pass on targets where address zero is readable.
8442
8443 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8444
8445 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8446 just a single architecture.
8447
8448 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8449
8450 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8451 (fetch_all_registers): New function, uses gdb_test_multiple and
8452 exp_continue to fetch inferior output line-by-line.
8453 Replace all uses of do_get_all_registers by fetch_all_registers.
8454
8455 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8456
8457 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8458 in target_info.
8459
8460 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8461
8462 * gdb.threads/manythreads.exp: Use $message string for
8463 consistancy; add a default (timeout) case.
8464
8465 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8466
8467 * gdb.base/watchpoint.exp: Fix truncated comment.
8468
8469 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8470
8471 * Makefile.in: Remove spurious single-quotes from sed command.
8472
8473 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8474
8475 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8476 func.
8477 * gdb.mi/mi2-var-cmd.exp: Likewise.
8478
8479 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8480
8481 * gdb.dwarf2/dw2-producer.S: New file.
8482 * gdb.dwarf2/dw2-producer.exp: New testcase.
8483
8484 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8485
8486 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8487 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8488 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8489 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8490 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8491 Revert tests to use mi_gdb_test and include value field in output
8492 of -var-create.
8493
8494 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8495
8496 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8497
8498 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8499
8500 * gdb.base/maint.exp: Remove full paths from test names.
8501 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8502 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8503
8504 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8505
8506 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8507
8508 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8509
8510 * gdb.server/server-mon.exp: New test.
8511
8512 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8513
8514 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8515
8516 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8517
8518 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8519 register capitalization.
8520
8521 2007-02-13 Denis Pilat <denis.pilat@st.com>
8522
8523 * gdb.mi/mi-var-invalidate.exp: New file.
8524
8525 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8526
8527 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8528
8529 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8530
8531 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8532
8533 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8534
8535 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8536 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8537
8538 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8539
8540 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8541 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8542 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8543 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8544 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8545 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8546 Update tests to include value field in output of -var-create.
8547
8548 2007-02-08 Andreas Schwab <schwab@suse.de>
8549
8550 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8551
8552 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8553
8554 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8555 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8556
8557 2007-02-02 Denis Pilat <denis.pilat@st.com>
8558
8559 * gdb.threads/threadapply.exp: check that frame is not changed by
8560 the thread apply all command.
8561
8562 2007-01-31 Andreas Schwab <schwab@suse.de>
8563
8564 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8565
8566 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8567 in the dwarf sections.
8568 * gdb.dwarf2/mac-fileno.S: Likewise.
8569
8570 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8571 bspstore register on ia64.
8572
8573 2007-01-29 Andreas Schwab <schwab@suse.de>
8574
8575 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8576 "frame-begin" annotation.
8577
8578 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8579 number of "frames-invalid" annotations.
8580
8581 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8582
8583 * gdb.base/commands.exp: Call if_commands_test.
8584 (gdb_test_no_prompt, if_commands_test): New.
8585
8586 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8587
8588 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8589
8590 2007-01-27 Andreas Schwab <schwab@suse.de>
8591
8592 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8593 .short/.int/.quad in the dwarf sections.
8594 * gdb.dwarf2/dw2-intercu.S: Likewise.
8595 * gdb.dwarf2/dw2-intermix.S: Likewise.
8596
8597 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8598
8599 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8600 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8601 array.
8602 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8603 * gdb.base/setvar.exp: Likewise.
8604
8605 2007-01-26 Andreas Schwab <schwab@suse.de>
8606
8607 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8608 test.
8609
8610 * gdb.base/multi-forks.exp ("restart $i"): Also match
8611 __kernel_syscall_via_break.
8612
8613 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8614
8615 * lib/mi-support.exp (mi_delete_varobj): New.
8616 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8617 testcase.
8618 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8619 (main): Call the above.
8620 (reference_update_test, base_in_reference_test)
8621 (reference_to_pointer): Delete the created varobjs.
8622
8623 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8624
8625 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8626 * configure: Regenerated.
8627 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8628 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8629 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8630 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8631 * lib/gdb.exp (gdb_skip_xml_test): New function.
8632
8633 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8634
8635 * gdb.base/sigrepeat.exp: Correct error message.
8636
8637 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8638 Daniel Jacobowitz <dan@codesourcery.com>
8639
8640 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8641 gdb.arch/i386-gnu-cfi-asm.S: New files.
8642
8643 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8644
8645 * lib/gdb.exp: Abort on missing `site.exp'.
8646
8647 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8648 Daniel Jacobowitz <dan@codesourcery.com>
8649
8650 * gdb.base/included.c, gdb.base/included.exp,
8651 gdb.base/included.h: New files.
8652
8653 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8654
8655 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8656 (maximize_rlimit): Reduce limits on 64-bit systems.
8657
8658 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8659
8660 From Marcus Deuling <deuling@de.ibm.com>:
8661 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8662 every case.
8663
8664 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8665
8666 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8667 (test_path_specification): Use objdir instead of srcdir to always
8668 get an absolute filename.
8669
8670 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8671
8672 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8673
8674 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8675
8676 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8677 Make sure the variable we're using is in scope.
8678 (reference_to_pointer): Likewise.
8679
8680 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8681
8682 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8683 has no debug information.
8684
8685 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8686
8687 * gdb.base/annota1.exp: Remove extra send_gdb.
8688
8689 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8690
8691 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8692
8693 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8694
8695 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8696
8697 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8698 Daniel Jacobowitz <dan@codesourcery.com>
8699
8700 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8701 lcharacter or linteger change. Correct duplicated test name.
8702 * gdb.mi/mi2-var-cmd.exp: Likewise.
8703
8704 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8705
8706 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8707
8708 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8709
8710 * gdb.base/nofield.c: New file.
8711 * gdb.base/nofield.exp: New testcase.
8712
8713 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8714
8715 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8716
8717 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8718 test.
8719
8720 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8721
8722 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8723
8724 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8725
8726 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8727 when continuing.
8728
8729 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8730
8731 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8732 Expect ".exe" extension.
8733
8734 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8735
8736 * gdb.base/charset.exp: Add explicit filename to break.
8737 * gdb.base/dbx.exp: Add explicit filename to breaks.
8738
8739 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8740
8741 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8742 * gdb.mi/mi2-file.exp: Likewise.
8743
8744 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8745
8746 Implement specification of MI tests as comments
8747 in C and C++ sources.
8748 * lib/mi-support.exp (mi_autotest_data): New variable.
8749 (mi_autotest_source): New variable.
8750 (count_newlines, mi_prepare_inline_tests)
8751 (mi_get_inline_test, mi_continue_to_line)
8752 (mi_run_inline_test, mi_tbreak)
8753 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8754 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8755 Run inline tests.
8756 * gdb.mi/mi-var-cp.cc: Define tests here.
8757
8758 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8759
8760 Simplify usage of mi_continue_to.
8761 * lib/mi-support.exp (mi_runto_helper): Renamed
8762 from mi_runto, added new parameter 'run_or_continue'.
8763 (mi_runto): Use mi_runto_helper.
8764 (mi_continue_to): Accept just function name as parameter.
8765 Use mi_runto_helper.
8766 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8767 * gdb.mi/mi2-var-cmd.exp: Likewise.
8768
8769 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8770
8771 Make this testcase a bit more realistic. The current code
8772 is too simplistic, and allows the compiler to optimize out
8773 some of the entities we need for this testcase.
8774 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8775 (Do_Nothing): Add extra parameter.
8776 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8777 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8778 by using a variable of type Void_Star.
8779
8780 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8781
8782 * gdb.ada/catch_ex/foo.adb: New file.
8783 * gdb.ada/catch_ex.exp: New testcase.
8784
8785 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8786
8787 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8788 pass --image-base to linker.
8789
8790 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8791 Daniel Jacobowitz <dan@codesourcery.com>
8792
8793 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8794 secondary prompts.
8795
8796 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8797
8798 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8799 output. Test the types of members and member pointers.
8800 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8801 gdb/2092.
8802 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8803 statement. Enable for GCC. Update expected output for some tests
8804 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8805 layout.
8806 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8807 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8808 (Diamond::vget_base): New.
8809 (main): Add new tests.
8810 * gdb.cp/printmethod.exp: Update expected output for member functions.
8811 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8812 print pEe->D::vg().
8813
8814 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8815
8816 * gdb.threads/tls.exp: Allow stops in sem_post.
8817
8818 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8819
8820 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8821 * gdb.base/annota3.exp: Likewise.
8822 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8823 again (instead of timing out).
8824 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8825 GCC bug 26475.
8826 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8827 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8828 test from jmisc1.exp.
8829 * gdb.java/jmisc1.exp: Delete.
8830 * gdb.java/jprint.exp: Adjust to work with method signatures including
8831 return types.
8832 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8833 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8834 * lib/java.exp (compile_java_from_source): Pass the correct type
8835 to target_compile.
8836
8837 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8838
8839 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8840 (stack_align_edx): New function.
8841 (stack_align_eax): New function.
8842 (main): Add calls to stack_align_edx and stack_align_eax.
8843 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8844 Add testing for the cases where the register used during a stack
8845 realignment is edx. Same for eax.
8846
8847 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8848
8849 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8850 and generic PE targets.
8851
8852 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8853
8854 * gdb.ada/array_return.exp: Update copyright date list.
8855
8856 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8857
8858 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8859 (Create_Small_Float_Vector): New function.
8860 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8861 function body.
8862 * gdb.ada/array_return/p.adb: Use new type and function from
8863 package Pck.
8864 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8865 able to print the value returned by a function returning an
8866 array of float.
8867
8868 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8869
8870 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8871 The associated tests should be PASSing.
8872
8873 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8874
8875 Test for base in references.
8876 * gdb.mi/mi-var-cp.cc: Add test code.
8877 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8878 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8879 * gdb.mi/mi2-watch.exp: Likewise.
8880 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8881 (mi_list_varobj_children): New function.
8882
8883 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8884
8885 * lib/mi-support.exp
8886 (mi_runto): Accept "()" after function name.
8887 (mi_create_varobj): New function.
8888 (mi_varobj_update): New function.
8889 (mi_Check_varobj_value): New function.
8890 * gdb.mi/mi-var-cp.exp: New file.
8891 * gdb.mi/mi-var-cp.cc: New file.
8892
8893 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8894
8895 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8896 gdb.base/weaklib2.c: New files.
8897
8898 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8899
8900 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8901 info. Adjust test names.
8902
8903 * gdb.base/break.c (main): Move position of malloc.
8904 * gdb.base/break.exp: Revert mistaken checkin.
8905
8906 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8907
8908 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8909 assignement of arrays and function pointers.
8910 * gdb.mi/var-cmd.c: Add declaration necessary for above
8911 tests.
8912
8913 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8914
8915 * gdb.base/break.c (main): Call malloc.
8916
8917 * gdb.threads/linux-dp.exp: Read thread table before and after
8918 creating each philosopher and verify it.
8919
8920 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8921 Paul Brook <paul@codesourcery.com>
8922 Daniel Jacobowitz <dan@codesourcery.com>
8923
8924 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8925 main to remove duplication. Add start function of the form
8926 '_*start[1-9]*'. Add RVDS start function.
8927
8928 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8929
8930 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8931
8932 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8933
8934 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8935 * gdb.asm/spu.inc: New file.
8936 * gdb.base/term.exp: Disable if [target_info exists noargs].
8937 * gdb.gdb/complaints.exp: Disable if ![isnative].
8938 * gdb.gdb/selftest.exp: Likewise.
8939 * gdb.gdb/observer.exp: Likewise.
8940 * gdb.gdb/xfullpath.exp: Likewise.
8941 * gdb.base/attach.exp: Disable on SPU target.
8942 * gdb.cp/bs145503.exp: Likewise.
8943 * gdb.cp/exception.exp: Likewise.
8944 * gdb.cp/userdef.exp: Likewise.
8945
8946 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8947
8948 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8949
8950 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8951
8952 * gdb.base/completion.exp: Fix completion tests for
8953 'info' and 'info '.
8954 * gdb.base/help.exp (help_test_raw, test_class_help)
8955 (test_prefix_command_help): Move...
8956 * lib/gdb.exp: Here.
8957 * gdb.base/main.exp: Adjust.
8958 * gdb.cp/maint.exp: Adjust.
8959 * gdb.trace/tracecmd.exp: Use test_help_class.
8960
8961 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8962
8963 * gdb.stabs/weird.exp (print_weird_var): Use
8964 gdb_test_multiple instead of gdb_expect.
8965
8966 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8967
8968 * gdb.base/help.exp (help_test_raw): New.
8969 (test_class_help): New.
8970 (test_prefix_command_help): New.
8971 Adjust testcases.
8972
8973 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8974
8975 * gdb.base/constvars.c (main): Write to crass and crips, so that
8976 they are allocated by the compiler.
8977
8978 2006-10-27 Andreas Schwab <schwab@suse.de>
8979
8980 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8981 "detach-fork".
8982
8983 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8984
8985 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8986 of patterns.
8987
8988 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8989
8990 * gdb.base/sepdebug.exp: Remove debug format test.
8991 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8992 Handle no-symtab.
8993 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8994
8995 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8996
8997 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8998 int to pointer or pointer to int.
8999 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9000
9001 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9002
9003 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9004
9005 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9006
9007 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9008
9009 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9010
9011 PR c++/2116
9012 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9013
9014 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9015
9016 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9017 the corresponding bug has been fixed in GDB (PR/2018).
9018
9019 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9020
9021 * gdb.base/subst.exp: New testcase.
9022
9023 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9024
9025 * gdb.ada/array_return/pck.ads: Add copyright notice.
9026 * gdb.ada/array_return/pck.adb: Likewise.
9027 * gdb.ada/array_return/p.adb: Likewise.
9028 * gdb.ada/exec_changed/first.adb: Likewise.
9029 * gdb.ada/exec_changed/second.adb: Likewise.
9030
9031 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9032
9033 * gdb.ada/watch_arg/watch.adb: New file.
9034 * gdb.ada/watch_arg.exp: New testcase.
9035
9036 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9037
9038 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9039 via string_to_regexp.
9040 * gdb.mi/mi2-basics.exp: Likewise.
9041
9042 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9043
9044 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9045 Remove unused / obsolete files.
9046
9047 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9048
9049 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9050
9051 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9052
9053 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9054 HIGH_FRAME argument to -stack-list-arguments can be larger than
9055 the number of frames.
9056
9057 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9058
9059 * gdb.base/args.c (main): Add breakpoint marker.
9060 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9061 really test empty arguments.
9062 (args_load): Delete.
9063 (args_test): New.
9064
9065 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9066
9067 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9068 check for one file.
9069
9070 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9071
9072 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9073 HIGH_FRAME argument to -stack-list-locals can be larger than
9074 the number of frames.
9075
9076 2006-08-18 Fred Fish <fnf@specifix.com>
9077
9078 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9079 '$' in front of skip_vmx_tests_saved when setting that.
9080
9081 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9082
9083 * gdb.base/trace-commands.exp: New file.
9084
9085 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9086 Daniel Jacobowitz <dan@codesourcery.com>
9087
9088 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9089 expected output of the backtrace commands.
9090
9091 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9092
9093 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9094 untested followed by return combination.
9095 * gdb.arch/altivec-regs.exp: Likewise.
9096 * gdb.arch/e500-abi.exp: Likewise.
9097 * gdb.arch/e500-regs.exp: Likewise.
9098 * gdb.arch/gdb1291.exp: Likewise.
9099 * gdb.arch/gdb1431.exp: Likewise.
9100 * gdb.arch/gdb1558.exp: Likewise.
9101 * gdb.arch/i386-prologue.exp: Likewise.
9102 * gdb.arch/i386-unwind.exp: Likewise.
9103 * gdb.asm/asm-source.exp: Likewise.
9104 * gdb.base/a2-run.exp: Likewise.
9105 * gdb.base/advance.exp: Likewise.
9106 * gdb.base/all-bin.exp: Likewise.
9107 * gdb.base/annota1.exp: Likewise.
9108 * gdb.base/annota3.exp: Likewise.
9109 * gdb.base/args.exp: Likewise.
9110 * gdb.base/arithmet.exp: Likewise.
9111 * gdb.base/assign.exp: Likewise.
9112 * gdb.base/async.exp: Likewise.
9113 * gdb.base/attach.exp: Likewise.
9114 * gdb.base/bang.exp: Likewise.
9115 * gdb.base/bigcore.exp: Likewise.
9116 * gdb.base/bitfields.exp: Likewise.
9117 * gdb.base/bitfields2.exp: Likewise.
9118 * gdb.base/break.exp: Likewise.
9119 * gdb.base/call-sc.exp: Likewise.
9120 * gdb.base/call-strs.exp: Likewise.
9121 * gdb.base/callfuncs.exp: Likewise.
9122 * gdb.base/checkpoint.exp: Likewise.
9123 * gdb.base/chng-syms.exp: Likewise.
9124 * gdb.base/code-expr.exp: Likewise.
9125 * gdb.base/commands.exp: Likewise.
9126 * gdb.base/completion.exp: Likewise.
9127 * gdb.base/cond-expr.exp: Likewise.
9128 * gdb.base/condbreak.exp: Likewise.
9129 * gdb.base/consecutive.exp: Likewise.
9130 * gdb.base/constvars.exp: Likewise.
9131 * gdb.base/corefile.exp: Likewise.
9132 * gdb.base/cvexpr.exp: Likewise.
9133 * gdb.base/dbx.exp: Likewise.
9134 * gdb.base/define.exp: Likewise.
9135 * gdb.base/detach.exp: Likewise.
9136 * gdb.base/display.exp: Likewise.
9137 * gdb.base/dump.exp: Likewise.
9138 * gdb.base/ena-dis-br.exp: Likewise.
9139 * gdb.base/ending-run.exp: Likewise.
9140 * gdb.base/environ.exp: Likewise.
9141 * gdb.base/eval-skip.exp: Likewise.
9142 * gdb.base/exprs.exp: Likewise.
9143 * gdb.base/fileio.exp: Likewise.
9144 * gdb.base/finish.exp: Likewise.
9145 * gdb.base/float.exp: Likewise.
9146 * gdb.base/foll-exec.exp: Likewise.
9147 * gdb.base/foll-fork.exp: Likewise.
9148 * gdb.base/foll-vfork.exp: Likewise.
9149 * gdb.base/freebpcmd.exp: Likewise.
9150 * gdb.base/funcargs.exp: Likewise.
9151 * gdb.base/gcore.exp: Likewise.
9152 * gdb.base/gdb1090.exp: Likewise.
9153 * gdb.base/gdb1250.exp: Likewise.
9154 * gdb.base/huge.exp: Likewise.
9155 * gdb.base/info-proc.exp: Likewise.
9156 * gdb.base/interrupt.exp: Likewise.
9157 * gdb.base/jump.exp: Likewise.
9158 * gdb.base/langs.exp: Likewise.
9159 * gdb.base/lineinc.exp: Likewise.
9160 * gdb.base/list.exp: Likewise.
9161 * gdb.base/logical.exp: Likewise.
9162 * gdb.base/long_long.exp: Likewise.
9163 * gdb.base/macscp.exp: Likewise.
9164 * gdb.base/maint.exp: Likewise.
9165 * gdb.base/mips_pro.exp: Likewise.
9166 * gdb.base/miscexprs.exp: Likewise.
9167 * gdb.base/multi-forks.exp: Likewise.
9168 * gdb.base/opaque.exp: Likewise.
9169 * gdb.base/overlays.exp: Likewise.
9170 * gdb.base/pc-fp.exp: Likewise.
9171 * gdb.base/pointers.exp: Likewise.
9172 * gdb.base/printcmds.exp: Likewise.
9173 * gdb.base/psymtab.exp: Likewise.
9174 * gdb.base/ptype.exp: Likewise.
9175 * gdb.base/recurse.exp: Likewise.
9176 * gdb.base/relational.exp: Likewise.
9177 * gdb.base/relocate.exp: Likewise.
9178 * gdb.base/remote.exp: Likewise.
9179 * gdb.base/reread.exp: Likewise.
9180 * gdb.base/restore.exp: Likewise.
9181 * gdb.base/return.exp: Likewise.
9182 * gdb.base/return2.exp: Likewise.
9183 * gdb.base/scope.exp: Likewise.
9184 * gdb.base/sect-cmd.exp: Likewise.
9185 * gdb.base/sep.exp: Likewise.
9186 * gdb.base/sepdebug.exp: Likewise.
9187 * gdb.base/setshow.exp: Likewise.
9188 * gdb.base/setvar.exp: Likewise.
9189 * gdb.base/sigall.exp: Likewise.
9190 * gdb.base/sigbpt.exp: Likewise.
9191 * gdb.base/signals.exp: Likewise.
9192 * gdb.base/signull.exp: Likewise.
9193 * gdb.base/sizeof.exp: Likewise.
9194 * gdb.base/solib.exp: Likewise.
9195 * gdb.base/step-line.exp: Likewise.
9196 * gdb.base/step-test.exp: Likewise.
9197 * gdb.base/structs.exp: Likewise.
9198 * gdb.base/structs2.exp: Likewise.
9199 * gdb.base/term.exp: Likewise.
9200 * gdb.base/twice.exp: Likewise.
9201 * gdb.base/until.exp: Likewise.
9202 * gdb.base/varargs.exp: Likewise.
9203 * gdb.base/volatile.exp: Likewise.
9204 * gdb.base/watchpoint.exp: Likewise.
9205 * gdb.base/whatis-exp.exp: Likewise.
9206 * gdb.base/whatis.exp: Likewise.
9207 * gdb.cp/ambiguous.exp: Likewise.
9208 * gdb.cp/annota2.exp: Likewise.
9209 * gdb.cp/annota3.exp: Likewise.
9210 * gdb.cp/bool.exp: Likewise.
9211 * gdb.cp/breakpoint.exp: Likewise.
9212 * gdb.cp/casts.exp: Likewise.
9213 * gdb.cp/class2.exp: Likewise.
9214 * gdb.cp/classes.exp: Likewise.
9215 * gdb.cp/cplusfuncs.exp: Likewise.
9216 * gdb.cp/ctti.exp: Likewise.
9217 * gdb.cp/derivation.exp: Likewise.
9218 * gdb.cp/exception.exp: Likewise.
9219 * gdb.cp/gdb1355.exp: Likewise.
9220 * gdb.cp/hang.exp: Likewise.
9221 * gdb.cp/inherit.exp: Likewise.
9222 * gdb.cp/local.exp: Likewise.
9223 * gdb.cp/m-data.exp: Likewise.
9224 * gdb.cp/m-static.exp: Likewise.
9225 * gdb.cp/member-ptr.exp: Likewise.
9226 * gdb.cp/method.exp: Likewise.
9227 * gdb.cp/misc.exp: Likewise.
9228 * gdb.cp/namespace.exp: Likewise.
9229 * gdb.cp/overload.exp: Likewise.
9230 * gdb.cp/ovldbreak.exp: Likewise.
9231 * gdb.cp/pr-1023.exp: Likewise.
9232 * gdb.cp/pr-1210.exp: Likewise.
9233 * gdb.cp/pr-574.exp: Likewise.
9234 * gdb.cp/printmethod.exp: Likewise.
9235 * gdb.cp/psmang.exp: Likewise.
9236 * gdb.cp/ref-params.exp: Likewise.
9237 * gdb.cp/ref-types.exp: Likewise.
9238 * gdb.cp/rtti.exp: Likewise.
9239 * gdb.cp/templates.exp: Likewise.
9240 * gdb.cp/try_catch.exp: Likewise.
9241 * gdb.cp/userdef.exp: Likewise.
9242 * gdb.cp/virtfunc.exp: Likewise.
9243 * gdb.disasm/am33.exp: Likewise.
9244 * gdb.disasm/h8300s.exp: Likewise.
9245 * gdb.disasm/mn10300.exp: Likewise.
9246 * gdb.disasm/sh3.exp: Likewise.
9247 * gdb.disasm/t01_mov.exp: Likewise.
9248 * gdb.disasm/t02_mova.exp: Likewise.
9249 * gdb.disasm/t03_add.exp: Likewise.
9250 * gdb.disasm/t04_sub.exp: Likewise.
9251 * gdb.disasm/t05_cmp.exp: Likewise.
9252 * gdb.disasm/t06_ari2.exp: Likewise.
9253 * gdb.disasm/t07_ari3.exp: Likewise.
9254 * gdb.disasm/t08_or.exp: Likewise.
9255 * gdb.disasm/t09_xor.exp: Likewise.
9256 * gdb.disasm/t10_and.exp: Likewise.
9257 * gdb.disasm/t11_logs.exp: Likewise.
9258 * gdb.disasm/t12_bit.exp: Likewise.
9259 * gdb.disasm/t13_otr.exp: Likewise.
9260 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9261 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9262 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9263 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9264 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9265 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9266 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9267 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9268 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9269 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9270 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9271 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9272 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9273 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9274 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9275 * gdb.mi/gdb701.exp: Likewise.
9276 * gdb.mi/gdb792.exp: Likewise.
9277 * gdb.mi/mi-basics.exp: Likewise.
9278 * gdb.mi/mi-break.exp: Likewise.
9279 * gdb.mi/mi-cli.exp: Likewise.
9280 * gdb.mi/mi-console.exp: Likewise.
9281 * gdb.mi/mi-disassemble.exp: Likewise.
9282 * gdb.mi/mi-eval.exp: Likewise.
9283 * gdb.mi/mi-file.exp: Likewise.
9284 * gdb.mi/mi-read-memory.exp: Likewise.
9285 * gdb.mi/mi-regs.exp: Likewise.
9286 * gdb.mi/mi-return.exp: Likewise.
9287 * gdb.mi/mi-simplerun.exp: Likewise.
9288 * gdb.mi/mi-stack.exp: Likewise.
9289 * gdb.mi/mi-stepi.exp: Likewise.
9290 * gdb.mi/mi-syn-frame.exp: Likewise.
9291 * gdb.mi/mi-until.exp: Likewise.
9292 * gdb.mi/mi-var-block.exp: Likewise.
9293 * gdb.mi/mi-var-child.exp: Likewise.
9294 * gdb.mi/mi-var-cmd.exp: Likewise.
9295 * gdb.mi/mi-var-display.exp: Likewise.
9296 * gdb.mi/mi-watch.exp: Likewise.
9297 * gdb.mi/mi2-basics.exp: Likewise.
9298 * gdb.mi/mi2-break.exp: Likewise.
9299 * gdb.mi/mi2-cli.exp: Likewise.
9300 * gdb.mi/mi2-console.exp: Likewise.
9301 * gdb.mi/mi2-disassemble.exp: Likewise.
9302 * gdb.mi/mi2-eval.exp: Likewise.
9303 * gdb.mi/mi2-file.exp: Likewise.
9304 * gdb.mi/mi2-read-memory.exp: Likewise.
9305 * gdb.mi/mi2-regs.exp: Likewise.
9306 * gdb.mi/mi2-return.exp: Likewise.
9307 * gdb.mi/mi2-simplerun.exp: Likewise.
9308 * gdb.mi/mi2-stack.exp: Likewise.
9309 * gdb.mi/mi2-stepi.exp: Likewise.
9310 * gdb.mi/mi2-syn-frame.exp: Likewise.
9311 * gdb.mi/mi2-until.exp: Likewise.
9312 * gdb.mi/mi2-var-block.exp: Likewise.
9313 * gdb.mi/mi2-var-child.exp: Likewise.
9314 * gdb.mi/mi2-var-cmd.exp: Likewise.
9315 * gdb.mi/mi2-var-display.exp: Likewise.
9316 * gdb.mi/mi2-watch.exp: Likewise.
9317 * gdb.stabs/exclfwd.exp: Likewise.
9318 * gdb.stabs/weird.exp: Likewise.
9319 * gdb.threads/gcore-thread.exp: Likewise.
9320 * gdb.trace/actions.exp: Likewise.
9321 * gdb.trace/backtrace.exp: Likewise.
9322 * gdb.trace/circ.exp: Likewise.
9323 * gdb.trace/collection.exp: Likewise.
9324 * gdb.trace/deltrace.exp: Likewise.
9325 * gdb.trace/infotrace.exp: Likewise.
9326 * gdb.trace/limits.exp: Likewise.
9327 * gdb.trace/packetlen.exp: Likewise.
9328 * gdb.trace/passc-dyn.exp: Likewise.
9329 * gdb.trace/passcount.exp: Likewise.
9330 * gdb.trace/report.exp: Likewise.
9331 * gdb.trace/save-trace.exp: Likewise.
9332 * gdb.trace/tfind.exp: Likewise.
9333 * gdb.trace/tracecmd.exp: Likewise.
9334 * gdb.trace/while-dyn.exp: Likewise.
9335 * gdb.trace/while-stepping.exp: Likewise.
9336
9337 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9338
9339 * gdb.base/step-bt.c: New file.
9340 * gdb.base/step-bt.exp: New testcase.
9341
9342 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9343
9344 * config/monitor.exp (gdb_load): Remove support for obsolete
9345 download-write-size.
9346 * gdb.base/remote.exp: Likewise. Update all callers of
9347 gdb_timed_load.
9348
9349 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9350
9351 * cursal.exp: Pass binfile to gdb_load.
9352
9353 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9354
9355 * gdb.base/cursal.exp: Add "" to gdb_load call.
9356
9357 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9358
9359 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9360 NetBSD/ELF targets.
9361
9362 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9363
9364 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9365 operator*.
9366
9367 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9368
9369 * gdb.base/completion.exp: Update for change in "file" behavior.
9370 * gdb.stabs/weird.exp: Likewise.
9371 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9372 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9373
9374 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9375
9376 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9377 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9378
9379 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9380
9381 * gdb.base/default.exp: Update source command error message.
9382 * gdb.base/help.exp: Update 'help source' message.
9383
9384 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9385
9386 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9387 test.
9388
9389 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9390
9391 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9392
9393 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9394
9395 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9396
9397 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9398
9399 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9400
9401 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9402
9403 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9404 *-*-openbsd* from targets for wich we expect ARM FPA floating
9405 point format.
9406
9407 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9408
9409 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9410
9411 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9412
9413 * gdb.base/annota3.exp: Expect frame-begin annotation.
9414
9415 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9416
9417 * gdb.base/help.exp: Adjust "help unset" test to accept
9418 any list of unset commands.
9419
9420 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9421 Daniel Jacobowitz <dan@codesourcery.com>
9422
9423 * gdb.cp/ref-params.exp: New test.
9424 * gdb.cp/ref-params.cc: New source file.
9425 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9426
9427 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9428
9429 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9430 spaces/tabs in regular expressions since they might not be there.
9431
9432 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9433
9434 * gdb.base/ifelse.exp: New file.
9435
9436 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9437
9438 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9439 line.
9440 * gdb.base/huge.exp: Loop over compilation to find a size that
9441 is acceptable.
9442 * gdb.base/remote.exp: Correct expected strings.
9443 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9444
9445 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9446
9447 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9448
9449 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9450
9451 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9452 native.
9453
9454 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9455
9456 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9457 enable stabs testing.
9458
9459 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9460
9461 * gdb.base/auxv.exp: Intercept undefined command messages before
9462 gdb_test_multiple does.
9463
9464 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9465
9466 * Makefile.in (host_alias): Remove.
9467 (target_alias): Use @target_noncanonical@.
9468 (site.exp): Don't set host_alias.
9469 * aclocal.m4: Remove contents. Include acx.m4.
9470 * configure: Regenerated.
9471 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9472
9473 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9474
9475 * lib/gdb.exp (gdb_load_cmd): New.
9476
9477 * gdb.base/fileio.c: Add system(NULL) test.
9478 * gdb.base/fileio.exp: Check it.
9479
9480 * gdb.base/break.c: Add 10a breakpoint at }
9481 * gdb.base/break.exp: Add test for breakpoint at }
9482 * gdb.cp/anon-union.cc: Add code at end of function.
9483 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9484 * gdb.mi/var-cmd.c: Add code at end of function.
9485 * gdb.mi/mi-var-display.exp: Adjust end of next.
9486 * gdb.mi/mi2-var-display.exp: Likewise.
9487 * gdb.base/fileio.c: Add stop function and insert calls at
9488 stopping places.
9489 * gdb.base/fileio.exp: Breakpoint stop function and remove
9490 explicit line number references.
9491
9492 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9493
9494 * gdb.base/del.exp (test_delete_alias): New function.
9495 Now check that both "del" and "d" work as aliases for "delete".
9496
9497 2006-05-18 Fred Fish <fnf@specifix.com>
9498
9499 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9500 required. Check for spurious output after program exits normally.
9501
9502 2006-05-17 Fred Fish <fnf@specifix.com>
9503
9504 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9505 gdb_load, so it works in the simulator.
9506
9507 2006-05-11 Fred Fish <fnf@specifix.com>
9508
9509 * gdb.base/bang.exp: Ignore unexpected output between the
9510 "program exited normally" and the gdb prompt, as many other
9511 tests do.
9512
9513 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9514
9515 * gdb.base/help.exp: Make "delete checkpoint" part option for
9516 "help d" and "help delete" tests.
9517
9518 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9519
9520 * gdb.mi/mi-basics.exp: Add missing serial number to
9521 expected output in some mi_gdb_test statements.
9522 * gdb.mi/mi2-basics.exp: Likewise.
9523
9524 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9525
9526 * gdb.base/del.c: New file.
9527 * gdb.base/del.exp: New testcase.
9528
9529 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9530
9531 * gdb.base/break.exp: Do not assume a breakpoint on
9532 main will actually be in $srcfile when optimizing.
9533 * gdb.base/savedregs.exp: Do not require that the dummy
9534 frame location match up to a symbol and source file location.
9535 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9536 will get printed without a mi_cmd_data_list_register_values prefix.
9537 (*-data-list-register-*): Correct regular expressions to expect the new
9538 pseudo d? floating point registers.
9539 * gdb.mi/mi2-regs.exp: Likewise.
9540
9541 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9542
9543 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9544 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9545 is allocated by the compiler.
9546 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9547 anons, e, anone to force their allocation by the compiler.
9548
9549 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9550
9551 * gdb.base/help.exp: Update expected text for help d and
9552 help delete.
9553
9554 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9555
9556 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9557 NetBSD/ELF targets.
9558
9559 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9560
9561 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9562 single-step breakpoint fails; make this a KFAIL on
9563 sparc*-*-openbsd*.
9564 * gdb.base/siginfo.exp: Likewise.
9565 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9566
9567 2006-04-26 Michael Snyder <msnyder@redhat.com>
9568
9569 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9570 which may have to consume output from other forks.
9571 Add tests to make sure that "delete fork" succeeded.
9572
9573 2006-04-20 Michael Snyder <msnyder@redhat.com>
9574
9575 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9576 Add support for the Renesas M32C and M16C.
9577
9578 * gdb.asm/asm-source.exp: Add m32c target.
9579 * gdb.asm/m32c.inc: Support for m32c target.
9580
9581 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9582
9583 * gdb.base/commands.exp (recursive_source_test): New test.
9584
9585 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9586
9587 * gdb.base/float.exp: Add pattern for sparc targets.
9588
9589 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9590
9591 * gdb.base/commands.exp (stray_arg0_test): New test.
9592
9593 2006-03-30 Paul Brook <paul@codesourcery.com>
9594
9595 * gdb.mi/mi-until.exp: kfail broken until command.
9596 * gdb.mi/mi2-until.exp: Ditto.
9597
9598 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9599
9600 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9601
9602 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9603
9604 * gdb.base/prelink.exp: Anchor tested-for regular expression
9605 on gdb prompt.
9606
9607 2006-03-07 Paul Brook <paul@codesourcery.com>
9608
9609 * gdb.base/assign.exp: Correct fail message.
9610
9611 2006-03-07 Paul Brook <paul@codesourcery.com>
9612
9613 * lib/compiler.c: Extract armcc version number.
9614 * lib/compiler.cc: Ditto.
9615
9616 2006-03-07 Paul Brook <paul@codesourcery.com>
9617
9618 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9619 additional_flags=-w.
9620 * gdb.arch/altivec-regs.exp: Ditto.
9621 * gdb.arch/e500-abi.exp: Ditto.
9622 * gdb.arch/e500-regs.exp: Ditto.
9623 * gdb.base/all-bin.exp: Ditto.
9624 * gdb.base/annota1.exp: Ditto.
9625 * gdb.base/annota3.exp: Ditto.
9626 * gdb.base/args.exp: Ditto.
9627 * gdb.base/arithmet.exp: Ditto.
9628 * gdb.base/assign.exp: Ditto.
9629 * gdb.base/async.exp: Ditto.
9630 * gdb.base/bang.exp: Ditto.
9631 * gdb.base/break.exp: Ditto.
9632 * gdb.base/call-rt-st.exp: Ditto.
9633 * gdb.base/completion.exp: Ditto.
9634 * gdb.base/cond-expr.exp: Ditto.
9635 * gdb.base/condbreak.exp: Ditto.
9636 * gdb.base/consecutive.exp: Ditto.
9637 * gdb.base/define.exp: Ditto.
9638 * gdb.base/display.exp: Ditto.
9639 * gdb.base/ena-dis-br.exp: Ditto.
9640 * gdb.base/environ.exp: Ditto.
9641 * gdb.base/eval-skip.exp: Ditto.
9642 * gdb.base/info-proc.exp: Ditto.
9643 * gdb.base/jump.exp: Ditto.
9644 * gdb.base/logical.exp: Ditto.
9645 * gdb.base/long_long.exp: Ditto.
9646 * gdb.base/maint.exp: Ditto.
9647 * gdb.base/miscexprs.exp: Ditto.
9648 * gdb.base/pc-fp.exp: Ditto.
9649 * gdb.base/pointers.exp: Ditto.
9650 * gdb.base/relational.exp: Ditto.
9651 * gdb.base/reread.exp: Ditto.
9652 * gdb.base/sect-cmd.exp: Ditto.
9653 * gdb.base/sep.exp: Ditto.
9654 * gdb.base/sepdebug.exp: Ditto.
9655 * gdb.base/until.exp: Ditto.
9656 * gdb.base/whatis-exp.exp: Ditto.
9657 * gdb.cp/annota2.exp: Ditto.
9658 * gdb.cp/annota3.exp: Ditto.
9659 * gdb.trace/actions.exp: Ditto.
9660 * gdb.trace/backtrace.exp: Ditto.
9661 * gdb.trace/circ.exp: Ditto.
9662 * gdb.trace/collection.exp: Ditto.
9663 * gdb.trace/deltrace.exp: Ditto.
9664 * gdb.trace/infotrace.exp: Ditto.
9665 * gdb.trace/limits.exp: Ditto.
9666 * gdb.trace/packetlen.exp: Ditto.
9667 * gdb.trace/passc-dyn.exp: Ditto.
9668 * gdb.trace/passcount.exp: Ditto.
9669 * gdb.trace/report.exp: Ditto.
9670 * gdb.trace/save-trace.exp: Ditto.
9671 * gdb.trace/tfind.exp: Ditto.
9672 * gdb.trace/tracecmd.exp: Ditto.
9673 * gdb.trace/while-dyn.exp: Ditto.
9674 * gdb.trace/while-stepping.exp: Ditto.
9675 * lib/gdb.exp: Ditto.
9676 (gdb_compile): Handle nowarning option.
9677
9678 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9679
9680 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9681 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9682 Rename executable to prelinkt. Don't re-prelink if we didn't
9683 get a core file. Test prelink -u exit status to tell whether
9684 prelinking failed. Use gdb_test_multiple.
9685
9686 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9687
9688 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9689 (do_tests): Call it.
9690
9691 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9692
9693 * gdb.base/prelink.exp: New test.
9694 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9695
9696 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9697
9698 * gdb.fortran/derived-type.f90: New file.
9699 * gdb.fortran/derived-type.exp: New testcase.
9700
9701 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9702
9703 * gdb.base/default.exp: Allow ';' as a directory separator.
9704
9705 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9706
9707 * gdb.base/help.exp (help add-symbol-file): Update.
9708
9709 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9710
9711 * gdb.base/help.exp (help load): Update expected results.
9712
9713 2006-02-19 Fred Fish <fnf@specifix.com>
9714
9715 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9716 specifix hex value as part of results.
9717 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9718
9719 2006-02-16 Fred Fish <fnf@specifix.com>
9720
9721 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9722 ushort_addr, and slong_addr, so the typedefs are not optimized
9723 away.
9724 * gdb.base/whatis.exp: Add tests using type name for struct type,
9725 union type, enum type, and typedef.
9726
9727 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9728
9729 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9730
9731 2006-02-13 Jim Blandy <jimb@redhat.com>
9732
9733 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9734 case where it takes two "next" commands to skip past the init
9735 call.
9736
9737 2006-02-12 Fred Fish <fnf@specifix.com>
9738
9739 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9740 to handle cases where it takes two "next" commands to skip
9741 past the init call.
9742
9743 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9744
9745 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9746 on hppa32 targets.
9747
9748 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9749
9750 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9751 field.
9752
9753 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9754
9755 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9756
9757 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9758
9759 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9760 files.
9761
9762 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9763
9764 * gdb.cp/maint.exp: Set complaints to a positive value.
9765
9766 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9767
9768 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9769 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9770 function name.
9771
9772 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9773
9774 * gdb.base/checkpoint.c: Update copyright notice. Include
9775 <stdlib.h>.
9776
9777 2006-01-04 Jim Blandy <jimb@redhat.com>
9778
9779 * gdb.asm/asm-source.exp: Independently provide default values for
9780 asm-flags and debug-flags. Use 'string equal' to do the
9781 comparison, not the implicit expr's '==' operator. Remove
9782 now-unneeded assignments to asm-flags. In h8300 case, place
9783 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9784
9785 2006-01-04 Michael Snyder <msnyder@redhat.com>
9786
9787 * gdb.base/checkpoint.c: New file.
9788 * gdb.base/checkpoint.exp: New file.
9789 * gdb.base/multi-fork.c: New file.
9790 * gdb.base/multi-fork.exp: New file.
9791 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9792
9793 2006-01-04 Fred Fish <fnf@specifix.com>
9794
9795 * gdb.base/ptype.c (foo): Add typedef.
9796 (intfoo): Add function.
9797 * gdb.base/ptype1.c: New file.
9798 * gdb.base/ptype.exp: Handle compilation and linking with two
9799 source files. Test that proper type for "foo" is found based
9800 on source context rather than first match found in symtabs.
9801
9802 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9803
9804 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9805 * gdb.asm/openbsd.inc: Indent commands.
9806
9807 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9808
9809 * gdb.base/freebpcmd.exp: Increase timeout.
9810
9811 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9812
9813 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9814
9815 * gdb.base/default.exp: Update check for "show version".
9816
9817 2005-12-09 Randolph Chung <tausq@debian.org>
9818
9819 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9820 * gdb.asm/pa64.inc: New file.
9821
9822 2005-12-09 Randolph Chung <tausq@debian.org>
9823
9824 * gdb.asm/common.inc: Indent commands.
9825 * gdb.asm/asmsrc1.s: Likewise.
9826 * gdb.asm/asmsrc2.s: Likewise.
9827
9828 2005-12-09 Randolph Chung <tausq@debian.org>
9829
9830 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9831 (get_addr_of_sym): Remove duplicate print.
9832 (gen_core): xfail hppa*-*-hpux*, update expected output.
9833 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9834 * gdb.arch/pa64-nullify.s: New file.
9835
9836 2005-12-09 Randolph Chung <tausq@debian.org>
9837
9838 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9839
9840 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9841
9842 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9843 code generation for these functions.
9844 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9845 error message.
9846
9847 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9848
9849 * gdb.base/help.exp (help b, help br, help bre, help brea)
9850 (help break): Update the expected message.
9851
9852 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9853
9854 * gdb.asm/m68hc11.inc: Setup the data section.
9855 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9856 script for this test.
9857 (m6812-*-*): Likewise.
9858
9859 2005-11-09 Randolph Chung <tausq@debian.org>
9860
9861 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9862
9863 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9864
9865 * gdb.base/break.exp: Fix a comment typo.
9866
9867 2005-11-03 Jim Blandy <jimb@redhat.com>
9868
9869 Checked in by Elena Zannoni <ezannoni@redhat.com>
9870
9871 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9872
9873 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9874
9875 * gdb.arch/gdb1558.c: Include stdio.h.
9876
9877 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9878
9879 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9880
9881 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9882
9883 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9884
9885 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9886
9887 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9888 vscr" tests to better match output.
9889
9890 2005-10-12 Jim Blandy <jimb@redhat.com>
9891
9892 * gdb.base/structs.exp (any): New function.
9893 (test_struct_returns): Don't make any assumptions at all about
9894 what value the function returns when GDB can't set the return
9895 value.
9896
9897 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9898
9899 * gdb.ada/arrayidx/p.adb: New file.
9900 * gdb.ada/arrayidx.exp: New testcase
9901
9902 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9903
9904 * gdb.ada/array_return/pck.ads: New file.
9905 * gdb.ada/array_return/pck.adb: New file.
9906 * gdb.ada/array_return/p.adb: New file.
9907 * gdb.ada/array_return.exp: New testcase.
9908
9909 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9910
9911 * gdb.base/arrayidx.c: New file.
9912 * gdb.base/arrayidx.exp: New testcase.
9913
9914 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9915
9916 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9917 frames-invalid and breakpoints-invalid are no longer generated
9918 with level 3 so don't expect them in the output.
9919
9920 2005-09-27 Bob Rossi <bob@brasko.net>
9921
9922 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9923 from test. Escape the | in mi_gdb_test call.
9924 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9925 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9926 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9927 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9928 expected regex's in mi_gdb_test calls.
9929 * lib/mi-support.exp: Remove arbitrary .* from tests.
9930 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9931 Fully anchor GDB/MI expected results in mi_gdb_test.
9932 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9933 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9934
9935 2005-09-26 Paul Brook <paul@codesourcery.com>
9936
9937 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9938
9939 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9940
9941 * bfp-test.c: New file.
9942 * bfp-test.exp: New testcase.
9943
9944 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9945
9946 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9947 of subarray and substring variable.
9948 * gdb.fortran/subarray.f: New source file for the test of subarray
9949 and substring variable evaluation.
9950 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9951 of string constant.
9952
9953 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9954
9955 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9956 copyright dates.
9957
9958 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9959
9960 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9961 powerpc altivec' test with an almost identical 'info vector' test.
9962
9963 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9964
9965 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9966 vscr" tests to match output.
9967
9968 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9969
9970 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9971 output.
9972
9973 2005-09-11 Bob Rossi <bob@brasko.net>
9974
9975 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9976 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9977 commands that return an MI output command and an asyncronous MI output
9978 command.
9979 * gdb.mi/mi-console.exp: Ditto.
9980
9981 2005-09-11 Bob Rossi <bob@brasko.net>
9982
9983 * gdb.mi/mi-var-child.c: Include <string.h>.
9984
9985 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9986
9987 * killed.exp: Correct gdb_expect syntax.
9988
9989 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9990
9991 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9992
9993 2005-08-02 Bob Rossi <bob@brasko.net>
9994
9995 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9996 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9997 Change tests to inferior-tty-set/show.
9998 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9999 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10000 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10001 inferior. Use mi_gdb_test to get GDB and Inferior output.
10002 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10003 descriptor.
10004 (mi_inferior_tty_name): Add inferior PTY file name.
10005 (mi_gdb_start): Add INFERIOR_PTY parameter.
10006 (mi_gdb_test): Add IPATTERN parameter.
10007
10008 2005-08-02 Bob Rossi <bob@brasko.net>
10009
10010 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10011 parameter to mi_gdb_test.
10012 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10013
10014 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10015
10016 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10017 struct_declarations.
10018 * gdb.mi/mi-var-child.exp: Step over the initialization of
10019 struct_declarations.
10020
10021 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10022
10023 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10024 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10025 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10026 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10027 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10028 file.
10029
10030 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10031
10032 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10033 (do_children_tests): Assign values to the extra elements.
10034
10035 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10036 them for tests for "-var-update --no-values" and
10037 "-var-update --all-values".
10038 Add test for "-var-list-children --simple-values".
10039
10040 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10041
10042 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10043 "-stack-list-locals --simple-values" Improve doc strings and
10044 comments.
10045
10046 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10047
10048 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10049 *-*-openbsd*.
10050 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10051
10052 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10053 sigaltsatck'.
10054
10055 2005-07-14 Bob Rossi <bob@brasko.net>
10056
10057 * gdb.base/default.exp (tty): Changed output of command.
10058 * gdb.base/help.exp (help tty): Ditto.
10059
10060 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10061
10062 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10063
10064 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10065
10066 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10067 -stack-select-frame without arguments.
10068 (test_stack_frame_listing): Add test for newly implemented command
10069 -stack-info-frame.
10070
10071 2005-07-06 Bob Rossi <bob@brasko.net>
10072
10073 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10074 command.
10075 (Copyright): Update copyright.
10076
10077 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10078
10079 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10080 tests to evaluate exponentiation expression.
10081
10082 2005-06-29 Andreas Schwab <schwab@suse.de>
10083
10084 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10085 main to avoid warnings.
10086
10087 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10088
10089 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10090
10091 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10092 -stack-select-frame without arguments.
10093 (test_stack_frame_listing): Add test for newly implemented command
10094 -stack-info-frame.
10095
10096 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10097
10098 * gdb.fortran/array-element.f: New file.
10099 * gdb.fortran/array-element.exp: New testcase.
10100
10101 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10102
10103 * gdb.base/bigcore.exp: Correct checks for systems which can
10104 not dump a large core file.
10105
10106 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10107
10108 * gdb.base/relocate.c: Add a copyright notice.
10109 (dummy): Remove.
10110 * gdb.base/relocate.exp: Test printing the values of variables
10111 from a relocatable file.
10112
10113 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10114
10115 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10116 excess MI output after an error.
10117
10118 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10119
10120 * gdb.arch/alpha-step.c: New file.
10121 * gdb.arch/alpha-step.exp: New testcase.
10122
10123 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10124 Dennis Brueni <dennis@slickedit.com>
10125
10126 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10127 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10128 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10129 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10130 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10131 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10132 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10133
10134 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10135 Wu Zhou <woodzltc@cn.ibm.com>
10136
10137 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10138 IBM's xlc compiler.
10139 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10140 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10141
10142 2005-05-13 Jim Blandy <jimb@redhat.com>
10143
10144 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10145 calling gdb_suppress_entire_file.
10146 * gdb.base/charset.exp: Same.
10147 * gdb.base/call-rt-st.exp: Same.
10148
10149 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10150
10151 * lib/gdb.exp (fullname_syntax): Added global regex.
10152 (fullname_syntax_POSIX): Ditto.
10153 (fullname_syntax_UNC): Ditto.
10154 (fullname_syntax_DOS_CASE): Ditto.
10155 (fullname_syntax_DOS): Ditto.
10156 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10157 fullname_syntax variable to scope and use it.
10158 (test_file_list_exec_source_files): Ditto.
10159 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10160
10161 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10162
10163 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10164
10165 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10166
10167 * lib/gdb.exp (skip_altivec_tests): New function, based on
10168 check_vmx_hw_available from the GCC testsuite.
10169 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10170 * lib/gdb.arch/altivec-regs.exp: Likewise.
10171
10172 2005-05-02 Jim Blandy <jimb@redhat.com>
10173
10174 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10175 calling gdb_suppress_entire_file.
10176
10177 2005-04-30 Randolph Chung <tausq@debian.org>
10178
10179 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10180 Slightly relax "sem_post" name checking.
10181
10182 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10183
10184 * gdb.base/unload.exp: Use new shared library infrastructure.
10185
10186 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10187
10188 * gdb.base/so-impl-ld.exp: Use new shared library
10189 infrastructure.
10190
10191 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10192
10193 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10194 * gdb.asm/h8300.inc: New file.
10195
10196 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10197
10198 * gdb.base/shlib-call.exp: Change to use new shared library
10199 infrastructure.
10200
10201 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10202
10203 * gdb.base/pending.exp: Change to use new shared library
10204 infrastructure.
10205
10206 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10207
10208 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10209 use test_compiler_info instead of gcc_compiled, and update copyright.
10210
10211 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10212
10213 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10214 shared objects being adjusted and update copyright years.
10215
10216 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10217
10218 * ChangeLog: Correct some 2003-01-13 dates.
10219 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10220 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10221 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10222 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10223 gdb.trace/tfind.exp: Update copyright years.
10224
10225 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10226 Daniel Jacobowitz <dan@codesourcery.com>
10227
10228 * lib/gdb.exp (gdb_compile): Handle shlib=.
10229 (gdb_compile_shlib): New function.
10230
10231 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10232
10233 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10234
10235 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10236
10237 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10238 gdb.server.
10239 * configure.ac: Likewise.
10240 * configure: Regenerated.
10241 * gdb.gdbserver/Makefile.in: Moved to...
10242 * gdb.server/Makefile.in: ... here.
10243 * gdb.gdbserver/server.c: Moved to...
10244 * gdb.server/server.c: ... here.
10245 * gdb.gdbserver/server-run.exp: Moved to...
10246 * gdb.server/server-run.exp: ... here.
10247
10248 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10249
10250 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10251 * configure.ac: Create gdb.gdbserver/Makefile.
10252 * configure: Regenerated.
10253 * lib/gdbserver-support.exp: New file, derived from
10254 config/gdbserver.exp.
10255 * config/gdbserver.exp: Use gdbserver-support.exp.
10256 * gdb.gdbserver/Makefile.in: New file.
10257 * gdb.gdbserver/server.c: New file.
10258 * gdb.gdbserver/server-run.exp: New file.
10259
10260 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10261
10262 * lib/gdb.exp (test_compiler_info): Return compiler_info
10263 if no arguments are given.
10264
10265 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10266
10267 * gdb.arch/altivec-abi.exp: Check for compiler and set
10268 use altivec' flag accordingly.
10269 * gdb.arch/altivec-regs.exp: Likewise.
10270
10271 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10272
10273 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10274
10275 2005-03-27 Andreas Schwab <schwab@suse.de>
10276
10277 * gdb.base/bigcore.c (main): Add missing mode argument in open
10278 call.
10279
10280 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10281
10282 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10283 downloads.
10284 * config/gdbserver.exp (gdb_load): Likewise.
10285
10286 2005-03-14 Paul Brook <paul@codesourcery.com>
10287
10288 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10289 targets.
10290
10291 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10292
10293 * gdb.dwarf2/dup-psym.S: New file.
10294 * gdb.dwarf2/dup-psym.exp: New testcase.
10295
10296 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10297
10298 * gdb.ada/exec_changed/first.adb: New file.
10299 * gdb.ada/exec_changed/second.adb: New file.
10300 * gdb.ada/exec_changed.exp: New testcase.
10301
10302 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10303
10304 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10305 (A2): New class.
10306 (main): Test operator+.
10307 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10308 breakpoint test.
10309
10310 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10311 * gdb.base/signull.exp: Disable if gdb,nosignals.
10312 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10313 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10314 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10315 * gdb.mi/mi2-console.exp: Likewise.
10316 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10317 continue output at start.
10318 (gdb_collect_locals_test): Robustify regexp.
10319 * gdb.trace/passc-dyn.exp: Fix comment typo.
10320 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10321
10322 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10323
10324 * gdb.asm/asm-source.exp: Add iq2000 case.
10325 * gdb.asm/iq2000.inc: New file.
10326
10327 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10328
10329 * gdb.base/command.exp: Change hardcoded value to regular expression.
10330 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10331
10332 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10333
10334 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10335 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10336 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10337 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10338 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10339
10340 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10341
10342 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10343 changes.
10344
10345 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10346
10347 * lib/compiler.c: Add test for IBM's xlc compiler.
10348 * lib/compiler.cc: Likewise.
10349
10350 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10351
10352 * gdb.ada/fixed_points.exp: Create compilation object directory
10353 before running the test.
10354 * gdb.ada/null_record.exp: Likewise.
10355 * gdb.ada/packed_array.exp: Likewise.
10356 * gdb.ada/start.exp: Likewise.
10357
10358 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10359
10360 * gdb.ada/packed_array/pa.adb: New file.
10361 * gdb.ada/packed_array.exp: New testcase.
10362
10363 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10364
10365 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10366 files.
10367
10368 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10369 on *-*-openbsd*. Correctly match whitespace in regukar
10370 expressions.
10371
10372 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10373
10374 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10375 PR exp/1821
10376 * gdb.base/gdb1821.c: New test file.
10377 * gdb.base/gdb1821.exp: New test file.
10378
10379 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10380
10381 * gdb.base/start.c: New file.
10382 * gdb.base/start.exp: New testcase.
10383
10384 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10385
10386 * gdb.ada/start/dummy.adb: New file.
10387 * gdb.ada/start.exp: New testcase.
10388
10389 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10390
10391 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10392 for printing symbols and statistics.
10393 Add test for using relative pathnames in "maint print msymbols" test.
10394 Mark "maint info sections DATA" XFAIL on Cygwin.
10395 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10396 tests.
10397
10398 2005-02-09 Andreas Schwab <schwab@suse.de>
10399
10400 Committed by Andrew Cagney <cagney@gnu.org>
10401 * gdb.base/remotetimeout.exp: New file.
10402
10403 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10404
10405 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10406
10407 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10408
10409 * gdb.ada/gnat_ada.gpr: New file.
10410 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10411 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10412 * configure.ac: No longer generate gnat_ada.gpr.
10413 * configure: Regenerate.
10414 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10415 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10416 * gdb.ada/null_record/bar.ads: Likewise.
10417 * gdb.ada/null_record/bar.adb: Likewise.
10418 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10419 * gdb.ada/null_record.exp (testdir): New variable.
10420 (testfile): executable is now in testdir subdirectory.
10421 (srcfile): Use full path to the main compilation unit.
10422 * gdb.ada/fixed_points.exp: Same changes as above.
10423
10424 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10425
10426 * gdb.base/interp.exp: New test.
10427
10428 2005-01-24 Andrew Cagney <cagney@gnu.org>
10429
10430 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10431
10432 2005-01-19 Andrew Cagney <cagney@gnu.org>
10433
10434 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10435 configure.ac not configure.in.
10436
10437 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10438 of powerpc*-*-*.
10439 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10440 * gdb.base/list.exp (test_list_function)
10441 (test_list_filename_and_function): Ditto.
10442 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10443
10444 2005-01-16 Andrew Cagney <cagney@gnu.org>
10445
10446 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10447
10448 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10449
10450 2005-01-14 Andrew Cagney <cagney@gnu.org>
10451
10452 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10453 * gdb.mi/mi2-var-cmd.exp: Ditto.
10454
10455 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10456
10457 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10458
10459 2005-01-07 Andrew Cagney <cagney@gnu.org>
10460
10461 * configure.ac: Rename configure.in, require autoconf 2.59.
10462 * configure: Re-generate.
10463 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10464 * gdb.stabs/configure: Re-generate.
10465 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10466 * gdb.hp/configure: Re-generate.
10467 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10468 autoconf 2.59.
10469 * gdb.hp/gdb.objdbg/configure: Re-generate.
10470 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10471 autoconf 2.59.
10472 * gdb.hp/gdb.defects/configure: Re-generate.
10473 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10474 autoconf 2.59.
10475 * gdb.hp/gdb.compat/configure: Re-generate.
10476 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10477 autoconf 2.59.
10478 * gdb.hp/gdb.base-hp/configure: Re-generate.
10479 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10480 autoconf 2.59.
10481 * gdb.hp/gdb.aCC/configure: Re-generate.
10482
10483 2004-12-15 Jim Blandy <jimb@redhat.com>
10484
10485 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10486 under NPTL when there is debugging info available for libpthread.
10487
10488 2004-12-13 Jerome Guitton <guitton@gnat.com>
10489
10490 * gdb.ada/fixed_points.c: New file.
10491 * gdb.ada/fixed_points.exp: New file.
10492
10493 2004-12-03 Randolph Chung <tausq@debian.org>
10494
10495 * gdb.arch/pa-nullify.exp: New file.
10496 * gdb.arch/pa-nullify.s: New file.
10497
10498 2004-11-30 Randolph Chung <tausq@debian.org>
10499
10500 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10501 instead of "tbug". Fix regexp to work properly with gdb_test.
10502
10503 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10504
10505 * gdb.base/bitfields2.exp: New test.
10506 * gdb.base/bitfields2.c: New file.
10507
10508 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10509
10510 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10511
10512 2004-11-16 Randolph Chung <tausq@debian.org>
10513
10514 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10515
10516 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10517
10518 * gdb.threads/threadapply.exp: Correct "macro details" test.
10519
10520 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10521
10522 * gdb.threads/threadapply.exp: New test.
10523 * gdb.threads/threadapply.c: New file.
10524
10525 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10526
10527 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10528 frames.
10529
10530 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10531
10532 * gdb.base/cursal.exp: New file.
10533 * gdb.base/cursal.c: New file.
10534
10535 2004-11-03 Andrew Cagney <cagney@gnu.org>
10536
10537 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10538
10539 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10540
10541 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10542 NetBSD/ELF targets.
10543
10544 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10545
10546 * gdb.threads/bp_in_thread.c: New file, copied from
10547 pthread_cond_wait.c.
10548 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10549 file, rather than reusing the .c file from another testcase.
10550
10551 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10552
10553 * gdb.ada/null_record.exp: Check where we stopped after
10554 sending the start command, instead of where the associated
10555 temporary breakpoint was inserted.
10556
10557 2004-10-14 Andrew Cagney <cagney@gnu.org>
10558
10559 * gdb.mi/gdb701.c (main): Return 0.
10560
10561 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10562
10563 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10564
10565 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10566
10567 * gdb.threads/schedlock.c: Add comment markers to use to find
10568 line numbers.
10569 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10570 comments.
10571 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10572 breakpoint lines.
10573
10574 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10575
10576 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10577
10578 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10579
10580 * configure.in: Add gdb.dwarf2.
10581 * configure: Regenerated.
10582 * Makefile.in: Add gdb.dwarf2.
10583 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10584 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10585 gdb.dwarf2/file1.txt: New files.
10586
10587 2004-10-11 Orjan Friberg <orjanf@axis.com>
10588
10589 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10590 of "run", since the latter doesn't work with remote targets. Adjust
10591 the breakpoint numbering accordingly.
10592 * gdb.threads/pthread_cond_wait.exp: Ditto.
10593
10594 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10595
10596 * gdb.base/overlays.exp: Update copyright years.
10597
10598 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10599
10600 * gdb.base/overlays.exp: Disable if target is Linux.
10601
10602 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10603
10604 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10605
10606 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10607
10608 * gdb.asm/asm-source.exp: Add m32r-linux target.
10609 * gdb.asm/m32r-linux.inc: New file.
10610
10611 2004-09-24 Andrew Cagney <cagney@redhat.com>
10612 David Anderson <anderson@redhat.com>
10613
10614 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10615 command fails, assume things will work.
10616 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10617 (_GNU_SOURCE): Define.
10618 (print_unsigned, print_hex): Change parameter to "long long".
10619 (print_byte_count): New function, use to print byte counts.
10620 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10621 O_LARGEFILE.
10622 (main): Compute an upper bound on a corefile in max_core_size.
10623 Limit memory chunk size to max_core_size. Limit total memory
10624 allocated to max_core_size.
10625
10626 2004-09-23 Andrew Cagney <cagney@gnu.org>
10627
10628 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10629 from a separate process with code that creates a corefile by
10630 making the inferior dump core.
10631
10632 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10633
10634 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10635 block.
10636
10637 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10638
10639 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10640 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10641 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10642 Likewise.
10643
10644 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10645
10646 * gdb.java/jprint.exp: New test case for java inferior call.
10647 * gdb.java/jprint.java: Ditto.
10648
10649 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10650
10651 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10652
10653 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10654
10655 * gdb.threads/killed.c: Include <stdlib.h>.
10656 * gdb.threads/pthreads.c: Likewise.
10657
10658 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10659
10660 * gdb.threads/killed.c: Add copyright notice.
10661
10662 2004-09-10 Jason Molenda (jmolenda@apple.com)
10663
10664 * gdb.base/define.exp: Two new tests to verify zero space chars
10665 after 'if' and 'while' commands in a user-defined command is correctly
10666 parsed.
10667
10668 2004-09-08 Andrew Cagney <cagney@gnu.org>
10669
10670 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10671 delivery test with duplicate at end of file.
10672
10673 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10674
10675 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10676
10677 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10678
10679 * config/hppro.exp: Removed.
10680
10681 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10682
10683 * config/sparclet.exp: Removed.
10684
10685 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10686
10687 * config/udi.exp: Removed.
10688
10689 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10690
10691 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10692 of "exp_continue".
10693 (advancei): Likewise.
10694
10695 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10696
10697 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10698
10699 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10700
10701 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10702 to check for nodebug in executable.
10703 * gdb.gdb/observer.exp (setup_test): Likewise.
10704 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10705 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10706
10707 2004-09-01 Andrew Cagney <cagney@gnu.org>
10708
10709 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10710 files.
10711
10712 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10713
10714 * gdb.base/unload.exp: Fix expected warning message to match
10715 latest format.
10716
10717 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10718
10719 * gdb.base/call-rt-st.exp: Fix typos.
10720
10721 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10722
10723 * gdb.threads/thread_check.exp: New testcase.
10724 * gdb.threads/thread_check.c: New testcase.
10725
10726 2004-08-31 Andrew Cagney <cagney@gnu.org>
10727
10728 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10729 (skip_to_handler_entry): New procedures. Test stepping into a
10730 handler when the breakpoint is at the handler's entry point.
10731
10732 2004-08-30 Andrew Cagney <cagney@gnu.org>
10733
10734 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10735 gdb/1757.
10736
10737 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10738
10739 With code from Manoj Iyer <manjo@austin.ibm.com>:
10740 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10741 return value. Add an arm for "no debugging symbols found".
10742 Change a stray "error" to "perror".
10743 (gdb_run_cmd): Adapt to new return value.
10744 * gdb.base/remote.exp: Adapt to new return value.
10745 * gdb.gdb/complaints.exp: Likewise.
10746 * gdb.gdb/observer.exp: Likewise.
10747 * gdb.gdb/selftest.exp: Likewise.
10748 * gdb.gdb/xfullpath.exp: Likewise.
10749
10750 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10751
10752 * gdb.threads/bp_in_thread.exp: New testcase.
10753
10754 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10755
10756 Fix PR testsuite/1735.
10757 * gdb.threads/schedlock.c (thread_function): Add a cast
10758 to suppress a gcc warning.
10759 * gdb.threads/thread-specific.c (thread_function): Likewise.
10760
10761 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10762
10763 * gdb.base/unload.c: Include <stdlib.h>.
10764
10765 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10766
10767 From Paul Gilliam <pgilliam@us.ibm.com>:
10768 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10769 synchronized after the "return".
10770
10771 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10772
10773 * gdb.mi/basics.c: Include <stdio.h>.
10774 * gdb.mi/pthreads.c: Include <stdlib.h>.
10775 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10776
10777 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10778
10779 * gdb.threads/schedlock.c: Add copyright notice.
10780
10781 2004-08-25 Andrew Cagney <cagney@gnu.org>
10782
10783 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10784 (skip_over_handler, breakpoint_over_hander): New test procedures.
10785 (advance, advancei): Add a proper prefix, do not use
10786 rerun_to_main.
10787 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10788
10789 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10790
10791 * gdb.mi/basics.c: Add copyright notice.
10792 * gdb.mi/var-cmd.c: Add copyright notice.
10793
10794 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10795
10796 * lib/gdb.exp: Remove signed_keyword_not_used.
10797 * lib/compiler.c: Likewise.
10798 * lib/compiler.cc: Likewise.
10799
10800 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10801
10802 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10803 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10804
10805 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10806
10807 * gdb.base/whatis.c: Add copyright notice.
10808
10809 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10810
10811 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10812 it to skip the breakpoints encoded in the inline assembly.
10813
10814 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10815
10816 * Makefile.in: Add gdb.fortran.
10817
10818 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10819
10820 * gdb.base/call-sc.exp (test_scalar_returns):
10821 Fix cut-and-paste glitch in "Make fun return now".
10822
10823 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10824
10825 * configure.in: Add gdb.fortran.
10826 * configure: Regenerate.
10827 * gdb.fortran/Makefile.in: New file.
10828 * lib/gdb.exp (skip_fortran_tests): New procedure.
10829
10830 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10831
10832 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10833 reference to bug-gnu@prep.ai.mit.edu.
10834 * gdb.mi/mi-var-child.exp: Likewise.
10835 * gdb.mi/mi-var-cmd.exp: Likewise.
10836 * gdb.mi/mi-var-display.exp: Likewise.
10837 * gdb.mi/mi2-var-block.exp: Likewise.
10838 * gdb.mi/mi2-var-child.exp: Likewise.
10839 * gdb.mi/mi2-var-cmd.exp: Likewise.
10840 * gdb.mi/mi2-var-display.exp: Likewise.
10841
10842 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10843
10844 * gdb.base/unload.c (main): Make local variable msg const.
10845
10846 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10847
10848 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10849 to bug-gnu@prep.ai.mit.edu.
10850 * gdb.mi/mi-disassemble.exp: Likewise.
10851 * gdb.mi/mi-eval.exp: Likewise.
10852 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10853 default line number.
10854 * gdb.mi/mi-return.exp: Likewise.
10855 * gdb.mi/mi-simplerun.exp: Likewise.
10856 * gdb.mi/mi-stack.exp: Likewise.
10857 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10858 number with explicit range test.
10859 * gdb.mi/mi-watch.exp: Likewise.
10860 * gdb.mi/mi2-break.exp: Likewise.
10861 * gdb.mi/mi2-cli.exp: Likewise.
10862 * gdb.mi/mi2-disassemble.exp: Likewise.
10863 * gdb.mi/mi2-eval.exp: Likewise.
10864 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10865 default line number.
10866 * gdb.mi/mi2-return.exp: Likewise.
10867 * gdb.mi/mi2-simplerun.exp: Likewise.
10868 * gdb.mi/mi2-stack.exp: Likewise.
10869 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10870 number with explicit range test.
10871 * gdb.mi/mi2-watch.exp: Likewise.
10872
10873 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10874
10875 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10876 * gdb.cp/m-static.exp: Likewise.
10877 * gdb.cp/rtti.exp: Likewise.
10878
10879 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10880
10881 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10882
10883 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10884
10885 * ChangeLog: Prefix Local Variables with semi-colons and indent
10886 the reference to older ChangeLog files, to fix fontification in
10887 Emacs.
10888
10889 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10890
10891 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10892 * gdb.mi/mi2-break.exp: Likewise.
10893
10894 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10895
10896 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10897
10898 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10899
10900 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10901
10902 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10903
10904 * gdb.cp/classes.exp: Remove unused declarations. Just let
10905 test names default instead of providing special names. Remove
10906 extraneous demangler test.
10907
10908 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10909
10910 * gdb.base/unload.exp: New test for breakpoints in dynamically
10911 loaded libraries.
10912 * gdb.base/unload.c: Ditto.
10913 * gdb.base/unloadshr.c: Ditto.
10914
10915 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10916
10917 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10918 cp_test_ptype_class.
10919 (test_enums): Likewise.
10920
10921 2004-08-10 Andrew Cagney <cagney@gnu.org>
10922
10923 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10924 files.
10925
10926 2004-08-10 Andrew Cagney <cagney@gnu.org>
10927
10928 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10929 init_malloc call.
10930
10931 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10932
10933 * ChangeLog: Add copyright notice. The notice is copied
10934 from emacs 21.3 top level ChangeLog.
10935
10936 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10937
10938 * lib/cp-support.exp: New file.
10939 * lib/cp-support.exp (cp_test_type_class): New function.
10940 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10941 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10942 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10943 cp_test_ptype_class.
10944
10945 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10946
10947 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10948 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10949 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10950 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10951 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10952 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10953 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10954 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10955 gdb.mi/mi2-watch.exp: Update copyright years.
10956
10957 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10958
10959 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10960
10961 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10962
10963 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10964 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10965 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10966 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10967 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10968 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10969 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10970 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10971 gdb.mi/mi-watch.exp: Update copyright years.
10972
10973 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10974
10975 PR gdb/1738
10976 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10977 from a breakpoint with a pending signal.
10978
10979 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10980
10981 PR gdb/1736
10982 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10983 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10984 the prompt.
10985 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10986
10987 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10988
10989 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10990
10991 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10992
10993 PR gdb/1736
10994 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10995 for i?86-*-linux*.
10996
10997 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10998
10999 * gdb.arch/i386-prologue.exp: Compile without debug information.
11000
11001 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11002
11003 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11004 rather than asking gdb to search.
11005
11006 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11007
11008 * gdb.base/gcore.c: Include <string.h>.
11009
11010 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11011
11012 * gdb.base/gcore.c: Add copyright notice.
11013
11014 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11015
11016 * gdb.base/freebpcmd.c: Include <stdio.h>.
11017 * gdb.base/long_long.c: Include <string.h>.
11018 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11019 * gdb.base/siginfo.c: Include <string.h>.
11020 * gdb.base/sigstep.c: Include <string.h>.
11021
11022 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11023
11024 * gdb.base/complex.c: Include <stdlib.h>.
11025
11026 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11027
11028 * gdb.base/complex.c: Add copyright notice.
11029
11030 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11031
11032 * gdb.base/charset.c: Include <stdlib.h>.
11033
11034 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11035
11036 * gdb.base/auxv.c: Include <stdlib.h>.
11037
11038 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11039
11040 * gdb.base/auxv.c: Add copyright notice.
11041
11042 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11043
11044 * gdb.base/coremaker.c: Add copyright notice.
11045 * gdb.base/coremaker2.c: Add copyright notice.
11046
11047 2004-08-04 Andrew Cagney <cagney@gnu.org>
11048
11049 * gdb.base/store.exp: Update copyright.
11050 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11051 names, do not import gdb_prompt.
11052
11053 2004-08-01 Andrew Cagney <cagney@gnu.org>
11054
11055 Fix PR testsuite/1729.
11056 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11057 not use capture_value with value 4.
11058 (capture_value): Add optional test name parameter.
11059 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11060 the prefix, pass to capture_value.
11061
11062 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11063
11064 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11065 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11066 (main): Call new function.
11067
11068 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11069
11070 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11071
11072 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11073
11074 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11075
11076 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11077
11078 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11079 Accept more values of vtbl pointer. Remove some messages
11080 about "obsolete gcc or gdb".
11081
11082 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11083
11084 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11085
11086 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11087
11088 * gdb.base/asm-source.exp: Properly convert target board
11089 debug flags from gcc format to binutils format.
11090
11091 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11092
11093 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11094 gdb1718". PR backtrace/1718 partially fixed.
11095
11096 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11097
11098 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11099
11100 2004-07-26 Nick Clifton <nickc@redhat.com>
11101
11102 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11103 good default value for a specific architecture is available then
11104 set it to that value. Otherwise default to the -gstabs switch.
11105 Remove the -g... switches from the asm-flags variable. Allow the
11106 target board info to override the value if it wants to. Pass the
11107 switch on the assembler command line.
11108
11109 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11110
11111 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11112 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11113 (main): Call new function.
11114
11115 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11116
11117 Test for PR exp/1715.
11118 * gdb.base/radix.exp: Refactor common procedures. Make all
11119 test names unique. Change XFAIL to KFAIL.
11120
11121 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11122
11123 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11124 * gdb.ada/gnat_ada.gin: ... to here.
11125 * configure.in: Use gnat_ada.gin.
11126 * configure: Regenerate.
11127
11128 2004-07-20 Andrew Cagney <cagney@gnu.org>
11129
11130 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11131 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11132 XFAILs. Clean up test messages and comments. Check backtraces.
11133 Delete re-sync code.
11134
11135 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11136
11137 Fix PR cli/740.
11138 * gdb.base/annota1.exp: Honor gdb,nosignals.
11139 * gdb.base/annota3.exp: Likewise.
11140
11141 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11142
11143 * lib/java.exp: Update copyright notice.
11144
11145 2004-07-19 Andrew Cagney <cagney@gnu.org>
11146
11147 * gdb.base/selftest.exp: Copy file from here ...
11148 * gdb.gdb/selftest.exp: ... to here.
11149
11150 2004-07-16 Andrew Cagney <cagney@redhat.com>
11151
11152 * lib/insight-support.exp: Delete file.
11153 * lib/java.exp (java_init): Fix copyright.
11154
11155 2004-07-16 Andrew Cagney <cagney@gnu.org>
11156
11157 * gdb.base/restore.c: Append "prologue" to comments marking the a
11158 function's prologue.
11159 * gdb.base/restore.exp: Update copyright, re-indent.
11160 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11161 callerN" prefix where needed. Update patterns that match a
11162 function's prologue.
11163
11164 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11165
11166 * gdb.base/restore.c: Add copyright notice.
11167
11168 2004-07-16 Andrew Cagney <cagney@gnu.org>
11169
11170 * gdb.base/logical.exp: Update copyright.
11171 (evaluate): New procedure. Use to re-implement tests using
11172 several tables.
11173
11174 2004-07-14 Martin Hunt <hunt@redhat.com>
11175
11176 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11177 which fixes some problems where init.tcl was not found.
11178
11179 2004-07-13 Andrew Cagney <cagney@gnu.org>
11180
11181 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11182 (check_sizeof, check_valueof): Do not include the output in the
11183 test name. Use gdb_test.
11184 (get_valueof): Use gdb_test_multiple.
11185
11186 * gdb.base/step-test.exp: Update copyright. Use
11187 gdb_test_multiple. Ensure that test names do not include
11188 architecture dependent output.
11189
11190 * gdb.gdb/observer.exp: Update copyright.
11191 (setup_test): Use gdb_test_multiple.
11192 (attach_first_observer, attach_second_observer)
11193 (attach_third_observer, detach_first_observer)
11194 (detach_second_observer, detach_third_observer)
11195 (reset_counters, check_counters): Make $message a prefix.
11196 (test_normal_stop_notifications): Add "args" parameter - a list of
11197 init functions to be called. Make $message a prefix,
11198 (test_observer_normal_stop): Change the message prefixes so that
11199 they are unique, pass the attach / detach procedures to
11200 test_normal_stop_notifications.
11201
11202 * gdb.base/signull.exp (test_segv): Prefix all tests with
11203 "${name}". Clean up test messages.
11204
11205 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11206
11207 * gdb.base/ena-dis-br.exp: Update copyright.
11208 (break_at): New function. Replace send_gdb with gdb_test,
11209 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11210 ignore count, not stopped at bpt", with KFAIL.
11211
11212 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11213
11214 * gdb.base/attach.exp: Remove cleanupfile handling.
11215
11216 2004-07-12 Andrew Cagney <cagney@gnu.org>
11217
11218 * gdb.base/annota1.exp: Cleanup corefile test name.
11219 * gdb.base/annota3.exp: Ditto.
11220
11221 2004-07-12 Andrew Cagney <cagney@gnu.org>
11222
11223 * gdb.base/signals.exp: Clean up copyright, re-indent.
11224
11225 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11226 gdb_test and gdb_test_multiple.
11227
11228 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11229
11230 * gdb.java/jmain.exp: Fix expected line number for main to
11231 break at. Set XFAIL for break at main test since gcj does not
11232 provide line number info for first statement in main.
11233
11234 2004-07-08 Andrew Cagney <cagney@gnu.org>
11235
11236 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11237
11238 * gdb.base/sigbpt.exp: Make the common part of each test name a
11239 prefix instead of suffix.
11240
11241 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11242
11243 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11244 test from test_tbreak_creation_and_listing to
11245 test_file_list_exec_source_file
11246 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11247 Changed name of test from test_tbreak_creation_and_listing to
11248 test_file_list_exec_source_file
11249
11250 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11251
11252 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11253 the jmisc() constructor instead of <init>.
11254 * gdb.java/jmisc1.exp: Ditto.
11255
11256 2004-07-07 Andrew Cagney <cagney@gnu.org>
11257
11258 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11259 corrupting the PC.
11260
11261 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11262
11263 * gdb.cp/templates.exp: Accept whitespace change in demangler
11264 output.
11265
11266 2004-07-06 Andrew Cagney <cagney@gnu.org>
11267
11268 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11269
11270 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11271
11272 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11273 * lib/compiler.cc: Likewise.
11274
11275 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11276
11277 * lib/compiler.cc: Work around string preprocessing problem
11278 with old hp c++ compiler.
11279 * lib/compiler.c: Likewise.
11280
11281 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11282
11283 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11284 directives to conditionalize symbol prefixing.
11285 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11286 additional_flags handling. Add underscore prefix for Cygwin.
11287 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11288 conditionalize symbol prefixing.
11289 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11290 additional_flags handling. Add underscore prefix for Cygwin.
11291
11292 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11293
11294 * gdb.base/bigcore.exp: Skip test on Cygwin.
11295
11296 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11297
11298 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11299 formats for "info register". Use gdb_test_multiple. Fix
11300 the "invalid register" test.
11301
11302 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11303
11304 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11305 PID for Cygwin. Add Cygwin specific strings to check for in some
11306 tests.
11307 (do_attach_tests): Add a test for user interaction when attaching
11308 to a process with no matching symbol table already loaded.
11309
11310 2004-06-26 Andrew Cagney <cagney@gnu.org>
11311
11312 Test PR java/1567 and PR java/1565.
11313 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11314 * gdb.java/jmisc2.exp: Delete file.
11315
11316 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11317
11318 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11319
11320 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11321
11322 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11323 attach process.
11324
11325 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11326
11327 * gdb.cp/pr-1553.exp: Remove.
11328
11329 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11330
11331 * gdb.cp/pr-1553.cc: Remove.
11332 * gdb.cp/pr-1553.exp: Disable this test.
11333
11334 2004-06-20 Jim Blandy <jimb@redhat.com>
11335
11336 Fix PR testsuite/1680.
11337 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11338 regular expressions.
11339
11340 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11341
11342 Fix PR testsuite/1679.
11343 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11344 Issue an UNSUPPORTED result instead.
11345
11346 2004-06-18 Jim Blandy <jimb@redhat.com>
11347
11348 * gdb.base/charset.exp: Only send a control-C if we see a new
11349 prompt and incomplete command.
11350
11351 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11352
11353 * gdb.cp/pr-574.cc: Add copyright notice.
11354
11355 2004-06-17 Jim Blandy <jimb@redhat.com>
11356
11357 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11358 cases where the regexp has no groups; this grabs random text from
11359 the previous test suite, whatever that was.
11360
11361 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11362
11363 * gdb.cp/printmethod.cc: Add copyright notice.
11364
11365 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11366
11367 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11368
11369 2004-06-16 Andrew Cagney <cagney@gnu.org>
11370
11371 * gdb.base/signull.c: Update copyright. Include <string.h>.
11372 (bowler): Replace data_pointer with data_read
11373 and data_write cases. Add code_descriptor case.
11374 (zero, desc): New array and pointer.
11375 (data, code): Change to simple pointers.
11376 * gdb.base/signull.exp: Fix probe pattern matching a function
11377 descriptor SIGSEGV. Replace data_pointer with data_read and
11378 data_write tests.
11379
11380 2004-06-16 Andrew Cagney <cagney@gnu.org>
11381
11382 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11383
11384 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11385
11386 * gdb.base/long_long.c: Add copyright notice.
11387
11388 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11389
11390 * gdb.base/long_long.exp: Remove reference to
11391 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11392 to gdb_breakpoint and gdb_continue_to_breakpoint.
11393
11394 2004-06-14 Jim Blandy <jimb@redhat.com>
11395
11396 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11397 endian case.
11398
11399 2004-06-14 Andrew Cagney <cagney@gnu.org>
11400
11401 * gdb.base/gcore.exp (capture_command_output): Delete the always
11402 passing tests containing inferior values.
11403 * gdb.base/ending-run.exp: Do not include the breakpoint address
11404 in the test message. Update copyright.
11405 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11406 size in the test name, use gdb_test_multiple. Update copyright.
11407
11408 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11409
11410 * gdb.cp/ref-types.cc: Add copyright notice.
11411
11412 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11413
11414 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11415 hp_aCC_compiler.
11416 * lib/compiler.cc: Likewise.
11417 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11418 'set' commands. Log diagnostics for other lines. Set
11419 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11420
11421 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11422
11423 * gdb.cp/try_catch.cc: Add copyright notice.
11424
11425 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11426
11427 * gdb.cp/userdef.cc: Add copyright notice.
11428
11429 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11430
11431 * gdb.cp/virtfunc.cc: Add copyright notice.
11432
11433 2004-06-11 Randolph Chung <tausq@debian.org>
11434
11435 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11436 problem.
11437
11438 2004-06-10 Andrew Cagney <cagney@gnu.org>
11439
11440 * lib/compiler.cc, lib/compiler.c: Append either
11441 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11442 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11443 instead of gcc-3-3.
11444
11445 2004-06-09 Andrew Cagney <cagney@gnu.org>
11446
11447 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11448 gdb/1455, bug is specific to "long long" and "double".
11449
11450 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11451 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11452 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11453 fixed.
11454
11455 2004-06-09 Andrew Cagney <cagney@gnu.org>
11456
11457 * gdb.base/structs.exp (test_struct_returns): Replace
11458 "return_value_unknown" and "finish_value_unknown" by
11459 "return_value_known" and "finish_value_known". Instead of
11460 "return_value_unknown" iff "finish_value_unknown", check
11461 "return_value_known" implies "finish_value_known".
11462
11463 2004-06-08 Martin Hunt <hunt@redhat.com>
11464
11465 * gdb.base/float.exp: Add pattern for mips targets.
11466
11467 2004-06-08 Randolph Chung <tausq@debian.org>
11468
11469 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11470 message for unknown architectures more clear.
11471
11472 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11473
11474 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11475 start the execution of the program.
11476
11477 2004-06-07 Jim Blandy <jimb@redhat.com>
11478
11479 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11480 * gdb.arch/i386-cpuid.h: New helper file.
11481
11482 2004-06-07 Randolph Chung <tausq@debian.org>
11483
11484 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11485 has started.
11486
11487 2004-06-04 Roland McGrath <roland@redhat.com>
11488
11489 Fix PR gdb/1647.
11490 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11491 differently to be robust to output buffering differences.
11492
11493 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11494
11495 * gdb.threads/pthreads.exp: Update copyright years.
11496 (check_control_c): Change asynchronous 'after' to synchronous.
11497
11498 2004-06-04 Roland McGrath <roland@redhat.com>
11499
11500 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11501 next gdb prompt.
11502
11503 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11504
11505 Fix PR gdb/1636.
11506 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11507 calls to synchronous.
11508
11509 2004-05-26 Jim Blandy <jimb@redhat.com>
11510
11511 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11512
11513 2004-05-24 Randolph Chung <tausq@debian.org>
11514
11515 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11516 * gdb.asm/pa.inc: New file.
11517
11518 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11519
11520 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11521
11522 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11523 Daniel Jacobowitz <drow@mvista.com>
11524
11525 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11526 GDB prompt.
11527
11528 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11529
11530 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11531 setjmp/longjmp. Use sigaction instead of signal.
11532
11533 2004-05-19 J. Brobecker <brobecker@gnat.com>
11534 Michael Snyder <msnyder@redhat.com>
11535
11536 * gdb.threads/pthread_cond_wait.c: New file.
11537 * gdb.threads/pthread_cond_wait.exp: New testcase.
11538
11539 2004-05-13 Andrew Cagney <cagney@redhat.com>
11540
11541 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11542 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11543
11544 2004-05-11 Andrew Cagney <cagney@redhat.com>
11545
11546 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11547 fixed but revealed gdb/1639.
11548
11549 2004-05-10 Andrew Cagney <cagney@redhat.com>
11550
11551 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11552 func1" and "next to 2nd alarm", kernel bug avoided.
11553
11554 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11555
11556 PR external/1568
11557 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11558 XFAIL if it is smaller than bytes_allocated.
11559 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11560 (main): Make chunks_allocated unsigned. Correct comment.
11561
11562 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11563
11564 * gdb.arch/powerpc-aix-prologue.c: New file.
11565 * gdb.arch/powerpc-aix-prologue.exp: New file.
11566
11567 2004-05-07 Jim Blandy <jimb@redhat.com>
11568
11569 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11570 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11571
11572 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11573
11574 * gdb.base/sep.exp: No longer setup_kfail when the program was
11575 built with dwarf2.
11576
11577 2004-05-05 Jim Ingham <jingham@apple.com>
11578
11579 * gdb.base/pending.exp: Make sure pending breakpoints
11580 preserve the ignore count.
11581
11582 2004-04-27 Jerome Guitton <guitton@gnat.com>
11583
11584 * i386-prologue.exp: Add testcase for jump instruction as first
11585 instruction of the real code.
11586 * i386-prologue.c (jump_at_beginning): New function.
11587
11588 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11589
11590 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11591 x86_64-*-*.
11592
11593 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11594
11595 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11596 i*86-*-*.
11597
11598 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11599
11600 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11601 expression that checks the return type.
11602
11603 2004-04-23 Andrew Cagney <cagney@redhat.com>
11604
11605 * gdb.base/call-sc.exp: New test of scalar call/return values.
11606 * gdb.base/call-sc.c: Ditto.
11607
11608 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11609
11610 * gdb.threads/manythreads.c: Reduce thread stack size.
11611
11612 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11613
11614 * gdb.threads/manythreads.c: Add copyright notice.
11615
11616 2004-04-23 Andrew Cagney <cagney@redhat.com>
11617
11618 * gdb.base/siginfo.exp: Better handle step out of signal.
11619 * gdb.base/sigstep.exp: Ditto.
11620
11621 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11622 Daniel Jacobowitz <drow@mvista.com>
11623
11624 * gdb.threads/manythreads.c: New testcase.
11625 * gdb.threads/manythreads.exp: Ditto.
11626
11627 2004-04-22 Jim Blandy <jimb@redhat.com>
11628
11629 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11630 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11631
11632 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11633
11634 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11635
11636 2004-04-21 Andrew Cagney <cagney@redhat.com>
11637
11638 * gdb.base/sigstep.c: New file.
11639 * gdb.base/sigstep.exp: New file.
11640
11641 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11642
11643 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11644 call to observer_notify_normal_stop.
11645
11646 2004-04-15 Andrew Cagney <cagney@redhat.com>
11647
11648 * gdb.base/siginfo.c: New file.
11649 * gdb.base/siginfo.exp: New file.
11650
11651 2004-04-12 J. Brobecker <brobecker@gnat.com>
11652
11653 * gdb.base/sep.exp: Fix typo in comment.
11654
11655 2004-04-12 J. Brobecker <brobecker@gnat.com>
11656
11657 * gdb.base/sep.c: New file.
11658 * gdb.base/sep-proc.c: New file.
11659 * gdb.base/sep.exp: New testcase.
11660
11661 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11662
11663 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11664 support.
11665
11666 2004-04-05 Andrew Cagney <cagney@redhat.com>
11667
11668 * gdb.base/sigaltstack.c: New file.
11669 * gdb.base/sigaltstack.exp: New file.
11670
11671 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11672
11673 * gdb.base/foll-fork.exp: Update the expected output for
11674 "help set follow-fork-mode", to match a change that was made
11675 to the help of this variable on 2004-01-13.
11676
11677 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11678
11679 * lib/ada.exp: Add copyright notice.
11680 * bar.ads: Likewise.
11681 * bar.adb: Likewise.
11682 * null_record.adb: Likewise.
11683 * null_record.exp: Likewise.
11684 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11685
11686 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11687
11688 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11689 * configure: Regenerate.
11690
11691 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11692
11693 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11694 to build the application. Remove the message printed when in
11695 verbose mode, redundant with the UNSUPPORTED message above.
11696
11697 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11698
11699 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11700 * gdb.ada (null_record.exp): New testcase.
11701
11702 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11703
11704 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11705
11706 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11707
11708 * gdb.ada: New subdirectory.
11709 * gdb.ada/Makefile.in: New file.
11710 * gdb.ada/gnat_ada.gpr.in: New file.
11711
11712 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11713
11714 * lib/ada.exp: New file.
11715
11716 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11717
11718 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11719 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11720
11721 2004-03-22 Andrew Cagney <cagney@redhat.com>
11722
11723 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11724 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11725 Problem identified by Ulrich Weigand.
11726
11727 2004-03-17 David Carlton <carlton@kealia.com>
11728
11729 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11730 PR c++/826.
11731
11732 2004-03-16 Roland McGrath <roland@redhat.com>
11733
11734 * gdb.base/auxv.exp: New file.
11735 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11736
11737 2004-03-12 David Carlton <carlton@kealia.com>
11738
11739 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11740 * gdb.cp/pr-1553.cc: Ditto.
11741 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11742 pass branch.
11743
11744 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11745
11746 * gdb.cp/templates.exp: Accept more template types.
11747
11748 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11749
11750 From Corinna Vinschen with modifications.
11751 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11752 local variable obj_with_enum.
11753 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11754 results with obj_with_enum.
11755
11756 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11757
11758 * gdb.cp/classes.cc: New file, copied from misc.cc.
11759 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11760
11761 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11762
11763 * gdb.cp/misc.cc: Add copyright notice.
11764
11765 2004-03-05 David Carlton <carlton@kealia.com>
11766
11767 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11768 * gdb.cp/rtti.h: Update copyright.
11769 (namespace n2::n3): New.
11770 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11771 (n2::n3::func3): New.
11772 (main): Call n2::n3::func3.
11773 * gdb.cp/rtti2.cc: Update copyright.
11774 (n2::create3): New.
11775
11776 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11777
11778 * gdb.asm/openbsd.inc: Fix typo.
11779
11780 2004-03-03 Fred Fish <fnf@redhat.com>
11781
11782 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11783 "val" instead of unused "size". Update copyright year.
11784
11785 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11786
11787 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11788 to use unsigned char.
11789 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11790 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11791
11792 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11793
11794 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11795 line of output.
11796
11797 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11798
11799 * gdb.base/relocate.c (dummy): Initialize.
11800
11801 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11802
11803 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11804 a breakpoint at exit.
11805
11806 2004-02-27 Fred Fish <fnf@redhat.com>
11807
11808 * gdb.base/chng-syms.exp: Add expect condition to match failing
11809 case that isn't a timeout.
11810
11811 2004-02-27 Andrew Cagney <cagney@redhat.com>
11812
11813 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11814 support.
11815
11816 2004-02-26 Fred Fish <fnf@redhat.com>
11817
11818 * gdb.arch/gdb1431.c: Remove.
11819 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11820 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11821 of "until" incorrectly.
11822
11823 2004-02-26 J. Brobecker <brobecker@gnat.com>
11824
11825 * gdb.cp/class2.cc (empty): New class.
11826 (refer): New function.
11827 (main): Declare an object of type empty and use it.
11828 * gdb.cp/class2.exp: Print the value of an object of type empty.
11829
11830 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11831
11832 * gdb.base/langs.exp: Update query string to match the
11833 new nquery format used for pending breakpoints.
11834
11835 2004-02-26 Andrew Cagney <cagney@redhat.com>
11836
11837 Fix PR i18n/1570.
11838 * gdb.base/charset.c: Update copyright notice.
11839 (main, init_string): Remove the escape character '\e' tests.
11840 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11841 * gdb.base/charset.exp (valid_host_charset): Ditto.
11842 * gdb.base/setvar.exp: Ditto.
11843
11844 2004-02-24 Andrew Cagney <cagney@redhat.com>
11845
11846 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11847 mmapped data in core file" PASS and FAIL messages consistent.
11848
11849 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11850 setting a breakpoint. Work around PR java/1565.
11851
11852 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11853
11854 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11855 new nquery format.
11856 * gdb.base/pending.exp: Ditto.
11857
11858 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11859
11860 * configure.in: Run stabs tests on *BSD.
11861 * configure: Regenerated.
11862
11863 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11864
11865 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11866
11867 2004-02-20 Fred Fish <fnf@redhat.com>
11868
11869 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11870 blank in test for "returns short", for consistency with other
11871 "returns xxx" tests. Update copyright year.
11872
11873 2004-02-19 Fred Fish <fnf@redhat.com>
11874
11875 New testcase for PR breakpoint/1558.
11876 * gdb.arch/gdb1558.exp: New file.
11877 * gdb.arch/gdb1558.c: New file.
11878
11879 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11880
11881 * gdb.base/nodebug.exp: Fix typo.
11882
11883 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11884
11885 Committed by Jim Blandy <jimb@redhat.com>.
11886
11887 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11888
11889 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11890
11891 * gdb.base/float.exp: Support s390*-*-* targets.
11892
11893 2004-02-17 Adam Fedor <fedor@gnu.org>
11894
11895 * gdb.base/gdb1555.exp: New file.
11896 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11897
11898 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11899
11900 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11901
11902 2004-02-16 Fred Fish <fnf@redhat.com>
11903
11904 * gdb.arch/gdb1291.c: Remove
11905 * gdb.arch/gdb1291.s: New test input file.
11906 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11907 fail. Test for correct result, known incorrect result, other
11908 failures and timeouts.
11909
11910 2004-02-16 Andrew Cagney <cagney@redhat.com>
11911
11912 * gdb.base/bigcore.exp: New file.
11913 * gdb.base/bigcore.c: New file.
11914
11915 2004-02-13 Andrew Cagney <cagney@redhat.com>
11916
11917 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11918 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11919 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11920 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11921 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11922 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11923 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11924 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11925 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11926 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11927
11928 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11929
11930 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11931 executed is an alloc instruction.
11932
11933 2004-02-11 David Carlton <carlton@kealia.com>
11934
11935 * gdb.cp/breakpoint.exp: New.
11936 * gdb.cp/breakpoint.cc: New.
11937
11938 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11939
11940 Partial fix for PR gdb/1543.
11941 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11942 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11943 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11944 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11945 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11946 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11947 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11948 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11949 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11950 to bug-gdb@prep.ai.mit.edu .
11951 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11952 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11953 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11954 Likewise.
11955
11956 2004-02-10 Andrew Cagney <cagney@redhat.com>
11957
11958 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11959 using gdb_internal_error_resync.
11960
11961 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11962
11963 * gdb.threads/thread-specific.exp: Stop early if no threads are
11964 found.
11965
11966 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11967
11968 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11969
11970 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11971
11972 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11973 breakpoints.
11974
11975 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11976
11977 * config/sim.exp (gdb_load): Handle $arg == "".
11978 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11979 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11980
11981 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11982
11983 * gdb.base/maint.exp: Update test to reflect
11984 obstack changes.
11985
11986 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11987
11988 * gdb.base/pendshr.c (pendfunc): New function that calls
11989 pendfunc1.
11990 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11991
11992 2004-02-04 Fred Fish <fnf@redhat.com>
11993
11994 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11995 function symbols and update copyright years.
11996 * gdb.arch/gdb1291.c: Ditto.
11997
11998 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11999
12000 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12001
12002 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12003
12004 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12005
12006 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12007
12008 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12009
12010 2004-02-02 Fred Fish <fnf@redhat.com>
12011
12012 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12013 remote targets. Update copyright years.
12014
12015 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12016
12017 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12018 support.
12019 * gdb.base/langs.exp: Fix test which attempts to create
12020 breakpoint on non-existent function to handle new pending
12021 support.
12022 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12023 a breakpoint.
12024 * gdb.base/pending.exp: New test.
12025 * gdb.base/pending.c: New file.
12026 * gdb.base/pendshr.c: Ditto.
12027
12028 2004-02-02 David Carlton <carlton@kealia.com>
12029
12030 * gdb.cp/overload.exp: Add overloadNamespace tests.
12031 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12032 (overloadNamespace, XXX): New.
12033 (main): Call XXX::marker2.
12034
12035 2004-02-01 Fred Fish <fnf@redhat.com>
12036
12037 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12038 * gdb.base/finish.exp: Ditto.
12039 * gdb.base/gcore.exp: Ditto.
12040 * gdb.base/huge.exp: Ditto.
12041 * gdb.base/info-proc.exp: Ditto.
12042 * gdb.base/return2.exp: Ditto.
12043 * gdb.threads/gcore-thread.exp: Ditto.
12044
12045 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12046
12047 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12048
12049 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12050
12051 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12052 that opening the file succeeds on OpenBSD.
12053
12054 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12055
12056 * gdb.threads/thread-specific.c: New file.
12057 * gdb.threads/threads-specific.exp: New test script.
12058 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12059 to expect_out.
12060
12061 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12062
12063 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12064 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12065 only on the "print_small_structs from print_long_arg_list" test.
12066
12067 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12068
12069 * gdb.base/completion.exp: Kill a stray backslash.
12070
12071 From Jim Ingham <jingham@apple.com>:
12072 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12073 agrees with the result from sending a tab.
12074
12075 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12076
12077 * gdb.base/chng-syms.exp: Remove stray newline.
12078
12079 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12080
12081 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12082 *-*-openbsd*.
12083 * gdb.asm/openbsd.inc: New file.
12084
12085 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12086
12087 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12088 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12089 *-*solaris2*. Remove commented out default settings for
12090 asm-flags. Replace gdb_compile with target_link.
12091
12092 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12093
12094 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12095 for all tests. Remove old hp-ux and cygnus xfail cases.
12096
12097 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12098
12099 * gdb.base/chng-syms.exp: New file.
12100 * gdb.base/chng-syms.c: New file.
12101
12102 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12103
12104 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12105 Provide arms for current output in all my configurations.
12106
12107 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12108
12109 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12110 * lib/compiler.cc: Likewise.
12111 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12112 get the right preprocessor. Eval the output directly. Remove
12113 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12114 hp_f77_compiler and hp_f90_compiler completely.
12115 (gdb_preprocess): Delete.
12116 (get_compiler): Delete.
12117
12118 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12119
12120 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12121 <string.h>.
12122
12123 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12124
12125 * gdb.mi/mi-stack.exp: Update copyright.
12126
12127 2004-01-23 David Carlton <carlton@kealia.com>
12128
12129 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12130 test for cp_lookup_transparent_type.
12131 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12132 call them.
12133
12134 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12135
12136 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12137 after -var-update.
12138
12139 2004-01-23 David Carlton <carlton@kealia.com>
12140
12141 * gdb.cp/namespace.cc (C::ensureRefs): New.
12142 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12143
12144 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12145
12146 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12147 case "-stack-list-locals 2".
12148 * gdb.mi/mi-var-child.exp: Test for case
12149 "-var-list-children --all-values NAME".
12150
12151 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12152
12153 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12154
12155 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12156
12157 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12158 used with gdb_test_multiple.
12159
12160 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12161 read at address 0. This fixes PR testsuite/1504.
12162
12163 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12164
12165 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12166 Remove downloading, guessing the host executable, the calls to
12167 gdb_file_cmd and gdb_target_cmd, and "load" support.
12168 (infer_host_exec): New function broken out from gdb_load.
12169 (gdb_load): New wrapper for gdbserver_gdb_load.
12170 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12171 gdb_target_cmd. Use -target-select.
12172 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12173 Download binaries to the host. Clear last_mi_remote_file when
12174 we load a new binary.
12175 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12176 call gdbserver_gdb_load and mi_gdb_target_cmd.
12177
12178 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12179
12180 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12181 type patterns.
12182
12183 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12184
12185 * gdb.cp/templates.exp: Fix typo in test name of
12186 "print Foo<volatile char*>::foo".
12187
12188 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12189
12190 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12191
12192 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12193
12194 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12195 (clean mostlyclean): Remove empty rm.
12196
12197 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12198
12199 * gdb.base/setvar.exp: Add copyright years.
12200
12201 2004-01-14 David Carlton <carlton@bactrian.org>
12202
12203 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12204 PR c++/1511 and update coment.
12205 * gdb.cp/templates.exp: Update patterns to match current output.
12206 If changes involve something other than whitespace, KFAIL
12207 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12208
12209 2004-01-14 David Carlton <carlton@kealia.com>
12210
12211 * gdb.cp/namespace.exp: Add tests involving classes defined within
12212 namespaces.
12213 * gdb.cp/namespace.cc (C::CClass): New.
12214 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12215
12216 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12217
12218 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12219 what debug info we have. Print a better message if something goes
12220 wrong while producing the separate debug info file.
12221
12222 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12223
12224 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12225
12226 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12227
12228 * gdb.base/callfuncs.c: Add copyright notice.
12229
12230 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12231
12232 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12233 inheritance. PR gdb/1498, PR gcc/13539.
12234
12235 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12236
12237 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12238 test specific name.
12239 * gdb.mi/gdb669.exp: Ditto.
12240 * gdb.mi/mi-pthreads.exp: Ditto.
12241 * gdb.mi/mi1-pthreads.exp: Ditto.
12242 * gdb.mi/mi2-pthreads.exp: Ditto.
12243
12244 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12245
12246 * gdb.cp/member-ptr.cc: Add copyright notice.
12247
12248 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12249
12250 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12251 some patterns for recent versions of gcc and hpacc. Delete
12252 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12253 Delete tests that access a NULL pointer-to-member-data. This
12254 script is still disabled for gcc.
12255
12256 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12257
12258 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12259 escaped correctly.
12260
12261 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12262
12263 * gdb.base/sepdebug.exp: New file.
12264 * gdb.base/sepdebug.c: New file.
12265 * lib/gdb.exp (separate_debug_filename): New procedure.
12266 (gdb_gnu_strip_debug): New procedure.
12267
12268 2004-01-12 Andrew Cagney <cagney@redhat.com>
12269
12270 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12271 * gdb.mi/ChangeLog-1999-2003: New file.
12272
12273 2004-01-12 Andrew Cagney <cagney@redhat.com>
12274
12275 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12276 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12277 or EEXIST", treat EBUSY as an XFAIL.
12278
12279 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12280
12281 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12282 hp_cc_compiler.
12283
12284 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12285
12286 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12287 decorations.
12288
12289 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12290
12291 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12292 and "(aCC)" decorations. Remove obsolete doco about old
12293 test results.
12294
12295 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12296
12297 * gdb.cp/exception.exp: Fix typo in doco.
12298
12299 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12300
12301 * gdb.base/gdb1476.exp: Fix typo.
12302
12303 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12304
12305 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12306 file.
12307
12308 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12309
12310 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12311 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12312 Use gdb_compile. Remove restriction on gcc. Add some patterns
12313 for recent version of gdb. Delete second half, which was a copy
12314 of the first half with different build flags. This test is
12315 still disabled because it is still not ready for production.
12316
12317 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12318
12319 * gdb.cp/exception.cc: Add copyright notice.
12320 * gdb.cp/exception.exp: Add a notice that this file is broken
12321 because of line number changes caused by addition of copyright
12322 notice.
12323
12324 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12325
12326 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12327 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12328
12329 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12330
12331 * gdb.cp/classes.exp: Accept gnu abi 2.
12332 * gdb.cp/derivation.exp: Likewise.
12333 * gdb.cp/overload.exp: Likewise.
12334 * gdb.cp/virtfunc.exp: Likewise.
12335
12336 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12337
12338 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12339 semicolon after end of function.
12340
12341 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12342
12343 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12344 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12345 boilerplate code for compiling and running the program under
12346 test. Add some string method tests.
12347
12348 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12349
12350 * gdb.cp/bs15503.cc: Add copyright notice.
12351 * gdb.cp/bs15503.exp: Adjust line number.
12352
12353 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12354
12355 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12356 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12357
12358 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12359
12360 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12361 hp_cc_compiler.
12362
12363 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12364
12365 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12366 * gdb.cp/ctti.exp: Use the marker instead of "next".
12367 With gcc, run further before bailing.
12368
12369 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12370
12371 * gdb.cp/cttiadd.cc: Add copyright notice.
12372 * gdb.cp/cttiadd1.cc: Likewise.
12373 * gdb.cp/cttiadd2.cc: Likewise.
12374 * gdb.cp/cttiadd3.cc: Likewise.
12375
12376 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12377
12378 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12379 Use gdb_test, gdb_test_multiple. Use floating-point values that
12380 have exact representations in IEEE-ish formats.
12381
12382 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12383
12384 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12385 compilers. Delete duplicate call to get_compiler_info.
12386 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12387 * gdb.base/volatile.exp: Likewise.
12388
12389 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12390
12391 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12392 memory at address 0.
12393
12394 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12397 to test for hp-ux assembler. Fix copyright years.
12398
12399 2004-01-07 Andrew Cagney <cagney@redhat.com>
12400
12401 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12402
12403 2004-01-07 Andrew Cagney <cagney@redhat.com>
12404
12405 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12406 when creating the read-only file. From analysis by Roland McGrath
12407 and Elena Zannoni.
12408
12409 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12410
12411 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12412
12413 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12414
12415 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12416 data pointers.
12417
12418 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12419
12420 * gdb.cp/m-static.exp: Compile one source file at a time.
12421 Delete unused call to get_compiler_info.
12422
12423 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12424
12425 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12426 * gdb.base/call-rt-st.exp: Likewise.
12427 * gdb.base/nodebug.exp: Likewise.
12428 * gdb.base/volatile.exp: Likewise.
12429 * gdb.cp/ref-types.exp: Likewise.
12430 * gdb.cp/templates.exp: Likewise.
12431
12432 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12433
12434 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12435
12436 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12437
12438 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12439 hppa*-hp-hpux*.
12440
12441 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12442
12443 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12444 x86_64-*-*.
12445
12446 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12447 sparc64-*-* and sparc*-solaris2*.
12448
12449 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12450
12451 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12452 return ${tests}" test. The ${tests} already mentions the
12453 filename.
12454
12455 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12456
12457 * gdb.cp/local.exp: Accept gcc abi 2.
12458
12459 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12460
12461 * gdb.cp/templates.exp: Accept gcc abi 2.
12462
12463 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12464
12465 * lib/compiler.cc: Remove supports_template_debugging.
12466 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12467
12468 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12469
12470 * gdb.cp/namespace.exp: Accept gcc abi 2.
12471
12472 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12473
12474 * gdb.cp/method.exp: Accept gcc abi 2.
12475
12476 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12477
12478 * gdb.cp/classes.exp: Generate identical results as old version.
12479 * gdb.cp/derivation.exp: Likewise.
12480 * gdb.cp/overload.exp: Likewise.
12481 * gdb.cp/virtfunc.exp: Likewise.
12482
12483 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12484
12485 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12486 mysterious bug with sourceware version of expect.
12487
12488 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12489
12490 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12491 current versions of gcc, including gcc abi 2. Remove gratuitous
12492 restart of test program. Use gdb_test_multiple and gdb_test for
12493 all tests. Add patterns to xfail missing "const" in "const char *"
12494 and kfail PR gdb/1155.
12495
12496 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12497
12498 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12499 current versions of gcc, including gcc abi 2. Remove gratuitous
12500 restart of test program. Use gdb_test_multiple and gdb_test for
12501 all tests. Add patterns to kfail PR gdb/1498.
12502
12503 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12506 current versions of gcc, including gcc abi 2. Use "breakpoint"
12507 and "continue" instead of restarting the target program. Use
12508 gdb_test_multiple and gdb_test for all tests.
12509
12510 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12511
12512 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12513 for *-*-solaris2*.
12514
12515 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12516
12517 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12518 current versions of gcc, including gcc abi 2. Use "breakpoint"
12519 and "continue" instead of restarting the target program several
12520 times. Use gdb_test_multiple and gdb_test for all tests.
12521
12522 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12523
12524 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12525 source files.
12526
12527 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12528
12529 * gdb.base/environ.exp: Handle compiling test case from multiple
12530 source files.
12531
12532 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12533
12534 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12535
12536 2003-12-17 Jim Blandy <jimb@redhat.com>
12537
12538 * gdb.base/freebpcmd.c: Add copyright notice.
12539
12540 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12541
12542 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12543
12544 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12545
12546 2003-12-13 Jim Blandy <jimb@redhat.com>
12547
12548 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12549
12550 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12551
12552 * gdb.asm/frv.inc: New file.
12553 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12554
12555 2003-12-09 Fred Fish <fnf@redhat.com>
12556
12557 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12558 functions to break1.c and leave prototypes behind. Add more
12559 "set breakpoint NN here" comments.
12560 * gdb.base/break1.c: New file.
12561
12562 * gdb.base/break.exp: Handle compiling test case from multiple
12563 source files and change source file references as needed.
12564 * gdb.base/completion.exp: Ditto.
12565 * gdb.base/condbreak.exp: Ditto.
12566 * gdb.base/define.exp: Ditto.
12567 * gdb.base/ena-dis-br.exp: Ditto.
12568 * gdb.base/info-proc.exp: Ditto.
12569 * gdb.base/maint.exp: Ditto.
12570 * gdb.base/until.exp: Ditto.
12571
12572 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12573 hardcoded line numbers.
12574 * gdb.base/define.exp: Ditto.
12575 * gdb.base/ena-dis-br.exp: Ditto.
12576 * gdb.base/maint.exp: Ditto.
12577 * gdb.base/until.exp: Ditto.
12578
12579 * gdb.base/completion.exp: Use "break1" for completion tests since
12580 "break" is no longer a unique prefix.
12581
12582 2003-12-06 Andrew Cagney <cagney@redhat.com>
12583
12584 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12585 "return_value_unimplemented". When an unimplemented struct return
12586 architecture, report incorrect values as a KFAIL
12587
12588 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12589
12590 * gdb.cp/rtti.exp: Accept new wording of warning from
12591 cp_lookup_rtti_type.
12592
12593 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12594
12595 Partial fix for PR testsuite/1456.
12596 * gdb.base/scope.exp (test_at_main): Replace references to
12597 gcc_compiled with calls to test_compiler_info.
12598 (test_at_foo): Likewise.
12599 (test_at_bar): Likewise.
12600
12601 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12602
12603 Partial fix for PR testsuite/1456.
12604 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12605 to test_compiler_info.
12606
12607 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12608
12609 * gdb.base/so-impl-ld.exp: Update copyright notice.
12610
12611 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12612
12613 Partial fix for PR testsuite/1456.
12614 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12615 to test_compiler_info.
12616
12617 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12618
12619 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12620 from current versions of gdb. Clean up regular expressions.
12621 Delete redundant timeout case.
12622
12623 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12624
12625 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12626 from current versions of gdb. Clean up regular expressions.
12627 Delete redundant timeout case.
12628
12629 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12630
12631 Partial fix for PR testsuite/1456.
12632 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12633 gcc_compiled with call to test_compiler_info.
12634
12635 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12636
12637 Partial fix for PR testsuite/1456.
12638 * gdb.base/list.exp (test_list_function): Delete unused declaration
12639 of gcc_compiled.
12640
12641 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12642
12643 Partial fix for PR testsuite/1456.
12644 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12645 call to test_compiler_info.
12646
12647 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12648
12649 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12650 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12651 it to create the appropriate note.inc.
12652 * gdb.asm/asmsrc1.s: Include "note.inc".
12653 * gdb.asm/netbsd.inc: New file.
12654 * gdb.asm/empty.inc: New file.
12655
12656 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12657
12658 Partial fix for PR testsuite/1456.
12659 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12660 calls to test_compiler_info.
12661
12662 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12663
12664 Partial fix for PR testsuite/1456.
12665 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12666 calls to test_compiler_info.
12667
12668 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12669
12670 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12671 pattern for the KFAILs.
12672
12673 2003-11-25 Adam Fedor <fedor@gnu.org>
12674
12675 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12676 * gdb.objc/objcdecode.m: New file.
12677
12678 2003-11-25 Adam Fedor <fedor@gnu.org>
12679
12680 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12681 * gdb.objc/nondebug.m: New file.
12682
12683 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12684
12685 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12686 NetBSD as it does on FreeBSD. Modelled on a similar change by
12687 Mark Kettenis on 2003-05-30.
12688 (link-flags): Set to "--entry _start" regardless of target.
12689 Special linker flags are to be appended to $link-flags.
12690 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12691
12692 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12693
12694 * gdb.cp/method.exp: Accept output of new demangler.
12695
12696 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12697
12698 * gdb/class2.exp: New file.
12699 * gdb/class2.cc: New file.
12700
12701 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12702
12703 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12704 of new demangler.
12705
12706 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12707
12708 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12709 of gdb_test "run".
12710
12711 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12712
12713 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12714 "continue" into "run".
12715
12716 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12717
12718 Partial fix for PR testsuite/1456.
12719 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12720 call to test_compiler_info.
12721 * gdb.cp/ctti.exp: Likewise.
12722 * gdb.cp/derivation.exp: Likewise.
12723 * gdb.cp/member-ptr.exp: Likewise.
12724 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12725 reference to gcc_compiled.
12726
12727 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12728
12729 Fix PR testsuite/1463.
12730 * gdb.base/structs.exp (start_structs_test): Call
12731 get_debug_format before using the debug format.
12732
12733 2003-11-22 Andrew Cagney <cagney@redhat.com>
12734
12735 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12736 * gdb.base/structs.exp: Use gdb_test_multiple.
12737
12738 2003-11-20 Andrew Cagney <cagney@redhat.com>
12739
12740 * gdb.base/structs.exp: Handle and recover from internal errors.
12741 Replace "foo${n}" with "foo<n>" in test messages.
12742
12743 * gdb.base/structs.exp: Update copyright. Rewrite.
12744 * gdb.base/structs.c: Update copyright. Rewrite.
12745
12746 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12747 resync count exceeded.
12748
12749 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12750 from the internal error.
12751 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12752 Original from Jim Blandy.
12753 (gdb_test_multiple): Use gdb_internal_error_resync.
12754
12755 2003-11-19 Andrew Cagney <cagney@redhat.com>
12756
12757 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12758 KFAIL.
12759
12760 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12761
12762 New testcase for PR backtrace/1435.
12763 * gdb.arch/i386-unwind.exp: New file.
12764 * gdb.arch/i386-unwind.c: New file.
12765
12766 2003-11-17 Andrew Cagney <cagney@redhat.com>
12767
12768 * lib/gdb.exp (compiler_info): New global.
12769 (test_compiler_info): New function.
12770 (get_compiler_info): Set compiler_info.
12771 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12772 "compiler_info" to gcc-<major>-<minor>.
12773
12774 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12775
12776 * gdb.trace/configure: Remove.
12777
12778 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12779
12780 * gdb.base/break.c: Add comments to aid finding line numbers for
12781 breakpoints.
12782 * gdb.base/break.exp: Remove all references to explicit line
12783 numbers.
12784
12785 2003-11-11 Nick Clifton <nickc@redhat.com>
12786
12787 * gdb.base/shreloc.exp: Do not run for targets which do not
12788 support shared objects.
12789
12790 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12791
12792 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12793 Don't run tests if nofileio flag is given.
12794
12795 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12796
12797 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12798 as well as 'Watchpoint'.
12799
12800 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12801
12802 Reported by Jim Ingham <jingham@apple.com>:
12803 * gdb.base/annota1.exp: Match at least one occurrence of the
12804 signal handler annotation.
12805
12806 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12807
12808 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12809 as well as 'Watchpoint'.
12810
12811 2003-11-05 Michael Chastain <mec@shout.net>
12812
12813 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12814
12815 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12816
12817 * gdb.arch/gdb1291.c: New test file.
12818 * gdb.arch/gdb1291.exp: New test script.
12819 * gdb.arch/gdb1431.c: New test file.
12820 * gdb.arch/gdb1431.exp: New test script.
12821
12822 2003-10-22 Michael Chastain <mec@shout.net>
12823
12824 * gdb.mi/pthreads.c: Add copyright notice.
12825
12826 2003-10-22 Michael Chastain <mec@shout.net>
12827
12828 * gdb.threads/pthreads.c: Add copyright notice.
12829
12830 2003-10-20 Michael Chastain <mec@shout.net>
12831
12832 * gdb.base/gdb1056.exp: New test script.
12833
12834 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12835
12836 * gdb.threads/killed.exp: Use gdb_run_cmd.
12837
12838 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12839
12840 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12841 create a core file.
12842 * gdb.threads/gcore-thread.exp: Likewise.
12843
12844 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12845
12846 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12847 type, based on char type.
12848 (struct bit_flags_short_t): New bitfield type, based on short type.
12849 (init_bit_flags_char): New fuction.
12850 (init_bit_flags_short): Ditto.
12851 (print_bit_flags_char): Ditto.
12852 (print_bit_flags_short): Ditto.
12853 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12854
12855 2003-10-11 Michael Chastain <mec@shout.net>
12856
12857 * gdb.base/call-rt-st.exp: Update copyright year.
12858
12859 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12860
12861 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12862 * gdb.disasm/sh3.s: Ditto.
12863
12864 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12865
12866 * gdb.threads/switch-threads.exp: New test.
12867 * gdb.threads/switch-threads.c: New source file.
12868
12869 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12870
12871 * gdb.base/ending-run.exp: Add sh specific case.
12872
12873 2003-10-06 Andrew Cagney <cagney@redhat.com>
12874
12875 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12876 * gdb.disasm/mn10200.exp: Delete obsolete file.
12877
12878 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12879
12880 * ChangeLog: Correct an entry command.exp -> commands.exp.
12881 * gdb.base/commands.exp (bp_deleted_in_command_test)
12882 (temporary_breakpoint_commands): Check noargs.
12883
12884 2003-09-25 David Carlton <carlton@kealia.com>
12885
12886 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12887 of some print tests, where appropriate. Add tests for C::D::cd,
12888 E::ce, F::cXfX, G::XgX.
12889 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12890
12891 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12892
12893 * lib/java.exp (java_init): Import target_alias before using it.
12894
12895 2003-09-25 David Carlton <carlton@kealia.com>
12896
12897 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12898
12899 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12900
12901 * gdb.base/selftest.exp: Accomodate more instruction reordering
12902 weirdness.
12903
12904 2003-09-17 Michael Chastain <mec@shout.net>
12905
12906 * gdb.cp/gdb1355.exp: New file.
12907 * gdb.cp/gdb1355.c: New file.
12908
12909 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12910
12911 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12912 * gdb.asm/sh.inc: New file.
12913
12914 2003-09-11 David Carlton <carlton@kealia.com>
12915
12916 * gdb.cp/namespace.exp: Add tests for namespace types.
12917 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12918 (test_namespace): New.
12919
12920 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12921
12922 * gdb.base/relocate.exp: Handle new gdb output at startup.
12923 * gdb.stabs/weird.exp: Ditto.
12924
12925 2003-09-08 Michael Chastain <mec@shout.net>
12926
12927 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12928
12929 2003-09-07 Michael Chastain <mec@shout.net>
12930
12931 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12932 'parse error'.
12933
12934 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12935
12936 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12937
12938 2003-08-30 Michael Chastain <mec@shout.net>
12939
12940 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12941 * gdb.gdb/observer.exp: Ditto.
12942 * gdb.gdb/xfullpath.exp: Ditto.
12943
12944 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12945
12946 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12947 *-*-*bsd*.
12948
12949 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12950
12951 * gdb.base/dump.exp: Skip for ia64.
12952
12953 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12954
12955 * gdb.asm/asm-source.exp: Add ia64 support.
12956 * gdb.asm/ia64.inc: New file.
12957
12958 2003-08-22 Michael Chastain <mec@shout.net>
12959
12960 * gdb.cp: New directory.
12961 * gdb.cp/*: Copy from gdb.c++/*.
12962 * gdb.c++/*: Remove.
12963 * Makefile.in: Change gdb.c++ to gdb.cp.
12964 * configure.in: Ditto.
12965 * configure: Regnerate.
12966
12967 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12968
12969 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12970 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12971
12972 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12973
12974 * mi-var-display.exp (-var-list-children weird): Accept function
12975 pointers with argument types.
12976 * mi1-var-display.exp (-var-list-children weird): Likewise.
12977 * mi2-var-display.exp (-var-list-children weird): Likewise.
12978
12979 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12980
12981 * gdb.base/annota3.exp: Add missing newline.
12982
12983 2003-08-06 Michael Chastain <mec@shout.net>
12984
12985 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12986
12987 2003-08-12 Michael Snyder <msnyder@redhat.com>
12988
12989 * gdb.base/float.exp: Add test for SH.
12990
12991 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12992
12993 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12994
12995 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12996
12997 * gdb.base/completion.exp: Remove reduntant completion test
12998 on filename.
12999
13000 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13001
13002 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13003 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13004 gdb.trace/save-trace.exp: Make sure that full pathnames are
13005 escaped correctly.
13006
13007 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13008
13009 * configure.in: Don't generate config.h from config.hin.
13010 * configure: Regenerate.
13011 * config.hin: Remove file.
13012 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13013 * gdb.threads/pthreads.c: Ditto.
13014
13015 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13016
13017 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13018 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13019 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13020 Replace ld24 with seth/add3.
13021
13022 2003-08-02 Andrew Cagney <cagney@redhat.com>
13023
13024 * gdb.base/annota3.exp: New file.
13025 * gdb.base/annota3.c: New file.
13026 * gdb.c++/annota3.exp: New file.
13027 * gdb.c++/annota3.cc: New file.
13028
13029 2003-07-29 Michael Chastain <mec@shout.net>
13030
13031 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13032 actually failed.
13033 (do_pass): Likewise.
13034 * gdb.threads/tls.exp: Always initialize no_of_threads.
13035
13036 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13037
13038 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13039 pattern.
13040 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13041 * gdb.threads/tls.exp: Recognize one case of the host library not
13042 supporting TLS.
13043
13044 2003-07-27 Andrew Cagney <cagney@redhat.com>
13045
13046 * gdb.base/fileio.exp: Use SH when running commands using
13047 remote_exec.
13048
13049 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13050
13051 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13052 * gdb.base/relocate.c (dummy): New padding array.
13053
13054 2003-07-22 Michael Snyder <msnyder@redhat.com>
13055
13056 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13057
13058 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13059 patterns to be more general, accepting old and new output.
13060 Some output chars (such as '+') also must be quoted.
13061 Some addresses are displayed numerically instead of
13062 symbolically.
13063
13064 2003-07-23 Michael Snyder <msnyder@redhat.com>
13065
13066 * gdb.base/return2.exp: Don't test long-long return.
13067
13068 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13069 * gdb.disasm/t01_mov.exp: Ditto.
13070 * gdb.disasm/t02_mova.s: Ditto.
13071 * gdb.disasm/t02_mova.exp: Ditto.
13072 * gdb.disasm/t03_add.s: Ditto.
13073 * gdb.disasm/t03_add.exp: Ditto.
13074 * gdb.disasm/t04_sub.s: Ditto.
13075 * gdb.disasm/t04_sub.exp: Ditto.
13076 * gdb.disasm/t05_cmp.s: Ditto.
13077 * gdb.disasm/t05_cmp.exp: Ditto.
13078 * gdb.disasm/t06_ari2.s: Ditto.
13079 * gdb.disasm/t06_ari2.exp: Ditto.
13080 * gdb.disasm/t07_ari3.s: Ditto.
13081 * gdb.disasm/t07_ari3.exp: Ditto.
13082 * gdb.disasm/t08_or.s: Ditto.
13083 * gdb.disasm/t08_or.exp: Ditto.
13084 * gdb.disasm/t09_xor.s: Ditto.
13085 * gdb.disasm/t09_xor.exp: Ditto.
13086 * gdb.disasm/t10_and.s: Ditto.
13087 * gdb.disasm/t10_and.exp: Ditto.
13088 * gdb.disasm/t11_logs.s: Ditto.
13089 * gdb.disasm/t11_logs.exp: Ditto.
13090 * gdb.disasm/t12_bit.s: Ditto.
13091 * gdb.disasm/t12_bit.exp: Ditto.
13092 * gdb.disasm/t13_otr.s: Ditto.
13093 * gdb.disasm/t13_otr.exp: Ditto.
13094
13095 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13096
13097 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13098
13099 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13100
13101 * gdb.threads/tls.c : New file.
13102 * gdb.threads/tls.exp : New file.
13103 * gdb.threads/tls-main.c : New file.
13104 * gdb.threads/tls-shared.c : New file.
13105 * gdb.threads/tls-shared.exp : New file.
13106
13107 2003-07-22 Andreas Schwab <schwab@suse.de>
13108
13109 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13110
13111 2003-07-20 Andreas Schwab <schwab@suse.de>
13112
13113 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13114 due to insn reordering.
13115
13116 2003-07-15 Andrew Cagney <cagney@redhat.com>
13117
13118 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13119
13120 2003-07-15 Michael Chastain <mec@shout.net>
13121
13122 * gdb.base/gdb1250.exp: New file.
13123 * gdb.base/gdb1250.c: New file.
13124
13125 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13126
13127 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13128 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13129
13130 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13131
13132 * gdb.threads/tls.c: New file.
13133 * gdb.threads/tls.exp: New file.
13134 * gdb.threads/tls-main.c: New file.
13135 * gdb.threads/tls-shared.c: New file.
13136 * gdb.threads/tls-shared.exp: New file.
13137
13138 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13139
13140 * gdb.base/annota1.exp: Make sure that we properly escape the
13141 full path of the source file. Xfail more permissive patterns,
13142 due to a compiler debug info problem.
13143
13144 2003-07-07 Andreas Schwab <schwab@suse.de>
13145
13146 * gdb.asm/m68k.inc: New file.
13147 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13148
13149 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13150 arguments"): Also match negative number.
13151
13152 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13153
13154 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13155
13156 * gdb.base/store.c (charest): New typedef.
13157 (add_char): Rename to add_charest, update.
13158 (wack_char): Rename to wack_charest, update types. Return l + r
13159 to keep r live across the call.
13160 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13161 (wack_double, wack_doublest): Return l + r to keep r live across
13162 the call.
13163 * gdb.base/store.exp: Accomodate store.c changes.
13164
13165 2003-06-30 David Carlton <carlton@kealia.com>
13166
13167 * gdb.c++/maint.exp (test_invalid_name): New.
13168 (test_first_component): Add tests for invalid names.
13169
13170 2003-06-29 Michael Chastain <mec@shout.net>
13171
13172 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13173 output of '<VTT for class>' for virtual base classes.
13174
13175 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13176
13177 * gdb.base/completion.exp: Tab-complete "complet" instead of
13178 "compl".
13179 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13180
13181 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13182
13183 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13184 * gdb.base/volatile.exp: Likewise.
13185
13186 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13187
13188 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13189 gdb/1265.
13190
13191 2003-06-28 Michael Chastain <mec@shout.net>
13192 Daniel Jacobowitz <drow@mvista.com>
13193
13194 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13195 initial line count of 'captured_main' from 26 to 32.
13196 (test_with_self): Allow xmalloc call to be interleaved with the
13197 preceding two lines.
13198
13199 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13200
13201 * gdb.base/bang.exp: New testcase.
13202
13203 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13204
13205 * gdb.base/langs.exp: Add some tests for the "minimal" language
13206 support.
13207
13208 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13209
13210 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13211 the testcase.
13212
13213 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13214
13215 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13216 offset.
13217
13218 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13219
13220 * gdb.c++/pr-1210.cc: New file.
13221 * gdb.c++/pr-1210.exp: New file.
13222
13223 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13224
13225 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13226 000-exec-continue.
13227
13228 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13229
13230 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13231 on *-*-*bsd* instead of *-*-freebsd*.
13232
13233 2003-06-14 Andrew Cagney <cagney@redhat.com>
13234
13235 * gdb.base/store.exp: Test longest and doublest. Test all
13236 parameters. Weaken return statement match.
13237 * gdb.base/store.c: Add longest and doublest - aka long long and
13238 long double functions. Put all parameters into local register
13239 variables. Use negative values.
13240
13241 2003-06-14 Andrew Cagney <cagney@redhat.com>
13242
13243 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13244 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13245 exit status.
13246 * gdb.base/fileio.exp: Disable target when nointerrupts and
13247 noinferiorio, instead of limiting it to remote. Use remote_exec
13248 instead of system.
13249
13250 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13251
13252 * gdb.base/float.exp: Add ia64 support.
13253
13254 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13255
13256 * gdb.base/fileio.exp: Run only on remote targets.
13257
13258 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13259
13260 * gdb.base/fileio.c: New file, testing File-I/O.
13261 * gdb.base/fileio.exp: Ditto.
13262
13263 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13264
13265 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13266 shared objects after relocation at load time (gdb PR/1132).
13267 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13268 as above, part of the shared object relocation test.
13269
13270 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13271
13272 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13273 fully filled history list.
13274 * gdb.base/gdb_history: New file.
13275
13276 * gdb.base/signals.exp: XFAIL "continue to func1" on
13277 i*86-*-freebsd*.
13278
13279 * gdb.base/attach.exp: When trying to attach to a nonexistent
13280 process, make it possible to specify the PID based on the target,
13281 and do so for *-*-freebsd*.
13282
13283 2003-06-02 Richard Henderson <rth@redhat.com>
13284
13285 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13286
13287 2003-06-02 Richard Henderson <rth@redhat.com>
13288
13289 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13290
13291 2003-06-02 Richard Henderson <rth@redhat.com>
13292
13293 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13294
13295 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13296
13297 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13298 of globalvar.
13299
13300 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13301
13302 * gdb.asm/asm-source.exp: Check for memory read errors in
13303 disassembler test on *BSD too.
13304
13305 2003-06-01 Richard Henderson <rth@redhat.com>
13306
13307 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13308 for .frame.
13309 (gdbasm_call): Lose ldgp.
13310 (gdbasm_startup): Add frame information.
13311 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13312
13313 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13314
13315 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13316 i?86-*-*.
13317
13318 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13319
13320 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13321 FreeBSD.
13322
13323 2003-05-29 Richard Henderson <rth@redhat.com>
13324
13325 * gdb.asm/alpha.inc: New file.
13326 * gdb.asm/asm-source.exp: Use it.
13327
13328 2003-05-29 Jim Blandy <jimb@redhat.com>
13329
13330 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13331 'core.PID'.
13332
13333 2003-05-22 Jim Blandy <jimb@redhat.com>
13334
13335 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13336 backtrace.
13337
13338 2003-05-20 David Carlton <carlton@math.stanford.edu>
13339
13340 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13341 this time.
13342
13343 2003-05-19 David Carlton <carlton@bactrian.org>
13344
13345 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13346 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13347
13348 2003-05-19 David Carlton <carlton@bactrian.org>
13349
13350 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13351 namespace tests.
13352 Bump copyright date.
13353 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13354 (main): Call C::D::marker2.
13355 * gdb.c++/namespace1.cc: New file.
13356
13357 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13358
13359 Roland McGrath <roland@redhat.com>
13360 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13361 there is no manager thread.
13362
13363 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13364
13365 * gdb.threads/schedlock.exp: Remove assumption that all threads
13366 will run in a particular small time slice. Also ensure we break
13367 in one of the child threads rather than the main thread.
13368
13369 2003-05-07 Jim Blandy <jimb@redhat.com>
13370
13371 Add support for assembly source testing on the s390x.
13372 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13373 architecture.
13374 * gdb.asm/s390x.inc: New file.
13375
13376 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13377 succession of 'if' statements.
13378
13379 2003-05-05 Andrew Cagney <cagney@redhat.com>
13380
13381 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13382
13383 2003-05-05 Andrew Cagney <cagney@redhat.com>
13384
13385 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13386 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13387
13388 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13389
13390 * gdb.base/charset.exp: Update based on new behavior of set/show
13391 charset commands.
13392
13393 2003-05-01 Andrew Cagney <cagney@redhat.com>
13394
13395 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13396 variable do not give memory errors.
13397
13398 2003-04-30 Adam Fedor <fedor@gnu.org>
13399
13400 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13401 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13402 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13403 gdb.objc/basicclass.m: : New files
13404
13405 * lib/gdb.exp (gdb_compile_objc): New procedure.
13406
13407 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13408
13409 * gdb.base/signals.exp: Make backtrace tests more specific.
13410
13411 2003-04-23 David Carlton <carlton@bactrian.org>
13412
13413 * gdb.c++/maint.exp (test_first_component): Add tests for
13414 'operator' in more locations.
13415
13416 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13417
13418 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13419
13420 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13421
13422 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13423 func marke' instead. Update test name.
13424
13425 2003-04-15 David Carlton <carlton@math.stanford.edu>
13426
13427 * gdb.c++/maint.exp: New file.
13428
13429 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13430
13431 * gdb.threads/schedlock.c: Change type of thread function argument
13432 to long, to avoid warnings on 64-bit platforms.
13433
13434 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13435
13436 * gdb.base/attach.exp: Add new message from ptrace in case of
13437 attaching to nonexistent process.
13438
13439 2003-04-11 Jim Blandy <jimb@redhat.com>
13440
13441 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13442 gdb.c++/userdef.cc: Place comments on the lines to which the
13443 marker function might return.
13444 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13445 gdb.c++/userdef.exp: Look for those comments to check that we've
13446 returned to the right place, instead of checking line numbers.
13447
13448 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13449
13450 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13451 match on sourcefile name, instead of directory name.
13452
13453 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13454
13455 * gdb.base/completion.exp: Use string_to_regexp to match the
13456 working directory name.
13457
13458 2003-04-09 Jim Blandy <jimb@redhat.com>
13459
13460 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13461 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13462 after an inferior function call, report the failure, but allow the
13463 test to continue.
13464
13465 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13466
13467 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13468 with -DPROTOTYPES.
13469
13470 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13471
13472 * gdb.base/break.exp: Revert last patch.
13473
13474 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13475
13476 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13477 with -DPROTOTYPES.
13478
13479 2003-04-02 Andrew Cagney <cagney@redhat.com>
13480
13481 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13482 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13483 matching directories by the name breakpoint.
13484 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13485 Make "continue to marker1" consistent.
13486 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13487 message consistent.
13488 * lib/gdb.exp: Put "the program is no longer running", and "the
13489 program exited" in parenthesis.
13490 * lib/mi-support.exp: Ditto.
13491
13492 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13493
13494 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13495
13496 2003-03-29 Andrew Cagney <cagney@redhat.com>
13497
13498 * gdb.base/sizeof.c (main): Print the value of '\377'.
13499 * gdb.base/sizeof.exp: Check the sign of '\377'.
13500
13501 2003-03-27 Michael Chastain <mec@shout.net>
13502
13503 * gdb.base/gdb1090.exp: New file.
13504 * gdb.base/gdb1090.cc: New file.
13505
13506 2003-03-27 J. Brobecker <brobecker@gnat.com>
13507
13508 * gdb.gdb/observer.exp: New regression test.
13509
13510 2003-03-27 Michael Chastain <mec@shout.net>
13511
13512 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13513 * gdb.base/ptype.exp: Likewise.
13514
13515 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13516
13517 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13518
13519 2003-03-26 Michael Chastain <mec@shout.net>
13520
13521 * gdb.base/ptype.exp: Actually use some typedef'd types.
13522
13523 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13524
13525 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13526 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13527
13528 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13529
13530 * gdb.base/default.exp: Fix regular expression.
13531
13532 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13533
13534 * gdb.base/args.exp: Fix regular expression.
13535
13536 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13537
13538 * gdb.base/help.exp: Allow Win32 child process.
13539
13540 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13541
13542 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13543 when stepping out of main().
13544
13545 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13546
13547 * gdb.base/default.exp: Check for win32 specific message when calling
13548 "run" without executable.
13549
13550 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13551
13552 * gdb.base/args.exp: Expect .exe in output.
13553
13554 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13555
13556 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13557 Cygwin native.
13558
13559 2003-03-17 Andrew Cagney <cagney@redhat.com>
13560
13561 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13562 vector registes.
13563 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13564 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13565
13566 2003-03-17 David Carlton <carlton@math.stanford.edu>
13567
13568 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13569 test, for PR breakpoints/38.
13570 Call test_watchpoint_and_breakpoint.
13571 * gdb.base/watchpoint.c (func3): New function.
13572 (main): Call func3.
13573
13574 2003-03-04 David Carlton <carlton@math.stanford.edu>
13575
13576 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13577 Garply<Garply<char> >:: garply".
13578 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13579 with respect to PR c++/1111; note also PR c++/1113.
13580 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13581 respect to PR c++/1062.
13582 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13583
13584 2003-03-03 David Carlton <carlton@math.stanford.edu>
13585
13586 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13587 with respect to PR c++/57.
13588 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13589 c++/826.
13590 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13591 respect to PR c++/57.
13592
13593 2003-03-03 David Carlton <carlton@math.stanford.edu>
13594
13595 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13596 respect to PR c++/33 into FAILs.
13597
13598 2003-03-03 Michael Chastain <mec@shout.net>
13599
13600 * configure.in: Update copyright years.
13601
13602 2003-03-03 Michael Chastain <mec@shout.net>
13603
13604 * Makefile.in: Update copyright years.
13605
13606 2003-02-28 David Carlton <carlton@math.stanford.edu>
13607
13608 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13609 print class instead of struct and/or superfluous protection
13610 specifiers, as long as the resulting output is equivalent to the
13611 source code.
13612 Delete FIXME from end of messages on tests that don't need
13613 fixing.
13614
13615 2003-02-28 David Carlton <carlton@math.stanford.edu>
13616
13617 * gdb.c++/templates.exp (do_tests): Allow const in the two
13618 Foo<volatile char *>::foo tests.
13619
13620 2003-02-27 Michael Snyder <msnyder@redhat.com>
13621
13622 * gdb.base/restore.c (main): Return zero, so exit code
13623 will be consistant.
13624
13625 2003-02-26 David Carlton <carlton@math.stanford.edu>
13626
13627 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13628 char *>::foo" test with respect to PR c++/33. Create a new test
13629 which is identical to that one except that it doesn't put the
13630 space between the "char" and the "*"; KFAIL it, too.
13631
13632 2003-02-26 David Carlton <carlton@math.stanford.edu>
13633
13634 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13635 template types into either PASSes or KFAILs (corresponding to PR
13636 c++/57). Tweak indentation. Update copyright.
13637
13638 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13639
13640 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13641
13642 2003-02-13 Michael Chastain <mec@shout.net>
13643
13644 * gdb.base/exprs.exp: Remove i960 remnants.
13645 * gdb.base/funcargs.exp: Likewise.
13646 * gdb.base/list.exp: Likewise.
13647 * gdb.base/ptype.exp: Likewise.
13648
13649 2003-02-14 David Carlton <carlton@math.stanford.edu>
13650
13651 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13652 pEe->D::vg()" from XFAIL to KFAIL.
13653
13654 2003-02-13 Jason Molenda (jmolenda@apple.com)
13655
13656 * gdb.base/maint.exp: Update maint print statistics regexp to include
13657 new entries.
13658
13659 2003-02-13 Michael Chastain <mec@shout.net>
13660
13661 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13662
13663 2003-02-12 Michael Chastain <mec@shout.net>
13664
13665 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13666 * gdb.c++/inherit.exp: Likewise.
13667 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13668 * gdb.c++/templates.exp: Likewise.
13669 * gdb.c++/virtfunc.exp: Likewise.
13670
13671 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13672
13673 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13674 why the code is written that way.
13675
13676 2003-02-05 Michael Chastain <mec@shout.net>
13677
13678 * gdb.base/dump.exp: Add missing copyright line.
13679
13680 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13681
13682 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13683 at the beginning so the breakpoint doesn't get set on the loop.
13684
13685 2003-02-05 Michael Chastain <mec@shout.net>
13686
13687 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13688 output for configurations with gcc 2.95.3.
13689
13690 2003-02-05 Keith Seitz <keiths@redhat.com>
13691 Andrew Cagney <ac131313@redhat.com>
13692
13693 * gdb.mi/mi-cli.exp: New file.
13694
13695 2003-02-04 Michael Chastain <mec@shout.net>
13696
13697 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13698 Call perror and then continue.
13699
13700 2003-02-03 Michael Chastain <mec@shout.net>
13701
13702 * gdb.c++/pr-1023.cc: New file.
13703 * gdb.c++/pr-1023.exp: New file.
13704
13705 2003-02-05 Jim Blandy <jimb@redhat.com>
13706
13707 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13708 it's local to foobar. Check for it there, and check that it's not
13709 present in main.
13710 * gdb.c++/local.cc (marker2): New function.
13711 (foobar): Call marker1.
13712 (main): Call marker2 instead of marker1.
13713
13714 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13715
13716 * gdb.disasm/mn10200.exp: Obsolete file.
13717 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13718 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13719 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13720
13721 2003-02-04 David Carlton <carlton@math.stanford.edu>
13722
13723 * gdb.c++/overload.exp: Test intToChar(1).
13724 * gdb.c++/overload.cc (intToChar): New.
13725 (main): Call intToChar.
13726
13727 2003-02-03 David Carlton <carlton@math.stanford.edu>
13728
13729 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13730 'might_kfail' arg.
13731 KFAIL some of the continue_to_bp_overloaded calls, according to
13732 PR c++/1025.
13733
13734 2003-02-01 Michael Chastain <mec@shout.net>
13735
13736 * gdb.base/advance.c (marker1): New marker function.
13737 * gdb.base/advance.exp: When the 'advance' command lands on the
13738 return breakpoint, it can legitimately stop on either the
13739 current line or the next line. Accommodate both outcomes.
13740 * gdb.base/until.exp: Likewise.
13741
13742 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13743
13744 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13745 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13746 now a list, not a tuple.
13747 * gdb.mi/mi-var-display.exp: Ditto.
13748 * gdb.mi/gdb792.exp: Ditto.
13749
13750 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13751
13752 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13753 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13754 stack backtraces.
13755 * gdb.mi/mi-syn-frame.c: Part of same.
13756
13757 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13758
13759 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13760 gdb.mi/mi1-pthreads.exp: Return instead of calling
13761 gdb_suppress_entire_file.
13762
13763 2003-02-01 Mark Salter <msalter@redhat.com>
13764
13765 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13766
13767 2003-01-31 Mark Salter <msalter@redhat.com>
13768
13769 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13770 Support empty arg.
13771
13772 2003-01-30 Michael Chastain <mec@shout.net>
13773
13774 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13775 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13776 has been fixed in gdb/readline on 2003-01-09.
13777
13778 2003-01-29 Michael Snyder <msnyder@redhat.com>
13779
13780 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13781 * gdb.base/display.exp: Allow for leading underscore in symbol.
13782 * gdb.base/args.exp: Skip if target does not support args passing.
13783
13784 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13785
13786 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13787 gdb_test. Accept a list of expect arguments as the third
13788 parameter.
13789 (gdb_test): Use it.
13790
13791 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13792
13793 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13794 allow for different test tree configurations. Update some
13795 tescases accordingly.
13796 * gdb.arch/altivec-regs.exp: Ditto.
13797 * gdb.asm/asm-source.exp: Ditto.
13798 * gdb.base/advance.exp: Ditto.
13799 * gdb.base/display.exp: Ditto.
13800 * gdb.base/long_long.exp: Ditto.
13801 * gdb.base/mips_pro.exp: Ditto.
13802 * gdb.base/overlays.exp: Ditto.
13803 * gdb.base/relocate.exp: Ditto.
13804 * gdb.base/setshow.exp: Ditto.
13805 * gdb.base/step-line.exp: Ditto.
13806 * gdb.base/step-test.exp: Ditto.
13807 * gdb.base/until.exp: Ditto.
13808 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13809
13810 2003-01-17 David Carlton <carlton@math.stanford.edu>
13811
13812 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13813 corresponding to PR c++/945.
13814 Update copyright.
13815
13816 2003-01-17 David Carlton <carlton@math.stanford.edu>
13817
13818 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13819 corresponding to PR c++/68.
13820
13821 2003-01-17 David Carlton <carlton@math.stanford.edu>
13822
13823 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13824 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13825 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13826
13827 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13828
13829 * gdb.base/break.exp: Fix change of default location, because of
13830 removal of until tests.
13831 * gdb.base/help.exp: Update test for new 'until' help message.
13832 Add test for help on 'advance'.
13833 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13834
13835 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13836
13837 * gdb.base/default.exp: Adapt "info float" test for recent changes
13838 to that command. Add test for "info vector".
13839 * gdb.base/float.exp: New file. Add test for "info float" that
13840 resembles the old test in gdb.base/default.exp.
13841
13842 2003-01-15 David Carlton <carlton@math.stanford.edu>
13843
13844 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13845
13846 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13847
13848 * gdb.base/break.exp: Move the tests of until command from here...
13849 * gdb.base/until.exp: ... to here. New file. Add other tests.
13850 * gdb.base/advance.c: New file.
13851 * gdb.base/advance.exp: New file.
13852
13853 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13854
13855 * gdb.base/args.c: New file.
13856 * gdb.base/args.exp: New file.
13857
13858 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13859
13860 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13861
13862 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13863
13864 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13865
13866 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13867
13868 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13869 dates.
13870
13871 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13872
13873 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13874
13875 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13876
13877 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13878 (ptype &*"foo").
13879 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13880
13881 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13882
13883 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13884 * gdb.mi/mi1-console.exp: Likewise.
13885
13886 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13887
13888 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13889 * gdb.mi/mi1-console.exp: Likewise.
13890
13891 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13892
13893 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13894
13895 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13896
13897 * gdb.base/detach.exp: New test.
13898
13899 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13900
13901 * Makefile.in (ALL_SUBDIRS): New variable.
13902 (subdirs, clean, distclean): Use it.
13903 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13904 regenerating Makefile, since it is generated from the top level.
13905 * gdb.asm/Makefile.in: Likewise.
13906 * gdb.base/Makefile.in: Likewise.
13907 * gdb.c++/Makefile.in: Likewise.
13908 * gdb.disasm/Makefile.in: Likewise.
13909 * gdb.java/Makefile.in: Likewise.
13910 * gdb.mi/Makefile.in: Likewise.
13911 * gdb.threads/Makefile.in: Likewise.
13912 * gdb.trace/Makefile.in: Likewise.
13913
13914 2003-01-09 David Carlton <carlton@math.stanford.edu>
13915
13916 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13917 Add copyright year 2003.
13918
13919 2003-01-06 Michael Chastain <mec@shout.net>
13920
13921 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13922 When selecting a thread, 'line' and 'file' are optional.
13923 * gdb.mi/mi1-pthreads.exp: Likewise.
13924
13925 2003-01-06 Andreas Schwab <schwab@suse.de>
13926
13927 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13928 failures.
13929
13930 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13931
13932 Fix PR gdb/844
13933 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13934 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13935
13936 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13937 instead of calling gdb_suppress_entire_file.
13938 * gdb.threads/print-threads.exp: Likewise.
13939 * gdb.threads/schedlock.exp: Likewise.
13940
13941 * gdb.threads/killed.exp: Return instead of calling
13942 gdb_suppress_entire_file.
13943 * gdb.threads/linux-dp.exp: Likewise.
13944 * gdb.threads/pthreads.exp: Likewise.
13945
13946 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13947
13948 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13949 stabs.
13950 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13951 * gdb.base/whatis.exp: Always allow (void) after function names.
13952
13953 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13954
13955 * gdb.c++/casts.exp: Correct regexp.
13956
13957 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13958
13959 * configure.in: Call AC_CONFIG_HEADER. Don't call
13960 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13961 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13962 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13963 aforementioned directories in the AC_OUPUT call.
13964 * config.hin: New file.
13965 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13966 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13967 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13968 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13969 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13970 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13971 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13972 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13973 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13974 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13975 gdb.threads/configure.in, gdb.threads/configure,
13976 gdb.threads/config.in, gdb.trace/configure.in,
13977 gdb.trace/configure: Removed.
13978
13979 2003-01-03 Michael Chastain <mec@shout.net>
13980
13981 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13982 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13983
13984 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13985
13986 * gdb.base/store.exp: Fix regular expressions.
13987
13988 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13989
13990 * configure.in: Rewrite.
13991 * configure: Regenerated.
13992
13993 2003-01-03 David Carlton <carlton@math.stanford.edu>
13994
13995 * gdb.base/psymtab.exp: New file.
13996 * gdb.base/psymtab1.c: Ditto.
13997 * gdb.base/psymtab2.c: Ditto.
13998
13999 2002-12-23 Adam Fedor <fedor@gnu.org>
14000
14001 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14002
14003 2002-12-23 David Carlton <carlton@math.stanford.edu>
14004
14005 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14006 and current_directory initialization.
14007
14008 2002-12-22 Jim Blandy <jimb@redhat.com>
14009
14010 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14011 rather than as part of the output file name.
14012
14013 * gdb.base/attach.exp: There's no need to copy the test program to
14014 /tmp; that was only ever necessary on HP/UX, and this test is
14015 entirely disabled there anyway.
14016
14017 2002-12-21 Jim Blandy <jimb@redhat.com>
14018
14019 * gdb.c++/psmang.exp: Doc fix.
14020
14021 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14022 test.
14023
14024 2002-12-20 David Carlton <carlton@math.stanford.edu>
14025
14026 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14027
14028 2002-12-18 Michael Chastain <mec@shout.net>
14029
14030 * gdb.c++/annota2.exp: Add copyright year 2002.
14031
14032 2002-12-17 David Carlton <carlton@math.stanford.edu>
14033
14034 * gdb.c++/try_catch.cc: Add marker comments.
14035 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14036 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14037 * gdb.c++/m-static.cc: Ditto.
14038 * gdb.c++/m-static1.cc: Ditto.
14039 * gdb.c++/try_catch.cc: Ditto.
14040
14041 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14042
14043 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14044 to see whether we are using the new -environment-directory
14045 command which resets via -r or the old version of the command
14046 which may prompt the user. Part of fix for gdb/741.
14047
14048 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14049
14050 * gdb.fortran/types.exp: Update obsolete comment.
14051 * gdb.fortran/exprs.exp: Ditto.
14052 * lib/gdb.exp: Delete obsolete code.
14053 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14054 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14055 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14056 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14057 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14058 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14059 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14060 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14061 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14062 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14063 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14064 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14065 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14066 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14067 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14068 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14069 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14070 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14071 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14072 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14073 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14074 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14075 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14076 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14077 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14078 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14079 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14080 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14081 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14082 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14083 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14084 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14085 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14086 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14087 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14088 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14089 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14090
14091 2002-12-11 David Carlton <carlton@math.stanford.edu>
14092
14093 * gdb.c++/m-data.exp: Add test for members that shadow global
14094 variables: see PR gdb/804.
14095 * gdb.c++/m-data.cc: Ditto.
14096
14097 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14098
14099 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14100
14101 2002-12-06 David Carlton <carlton@math.stanford.edu>
14102
14103 * gdb.base/store.c: Don't declare functions static.
14104
14105 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14106
14107 * gdb.base/store.exp, gdb.base/store.c: New files.
14108
14109 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14110
14111 * gdb.base/selftest.exp: Update for current gdb.
14112
14113 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14114
14115 * gdb.base/maint.exp: Only dump symbols from one source file
14116 or objfile.
14117
14118 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14119
14120 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14121 function call.
14122
14123 2002-11-25 Jim Blandy <jimb@redhat.com>
14124
14125 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14126 function appearing in error message.
14127
14128 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14129
14130 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14131
14132 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14133
14134 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14135 for mi1 and current mi is in correct format. New mi startup message
14136 should be in mi console format. This is part of fix for PR gdb/604.
14137
14138 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14139
14140 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14141 which explicitly prints the zero offset as "+0".
14142
14143 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14144
14145 * gdb.threads/schedlock.c (args): Make unsigned.
14146
14147 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14148
14149 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14150 numbers. Allow "foo2|selected stack frame".
14151 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14152 * gdb.asm/asmsrc2.s: Likewise.
14153 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14154 comments.
14155 * gdb.asm/mips.inc: New file.
14156
14157 2002-10-18 Adam Fedor <fedor@gnu.org>
14158
14159 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14160 * gdb.base/help.exp: Likewise.
14161
14162 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14163
14164 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14165 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14166
14167 2002-10-02 Jim Blandy <jimb@redhat.com>
14168
14169 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14170
14171 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14172
14173 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14174 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14175 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14176 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14177 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14178 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14179 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14180
14181 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14182
14183 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14184 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14185 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14186 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14187 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14188 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14189 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14190
14191 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14192
14193 * gdb.base/annota1.exp (info break): Make directory components of
14194 path optional since not all compilers emit this debug information.
14195
14196 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14197 step ends up stepping out of the function instead of stopping on
14198 the epilogue.
14199
14200 2002-09-26 Keith Seitz <keiths@redhat.com>
14201
14202 * lib/insight-support.exp (gdbtk_start): Figure out where
14203 the insight executable is based on where gdb is. Use this
14204 executable to start insight instead of gdb.
14205
14206 2002-09-25 Andrew Cagney <cagney@redhat.com>
14207
14208 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14209
14210 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14211
14212 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14213 test_isolated_complaints.
14214 (test_empty_complaint): New function.
14215 (test_empty_complaints): New function. Check no output when no
14216 complaints.
14217
14218 2002-09-19 Jim Blandy <jimb@redhat.com>
14219
14220 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14221
14222 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14223
14224 * gdb.gdb/complaints.exp: New file.
14225
14226 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14227
14228 * gdb.base/maint.exp: Check `help maint internal-warning'.
14229
14230 2002-09-18 David Carlton <carlton@math.stanford.edu>
14231
14232 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14233 numbers, and replace them by a single breakpoint after the
14234 constructors are all finished.
14235 Add test 4.
14236 * gdb.c++/m-static.cc: Add test 4.
14237 * gdb.c++/m-static.h: New file.
14238 * gdb.c++/m-static1.cc: New file.
14239
14240 * gdb.c++/printmethod.exp: New file.
14241 * gdb.c++/printmethod.cc: New file.
14242
14243 * gdb.c++/pr-574.exp: New file.
14244 * gdb.c++/pr-574.cc: New file.
14245
14246 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14247
14248 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14249 embedded targets which never actually exit.
14250
14251 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14252
14253 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14254 "don't step after run" as unresolved or unsupported, instead of xfail.
14255
14256 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14257
14258 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14259 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14260 Add newline to expected string in "step out of main (status wrapper)"
14261 case.
14262
14263 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14264
14265 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14266 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14267
14268 2002-09-17 Tom Tromey <tromey@redhat.com>
14269
14270 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14271 \000, not \0, in double-quoted string.
14272
14273 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14274
14275 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14276 string after running the commands execution on breakpoint tests.
14277
14278 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14279
14280 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14281
14282 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14283
14284 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14285
14286 2002-09-10 Keith Seitz <keiths@redhat.com>
14287
14288 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14289 runto proc.
14290 (mi_run_to_main): Use mi_runto.
14291 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14292
14293 2002-09-10 Keith Seitz <keiths@redhat.com>
14294
14295 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14296 regexp for stopping at main. Could have multiple event notifications.
14297 Don't assume that main was declared with no parameters.
14298 (mi_next): Use mi_step_to.
14299 (mi_step): Use mi_next_to.
14300
14301 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14302
14303 * gdb.base/default.exp: Fix expected string in `info float' test.
14304
14305 2002-09-09 Ben Elliston <bje@redhat.com>
14306
14307 * config/mips.exp: Update comments.
14308 * config/mips-idt.exp: Likewise.
14309 * config/nind.exp: Likewise.
14310 * config/slite.exp: Likewise.
14311 * config/sparclet.exp: Likewise.
14312 * config/udi.exp: Likewise.
14313 * config/vx.exp: Likewise.
14314 * config/vxworks29k.exp: Likewise.
14315
14316 2002-09-05 Jim Blandy <jimb@redhat.com>
14317
14318 * gdb.threads/killed.exp: Fix test failure message.
14319
14320 2002-09-04 Keith Seitz <keiths@redhat.com>
14321
14322 * lib/mi-support.exp: Update copyright.
14323 (mi_gdb_test): Increase the priority of the expected pattern
14324 so that it matches gdb_test.
14325
14326 2002-09-03 Keith Seitz <keiths@redhat.com>
14327
14328 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14329 Use integer comparison instead of string comparison for testing
14330 whether binary was built.
14331
14332 2002-09-03 Jim Blandy <jimb@redhat.com>
14333
14334 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14335
14336 2002-08-29 Jim Blandy <jimb@redhat.com>
14337
14338 * gdb.threads/pthreads.exp: Move the portable thread compilation
14339 code into a function in lib/gdb.exp, and call that from here.
14340 * lib/gdb.exp (gdb_compile_pthreads): New function.
14341
14342 2002-08-29 Keith Seitz <keiths@redhat.com>
14343
14344 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14345 expect_out so that callers can get at it.
14346
14347 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14348
14349 * gdb.threads/print-threads.c: New file.
14350 * gdb.threads/print-threads.exp: New file.
14351 * gdb.threads/schedlock.c: New file.
14352 * gdb.threads/schedlock.exp: New file.
14353
14354 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14355
14356 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14357 not altivec.c.
14358
14359 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14360
14361 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14362 targets. The problem should be fixed now.
14363
14364 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14365
14366 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14367 2002-07-24 change that removes final dots from error messages.
14368
14369 2002-08-13 Tom Tromey <tromey@redhat.com>
14370
14371 * gdb.base/readline.exp: New file.
14372
14373 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14374
14375 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14376 supress message.
14377
14378 2002-08-01 Andrew Cagney <cagney@redhat.com>
14379
14380 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14381 CHILL_FOR_TARGET and CHILL_LIB.
14382 * configure.in (configdirs): Remove gdb.chill.
14383 * configure: Regenerate.
14384 * lib/gdb.exp: Obsolete references to chill.
14385 * gdb.fortran/types.exp: Ditto.
14386 * gdb.fortran/exprs.exp: Ditto.
14387
14388 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14389
14390 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14391 set Irix-specific compile and link flags.
14392
14393 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14394
14395 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14396 source files. The ``-o'' option doesn't work with the ``-E'' option
14397 when using the Irix compiler.
14398
14399 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14400
14401 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14402 Improve support for reusing an exec file. Copy exec file
14403 to target, and run gdbserver on the target instead of on the host.
14404
14405 2002-07-18 Jim Blandy <jimb@redhat.com>
14406
14407 * gdb.base/ending-run.exp: Don't expect to see the program end in
14408 some orderly fashion when we're running on a real stand-alone
14409 board.
14410
14411 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14412 targets that don't support interrupts.
14413
14414 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14415
14416 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14417 systems.
14418 Move comments in expect statements to inside the actions, so that they
14419 don't get matched against.
14420
14421 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14422
14423 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14424 function when asleep" test.
14425
14426 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14427
14428 * gdb.base/page.exp: Rewrite to handle problems with very long
14429 `info set' output. Update copyright.
14430
14431 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14432
14433 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14434 gdb.threads-hp.
14435 * gdb.hp/configure: Regenerate.
14436 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14437 * gdb.hp/gdb.threads-hp/configure: Delete file.
14438 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14439
14440 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14441
14442 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14443 setlocale, bindtextdomain and textdomain.
14444
14445 2002-06-11 Jim Blandy <jimb@redhat.com>
14446
14447 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14448 preprocessor macro information is present.
14449
14450 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14451 tests.
14452
14453 2002-06-06 Michael Snyder <msnyder@redhat.com>
14454
14455 * gdb.base/overlays.exp: Record addresses of overlay
14456 functions in TCL variables rather than in GDB variables,
14457 to avoid having GDB convert them to pointers (with loss
14458 of information).
14459
14460 * gdb.base/d10v.ld: Merge in several years worth of
14461 default linker script changes.
14462 * gdb.base/long_long.exp: Add check for sizeof (long double).
14463
14464 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14465
14466 * gdb.asm/asm-source.exp: Add x86-64 target.
14467 * gdb.asm/x86_64.inc: New.
14468
14469 2002-05-30 Michael Chastain <mec@shout.net>
14470
14471 From Benjamin Kosnik <bkoz@redhat.com>:
14472 * gdb.c++/m-static.cc: New file.
14473 * gdb.c++/m-static.exp: New file.
14474
14475 2002-05-28 Michael Snyder <msnyder@redhat.com>
14476
14477 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14478 precision.
14479
14480 2002-05-27 Michael Chastain <mec@shout.net>
14481
14482 From Benjamin Kosnik <bkoz@redhat.com>:
14483 * gdb.c++/m-data.cc: New file.
14484 * gdb.c++/m-data.exp: New file.
14485
14486 2002-05-27 Michael Chastain <mec@shout.net>
14487
14488 From Benjamin Kosnik <bkoz@redhat.com>:
14489 * gdb.c++/try_catch.cc: New file.
14490 * gdb.c++/try_catch.exp: New file.
14491
14492 2002-05-27 Michael Chastain <mec@shout.net>
14493
14494 * gdb.c++/local.exp: Accept more nested types in output.
14495
14496 2002-05-26 Michael Chastain <mec@shout.net>
14497
14498 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14499
14500 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14501
14502 * lib/gdb.exp (gdb_wrapper_init): Just because
14503 gdb_wrapper_file exists, this does not mean that the file
14504 should not be rebuilt. That is what gdb_wrapper_initialized
14505 is for.
14506 (default_gdb_init): Reset gdb_wrapper_initialized.
14507
14508 2002-05-23 Michael Snyder <msnyder@redhat.com>
14509
14510 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14511 the precision of the floating point test results.
14512 * gdb.base/call-rt-st.exp: Ditto.
14513
14514 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14515 * gdb.base/call-rt-st.exp: Ditto.
14516
14517 2002-05-19 Michael Chastain <mec@shout.net>
14518
14519 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14520
14521 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14522
14523 * configure.in (configdirs): Add gdb.arch.
14524 * configure: Regenerate.
14525
14526 2002-05-17 Jim Blandy <jimb@redhat.com>
14527
14528 * gdb.base/completion.exp: Recognize the more detailed error
14529 messages produced by the macro expander's lexical analyzer.
14530
14531 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14532
14533 * gdb.arch/altivec-abi.c: New file.
14534 * gdb.arch/altivec-abi.exp: New file.
14535 * gdb.arch/altivec-regs.c: New file.
14536 * gdb.arch/altivec-regs.exp: New file.
14537
14538 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14539
14540 * gdb.base/maint.exp (maint print type): Update for new type
14541 structure.
14542
14543 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14544
14545 * gdb.arch: New directory.
14546 * gdb.arch/configure.in: New file.
14547 * gdb.arch/configure: New file.
14548 * gdb.arch/Makefile.in: New file.
14549
14550 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14551
14552 * gdb.asm/asm-source.exp: Add v850 as supported target.
14553 * gdb.asm/v850.inc: New file.
14554
14555 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14556
14557 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14558
14559 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14560
14561 * gdb.base/break.exp: Check 'break "marker2"'.
14562
14563 2002-05-10 Michael Snyder <msnyder@redhat.com>
14564
14565 * gdb.base/long_long.exp: Fix typo.
14566
14567 2002-05-10 Jim Blandy <jimb@redhat.com>
14568
14569 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14570 a bug.
14571
14572 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14573 Recognize more detailed error message produced by the macro
14574 expander's lexical analyzer.
14575 * lib/gdb.exp (test_print_reject): Same.
14576
14577 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14578
14579 * gdb.c++/method.exp: Fix typo.
14580
14581 2002-05-08 Michael Snyder <msnyder@redhat.com>
14582
14583 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14584 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14585 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14586 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14587 Add iftarget clause for strongarm.
14588
14589 2002-05-06 Michael Snyder <msnyder@redhat.com>
14590
14591 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14592 (gdb_continue_to_end): Accept output from status wrapper.
14593 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14594 Clean up fail messages to match pass messages.
14595
14596 Enable the "needs_status_wrapper" testsuite feature.
14597 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14598 (gdb_compile): Conditionally call gdb_wrapper_init.
14599 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14600 * gdb.c++/method.exp: Recognize output from status wrapper.
14601
14602 2002-05-06 Ben Elliston <bje@redhat.com>
14603 From Graydon Hoare <graydon@redhat.com>
14604
14605 * config/sid.exp: Include support for "rawsid" protocol.
14606
14607 2002-05-03 Jim Blandy <jimb@redhat.com>
14608
14609 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14610 * gdb.c++/hang3.C: New file.
14611
14612 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14613
14614 * gdb.base/default.exp: Remove obsolete code.
14615 * gdb.c++/misc.exp: Ditto. Update copyright.
14616 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14617 * gdb.base/whatis.exp: Ditto. Update copyright.
14618 * gdb.base/scope.exp: Ditto. Update copyright.
14619 * gdb.base/ptype.exp: Ditto. Update copyright.
14620 * gdb.base/printcmds.exp: Ditto. Update copyright.
14621 * gdb.base/opaque.exp: Ditto. Update copyright.
14622 * gdb.base/list.exp: Ditto.
14623 * gdb.base/funcargs.exp: Ditto. Update copyright.
14624 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14625 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14626 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14627 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14628 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14629 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14630
14631 2002-05-02 Michael Snyder <msnyder@redhat.com>
14632
14633 * gdb.base/watchpoint.exp: Add xscale target.
14634 * gdb.base/long_long.exp: Add xscale target.
14635 * gdb.base/default.exp: Add xscale target.
14636
14637 2002-05-01 Jim Blandy <jimb@redhat.com>
14638
14639 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14640 gdb.c++/hang.exp: New test.
14641
14642 2002-05-01 Fred Fish <fnf@redhat.com>
14643
14644 * gdb.base/completion.exp: Handle completions of "./Make" for
14645 more than one completion possibility, as is the case when we
14646 build and test in the source tree.
14647
14648 2002-04-29 Anthony Green <green@redhat.com>
14649
14650 * gdb.java/jmisc1.exp: New file.
14651 * gdb.java/jmisc2.exp: New file.
14652
14653 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14654
14655 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14656
14657 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14658
14659 * gdb.base/help.exp: Change 'help status' to allow for target
14660 dependent output differences.
14661
14662 2002-04-22 Michael Chastain <mec@shout.net>
14663
14664 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14665
14666 2002-04-22 Michael Chastain <mec@shout.net>
14667
14668 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14669
14670 2002-04-17 David S. Miller <davem@redhat.com>
14671
14672 * gdb.asm/sparc64.inc: New file.
14673 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14674
14675 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14676
14677 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14678 instruction file directly into the build tree. Clean up at end of
14679 test.
14680
14681 2002-04-18 David S. Miller <davem@redhat.com>
14682
14683 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14684 handle 64-bit platforms correctly.
14685 * gdb.base/maint.exp: Likewise.
14686
14687 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14688
14689 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14690 ``-fpic'' when compiling files comprising a shared library, but
14691 it does need additional linker flags in order to find shared
14692 libraries at run time.
14693
14694 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14695
14696 * gdb.base/cvexpr.c (use): New function.
14697 (main): Invoke use() on all global variables to prevent
14698 some linkers from deleting these otherwise unused symbols.
14699
14700 2002-04-17 Michael Chastain <mec@shout.net>
14701 From David S. Miller <davem@redhat.com>
14702
14703 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14704 handle 64-bit platforms correctly.
14705
14706 2002-04-12 Michael Snyder <msnyder@redhat.com>
14707 From Jim Blandy <jimb@redhat.com>
14708 * gdb.base/foo.c (foox): Remove section attribute; the linker
14709 script can handle this instead.
14710 * gdb.base/bar.c (barx): Same.
14711 * gdb.base/baz.c (bazx): Same.
14712 * gdb.base/grbx.c (grbxx): Same.
14713
14714 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14715 manager doesn't automatically unmap overlays unnecessarily.
14716
14717 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14718
14719 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14720 stepping out of main.
14721
14722 2002-04-09 Michael Chastain <mec@shout.net>
14723
14724 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14725 scope so that the nested scope tests will make sense.
14726 * gdb.c++/local.exp: Write patterns that actually work with gcc
14727 (the HP patterns "were never known to work with gcc").
14728 Keep the old aCC patterns too.
14729
14730 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14731
14732 * gdb.base/attach.exp: Correct target board test.
14733
14734 2002-04-08 Michael Chastain <mec@shout.net>
14735
14736 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14737 in a const method. Add some xfail and fail cases for configurations
14738 that do not emit the "const ...".
14739
14740 2002-04-07 Michael Chastain <mec@shout.net>
14741
14742 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14743 Accept "A * const" and "const A * const" as type of "this".
14744 Fix spelling of getFunky throughout. Make messages uniform.
14745
14746 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14747
14748 Work around for PR gdb/285:
14749 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14750
14751 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14752
14753 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14754 instructions file at run time instead of configure time.
14755 Sometimes we run the test in a directory that is not the one we
14756 configured in.
14757 * gdb.asm/configure.in: Delete creation of symlink.
14758 * gdb.asm/configure: Regenerate.
14759
14760 2002-04-05 J. Brobecker <brobecker@gnat.com>
14761
14762 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14763 xfullpath () function.
14764
14765 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14766
14767 * gdb.asm/Makefile.in: Correct dependencies.
14768
14769 * gdb.asm/powerpc.inc: New file.
14770 * gdb.asm/asm-source.exp: Add PowerPC.
14771 * gdb.asm/configure.in: Likewise.
14772 * gdb.asm/configure: Regenerated.
14773
14774 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14775
14776 * gdb.base/relocate.exp: New file.
14777 * gdb.base/relocate.c: New file.
14778
14779 2002-04-04 Fred Fish <fnf@redhat.com>
14780
14781 * gdb.base/step-test.exp: Update comment regarding stopping in
14782 memcpy/bcopy calls inserted as part of the compiler runtime.
14783
14784 2002-04-04 Michael Snyder <msnyder@redhat.com>
14785
14786 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14787
14788 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14789
14790 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14791 (gdb_expect): Remove $notransfer hack.
14792
14793 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14794
14795 * gdb.c++/classes.exp ("calling method for small class"): Match
14796 updated register output.
14797
14798 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14799
14800 Fix PR gdb/452
14801 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14802 when finished. Make gdb_file_cmd send "exec-file" when
14803 appropriate.
14804
14805 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14806
14807 * gdb.base/attach.exp: Remove extra setup_xfail.
14808
14809 2002-03-26 Michael Snyder <msnyder@redhat.com>
14810
14811 * gdb.base/default.exp: Add tests for dump, append, and restore.
14812 * gdb.base/help.exp: Add tests for dump, append, and restore.
14813 * gdb.base/dump.exp: New file, test dump, append and restore.
14814 * gdb.base/dump.c: New file.
14815
14816 2002-03-27 Michael Snyder <msnyder@redhat.com>
14817
14818 * gdb.base/help.exp: Modify expect strings to reflect
14819 clean-ups in help messages.
14820
14821 2002-03-26 Fred Fish <fnf@redhat.com>
14822
14823 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14824 have debugging info for those functions and the compiler uses them
14825 internally to copy structs around.
14826
14827 2002-03-26 Fred Fish <fnf@redhat.com>
14828
14829 * gdb.base/list.exp: Revert the change made yesterday and add note
14830 about why we don't list the default lines for remote targets.
14831
14832 2002-03-25 Michael Snyder <msnyder@redhat.com>
14833
14834 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14835
14836 2002-03-25 Fred Fish <fnf@redhat.com>
14837
14838 * gdb.base/list.exp: This test works on remote targets so remove
14839 the short circuit for remote targets. Update copyright.
14840
14841 2002-03-25 Fred Fish <fnf@redhat.com>
14842
14843 * gdb.base/attach.exp: Fix logic error that was suppressing this
14844 test for all non hppa*-*-hpux* targets, instead of the hp target.
14845 Move comments closer to the suppression point. Also now need to
14846 check that we are running natively.
14847
14848 2002-03-22 Michael Snyder <msnyder@redhat.com>
14849
14850 * gdb.base/default.exp: Add test for gcore. Update copyright.
14851 * gdb.base/help.exp: Add test for gcore. Update copyright.
14852
14853 2002-03-06 Fred Fish <fnf@redhat.com>
14854
14855 * gdb.base/funcargs.c: Remove extraneous ';' character.
14856 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14857
14858 2002-03-04 Michael Chastain <mec@shout.net>
14859
14860 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14861 accommodate gcc v3 function signature.
14862 * gdb.mi/mi0-var-cmd-exp: Ditto.
14863
14864 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14865
14866 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14867 ``GNU/Linux'' or ``Linux kernel''
14868 * testsuite/gdb.threads/pthreads.c: Ditto.
14869
14870 2002-02-24 Michael Chastain <mec@shout.net>
14871
14872 * gdb.threads/pthreads.c (thread1): Add a return statement.
14873 (thread2): Likewise.
14874 (foo): Likewise.
14875
14876 2002-02-23 Michael Chastain <mec@shout.net>
14877
14878 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14879 to placate gcc.
14880
14881 2002-02-23 Michael Chastain <mec@shout.net>
14882
14883 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14884 test "ptype bint". The test passes on all my stabs configurations.
14885
14886 2002-02-21 Jim Blandy <jimb@redhat.com>
14887
14888 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14889 filename at a time, and watch for the ones we want to see.
14890
14891 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14892 types of pointers to prototyped functions.
14893
14894 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14895
14896 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14897 signed, unsigned and straight char.
14898 (padding_char, padding_short, padding_int, padding_long,
14899 padding_long_long, padding_float, padding_double,
14900 padding_long_double): New global variables.
14901 (fill, fill_structs): New functions.
14902
14903 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14904 for correctly sized writes. Update copyright.
14905 (get_valueof): New procedure.
14906 (get_sizeof): Call get_valueof.
14907 (check_valueof): New procedure.
14908 (check_padding): New procedure.
14909
14910 2002-02-20 Michael Chastain <mec@shout.net>
14911
14912 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14913 to setup_xfail. Document some of the remaining calls.
14914
14915 2002-02-18 Michael Chastain <mec@shout.net>
14916
14917 * gdb.c++/userdef.exp: Update copyright year.
14918
14919 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14920
14921 * gdb.c++/userdef.exp: Test overloaded operators properly.
14922 Remove xfails.
14923
14924 2002-02-14 Michael Snyder <msnyder@redhat.com>
14925
14926 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14927
14928 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14929
14930 * gdb.base/a2-run.exp: Check for a remote target properly.
14931 * gdb.base/annota1.exp: Likewise.
14932 * gdb.base/list.exp: Likewise.
14933 * gdb.base/reread.exp: Likewise.
14934 * gdb.base/scope.exp: Likewise.
14935 * gdb.base/shlib-call.exp: Likewise.
14936 * gdb.base/term.exp: Likewise.
14937 * gdb.c++/annota2.exp: Likewise.
14938
14939 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14940
14941 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14942
14943 2002-02-10 Michael Chastain <mec@shout.net>
14944
14945 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14946 (call_after_alloca): Ditto.
14947
14948 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14949
14950 * gdb.base/ending-run.exp: Guard "cont" test with
14951 gdb_skip_stdio_test.
14952
14953 2002-02-06 Jim Blandy <jimb@redhat.com>
14954
14955 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14956 from here...
14957 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14958 To here. Disable this test on non-HP platforms. Add big comment.
14959
14960 2002-02-04 Michael Snyder <msnyder@redhat.com>
14961
14962 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14963 other than d10v and m32r.
14964
14965 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14966
14967 * gdb.base/default.exp: Rewrite test patterns to reduce time
14968 taken to match them.
14969
14970 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14971
14972 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14973 Allow a start function above main.
14974 * gdb.threads/linux-dp.exp: Fix copyright date.
14975
14976 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14977
14978 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14979 (check_philosopher_stack): Check for manager thread before checking
14980 for a just-starting thread.
14981
14982 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14983
14984 From Neil Booth <neil@daikokuya.demon.co.uk>:
14985 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14986 warnings.
14987
14988 2002-01-21 Fred Fish <fnf@redhat.com>
14989
14990 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14991 not caller.
14992
14993 2002-01-21 Jim Blandy <jimb@redhat.com>
14994
14995 * gdb.base/reread.exp: Check that GDB properly re-reads the
14996 executable file when it changes while no inferior is running.
14997
14998 2002-01-21 Fred Fish <fnf@redhat.com>
14999
15000 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15001 optionally accept the "shlib events" variation.
15002
15003 2002-01-21 Jim Blandy <jimb@redhat.com>
15004
15005 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15006 call `fflush' after every `printf', so that the output is produced
15007 at predictable points, regardless of whatever buffering does (or
15008 doesn't) take place.
15009 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15010 at different points.
15011
15012 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15013
15014 * gdb.c++/inherit.exp: Update copyright years.
15015 * gdb.c++/method.exp: Likewise.
15016
15017 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15018
15019 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15020 artificial methods/arguments.
15021 * gdb.c++/derivation.exp: Likewise.
15022 * gdb.c++/inherit.exp: Likewise.
15023 * gdb.c++/method.exp: Likewise.
15024 * gdb.c++/virtfunc.exp: Likewise.
15025
15026 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15027
15028 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15029 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15030 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15031 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15032 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15033 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15034
15035 2002-01-17 Jim Blandy <jimb@redhat.com>
15036
15037 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15038 anchoring the pattern matching the entry point symbol's name.
15039
15040 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15041
15042 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15043 continue/quit query. Update copyright.
15044
15045 2002-01-14 Michael Snyder <msnyder@redhat.com>
15046
15047 * gdb.base/gcore.exp: Remove extra debugging output.
15048
15049 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15050
15051 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15052 for slightly dubious v2 mangled string.
15053
15054 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15055
15056 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15057
15058 2002-01-10 Jason Merrill <jason@redhat.com>
15059
15060 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15061
15062 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15063 constructors.
15064 * gdb.c++/derivation.exp: Likewise.
15065 * gdb.c++/templates.exp: Likewise.
15066 * gdb.c++/virtfunc.exp: Likewise.
15067
15068 2002-01-10 Michael Snyder <msnyder@redhat.com>
15069
15070 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15071
15072 2002-01-08 Michael Snyder <msnyder@redhat.com>
15073
15074 * gdb.base/gcore.exp: New test for generate-core-file command.
15075 * gdb.base/gcore.c: Testcase for above.
15076 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15077
15078 2002-01-08 Jason Merrill <jason@redhat.com>
15079
15080 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15081
15082 2002-01-07 Fred Fish <fnf@redhat.com>
15083
15084 * gdb.c++/overload.exp: Remove unconditional xfails for:
15085 print foo_instance1.overloadargs(1)
15086 print foo_instance1.overloadargs(1, 2)
15087 print foo_instance1.overloadargs(1, 2, 3)
15088 print foo_instance1.overloadargs(1, 2, 3, 4)
15089 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15090 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15091 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15092 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15093 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15094 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15095 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15096 print foo_instance1.overload1arg()
15097 print foo_instance1.overload1arg((char)arg2)
15098 print foo_instance1.overload1arg((signed char)arg3)
15099 print foo_instance1.overload1arg((unsigned char)arg4)
15100 print foo_instance1.overload1arg((int)arg7)
15101 print foo_instance1.overload1arg((unsigned int)arg8)
15102 print foo_instance1.overload1arg((float)arg11)
15103 print foo_instance1.overload1arg((double)arg12)
15104
15105 2002-01-07 Michael Snyder <msnyder@redhat.com>
15106
15107 * gdb.base/huge.exp: New test. Print a very large target data object.
15108 (skip_huge_test): New test variable. Define if you want to skip this
15109 test. The test reads an 8 megabyte data object from the target, so it
15110 might be very time consuming on remote targets with a slow connection.
15111 * gdb.base/huge.c: New file. Test case for above.
15112
15113 2002-01-07 Fred Fish <fnf@redhat.com>
15114
15115 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15116 g_instance.bfoo, and g_instance.cfoo.
15117
15118 2002-01-07 Jeffrey A Law <law@redhat.com>
15119
15120 * gdb.base/break.c (multi_line_if_conditional): New function.
15121 (multi_ilne_while_conditional): Likewise.
15122 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15123 IF or WHILE condition puts the breakpoint at the start of
15124 the condition.
15125
15126 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15127 hppa*-*-hpux* expected failure.
15128 * gdb.base/structs.exp (do_function_calls): Similarly.
15129
15130 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15131 watchpoints.
15132
15133 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15134
15135 Fix PR gdb/66.
15136 * gdb.base/structs.exp: Replace skip for a29k with skip for
15137 gdb,cannot_call_functions.
15138 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15139 * gdb.base/callfuncs.exp: Ditto.
15140 * gdb.base/call-rt-st.exp: Ditto.
15141 * gdb.base/call-strs.exp: Ditto.
15142 * gdb.base/callfwmall.exp: Ditto.
15143 * gdb.base/scope.exp: Obsolete xfail a29k.
15144 * gdb.c++/misc.exp: Ditto.
15145 * gdb.c++/cplusfuncs.exp: Ditto.
15146 * gdb.base/ptype.exp: Ditto.
15147 * gdb.base/printcmds.exp: Ditto.
15148 * gdb.base/opaque.exp: Ditto.
15149 * gdb.base/list.exp: Ditto.
15150 * gdb.base/funcargs.exp: Ditto.
15151 * gdb.base/default.exp: Ditto.
15152
15153 2002-01-04 Michael Snyder <msnyder@redhat.com>
15154
15155 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15156 * gdb.base/maint.exp: Add tests for maint info sections options.
15157
15158 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15159
15160 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15161
15162 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15163
15164 * gdb.asm/arm.inc: New file.
15165 * gdb.asm/asm-source.exp: Add arm targets.
15166 * gdb.asm/configure.in: Ditto.
15167 * gdb.asm/configure: Recreated from configure.in.
15168
15169 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15170
15171 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15172 with HP's compiler.
15173 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15174 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15175 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15176 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15177
15178 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15179 either HP's compilers or GCC.
15180
15181 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15182 a SIGBUS or SIGSEGV.
15183
15184 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15185
15186 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15187 can be compiled with either HP's compiler or GCC.
15188
15189 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15190 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15191 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15192
15193 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15194 to match current gdb output. Update due to using auto-solib-limit
15195 for limiting instead of overloading auto-solib-add.
15196 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15197 test program.
15198
15199 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15200 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15201 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15202 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15203 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15204 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15205 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15206 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15207 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15208 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15209 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15210 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15211 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15212
15213 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15214 a SIGTRAP to the inferior.
15215
15216 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15217
15218 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15219 Substitute call to target_link by call to gdb_compile.
15220
15221 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15222
15223 * gdb.base/break.exp: Fix HP specific search string when testing
15224 backtracing in a called function.
15225
15226 * gdb.base/constvars.exp: Only set lang to C++ if we're
15227 compiling the test with HP's compilers.
15228 * gdb.base/volatile.exp: Similarly.
15229
15230 2001-12-19 Jim Blandy <jimb@redhat.com>
15231
15232 * gdb.base/printcmds.exp: Expect the null character to be printed
15233 as '\0', and the '\013' to be printed as '\v'.
15234 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15235 * gdb.base/setvar.exp: Same.
15236
15237 2001-12-17 Jim Blandy <jimb@redhat.com>
15238
15239 * gdb.base/completion.exp: Rather than completing very long
15240 filenames, which can make the readline library produce output we
15241 don't recognize, cd to the directory first, and then complete
15242 using nice, short relative paths.
15243
15244 * gdb.base/completion.exp: On some systems, there is, in fact, a
15245 variable named `b' in scope, since GDB treats all static
15246 variables as being in scope. So use `no_var_named_this'
15247 instead of `b'.
15248
15249 * gdb.base/corefile.exp: Recognize the message saying that GDB
15250 can't find the core file's registers as a failure.
15251
15252 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15253
15254 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15255 test expect string more specific.
15256
15257 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15258
15259 * gdb.asm/asm-source.exp: Add support for xstormy16.
15260 * gdb.asm/configure.in: Ditto.
15261 * gdb.asm/configure: Rebuild.
15262 * gdb.asm/xstormy16.inc: New file.
15263
15264 2001-12-10 Fred Fish <fnf@redhat.com>
15265
15266 * gdb.base/maint.exp: Update to match changes in type dumping code.
15267
15268 2001-12-10 Jim Blandy <jimb@redhat.com>
15269
15270 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15271 matching the entry point symbol's name at the beginning of the
15272 line.
15273
15274 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15275
15276 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15277 gdb.c++/inherit.exp, gdb.c++/method.exp,
15278 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15279 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15280 and class layout support.
15281
15282 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15283
15284 * gdb.c++/classes.exp: Add test for static member function.
15285 * gdb.c++/misc.cc: Add class with static member function.
15286
15287 2001-12-07 Jim Blandy <jimb@redhat.com>
15288
15289 If GDB says it can't find the struct the function returned, report
15290 those tests as `unsupported'.
15291 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15292 Rewrite subsequent tests to use it.
15293
15294 If GDB says it can't find the struct the function returned, report
15295 those tests as `unsupported'.
15296 * gdb.base/structs.exp (call_struct_func): New function.
15297 (do_function_calls): Use call_struct_func to call the functions
15298 returning structs.
15299
15300 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15301 whether functions are prototyped or not, so we can't possibly pass
15302 arguments to t_float_values2 properly.
15303
15304 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15305 value of `timeout' for targets other than the mips*tx39-*.
15306
15307 2001-12-06 Michael Snyder <msnyder@redhat.com>
15308
15309 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15310 and detect whether the start symbol has a leading underscore.
15311
15312 2001-12-04 Jim Blandy <jimb@redhat.com>
15313
15314 * gdb.base/completion.exp: Clarify indentation.
15315
15316 2001-12-03 Jim Blandy <jimb@redhat.com>
15317
15318 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15319 variables on the S/390, not `.word'.
15320
15321 2001-11-30 Jim Blandy <jimb@redhat.com>
15322
15323 Add assembly-source tests for s390-ibm-linux.
15324 * gdb.asm/s390.inc: New file.
15325 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15326 the S/390 architecture.
15327 * gdb.asm/configure: Regenerated.
15328
15329 2001-11-30 Michael Snyder <msnyder@redhat.com>
15330
15331 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15332 next, info source, info sources, info line, global and static
15333 variables, and static functions.
15334 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15335 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15336 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15337 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15338 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15339 (gdbasm_leave): Restore frame pointer.
15340 (gdbasm_startup): Copy stack set-up from crt0.S.
15341
15342 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15343
15344 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15345 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15346 to a local (non-static) variable. Copy tstruct.a to a static buffer
15347 and return a pointer to that buffer.
15348 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15349
15350 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15351
15352 * gdb.asm/configure.in: Fix recognition of ix86 target.
15353 * gdb.asm/configure: Regenerate.
15354
15355 2001-11-21 Michael Snyder <msnyder@redhat.com>
15356
15357 * gdb.asm/sparc.inc: New file.
15358 * gdb.asm/asm-source.exp: Recognize sparc target.
15359 * gdb.asm/configure.in: Recognize sparc target.
15360 * gdb.asm/configure: Regenerate.
15361
15362 2001-11-21 Michael Snyder <msnyder@redhat.com>
15363
15364 * gdb.asm/m32r.inc: New file.
15365 * gdb.asm/asm-source.exp: Recognize m32r target.
15366 * gdb.asm/configure.in: Recognize m32r target.
15367 * gdb.asm/configure: Regenerate.
15368
15369 2001-11-20 Michael Snyder <msnyder@redhat.com>
15370
15371 * gdb.asm/i386.inc: New file.
15372 * gdb.asm/asm-source.exp: Recognize ix86 target.
15373 * gdb.asm/configure.in: Recognize ix86 target.
15374 * gdb.asm/configure: Regenerate.
15375
15376 * gdb.c++/namespace.exp: Fix quotes in output messages.
15377
15378 2001-11-14 Michael Snyder <msnyder@redhat.com>
15379
15380 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15381 qualifier in a type cast expression, to designate an address
15382 in the instruction space (Harvard architecture).
15383
15384 2001-11-13 Michael Snyder <msnyder@redhat.com>
15385
15386 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15387 Tests for expressions using 'const' and 'volatile'.
15388
15389 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15390
15391 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15392
15393 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15394
15395 * lib/mi-support.exp (mi_run_to_helper): Move comments
15396 outside of gdb_expect.
15397
15398 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15399
15400 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15401 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15402 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15403 mi0_run_to): New functions.
15404 * gdb.mi/mi-simplerun.exp: Use them.
15405 * gdb.mi/mi0-simplerun.exp: Likewise.
15406 * gdb.mi/mi-var-cmd.exp: Likewise.
15407 * gdb.mi/mi0-var-cmd.exp: Likewise.
15408
15409 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15410
15411 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15412 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15413
15414 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15415
15416 * gdb.base/restore.exp: Include $expected value in restored test
15417 message.
15418
15419 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15420
15421 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15422 implemented.
15423
15424 2001-11-08 Michael Snyder <msnyder@redhat.com>
15425
15426 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15427 Add pass/fail message for stop at breakpoint in call dummy function.
15428
15429 2001-11-07 Michael Snyder <msnyder@redhat.com>
15430
15431 * gdb.c++/templates.exp (test_template_breakpoints):
15432 If we get an overload menu, but it does not match what
15433 we expect, we still need to issue the "cancel" command.
15434 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15435 making the whitespace optional. Argument for "new" may be
15436 "unsigned" as well as "unsigned int/long".
15437 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15438 making the whitespace optional. Also replace "(void) with
15439 "((void|)), making the keyword "void" optional.
15440 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15441 making the whitespace optional. Also replace "(void) with
15442 "((void|)), making the keyword "void" optional.
15443 * gdb.base/callfuncs.c (t_float_values): This function must
15444 _not_ be prototyped, and the following function (t_float_values2)
15445 must be prototyped (if the compiler supports it), so that GDB
15446 can be tested against both cases. Usually one case involves
15447 promotion of float to double, while the other does not.
15448 * gdb.base/callfwmall.c: Ditto.
15449 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15450 includes a stack frame for "start".
15451
15452 2001-11-05 Jim Blandy <jimb@redhat.com>
15453
15454 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15455 pointers are 32 bits long, and that offsets of relocs are always
15456 stored in the data (REL-style), and not in the reloc entry itself
15457 (RELA-style).
15458 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15459 stabs.
15460
15461 2001-11-01 Michael Snyder <msnyder@redhat.com>
15462
15463 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15464 and regular expression operators by using quoting.
15465
15466 2001-10-31 Michael Snyder <msnyder@redhat.com>
15467
15468 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15469 depending on what the symbol table contains.
15470 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15471 the output of the ptype command. Similarly, accept both "const &"
15472 and "const&".
15473
15474 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15475
15476 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15477 symbol `STORAGE' to allow to choose the storage class of
15478 the local datastructures.
15479 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15480 compiler directive.
15481
15482 2001-10-30 Michael Snyder <msnyder@redhat.com>
15483
15484 * gdb.base/jump.exp: Allow it to run for all targets.
15485
15486 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15487
15488 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15489 with new double_array size.
15490 (main): Change storage class of all local variables to static.
15491 Reduce size of double_array to 9.
15492 * gdb.base/call-ar-st.exp: Increase timeout value.
15493 Change expected output for double array to match new size in
15494 call-ar-st.c.
15495
15496 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15497
15498 * gdb.base/ending-run.exp: Create identical output when passing
15499 `step to end of run' case. Add regular expression branch satisfying
15500 Stormy16 target.
15501
15502 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15503
15504 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15505 that we catch the expected failure under Linux/x86.
15506
15507 2001-10-29 Orjan Friberg <orjanf@axis.com>
15508
15509 * gdb.base/setvar.exp: Escape curly braces.
15510 * gdb.stabs/weird.exp: Ditto.
15511
15512 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15513
15514 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15515 * gdm.mi/mi0-hack-cli.exp: Likewise.
15516
15517 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15518
15519 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15520 messages.
15521
15522 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15523
15524 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15525 checking MI enabled.
15526
15527 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15528
15529 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15530
15531 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15532
15533 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15534 if gdb child process crashes, just signal an error.
15535
15536 2001-10-02 Jim Blandy <jimb@redhat.com>
15537
15538 * lib/gdb.exp (test_xfail_format): Simplify.
15539
15540 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15541 front of the variable name `format'. Simplify `if'.
15542
15543 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15544
15545 * gdb.threads/pthreads.exp: Wait for output and delay
15546 before sending ^C.
15547
15548 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15549
15550 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15551 some incorrect output instead of timing out.
15552 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15553
15554 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15555
15556 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15557 check to allow additional `int'.
15558
15559 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15560
15561 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15562 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15563
15564 2001-09-27 Michael Snyder <msnyder@redhat.com>
15565
15566 * lib/gdb.exp (test_debug_format): New proc.
15567 (setup_xfail_format): Use new proc test_debug_format.
15568 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15569 proc; use new service proc test_debug_format.
15570 Replace all other "gcc_compiled" tests with this test.
15571 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15572 proc; use new service proc test_debug_format.
15573 Replace all other "gcc_compiled" tests with this test.
15574
15575 2001-09-27 Michael Snyder <msnyder@redhat.com>
15576
15577 * gdb.base/cvexpr.exp: New file.
15578 * gdb.base/cvexpr.c: New file
15579 Test for expressions using const and volatile keywords.
15580
15581 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15582
15583 * gdb.base/constvars.exp: Check for different orders of keywords
15584 and additional "int" strings in output.
15585
15586 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15587
15588 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15589 responses from "help maint".
15590
15591 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15592
15593 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15594 to localhost:NNN instead of :NNN, in case Xvfb is listening
15595 only on TCP.
15596
15597 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15598
15599 * gdb.base/recurse.exp: When checking leaving the watchpoint
15600 scope, recognize when gdb is in function's epilogue and pass.
15601
15602 2001-09-18 Keith Seitz <keiths@redhat.com>
15603
15604 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15605 support for running tests against sid targets.
15606 (gdbtk_done): Ditto.
15607
15608 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15609
15610 * gdb.base/ending-run.c (main): Set stdout buffersize
15611 to the same reasonable value for any target.
15612 * gdb.base/ending-run.exp: Add a regular expression
15613 to make testsuite happy on Sanyo Stormy16 target.
15614
15615 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15616
15617 * gdb.base/display.c (do_loops): Add float variable `f'.
15618 Increment f in loop.
15619 * gdb.base/display.exp: Increment timeout by 60 seconds.
15620 Change float display test to use variable `f'.
15621
15622 2001-09-17 Jim Blandy <jimb@redhat.com>
15623
15624 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15625 overflowing the limited breakpoint tables on some ROM monitors
15626 (like the ROM68K).
15627
15628 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15629
15630 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15631 the "-ac" (disable access control) flag.
15632
15633 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15634
15635 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15636 ints.
15637
15638 2001-08-30 Keith Seitz <keiths@redhat.com>
15639
15640 * lib/gdb.exp: Move all insight-related functionality into
15641 separate file.
15642 * lib/insight-support.exp: New file.
15643
15644 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15645
15646 * config/sid.exp (sid_start): Never set sid verbosity; disable
15647 expect_background {} that consumed its stdout; tolerate </dev/null.
15648 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15649
15650 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15651
15652 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15653 CLI jump command to start it.
15654 (mi_run_to_main): Fail immediatly when unexpected output.
15655
15656 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15657
15658 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15659 beginning of function. Fix PR gdb/191.
15660
15661 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15662
15663 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15664 what to force sid endianness to.
15665
15666 2001-08-15 Keith Seitz <keiths@redhat.com>
15667
15668 * lib/gdb.exp (gdbtk_start): Don't set environment
15669 variables for TCL_LIBRARY and friends. Insight will
15670 now figure these out for itself.
15671
15672 2001-08-02 Michael Snyder <msnyder@redhat.com>
15673
15674 * gdb.base/completion.exp: Remove the symbol "a64l" from
15675 the expect string; this is target-specific, and not related
15676 to what is being tested.
15677
15678 2001-08-02 Dave Brolley <brolley@redhat.com>
15679
15680 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15681
15682 2001-07-25 Michael Snyder <msnyder@redhat.com>
15683
15684 * gdb.base/consecutive.exp: New file. Test stepping over
15685 breakpoints on consecutive instructions.
15686 * gdb.base/consecutive.c: New file.
15687
15688 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15689 curly braces in regular expressions.
15690
15691 2001-07-25 Michael Snyder <msnyder@redhat.com>
15692
15693 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15694 legitimate output from stepping out of main.
15695
15696 2001-07-22 Keith Seitz <keiths@redhat.com>
15697
15698 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15699 the empty string, do not run the tests.
15700
15701 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15702
15703 * gdb.base/long_long.exp: Detect size of pointer. Take into
15704 account 2-byte pointers when testing for p/a results.
15705
15706 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15707
15708 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15709 and defined to 1K for m68hc11.
15710 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15711 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15712 (sizeof_random_data): New variable to tell the size of the data table;
15713 don't test past this size; always run to main.
15714
15715 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15716
15717 * gdb.base/return2.exp: return of long long and double fails for
15718 68HC11; don't execute these tests on that platform.
15719 * gdb.base/return.exp: Return of a double fails for 68hc11.
15720
15721 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15722
15723 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15724 tests that print a float.
15725 * call-rt-st.exp: Likewise.
15726
15727 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15728
15729 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15730 running this test on Linux.
15731
15732 2001-06-24 Michael Chastain <chastain@redhat.com>
15733
15734 * gdb.base/arithmet.exp: Remove some tests to make all test names
15735 unique.
15736
15737 2001-07-03 Michael Snyder <msnyder@redhat.com>
15738
15739 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15740 the output of the ptype command.
15741
15742 2001-07-02 Michael Snyder <msnyder@redhat.com>
15743
15744 * gdb.base/completion.exp: Don't assume that break.c is the only
15745 source file that may contain functions named "marker".
15746 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15747
15748 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15749
15750 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15751 of files to delete.
15752
15753 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15754 * gdb.disasm/h8300s.exp: New file.
15755 gdb.disasm/h8300s.s: Likewise.
15756
15757 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15758
15759 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15760 empty breakpoint tables.
15761
15762 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15763
15764 * lib/mi-support.exp: Update args=... part of stop-reason
15765 patterns. Accept either a list or a tuple.
15766
15767 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15768
15769 * lib/mi-support.exp: Remove local emacs variable defining
15770 change-log-default-name.
15771
15772 2001-06-22 Michael Chastain <chastain@redhat.com>
15773
15774 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15775 This is operationally compatible with the previous version.
15776
15777 2001-06-13 Jim Blandy <jimb@redhat.com>
15778
15779 * lib/gdb.exp (gdb_test): Doc fix.
15780
15781 2001-06-10 Michael Chastain <chastain@redhat.com>
15782
15783 * gdb.base/exprs.exp: Remove a duplicate test.
15784
15785 2001-06-06 Jim Blandy <jimb@redhat.com>
15786
15787 * gdb.base/return2.exp (main): Use values to test float and double
15788 returns that are not NaN's, to avoid being confused by IEEE
15789 comparison rules.
15790
15791 2001-06-04 Michael Snyder <msnyder@redhat.com>
15792
15793 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15794 non-zero if control_c fails. Terminate the test on failure,
15795 rather than wait for 12 more tests to time out.
15796
15797 2001-06-06 Jim Blandy <jimb@redhat.com>
15798
15799 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15800 Don't forget to match the GDB prompt.
15801
15802 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15803
15804 2001-06-04 Jim Blandy <jimb@redhat.com>
15805
15806 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15807 command.
15808
15809 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15810
15811 * gdb.base/annota1.exp (info break): Match four or more spaces
15812 after "Address".
15813
15814 2001-05-31 Michael Chastain <chastain@redhat.com>
15815
15816 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15817 (dm_type_int_star): Likewise.
15818 (dm_type_long_star): Likewise.
15819 (dm_type_void_star): Likewise.
15820
15821 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15822
15823 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15824 to a known value in order to get consistent results regardless
15825 of the setting of INPUTRC or the presence or contents of .inputrc.
15826
15827 2001-05-24 Michael Snyder <msnyder@redhat.com>
15828
15829 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15830 Don't require that the main thread and the manager thread are the
15831 first in the list.
15832
15833 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15834 debugging. If test fails, issue an "unsupported" not a "fail".
15835
15836 2001-05-24 Jim Blandy <jimb@redhat.com>
15837
15838 Don't assume that short is shorter than int.
15839 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15840 assume that shorts are smaller than ints. On a 16-bit machine,
15841 this isn't true.
15842 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15843 an int, is not equal to ~0 stored in an unsigned char. This tests
15844 the same thing that the previous test meant to, but works on
15845 16-bit machines, too.
15846 ("print unsigned char != (~0)"): Same test, complemented.
15847
15848 2001-05-24 Michael Snyder <msnyder@redhat.com>
15849
15850 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15851 test for (full_coverage == 0). This makes the test run faster,
15852 and prevents dejagnu getting out of step.
15853
15854 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15855
15856 * gdb.base/finish.exp (finish_void): Revise pattern for
15857 stopping on the call statement to not permit stopping at
15858 the start of the instructions comprising the call sequence.
15859
15860 2001-05-19 Michael Chastain <chastain@redhat.com>
15861
15862 * gdb.base/callfuncs.exp: Make all test names unique.
15863 * gdb.base/commands.exp: Make all test names unique.
15864 * gdb.base/condbreak.exp: Make all test names unique.
15865 * gdb.base/dbx.exp: Make all test names unique.
15866 * gdb.base/default.exp: Make all test names unique.
15867 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15868 and TIMEOUT messages to their corresponding PASS message.
15869 * gdb.base/ending-run.exp: Make all test names unique.
15870 * gdb.base/long_long.exp: Remove duplicate test.
15871
15872 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15873
15874 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15875 stop on the call statement as well as the statement after the
15876 call.
15877
15878 2001-05-21 Michael Snyder <msnyder@redhat.com>
15879
15880 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15881
15882 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15883
15884 * gdb.base/completion.exp: Revamp test. Make it execute on all
15885 platforms.
15886
15887 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15888
15889 * config/gdbserver.exp (gdb_load): Handle the case
15890 in which the arguments to gdbserver are given in the
15891 baseboard configuration file.
15892 Also handle the case in which the server needs to do a
15893 load.
15894
15895 2001-05-07 Keith Seitz <keiths@cygnus.com>
15896
15897 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15898 set up the display for testing.
15899 (gdbtk_start): Convert all paths to paths that tcl will like.
15900 Export target information to environment.
15901 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15902 necessary.
15903 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15904 (to_tcl_path): New proc to convert a given pathname into
15905 a path acceptible as an argument to a tcl command.
15906 (_gdbtk_export_target_info): New proc to export target info
15907 into the environment for gdbtk testing.
15908 (gdbtk_done): New proc to signal end-of-test.
15909
15910 2001-05-06 Jim Blandy <jimb@redhat.com>
15911
15912 * restore.c: Make the code of caller0 correspond to its comment.
15913
15914 2001-05-03 Michael Snyder <msnyder@redhat.com>
15915
15916 * config/sid.exp (gdb_target_sid): Check for error messages.
15917 On error or timeout, don't make expect exit (which will terminate
15918 all subsequent tests); instead just make gdb exit.
15919 (gdb_load): Check for error messages. On error or timeout,
15920 return a negative value.
15921
15922 2001-04-24 Jim Blandy <jimb@redhat.com>
15923
15924 * gdb.c++/templates.exp: If we see the prompt for the overload
15925 list, but we haven't recognized any of the longer patterns,
15926 arrange for this test to fail, not hang.
15927
15928 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15929 variations.
15930
15931 2001-04-22 Michael Chastain <chastain@redhat.com>
15932
15933 * gdb.c++/local.exp: Use the 'runto' library function.
15934 * gdb.c++/namespace.exp: Likewise.
15935 * gdb.c++/overload.exp: Likewise.
15936
15937 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15938
15939 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15940 * gdb.base/step-line.exp: New file. Test step/next in presence of
15941 #line directives.
15942 * gdb.base/step-line.c: New file. Test program for the above.
15943 * gdb.base/step-line.inp: New file. We pretend that this file has
15944 been transformed by some other tool into step-line.c.
15945
15946 2001-03-21 Jim Blandy <jimb@redhat.com>
15947
15948 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15949 unmangled operator names.
15950
15951 2001-03-20 Jim Blandy <jimb@redhat.com>
15952
15953 * gdb.threads/linux-dp.exp: Recognize an additional message
15954 generated by GDB when it doesn't understand how to debug threads
15955 on the target system.
15956
15957 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15958
15959 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15960
15961 2001-03-12 Michael Chastain <chastain@redhat.com>
15962
15963 * gdb.c++/derivation.exp: Use the 'runto' library function.
15964
15965 2001-03-12 Michael Chastain <chastain@redhat.com>
15966
15967 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15968
15969 2001-02-24 Michael Chastain <chastain@redhat.com>
15970
15971 * gdb.c++/ref-types.exp: Change handwritten code to library
15972 function 'runto'.
15973
15974 2001-03-16 Orjan Friberg <orjanf@axis.com>
15975
15976 * gdb.base/signals.exp: Set count to 0 explicitly.
15977
15978 2001-03-15 Mark Salter <msalter@redhat.com>
15979
15980 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15981 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15982 (gdb_load): Add support for additional target_info: gdb_download_size
15983 and gdb_load_timeout.
15984
15985 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15986
15987 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15988 file -- to prevent failing when the compile fails but we have no
15989 intention of running the tests anyway.
15990
15991 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15992 tests if set.
15993
15994 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15995 integers.
15996
15997 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15998 * gdb.c++/namespace.exp: Ditto.
15999
16000 2001-03-07 Orjan Friberg <orjanf@axis.com>
16001
16002 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16003 * gdb.base/pointers.exp: Relax pattern match of decimals.
16004
16005 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16006
16007 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16008 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16009 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16010 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16011 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16012 config/sh.exp, config/sid.exp, config/slite.exp,
16013 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16014 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16015 config/vxworks.exp, config/vxworks29k.exp,
16016 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16017 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16018 gdb.base/arithmet.exp, gdb.base/assign.exp,
16019 gdb.base/async.exp, gdb.base/attach.exp,
16020 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16021 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16022 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16023 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16024 gdb.base/commands.exp, gdb.base/completion.exp,
16025 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16026 gdb.base/constvars.exp, gdb.base/corefile.exp,
16027 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16028 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16029 gdb.base/ending-run.exp, gdb.base/environ.exp,
16030 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16031 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16032 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16033 gdb.base/funcargs.exp, gdb.base/help.exp,
16034 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16035 gdb.base/logical.exp, gdb.base/long_long.exp,
16036 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16037 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16038 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16039 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16040 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16041 gdb.base/regs.exp, gdb.base/relational.exp,
16042 gdb.base/remote.exp, gdb.base/reread.exp,
16043 gdb.base/restore.exp, gdb.base/return2.exp,
16044 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16045 gdb.base/selftest.exp, gdb.base/setshow.exp,
16046 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16047 gdb.base/sigall.exp, gdb.base/signals.exp,
16048 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16049 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16050 gdb.base/step-test.exp, gdb.base/structs.c,
16051 gdb.base/structs.exp, gdb.base/structs2.exp,
16052 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16053 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16054 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16055 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16056 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16057 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16058 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16059 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16060 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16061 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16062 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16063 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16064 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16065 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16066 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16067 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16068 gdb.trace/circ.exp, gdb.trace/collection.exp,
16069 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16070 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16071 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16072 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16073 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16074 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16075 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16076 notices.
16077
16078 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16079
16080 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16081 first arg is int not float.
16082
16083 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16084
16085 * gdb.base/reread.exp: Unsupported for non-native targets;
16086 doesn't work for remote debugging.
16087
16088 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16089
16090 From Drew Moseley <dmoseley@redhat.com>
16091 * gdb.base/ending-run.exp: Properly handle the BSP state when
16092 stepping past the end of main.
16093
16094 2001-02-19 John Moore <jmoore@redhat.com>
16095
16096 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16097 Converted HPUX fix for non-expected items following multiple
16098 step commands into general solution for all platforms.
16099
16100 2001-02-18 Michael Chastain <chastain@redhat.com>
16101
16102 * gdb.c++/classes.exp (do_tests): Change runto statements
16103 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16104 statements demangler agnostic.
16105 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16106 (gdb_virtfunc_restart): Likewise.
16107
16108 2001-02-14 Michael Chastain <chastain@redhat.com>
16109
16110 * gdb.c++/inherit.exp (do_tests): Change runto statements
16111 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16112 statements demangler agnostic.
16113
16114 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16115
16116 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16117 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16118 before calling common_routine 15 times'' tests.
16119
16120 2001-02-11 Michael Chastain <chastain@redhat.com>
16121
16122 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16123 Helps the test script figure out which demangler is in use.
16124 (dm_type_foo_ref): Ditto.
16125 (dm_type_int_star): Ditto.
16126 (dm_type_long_star): Ditto.
16127 (dm_type_unsigned_int): Ditto.
16128 (dm_type_void): Ditto.
16129 (dm_type_void_star): Ditto.
16130 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16131 Probe the gdb demangler and set variables to accommodate
16132 formatting differences.
16133 (info_func_regexp): New function. Same as info_func, but
16134 matches against a regexp.
16135 (info_func): Match against a literal string.
16136 (print_addr_2): New function. Match against a literal string,
16137 which can be different from the input to gdb.
16138 (print_addr): Simply call print_addr_2 with the same argument twice.
16139 (test_lookup_operator_functions): Use demangler formatting variables.
16140 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16141 the tests in the same order as the C++ class declaration.
16142 (test_paddr_operator_functions): Ditto.
16143 (test_paddr_overloaded_functions): Ditto.
16144 (test_paddr_hairy_functions): Use demangler formatting variables.
16145 Add reference to gdb/19 for related tests.
16146 (do_tests): Call probe_demangler.
16147
16148 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16149
16150 * gdb.c++/templates.cc (printf): Remove unused function definition.
16151
16152 2001-01-26 Felix Lee <flee@redhat.com>
16153
16154 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16155
16156 2001-01-25 matthew green <mrg@redhat.com>
16157
16158 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16159 up sid.
16160 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16161
16162 2001-01-25 matthew green <mrg@redhat.com>
16163
16164 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16165 Deprecate $sid_spawn_id.
16166 (sid_exit): Remove code necessary only for `spawn.'
16167
16168 2001-01-25 matthew green <mrg@redhat.com>
16169
16170 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16171
16172 2001-01-28 Michael Chastain <chastain@redhat.com>
16173
16174 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16175 to call when tests fail. It takes gdb out of the overloaded
16176 function choice menu back to the main prompt, so that the test
16177 program stays synchronized.
16178 (set_bp_overloaded): New proc to collect all the common
16179 code for setting a breakpoint on an overloaded name. Calls
16180 take_gdb_out_of_choice_menu when needed.
16181 (menu_overload1arg): New variable to collect the repeated
16182 instances of the expected menu for an overloaded name. Change
16183 the regular expression to handle changes in g++ type encoding:
16184 "void" can be either "void" or "", and "unsigned int" can be
16185 either "unsigned int" or "unsigned".
16186 (continue_to_bp_overloaded): Change regular expressions to handle
16187 changes in g++ type encoding.
16188 (no proc): Call take_gdb_out_of_choice_menu when needed.
16189 Remove redundant calls to "info break". Accept either "canceled"
16190 or "cancelled". Change regular expressions in "info break"
16191 calls to handle changes in g++ type encoding. Give all tests
16192 unique strings.
16193
16194 2001-01-17 Ben Elliston <bje@redhat.com>
16195
16196 * config/sid.exp: New file.
16197
16198 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16199
16200 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16201
16202 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16203
16204 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16205 Add a RE to accept a non-ascii char if one is ever presented.
16206
16207 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16208
16209 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16210
16211 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16212
16213 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16214 in regexp. One '\' does not suffice on Linux.
16215
16216 2000-12-09 Michael Chastain <chastain@redhat.com>
16217
16218 * gdb.base/break.exp (test_clear_command): Use a marker function
16219 rather than 'main' for the test function. Also move this
16220 test to an execution point where the marker function names are
16221 guaranteed to be bound to functions. (Executing tests after a
16222 'finish' from main runs into name conflicts with local names
16223 in __libc_start_main).
16224
16225 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16226
16227 * gdb.base/finish.exp: New test for gdb's "finish" command.
16228 * gdb.base/return2.exp: New test for gdb's "return" command.
16229 * gdb.base/return2.c: New source file for above.
16230
16231 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16232
16233 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16234 * gdb.base/miscexprs.exp: Ditto.
16235 * gdb.base/pointers.exp: Ditto.
16236 * gdb.c++/derivation.exp: Ditto.
16237 * gdb.c++/local.exp: Ditto.
16238 * gdb.c++/namespace.exp: Ditto.
16239 * gdb.c++/overload.exp: Ditto.
16240 * gdb.c++/ref-types.exp: Ditto.
16241
16242 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16243
16244 * gdb.base/constvars.exp: Test result of "up" command.
16245 * gdb.base/miscexprs.exp: Ditto.
16246 * gdb.base/pointers.exp: Ditto.
16247 * gdb.base/scope.exp: Ditto.
16248 * gdb.c++/derivation.exp: Ditto.
16249 * gdb.c++/local.exp: Ditto.
16250 * gdb.c++/namespace.exp: Ditto.
16251 * gdb.c++/overload.exp: Ditto.
16252 * gdb.c++/ref-types.exp: Ditto.
16253
16254 2000-11-22 Michael Chastain <chastain@redhat.com>
16255
16256 * mips_pro.exp: Accept either "middle -> top -> main" or
16257 "middle -> main" in the backtrace, because gcc can optimize
16258 tail calls to jumps. Remove setup_xfail for the hppa case.
16259 Add a comment with the original warning messages from PR 3016,
16260 which was filed in 1993, to preserve them for posterity.
16261
16262 2000-11-17 Nick Duffek <nsd@redhat.com>
16263
16264 * lib/gdb.exp (gdb_test): Override timeout with board info.
16265
16266 2000-11-17 Nick Duffek <nsd@redhat.com>
16267
16268 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16269 the second kill and detach messages.
16270
16271 2000-11-17 Nick Duffek <nsd@redhat.com>
16272
16273 * configure.in: Add AC_EXEEXT.
16274 * configure: Regenerate.
16275 * Makefile.in (just-check): Export EXEEXT.
16276 * lib/gdb.exp ($EXEEXT): Import from environment.
16277 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16278 expect "maint dump-me" on Cygwin.
16279 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16280 $EXEEXT.
16281
16282 2000-11-17 Nick Duffek <nsd@redhat.com>
16283
16284 * gdb.base/break.exp: Test backtrace and finish from called
16285 function on all platforms, not just HP-UX.
16286
16287 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16288
16289 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16290 code from gdb_target_monitor, so it can be used independantly
16291 for gdbserver. Also comment out an unnecessary PUTS.
16292
16293 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16294
16295 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16296 * gdb.base/corefile.exp: Expect the message "Program is being
16297 debugged already" when we send the "corefile" command, since
16298 the preceeding gdb_load may have connected gdb to a remote target.
16299 * gdb.base/display.exp: Disable hardware watchpoints if new
16300 board info variable "no_hardware_watchpoints" is true.
16301 Replace single-letter commands with more readable ones.
16302 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16303 if new board info variable "no_hardware_watchpoints" is true.
16304 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16305 to see if stdio (printf) testing is possible.
16306 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16307 board info variable "no_hardware_watchpoints" is true. Use new
16308 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16309
16310 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16311
16312 From Orjan Friberg <orjanf@axis.com>:
16313 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16314 in array print pattern match.
16315
16316 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16317
16318 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16319 spelling "cancelled" to U.S. spelling "canceled" to match changes
16320 made to gdb.
16321 * gdb.c++/ovldbreak.exp: Ditto.
16322
16323 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16324
16325 * gdb.base/callfuncs.c (main): Moved to end of file, call
16326 t_double_values to initialize the FPU before inferior calls are made.
16327 * gdb.base/callfuncs.exp: Test for register preservation after calling
16328 inferior functions. Add tests for continuining, finishing and
16329 returning from a stop in a call dummy.
16330
16331 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16332
16333 * gdb.base/commands.exp: Break up long lines, and re-indent.
16334
16335 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16336
16337 * config/gdbserver.exp: Rewritten from the ground up, to make it
16338 compatible with the current dejagnu tree, and to make it work with
16339 the new "gdbserver" in libremote.
16340
16341 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16342
16343 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16344 * gdb.base/varargs.exp: Skip entire test if no printf support.
16345 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16346 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16347
16348 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16349
16350 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16351 no floating point support.
16352 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16353 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16354 * gdb.base/call-rt-st.exp: Ditto.
16355 * gdb.base/call-strs.exp: Ditto.
16356
16357 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16358
16359 * gdb.base/sizeof.c: include <stdio.h>.
16360
16361 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16362 'finish', otherwise uncaptured gdb_prompt would potentially
16363 throw remaining test points out of sync.
16364
16365 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16366
16367 * gdb.base/recurse.exp: Run tests for all targets.
16368 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16369 gnu-oldld case on ARM.
16370 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16371 for ARM targets.
16372
16373 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16374
16375 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16376 * gdb.java/configure: Rebuild.
16377
16378 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16379
16380 * gdb.java/jv-exp.exp: New file.
16381
16382 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16383
16384 * configure: Rebuilt.
16385 * configure.in (configdirs): Add gdb.java.
16386 * gdb.java/jmisc.java: New file.
16387 * gdb.java/jmisc.exp: New file.
16388 * gdb.java/Makefile.in: New file.
16389 * gdb.java/configure: Rebuilt.
16390 * gdb.java/configure.in: New file.
16391 * lib/java.exp: New file.
16392
16393 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16394
16395 * gdb.base/exprs.exp: Test casts to a pointer including over and
16396 underflow.
16397
16398 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16399
16400 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16401 and the compilers sizes.
16402
16403 2000-07-09 Nick Duffek <nsd@redhat.com>
16404
16405 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16406 (use_methods): New function.
16407 (main): Call use_methods().
16408 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16409 (do_tests): Call test_method_param_class.
16410
16411 2000-07-09 Nick Duffek <nsd@redhat.com>
16412
16413 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16414 spelling.
16415 (test_enums): New procedure. Move enum tests from end of script
16416 to here. Set breakpoint on function name instead of line number.
16417 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16418 (enums2): New marker function.
16419 (enums1): New function.
16420 (main): Call enums1(). Move enum tests to enums1().
16421
16422 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16423
16424 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16425 compile/link program. Update line numbers.
16426 * gdb.asm/d10v.inc: Define ``startup''.
16427 * gdb.asm/asmsrc1.s: Add definition of _start.
16428
16429 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16430
16431 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16432
16433 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16434
16435 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16436 of 'help maint print' command.
16437
16438 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16439
16440 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16441 they use gdb_expect_list.
16442
16443 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16444
16445 * gdb.base/commands.exp: Use ``set remote
16446 memory-read-packet-size'' instead of ``set endian big'' to test
16447 long commands.
16448
16449 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16450
16451 * gdb.c++/templates.exp (do_tests): Make all of these work under
16452 g++, and stop skipping them.
16453
16454 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16455 work under g++.
16456
16457 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16458 initialization.
16459
16460 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16461
16462 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16463 the regular expression: accept an (almost) arbitrary sequence of
16464 "frames-invalid" and "breakpoints-invalid" messages both before
16465 and after the "starting" message.
16466
16467 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16468
16469 * gdb.c++/local.exp: This test has never been known to work with g++.
16470
16471 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16472
16473 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16474 Relax the regular expression a little, make it pass on Solaris 8.
16475
16476 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16477
16478 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16479 a call, do not require that gdb stop on the line after the call.
16480 Instead, it is permissible for gdb to stop on the line of the
16481 call itself.
16482
16483 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16484
16485 * gdb.base/break.exp (bp on small function, optimized file):
16486 Add a second pass pattern. The behavior differs here between stabs
16487 and dwarf for one-line functions. Stabs preserves two line symbols
16488 (one before the prologue and one after) with the same line number,
16489 but dwarf regards these as duplicates and discards one of them.
16490 Therefore the address after the prologue (where the breakpoint is)
16491 has no exactly matching line symbol, and GDB reports the breakpoint
16492 as if it were in the middle of a line rather than at the beginning.
16493
16494 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16495
16496 * gdb.base/interrupt.exp: Make "pass" message say "send"
16497 rather than "send_gdb" (for consistancy).
16498
16499 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16500
16501 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16502 * gdb.c++/templates.cc: Properly check for GCC version number.
16503 * lib/compiler.cc: Likewise
16504
16505 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16506
16507 * gdb.base/break.exp: When compiled with -O2 optimization,
16508 gdb may not stop at the first line of main, due to code motion.
16509
16510 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16511
16512 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16513 This test depends on parsing the printf output from the target.
16514 Since the sparclet stub doesn't do stdio, this will never work.
16515 * gdb.base/call-rt-st.exp: ditto.
16516 * gdb.base/call-strs: ditto.
16517
16518 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16519
16520 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16521
16522 * gdb.base/ending-run.exp: After connecting to a remote target,
16523 but before running, the target will appear to be in a random
16524 location. Specify both a file and a line for breakpoints.
16525 Also, the function that calls main may be called 'init'
16526 rather than 'start'.
16527
16528 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16529
16530 * gdb.base/help.exp: Update output for add-symbol-file command.
16531
16532 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16533
16534 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16535 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16536
16537 2000-04-07 J.T. Conklin <jtc@redback.com>
16538
16539 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16540
16541 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16542
16543 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16544
16545 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16546 values that can be represented exactly.
16547 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16548 above change, and to not check against the directory part of the source
16549 file name.
16550 (step into print_long_arg_list): Likewise.
16551 (print print_small_structs from print_long_arg_list): Likewise.
16552 (print print_long_arg_list): Likewise.
16553
16554 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16555
16556 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16557
16558 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16559
16560 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16561
16562 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16563
16564 * gdb.base/commands.exp (deprecated_command_test): Add test for
16565 deprecate with no arguments.
16566
16567 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16568
16569 * gdb.base/break.exp: Add new test for setting breakpoints on
16570 optimized code so we can test breakpoints work even when function
16571 prologues may be optimized away
16572
16573 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16574
16575 From David Whedon <dwhedon@gordian.com>
16576 * gdb.base/commands.exp : Added command deprecator tests.
16577
16578 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16579
16580 * gdb.base/help.exp: Added test for new apropos command.
16581
16582 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16583
16584 * gdb.base/pointers.c (usevar): New function.
16585 (main): Make sure that global variables v_int_pointer2, rptr,
16586 and y are all referenced someplace in the program by calling
16587 usevar() on them. [Some linkers delete symbols which are
16588 never referenced. The space remains, but there's no way to
16589 get a (symbolic) handle on the variable from the debugger.]
16590
16591 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16592
16593 * gdb.base/printcmds.c: Add typedeffed arrays.
16594
16595 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16596 procedure to test arrays that are typedef'd.
16597
16598 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16599
16600 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16601 the library directories.
16602
16603 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16604
16605 * configure.in (configdirs): Add sub directory gdb.mi.
16606 * configure: Re-generate.
16607
16608 * gdb.mi: New directory.
16609
16610 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16611
16612 * gdb.base/long_long.exp: Correct test suite failure when printing
16613 a long long value as a double on ARM platforms.
16614
16615 2000-02-16 Jim Blandy <jimb@redhat.com>
16616
16617 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16618 default source file is set properly before running this test.
16619
16620 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16621
16622 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16623 gdbtk/library directory, not in gdbtcl2.
16624
16625 2000-02-04 Jim Blandy <jimb@redhat.com>
16626
16627 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16628 backslash from regexp pattern.
16629
16630 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16631 procedure. Use it to run all the "continue to bp overloaded"
16632 tests. Note that this changes the names of the tests slightly.
16633 If the breakpoint hit message includes a hex PC value, because
16634 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16635 from the real source code, still consider that a pass.
16636
16637 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16638 XFAIL here if the breakpoint message contains a hex address. Note
16639 similar change on 1999-11-02.
16640
16641 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16642
16643 * gdb.base/ptype.exp: Establish a default source file before
16644 calling get_debug_format.
16645
16646 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16647
16648 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16649
16650 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16651
16652 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16653 of successive stepi commands -- while in the prologue we should see
16654 the function entry bracket.
16655
16656 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16657
16658 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16659 reach __change_mode() when stepping through the end of main().
16660
16661 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16662
16663 * gdb.base/default.exp: Fix expected pattern.
16664 * gdb.base/help.exp: Same.
16665
16666 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16667
16668 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16669 Don't use xfail's because that affects only the following test.
16670
16671 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16672 solaris or linux.
16673
16674 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16675
16676 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16677
16678 * gdb.base/display.exp: Some yacc parsers like to say
16679 "A syntax error" rather than "A parse error". Accept both.
16680
16681 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16682
16683 * gdb.base/default.exp: Remove OS dependent string from "target
16684 remote" test.
16685 * gdb.base/help.exp: Same for "help target remote" test.
16686
16687 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16688
16689 From Jim Kingdon <kingdon@redhat.com>:
16690
16691 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16692 prompt (cleanup rather than necessity, but still might keep output
16693 from spilling to next test).
16694
16695 2000-01-02 Fred Fish <fnf@cygnus.com>
16696
16697 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16698 AIX, which defines them in <sys/types.h>.
16699
16700 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16701
16702 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16703 float" test.
16704
16705 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16706
16707 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16708
16709 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16710 outermost frame disallowed".
16711
16712 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16713
16714 * gdb.base/setvar.exp: New tests for setting the value of a struct
16715 with a constant list.
16716
16717 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16718
16719 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16720 require the user to type a cast before setting the value of a struct.
16721
16722 1999-12-06 Jim Blandy <jimb@cygnus.com>
16723
16724 * gdb.base/default.exp: Expect the new 'info float' command on
16725 all i386 platforms.
16726
16727 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16728 LinuxThreads libraries that don't support debugging.
16729
16730 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16731
16732 * gdb.base/remote.c: Fill the buffer with truely random data.
16733 Change the buffer type to ``unsigned char'' to simplify size
16734 arithmetic.
16735
16736 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16737 stub only handles 400-1 byte packets. Verify that the download
16738 worked.
16739
16740 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16741
16742 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16743 tests, using UNRESOLVED for the untested cases. Also, does not wait
16744 for a timeout if the prompt was received before a recognizable pattern.
16745
16746 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16747
16748 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16749
16750 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16751
16752 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16753 watchpoints.
16754
16755 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16756
16757 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16758
16759 * gdb.c++/local.exp: Be more flexible in recognizing local class
16760 name mangling. Don't allow horribly truncated method names.
16761 * gdb.c++/derivation.exp: Expect protected inheritance.
16762 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16763 * gdb.c++/virtfunc.exp: Likewise.
16764 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16765 when printing a nested enum.
16766
16767 1999-11-22 Jim Blandy <jimb@cygnus.com>
16768
16769 * gdb.base/step-test.exp: Properly await GDB's response to setting
16770 a breakpoint on the call to large_struct_by_value.
16771
16772 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16773 just because we have debug info for the `start' function.
16774
16775 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16776
16777 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16778 "Unknown signal" messages, which indicate (on LinuxThreads) that
16779 GDB doesn't know how to debug threads on this system. This is
16780 better than hanging while philosopher 0 dumps chatter into gdb.log.
16781
16782 1999-11-18 Tom Tromey <tromey@cygnus.com>
16783
16784 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16785
16786 1999-11-18 Fred Fish <fnf@cygnus.com>
16787
16788 * gdb.base/coremaker2.c: Add sample program for generating
16789 cores that is more self contained than coremaker.c. Eventually
16790 I'll add more code to this and tie it into the testsuite.
16791
16792 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16793
16794 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16795
16796 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16797
16798 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16799 from $srcdir/lib/.
16800 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16801 and gdb.c++/.
16802
16803 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16804
16805 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16806 'continue with watch' test point.
16807
16808 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16809
16810 Merged from p2linux-990323-branch:
16811
16812 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16813
16814 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16815
16816 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16817 {limit,fixed}''. Test ``set download-write-size''.
16818
16819 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16820
16821 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16822 gdb_expect_list.
16823
16824 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16825
16826 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16827
16828 1999-11-03 Mark Salter <msalter@cygnus.com>
16829
16830 * gdb.base/break.exp: Fix "stub continue" pattern.
16831
16832 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16833
16834 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16835
16836 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16837
16838 * gdb.base/display.exp ("finish"): Add timeout clause.
16839
16840 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16841 plain prompt clause, so this doesn't have to time out in order to
16842 fail.
16843
16844 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16845 breakpoint hit messages include an address.
16846
16847 * gdb.base/display.exp: Don't forget to escape parens in regular
16848 expressions. Unix regexp notatation sucks.
16849
16850 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16851
16852 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16853 order for 'signalled' message.
16854
16855 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16856
16857 From Jimmy Guo <guo@cup.hp.com>:
16858 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16859 * gdb.base/annota1.c: Add code for tests to work with.
16860
16861 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16862
16863 * gdb.base/remote.exp: New test for remote downloading settings.
16864 * gdb.base/remote.c: New file with large .data.
16865
16866 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16867
16868 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16869 for LinuxThreads support, merged from the Code Fusion branch.
16870
16871 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16872
16873 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16874 containing exp_continue into a while within an expect. Don't
16875 attempt a start more than three times. Check return value from
16876 gdb_load.
16877
16878 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16879
16880 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16881 a pass case.
16882
16883 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16884
16885 * gdb.base/break.c (main): Added a statement that we can step
16886 off of.
16887 * gdb.base/break.exp: Added tests for setting a breakpoint
16888 at an offset and stepping onto a breakpoint.
16889
16890 1999-10-01 Fred Fish <fnf@cygnus.com>
16891
16892 * gdb.base/help.exp (help add-symbol-file): Update to match current
16893 gdb output.
16894
16895 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16896
16897 * gdb.base/break.exp: Code locations are in hex, don't forget!
16898 (For HP-UX.)
16899
16900 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16901
16902 * condbreak.exp: Use break.c as test program.
16903 * condbreak.c: Remove, redundant with break.c.
16904
16905 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16906
16907 * config/monitor.exp (gdb_target_monitor): Disable X- and
16908 Z-packets if the target needs it.
16909
16910 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16911
16912 * gdb.c++/overload.exp: Added tests for listing overloaded
16913 functions with function pointers in the arg, explicitly calling
16914 out the version you want.
16915
16916 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16917
16918 * long_long.exp: Add variations of test cases that work for
16919 targets with 16-bit ints and 32-bit doubles.
16920
16921 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16922
16923 * break.c (main): Compare a possibly-uninitialized argc with an
16924 unlikely value that fits in 16 bits.
16925
16926 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16927
16928 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16929 0xfeeb, don't want negative numbers if ints are 16 bits.
16930
16931 * lib/gdb.exp (skip_cplus_tests): New proc.
16932 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16933 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16934 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16935 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16936 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16937 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16938 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16939 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16940
16941 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16942
16943 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16944
16945 * gdb.base/corefile.exp (up): Allow a parameter to appear
16946 in the frame that we're going up to.
16947
16948 From Jim Blandy <jimb@cygnus.com>:
16949
16950 * gdb.base/default.exp (info float): Expect some output now.
16951
16952 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16953 returning floating-point values to fail on the x86.
16954 * gdb.base/callfwmall.exp (do_function_calls): Same.
16955
16956 * gdb.base/list.exp (test_listsize): Correct expectations for
16957 listing line 1 with listsize 2. Also, listing a single line
16958 works now, as does listing three lines. [Kevin's note: There
16959 were a number of other cases fixed too where the expectations
16960 differed...]
16961
16962 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16963
16964 * gdb.base/selftest.exp: Add case for when version prints as
16965 constant string instead of char pointer.
16966
16967 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16968
16969 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16970 stepping out of main.
16971
16972 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16973 G++ used.
16974
16975 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16976 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16977
16978 * gdb.c++/ovldbreak.exp: Update match string in test that
16979 includes a warning of multiple breakpoints.
16980
16981 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16982
16983 * gdb.base/display.exp: Improve precision of step-after-finish
16984 added yesterday.
16985
16986 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16987 test.
16988
16989 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16990 configs when using G++, not just hppa*.
16991
16992 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16993
16994 * gdb.base/async.c: New file.
16995 * gdb.base/async.exp: New file.
16996
16997 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16998
16999 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17000 PA64.
17001
17002 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17003
17004 * gdb.base/display.exp: "finish" can leave us mid-line on many
17005 targets, deal with it. Add a small constant to main, instead of
17006 1000 since main+1000 may not be a valid address in the target.
17007
17008 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17009 on hpux11.
17010
17011 * gdb.base/attach.exp: Handle another hpux11 error message variant
17012 when attaching to a process that does not exist.
17013
17014 1999-08-19 J.T. Conklin <jtc@redback.com>
17015
17016 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17017 characters in 'continue to 1241' test.
17018
17019 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17020
17021 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17022 stop in print_long_arg_list, define and use a whitespace
17023 variable in print_small_structs test, add an XFAIL for Solaris.
17024 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17025 interested enough to fix.
17026
17027 1999-08-13 Keith Seitz <keiths@cygnus.com>
17028
17029 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17030 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17031 proc knows about targets other than the natives.
17032 (test_assign): Use "gdb_run_cmd" to "run" the target.
17033 Check that we've actually hit the breakpoint at main.
17034 When we attempt to assign a value to a local variable, check
17035 that the variable is in the current scope, i.e., don't use
17036 a test with an empty result.
17037
17038 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17039
17040 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17041 command.
17042
17043 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17044
17045 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17046 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17047 gdb.compat, gdb.threads-hp.
17048 gdb.hp/configure, gdb.hp/configure.in: New files.
17049 gdb.hp/Makefile.in: Recurse into new subdirs.
17050 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17051 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17052 in object files.
17053 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17054
17055 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17056
17057 * gdb.base/display.exp: Help expect by putting a newline in the
17058 funky printf, remove a bogus p/a test.
17059
17060 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17061
17062 * gdb.base/display.exp: Make sure that when we say 'run', we are
17063 connected to the target. This is necessary when running not
17064 natively.
17065
17066 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17067
17068 * gdb.base/step-test.exp: Removed some extraneous messages.
17069
17070 * gdb.base/long_long.exp: Don't run memory examination tests
17071 on little-endian targets (they will need a different set of
17072 results to match).
17073
17074 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17075
17076 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17077 until somebody decides to fix GDB.
17078
17079 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17080 constant as "ULL".
17081 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17082 matches for a couple x/2 commands.
17083
17084 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17085
17086 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17087 by merging in ref-types2 tests.
17088 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17089
17090 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17091 * gdb.c++/Makefile.in: Add standard actions.
17092 (EXECUTABLES): Rename from PROGS, update list.
17093 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17094 from gdb.hp.
17095 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17096 foo and bar locals.
17097 * gdb.c++/anon-union.exp: Fix tests to match.
17098 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17099 expect matches to handle output variations.
17100 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17101 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17102 output, add HP alternatives for new and delete prints.
17103 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17104 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17105 * gdb.c++/demangle.exp: Use $style when reporting failure.
17106 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17107 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17108 match alternatives.
17109 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17110 compilers.
17111 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17112 * gdb.c++/method.exp: Add match alternatives.
17113 * gdb.c++/misc.cc: Add bool types.
17114 * gdb.c++/misc.exp: Add tests for bool types.
17115 * gdb.c++/overload.exp: Add xfails.
17116 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17117 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17118 add some more template parameter tests (only for HP currently).
17119 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17120 * gdb.c++/virtfunc.cc: Add return type and value for main.
17121 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17122 match alternatives.
17123
17124 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17125
17126 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17127
17128 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17129
17130 * gdb.base/signals.exp: Don't expect getting a backtrace from
17131 within a signal handler to fail on Linux.
17132
17133 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17134
17135 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17136 * lib/gdb.exp: Remove some gratuitious semicolons.
17137 (delete_breakpoints): Increase timeout.
17138 (gdb_expect): Add -notransfer option.
17139 (gdb_test): Use -notransfer option.
17140 (get_compiler_info): Add f77 case.
17141 (get_compiler): New proc, split out from gdb_preprocess, add f77
17142 case.
17143 (gdb_preprocess): Call get_compiler.
17144
17145 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17146 * gdb.base/attach.exp, gdb.base/display.exp,
17147 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17148 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17149 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17150 third arg to gdb_test.
17151 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17152 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17153 HP-UX xfails, add others.
17154 * gdb.base/completion.exp: Reflect name change of self-test.
17155 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17156 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17157 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17158 HP failure number.
17159 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17160 useless HP-UX 10.30 references.
17161 * gdb.base/maint.exp: Loosen matches.
17162 * gdb.base/pointers.c (main): Declare more_code.
17163 * gdb.base/pointers.exp: Match on output of a `next'.
17164 * gdb.base/structs.c: Add prototypes.
17165 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17166 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17167
17168 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17169
17170 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17171 command.
17172
17173 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17174
17175 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17176 Fix run to main failures. Watchpoint can be hardware watchpoint.
17177
17178 * gdb.base/annota1.exp: Clean up some more, in case printf has
17179 debug info. Deal with lack of signal hanlder info in stack.
17180
17181 From Jim Kingdon <kingdon@redhat.com>:
17182 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17183
17184 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17185
17186 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17187 gdb.base/foll-vfork.exp: Don't run for crosses.
17188
17189 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17190
17191 * gdb.base/configure.in: Check for gdbvars.exp instead of
17192 a1-selftest.exp.
17193 * gdb.base/configure: Re-generate.
17194
17195 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17196
17197 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17198 in trying to run first and name is too long.
17199
17200 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17201 pointers2.c and pointers2.exp, respectively.
17202 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17203 doschk happier.
17204
17205 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17206
17207 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17208 callfuncs2.c and callfuncs2.exp.
17209
17210 * gdb.base/list.exp: Remove mistaken xfails.
17211 * gdb.base/list0.h: Add optional prototypes.
17212
17213 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17214
17215 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17216 calling malloc.
17217 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17218 * ptype.exp: Move test for get_debug_format to before its first
17219 use.
17220
17221 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17222
17223 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17224 * gdb.base/annota2.cc, annota2.exp: Move from here.
17225 * gdb.c++/annota2.cc, annota2.exp: To here.
17226 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17227
17228 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17229
17230 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17231 a consistent format.
17232
17233 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17234
17235 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17236 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17237 HP compilers, also set the globals $true and $false.
17238
17239 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17240 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17241 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17242 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17243 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17244 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17245 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17246 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17247 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17248 whatis.c} Add C++ compatible function definitions and return
17249 types, add includes for library functions.
17250 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17251 * gdb.base/step-test.c (myglob): Rename from glob.
17252 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17253 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17254 files, move here from gdb.hp.
17255 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17256 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17257 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17258 Adjust line numbers in regexps.
17259
17260 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17261 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17262 instead of 0/1.
17263
17264 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17265 foll-vfork.exp: New files, move here from gdb.hp.
17266 * gdb.base/page.exp: New file, test of pagination command.
17267
17268 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17269 recursion test.
17270 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17271
17272 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17273 gdb.base/solib.exp: Fix compiler invocation process.
17274
17275 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17276 HP-UX 11, turn off overload resolution explicitly.
17277 * gdb.base/commands.exp: Set argument list explicitly, add
17278 watchpoint test.
17279 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17280 them work.
17281 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17282 expressions properly.
17283 * gdb.base/corefile.exp: Loosen the match slightly.
17284 * gdb.base/default.exp: Allow "Error accessing memory" message
17285 also.
17286 * gdb.base/display.exp: Skip over x/0 j if PA64.
17287 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17288 * gdb.base/interrupt.exp: Ditto.
17289 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17290 in use.
17291 * gdb.base/list.exp: Add xfails for HP-UX.
17292 * gdb.base/long_long.exp: Refine some of the numeric matches.
17293 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17294 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17295 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17296 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17297 * gdb.base/ptype.exp: Succeed on more varieties of output.
17298 * gdb.base/scope.exp: Add xfails for HP-UX.
17299 * gdb.base/sect-cmd.exp: Add more cases.
17300 * gdb.base/setvar.exp: Add xfails for HP-UX.
17301 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17302 * gdb.base/signals.exp: Match on void symbolically.
17303 * gdb.base/step-test.exp: Add case for PA64.
17304 * gdb.base/term.exp: Add exit and restart.
17305 * gdb.base/twice.exp: Clean up after self.
17306 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17307 * gdb.base/whatis.exp: Allow more ways to pass tests.
17308
17309 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17310 no longer useful.
17311
17312 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17313
17314 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17315 list of patterns.
17316 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17317 print_double_array(double_array)", "continuing to breakpoint
17318 1018", "print print_double_array(array_d)" and "continuing to
17319 1034" tests.
17320
17321 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17322
17323 * Makefile.in: Add empty html and install-html targets.
17324
17325 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17326
17327 * config/mt-*: Remove, these haven't been used since 1996.
17328
17329 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17330
17331 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17332 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17333 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17334
17335 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17336
17337 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17338 simpler match case for the ptype of the big class.
17339
17340 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17341
17342 * gdb.exp: Fix test for gdb_prompt existence.
17343
17344 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17345
17346 * gdb.exp (gdb_test): Add fail after calls to perror.
17347
17348 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17349
17350 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17351
17352 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17353
17354 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17355
17356 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17357
17358 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17359 malloc() is linked in.
17360
17361 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17362
17363 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17364 step at end.
17365
17366 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17367
17368 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17369
17370 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17371
17372 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17373
17374 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17375 * gdb.base/mips_pro.exp: Likewise.
17376
17377 1999-06-02 Keith Seitz <keiths@cygnus.com>
17378
17379 * gdb.c++/templates.cc: Change all "new" operators to throw
17380 an exception.
17381 * gdb.c++/cplusfuncs.cc: Likewise.
17382
17383 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17384
17385 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17386
17387 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17388 * gdb.base/ending-run.exp: When stepping out of main, accept a
17389 step into an arbitrary assembler file.
17390
17391 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17392
17393 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17394 "breakpoint-invalid" to be printed.
17395 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17396 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17397 * gdb.base/annota2.cc: Initialize a.x to 0.
17398
17399 1999-05-17 Keith Seitz <keiths@cygnus.com>
17400
17401 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17402 when "skip_float_tests" set.
17403 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17404 "print print_ten_doubles", and "step into print_long_arg_list".
17405 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17406 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17407 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17408 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17409 "skip_float_tests" is set.
17410 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17411 when "skip_float_tests" set.
17412
17413 1999-05-06 Keith Seitz <keiths@cygnus.com>
17414
17415 * gdb.base/annota2.cc: Include stdio.h.
17416
17417 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17418
17419 * gdb.base/crossload.exp: Remove, this has been disabled ever
17420 since BFD stopped including all targets, and cross-GDB gets
17421 plenty of testing anyway.
17422 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17423 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17424 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17425 * gdb.base/README: Remove, was doc for this.
17426 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17427 needed.
17428
17429 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17430
17431 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17432 output.
17433
17434 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17435 * gdb.base/annota2.exp: New file. More annotation tests.
17436 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17437 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17438
17439 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17440
17441 * config/cfdbug.exp: New file.
17442
17443 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17444
17445 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17446 Marcus Daniel's and Dale Hawkins's demangler crashes.
17447
17448 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17449 test_lucid_style_demangling, test_arm_style_demangling,
17450 test_hp_style_demangling): Try Tom Tromey's core-dumping
17451 identifier under each demangling style.
17452
17453 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17454
17455 * gdb.c++/demangle.exp: Include the current demangling style
17456 in all test names.
17457 (current_demangling_style): New global variable.
17458 (set_demangling_style, test_demangling_core, test_demangling,
17459 test_demangling_exact): New functions.
17460 (test_gnu_style_demangling, test_lucid_style_demangling,
17461 test_arm_style_demangling, test_hp_style_demangling): Use those,
17462 instead of calling gdb_test and gdb_test_exact directly.
17463 (catch_demangling_errors): New function, which reports errors
17464 signalled by the demangling test functions in an orderly way.
17465 (do_tests): Use catch_demangling_errors.
17466
17467 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17468
17469 * gdb.base/signals.exp (test_handle_all_print): Use () for
17470 grouping in expressions, not {}.
17471
17472 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17473 initialized yet.
17474
17475 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17476
17477 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17478 are listed.
17479
17480 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17481
17482 * gdb.stabs/weird.exp: Test for CC being defined before
17483 looking at its value.
17484
17485 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17486
17487 * gdb.base/call-ar-st.exp: Remove stray '#'.
17488 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17489 "short int" and "long int".
17490 * gdb.c++/overload.cc: Cast the string added in the previous
17491 change, to mollify finicky HP compiler.
17492 * gdb.hp/reg-test.exp (testfile): Fix file name.
17493 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17494
17495 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17496 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17497 alternate form of enum ptype.
17498
17499 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17500
17501 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17502 * gdb.hp/*.exp: Change all to run compiler probe only after
17503 passing skip_hp_tests, so as not to waste time on guaranteed
17504 failure.
17505
17506 * gdb.c++/overload.cc: Pass string instead of char addr, always
17507 init ccpfoo.
17508 * gdb.c++/templates.cc: Fix syntax error.
17509
17510 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17511
17512 * gdb.base/commands.exp: Add test for correct position of '>'
17513 when issuing the 'commands' command after a 'while' or 'if'
17514 command.
17515
17516 1999-03-18 James Ingham <jingham@cygnus.com>
17517
17518 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17519
17520 * gdb.c++/method.exp: It was testing an uninitialized int on the
17521 stack and assuming it was positive.
17522
17523 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17524
17525 * gdb.base/step-test.exp: Catch a case where finish is broken and
17526 keep it from killing the rest of the tests.
17527 Use gdb_continue_to_end.
17528
17529 * gdb.base/sigall.exp: use gdb_continue_to_end.
17530
17531 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17532
17533 * gdb.base/display.exp: use runto_main, not run.
17534
17535 * gdb.base/default.exp: Check for the current error message in the
17536 r abbreviation test.
17537 Add strongarm to the targets that know info float.
17538
17539 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17540 run which doesn't work with monitors.
17541
17542 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17543
17544 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17545
17546 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17547 program. Traps the case (in Cygmon) when the program never really
17548 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17549 more places, so I used my name. Sorry Mark...
17550
17551 * config/monitor.exp (gdb_target_monitor): added another
17552 target_info parameter: remotebinarydownload. This will set the
17553 remotebinarydownload flag if this is causing some boards trouble.
17554
17555 1999-03-18 Mark Salter <msalter@cygnus.com>
17556
17557 * lib/gdb.exp (continue_to_exit): New function.
17558
17559 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17560 * gdb.base/ending-run.exp: Ditto.
17561 * gdb.base/step-test.exp: Ditto.
17562
17563 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17564
17565 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17566 (suggested by Art Haas <ahaas@neosoft.com>).
17567
17568 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17569
17570 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17571
17572 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17573
17574 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17575 descriptions of types (short unsigned int vs unsigned short, etc).
17576
17577 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17578
17579 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17580 a call to strlen; sometimes we do have sources.
17581
17582 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17583
17584 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17585 character, so GDB won't print garbage after its end.
17586
17587 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17588 breakpoint there instead. Sometimes GCC emits memcpy to handle
17589 the large structures being passed by value, so we step into that
17590 instead of sum_array_print, which obscures what we're really testing.
17591 * gdb.base/step-test.exp: However, we do want a test that notices
17592 the bizarre steps into memcpy, so do that here. Add check for
17593 stepping into function calls that pass large structures by value.
17594 ("Is that a noun clause, or are you just happy to see me?")
17595 Remove all references to specific line numbers.
17596 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17597 New type and function.
17598 (main): Call large_struct_by_value, passing it a large struct by value.
17599 * lib/gdb.exp (gdb_get_line_number): New function.
17600
17601 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17602 more portable.
17603
17604 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17605
17606 * lib/gdb.exp: Doc fixes.
17607
17608 1999-03-05 Nick Clifton <nickc@cygnus.com>
17609
17610 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17611
17612 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17613
17614 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17615 commands. They're not germane to this test, and they don't work
17616 that way on remote targets.
17617
17618 1999-03-01 James Ingham <jingham@cygnus.com>
17619
17620 * Changelog entries merged over from gdb development branch.
17621
17622 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17623
17624 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17625 for outputting results of test run.
17626
17627 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17628
17629 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17630
17631 1999-02-25 Felix Lee <flee@cygnus.com>
17632
17633 * lib/gdb.exp (debug_format): initialize
17634
17635 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17636
17637 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17638 * gdb.base/call-rt-st.c: Ditto.
17639
17640 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17641
17642 * gdb.threads/pthreads.exp (horiz): New variable.
17643 (test_startup): Fix regexps that capture thread numbers.
17644
17645 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17646
17647 * gdb.base/smoke.exp: Disambiguate two test case names (both
17648 called ``print'').
17649
17650 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17651
17652 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17653 compilation.
17654
17655 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17656
17657 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17658 actual output formatting.
17659 * gdb.base/smoke.exp: GDB removes leading 0's.
17660 * gdb.base/volatile.exp: Don't check type of remuneration;
17661 that variable is no longer defined in constvars.c.
17662 * gdb.base/step-test.c (main): Exit with explicit exit code.
17663 * gdb.base/step-test.exp: Remove two nexti checks--they are
17664 not portable.
17665
17666 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17667
17668 * gdb.base/help.exp ("help delete display"): Fix test to match
17669 gdb's output.
17670
17671 * gdb.base/long_long.c (known_types): Initialize values to zero.
17672 * gdb.base/long_long.exp: Step one more line
17673 so 'dec' is initialized in "get to known place". GDB removes
17674 leading zeros. Explicitly ask for hex formatting. Use
17675 unique test case names.
17676
17677 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17678
17679 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17680
17681 * gdb.c++/method.exp: Add missing close brace.
17682
17683 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17684
17685 * gdb.base/maint.exp: Use 'set height 0' to disable page
17686 prompting, not 'set height 400'.
17687
17688 Fix a bunch of timeouts.
17689 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17690 four separate tests, so expect doesn't take forever to match a ton
17691 of text against a regexp with lots of .* forms.
17692 ("maint print psymbols", "maint print symbols"): Make some of
17693 these greps more selective, so that expect doesn't try to wade
17694 through huge piles of output and time out.
17695
17696 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17697
17698 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17699 tests: one which doesn't expect shlib events to be reported, and
17700 another which does, but is XFAIL for all platforms other than
17701 HP/UX.
17702
17703 * gdb.base/break.exp: Teach the test suite that the `catch
17704 fork', `catch vfork', and `catch exec' commands produce error
17705 messages on platforms that don't provide these features.
17706
17707 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17708
17709 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17710 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17711 (shortening names from solib_threshold.exp etc), won't run on
17712 anything but HP-UX for the foreseeable future.
17713 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17714 reflect move.
17715
17716 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17717
17718 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17719 gdb.trace/Makefile.in (clean): Remove all test executables.
17720
17721 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17722
17723 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17724 successfully re-sets breakpoints in shared libraries.
17725 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17726
17727 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17728
17729 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17730 and compiled w/o GCC.
17731
17732 * gdb.hp/watch-cmd.exp: ditto.
17733
17734 * gdb.hp/watch-hp.exp: ditto.
17735
17736 * gdb.hp/xdb1.exp: ditto.
17737
17738 * gdb.hp/xdb2.exp: ditto.
17739
17740 * gdb.hp/dbx.exp: ditto.
17741
17742 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17743
17744 * constvars.c: Remove C++-isms.
17745 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17746 with GCC.
17747
17748 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17749
17750 The following changes are part of the HP merge.
17751
17752 * gdb.base/break.exp: new tests to verify that catchpoints for
17753 fork, vfork, and exec don't trigger inappropriately.
17754
17755 * gdb.base/opaque.exp: compile one file at a time, then link.
17756
17757 * gdb.base/signals.exp: be more restrictive about which hppa
17758 systems receive a setup_xfail. new tests.
17759
17760 * gdb.base/solib_threshold.build: new file.
17761 * gdb.base/solib_threshold.exp: new file.
17762 * gdb.base/solib_threshold.link_opts: new file.
17763 * gdb.base/solib_threshold.mk: new file.
17764 * gdb.base/gen_solib_threshold.c: new file.
17765
17766 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17767 tests. New tests for enums inside classes.
17768
17769 * gdb.c++/compiler.cc: indicate support of template debugging.
17770
17771 * gdb.c++/demangle.exp: run hp style demangling tests.
17772
17773 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17774 tests.
17775
17776 * gdb.c++/misc.cc: changes to support new tests.
17777
17778 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17779 to support new tests.
17780
17781 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17782 gcc, then skip these tests.
17783
17784 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17785
17786 The following files are part of the HP merge; some had longer
17787 names at HP, but have been renamed to be no more than 14
17788 characters in length.
17789
17790 * gdb.hp/ambiguous.cc: new file.
17791 * gdb.hp/ambiguous.exp: new file.
17792 * gdb.hp/attach.exp: new file.
17793 * gdb.hp/attach2.exp: new file.
17794 * gdb.hp/classes-hp.exp: new file.
17795 * gdb.hp/ctti.exp: new file.
17796 * gdb.hp/ctti-add.cc: new file.
17797 * gdb.hp/ctti-add1.cc: new file.
17798 * gdb.hp/ctti-add2.cc: new file.
17799 * gdb.hp/ctti-add3.cc: new file.
17800 * gdb.hp/dbx.exp: new file.
17801 * gdb.hp/exception.cc: new file.
17802 * gdb.hp/exception.exp: new file.
17803 * gdb.hp/foll-exec.c: new file.
17804 * gdb.hp/foll-exec.exp: new file.
17805 * gdb.hp/foll-fork.c: new file.
17806 * gdb.hp/foll-fork.exp: new file.
17807 * gdb.hp/foll-vfork.c: new file.
17808 * gdb.hp/foll-vfork.exp: new file.
17809 * gdb.hp/inherit-hp.exp: new file.
17810 * gdb.hp/more-steps.exp: new file.
17811 * gdb.hp/namespace.cc: new file.
17812 * gdb.hp/namespace.exp: new file.
17813 * gdb.hp/optimize.exp: new file.
17814 * gdb.hp/pxdb.c: new file.
17815 * gdb.hp/pxdb.exp: new file.
17816 * gdb.hp/quicksort.exp: new file.
17817 * gdb.hp/reg-test.exp: new file.
17818 * gdb.hp/reg-test.s: new file.
17819 * gdb.hp/sized-enum.c: new file.
17820 * gdb.hp/sized-enum.exp: new file.
17821 * gdb.hp/start-stop.exp: new file.
17822 * gdb.hp/templ-hp.cc: new file.
17823 * gdb.hp/templ-hp.exp: new file.
17824 * gdb.hp/thr-lib.c: new file.
17825 * gdb.hp/thr-lib.exp: new file.
17826 * gdb.hp/thr-lib.h: new file.
17827 * gdb.hp/thr-liblib.c: new file.
17828 * gdb.hp/virtfun-hp.c: new file.
17829 * gdb.hp/virtfun-hp.exp: new file.
17830 * gdb.hp/watch-cmd.exp: new file.
17831 * gdb.hp/watch-hp.exp: new file.
17832 * gdb.hp/xdb1.exp: new file.
17833 * gdb.hp/xdb2.exp: new file.
17834 * gdb.hp/xdb3.exp: new file.
17835
17836 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17837
17838 The following files are part of the HP merge; some had longer
17839 names at HP, but have been renamed to be no more than 14
17840 characters in length.
17841
17842 * gdb.base/ss.h: new file.
17843 * gdb.base/call-ar-st.c: new file.
17844 * gdb.base/call-ar-st.exp: new file.
17845 * gdb.base/call-rt-st.c: new file.
17846 * gdb.base/call-rt-st-exp: new file.
17847 * gdb.base/call-strs.exp: new file.
17848 * gdb.base/ena-dis-br.exp: new file.
17849 * gdb.base/environ.exp: new file.
17850 * gdb.base/long_long.exp: new file.
17851 * gdb.base/sect-cmd.exp: new file.
17852 * gdb.base/shlib-cl2.exp: new file.
17853 * gdb.base/smoke.exp: new file.
17854 * gdb.base/so-impl-ld.c: new file.
17855 * gdb.base/so-impl-ld.exp: new file.
17856 * gdb.base/so-indr-cl.c: new file.
17857 * gdb.base/so-indr-cl.exp: new file.
17858 * gdb.base/varargs.exp: new file.
17859 * gdb.base/volatile.exp: new file.
17860 * gdb.base/whatis-exp.exp: new file.
17861 * gdb.base/display.exp: new file.
17862 * gdb.c++/derivation.exp: new file.
17863 * gdb.c++/local.exp: new file.
17864 * gdb.c++/member-ptr.exp: new file.
17865 * gdb.c++/overload.exp: new file.
17866 * gdb.c++/ovldbreak.exp: new file.
17867 * gdb.c++/ref-types.exp: new file.
17868 * gdb.c++/ref-types2.exp: new file.
17869 * gdb.c++/userdef.exp: new file.
17870
17871 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17872
17873 * gdb.base/default.exp: Reflect wording change in remote.c.
17874
17875 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17876
17877 * gdb.base/help.exp: Update to reflect current text.
17878
17879 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17880
17881 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17882 they're stack variables and contain garbage.
17883 * gdb.c++/anon-union.exp: new file.
17884
17885 The following changes were made by David Taylor
17886 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17887 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17888 in changes by HP.
17889
17890 * gdb.base/bitops.exp: new file.
17891 * gdb.base/default.exp: change expected messages for catch and
17892 info catch tests to reflect HP merge changes.
17893 * gdb.base/enable-disable-break.exp
17894 * gdb.base/ending-run.c: new file.
17895 * gdb.base/long_long.c: new file.
17896 * gdb.base/maint.exp: new file.
17897 * gdb.base/pointers2.exp: new file.
17898 * gdb.base/shlib-call2.exp: new file.
17899 * gdb.base/solib.exp: new file.
17900 * gdb.base/step-test.c: new file.
17901 * gdb.c++/anon-union.cc: new file.
17902 * gdb.c++/local.cc: new file.
17903 * gdb.c++/member-pointer.cc: new file.
17904 * gdb.c++/method.cc: new file.
17905 * gdb.c++/ref-types.cc: new file.
17906 * gdb.c++/ref-types2.cc: new file.
17907 * gdb.c++/userdef.cc: new file.
17908
17909 * gdb.base/scope.exp: compile one file at a time, then link.
17910 * gdb.base/langs.exp: ditto.
17911 * gdb.base/list.exp: ditto.
17912
17913 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17914
17915 The following changes were made by David Taylor
17916 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17917 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17918 in changes by HP.
17919
17920 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17921 skip tests. When compiling pass c++ flag to gdb_compile.
17922 * gdb.c++/
17923
17924 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17925 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17926 (skip_hp_tests): new function.
17927 (gdb_preprocess): new function.
17928
17929 * configure.in (hpdir): decide whether to configure gdb.hp.
17930 * configure: regenerated.
17931
17932 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17933 to delete on clean.
17934 (EXECUTABLES): update to reflect new additions.
17935 * gdb.base/commands.exp: update message expected.
17936 * gdb.base/default.exp: add copyright notice.
17937 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17938 * gdb.base/help.exp: update messages to reflect current text.
17939 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17940 targets for recurse tests.
17941 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17942 skip this file.
17943
17944 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17945 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17946 compilation.
17947 * gdb.c++/misc.exp: ditto.
17948 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17949 run the tests. tell gdb_compile that it's a c++ compilation.
17950
17951 * gdb.threads/pthreads.exp: fix typo in message.
17952
17953 * gdb.base/all-bin.exp: new file.
17954 * gdb.base/arithmet.exp: new file.
17955 * gdb.base/assign.exp: new file.
17956 * gdb.base/completion.exp: new file.
17957 * gdb.base/cond-expr.exp: new file.
17958 * gdb.base/condbreak.exp: new file.
17959 * gdb.base/define.exp: new file.
17960 * gdb.base/dollar.exp: new file.
17961 * gdb.base/environment.exp: new file.
17962 * gdb.base/eval-skip.exp: new file.
17963 * gdb.base/jump.exp: new file.
17964 * gdb.base/logical.exp: new file.
17965 * gdb.base/pointers.exp: new file.
17966 * gdb.base/relational.exp: new file.
17967 * gdb.base/section_command.exp: new file.
17968 * gdb.base/whatis-expr.exp: new file.
17969
17970 * gdb.base/all-types.c: new file.
17971 * gdb.base/call-array-struct.c: new file.
17972 * gdb.base/call-return-struct.c: new file.
17973 * gdb.base/call-strings.c: new file.
17974 * gdb.base/callfuncs2.c: new file.
17975 * gdb.base/condbreak.c: new file.
17976 * gdb.base/constvars.c: new file.
17977 * gdb.base/display.c: new file.
17978 * gdb.base/int-type.c: new file.
17979 * gdb.base/jump.c: new file.
17980 * gdb.base/miscexprs.c: new file.
17981 * gdb.base/pointers.c: new file.
17982 * gdb.base/pointers2.c: new file.
17983 * gdb.base/shmain.c: new file.
17984 * gdb.base/shr1.c: new file.
17985 * gdb.base/shr2.c: new file.
17986 * gdb.base/solib.c: new file.
17987 * gdb.base/solib1.c: new file.
17988 * gdb.base/solib2.c: new file.
17989 * gdb.base/varargs.c: new file.
17990 * gdb.c++/derivation.cc: new file.
17991 * gdb.c++/overload.cc: new file.
17992 * gdb.c++/ovldbreak.cc: new file.
17993 * gdb.hp/attach.c: new file.
17994 * gdb.hp/attach2.c: new file.
17995 * gdb.hp/average.c: new file.
17996 * gdb.hp/compiler.c: new file.
17997 * gdb.hp/compiler.cc: new file.
17998 * gdb.hp/execd-program.c: new file.
17999 * gdb.hp/follow-exec.c: new file.
18000 * gdb.hp/follow-fork.c: new file.
18001 * gdb.hp/follow-vfork-and-exec.c: new file.
18002 * gdb.hp/misc-hp.cc: new file.
18003 * gdb.hp/more-steps.c: new file.
18004 * gdb.hp/optimize.c: new file.
18005 * gdb.hp/quicksort.c: new file.
18006 * gdb.hp/run-hp.c: new file.
18007 * gdb.hp/start-stop.c: new file.
18008 * gdb.hp/sum.c: new file.
18009 * gdb.hp/templates-hp.cc: new file.
18010 * gdb.hp/thread-local-in-lib.c: new file.
18011 * gdb.hp/thread-local-in-lib.h: new file.
18012 * gdb.hp/thread-local-in-lib.lib.c: new file.
18013 * gdb.hp/vforked-program.c: new file.
18014 * gdb.hp/virtfunc-hp.cc: new file.
18015 * gdb.hp/watchpoint-hp.c: new file.
18016 * gdb.hp/xdb.c: new file.
18017 * gdb.hp/xdb0.c: new file.
18018 * gdb.hp/xdb0.h: new file.
18019 * gdb.hp/xdb1.c: new file.
18020
18021 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18022
18023 The following change was made by Edith Epstein
18024 <eepstein@cygnus.com> as part of a project to merge in changes
18025 originally made by HP; HP did not create ChangeLog entries.
18026
18027 * gdb.c++/demangle.exp: changed the expected output for some
18028 ARM-style mangling -- removed second reference to datatype.
18029 For example, maint demangle __dt__11T1__pt__2_cFv
18030 T1<char>::~T1<char>(void)
18031 becomes,
18032 maint demangle __dt__11T1__pt__2_cFv
18033 T1<char>::~T1(void)
18034
18035 (test_hp_style_demangling): new hp specific demangling test cases.
18036
18037 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18038
18039 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18040 * gdb.trace/backtrace.exp: Likewise.
18041 * gdb.trace/circ.exp: Likewise.
18042 * gdb.trace/collection.exp: Likewise.
18043 * gdb.trace/deltrace.exp: Likewise.
18044 * gdb.trace/infotrace.exp: Likewise.
18045 * gdb.trace/limits.exp: Likewise.
18046 * gdb.trace/packetlen.exp: Likewise.
18047 * gdb.trace/passc-dyn.exp: Likewise.
18048 * gdb.trace/passcount.exp: Likewise.
18049 * gdb.trace/report.exp: Likewise.
18050 * gdb.trace/save-trace.exp: Likewise.
18051 * gdb.trace/tfind.exp: Likewise.
18052 * gdb.trace/tracecmd.exp: Likewise.
18053 * gdb.trace/while-dyn.exp: Likewise.
18054 * gdb.trace/while-stepping.exp: Likewise.
18055
18056 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18057
18058 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18059
18060 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18061
18062 From Brendan Kehoe:
18063 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18064 int return types.
18065
18066 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18067
18068 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18069 remote dos host testing right.
18070
18071 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18072
18073 * gdb.base/corefile.exp: remove some xfails.
18074
18075 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18076
18077 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18078 have different timestamps.
18079
18080 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18081
18082 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18083 gdb.base/default.exp: Replace "exec" with "executable".
18084
18085 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18086
18087 * gdb.base/default.exp: Change else if to elseif from previous
18088 delta.
18089
18090 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18091
18092 * gdb.base/default.exp: Add brace missing from previous delta.
18093
18094 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18095
18096 * gdb.base/default.exp: Support test for info float for all
18097 varieties of arm toolchain.
18098
18099 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18100
18101 * gdb.trace/*.exp: remove "remote_download" command.
18102
18103 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18104
18105 * gdb.trace/*.exp: remove -gdwarf from compile.
18106
18107 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18108
18109 * gdb.trace/configure.in(AC_INIT): typo
18110 * gdb.trace/configure: regenerated
18111
18112 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18113
18114 * config/m68k-emc.exp: New file.
18115 * lib/<emc-support.exp trace-support.exp}: New files.
18116 * configure.in: add new test directory gdb.trace.
18117 * gdb.trace/{configure configure.in Makefile.in}: New files.
18118 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18119 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18120 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18121 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18122 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18123 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18124 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18125
18126 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18127
18128 * gdb.c++/classes.exp: Change all regular expressions to match
18129 arbitrary combinations of newline/carriage-return, so that they
18130 will work equally well on Unix and Windows.
18131 * gdb.c++/inherit.exp: ditto.
18132 * gdb.c++/virtfunc.exp: ditto.
18133
18134 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18135
18136 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18137
18138 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18139
18140 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18141 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18142 to use a0-a3/d0-d3 as needed.
18143
18144 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18145
18146 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18147 * gdb.disasm/am33.exp: Corresponding changes.
18148
18149 1998-07-11 Felix Lee <flee@cygnus.com>
18150
18151 * gdb.base/callfuncs.exp: add cmp10 test.
18152 * gdb.base/callfuncs.c (cmp10): new function.
18153
18154 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18155
18156 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18157 into two parts to get around a synchronization problem in expect.
18158
18159 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18160
18161 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18162
18163 * configure.in: Add options for gdbtk testsuite.
18164
18165 * configure: Regenerate.
18166
18167 * gdb.gdbtk: New directory to hold gdbtk tests.
18168
18169 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18170
18171 * gdb.fortran/types.exp: Escape brackets in expect patterns
18172 for test_float_literal_types_accepted tests.
18173 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18174 before run test.
18175
18176 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18177
18178 * am33.exp: Just compile, do not link the testcase.
18179 * am33.s: Add ".am33" pseudoop to force am33 mode.
18180
18181 1998-06-25 Felix Lee <flee@cygnus.com>
18182
18183 * gdb.base/setshow.exp: make sure $pc is sane.
18184
18185 * gdb.stabs/weird.exp: split expect patterns properly.
18186
18187 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18188
18189 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18190 * gdb.disasm/am33.exp: Run it.
18191
18192 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18193
18194 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18195 match processing (and eliminate spurious timeouts when running).
18196
18197 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18198
18199 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18200 exception test, but conditionalize it on target [mach | gnu].
18201
18202 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18203
18204 * gdb.base/overlays.exp: fixup compile line for linker script.
18205
18206 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18207
18208 * gdb.fortran/types.exp: don't guess at float size.
18209
18210 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18211
18212 * gdb.base/exprs.exp: delete test that depends on int size.
18213
18214 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18215
18216 * config/sim.exp: Removed checks for target triplets.
18217 (gdb_target_sim): Use gdb,target_sim_options.
18218
18219 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18220
18221 * gdb.base/reread.exp: New file.
18222 * gdb.base/reread1.c: New file.
18223 * gdb.base/reread2.c: New file.
18224
18225 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18226
18227 * config/sim.exp: Use 'target sim -sparclite' when running
18228 SPARClite programs.
18229
18230 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18231
18232 * gdb.base/structs2.exp: New file.
18233 * gdb.base/structs2.c: New file.
18234
18235 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18236
18237 * gdb.asm/common.inc: New file.
18238 * gdb.asm/d10v.inc: New file.
18239 * asm-source.exp: Pass -I's to gas to find .inc files.
18240 Update line numbers in expected output.
18241 * asmsrc1.s: Rewrite.
18242 * asmsrc2.s: Rewrite.
18243 * configure.in: Create arch.inc symlink.
18244 * configure: Regenerate.
18245 * Makefile.in (distclean): Delete arch.inc.
18246
18247 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18248
18249 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18250 (t_enum_value2): ditto
18251 (t_enum_value3): ditto
18252 (main): ditto
18253 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18254
18255 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18256 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18257 change.
18258 Use gdb_test instead of send_gdb/gdb_expect sequences.
18259
18260 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18261
18262 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18263 not void.
18264
18265 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18266
18267 * gdb.base/branches.c: Code with lots of loops and
18268 subroutines. Used to test gdbs ability to single step through PC
18269 changes, especially to test mips-tdep.c:mips_next_pc
18270
18271 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18272
18273 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18274 more rigorous EGCS C++ error checking.
18275
18276 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18277
18278 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18279 tests.
18280 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18281 function when asleep.
18282 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18283 for i*86 Linux and SVR4 signal handling problems.
18284 Remove linux xfail for `next to handler in signals_tests_1', fixed
18285 by recent infrun.c change.
18286 Limit backtrace to 10 frames to avoid timeout problems with infinite
18287 stack backtraces.
18288 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18289 target.[ch] change.
18290
18291 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18292
18293 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18294 for a newline from gdb before continuing.
18295 (default_gdb_exit): Just look for y or n.
18296 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18297 it does, fail the rests of the tests in the file.
18298
18299 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18300
18301 * config/cygmon.exp: New file.
18302
18303 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18304
18305 * gdb.base/list.exp: Fix problem with "list default lines around
18306 main" test on remote targets.
18307
18308 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18309 run test on remote targets.
18310
18311 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18312
18313 * gdb.asm: New directory.
18314 * configure.in: Configure it.
18315 * configure: Regenerate.
18316 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18317 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18318
18319 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18320
18321 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18322
18323 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18324
18325 * gdb.base/overlays (several files): Merge the two overlay
18326 managers into one. Change variables (foox, barx, bazx, grbxx)
18327 back into ints but force them to load in their proper sections.
18328
18329 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18330
18331 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18332 on-chip insn memory and IMAP1 to upper 128k.
18333 (D10VCopy): Handle memory regions crossing 16k boundaries.
18334 (D10VCopy): Transfer data in 32 bit chunks.
18335
18336 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18337
18338 * gdb.base/overlays.c (main): Exit normally when result is
18339 correct.
18340
18341 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18342 map. Include space for printf in .text segment.
18343
18344 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18345 updated d10v memory VMA/LMA map.
18346 (D10VCopy): Call D10VTranslate.
18347
18348 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18349
18350 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18351
18352 * gdb.base/bar.c (barx, bar): Change variable to small array so
18353 that it won't be put into the .sdata - small data -
18354 section. Update reference.
18355 * gdb.base/baz.c (bazx, baz): Ditto.
18356 * gdb.base/foo.c (foox, foo): Ditto.
18357 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18358
18359 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18360 to be arrays.
18361
18362 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18363
18364 * gdb.base/overlays.exp: fix up and get working again.
18365 Add tests for backtraces from an overlay function.
18366
18367 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18368
18369 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18370 "calling function with watchpoint enabled".
18371
18372 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18373
18374 * gdb.base/break.exp (test_next_with_recursion): Remove
18375 gdb_suppress_tests for d10v-*-*.
18376 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18377 pending review of whether it is useful or not.
18378
18379 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18380
18381 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18382
18383 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18384
18385 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18386 * config/dve.exp: New file to support Densan boards.
18387
18388 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18389
18390 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18391 reads and BSD.
18392
18393 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18394
18395 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18396 response.
18397
18398 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18399
18400 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18401
18402 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18403 test.
18404
18405 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18406 target_sizeof_long and target_bigendian_p.
18407 (structs_by_value, structs_by_reference): Check values according
18408 to targets word size and endianess.
18409
18410 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18411
18412 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18413 output.
18414
18415 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18416
18417 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18418 Update test of set args help to match source change.
18419
18420 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18421
18422 * gdb.base/default.exp: Expect help system output to be in
18423 alphabetical order.
18424 * gdb.base/help.exp: Ditto.
18425
18426 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18427
18428 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18429 "i*86-pc-linux-gnu*".
18430 * gdb.base/interrupt.exp: Ditto.
18431 * gdb.base/corefile.exp: Ditto.
18432
18433 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18434 define vxworks when building the testcase.
18435
18436 * gdb.base/ptype.exp: Fix testnames to be unique.
18437 * gdb.base/radix.exp: Ditto.
18438 * gdb.base/term.exp: Ditto.
18439 * gdb.base/whatis.exp: Ditto.
18440 * gdb.c++/classes.exp: Ditto.
18441
18442 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18443
18444 * gdb.base/callfuncs.exp: Fix indentation.
18445
18446 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18447 suppress_flag has been set.
18448 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18449 target feature.
18450
18451 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18452
18453 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18454 the testcase.
18455
18456 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18457 set_debug_traps() and breakpoint().
18458 * gdb.c++/misc.cc (main): Ditto.
18459 * gdb.c++/templates.cc (main): Ditto.
18460 * gdb.c++/virtfunc.cc (main): Ditto.
18461
18462 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18463
18464 * lib/gdb.exp(gdb_step_for_stub): New function.
18465 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18466 exists, reload the executable and do a "continue" instead of
18467 doing a jump.
18468 (runto_main): Use gdb_step_for_stub.
18469
18470 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18471 tests to have unique names.
18472 * gdb.base/callfuncs.exp: Ditto.
18473 * gdb.base/commands.exp: Ditto.
18474 * gdb.base/default.exp: Ditto.
18475 * gdb.base/help.exp: Ditto.
18476 * gdb.base/list.exp: Ditto.
18477 * gdb.base/opaque.exp: Ditto.
18478 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18479 similar tests.
18480
18481 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18482 * gdb.c++/cplusfuncs.cc: Ditto.
18483 * gdb.c++/virtfunc.cc: Ditto.
18484
18485 * config/monitor.exp: Keep track of the last file we saw, rather
18486 than trying to get the info from gdb.
18487
18488 * gdb.fortran/types.exp: Move comment to previous line.
18489
18490 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18491
18492 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18493 target mode.
18494
18495 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18496
18497 From Bob Manson:
18498 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18499 string from GDB when it connects.
18500
18501 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18502
18503 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18504
18505 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18506 if we can't get a debug format from GDB (we may be testing an
18507 older GDB). Use a 10 second timeout when checking for the format.
18508
18509 * gdb.stabs/weird.exp: Fix quoting.
18510
18511 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18512
18513 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18514
18515 * config/arm-ice.exp: New file.
18516
18517 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18518
18519 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18520 until it has been modified to work with the new testsuite.
18521
18522 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18523 testcase won't compile, cause all of the testcases in the file to
18524 fail instead.
18525
18526 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18527 (gdb_clear_suppressed): New procedure.
18528 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18529 it contains a positive value.
18530
18531 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18532
18533 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18534
18535 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18536
18537 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18538
18539 * lib/gdb.exp (setup_xfail_format): New function.
18540 (get_debug_format): New function to get debug format.
18541 (debug_format): New global variable to hold last value set
18542 by get_debug_format.
18543 * gdb.base/list.exp: Call get_debug_format and expect some
18544 tests to fail for DWARF 1 and COFF formats.
18545 * gdb.c++/ptype.exp: Ditto.
18546 * gdb.c++/classes.exp: Ditto.
18547 * gdb.c++/cplusfuncs.exp: Ditto.
18548 * gdb.c++/inherit.exp: Ditto.
18549 * gdb.c++/templates.exp: Ditto.
18550 * gdb.c++/virtfunc.exp: Ditto.
18551
18552 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18553
18554 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18555 host doesn't have a currently-open connection.
18556
18557 * config/sparclet.exp: Cleanups and fixes to make it generic for
18558 any gdb stub target. Handle cases where gdb doesn't respond when
18559 interrupted in a sane fashion.
18560
18561 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18562 same thing in a totally different way.
18563
18564 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18565 setting "timeout".
18566 (gdb_start): We set the global gdb_prompt variable in
18567 default_gdb_init now.
18568
18569 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18570
18571 * gdb.base/printcmds.exp: Fix "check for floating addition"
18572 regexp to accept results within approx +/- .01 of exact value.
18573 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18574
18575 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18576
18577 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18578 properly.
18579 (gdb_expect): Add optional timeout parameter, and add timeout
18580 value to various calls.
18581 (gdb_suppress_tests): Only give one warning message per group.
18582
18583 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18584
18585 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18586 global variables. Handle getting a value for $timeout more
18587 gracefully.
18588
18589 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18590
18591 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18592 initialize.
18593 (default_gdb_init): New procedure; allow gdb_init to be overridden
18594 by a target configuration file.
18595 (gdb_expect): Pass the timeout to remote_expect.
18596
18597 * config/monitor.exp(gdb_load): Fix typo in regexp.
18598
18599 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18600
18601 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18602
18603 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18604
18605 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18606 here. Call gdb_target_exec before rebooting the target, to make
18607 sure the connection to the target is closed.
18608 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18609 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18610 Also detect "Timeout reading from remote" error.
18611
18612 * config/gdbserver.exp: Pass the executable being loaded to
18613 gdb_target_monitor. Don't call gdb_file_cmd here; let
18614 gdb_target_monitor do it.
18615
18616 * gdb.disasm/hppa.exp: Don't use exec_output.
18617
18618 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18619
18620 * gdb.base/list.exp: If we're debugging a non-native target,
18621 try to set the pc register to point to the start of the
18622 program before doing the first list command.
18623
18624 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18625 test_calls after restarting.
18626
18627 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18628 reloading.
18629
18630 * gdb.base/watchpoint.exp: Fix typo.
18631
18632 * gdb.base/setshow.exp: Check for use_gdb_stub.
18633
18634 * gdb.base/break.exp: Fix continue until exit test for the gdb
18635 stub case.
18636 * gdb.base/langs.exp: Ditto.
18637
18638 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18639 gdb_load_offset. If we weren't given a file to load, figure out
18640 what the current file is and use it.
18641
18642 * config/i386-bozo.exp: New file.
18643
18644 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18645
18646 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18647 feature.
18648
18649 * config/proelf.exp: New entry.
18650
18651 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18652
18653 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18654 of regexps.
18655
18656 * gdb.base/watchpoint.exp: Don't run the test_stepping
18657 tests if gdb can't call functions on the target.
18658
18659 * gdb.base/setshow.exp: Don't run the set prompt tests if
18660 the board has gdb_prompt set.
18661
18662 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18663
18664 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18665 * gdb.base/commands.exp: Likewise.
18666 * gdb.base/setshow.exp: Likewise.
18667
18668 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18669
18670 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18671 feature.
18672
18673 * config/i960.exp: New file.
18674
18675 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18676
18677 * gdb.base/funcargs.exp: Check for gdb,short_int target
18678 feature instead of looking for explicit target triplets.
18679
18680 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18681
18682 * gdb.base/printcmds.exp: add a couple more tests a la
18683 "p 123DEADBEEF", to check parse_number.
18684 * top.c: change "to enable to enable" to "to enable" in a couple
18685 of help strings.
18686
18687 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18688
18689 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18690 on the mn10300.
18691
18692 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18693
18694 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18695 where the test executable is run with explicit args.
18696 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18697
18698 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18699
18700 * gdb.base/run.c: Use FAKEARGV to build test executable that
18701 does not require a command line arg, since most simulators
18702 don't currently support passing such an arg into the simulated
18703 program.
18704 * gdb.base/commands.exp: Change tests to insert the proper
18705 value as the arg to the first recursive factorial call. Change
18706 compilation line to define FAKEARGV at compile time.
18707
18708 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18709
18710 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18711 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18712 function with watchpoint enabled" test.
18713
18714 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18715
18716 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18717 Don't call gdb_test when the command doesn't return to a gdb prompt.
18718
18719 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18720 "Tests restarted" messages.
18721
18722 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18723
18724 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18725
18726 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18727
18728 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18729 for INFO SYMBOL; add help tests for OVERLAY commands.
18730 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18731 add tests for OVERLAY commands
18732 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18733 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18734 * gdb.base/sigall.c: add usestubs code frag
18735 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18736
18737 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18738
18739 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18740 failures.
18741 (gdb_stop_suppressing_tests): Note that tests have restarted.
18742
18743 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18744
18745 * config/h8300.exp: New file.
18746
18747 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18748
18749 * gdb.base/setshow.exp: Check for the existence of a
18750 feature, not its value.
18751
18752 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18753
18754 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18755
18756 * gdb.base/scope.exp: It's now init0(), not init().
18757
18758 * gdb.base/scope0.c: For now, change init() to be init0().
18759
18760 * config/monitor.exp: Use gdb_serial in preference to serial
18761 or netport.
18762
18763 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18764 and it's not already set.
18765
18766 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18767
18768 * gdb.base/setshow.exp: Only test the run command if the target
18769 isn't using a stub and if it supports argument passing.
18770
18771 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18772
18773 * config/udi.exp(gdb_start): Make sure UDICONF is set
18774 properly before starting gdb.
18775
18776 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18777
18778 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18779 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18780 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18781
18782 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18783
18784 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18785 specialized code to reboot the board, use remote_reboot instead.
18786
18787 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18788
18789 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18790
18791 * config/monitor.exp: Make sure we disconnect from the target.
18792 Also, try a reboot/reload cycle instead of failing if the
18793 load fails.
18794
18795 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18796
18797 * gdb.base/default.exp: Don't set match_max.
18798 * gdb.base/help.exp: Ditto.
18799 * gdb.base/list.exp: Ditto.
18800 * gdb.base/signals.exp: Ditto.
18801
18802 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18803 set, use remote_ld to download the testcase instead of
18804 the GDB loader.
18805
18806 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18807
18808 * config/vr5000.exp: New file.
18809
18810 * config/monitor.exp(gdb_target_monitor): Add pattern for
18811 "Ending remote" to detect errors in connecting.
18812
18813 * gdb.base/setshow.exp: Add .* within auto language test.
18814
18815 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18816 target feature.
18817
18818 * config/monitor.exp(gdb_load): Check for a failure when loading,
18819 and reboot the board if necessary.
18820
18821 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18822 a set of tests. Remove print.* from the patterns being checked.
18823
18824 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18825
18826 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18827 refer to gdb_spawn_id.
18828
18829 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18830 longer used.
18831 * config/sparclet.exp: Ditto.
18832 * config/sparclet-old.exp: Ditto.
18833 * config/slite.exp: Ditto.
18834 * config/sim.exp: Ditto.
18835 * gdb.base/funcargs.exp: Ditto.
18836
18837 * lib/gdb.exp:Remove references to gdb_spawn_id.
18838 (gdb_expect): Move to remote.exp.
18839
18840 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18841
18842 * config/monitor.exp: Detect the "Couldn't establish connection"
18843 message from GDB.
18844
18845 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18846
18847 * gdb.base/bitfields.exp: Use runto instead of explicit
18848 gdb_run_cmd/gdb_expect sequences.
18849
18850 * gdb.base/break.exp(text_next_with_recursion): Add match for
18851 gdb_expect call.
18852
18853 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18854 We also need to handle the "A program is being debugged already"
18855 prompt from gdb. Use gdb_test to set the baud rate.
18856
18857 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18858 to 20000. Really. I mean it.
18859
18860 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18861
18862 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18863 fails. If suppress_flag is set, skip perror message about not
18864 being able to send to GDB.
18865 (send_gdb): If suppress_flag is set, don't try to send commands to
18866 GDB.
18867 (gdb_expect): If suppress_flag is set, always fail immediately.
18868 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18869 (gdb_init): Call gdb_stop_suppressing_tests.
18870 (default_gdb_exit): Ditto.
18871 (default_gdb_start): Ditto.
18872
18873 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18874 gdb_stop_suppressing_tests as appropriate.
18875 * gdb.base/break.exp: Ditto.
18876 * gdb.base/callfuncs.exp: Ditto.
18877 * gdb.base/commands.exp: Ditto.
18878 * gdb.base/exprs.exp: Ditto.
18879 * gdb.base/funcargs.exp: Ditto.
18880 * gdb.base/list.exp: Ditto.
18881 * gdb.base/recurse.exp: Ditto.
18882 * gdb.base/scope.exp: Ditto.
18883 * gdb.base/structs.exp: Ditto.
18884 * gdb.c++/inherit.exp: Ditto.
18885
18886 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18887
18888 * config/vr4300.exp: New file.
18889
18890 * gdb.*/*.exp: Call gdb_expect instead of expect.
18891
18892 * lib/gdb.exp(gdb_expect): New function.
18893
18894 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18895
18896 * lib/gdb.exp(gdb_init): New function.
18897
18898 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18899 for each individual variable set.
18900
18901 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18902 name.
18903
18904 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18905
18906 * gdb.base/scope.exp: Use gdb_test.
18907
18908 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18909 aborting; the testsuite driver will do that for us (see
18910 gdb_finish). Also, use gdb_test in a few more places.
18911
18912 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18913
18914 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18915
18916 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18917
18918 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18919 and "add_tests" are not at the same address.
18920
18921 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18922
18923 * gdb.base/ptype.exp: Use gdb_test.
18924
18925 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18926
18927 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18928 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18929 left in. No longer expect them to fail.
18930
18931 * gdb.stabs/*.mt; Deleted, no longer used.
18932 * gdb.stabs/configure.in: Remove references to target makefile
18933 frags.
18934 * gdb.stabs/configure: Rebuilt.
18935
18936 * gdb.disasm/*.mt: Deleted, no longer used.
18937 * gdb.disasm/configure.in: Remove references to target makefile
18938 frags. Use "sh3.s" as the unique filename for this directory.
18939 * gdb.disasm/configure: Rebuilt.
18940
18941 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18942 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18943 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18944
18945 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18946
18947 * config/udi.exp: Use mondfe,name instead of remote_host.
18948
18949 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18950
18951 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18952 a function with a watchpoint enabled on the mn10200.
18953
18954 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18955 before trying to create it!
18956
18957 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18958
18959 * config/vx.exp: Use hostname instead of netport.
18960
18961 * config/vxworks.exp: New file.
18962
18963 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18964
18965 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18966 gdb before assuming everything worked. Send a ^C if a timeout
18967 occurs.
18968
18969 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18970 $gdb_spawn_id directly.
18971 (gdb_run_cmd): Try _start as well as start. Use the target feature
18972 gdb,start_symbol as the symbol to start from when jumping.
18973
18974 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18975
18976 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18977 redundant) test.
18978
18979 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18980 it doesn't lose for 16bit integer systems.
18981
18982 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18983
18984 * gdb.fortran/types.exp: If the target doesn't support "double"
18985 data types, then expect "real" types to only be 4 bytes.
18986
18987 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18988 call tests if the target doesn't support inferior function calls.
18989
18990 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18991 in printf tests.
18992
18993 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18994
18995 * gdb.base/help.exp: Disable "help set", "help show", and
18996 "help support". Simplify regexp for "help stack".
18997
18998 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18999 to 60 seconds. Temporarily set match_max to 15000 around the
19000 "info copying" test.
19001
19002 * gdb.base/nodebug.exp: Don't try to do an inferior function
19003 call if the target doesn't support them.
19004 * gdb.base/printcmds.exp: Likewise.
19005 * gdb.base/setvar.exp: Likewise.
19006 * gdb.base/structs.exp: Likewise.
19007 * gdb.c++/templates.exp: Likewise.
19008 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19009
19010 * gdb.base/recurse.exp: Enable for the mn10200.
19011
19012 * configure.in: Do configure gdb.stabs directory for *-*-elf
19013 targets.
19014 * configure: Rebuilt.
19015
19016 * gdb.base/break.exp: Check for gdb,noresults before testing
19017 exit status and/or results from the target.
19018 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19019 * lib/gdb.exp: Remove old (now bogus) initialization of
19020 noinferior, noargs, noresults and nosignals.
19021
19022 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19023
19024 * config/sh.exp: New file.
19025
19026 * config/slite.exp: Try to connect multiple times to the board
19027 before rebooting. Only send a "monitor run" if need_monitor_run
19028 is set.
19029
19030 * gdb.base/break.exp: Don't do the "stub continue" test if
19031 the target has gdb_stub set.
19032
19033 * gdb.base/callfuncs.exp: Increase the timeout.
19034
19035 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19036 if the target has gdb,noinferiorio set.
19037
19038 * gdb.base/list.exp: Increase match_max to 10000 characters.
19039
19040 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19041
19042 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19043 target.
19044
19045 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19046
19047 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19048
19049 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19050 trying to delete the copy of gdb. Catch the file delete so we
19051 don't die if the delete fails; also, the file should be copied to
19052 the host, not to the build.
19053
19054 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19055
19056 * lib/gdb.exp(gdb_test): Surround the result pattern with
19057 parenthesis in case it contains multiple regexps separated
19058 with |.
19059
19060 * gdb.base/watchpoint.exp: Use gdb_test.
19061 * gdb.base/default.exp: Ditto.
19062
19063 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19064
19065 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19066
19067 * gdb.base/scope.exp: Use gdb_test.
19068 * gdb.c++/classes.exp: Ditto.
19069 * gdb.c++/inherit.exp: Ditto.
19070
19071 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19072
19073 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19074 remote_exec instead.
19075 * gdb.base/corefile.exp: Don't be ridiculous.
19076 * gdb.base/*.c: Add missing stub invocations.
19077
19078 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19079
19080 * config/slite.exp: Miscellaneous fixes.
19081
19082 * lib/gdb.exp: Fix runto.
19083
19084 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19085 the target.
19086
19087 * gdb.base/watchpoint.exp: Fix regexp.
19088
19089 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19090 close and wait commands, as the descriptor may now be
19091 invalid. Always call "remote_close host".
19092
19093 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19094
19095 Major rewrite for testsuite revision.
19096
19097 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19098 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19099 instead of relying on spawn_id to always contain a valid
19100 spawn id.
19101 (get_compiler_info): New procedure to build the ${binfile}.ci
19102 file, instead of replicating this in N different places.
19103 (gdb_compile): New procedure.
19104
19105 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19106 appropriate arguments) instead of compile. Use gdb_test in a lot
19107 more places. Use send_gdb instead of send. Always run gdb_start
19108 at the start of a testcase, as this is no longer done magically.
19109
19110 config/*-gdb.exp: Rename without the -gdb suffix.
19111
19112 config/mips.exp: Use remote_close instead of exit_remote_shell.
19113 config/monitor.exp: Use target_info instead of looking at
19114 baud, timeout, etc.
19115 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19116
19117 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19118
19119 * gdb.c++/templates.exp (test_ptype_of_templates),
19120 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19121 Update expect patterns for destructors and assignment operators
19122 to match corresponding c-typeprint.c changes.
19123 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19124 to destructor breakpoint test, GDB should be able to set the
19125 destructor breakpoint without specifying arguments.
19126
19127 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19128
19129 * gdb.threads/pthreads.exp: Change result for failure to compile due
19130 to lack of pthreads runtime support from an error to simply an
19131 unsupported test, per dejagnu standards.
19132
19133 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19134
19135 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19136 where GDB exits to reduce pattern match time.
19137 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19138
19139 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19140
19141 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19142
19143 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19144 * gdb.base/default.exp: ditto.
19145 * gdb.base/nodebug.exp: ditto.
19146 * gdb.base/printcmds.exp: ditto.
19147 * gdb.base/ptype.exp: ditto.
19148 * gdb.base/setvar.exp: ditto.
19149 * gdb.base/structs.exp: ditto.
19150 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19151
19152 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19153
19154 * configure, */configure: Rebuild with autoconf 2.12.
19155
19156 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19157
19158 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19159 use new i*86-pc-linux*-gnu quads.
19160 * gdb.base/corefile.exp: Ditto.
19161 * gdb.base/signals.exp: Ditto.
19162 * gdb.base/sigall.exp: Ditto.
19163 * gdb.base/interrupt.exp: Ditto.
19164
19165 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19166 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19167 RedHat 4.0.
19168
19169 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19170 linux. This allows the test case to at least compile on latest
19171 linux, but still not run due to missing the threads runtime library.
19172
19173 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19174
19175 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19176 directory to search gdb directory. Accept and step over conditional
19177 stack alignment code. Consume $prompt in failure cases.
19178 Reset timeout to $oldtimeout instead of some arbitrary value.
19179 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19180 timeout problems with infinite stack backtraces.
19181 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19182 Accept function parameters for linkfunc member.
19183
19184 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19185
19186 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19187 (CXXFLAGS): Remove, unreferenced.
19188 (B_OPTIONS): Add for -B options and add code to initialize with
19189 previous -B options and also add -B option to pick up cross compiled
19190 runtime.
19191 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19192 doing cross compiles.
19193 (target_alias): Declare global.
19194 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19195 to verify that gcc exists in build tree, and if so set CC to that
19196 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19197
19198 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19199
19200 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19201 ptype test for anonymous union. Fixup testcase to match
19202 current gcc debug output.
19203
19204 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19205
19206 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19207 force argument to an unsigned long type.
19208
19209 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19210
19211 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19212 tests and anonymous union print/ptype tests.
19213 * gdb.base/list.exp (test_forward-search): Increase timeout by
19214 5 minutes for the "search extremely long line" case.
19215 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19216 completely optional and that the pass/fail messages use the command as
19217 the message if that third arg is a null string.
19218 (gdb_test_exact): Arrange that a null string pattern means match a
19219 null string output rather than any output, which might include random
19220 errors.
19221 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19222 backtrace test.
19223 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19224 always failing and failure is now exposed by gdb.exp changes.
19225
19226 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19227
19228 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19229 weren't being noted.
19230
19231 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19232
19233 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19234 * gdb.stabs/weird.exp: Remove v_comb xfails.
19235
19236 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19237
19238 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19239 list.exp scope.exp watchpoint.exp]
19240 Make all timeout error msgs explicitly say "(timeout)".
19241
19242 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19243
19244 * config/monitor.exp: Increase download timeout to 1000 seconds.
19245
19246 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19247
19248 * config/m32r.exp: Increase timeout to 120 seconds.
19249
19250 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19251
19252 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19253 and accept older ordering as obsolescent gcc or gdb.
19254 * gdb.c++/templates.exp: Ditto.
19255 * gdb.c++/virtfunc.exp: Ditto.
19256
19257 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19258
19259 * gdb.base/coremaker.c: Add code to mmap some data so we
19260 can check that it ends up in the core file.
19261 * gdb.base/corefile.exp: Add test to read mmapped data
19262 from core file.
19263
19264 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19265
19266 * config/m32r.exp: New file.
19267
19268 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19269
19270 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19271 that cflags can contains -gstabs, and work correctly for other tests.
19272
19273 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19274
19275 * gdb.base/setshow.exp: New file, tests show and set.
19276 * gdb.base/setshow.c: New file, tests show and set.
19277 * gdb.base/help.exp: Add test for help set|show annotate.
19278 * gdb.base/default.exp: Add test for set|show annotate.
19279
19280 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19281
19282 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19283 errors unique.
19284 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19285 explicitly.
19286
19287 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19288
19289 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19290 and width commands. This is done elsewhere.
19291 * (gdb_start): Don't call gdb_start_sim here. That's already
19292 done in gdb_load. This fixes lots of failures in default.exp.
19293
19294 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19295
19296 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19297 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19298 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19299 in the same we we treat other failures (since it may be an expected
19300 condition), rather than as an error.
19301 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19302 old test format.
19303
19304 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19305
19306 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19307 (distclean maintainer-clean realclean): No need to remove files
19308 twice. Nuke the duplicates.
19309 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19310 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19311 Remove config.h along with other config files.
19312
19313 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19314
19315 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19316 "p func1 ()" and note that rests of tests are skipped.
19317 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19318 setup_xfails for "print func2::coremaker_local".
19319 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19320 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19321 affected by the previous run test.
19322 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19323 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19324 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19325 "pass int powerset tuple" and "pass modeless int powerset tuple".
19326 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19327 "real write 4" and "real write 8".
19328 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19329 setup_xfails for "print vs1 after tuple assign 2",
19330 "print \$i after tuple assign 2", and
19331 "print vs2 after tuple assign 2".
19332 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19333 meaningful error message and return -1 so the caller can
19334 suppress further tests and avoid a cascade of errors.
19335
19336 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19337
19338 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19339 format for printing version.
19340 * gdb.base/default.exp: Ditto.
19341 * gdb.base/interrupt.exp: Fix problem with cascade of
19342 errors if child process dies while calling a function.
19343
19344 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19345
19346 * Makefile.in (VPATH): Add
19347 * Makefile.in (Makefile, config.status): Fix rules so things get
19348 remade when necessary.
19349
19350 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19351
19352 * Makefile.in (just-check): Add path to sibling expect dir
19353 to environment variable specified by RPATH_ENVVAR.
19354
19355 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19356
19357 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19358 (just-check): Add shared library paths for libstdc++, tk,
19359 tcl, bfd, and opcodes to the environment variable specified
19360 in RPATH_ENVVAR.
19361 * configure.in: Add support to recognize --enable-shared flag
19362 and generate correct value for RPATH_ENVVAR.
19363 * configure: Regenerated with autoconf.
19364
19365 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19366
19367 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19368 include all osf versions.
19369 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19370 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19371 when target is linux. When failing to build pthreads test
19372 executable, give more meaningful message.
19373 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19374 arg for pthread_create.
19375
19376 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19377
19378 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19379 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19380 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19381 and -lpthreads (everybody else).
19382 (test_startup): Fail gracefully if threads are not supported.
19383 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19384 "p/c array_index("abcdef",2)" when not gcc compiled.
19385 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19386 "print func2::coremaker_local" when not gcc compiled.
19387 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19388 "ptype on opaque struct tagname (statically)",
19389 "ptype on opaque struct tagname (dynamically) 1", and
19390 "ptype on opaque struct tagname (dynamically) 2"
19391 for not compiled with gcc.
19392 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19393 backtrace when compiled with gcc.
19394 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19395 than always return success.
19396
19397 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19398
19399 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19400
19401 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19402
19403 * gdb.base/structs.exp: Undo last change.
19404
19405 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19406
19407 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19408 encapsulate all the steps/nexts done during self test, starting
19409 at main, and makes them less sensitive to optimization issues.
19410 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19411 signal handler" test.
19412 * gdb.threads/pthreads.exp: Only run this for native configs.
19413 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19414 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19415 tests.
19416 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19417 for "runto test_calls(void)" test.
19418
19419 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19420
19421 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19422 and don't expect address info in breakpoint confirmations.
19423
19424 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19425
19426 * gdb.base/list.exp (test_forward_search): Increase timeout
19427 temporarily by 60 seconds for searching extremely long line,
19428 and then reset to old value when done. Increase expect input
19429 buffer to 10000.
19430
19431 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19432
19433 * gdb.base/list.exp (test_forward_search): Fix to handle very
19434 long source line without overflowing expect's input buffer.
19435
19436 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19437
19438 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19439 "buffer_full".
19440
19441 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19442 "buffer_full".
19443
19444 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19445 "buffer_full".
19446
19447 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19448 "buffer_full".
19449
19450 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19451
19452 * configure.in (configdirs): Add gdb.threads.
19453 * configure: Regenerated with autoconf.
19454 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19455 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19456 * gdb.threads/configure: New, generated with autoconf.
19457
19458 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19459
19460 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19461
19462 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19463
19464 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19465 each signal's status in the output of "handle all print".
19466 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19467 the \r\n sequence that immediately precedes the gdb prompt.
19468 * gdb.base/a1-selftest.exp: Save original timeout and restore
19469 after test.
19470
19471 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19472
19473 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19474 symbol.
19475
19476 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19477
19478 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19479
19480 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19481
19482 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19483 timeout by 60 seconds.
19484
19485 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19486
19487 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19488 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19489 error return.
19490
19491 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19492
19493 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19494 gdb initialization, also report how long dejagnu waited. Restore
19495 old timeout before doing error return. Temporarily increase timeout
19496 by 3 minutes to allow for slow startups over heavy NFS use.
19497
19498 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19499
19500 * lib/gdb.exp: Report timeout value for verbosity level 2.
19501 * config/gdbserver.exp: Ditto.
19502 * config/hppro.exp: Ditto.
19503 * config/mips-gdb.exp: Ditto.
19504 * config/monitor.exp: Ditto.
19505 * config/netware.exp: Ditto.
19506 * config/sim-gdb.exp: Ditto.
19507 * config/slite-gdb.exp: Ditto.
19508 * config/udi-gdb.exp: Ditto.
19509 * config/unix-gdb.exp: Ditto.
19510 * config/vx-gdb.exp: Ditto.
19511 * gdb.base/a1-selftest.exp: Ditto.
19512 * gdb.base/a2-run.exp: Ditto.
19513 * gdb.base/break.exp: Ditto.
19514 * gdb.base/corefile.exp: Ditto.
19515 * gdb.base/list.exp: Ditto.
19516 * gdb.base/recurse.exp: Ditto.
19517 * gdb.base/scope.exp: Ditto.
19518 * gdb.base/signals.exp: Ditto.
19519
19520 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19521
19522 * gdb.threads/Makefile.in (docdir): Removed.
19523
19524 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19525
19526 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19527 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19528 @srcdir@.
19529 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19530 autoconf 2.5 or higher.
19531 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19532
19533 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19534
19535 * configure: Regenerated.
19536 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19537 avoid name clashes with SunOS headers.
19538
19539 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19540
19541 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19542
19543 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19544
19545 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19546 prototype information ends up in the compiler info file.
19547
19548 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19549
19550 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19551 attempting to regenerate it. Eliminate use of a temporary file
19552 and just generate the info file directly. Source it immediately,
19553 for consistency of use.
19554 * gdb.base/corefile.exp: Ditto
19555 * gdb.base/exprs.exp: Ditto.
19556 * gdb.base/funcargs.exp: Ditto.
19557 * gdb.base/langs.exp: Ditto.
19558 * gdb.base/list.exp: Ditto.
19559 * gdb.base/mips_pro.exp: Ditto.
19560 * gdb.base/nodebug.exp: Ditto.
19561 * gdb.base/opaque.exp: Ditto.
19562 * gdb.base/ptype.exp: Ditto.
19563 * gdb.base/scope.exp: Ditto.
19564 * gdb.base/setvar.exp: Ditto.
19565 * gdb.base/signals.exp: Ditto.
19566 * gdb.base/whatis.exp: Ditto.
19567 * gdb.c++/templates.exp: Ditto.
19568 * gdb.c++/virtfunc.exp: Ditto.
19569 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19570 whether or not to add -lstdc++ to the compile command line args.
19571
19572 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19573
19574 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19575 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19576 Increase timeout, a lot of single stepping might be needed if the
19577 target has no hardware watchpoints.
19578
19579 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19580
19581 * gdb.base/break.exp: Ignore compiler warnings when compiling
19582 break.c.
19583 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19584 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19585 from remote-sim.
19586 * gdb.base/exprs.exp: Add h8300 xfails.
19587 * gdb.base/funcargs.exp: Likewise.
19588 * gdb.base/nodebug.exp: Likewise.
19589 * gdb.base/printcmds.exp: Likewise.
19590 * gdb.base/ptype.exp: Likewise.
19591 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19592 h8300 xfails.
19593 * gdb.base/return.exp: Handle float/double precision problems
19594 on the h8300.
19595 * gdb.base/funcargs.c: Explicitly make last constant argument to
19596 call_after_alloca_subr an unsigned long type.
19597 * gdb.base/return.c: Include stdio.h.
19598
19599 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19600
19601 * config/abug.exp: New file for the older Motorola Bug monitor
19602 that runs on the mvme13x series VME boards.
19603 * config/monitor.exp: Use the new config array for target settings
19604 if they exist.
19605
19606 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19607
19608 * sim-gdb.exp: Make the SH simulator allocate less space when
19609 it is targeted.
19610
19611 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19612
19613 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19614 test.
19615
19616 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19617
19618 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19619 "rs6000-*-*" for "list function in include file" when gcc compiled.
19620 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19621 for "p ctable1[120]".
19622 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19623 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19624 Remove setup_xfail for "rs6000-*-*" for
19625 "print 'scope0.c'::filelocal before run".
19626 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19627 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19628 since some compilers don't allow both options to be given
19629 on the same command line. Create object file and move it.
19630
19631 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19632
19633 * gdb.base/corefile.exp: Always regenerate the core file, since
19634 we always regenerate the coremaker program. Detect special case
19635 where registers cannot be read from core file.
19636
19637 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19638
19639 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19640 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19641 * gdb.c++/templates.exp: Only match on basename of file since
19642 some formats like xcoff don't encode directory information.
19643 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19644 and rs6000 AIX xcoff targets.
19645 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19646 * configure: Regenerate.
19647 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19648 here, rather than in distclean.
19649
19650 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19651
19652 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19653 defined, and use it to compile the test case with -O2. The
19654 native compilation still uses no optimization.
19655 * gdb.base/mips_pro.c: Remove inline assembly code since
19656 it is compiled PIC by default, which results in assembler
19657 warnings that make the testsuite think the compilation
19658 was unsuccessful.
19659
19660 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19661
19662 * gdb.c++/misc.exp: Add note to message for
19663 "print s.a for foo struct" that this is a known gcc 2.7.2
19664 and earlier bug.
19665
19666 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19667
19668 * gdb.base/break.exp: Fix pattern for matching "Delete all
19669 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19670 setup_xfail for deleting all breakpoints test. Fix various
19671 timeout messages to include "(timeout)".
19672 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19673 for "p t_float_values2(3.14159,float_val2)".
19674 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19675 for "continue to call2g" when gcc compiled.
19676 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19677 "up to foo in langs.exp", "show language at foo in langs.exp",
19678 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19679 and "show language at fsub in langs.exp".
19680 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19681 "list line 1 in include file", "list message for lines past EOF",
19682 "list function in include file", "list list0.h:foo", and
19683 "list filename:function; nonexistant function".
19684 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19685 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19686 and "ptype t_char_array" to be for native cc only.
19687
19688 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19689
19690 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19691 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19692 "print func2::coremaker_local", and "backtrace in corefile.exp".
19693
19694 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19695
19696 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19697 "bt in signals.exp". This problem only appears when running
19698 the testsuite, and then only intermittently.
19699
19700 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19701
19702 * gdb.base/return.exp (return_tests): Differentiate between
19703 two tests of continuing.
19704
19705 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19706
19707 * */Makefile.in (maintainer-clean): Remove config.log.
19708 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19709 * gdb.c++/Makefile.in (PROGS): Add inherit.
19710 (clean): Remove *.ci.
19711
19712 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19713
19714 * gdb.c++/misc.cc: Add test code from Mike Stump.
19715 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19716
19717 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19718
19719 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19720 to "alpha-*-osf2*" and add comment.
19721 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19722 setup_xfail for "step over execarg initialization" and
19723 "step over corearg initialization".
19724 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19725 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19726 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19727 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19728 "print func2::coremaker_local", and "backtrace in corefile.exp".
19729 * gdb.base/signals.exp: Build and source signals.ci.
19730 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19731 to be for gcc only.
19732 * lib/gdb.exp: Move verbose statements outside conditionals.
19733
19734 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19735
19736 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19737 Feb 3 procfs.c change.
19738
19739 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19740
19741 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19742
19743 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19744
19745 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19746 from dejagnu's apparent default of 10 seconds, which gives random
19747 results when running the tests over NFS on moderately loaded systems.
19748 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19749
19750 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19751
19752 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19753 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19754 result reports.
19755
19756 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19757
19758 * configure.in (CY_AC_PATH_TCLH): Remove.
19759 * configure: Regenerate.
19760
19761 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19762
19763 * gdb.c++/Makefile.in (clean): Add missing '{'.
19764
19765 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19766
19767 * lib/gdb.exp: Provide a default value for noinferior.
19768
19769 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19770 Load libgloss.exp.
19771
19772 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19773
19774 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19775 the executable, not the .o to run the tests from.
19776
19777 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19778
19779 * gdb.base/break.exp: Don't test for program exit or exit status
19780 if $noresults if nonzero.
19781 * gdb.base/langs.exp: Likewise.
19782 * gdb.base/watchpoint.exp: Likewise.
19783
19784 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19785 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19786 trying to compile the testcase.
19787
19788 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19789
19790 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19791 * gdb.base/signals.exp (continue to handler): Likewise.
19792
19793 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19794
19795 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19796
19797 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19798
19799 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19800
19801 * gdb.base/corefile.exp: Recognize "not found" as failure
19802 when trying to determine if a core file was generated.
19803 If no core file was generate the first time, try again without
19804 the ulimit -c to work around braindamaged shells.
19805
19806 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19807
19808 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19809 [] tests with "test" and enclose string in quotes.
19810 * gdb.stabs/configure: Rebuild
19811
19812 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19813
19814 Changes in sync with expect:
19815 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19816 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19817 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19818 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19819 argument to AC_REQUIRE.
19820 * configure: Regenerated.
19821
19822 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19823
19824 * gdb.base/corefile.exp: When generating a core, discard any
19825 error messages about ulimit not found and the "core dumped"
19826 message from the shell that runs the coredumper.
19827
19828 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19829
19830 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19831
19832 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19833 which sed script to run. Expect failure for v_comb test
19834 on PA targets too.
19835
19836 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19837
19838 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19839 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19840
19841 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19842
19843 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19844 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19845 "sparc-sun-solaris*" xfails for "p v_comb".
19846 * lib/gdb.exp (default_gdb_start): Fix typo.
19847 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19848 messages to not include the full program name that caused
19849 the core dump since some systems (such as solaris) apparently
19850 truncate this path to about 80 characters.
19851 When generating a core file first try increasing the core file
19852 size limit to unlimited since some systems may default it to
19853 zero, and it is harmless to try it. Move the test for failing
19854 to generate a core file to where it will actually get executed.
19855 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19856 new gdb result from g++ debug info improvements and make old
19857 pattern obsolescent. Also account for size_t differences
19858 (may be int or long).
19859 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19860 initialization before function call is placed in the delay slot
19861 and thus appears to be skipped over by commands such as "next".
19862
19863 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19864
19865 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19866
19867 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19868
19869 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19870 input source file; fix code to compile test to deal with this
19871 convention.
19872 * gdb.c++/*.exp: Likewise.
19873
19874 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19875
19876 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19877 "bt in signals.exp".
19878
19879 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19880
19881 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19882 "step over execarg initialization" and
19883 "step over corearg initialization".
19884
19885 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19886
19887 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19888 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19889
19890 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19891
19892 From Rob Savoye (rob@poseidon.cygnus.com)
19893 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19894 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19895 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19896 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19897 configure.in}: Major reworking for autoconfig.
19898 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19899 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19900 New files.
19901 * config/unix-gdb.exp: Make GDB global.
19902 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19903 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19904 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19905 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19906 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19907 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19908 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19909 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19910 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19911 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19912 pr-8136.exp, result.exp, string.exp, tuples.exp},
19913 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19914 to returns as necessary, arrange for test to compile own testcase
19915 executable.
19916 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19917
19918 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19919
19920 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19921 clear_xfail at end of test which might not call either pass or fail.
19922 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19923 "backtrace through signal handler".
19924
19925 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19926
19927 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19928 continuing from a job control stop signal.
19929 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19930
19931 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19932
19933 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19934 * gdb.base/corefile.exp: Likewise.
19935 * gdb.base/funcargs.exp: Likewise.
19936
19937 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19938
19939 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19940 * config/monitor.exp: Add support for setting baud rate.
19941
19942 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19943
19944 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19945 i*86-*-linux* xfails for "backtrace through signal handler".
19946 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19947 "print func2::coremaker_local".
19948 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19949 alpha-dec-osf2* xfail for
19950 "delete all breakpoints when none".
19951
19952 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19953
19954 * gdb.base/break.exp: Change test that deletes all breakpoints
19955 when no user breakpoints are installed. A post 4.15 change
19956 causes gdb to no longer prompt in this case.
19957
19958 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19959
19960 * gdb.base/return.exp (return_tests): Change xfail for test
19961 "correct value returned double test" to stop xfailing at
19962 Solaris 2.5. Apparently the bug has been fixed.
19963
19964 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19965
19966 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19967 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19968
19969 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19970
19971 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19972 * gdb.disasm/hppa.s: Corresponding changes.
19973
19974 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19975
19976 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19977 makefile fragment.
19978 * config/mt-hpux: Deleted.
19979
19980 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19981
19982 * Many files: When warning about suppressed tests due to a
19983 nonexistant test binary, avoid incrementing the warning count.
19984
19985 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19986
19987 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19988
19989 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19990
19991 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19992 "sparc-*-solaris2*".
19993
19994 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19995
19996 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19997 Add global and local variables and initialize them.
19998 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19999 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20000 extracts the file name and terminating signal from the core file.
20001 * TODO: Remove note about tests for correct mapping of corefile.
20002 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20003 from optimizing it away.
20004 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20005 handles common blocks.
20006
20007 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20008
20009 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20010 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20011
20012 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20013
20014 * Makefile.in (maintainer-clean): New target, synonym for
20015 realclean.
20016 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20017 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20018 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20019 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20020 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20021 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20022
20023 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20024
20025 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20026 xfails when not gcc compiled for "print foo::funclocal".
20027 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20028 "print foo::funclocal at foo",
20029 "print 'scope1.c'::foo::funclocal at foo",
20030 "print foo::funclocal_bss at foo",
20031 "print 'scope1.c'::foo::funclocal_bss at foo",
20032 "print foo::funclocal_ro at foo",
20033 "print 'scope1.c'::foo::funclocal_ro at foo",
20034 "print bar::funclocal at foo" and
20035 "print 'scope1.c'::bar::funclocal at foo".
20036 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20037 gcc compiled for "print foo::funclocal at bar".
20038 Expand all messages to ensure that they identify that
20039 the test is at bar().
20040 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20041 gcc compiled for:
20042 "ptype on opaque struct pointer (statically)",
20043 "ptype on opaque struct tagname (statically)",
20044 "ptype on opaque struct pointer (dynamically) 1",
20045 "ptype on opaque struct tagname (dynamically) 1",
20046 "ptype on opaque struct pointer (dynamically) 2" and
20047 "ptype on opaque struct tagname (dynamically) 2
20048 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20049 gcc compiled for:
20050 "p datalocal"
20051 "whatis datalocal",
20052 "ptype datalocal",
20053 "p bsslocal",
20054 "whatis bsslocal", and
20055 "ptype bsslocal".
20056 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20057 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20058 when not gcc compiled.
20059 * gdb.base/funcargs.exp (float_and_integral_args): Add
20060 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20061 compiled.
20062 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20063 "backtrace from call6a" when not gcc compiled.
20064 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20065 "backtrace from call7a" when not gcc compiled.
20066 * gdb.base/callfuncs.exp (do_function_calls):
20067 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20068 "p t_char_array_values(char_array_val2,char_array_val1)",
20069 "p t_char_array_values(char_array_val1,char_array_val2)",
20070 "p t_char_array_values("carray 1","carray 2")",
20071 "p t_char_array_values("carray 1",char_array_val2)",
20072 "p t_char_array_values(char_array_val1,"carray 2")",
20073 "p sum_args(1,{2})",
20074 "p sum_args(2,{2,3})",
20075 "p sum_args(3,{2,3,4})",
20076 "p sum_args(4,{2,3,4,5})"
20077 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20078 "backtrace in corefile.exp" when not gcc compiled.
20079
20080 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20081
20082 * gdb.base/signals.exp: Rewrite `handle all print' test as
20083 a procedure. Accept blanks or TABs as whitespace, increase
20084 timeout and expect input buffer size for the large output
20085 from the command. Remove "i*86-*-bsdi2.0" xfail.
20086
20087 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20088
20089 * gdb.base/setvar.exp: Add new testcases for truncation when
20090 assigning invalid values to bitfields.
20091
20092 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20093
20094 * gdb.base/callfuncs.exp (do_function_calls): Remove
20095 mips-sgi-irix* xfail for
20096 "call inferior func with struct - returns char *"
20097 and fix test so that an optional (unsigned char *) cast is
20098 accepted in the result.
20099
20100 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20101
20102 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20103 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20104 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20105 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20106 that accidentally got checked in.
20107
20108 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20109
20110 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20111 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20112 compiled test.
20113 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20114 Add mips-sgi-irix5* xfail for not gcc compiled.
20115 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20116 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20117 "p top", "whatis top", "p middle", and "whatis middle".
20118 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20119 "whatis signed char" for not gcc compiled.
20120 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20121 "set variable signed char=-1 (-1)" and
20122 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20123 * gdb.base/funcargs.exp (float_and_integral_args):
20124 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20125 Add mips-sgi-irix* xfail when not gcc compiled for
20126 "continue to call2b".
20127 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20128 "continue to call2g".
20129 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20130 "backtrace from call6a"
20131 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20132 "backtrace from call7k".
20133 Add mips-sgi-irix5* xfail when not gcc compiled for
20134 "backtrace from call7a".
20135 (localvars_after_alloca): Fix gdb_test cmds for
20136 "print * after runto ...".
20137 Remove rs6000-*-* xfails for
20138 "print i after runto localvars_after_alloca" and
20139 "print l after runto localvars_after_alloca"
20140 for all compilers.
20141 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20142 when not compiled with gcc, for:
20143 "print signed char == (minus)",
20144 "print signed char != (minus)",
20145 "print signed char < (minus)",
20146 "print signed char > (minus)".
20147 * gdb.base/callfuncs.exp (do_function_calls):
20148 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20149 "call inferior func with struct - returns char *".
20150 * gdb.base/return.exp (return_tests): Change xfail for
20151 "correct value returned double test" to include Solaris 2.4.
20152 * gdb.base/funcargs.exp (float_and_integral_args):
20153 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20154
20155 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20156
20157 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20158 enumeration bitfields if compiling with GNU C.
20159 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20160 to empty' prompt.
20161
20162 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20163
20164 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20165 test for PRO targets.
20166
20167 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20168 breakpoints in the inferior at any given time by making
20169 two groups of breakpoints for call2*, call6* and call7*
20170 tests.
20171
20172 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20173
20174 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20175 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20176 from optimizing it away.
20177 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20178 "call inferior func with struct".
20179
20180 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20181
20182 * configure.in: Only configure gdb.chill for particular targets.
20183
20184 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20185
20186 * gdb.base/Makefile.in: Add action to .c.o transformation
20187 rule that generates a .ci file for each .o file and remove
20188 explicit .c.o rules except for callfuncs.o.
20189 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20190 generates a .ci file for each .o file and remove explicit
20191 .cc.o rules.
20192 (clean): Remove *.tmp *.ci files.
20193 (EXECUTABLES): Remove templ-info.exp.
20194 * gdb.base/compiler.c: New file.
20195 * gdb.c++/compiler.cc: New file
20196 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20197 Change rs6000-*-* xfail for
20198 "print 'scope0.c'::filelocal_ro" and
20199 "print 'scope1.c'::filelocal" and
20200 "print 'scope1.c'::filelocal_bss" and
20201 "print 'scope1.c'::filelocal_ro" and
20202 "print 'scope1.c'::foo::funclocal" and
20203 "print 'scope1.c'::foo::funclocal_ro" and
20204 "print 'scope1.c'::bar::funclocal" and
20205 "print 'scope0.c'::filelocal_ro" and
20206 "print 'scope1.c'::filelocal at foo" and
20207 "print 'scope1.c'::filelocal_bss at foo" and
20208 "print 'scope1.c'::filelocal_ro at foo" and
20209 "print 'scope1.c'::foo::funclocal at foo" and
20210 "print 'scope1.c'::foo::funclocal_bss at foo" and
20211 "print 'scope1.c'::foo::funclocal_ro at foo" and
20212 "print 'scope1.c'::bar::funclocal at foo" and
20213 "print 'scope0.c'::filelocal_ro" and
20214 "print 'scope1.c'::filelocal" and
20215 "print 'scope1.c'::filelocal_bss" and
20216 "print 'scope1.c'::filelocal_ro" and
20217 "print 'scope1.c'::foo::funclocal" and
20218 "print 'scope1.c'::foo::funclocal_bss" and
20219 "print 'scope1.c'::foo::funclocal_ro" and
20220 "print 'scope1.c'::bar::funclocal" and
20221 "print 'scope1.c'::bar::funclocal_bss"
20222 to only be xfail'd when not compiled with gcc.
20223 Add rs6000-*-* xfail for
20224 "print 'scope0.c'::filelocal_bss before run"
20225 when compiled with gcc.
20226 (test_at_main): Add rs6000-*-* xfail for
20227 "print filelocal_ro in test_at_main"
20228 when compiled with gcc.
20229 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20230 Add rs6000-*-aix* xfail for
20231 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20232 "ptype t_char_array", not compiled with gcc.
20233 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20234 xfail for "list foo (in include file)" when gcc compiled.
20235 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20236 (integral_args): Add rs6000-*-* xfail for
20237 "run to call0a" if not compiled with gcc.
20238 (unsigned_integral_args): Add rs6000-*-* xfail for
20239 "run to call1a" if not compiled with gcc.
20240 (float_and_integral_args): Add rs6000-*-* xfail for
20241 "run to call2a" if not compiled with gcc and for
20242 "continue to call2b" for any compiler.
20243 Add rs6000-*-* xfail to
20244 "print f1 after run to call2a" for gcc compiled.
20245 (discard_and_shuffle): Add rs6000-*-* xfail for
20246 "run to call6a".
20247 (shuffle_round_robin): Add rs6000-*-* xfail for
20248 "backtrace from call7a" if not compiled with gcc.
20249 Add rs6000-*-* xfail for
20250 "backtrace from call7b" if compiled with gcc.
20251 (call_after_alloca): Add rs6000-*-* xfail for
20252 "print c in call_after_alloca" and
20253 "print s in call_after_alloca" and
20254 "backtrace from call_after_alloca_subr"
20255 if not compiled with gcc.
20256 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20257 "print c in localvars_in_indirect_call" and
20258 "print c in localvars_in_indirect_call" and
20259 "backtrace in indirectly called function" and
20260 "stepping into indirectly called function"
20261 if not compiled with gcc.
20262 (localvars_after_alloca): Add rs6000-*-* xfail for
20263 "print c after runto localvars_after_alloca" and
20264 "print s after runto localvars_after_alloca" and
20265 "print i after runto localvars_after_alloca" and
20266 "print l after runto localvars_after_alloca"
20267 for all compilers.
20268 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20269 than whatis-info.exp.
20270 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20271 than opaque-info.exp.
20272 Setup rs6000-*-* xfail for
20273 "ptype on opaque struct pointer (statically)" and
20274 "ptype on opaque struct pointer (dynamically)" when
20275 not compiled with gcc.
20276 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20277 rather than callf-info.exp.
20278 (do_function_calls): Add clear_xfail for rs6000-*-* for
20279 "p t_float_values2(3.14159,float_val2)". Seems to work
20280 fine there, both with xlc and gcc. Need to find out what
20281 it is doing right and fix other platforms.
20282 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20283 "call inferior func with struct - returns int",
20284 "call inferior func with struct - returns long",
20285 "call inferior func with struct - returns float",
20286 "call inferior func with struct - returns double",
20287 "call inferior func with struct - returns char *",
20288 but only if not gcc compiled (presumes xlc compiled).
20289 Change rs6000-*-* xfails for
20290 "call inferior func with struct - returns char" and
20291 " call inferior func with struct - returns short" to only
20292 xfail if not using gcc.
20293 (clean mostlyclean): Remove *.ci and *.tmp files.
20294 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20295 than templ-info.exp.
20296 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20297 Add rs6000-*-* xfail for "up to foo in langs.exp"
20298 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20299 when not gcc compiled.
20300
20301 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20302
20303 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20304 * gdb.base/corefile.exp: Likewise.
20305 * gdb.base/list.exp: Likewise.
20306 * gdb.base/scope.exp: Likewise.
20307 * gdb.base/siganls.exp: Likewise.
20308
20309 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20310 compiler output.
20311 * gdb.base/whatis.exp: Likewise.
20312
20313 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20314
20315 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20316 failure (opcode table has been fixed to match reality).
20317
20318 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20319
20320 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20321 "call inferior func with struct - returns char",
20322 "call inferior func with struct - returns short"
20323
20324 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20325 "print 'scope0.c'::filelocal at main",
20326 "print 'scope0.c'::filelocal_bss in test_at_main",
20327 "print 'scope0.c'::filelocal at foo",
20328 "print 'scope0.c'::filelocal_bss in test_at_foo",
20329 "print 'scope0.c'::filelocal at bar",
20330 "print 'scope0.c'::filelocal_bss in test_at_bar"
20331
20332 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20333 in source file 1". This bug seems to have been fixed with both
20334 gcc and native cc (was native assembler bug?).
20335
20336 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20337
20338 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20339 "backtrace through signal handler" to "i*86-*-sysv4*".
20340 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20341 continue" case. Add "known SVR4 bug" to fail message.
20342 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20343 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20344 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20345 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20346 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20347 "up to foo in langs.exp", "show language at foo in
20348 langs.exp", "up to cppsub_ in langs.exp", "show
20349 language at cppsub_ in langs.exp", "up to fsub in
20350 langs.exp", and "show language at fsub in langs.exp".
20351 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20352 "bactrace in corefile.exp".
20353 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20354 "call inferior function with struct - returns float" and
20355 "call inferior function with struct - returns double".
20356
20357 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20358
20359 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20360 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20361 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20362 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20363
20364 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20365
20366 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20367 (or overriden) "CHILL" macro rather then bare "gcc".
20368 Also look for ../../gcc/xgcc since that is what we will
20369 actually need, not "Makefile". Remove following assignment
20370 of CHILL to CHILL_FOR_TARGET because that results in
20371 recursive definition.
20372
20373 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20374
20375 * gdb.base/corefile.exp: Change xfail for backtrace in
20376 corefile.exp from linuxaout to all linux.
20377 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20378 cases where we miss the breakpoint at the signal handler
20379 for some reason. Setup xfail for linuxoldld/linuxaout and
20380 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20381 hitting SIGURG breakpoint.
20382 * gdb.base/signals.exp: Setup xfail for "next" acting like
20383 continue to add linuxoldld. Setup xfail for all linux for
20384 "next to handler in signals_tests_1", "backtrace in
20385 signals_tests_1", "continue to func1", "pass SIGUSR1",
20386 and continue to handler".
20387
20388 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20389
20390 * Update all FSF addresses except those in COPYING* files.
20391
20392 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20393
20394 * gdb.base/a2-run.exp: Change messages to be more explicit about
20395 the status of args, and quote binfile in results.
20396
20397 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20398
20399 * gdb.base/callfuncs.exp: Add tests for passing structs to
20400 inferior functions and return various types.
20401 * gdb.base/callfuncs.c: Add functions to receive a struct
20402 and return a member of the struct, in various types.
20403
20404 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20405
20406 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20407
20408 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20409
20410 * config/vxworks29k.exp: New file, sources vxworks.exp.
20411
20412 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20413
20414 * config/gdbremote.exp: New file. Testing framework using
20415 gdbserver.
20416
20417 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20418
20419 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20420 "call function when asleep" and "send end of file".
20421 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20422 for "backtrace in corefile.exp".
20423 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20424 for "backtrace through signal handler".
20425 * gdb.base/corefile.exp: Make sure we actually generate a core file
20426 before trying the core tests. Some systems allow the user to suppress
20427 generation of core files and default to that (linux for example).
20428 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20429 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20430
20431 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20432
20433 * gdb.threads: New directory with some crude multi-threaded
20434 gdb tests (step.exp and step2.exp).
20435 * config/mt-lynx (STEP_EXECUTABLE): Define.
20436 (THREADFLAGS): Define.
20437
20438 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20439
20440 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20441
20442 * gdb.base/signals.exp: Disable whole file for lynx until
20443 further notice.
20444
20445 * gdb.base/signals.exp: xfail test where "next" acts like
20446 "continue" for lynx.
20447
20448 * gdb.base/interrupt.exp: xfail test for calling function while
20449 inferior is asleep for lynx.
20450
20451 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20452 than one cr-lf after each command.
20453
20454 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20455
20456 * configure.in: Reinstate setting of stabsdirs variable, fix
20457 typo in setting up configdirs for native builds.
20458
20459 * gdb.base/return.exp: Fix typo in return double test.
20460 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20461 compiler from optimizing them away.
20462
20463 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20464
20465 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20466 sequences to be echo'd by gdb when using gdb_test.
20467 * gdb.chill/chexp.exp: Likewise.
20468 * gdb.fortran/exprs.exp: Likewise
20469
20470 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20471
20472 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20473 after the inferior gdb has started.
20474
20475 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20476 after each command.
20477 * gdb.base/funcargs.exp: Likewise.
20478 * gdb.base/gdbvars.exp: Likewise.
20479 * gdb.base/interrupt.exp: Likewise.
20480 * gdb.base/list.exp: Likewise.
20481 * gdb.base/watchpoint.exp: Likewise.
20482 * gdb.c++/demangle.exp: Likewise.
20483 * gdb.c++/inherit.exp: Likewise.
20484 * gdb.chill/chexp.exp: Likewise.
20485 * gdb.fortran/exprs.exp: Likewise.
20486
20487 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20488 test if we can't handle IO to/from the inferior.
20489
20490 * gdb.c++/misc.exp: Always check for a program already being
20491 started after sending a "run" command to gdb.
20492
20493 * gdb.base/twice.exp: Start with a fresh gdb.
20494
20495 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20496 only depend on gdb's expression code, not the chill runtime.
20497
20498 * gdb.base/return.c: Put return values into variables so we
20499 can have gdb print them rather than depending on the program
20500 to print them.
20501 * gdb.base/return.exp: Corresponding changes.
20502
20503 * lib/gdb.exp: Provide default value for noinferiorio.
20504 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20505 the inferior.
20506
20507 * gdb.base/break.exp: Always check for a program already being
20508 started after sending a "run" command to gdb.
20509 (text_next_with_recursion): Don't check the output from the
20510 program's printf statement. Instead just make sure the program
20511 exited.
20512
20513 * gdb.base/commands.exp: Protect tests which need arguments with
20514 $noargs conditionals.
20515
20516 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20517
20518 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20519 of structure member arrays to match gdb/valops.c:value_addr change.
20520
20521 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20522
20523 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20524 cases.
20525
20526 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20527
20528 * configure.in (configdirs): Remove gdb.chill from default list
20529 of subdirs and then add it back in only if doing a native build.
20530 The current chill compiler does not yet work in any cross build.
20531 * Revert all signal changes from Jul 6.
20532 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20533 for sh-hms targets, allowing these tests to link, with no other
20534 changes. Testing is suppressed by setting "nosignals" in site.exp.
20535
20536 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20537
20538 * configure.in (signaldirs): Define and add to configdirs for all
20539 targets except some specific ones that are known to not support signals.
20540 Also clean up formatting.
20541 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20542 (signals, sigall): Remove rules to build.
20543 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20544 Moved to new gdb.signals directory.
20545 * gdb.signals: New test directory.
20546 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20547 signals.c signals.exp}: New or moved files.
20548
20549 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20550
20551 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20552
20553 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20554
20555 * gdb.base/return.exp: Xfail `return double' test failure
20556 on at least Solaris 2.3 and handle future/past versions on
20557 a case by case basis as appropriate. Also update message
20558 to include i*86 failures.
20559
20560 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20561
20562 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20563
20564 * lib/gdb.exp: Fix comment which erroneously identified
20565 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20566 gdb_file_cmd not gdb_load).
20567 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20568
20569 * gdb.base/setvar.exp: Make test names consistent between pass and
20570 fail cases. Use gdb_test more.
20571
20572 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20573
20574 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20575
20576 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20577
20578 * gdb.base/help.exp: Fix expected help string for `show commands'.
20579
20580 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20581
20582 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20583
20584 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20585 of a text section.
20586
20587 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20588
20589 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20590 that loop eventually terminates. Fix Connection refused logic so
20591 that testsuite will expire nicely.
20592
20593 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20594
20595 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20596 config/rom68k.exp: New tcl glue for the appropriate monitors.
20597 These all just end up calling monitor.exp.
20598 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20599 refused' by retrying. Cleanup some timeout issues.
20600 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20601 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20602 callers don't have to set/restore global timeout variable.
20603
20604 * The following set of changes centralizes management of the global
20605 timeout variable. This way, it can be set in one target dependent
20606 place instead of dozens of places scattered throughout the test suite.
20607 If you need to lengthen a timeout, then you should either set timeout
20608 in one of the config/{target}.exp files, or multiply it by a factor.
20609 Setting it to an absolute value is always going to lose for some
20610 targets.
20611 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20612 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20613 * gdb.base/funcargs.exp: Don't set timeout.
20614 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20615 * gdb.base/printcmds.exp (test_print_string_constants
20616 test_print_array_constants): Don't set timeout.
20617 * gdb.base/ptype.exp: Don't set timeout.
20618 * gdb.base/recurse.exp: Don't set timeout.
20619 * gdb.base/return.exp: Don't set timeout.
20620 * gdb.base/watchpoint.exp: Don't set timeout.
20621 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20622 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20623
20624 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20625
20626 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20627
20628 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20629
20630 * lib/gdb.exp: Disable chill tests for irix5.
20631
20632 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20633
20634 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20635 each test pass or fail.
20636
20637 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20638
20639 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20640 xlc not gcc.
20641
20642 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20643
20644 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20645
20646 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20647
20648 * config/est.exp: Fix copyright and comments. Remove dead code.
20649 Use targetname, serialport and baud variables instead of fixed
20650 constants.
20651 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20652 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20653
20654 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20655
20656 * gdb.base/watchpoint.exp: Don't run
20657 test_watchpoint_triggered_in_syscall for sunos.
20658
20659 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20660
20661 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20662 they don't seem to exist. Do include stdio.h.
20663
20664 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20665
20666 * gdb.base/a1-selftest.exp: Add alpha xfail.
20667
20668 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20669
20670 * gdb.base/watchpoint.c (main): Prompt before calling read().
20671 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20672 Revise accordingly. Remove cruft about sending "123" several
20673 times, until it gets noticed. Clean up the "print buf[0]" stuff
20674 so that it passes or fails, and waits for prompts in the usual way.
20675
20676 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20677
20678 * gdb.base/recurse.exp: Fix comment.
20679
20680 * TODO: Remove item about printing variables in nodebug.exp. Add
20681 item about enabling tests which are only run on some targets.
20682
20683 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20684 fail, make test names unique, use new gdb_test convention
20685 regarding pattern, use gdb_test more, etc.).
20686
20687 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20688 fail, make test names unique, etc.).
20689
20690 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20691
20692 * gdb.base/nodebug.c: Change return type of top and middle to
20693 short.
20694 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20695 are fixed by the recent mdebugread.c changes. Allow `short ()'
20696 as type for top and middle.
20697
20698 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20699
20700 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20701 nearly as I can tell, the whole thing was an accident in Stu's
20702 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20703 to replace a send/expect pair with gdb_test, but ended up only
20704 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20705 of 30 Mar 1995 took care of it, but left this vestigial comment
20706 which I am now nuking.
20707
20708 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20709
20710 * gdb.base/break.exp: Look for different line number for
20711 breakpoint at main depending on usestubs.
20712
20713 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20714
20715 * gdb.base/list.exp: Adjust some alternate expect patterns to
20716 match recent list0.c change. Add alternate expect pattern for
20717 output from `list default lines around main' for optimizing
20718 compilers.
20719
20720 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20721
20722 * lib/gdb.exp: If nosignals is not set, set it to 0.
20723
20724 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20725
20726 * config/slite-gdb.exp: Responds to load symbol table prompt.
20727 * gdb.base/break.exp: Adjust line number, fix rerun.
20728 * gdb.base/langs0.c: Add #ifdef usestubs.
20729
20730 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20731
20732 * gdb.base/list.exp: Adjust line contents after adding new lines in
20733 list0.c. Also fix a syntax error.
20734
20735 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20736 * gdb.base/break.exp: ditto.
20737 * gdb.base/list.exp: ditto.
20738 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20739 * gdb.base/run.c: ditto.
20740 * gdb.base/list0.c: ditto.
20741 * gdb.base/funcargs.c: ditto.
20742
20743 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20744
20745 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20746 $targetname, $serialport and $baud instead of hardwired variables.
20747 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20748 target doesn't support signals.
20749
20750 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20751
20752 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20753
20754 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20755
20756 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20757 Don't rely on the value of an auto variable before it has been
20758 initialized. Use gdb_test more.
20759
20760 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20761
20762 * lib/gdb.exp (default_gdb_version): A version number must start
20763 with a digit, but other than that contains all characters up to
20764 the first whitespace character.
20765
20766 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20767
20768 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20769
20770 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20771
20772 * gdb.c++/*.exp: Warn if executable does not exist. The original
20773 reason for skipping the warning was that configure.in sometimes
20774 intentionally skipped building the executables but the tcl code
20775 had no way of knowing. That (a) was always bogus with respect to
20776 error handling, (b) is no longer true (right now there is no way
20777 to skip C++ tests).
20778
20779 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20780
20781 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20782
20783 * gdb.base/list.exp: Add expect patterns for output from
20784 SunPRO compiled executables.
20785 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20786 types.
20787
20788 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20789
20790 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20791 number (we are already testing that the correct source line text
20792 gets printed).
20793
20794 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20795 that is what is intended, but something needed to be done to get
20796 sunos4 native working again.
20797
20798 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20799
20800 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20801 apparently went with a (very) old xfail.
20802
20803 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20804
20805 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20806 runto_main is a proc in gdb.exp that will do 'step' for target use
20807 stubs.
20808 * gdb.base/exprs.exp: ditto.
20809 * gdb.base/interrupt.exp: ditto.
20810 * gdb.base/opaque.exp: ditto.
20811 * gdb.base/printcmds.exp: ditto.
20812 * gdb.base/ptype.exp: ditto.
20813 * gdb.base/scope.exp: ditto.
20814 * gdb.base/setvar.exp: ditto.
20815 * gdb.base/signals.exp: ditto.
20816 * gdb.base/twice.exp: ditto.
20817 * gdb.c++/classes.exp: ditto.
20818 * gdb.c++/inherit.exp: ditto.
20819 * gdb.c++/templates.exp: ditto.
20820 * gdb.base/break.exp: no run and hit main for stubs. Change line
20821 numbers for breakpoints and info breakpoint.
20822 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20823 breakpoint().
20824 * gdb.base/callfuncs.c: ditto.
20825 * gdb.base/exprs: ditto.
20826 * gdb.base/interrupt.c: ditto.
20827 * gdb.base/opaque0.c: ditto.
20828 * gdb.base/printcmds.c: ditto.
20829 * gdb.base/ptype.c: ditto.
20830 * gdb.base/scope0.c: ditto.
20831 * gdb.base/setvar.c: ditto.
20832 * gdb.base/signals.c: ditto.
20833 * gdb.base/twice.c: ditto.
20834 * gdb.c++/misc.cc: ditto.
20835 * gdb.c++/templates.cc: ditto.
20836
20837 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20838
20839 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20840
20841 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20842 somewhere between `read' and `main.c'. I'm pretty sure the
20843 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20844 and it isn't particularly useful.
20845
20846 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20847
20848 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20849
20850 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20851
20852 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20853
20854 * config/mt-slite: add LIBS and -nostdlib.
20855 * config/slite-gdb.exp: add this new file to support sparclite target.
20856
20857 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20858
20859 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20860
20861 * gdb.base/a2-run.exp: Change argument to istarget from
20862 "*-*-vxworks" to "*-*-vxworks*".
20863 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20864
20865 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20866
20867 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20868 will not runto main but do a 'step' to step out of breakpoint().
20869 * config/mt-slite: add -Dusestubs.
20870
20871 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20872
20873 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20874 instead of just @.
20875
20876 * gdb.base/signals.exp: Add test for "handle all print".
20877 * TODO: Remove "handle all print". Also remove item about
20878 checking copyright date (I don't like the idea of a spurious FAIL
20879 based on when we run the tests).
20880
20881 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20882 for SunOS4 (reason for failure not investigated). Remove
20883 redundant test for $binfile.
20884
20885 * gdb.base/nodebug.c (array_index): Call malloc.
20886
20887 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20888
20889 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20890
20891 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20892 conventions and slightly simplify the matching regexp.
20893
20894 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20895
20896 * gdb.base/break.exp: Update gdb_test invocation to use new
20897 convention.
20898
20899 * lib/gdb.exp: If noargs is not set, set it to 0.
20900
20901 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20902 tests unique.
20903
20904 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20905
20906 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20907
20908 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20909 one argument of type "<non-float parameter>".
20910
20911 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20912
20913 * config/rom68k.exp: New file to support Motorola IDP board.
20914 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20915 * gdb.base/break.c: Change things around so that this program
20916 doesn't depend upon args. This is necessary to make remote
20917 targets work (in general, they can't take args).
20918 * gdb.base/break.exp: Don't try to send args to program. Don't
20919 expect output. Also, replace lots of code with gdb_test.
20920
20921 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20922
20923 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20924 printing of '\'' (which is what the comment says we are testing,
20925 even though we were not), not '''.
20926 (test_integer_literals_rejected): Test that printing ''' is an error.
20927
20928 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20929 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20930 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20931 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20932 Use gdb_test not test_print_accept.
20933 * lib/gdb.exp: Remove test_print_accept.
20934
20935 * gdb.base/signals.exp (signal_tests_1): Make pass message
20936 consistent with fail message.
20937
20938 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20939 unsigned char; the bug (PR 1821) is fixed.
20940
20941 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20942
20943 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20944 successful tests--makes xfailing them work right.
20945
20946 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20947
20948 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20949 only \r\n, not .*. The test can pass .* as the last thing in
20950 $pattern if that is what it wants. In addition to providing this
20951 flexibility, this change should speed up pattern matching in cases
20952 where the pattern already ended with .* (there were a number of
20953 them). This change also helps catch bad patterns--in the old
20954 scheme the typo "char \*" instead of "char \\*" would pass. Now
20955 it is caught.
20956 * Many .exp files: Update callers.
20957
20958 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20959 clearer and does not spuriously match multiple ('s. Likewise for
20960 ) and *.
20961
20962 * gdb.base/nodebug.exp: Test ability to call a function and pass
20963 it a string (even with no debugging info).
20964
20965 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20966 "p '\'", which is the same as "p ''" once tcl gets done with
20967 quoting, to "p '\\'", which I suspect is what is intended (one
20968 backslash gets sent to GDB).
20969
20970 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20971
20972 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20973
20974 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20975 1817) was fixed literally years ago.
20976
20977 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20978
20979 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20980 test, it causes stepping out of call_after_alloca_subr with
20981 optimizing compilers.
20982 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20983 fails.
20984
20985 * gdb.c++/templates.exp: Source templ-info.exp only if
20986 the templates executable exists.
20987
20988 * gdb.c++/misc.cc (class Contains_static_instance,
20989 class Contains_nested_static_instance),
20990 gdb.c++/classes.exp (test_static_members): Test printing of
20991 a class that contains a static instance of the class.
20992
20993 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20994
20995 * gdb.base/langs2.c (cppsub_): Don't prototype.
20996 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20997 only, I believe).
20998
20999 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21000
21001 * lib/gdb.exp (skip_chill_tests): New procedure.
21002
21003 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21004
21005 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21006
21007 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21008 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21009
21010 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21011
21012 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21013
21014 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21015 disassemble 8, not 16, instructions for part 4.
21016
21017 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21018 support the latter anymore.
21019
21020 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21021 -DNO_PROTOTYPES.
21022 * gdb.base/callfuncs.c: Control use of prototypes based on
21023 NO_PROTOTYPES, not __STDC__.
21024 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21025 t_float_values2 tests if prototypes in use.
21026
21027 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21028 t_double_values): When checking differences against DELTA, check
21029 that difference is within the range (-DELTA,DELTA), not just
21030 (-infinity,DELTA).
21031
21032 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21033
21034 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21035 'file' command firts, then 'target', then 'load', this is due to gdb
21036 target set up.
21037 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21038
21039 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21040
21041 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21042 FP load/store variants.
21043 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21044
21045 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21046
21047 * gdb.base/term.exp: Do not give a warning if not native, it is
21048 not an abnormal condition.
21049
21050 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21051
21052 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21053 t_char_array".
21054
21055 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21056
21057 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21058 are getting the version number.
21059
21060 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21061 if not native, it is not an abnormal condition.
21062
21063 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21064
21065 * lib/gdb.exp: Just use "file exists", rather than undocumented
21066 dejagnu procedure "findfile".
21067
21068 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21069
21070 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21071 (LDFLAGS): Set to -Xlinker -Ur.
21072
21073 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21074 Removed, these values are set by lib/gdb.exp.
21075
21076 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21077
21078 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21079
21080 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21081 of replicating gdb startup code.
21082
21083 * config/mt-vxworks (LDFLAGS): Set to -r.
21084 (CFLAGS_FOR_TARGET): Removed.
21085
21086 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21087 (gdb) and gdb for vxworks uses (vxgdb).
21088
21089 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21090 executable is not in the tree and host != target, use sed and
21091 program_transform_name to determine the gdb name used by the
21092 target.
21093
21094 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21095 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21096
21097 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21098
21099 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21100 floats, chars, and shorts where there are ANSI-style function
21101 definitions.
21102
21103 * gdb.base/langs.exp, gdb.base/langs*: New test.
21104 * gdb.base/Makefile.in: Build it.
21105 * TODO: Remove item about checking that C names don't get C++
21106 demangling applied; this test tests it.
21107
21108 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21109
21110 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21111 went with the const70 xfail. The xfail went away a year ago.
21112
21113 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21114
21115 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21116 for hp300.
21117
21118 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21119
21120 * gdb.base/a1-selftest.exp: Don't run on hp300.
21121
21122 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21123
21124 * Makefile.in (site.exp): Set host_alias and target_alias as well
21125 as host_triplet and target_triplet.
21126
21127 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21128
21129 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21130
21131 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21132 places as other ecoff systems).
21133
21134 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21135 ultrix.
21136
21137 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21138
21139 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21140 remove them.
21141 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21142 variable and "variable" in addition to "data variable".
21143 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21144
21145 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21146 2.
21147 * gdb.base/list1.c (long_line): Add additional statement at start
21148 of function.
21149 * gdb.base/list.exp (test_forward_search): Update line number to
21150 reflect new statement.
21151
21152 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21153
21154 * gdb.base/signals.exp: Reinitialize searched source directories
21155 after gdb_start call.
21156
21157 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21158
21159 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21160 * gdb.stabs/Makefile.in: Likewise.
21161
21162 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21163 change. Instead split the tests into smaller pieces.
21164 * gdb.disasm/hppa.s: Corresponding changes.
21165
21166 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21167
21168 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21169 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21170
21171 * gdb.base/funcargs.exp: Modify many tests so that every test
21172 either passes or fails. Make some test names unique.
21173
21174 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21175
21176 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21177 Call stty to set interrupt character.
21178
21179 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21180 for HP assembler versus GNU assembler based on actual behavior of
21181 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21182
21183 * TODO: Suggest a few more stepping tests.
21184
21185 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21186
21187 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21188 restart GDB for h8300 after a continue.
21189 (return): Add pattern to match a29k-udi behavior.
21190 * gdb.base/nodebug.exp: Remove obsolete comment.
21191 * gdb.base/regs.exp: New file, testing of register displays.
21192 * gdb.base/return.exp: Fix typo in reference to $objdir.
21193 * gdb.base/whatis.exp: Always start with a fresh GDB.
21194
21195 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21196
21197 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21198 higher, these tests generate a lot of output.
21199
21200 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21201
21202 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21203 code following the catch silently ignored some errors; without the
21204 catch they should be thrown like any other tcl error. Also, the
21205 catch used "" instead of {} which meant all the callers who wanted
21206 to include one of the characters "[]$ had to quote it an extra time.
21207 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21208 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21209 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21210 Remove extra quoting.
21211
21212 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21213
21214 * gdb.base/commands.exp: Make test names unique; every test either
21215 passes or fails. Update some comments.
21216
21217 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21218
21219 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21220
21221 The following fixes a FAIL caused by the fact that the alpha stabs
21222 configuration didn't use the ".if alpha" code in weird.def.
21223 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21224 bit pointer, so the 32 bit version works even on the alpha.
21225 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21226 Remove the stuff which allowed us to have separate versions for
21227 alpha and everything else.
21228
21229 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21230 regexp which "info func operator\[\](" is supposed to match. Fix
21231 string to send to GDB. Note that GDB still doesn't work right. Add a
21232 new test for "info func .perator\[\](" which GDB does handle correctly.
21233
21234 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21235
21236 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21237
21238 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21239 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21240 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21241 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21242 it makes the tests harder to understand and confuses test-o-matic.
21243 The preferred style is that each test provides a PASS or a FAIL,
21244 and has a unique message (e.g. "continue #54" not just "continue")
21245 which is the same for the pass and the fail.
21246 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21247 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21248 to lib/gdb.exp.
21249 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21250 prt_accept which was basically the same thing. Likewise for
21251 test_print_reject and prt_reject.
21252 * lib/gdb.exp (test_print_reject): Add some more error message
21253 patterns to match from the former printcmds.exp (prt_reject).
21254 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21255 One defect of the passcount stuff is that some of it failed to
21256 report XPASS where appropriate.
21257 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21258 stuff before and after arg in expected pattern.
21259 (test_paddr_operator_functions): Re-do test without print_addr_of;
21260 this is the only test which seems to want extra stuff there.
21261
21262 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21263
21264 * gdb.base/nodebug.exp: Update new tests to reflect improved
21265 wording of gdb output.
21266
21267 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21268 and "ptype" work on variables in files compiled without -g.
21269 Replaces commented out "maint print msymbol" tests.
21270
21271 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21272
21273 * gdb.base/setvar.c (dummy): Call malloc.
21274
21275 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21276 losing with the irix4 sed.
21277
21278 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21279 ALRM" on irix4.
21280
21281 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21282
21283 * TODO: Remove items about corefile.exp testing new exec-file and
21284 backtrace; both are now done. Add items about printing enums.
21285
21286 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21287
21288 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21289 "get signal $thissig" test fails.
21290
21291 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21292
21293 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21294
21295 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21296 compiler warning with dec alpha compiler.
21297
21298 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21299 extra \n from gdb_test call (this explains why the prompt test
21300 that I removed yesterday was there).
21301 (user_defined_command_test): Remove extra \n and prompt test.
21302
21303 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21304 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21305 doesn't exist.
21306 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21307 Also remove alpha workaround, which turns out to be because
21308 SIGABRT == SIGLOST.
21309
21310 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21311
21312 * gdb.base/help.exp: Don't test "help show".
21313
21314 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21315
21316 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21317 "set print address" is on.
21318 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21319 pass prompt to gdb_test; gdb_test already looks for the prompt.
21320
21321 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21322
21323 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21324 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21325 was to make sure that gdb can read a core file. But (a) the "read
21326 the corefile" part didn't make it to a1-selftest.exp, we just
21327 delete the corefile after creating it, and (b) we test reading
21328 corefiles in corefile.exp anyway. Also, this test left around a
21329 xgdb process on Solaris.
21330
21331 * gdb.base/corefile.exp: Also test backtrace.
21332
21333 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21334
21335 * gdb.base/commands.exp: Test a simple user defined command with
21336 arguments and if/while statements; verify the full user command is
21337 printed by "show user".
21338
21339 * gdb.base/commands.exp: Test if/while commands as part of a
21340 breakpoint command list; verify they appear in breakpoint
21341 information.
21342
21343 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21344
21345 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21346 than by dividing by zero.
21347
21348 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21349
21350 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21351 performing an inferior call with watchpoints enabled.
21352 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21353 call.
21354
21355 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21356
21357 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21358 of "file" command.
21359
21360 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21361 Add additional pattern for when "int operator int(void);" appears
21362 in a different order.
21363
21364 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21365
21366 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21367
21368 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21369 and "signal" with ".*".
21370
21371 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21372
21373 * TODO: Add note about "handle all nostop".
21374
21375 * gdb.base/{sigall.c, sigall.exp}: New test.
21376 * gdb.base/Makefile.in: Add it.
21377
21378 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21379
21380 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21381 when invoking GDB, suppresses any windowing interface.
21382
21383 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21384
21385 * config/sim-gdb: New file, simulator testing support.
21386
21387 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21388
21389 * gdb.base/interrupt.exp: Test calling func1 twice.
21390
21391 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21392
21393 * gdb.base/list.exp (test_forward_search): Set timeout higher
21394 when we'll be getting lots of output from gdb.
21395
21396 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21397 "init_malloc" to after the expect statement. Run it if that
21398 regexp is taken, but also for two others which happen if source
21399 cannot be found.
21400
21401 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21402
21403 * gdb.base/printcmds.exp: New test, for printing register before
21404 program is running.
21405
21406 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21407
21408 * gdb.base/list.exp: Correct some alternate expect patterns
21409 to reflect changes in list1.c.
21410
21411 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21412
21413 * TODO: Add item regarding large frames.
21414
21415 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21416
21417 * TODO: Remove item about enabling return.exp; it
21418 is enabled. Suggest a few more "return" tests.
21419
21420 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21421
21422 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21423 anonymous unions.
21424
21425 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21426
21427 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21428 and pr-5646.o, so "make" is the same as "make all", not "make
21429 pr-4975.o".
21430
21431 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21432
21433 * gdb.base/list.exp: Adjust expectations to reflect changes in
21434 list1.c.
21435 (test_forward_search): New test proc.
21436 * gdb.base/list1.c (long_line): New function, has long source line.
21437
21438 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21439
21440 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21441 additional line of code that was added.
21442
21443 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21444
21445 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21446 tests so as not to overflow expect's input buffers.
21447 * gdb.disasm/hppa.exp: Corresponding changes.
21448
21449 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21450
21451 Beginnings of template debugging tests.
21452 * gdb.c++/templ-info.cc: New file to test for template
21453 debugging capability of the compiler.
21454 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21455 templ-info.cc.
21456 * gdb.c++/templates.cc: Add explicit template instantiations
21457 to enable compiling with -fno-implicit-templates. Add destructor
21458 and 'value' method to T5 class for template tests.
21459 * gdb.c++/templates.exp: Add testcases for printing of template
21460 types, setting breakpoints on template methods and calling a
21461 template method.
21462
21463 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21464
21465 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21466 branch target since some assemblers (gas-2.5) may emit a
21467 relocation for the branch instead of resolving it in the
21468 assembler.
21469
21470 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21471
21472 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21473 through signal handler.
21474
21475 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21476
21477 * configure.in (*-*-netware): Use config/mt-netware.
21478
21479 * config/mt-netware: New file.
21480 * config/mt-i386-netware: Removed, separate configs for different
21481 netware architectures are no longer needed now that we have
21482 --with-headers.
21483
21484 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21485
21486 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21487 by the recent changes to use ANSI C arithmetic conversions.
21488
21489 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21490
21491 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21492 bug involving using inferior_pid to figure out whether to select a
21493 frame.
21494
21495 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21496
21497 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21498 match the current disassembler output.
21499
21500 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21501
21502 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21503 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21504 types, expect "int" as type of integer values (for now).
21505
21506 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21507
21508 * gdb.base/commands.exp: New tests for if/while commands.
21509
21510 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21511
21512 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21513 by .*, since hex values have different syntax in Chill mode.
21514
21515 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21516
21517 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21518 linefeed from expect pattern for repeated types with indices > 9.
21519
21520 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21521
21522 First part of Fortran test suite.
21523 * gdb.fortran: New directory.
21524 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21525
21526 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21527
21528 * gdb.base/default.exp: Update expect pattern for load command
21529 without arguments.
21530
21531 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21532
21533 * configure.in: Change i386 to i[345]86.
21534 * gdb.base/configure.in: Likewise.
21535 * gdb.c++/configure.in: Likewise.
21536 * gdb.chill/configure.in: Likewise.
21537
21538 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21539
21540 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21541 patterns, since that is not a valid context for comments.
21542
21543 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21544
21545 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21546 repeated types and repeated types with indices > 9.
21547
21548 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21549
21550 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21551 2417; old bug has been fixed.
21552
21553 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21554
21555 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21556 send the newline ourselves instead of assuming gdb_test will do
21557 so when passed an empty input string.
21558
21559 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21560 stabs testcode.
21561
21562 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21563
21564 * lib/gdb.exp (gdb_test): Don't send anything if the first
21565 argument is an empty string. This makes cases where we want to
21566 match output that is already in expect's buffers (for example,
21567 matching a breakpoint after gdb_run_cmd has been called) work
21568 reliably.
21569
21570 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21571
21572 * config/netware.exp: New file.
21573
21574 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21575
21576 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21577 the -B and -L prefixes so we can find the debugging stub.
21578
21579 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21580 there and we are using the gcc from the tree.
21581
21582 * gdb.base/types.c: Removed.
21583
21584 * gdb.base/configure.in: Look for makefile fragments in ../config.
21585 Recognize i386-*-netware.
21586 * gdb.c++/configure.in: Likewise.
21587
21588 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21589
21590 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21591 the correct TCL syntax.
21592
21593 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21594
21595 * gdb.base/opaque.exp: use runto instead of messing around with
21596 breakpoints. Simplify by using gdb_test.
21597
21598 * gdb.base/bitfields.exp: restart between tests on netware targets
21599 because breakpoints aren't relocated after target death. Run
21600 processes to completion.
21601
21602 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21603
21604 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21605
21606 * Makefile.in: Remove extra tabs that confuse some versions
21607 of "make". Use the newly built gdb to test with by default,
21608 rather than the first one in the tester's search path.
21609
21610 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21611
21612 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21613
21614 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21615 condition help.
21616
21617 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21618
21619 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21620
21621 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21622 running.
21623 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21624 * gdb.base/funcargs.exp: Likewise.
21625
21626 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21627 * gdb.base/funcargs.exp: Likewise.
21628
21629 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21630 message is "".
21631
21632 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21633
21634 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21635 return,signals,twice}.exp: Handle non-existant binaries
21636 consistantly.
21637
21638 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21639 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21640 might testing a cross development system.
21641
21642 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21643
21644 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21645 runtest script is relative to ${srcdir}, not ${rootdir}.
21646
21647 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21648
21649 * gdb.base/signals.exp: Allow for optionality of breakpoint
21650 address.
21651
21652 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21653
21654 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21655
21656 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21657
21658 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21659 for size_t definition.
21660 * gdb.c++/templates.cc: Likewise
21661
21662 * config/mt-i386-netware: New file.
21663
21664 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21665 defined.
21666
21667 * gdb.base/Makefile.in: Added support for systems that name core
21668 files by appending "core" to the program name.
21669 * gdb.base/a1-selftest.exp: Likewise.
21670
21671 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21672
21673 * gdb.base/return.exp: Add comment and message for `return double'
21674 test failure on Sparc Solaris.
21675
21676 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21677
21678 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21679
21680 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21681
21682 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21683 from optimizing them away.
21684 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21685 patterns to include default constructors and assignment operators,
21686 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21687 character in the output of the virtual base pointer.
21688
21689 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21690
21691 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21692 expression match in print_addr_of to avoid unintented matches.
21693 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21694 versions up to 2.5.8.
21695
21696 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21697
21698 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21699 included file to run under newer versions of expect.
21700 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21701 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21702 Remove xfail for the virtual table of BDDHookV.
21703
21704 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21705
21706 * lib/gdb.exp (string_to_regexp): Set a default result.
21707 (default_gdb_start): Fix misleading message.
21708
21709 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21710
21711 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21712 Remove all CC, etc definitions.
21713 * config/mt-hpux: New file.
21714 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21715 (CFLAGS, LDFLAGS): Define.
21716 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21717
21718 * Makefile.in (site.exp): Don't insert host_os, etc.
21719 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21720 (distclean): Check existence of subdir.
21721 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21722 * gdb.base/Makefile.in: General cleanup and simplification.
21723 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21724 to build executables. Use default rule to build .o files.
21725 (EXPECT, RUNTEST, CC): Fix relative pathname.
21726 (site.exp): Don't insert host_os, etc.
21727 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21728 and/or SIGUSR1 defined.
21729 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21730 * gdb.c++/Makefile.in: General cleanup and simplification.
21731 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21732 (CFLAGS): Remove.
21733 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21734
21735 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21736
21737 * gdb.base/recurse.exp: Misc changes to get tests running again
21738 after Kung's changes to the watchpoint code.
21739 * gdb.base/watchpoint.exp: Likewise.
21740
21741 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21742
21743 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21744
21745 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21746
21747 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21748 * lib/gdb.exp (default_gdb_start): Define.
21749 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21750 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21751 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21752 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21753 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21754 Don't call gdb_target_udi in between tests.
21755
21756 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21757
21758 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21759 (which was basically just a local version of the same thing). In
21760 addition to avoiding duplication, gdb_test_exact is faster.
21761 * lib/gdb.exp (gdb_test_exact): Fix typo.
21762
21763 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21764 don't give an error.
21765
21766 * gdb.base/term.exp: Call delete_breakpoints before starting.
21767
21768 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21769 (t10): Add comment.
21770
21771 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21772
21773 Reorganization of the GDB Test Suite.
21774
21775 * gdb.base: New directory, contains all the basic tests.
21776 * gdb.c++: New directory, tests specific to C++.
21777 * gdb.chill: New directory, tests specific to Chill.
21778 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21779 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21780 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21781 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21782 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21783 t30-31 to chill).
21784 * */gdbme.*: Rename to match appropriate expect scripts.
21785 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21786 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21787 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21788 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21789 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21790 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21791 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21792 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21793 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21794 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21795 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21796 gdb.c++/virtfunc.cc: New names of C++ files.
21797 * gdb.chill/chillvars.ch: New name of Chill file.
21798 * gdb.base/configure.in, gdb.c++/configure.in,
21799 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21800 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21801 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21802 * configure.in (configdirs): Update to reflect directory changes.
21803 (target_abbrev): No longer define for any configuration.
21804 * Makefile.in: Cosmetic improvements to header comments.
21805
21806 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21807
21808 Various changes to gdb.t31:
21809
21810 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21811 * gdbme.ch: Make all key-words and predefineds be upper-case.
21812 * chillvars.exp: Expect key-words and predefinds in upper-case.
21813
21814 * chillvars.exp: Use gdb_test_exact many places.
21815 Change expected output for arrays (which now includes index labels).
21816
21817 * pr-5020.exp, gdme.ch (module PR_5020):
21818 New test, for PR-5020.
21819
21820 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21821
21822 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21823 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21824
21825 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21826
21827 * Makefile.in: Fix bit-rot in definitions of CHILL,
21828 CHILL_FOR_TARGET and Chill_LIB.
21829 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21830 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21831 CHILL, and CHILL_LIB.
21832
21833 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21834
21835 * Revert the previous changes. Please see Rob's directory
21836 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21837
21838 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21839
21840 * Makefile.in, configure.in, config/mips-gdb.exp,
21841 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21842 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21843 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21844 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21845 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21846 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21847 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21848 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21849 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21850 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21851 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21852 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21853 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21854 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21855 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21856 changes from 94Q1.
21857
21858 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21859
21860 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21861 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21862 Rob's new testing fragments.
21863
21864 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21865
21866 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21867 lib/gdb.exp: Replace error proc calls with perror.
21868
21869 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21870
21871 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21872 version also, match on casted version strings, and match on
21873 gdb startup case where the line numbers might be messed up.
21874
21875 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21876
21877 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21878 (CFLAGS): Delete it from here.
21879
21880 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21881
21882 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21883
21884 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21885
21886 * Makefile.in (RUNTEST): Default to just "runtest".
21887
21888 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21889
21890 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21891 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21892 the code has been restructured.
21893
21894 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21895
21896 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21897 \n, not just one of each.
21898
21899 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21900 /bin/cc gives a warning if you do.
21901
21902 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21903
21904 * gdb.t24/demangle.exp: change expect pattern of
21905 __t10ListS_link1ZUiRCUiPT0
21906
21907 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21908
21909 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21910 on local variables in recursive functions.
21911
21912 * gdb.t07/Makefile.in: Build the new test.
21913
21914 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21915
21916 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21917 directly. Instead compare the return values from actual calls.
21918
21919 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21920
21921 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21922
21923 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21924
21925 * From Peter Schauer with minor modifications.
21926 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21927 stops in mid-line in the caller. Add xfail for returning a float
21928 value on X86 targets.
21929
21930 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21931
21932 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21933 to avoid expect lossage.
21934 (fmem_LRbug_tests): Likewise.
21935 * gdb.disasm/hppa.s: Corresponding changes.
21936
21937 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21938 conditions to work with latest dejagnu/expect.
21939
21940 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21941 expected to fail on the PA.
21942 (backtrace in call with trampolines): Explicitly require main
21943 to be frame #1 (no trampolines should show up in backtrace).
21944
21945 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21946 "continue -expect".
21947 * gdb.t06/break.exp: Likewise.
21948 * gdb.t07/watchpoint.exp: Likewise.
21949 * gdb.t13/bitfields.exp: Likewise.
21950 * gdb.t15/{funcargs,return}.exp: Likewise.
21951 * gdb.stabs/weird.exp: Likewise.
21952 * config/{mips,udi}-gdb.exp: Likewise.
21953
21954 * hppa.sed: Enclose comments within a sed command to avoid
21955 losing with the old OSF1 sed.
21956
21957 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21958
21959 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21960 sequent dynix.
21961 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21962 * gdb.t15/funcargs.exp: Conditionally step again to really
21963 finish from marker_call_with_trampolines. Handle the case where
21964 the first step from within call_with_trampolines already steps
21965 us back to main.
21966 * gdb.t15/gdbme.c: Add comment to closing brace of
21967 call_with_trampolines for funcargs.exp.
21968
21969 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21970
21971 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21972 Fix typo(s).
21973
21974 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21975
21976 * gdb.t07/gdbme.c: More code for watchpoint testing.
21977
21978 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21979 "Hardware watchpoint" throughout file.
21980 (test_watchpoint_triggered_in_syscall): New test.
21981 (test_complex_watchpoint): New test.
21982
21983 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21984
21985 * gdbme.c (call_with_trampolines): New function to try and step
21986 into. Tests trampoline problems on the PA.
21987
21988 * funcargs.exp (localvars_in_indirect_call): No longer expect
21989 stepping into indirect call to fail on PAs.
21990 (test_stepping_over_trampolines): New test.
21991
21992 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21993
21994 * TODO: Add suggestions for static member function tests, and
21995 completion tests.
21996
21997 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21998
21999 * TODO: Add suggestions for "p/a" tests.
22000
22001 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22002 (default_gdb_exit): Replace all the hair with sending "quit" to
22003 the process with a simple close.
22004
22005 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22006
22007 * TODO: Add suggestions for shared library tests.
22008
22009 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22010
22011 * TODO: Add suggestions for x/s tests.
22012
22013 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22014
22015 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22016 "enable once", and "enable breakpoints once" with ".*".
22017
22018 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22019
22020 * TODO: Add suggestions about structure passing tests.
22021
22022 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22023
22024 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22025 the primary1 test, use work around if __GNUC__ < 2.
22026 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22027 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22028 Test for bad output rather than waiting for timeout. Issue
22029 second continue only if first continue failed.
22030
22031 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22032
22033 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22034 operator[] test with gdb_test because the old code didn't seem to
22035 be getting the quoting right with the new dejagnu.
22036
22037 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22038
22039 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22040 one from the path.
22041 * Makefile.in: Use a fresh expect if there is one, use runtest
22042 from the src tree if there is one.
22043
22044 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22045
22046 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22047 next over recursive call. Revise the tests from that point on
22048 (which had been skipped) to match GDB's actual (correct) output.
22049
22050 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22051 with next over a breakpoint whose condition is false.
22052
22053 * gdb.t00/help.exp: Comment out "help set print" tests just like
22054 (and for same reason as) "help set" test.
22055
22056 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22057
22058 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22059 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22060
22061 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22062
22063 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22064 necessary gdb_target_udi.
22065
22066 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22067
22068 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22069 1838 and 2417; they are fixed.
22070
22071 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22072 gdb.t03/ptype.exp (ptype structure, ptype union):
22073 Remove xfails; the test is looser than when the xfails were added.
22074
22075 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22076 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22077
22078 * gdb.t01/run.exp: Only run shell test if isnative.
22079
22080 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22081 since "run" automatically loads if necessary. Call gdb_target_udi
22082 after the "file" since "file" kills any execution target.
22083
22084 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22085 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22086 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22087 argument for UDI.
22088
22089 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22090
22091 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22092
22093 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22094
22095 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22096
22097 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22098 properly quoting regexps. This makes the second argument to
22099 demangle a fixed string, which matches the callers, instead of a
22100 shell-style pattern which is what the previous implementation
22101 used. Update some of the callers.
22102
22103 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22104
22105 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22106 (comib_nullified_tests): Fix typo.
22107 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22108 strings. No longer expected to fail.
22109
22110 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22111 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22112 strings. No longer expected to fail.
22113
22114 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22115 string. No longer expected to fail.
22116
22117 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22118
22119 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22120 No longer expected to fail.
22121
22122 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22123 string. No longer expected to fail.
22124
22125 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22126
22127 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22128 only in the names (I probably got most of them). I was even
22129 generous with some which differed in underscores in names, and
22130 probably missed a few, and I *still* was able to remove almost a
22131 third of the file with almost no impact on testsuite coverage.
22132
22133 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22134
22135 * gdb.t00/default.exp: Match udi_attach error message as well as
22136 the one from child_attach.
22137
22138 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22139
22140 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22141
22142 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22143 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22144
22145 * Move test with enums and partial symbols back to
22146 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22147 Reverts the change of 26 May 93. Per today's change to
22148 stabs.texinfo, the behavior that weird.exp was expecting was
22149 unreasonable; what is important is that the compiler+gdb get
22150 things right, which happens with a recent gcc. Also fix the test
22151 to deal with native compilers which put out the stab gdb can't
22152 deal with.
22153
22154 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22155
22156 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22157 in the names. The main thing these accomplish is to slow things down.
22158 Many more such duplicates surely remain.
22159
22160 * gdb.t00/help.exp: Comment out "help support" test just like
22161 (and for same reason as) "help set" test.
22162
22163 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22164
22165 * gdb.t06/break.exp: Remove setup_xfails for
22166 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22167 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22168 about known bug in gcc to include up through 2.5.8.
22169 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22170 well as "_vb$".
22171 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22172 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22173 with latest gcc and gdb.
22174 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22175 well as "_vb$".
22176
22177 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22178
22179 * configure.in (hppa*-*-*): Also configure and build stabs-only
22180 tests.
22181
22182 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22183
22184 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22185 * gdb.t10/configure.in (hppa*-*-*): Use it.
22186
22187 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22188
22189 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22190
22191 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22192
22193 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22194 versions prior to 1.13.5.
22195
22196 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22197
22198 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22199 the prompt is at the start of a line.
22200
22201 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22202
22203 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22204 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22205 in the copr tests now.
22206 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22207 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22208 expected to fail.
22209
22210 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22211
22212 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22213 gdb.t31/chillvars.exp, lib/gdb.exp:
22214 Tweak to run under either version of expect.
22215 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22216 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22217 * gdb.t11/list.exp: Remove extraneous whitespace.
22218
22219 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22220
22221 * gdb.t16/printcmds.exp (test_print_strings): Accept
22222 "(unsigned char *) " before the string.
22223
22224 * TODO: Add notes about printing of fancy types and GDB expressions.
22225
22226 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22227
22228 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22229 * gdb.t06/configure.in: Don't try to compile signals test program
22230 if doing mips-idt-ecoff.
22231
22232 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22233
22234 * Most .exp files: Tweak to run under either version of expect.
22235
22236 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22237
22238 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22239 xfails; I'm not sure why they are failing, but not because of PR 1806.
22240
22241 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22242
22243 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22244 defined in lib/gdb.exp.
22245
22246 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22247
22248 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22249 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22250 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22251 have to be typeless.
22252
22253 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22254
22255 * TODO: Add suggestion for copyright year test.
22256
22257 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22258
22259 * configure.in (*-*-lynxos*): Add stabs tests.
22260
22261 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22262
22263 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22264 so insert a tab before any assembler directive in column zero.
22265
22266 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22267 stores.
22268 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22269 stores.
22270 (fpu_short_memory_tests): Likewise.
22271
22272 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22273
22274 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22275 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22276 .stabs directives in comments.
22277
22278 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22279
22280 * TODO: New file, describing tests we could write.
22281 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22282
22283 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22284
22285 * gdb.t06/signals.exp: Add kludge to force re-sync.
22286
22287 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22288 to xgdb instead of gdb, get out of gdb.
22289
22290 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22291
22292 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22293 for info.
22294
22295 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22296
22297 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22298 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22299 * gdb.stabs/hppa.sed: New sed script for the PA.
22300
22301 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22302
22303 * gdb.stabs: Re-write weird.def and configuration to use sed
22304 instead of cpp. sed is portable and POSIX; cpp is neither.
22305
22306 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22307
22308 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22309
22310 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22311
22312 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22313
22314 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22315
22316 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22317 "_vb$".
22318 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22319 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22320
22321 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22322
22323 * lib/gdb.exp: Comment out code which depends on non-existent
22324 `transform' procedure.
22325
22326 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22327
22328 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22329 * lib/gdb.exp: Transform tool name.
22330 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22331 1.1's new error handling system.
22332
22333 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22334
22335 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22336
22337 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22338
22339 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22340 They made pattern matching so slow that timeouts happened on
22341 heavily loaded systems. Now any output from "show print" which
22342 gets us back to the GDB prompt is a PASS.
22343
22344 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22345
22346 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22347
22348 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22349
22350 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22351
22352 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22353 It is not from PR 3220.
22354
22355 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22356
22357 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22358 just started failing because they depended on the order the
22359 subcommands are presented, or exact docstring text. This kind of
22360 test is a pain and has minimal benefit.
22361
22362 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22363
22364 * gdb.t09/corefile.exp: At end of test, use "core" command with
22365 no arguments.
22366
22367 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22368
22369 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22370 17}/Makefile.in: Make it possible to run the testsuite with Sun
22371 make and CC = cross gcc by adding explicit build rules for .o
22372 files.
22373
22374 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22375
22376 * gdb.t15/funcargs.exp: Don't put comments on same line as
22377 setup_xfail (@#$*%& tcl braindamage!).
22378
22379 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22380
22381 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22382
22383 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22384
22385 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22386 * gdb.t20/inherit.exp: remove three dumplicate entries.
22387
22388 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22389
22390 * gdb.t06/break.exp: For "next over recursive call", fail on any
22391 incorrect output, not just on "factorial (value=2)".
22392
22393 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22394
22395 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22396 working now. Add an xfail if accesing a bss variable causes
22397 a memory error if the target is not yet run.
22398
22399 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22400
22401 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22402 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22403 name of __st* demangling (2 strings). Did Kung really get the
22404 more than 95 others right without testing them?
22405
22406 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22407
22408 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22409
22410 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22411
22412 * configure.in (configdirs): Add gdb.disasm
22413 * gdb.disasm: New directory for GDB disassembler tests.
22414 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22415
22416 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22417
22418 * gdb.t00/help.exp: Don't test "help set".
22419
22420 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22421 from within expect statements. None of these happen anymore and
22422 they cause regressions to be silently unnoticed.
22423
22424 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22425 messages) about known failures with gcc cygnus-2.4.5-930417.
22426
22427 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22428 comp-info.exp so it gets built if it doesn't exist.
22429
22430 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22431 it is no longer used.
22432 * gdb.t13/comp-info.c: Removed.
22433
22434 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22435
22436 * gdb.t06/signals.exp: Add xfail for sun3.
22437
22438 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22439
22440 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22441 relevant because ^C doesn't get sent but failure can be reproduced
22442 interactively).
22443
22444 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22445
22446 * gdb.stabs/alpha.mt: New configuration file for alpha.
22447 * gdb.stabs/configure.in: Use it.
22448 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22449 sharing with alpha.mt, redefine long to word via preprocessor.
22450 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22451 for alpha.
22452 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22453 native cc.
22454 * gdb.t00/teststrategy.exp: Change expect string so that we
22455 consume the `(xgdb)' from the command echo and from the gdb prompt.
22456 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22457 gdb currently compares all values as long, so this failure probably
22458 applies to any configuration where LONGEST is bigger than a target int.
22459 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22460 with gcc.
22461 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22462 to handle opaque pointers, gcc is.
22463 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22464 as first argument. Include <sys/types.h> and change all operator
22465 new definitions to use size_t.
22466 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22467 now that we use size_t.
22468
22469 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22470
22471 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22472 a long or float array cast all array members to the same type.
22473 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22474 with 64 bit longs.
22475 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22476 on alpha.
22477 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22478
22479 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22480
22481 * gdb.t24 (demangle.exp): Constructors of templates have names like
22482 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22483 section 14.6 of the ARM.
22484
22485 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22486 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22487 accomplish little and slow down the testsuite.
22488
22489 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22490 Accept spaces various places.
22491
22492 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22493
22494 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22495 with watchpoint enabled.
22496
22497 * Makefile.in: Remove definition of CC and remove the second
22498 definition of CXX (the "CXX = gcc" one remains). These definitions
22499 were causing backquotes to be expanded within backquotes, which
22500 doesn't work.
22501
22502 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22503
22504 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22505
22506 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22507
22508 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22509 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22510 by mips cc and contains no stabs entries.
22511
22512 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22513
22514 * config/vx-gdb.exp: Use fake device to load files rather than
22515 NFS.
22516 * lib/gdb.exp: New proc to do "file" command.
22517 * config/unix-gdb.exp: Use new "file" proc.
22518
22519 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22520
22521 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22522 Rework board rebooting slightly.
22523 (gdb_exit): Don't exit from the remote shell; there isn't one.
22524 * gdb.stabs/weird.exp: If a program is being debugged already,
22525 kill it.
22526 * gdb.t04/setvar.exp: Stop and restart gdb.
22527 * gdb.t05/expr.exp: Likewise.
22528 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22529 restart gdb and reload the program.
22530 * gdb.t08/opaque.exp: Likewise.
22531 * gdb.t12/scope.exp: Likewise.
22532 * gdb.t13/bitfields.exp: Likewise.
22533 * gdb.t15/funcargs.exp: Likewise.
22534 * gdb.t20/classes.exp: Likewise.
22535 * gdb.t03/ptype.exp: Increase timeout.
22536 * gdb.t16/printcmds.exp (test_print_string_constants,
22537 test_print_array_constants): Likewise.
22538 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22539 * gdb.t20/classes.exp (do_tests): Likewise.
22540 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22541
22542 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22543
22544 * gdb.stabs: Renamed *wierd* to *weird*.
22545
22546 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22547
22548 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22549 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22550
22551 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22552
22553 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22554 (do_tests): Remove xfail for whatis on one_var and two_var.
22555
22556 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22557
22558 * Makefile.in: Made cross building work better by adding
22559 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22560
22561 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22562
22563 * gdb.t15/{return.c,return.exp,Makefile.in}:
22564 New test, currently commented out.
22565
22566 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22567
22568 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22569 still running and removes the leftover named socket so GDb can do
22570 clean restarts.
22571
22572 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22573
22574 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22575 console, not GDB.
22576 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22577 cross testing works better with "make check"
22578 * config/unix-gdb: Use default procedures for exit and version.
22579 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22580 with the newest VxWorks.
22581
22582 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22583
22584 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22585 old form.
22586
22587 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22588 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22589
22590 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22591
22592 * config/unix-gdb.exp: Remove this version of gdb_exit
22593 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22594 Rob says he'll look at it when he gets back to testing boards.
22595
22596 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22597
22598 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22599 an expected fail for certain ptype commands.
22600
22601 * gdb.t20/classes.exp: Update expected results of "ptype class
22602 Base1" to account for the constructor that now appears in the type.
22603
22604 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22605
22606 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22607 disappeared from list.
22608 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22609 "alldone" proc with call to cleanup and exit.
22610 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22611 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22612 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22613 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22614 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22615 "alldone" proc with simple returns that suppress remaining
22616 tests. The alldone proc went away many months ago.
22617
22618 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22619
22620 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22621
22622 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22623
22624 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22625
22626 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22627 as vax gdb will display them.
22628
22629 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22630
22631 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22632 optimizers.
22633
22634 * scope.exp: Change "bad value for localval" messages so each one
22635 is unique.
22636
22637 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22638 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22639
22640 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22641
22642 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22643
22644 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22645 doesn't exist (due to optimization).
22646
22647 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22648
22649 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22650 contains \r because the filename is long.
22651
22652 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22653 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22654
22655 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22656
22657 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22658 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22659 Ultrix.
22660 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22661 int tests.
22662 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22663
22664 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22665
22666 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22667
22668 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22669 to match does not match the passing case but still matches the
22670 failing case.
22671
22672 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22673
22674 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22675
22676 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22677
22678 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22679 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22680 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22681 Remove various versions of gdb_exit.
22682 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22683 gdb_exit.
22684 * config/unix-gdb.exp: gdb_exit remains here, and should override
22685 the generic version, since it's doing a lot of wierd stuff that
22686 the other versions aren't. FIXME, fold it in, or abandon this
22687 version.
22688
22689 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22690
22691 * gdb.t24/demangle.exp: Add tests for PR 3220.
22692
22693 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22694
22695 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22696
22697 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22698
22699 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22700 "i386-*-*". Works for i486 as well.
22701
22702 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22703 bug, and expand domain of xfail to all SVR4 systems, since the
22704 actual problem is likely to be in generic SVR4 /proc support.
22705
22706 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22707
22708 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22709
22710 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22711
22712 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22713 xfails for other systems. Match a missing 'Continuing.' as an
22714 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22715
22716 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22717 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22718 Only issue warning for missing executables if -all option is used.
22719
22720 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22721 file if -all option is used. It's like an unpredictable XFAIL.
22722
22723 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22724
22725 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22726 for dynamically linked binaries.
22727
22728 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22729
22730 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22731
22732 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22733 to state that this is a known bug in old versions of g++.
22734
22735 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22736
22737 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22738 while waiting for `Continuing'.
22739
22740 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22741
22742 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22743 in text, data, and bss.
22744 * gdb.t10/nodebug.c: Add local and global test variables for
22745 initialized and uninitialized data.
22746
22747 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22748
22749 * config/unix-gdb.exp (gdb_exit): Add "wait".
22750
22751 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22752
22753 * gdb.t06/signals.exp: xfail the continue from the handler for all
22754 targets.
22755
22756 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22757 function with watchpoints enabled, the i386 call dummy starts with
22758 a call.
22759
22760 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22761 386 bsd names its corefiles.
22762
22763 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22764
22765 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22766 compilers don't grok it.
22767 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22768 with small octal ints rather than character constants, which
22769 are signed and might not fit if first promoted to int.
22770
22771 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22772
22773 * gdb.t09/Makefile.in (clean): Remove corefile.
22774
22775 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22776
22777 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22778
22779 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22780 and Jim Kingdon (kingdon@cygnus.com)
22781
22782 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22783 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22784 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22785
22786 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22787
22788 * gdb.t17/interrupt.exp: Add xfail for hppa.
22789
22790 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22791
22792 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22793 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22794 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22795 to determine signed-ness of bitfields and use the result to setup
22796 the xfail.
22797 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22798 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22799 call line is reached if necessary.
22800
22801 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22802
22803 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22804
22805 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22806
22807 * gdb.t06/break.exp: Also test `clear' command.
22808
22809 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22810
22811 * gdb.t00/teststrategy.exp: Remove extra quote.
22812
22813 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22814 watchpoint enabled to be for all non-68k machines.
22815
22816 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22817
22818 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22819
22820 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22821 targets use aout.mt instead of ecoff.mt as gas understands
22822 standard aout format.
22823
22824 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22825
22826 * lib/gdb.exp (runto): Don't insist that function we are running to
22827 was compiled with -g.
22828
22829 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22830
22831 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22832 to get back into the read system call.
22833 Accept leading newline in case where we woke it up.
22834
22835 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22836
22837 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22838 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22839 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22840 enable ecoff configuration.
22841
22842 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22843
22844 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22845
22846 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22847
22848 * gdb.t16/printcmds.exp: Add another printf test.
22849
22850 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22851
22852 * configure.in: If configured -with-stabs on any target, add
22853 stabsdirs to configdirs.
22854
22855 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22856
22857 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22858 fun" so pattern does not match the command itself.
22859
22860 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22861
22862 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22863
22864 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22865
22866 * gdb.t17/interrupt.exp: Test for more things.
22867
22868 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22869
22870 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22871 compiler arranges the code and line numbers.
22872
22873 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22874
22875 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22876
22877 * gdb.t00/help.exp: Increase expect input buffer size.
22878
22879 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22880
22881 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22882
22883 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22884
22885 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22886
22887 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22888 [0-9]*, not just [0-9].
22889
22890 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22891
22892 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22893
22894 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22895
22896 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22897
22898 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22899
22900 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22901
22902 * gdb.t06/signals.c: Add xfails for sun3.
22903
22904 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22905
22906 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22907 test_stepping tests.
22908
22909 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22910
22911 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22912
22913 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22914
22915 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22916 rather than actually putting it through cpp twice.
22917
22918 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22919
22920 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22921
22922 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22923 no longer needed.
22924
22925 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22926
22927 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22928
22929 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22930 C++ features prints as "struct", make it a pass, not an xfail.
22931
22932 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22933
22934 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22935 Don't require VA to print as "class" rather than "struct".
22936
22937 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22938
22939 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22940
22941 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22942
22943 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22944
22945 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22946
22947 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22948 order.
22949
22950 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22951
22952 * gdb.t16/printcmds.exp: Add printf tests.
22953
22954 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22955
22956 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22957
22958 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22959
22960 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22961 pass counts, to counteract any existing or future setup_xfails.
22962
22963 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22964
22965 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22966 {BEGIN,END}_COMMON for common block instead of STAB.
22967 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22968
22969 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22970 intp_var should be N_GSYM not N_LSYM.
22971 wierd-aout.S: Use a label for the value of the N_SO.
22972 wierd.def: Remove all backslashes.
22973 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22974
22975 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22976
22977 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22978 get the expected next to inheritance3.
22979
22980 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22981
22982 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22983 now that gcc-2.4 gets it right.
22984
22985 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22986
22987 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22988
22989 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22990 generating comp-info.exp which works for cross-compilation.
22991
22992 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22993
22994 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22995 "*-*-sysv4.*".
22996
22997 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22998
22999 * gdb.t01/run.exp: Start with a fresh gdb.
23000 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23001 SVR4.x.
23002
23003 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23004
23005 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23006 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23007 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23008 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23009 things to remove.
23010
23011 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23012
23013 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23014 test cases from bug reports.
23015
23016 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23017
23018 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23019 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23020 avoid spurious xfails.
23021 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23022 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23023 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23024
23025 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23026
23027 * gdb.t00/teststrategy.exp: Rework to provide more useful
23028 description of each test, fix problem with systems that define
23029 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23030 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23031 results for "next over recursive call" so timeouts aren't taken
23032 by error.
23033
23034 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23035
23036 * gdb.t12/scope.exp: Test printing of variables before run.
23037
23038 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23039 printed in wrong order due to sorting.
23040
23041 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23042
23043 * gdb.t00/teststrategy.exp: Fix expected results for printing
23044 user entered string constant. Is array of char, prints with no
23045 address.
23046
23047 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23048 commands.
23049 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23050 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23051 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23052 of struct of char arrays.
23053 * gdb.t00/radix.exp: New tests for radix commands.
23054
23055 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23056
23057 * gdb.t16/printcmd.exp: Print a variable before running program
23058 (with xfail for AIX).
23059
23060 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23061
23062 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23063
23064 * gdb.t16/printcmd.exp: Don't print variables before running program.
23065
23066 * gdb.t06/break.exp: Don't require envp argument to main.
23067
23068 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23069
23070 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23071 Add xfails for rs6000.
23072
23073 * gdb.t02/whatis.exp: Change other tests not to re-test something
23074 we already tested.
23075
23076 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23077 each type used has a variable of that type.
23078
23079 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23080
23081 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23082
23083 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23084
23085 * configure.in: change srctrigger to be a file, not a directory
23086
23087 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23088
23089 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23090
23091 * gdb.t11/list.exp: Fixed a couple of typos.
23092
23093 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23094
23095 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23096 is fixed and PR is closed.
23097 * gdb.t16 (gdbme.c): Add simple test string variable.
23098 * gdb.t16 (printcmds.exp): Add tests with simple test string
23099 variable, primarily for boundaries on "set print elements".
23100
23101 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23102
23103 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23104 Make leading 0's optional and don't expect a tab in the middle
23105 of the number.
23106
23107 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23108
23109 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23110 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23111 don't end command passed to gdb_test with newline.
23112
23113 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23114 signed keyword away, don't expect signed bitfields to be signed.
23115
23116 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23117 printing with only as many 1's as are in the field as well as printing
23118 with 32 1's (see comment).
23119
23120 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23121
23122 * gdb.t00/default.exp: Start with a fresh gdb.
23123 * configure.in (configdirs): Remove gdb.t31 until the chill
23124 compiler works again. It no longer is able to find chillrt0
23125 since it isn't in libchill.a anymore.
23126 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23127 wierd.o, make more modular.
23128 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23129 spurious newlines that caused problems.
23130
23131 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23132
23133 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23134 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23135 gdb.stabs/wierd.{exp,def}: Many new tests.
23136
23137 * gdb.t00/default.exp: update info line for new message.
23138
23139 * gdb.t02/{whatis.exp,gdbme.c}:
23140 Test that "char *" doesn't print as "caddr_t".
23141
23142 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23143
23144 * gdb.t00/help.exp: Use .* in place of some help messages which
23145 just changed.
23146 gdb.t00/default.exp: Update "info frame" test for new message.
23147 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23148 Remove some xfails
23149
23150 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23151
23152 * gdb.t03/{gdbme.c,ptype.exp}:
23153 Add tests for typedef'd struct and union without tags.
23154 Also check "whatis" on a variable of a typedef'd enum without a tag.
23155
23156 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23157 PRMS 1823; the bug still exists but isn't reproduced by this test
23158 anymore), and remove rs6000 XFAIL (the bug is fixed).
23159
23160 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23161 duplicated from whatis.exp. For those that are left, accept
23162 "long", "long int", or "int" for long variables (whatis.exp already
23163 has an XFAIL for "int", so no need to fail it here).
23164
23165 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23166 Deal with GCC's names for types now that GDB uses the compiler's names.
23167
23168 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23169 setup_xfail's for sunos4. If we #defined the signed keyword away,
23170 don't expect GDB to know that char it is signed.
23171
23172 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23173
23174 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23175
23176 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23177 should work on any system, regardless of debugging format.
23178 * gdb.t21/demangle.exp: Move to gdb.t24.
23179 * gdb.t24/demangle.exp: Move from gdb.t21.
23180 * gdb.t24/{Makefile.in, configure.in}: New files.
23181
23182 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23183
23184 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23185 * gdb.stabs: New directory.
23186
23187 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23188
23189 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23190 not just "Quit anyway?".
23191
23192 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23193
23194 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23195 that all setup_xfails are immediately followed by clear_xfails.
23196
23197 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23198
23199 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23200 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23201 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23202 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23203 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23204 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23205 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23206 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23207 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23208 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23209 gdb.t31/chillvars.exp, lib/gdb.exp:
23210 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23211 bug-gdb@prep.ai.mit.edu.
23212
23213 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23214
23215 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23216 with 0.0, not integer 0.
23217
23218 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23219
23220 * gdb.t06/break.exp: Update for "Kill the program" message change.
23221
23222 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23223
23224 * Makefile.in (GDBFLAGS): Set to -nx.
23225 * Makefile.in (site.exp): Use GDBFLAGS.
23226
23227 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23228
23229 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23230 Makefiles.
23231 (check): depend on just-check.
23232 (just-check): added so that tests can be run without a noop
23233 build pass.
23234
23235 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23236
23237 Switch to using configure's configdirs.
23238 * Makefile.in (Makefile): add configure.in dependency.
23239 (SUBDIRS): removed redundant assignment.
23240 * configure.in: switch subdirs assignment to configdirs.
23241 * gdb.t*/configure.in: new files.
23242
23243 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23244
23245 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23246 works.
23247
23248 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23249
23250 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23251 in explicit rules. Apparently this is not supported by some makes.
23252
23253 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23254
23255 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23256
23257 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23258
23259 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23260 disappeared.
23261
23262 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23263
23264 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23265
23266 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23267
23268 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23269 watchpoint problem that is now fixed.
23270 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23271 uninitialized convenience variables.
23272 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23273 structures.
23274
23275 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23276
23277 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23278 which causes expect to get out of sync with gdb on long output
23279 from help set.
23280 * gdb.t09/corefile.exp: Make expected pattern for core file
23281 failing signal and frame output format less sun specific.
23282
23283 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23284
23285 * gdb.t31/chillvars.exp: Add and remove initial dummy
23286 breakpoint, so that symbol table is forced in.
23287 (Needed at least on Sunos4, though it seems not SVR4.)
23288 * gdb.t31/chillvars.exp: Update for changed output format.
23289
23290 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23291
23292 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23293
23294 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23295
23296 * Makefile.in: Added --srcdir when invoking runtest, removed the
23297 need for a local config file. (optional now)
23298
23299 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23300
23301 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23302 failure count used to force early termination. Add some more
23303 expected failures for gnu style demangling.
23304
23305 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23306
23307 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23308 pmi variable from gdb.t20/gdbme to get optimized away.
23309 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23310 Check for written corefile upon timeout _and_ eof.
23311
23312 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23313
23314 * config/unix-gdb.exp: Add missing return 0.
23315
23316 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23317
23318 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23319 test termination.
23320
23321 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23322
23323 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23324 disappeared.
23325
23326 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23327
23328 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23329 time as i860 support works.
23330
23331 * gdb.t15/funcargs.exp: Fix expected outputs to include
23332 "backtrace 100\r" rather than just "backtrace\r", to match last
23333 change.
23334
23335 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23336
23337 * config/udi-gdb.exp (gdb_exit): Remove close command.
23338 (gdb_target_udi): New procedure to set the UDI target.
23339 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23340 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23341 Added waits for prompts after several question responses. Added
23342 some more responses used by a29k-amd-udi-gdb.
23343 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23344 pass different arguments, restart UDI connection after program
23345 completion.
23346 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23347 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23348 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23349 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23350 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23351 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23352 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23353 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23354 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23355 after program completion.
23356 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23357 compiled with a SELECT_VECS setting.
23358 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23359 infinite recursion.
23360
23361 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23362 Added checks for COFF results, and made them expected failures for
23363 all targets. It would be better to make them expected failures
23364 for COFF targets only.
23365
23366 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23367
23368 * Makefile.in: add null dvi target, don't bother to recurse
23369 through test directories for info and install-info; rename
23370 $(datadir) to be dejagnu instead of deja-gnu
23371
23372 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23373
23374 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23375 compiler to coredump.
23376 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23377 code.
23378
23379 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23380
23381 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23382 coredump.
23383 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23384 code.
23385
23386 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23387
23388 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23389 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23390 which in a shell. Deletes xgdb when done.
23391 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23392 Tests the return from the "set height" or "set width" commands.
23393 Added a few return codes where needed.
23394
23395 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23396
23397 * Makefile.in (SUBDIRS): Add gdb.t17.
23398 * configure.in (subdirs): Add gdb.t17.
23399 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23400 files to test gdb's calling of functions in the inferior with
23401 the correct arguments and gdb's ability to retrieve any
23402 result returned.
23403
23404 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23405
23406 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23407 may be called after gdb goes away. Previous versions of expect
23408 needed these to avoid file descriptor leaks, but they cause
23409 errors with the current revision of expect.
23410 * gdb.t00/gdbvars.exp: Use -re on expected output after
23411 setting sevenbit-strings.
23412 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23413 to set sevenbit-strings consistent across tests.
23414 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23415 set sevenbit-strings consistent across tests.
23416
23417 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23418
23419 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23420 expected output to match current "expect" expectations.
23421
23422 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23423
23424 * gdb.t00/default.exp: Change expected output for default "source"
23425 command, to match new gdb behavior which requires a filename to
23426 source.
23427
23428 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23429
23430 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23431 expected fail for i486-*-* that misses the marker2 function.
23432 * gdb.t10/crossload.exp (bfddefault): Allow successful
23433 recognition of a format to pass even if no symbols are found.
23434 Explicitly catch failures where the format is not recognized
23435 or is ambiguous, and add the reason to the fail message.
23436 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23437 the cause is and invalid target and add reason to failure message.
23438 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23439 elf32-i386, elf32-sparc, and elf32-i860.
23440 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23441 Set up expected failure for 'filename'::variable scope resolution,
23442 which is now apparently broken on all targets.
23443 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23444 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23445 gdb.t23/templates.exp: Change failure for missing binfile into
23446 just a warning.
23447 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23448 references.
23449
23450 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23451
23452 * gdb.t00/default.exp: Add expected output for default "source"
23453 command, to match new gdb behavior.
23454 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23455
23456 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23457
23458 * config/*-gdb.exp: returns an error, rather than exiting on
23459 internal errors.
23460
23461 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23462
23463 * gdb.t03/gdbme.c: Add pointer to struct variable.
23464 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23465 referencing struct members.
23466
23467 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23468
23469 * configure.in (mips-idt-ecoff): New target.
23470 * config/mips-gdb.exp: New file for remote board using MIPS remote
23471 debugging protocol.
23472
23473 * Redid configuration scheme. Removed gdb.t*/configure.in.
23474 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23475 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23476 distclean targets. Built executables via .o files. Adjusted
23477 tests to account for source files in $(srcdir) rather than
23478 $(objdir).
23479 * lib/gdb.exp (runto): Don't expect () after the function name,
23480 because it may have arguments.
23481
23482 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23483
23484 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23485 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23486 expected failures for mips-idt-* and mips-sgi-*.
23487 * gdb.t00/default.exp (attach): Kill process if requested.
23488 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23489 that does not read core files.
23490 * gdb.t01/run.exp: Removed checks for exit status code.
23491 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23492 it is linked in.
23493 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23494 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23495 appropriate, rather than doing it by hand.
23496 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23497 execution.
23498 * gdb.t10/crossload.exp: Kill existing program if needed.
23499 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23500 appropriate, rather than doing it by hand. Always increase
23501 timeout for this test, not just for VxWorks.
23502
23503 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23504
23505 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23506 of Chill STRUCT types and STRUCT values.
23507 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23508 than "char".
23509 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23510 struct2): New struct definitions and initializations to test
23511 simple Chill STRUCT types.
23512
23513 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23514
23515 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23516 the null byte at the end of strings.
23517 * gdb.t00/default.exp: Make show version insensitive to copyright
23518 date.
23519 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23520 to avoid dependencies on target char signedness.
23521 * gdb.t16/printcmds.exp: Update expected results for explicitly
23522 unsigned char.
23523 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23524 now work.
23525 * gdb.t21/demangle.exp: Add many more patterns for template
23526 demangling, most of them being expected failures.
23527 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23528 string we are matching for, to match on the whole string.
23529 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23530 and fix a whole bunch that had incorrect expected output but were
23531 passing anyway because of the bug in "proc demangle".
23532 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23533 type.
23534 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23535
23536 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23537
23538 * gdb/testsuite: made modifications to testcases, etc., to allow
23539 them to work properly given the reorganization of deja-gnu and the
23540 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23541
23542 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23543
23544 * gdb/testsuite: Initial creation of gdb/testsuite.
23545 Migrated dejagnu testcases and support files for testing nm to
23546 gdb/testsuite from deja-gnu. These files were moved "as is"
23547 with no modifications. This migration is part of a major overhaul
23548 of dejagnu. The modifications to these testcases, etc., which
23549 will allow them to work with the new version of dejagnu will be
23550 made in a future update.
23551
23552 For additional changes see gdb.mi/ChangeLog-1999-2003.
23553 \f
23554 ;; Local Variables:
23555 ;; mode: change-log
23556 ;; left-margin: 8
23557 ;; fill-column: 74
23558 ;; version-control: never
23559 ;; End:
23560
23561 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23562 2003, 2004, 2005 Free Software Foundation, Inc.
23563 Copying and distribution of this file, with or without modification,
23564 are permitted provided the copyright notice and this notice are preserved.
This page took 0.514007 seconds and 5 git commands to generate.